JP3985465B2 - Image encoding apparatus, image decoding apparatus, image encoding / decoding apparatus, and methods thereof - Google Patents

Image encoding apparatus, image decoding apparatus, image encoding / decoding apparatus, and methods thereof Download PDF

Info

Publication number
JP3985465B2
JP3985465B2 JP2001152210A JP2001152210A JP3985465B2 JP 3985465 B2 JP3985465 B2 JP 3985465B2 JP 2001152210 A JP2001152210 A JP 2001152210A JP 2001152210 A JP2001152210 A JP 2001152210A JP 3985465 B2 JP3985465 B2 JP 3985465B2
Authority
JP
Japan
Prior art keywords
prediction
image
input
encoding
decoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2001152210A
Other languages
Japanese (ja)
Other versions
JP2002344753A (en
Inventor
太郎 横瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2001152210A priority Critical patent/JP3985465B2/en
Publication of JP2002344753A publication Critical patent/JP2002344753A/en
Application granted granted Critical
Publication of JP3985465B2 publication Critical patent/JP3985465B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は画像の圧縮技術に関するものであり、特に2値と多値の両方の画像を圧縮する技術に関するものである。
【0002】
【従来の技術】
画像データは一般にデータ量が膨大になるので、通信、蓄積などを行う際には圧縮してデータ量を削減することが多い。圧縮を行うための符号化技術には、いくつもの手法が存在する。大別すれば、復号したときに入力を完全に再現する可逆方式と、何らかの損失を伴う非可逆方式がある。さらにこの2つの方式を基本的アルゴリズムやパラメータなどで分類すれば、いくつもの手法に細分できる。これらの圧縮手法を、以下では符号化と称する。
【0003】
各符号化にはそれぞれの動作原理が存在し、それらは入力画像に何らかの仮定を置いている。例えば国際標準JPEG(Joint Photographic Experts Group)のベースライン方式(以下、単にJPEGという)ではDCT(Discrete Cosine Transform、離散コサイン変換)を使用するが、これは画像を周波数変換した場合に重要な情報が低周波領域に集中することを仮定している。
【0004】
このような仮定は入力画像の種別を限定する傾向がある。特に限定されやすい種別の1つとして、例えば画素値のダイナミックレンジがあげられる。以下、通常白と黒の2値であらわされる1画素1bitの画像を2値画像と呼び、また1画素2bit以上の画像を多値画像と呼ぶ。現状、多値画像は1画素の1色を8bitで構成することが多い。例えば1画素8bitのグレイ画像や、1画素24bitのRGBフルカラー画像などが存在する。
【0005】
2値画像と多値画像を同じように圧縮することは、一般には難しい。例えば前出のJPEGの場合、2値画像は高周波領域にも情報が存在するので性能が低下する。これとちょうど逆の例として、2値画像に特化した国際標準JBIG(Joint Bi−level Image experts Group)の場合、多値画像をビットプレーンと呼ばれる2値のプレーンに分割して処理するので、これも性能が低下する。
【0006】
さて、一般の用途においては2値画像と多値画像は混在して使用される。それは1ページ中に混在することもあるし、1文書中にページ単位で混在することもあるが、いずれにしてもこのような画像の符号化には、2値画像と多値画像の両方を効果的に圧縮する仕組みが必要になる。
【0007】
これを解決するには2値画像用と多値画像用の符号化を併用してもよいが、装置規模が増大するため、できればどちらの画像も同じように扱える符号化が望ましい。そこでこの要求を実現する従来技術である特開平9−109790号公報を従来例として説明する。この従来例は2値用符号化と多値用符号化を、符号レベルで統一することにより、符号化を1つにまとめる技術である。
【0008】
図15は従来例の符号化装置の構成例である。本発明の説明の趣旨に沿うように用語を一部変更しているが、従来例の本質に関わるものではない。図中、10は画像入力部、61は多成分処理部、62は方式処理部、63はウェーブレット変換部、64は量子化部、65は水平コンテキストモデル部、66はグレイ符号化部、40は符号化部、50は符号出力部、110は入力画像データ、151、152は処理画像データ、153は係数系列データ、154は量子化データ、130はシンボルデータ、140は符号データである。
【0009】
図15の各部について説明する。図15の画像符号化装置は以下の構成よりなる。画像入力部10は外部から画像を受け取り、入力画像データ110として多成分処理部61へ送出する。多成分処理部61は入力画像データ110に所定の色空間変換などのオプション処理を行い、処理画像データ151として方式処理部62へ送出する。方式処理部62は処理画像データ151に対して特性を判定し、画像全体もしくは部分画像をウェーブレット変換部63またはグレイ符号化部66のいずれかへ送出する。ウェーブレット変換部63は処理画像データ152に可逆ウェーブレット変換を施し、係数系列データ153として量子化部64へ送出する。量子化部64は係数系列データ153に量子化を行い、量子化データ154として水平コンテキストモデル部65へ送出する。水平コンテキストモデル部65は量子化データ154をその重要性に基づきモデル化し、シンボルデータ130として符号化部40へ送出する。一方、グレイ符号化部66は処理画像データ152にグレイ符号化を行い、シンボルデータ130として符号化部40へ送出する。符号化部40はシンボルデータ130に対して所定のエントロピー符号化を行い、符号データ140として符号出力部50へ送出する。符号出力部50は外部に対して符号データ140を送出する。
【0010】
以上の構成に基づいた従来例の動作について説明する。図16は従来例の画像符号化装置の動作を示すフローチャートである。以下、図16を用いて従来例の動作について説明する。S10では画像入力部10において外部から画像を入力する。S51では多成分処理部61において多成分処理を行う。S52では方式処理部62において方式処理を行う。S53ではS52の結果、多値画像と判定されればS54へ、そうでなければS57へ進む。S54ではウェーブレット変換部63においてウェーブレット変換を行う。S55では量子化部64において量子化処理を行う。S56では水平コンテキストモデル部65において水平コンテキストモデル処理を行う。S57ではグレイ符号化部66においてグレイ符号化を行う。S30では符号化部40において所定のエントロピー符号化を行う。S40では符号出力部50において外部への符号出力処理を行う。
【0011】
次に従来例の問題点について述べる。従来例では確かに2値と多値の両方の画像を処理することができるが、両者で共通しているのはエントロピー符号化を行う符号化部40のみである。その前段は種別によって独立の符号化経路が用意されており、この点では従来とほとんど変わらないといってよい。つまり従来例においては2値画像と多値画像の符号化を十分に統一できておらず、その結果、符号化装置の規模を大きくしているといえる。
【0012】
また従来例は2値と多値の経路を独立としている。このように装置内部に独立の経路を設けると、それぞれの経路の処理負荷に差が出ざるを得ないので、最終的に統合する部分、従来例で言えば符号化部40の部分で同期をとりにくくなる。これを解決するには何らかのバッファを設けるか、極端に複雑な制御をするしかない。
【0013】
【発明が解決しようとする課題】
以上で述べてきたように従来例の問題点として、2値と多値の両方の画像を扱えるにもかかわらず装置規模が大きくなってしまうこと、また制御が複雑化することがあげられる。
【0014】
本発明は上述の事情に鑑みてなされたもので、小規模かつ簡単な構成で2値と多値の画像の区別なく、効果的に圧縮できる画像符号化装置を提供することを目的とする。
【0015】
【課題を解決するための手段】
本発明の一側面によれば、画像符号化装置において、画像を入力する画像入力手段と、上記画像入力手段により入力した画像データに対して所定の予測処理を行う予測手段と、上記予測手段の予測誤差または予測結果を所定の方法で符号化する符号化手段と、上記符号化手段の符号化結果を出力する符号出力手段とを具備し、上記予測手段における予測処理は上記画像入力手段に入力する画像が2値か多値かに応じて調整するようにするものである。
【0016】
また、本発明の他の側面によれば、画像復号装置において、符号を入力する符号入力手段と、上記符号入力手段により入力した符号を所定の方法で復号する復号手段と、上記復号処理結果について所定の逆予測処理を行って画像を生成する逆予測処理手段と、上記逆予測処理の結果を出力する画像出力手段とを具備し、上記逆予測手段における逆予測処理は上記符号入力手段から入力する符号が2値画像を符号化したものか、多値画像を符号化したものかに応じて調整するようにするものである。
【0017】
また、本発明のさらに他の側面によれば、画像符号化復号装置において、画像を入力する画像入力手段と、上記画像入力手段により入力した画像データに対して所定の予測処理を行う予測手段と、上記予測手段の予測誤差または予測結果を所定の方法で符号化する符号化手段と、上記符号化手段の符号化結果を出力する符号出力手段と、上記符号を入力する符号入力手段と、上記符号入力手段により入力した符号を上記符号化手段の逆処理にあたる復号処理で復号する復号手段と、上記復号処理結果について上記予測処理の逆処理にあたる逆予測処理を行って画像を生成する逆予測処理手段と、上記逆予測処理の結果を出力する画像出力手段とを具備し、上記予測手段における予測処理および上記逆予測手段における逆予測処理は上記画像入力手段に入力する画像が2値か多値かに応じて調整するようにするものである。
【0018】
以上のように構成される画像符号化装置、画像復号装置および画像符号化復号装置においては、画像符号化と画像復号の双方の処理に基本的に同一の予測符号手法を採用し、そのうえで画像が2値か多値かに応じて調整を行うようにしている。予測符号は2値画像でも多値画像でも同様に適用できることに留意されたい。この構成では、構成が簡略化され、それでいて、画像の特性に合致した符号化・復号を行える。また符号化経路が2つに別れるようなことがないので、同期用の複雑な制御が不用となる。
【0019】
以上のような構成において、入力する画像が2値であるか多値であるかを画像種別として指定する画像種別指定手段を具備し、上記予測手段における予測処理および上記逆予測手段における逆予測処理は上記画像種別指定手段によって指定された画像種別に応じて調整するようにしてもよい。
【0020】
また、上記画像種別指定手段における画像種別の指定は、1画像毎、部分画像毎および1画素毎のいずれかの単位で行うようにしてもよい。
【0021】
また、上記予測手段で行われる予測処理および上記逆予測手段で行われる逆予測処理は、上記画像種別が多値であるときは1画素づつ、また2値であるときは複数画素まとめるパッキングをして予測するようにしてもよい。
【0022】
また、上記予測手段で行われる予測処理および上記逆予測手段で行われる逆予測処理は、減算や排他的論理和によって予測誤差を算出し、一例として特に上記画像種別が多値であるときは減算、また2値であるときは排他的論理和によって予測誤差を算出するようにしてもよい。
【0023】
また、上記予測手段で行われる予測処理および上記逆予測手段で行われる逆予測処理は、上記画像種別が多値であるときは符号化しようとする画素の周辺画素を、また2値であるときはハーフトーニング処理の閾値の周期に合わせた位置にある画素を使って予測するようにしてもよい。
【0024】
また、上記予測手段で行われる予測処理および上記逆予測手段で行われる逆予測処理は、上記パッキングする画素数と上記予測画素の位置について、ハーフトーニング処理の閾値の周期に合うよう調整して定めるようにしてもよい。
【0025】
また、上記予測手段で行われる予測処理は、予測値が符号化しようとする画素の画素値に対して所定の範囲内に収まっていれば予測一致と判定するか、または予測誤差を量子化するか、またはその両方を行い上記逆予測手段で行われる逆予測処理は、上記予測処理に対応して必要な場合には逆量子化処理を行うようにしてもよい。
【0026】
また、上記予測手段で行われる予測誤差の量子化および上記逆予測手段で行われる予測誤差の逆量子化処理は、上記入力画像が2値の場合には通常の量子化でなくビットの位置によらず1を0に変更するような量子化であってもよい。
【0027】
また、上記符号化手段で行われる符号化および上記復号手段で行われる復号は、QMコーダ、LZ符号化、Huffman符号化、Golomb−Rice符号化、ブロックソーティング符号化のいずれかまたはその組み合わせであってもよい。
【0028】
また、上記予測手段で行う予測処理および上記逆予測手段で行う逆予測処理は、用途に応じて2値用か多値用かのいずれかに固定的に設計するようにしてもよい。
【0029】
また、上記画像入力手段により入力した画像が2値であるか多値であるかを画像種別として判定する画像種別判定手段を具備し、上記予測手段における予測処理は上記画像種別判定手段によって判定された上記画像種別に応じて調整し、また上記画像種別は上記符号化手段において符号に加えるようにしてもよい。
【0030】
また、上記復号手段は上記符号から画像種別を取得して上記逆予測手段に提供し、上記逆予測手段における予測処理は上記画像種別に応じて調整するようにしてもよい。
【0031】
また、上記画像種別判定手段で行われる画像種別判定処理はヒストグラムや周波数分析によって行うか、または上記予測手段における2値用と多値用の予測処理の一致率によって行うようにしてもよい。
【0032】
また、上記画像種別判定手段で行われる画像種別判定結果は上記予測誤差や上記予測結果と同一の符号空間上の符号として定義するか、もしくは付加情報としてヘッダやマーカーで定義するようにしてもよい。
【0033】
また、上記予測手段は上記入力画像の画素値を予測する少なくとも2つ以上の画素値予測手段と、所定の予測手法による予測値と実際の画素値の誤差を所定の方法で算出する予測誤差算出手段と、上記画素値予測手段および上記予測誤差算出手段のいずれかを選択する選択手段とを具備し、上記選択手段は予測値のいずれかと実際の画素値が一致したときにはその予測手段を選択し、いずれも一致しないときには上記予測誤差を選択し、上記符号化手段は上記選択手段における選択結果と上記予測誤差を符号化するようにしてもよい。
【0034】
また、上記逆予測手段は上記画像の画素値を予測する少なくとも2つ以上の画素値予測手段と、予測誤差値から正しい画素値を所定の方法で算出する予測誤差補正手段と、上記画素値予測手段および上記予測誤差算出手段のいずれかを選択する選択手段とを具備し、上記選択手段は上記復号部で得られた選択結果や予測誤差に基づいて選択処理を行うようにしてもよい。
【0035】
また、上記選択手段は予測結果を予測器の識別子、優先順位づけした識別子、優先順位付けした識別子をランレングス表現したもののうちのいずれかであって、このうち識別子をランレングス表現する場合には上記符号化手段においてランレングスを符号化するようにしてもよい。
【0036】
また、上記予測手段は上記入力画像の画素値を予測する少なくとも2つ以上の画素値予測手段と、対応する上記画素値予測手段の予測値と実際の画素値の連続一致数を計数する少なくとも2つ以上のラン計数手段と、所定の予測手法による予測値と実際の画素値の誤差を所定の方法で算出する予測誤差算出手段と、上記画素値予測手段および上記予測誤差算出手段のいずれかを選択する選択手段とを具備し、上記選択手段は最も長く一致した予測手段を選択し、いずれも一致しないときには上記予測誤差を選択し、上記符号化手段は上記選択手段によって得られる選択結果、上記ラン計数手段によって得られるランレングス、および上記予測誤差算出によって得られる予測誤差を符号化するようにしてもよい。
【0037】
また、上記逆予測手段は上記画像の画素値を予測する少なくとも2つ以上の画素値予測手段と、対応する上記画素値予測手段に対して入力されたランの回数だけ制御情報を送る少なくとも2つ以上のラン展開手段と、予測誤差値から正しい画素値を所定の方法で算出する予測誤差補正手段と、上記ラン展開手段および上記予測誤差補正手段のいずれかを選択する選択手段とを具備し、上記復号部は選択結果、ランレングス、および予測誤差を復号し、上記選択手段は上記選択結果に基づいて選択処理を行い、上記ラン展開手段を選択する場合には上記ランレングスに基づいてランレングス展開処理を行い、また上記予測誤差補正手段を選択する場合には上記予測誤差に基づいて予測誤差補正処理を行うようにしてもよい。
【0038】
なお、本発明は装置やシステムとして実現できるのみでなく、方法の態様でも実現でき、またその一部をコンピュータプログラムとして実現できることはもちろんである。
【0039】
本発明の上述の各側面および本発明の他の側面は特許請求の範囲に記載され、以下、実施例に即して詳細に説明される。
【0040】
【発明の実施の形態】
以下、本発明を実施例を用いて詳細に説明する。
【0041】
[基本原理]
本発明の実施例の具体的な説明の前に、本発明の基本的な原理について述べる。2値画像と多値画像を区別なく圧縮するには、両方の画像に共通な性質だけを使った符号化を選択すれば、小規模な装置が実現できる。この点でいえば従来例の場合は、多値画像にはウェーブレット符号化、2値画像にはグレイ符号化と全く原理の異なる符号化を採用したために、規模の増大を抑えることができなかった。
【0042】
本発明は予測符号化を採用する。ここでいう予測符号化とは、既処理画像の情報を参照することで次に符号化すべき画素の予測を行い、その一致情報や誤差情報を符号とする符号化方式を指す。
【0043】
予測符号化は画像の連続性や自己相関性と呼ばれる性質を利用するが、これらの性質は2値・多値の区別なく存在するので、両者を共通して圧縮することが可能である。ただし一般に予測と呼ばれる処理は多値画像を対象として設計されたものが多いので、これを2値画像に応用するにはいくつかの工夫を必要とする。これは原理的に言えば、2値画像の自己相関性を利用するための調整である。このような調整は予測処理の一部、いわばパラメータの調整で対応可能である。具体例については実施例の中で述べる。
【0044】
本発明はこうして用意した2値画像用の予測と多値画像用の予測を適応的に切り替えることにより、両方の画像の圧縮を実現する。このとき予測処理以外は両者で両画像で共通に使うことができ、また予測自体もパラメータの切り替え程度で流用することができるので、装置規模を小さく抑えることができる。また符号化経路が2つに別れるようなことがないので、同期に必要となる複雑な制御が必要ない。
【0045】
本発明の具体的な例については実施例において説明する。以下、本発明の実施例として、
(1) 一般的な例
(2) 画像種別を内部で判定する例
(3) 特開平09−224253号公報に開示された予測符号化に適用する例(4) 例(3)の変形例
の4つについて述べる。
【0046】
[第1の実施例]
本発明の第1の実施例として、まず一般的な例を述べる。以下、本発明の第1の実施例の具体的な説明を行う。図1および図2はそれぞれ第1の実施例における画像符号化装置、画像復号装置を示すブロック図である。図中、図15と同様の部分には同一の符号を付して説明を省略する。図中、20は画像種別指定部、30は予測部、51は符号入力部、41は復号部、31は逆予測部、11は画像出力部、120は画像種別データである。
【0047】
まず図1を用いて本発明の第1の実施例の画像符号化装置について説明する。図1の各部について説明する。画像種別指定部20は外部から入力する画像が2値であるか多値であるかという種別を入力し、画像種別データ120として予測部30へ送出する。予測部30は画像種別データ120によって指定された画像種別にしたがって、入力画像データ110に対して予測処理を行い、その結果をシンボルデータ130として符号化部40へ送出する。
【0048】
次に図2を用いて本発明の第1の実施例の画像復号装置について説明する。図2の各部について説明する。符号入力部51は外部から符号を入力し、符号データ140として復号部41へ送出する。復号部41は符号化部40で行われる符号化の逆処理に当たる復号処理を符号データ140に対して行い、シンボルデータ130として逆予測部31へ送出する。逆予測部31は画像種別データ120に基づき、予測部30で行われる予測の逆処理に当たる逆予測処理をシンボルデータ130に対して行い、入力画像データ110として画像出力部11へ送出する。画像出力部11は入力画像データ110を外部へ出力する。
【0049】
以上の構成に基づいて本発明の第1の実施例の動作について説明する。図3および図4はそれぞれ第1の実施例における符号化動作、復号動作を示すフローチャートである。図中、図16と同様の部分には同一の符号を付して説明を省略する。ただし若干異なる部分については説明を加える。
【0050】
まず図3を用いて本発明の第1の実施例における符号化処理について説明する。S10では画像入力部10および画像種別指定部20において、外部からそれぞれ画像と画像種別の入力を受け付ける。S20では予測部30において予測処理を行う。
【0051】
次に図4を用いて本発明の第1の実施例における復号処理について説明する。S41では符号入力部41および画像種別指定部20において、外部からそれぞれ符号と画像種別の入力を受け付ける。S31では復号部41において復号処理を行う。S21では逆予測部31において逆予測処理を行う。S11では画像出力部11において画像出力を行う。
【0052】
以上の動作の中で、符号化部40と復号部41における符号化処理、復号処理は互いに逆処理である。同様に、予測部30と逆予測部31における予測処理、逆予測処理も互いに逆処理にあたる。これらの具体例については後の実施例で詳述する。
【0053】
また画像種別指定部20における画像種別の指定は、1画像毎に行ってもよいし、部分画像や画素単位に行ってもよい。
【0054】
次に、予測部30における予測処理について説明する。画像種別指定部20で多値画像が指定された場合は、この予測は符号化しようとする画素(以下、注目画素という)の周辺画素値もしくはそれらによる演算結果によって行う。これらの詳細についてはJPEGの可逆圧縮などで公知の技術なので省略する。
【0055】
画像種別指定部20で2値画像が指定された場合は、この予測は2値画像用の調整を行う。これを説明するために、まず2値画像と多値画像における予測の違いについて説明する。写真のような自然画像に対する予測符号化は、現実の画素値と予測値が一致することが少ないので、一般的にはこの差、いわゆる予測誤差を符号化する。画像が多値の場合は予測誤差の分布はが0を頂点とする単調な分布になるので情報量削減の効果があるが、2値だと予測が一致するかしないかなので、そのような効果が期待できない。
【0056】
また上述したような多値の予測は原理的には画像の自己相関性に基づいている。しかし2値画像、特に多値画像をもとにしていわゆるハーフトーニング(スクリーン処理などともいう)で生成した画像の場合、2値化する閾値が画素毎に異なるのでこのような多値画像と同様の自己相関性は必ずしも成立しない。
【0057】
このように2値画像と多値画像の予測は、同じようには行うことができない。そこで本発明では2値画像を予測符号化で圧縮するために、予測に以下の調整を行う。すなわち、
1) 複数の画素をまとめて予測する、
2) 排他的論理和により予測誤差を算出する、
3) ハーフトーニング処理の周期を反映する、
の3つである。1)は例えば1bit画素を8つまとめる(以下、パッキングという)ことで、8bitの1画素であるかのように扱う調整である。また2)は多値画像で一般的に使われる減算の代わりに、排他的論理和を使う調整である。この2つによって予測誤差による情報量削減が期待できるようになる。さらに3)は想定されるハーフトーニング処理に合わせた予測処理を行う調整である。例えば12×12の組織的ディザでハーフトーニング処理をし、かつ1)で8bit単位のパッキングを行う場合を例にとると、8bitの注目画素の画素値は直左画素の画素値よりももう2つ左の画素の画素値との相関が高くなる。これはディザが12画素周期なのに対して、パッキングが8画素周期であるために、これらの最小公倍数である24画素周期、すなわちパッキング後の画素でいえば2つおきの画素値の相関が高くなるのが原因である。これを利用して、例えば2つ前の画素値を予測値とするように調整すれば予測の精度が高くなる。3)はこのようにハーフトーニング処理の周期と1)のパッキングの周期とを勘案したような予測を指す。
【0058】
これらの調整は同時に行うのが好ましいが、処理負荷などの制約があれば、いずれかだけを選択的に行っても構わない。
【0059】
また、入力される画像データがどちらかに限定される場合には、そのように固定した予測処理を行っても構わない。この場合でも、入力画像を限定できない場合に対して構成した本実施例の設計や実装の大部分を流用することができるので、全体として見ればコストの低下をはかることができる。例えば2値画像用システムと多値画像用システムが別個に存在する場合、本実施例をそれぞれに特化して適用することができる。この場合予測処理以外の部分はすべて共通で利用することができるので、それぞれ別個の符号化を採用する場合に比較して、設計工数の短縮や実装コアの共有化など、多くのコスト低減効果を期待することができる。
【0060】
また、これらの予測処理に誤差を許容することで非可逆符号化を実現することができるが、そのような構成にしても構わない。例えば予測値が所定の範囲内に収まっていれば予測一致と判定する処理や、予測誤差に何らかの量子化を加える処理などが具体例としてあげられる。このとき特に2値画像に対して排他的論理和で求めた予測誤差値は大小関係に意味がないので、ビット位置がLSBに近い方を無視しやすい通常の量子化ではなく、ビットの位置によらず1を0に変更するような量子化が効果的である。
【0061】
また、シンボルデータ130は予測誤差または連続予測一致回数などで構成する。この具体例については後の実施例で詳述する。
【0062】
また符号化部40で行われる符号化は一般のエントロピーコーダならば特に制限はない。一例としてはQMコーダ、LZ符号化、Huffman符号化、Golomb−Rice符号化などがあげられる。ただし本発明は小規模の構成を目的とするので、特にHuffmanのような小規模なエントロピーコーダが好ましい。
【0063】
以上で説明したように、第1の実施例によれば2値画像に関して、多値画像用の予測に簡単な調整を加えるだけで精度の高い予測が行えるようになるので、小規模な構成で2値画像と多値画像を効率的に処理できる画像符号化処理および画像復号処理を行うことができる。
【0064】
[第2の実施例]
本発明の第2の実施例として、第1の実施例のように画像種別を外部から与えるのではなく、従来例と同様内部で判定する例について説明する。
【0065】
以下、本発明の第2の実施例の具体的な説明を行う。図5および図6はそれぞれ、本発明の第2の実施例における画像符号化装置、画像復号装置を示すブロック図である。図中、図15、図1および図2と同様の部分には同一の符号を付して説明を省略する。21は画像種別判定部、42は符号化部、43は復号部である。
【0066】
まず図5を用いて本発明の第2の実施例の画像符号化装置について説明する。図5の各部について説明する。画像種別判定部21は入力画像データ110に所定の画像種別判定処理を行い、画像種別データ120として予測部30および符号化部42に送出する。符号化部42はシンボルデータ130および画像種別データ120に対して所定のエントロピー符号化を行い、符号データ140として符号出力部50へ送出する。
【0067】
次に図6を用いて本発明の第2の実施例の画像復号装置について説明する。図6の各部について説明する。復号部43は符号データ140に対して符号化部42で行われる符号化処理の逆処理に当たる復号処理を行い、シンボルデータ130および画像種別データ120として逆予測部31へ送出する。
【0068】
本発明の第2の実施例の動作については、本発明の第1の実施例の動作から容易に推察可能なので、説明を省略する。
【0069】
以上の動作の中で、画像種別判定部21における画像種別判定処理は、入力画像データ110の全体もしくは部分が、2値である多値であるかの判定を行う。これは従来例でいうと方式処理部62における判定処理にあたる。判定処理の動作原理については公知の技術が多いので詳しくは述べないが、例えばヒストグラムや周波数分析などによって判定が可能である。また本実施例の場合、2値と多値を見分けること自体が重要でなく、いずれの予測が一致しやすいかを知ることが目的なので、例えば2値用と多値用の予測を部分的にかけてみて、その一致率によって判定するようなものでもよい。
【0070】
また符号化部42における符号化は、シンボルデータ130に加えて画像種別データ120を符号化する点で、本発明の第1の実施例における符号化部40とは異なる。復号部43と本発明の第1の実施例における復号部41との関係も同様である。
【0071】
次に符号データ140におけるシンボルデータ130と画像種別データ120の判別方法について述べる。簡単なのはシンボルデータ130と画像種別データ120の各情報に対して、同一の符号空間の中で1対1対応する符号を付与することである。こうすれば各符号からどちらの情報か判定することができる。
【0072】
画像種別データ120が画像毎とか部分画像ごととかいったようにシンボルデータ130に対して少ない場合には、上述の方式だと符号化効率の低下を招く。そこでこのような場合は、ヘッダやマーカーのような形の付加情報として符号データ140中に埋め込むことが好ましい。図7はこのようなヘッダの一例の概念図である。またこのバリエーションとして、ヘッダに含まれる情報を、符号データ140とは全く別の付加情報データとして送出しても構わない。
【0073】
以上で説明したように、第2の実施例によれば外部から画像種別を指定することなく、2値と多値を切り替えて符号化する画像符号化装置および画像復号装置を、小規模に実現することができる。
【0074】
[第3の実施例]
本発明の第3の実施例として、本発明を特開平09−224253号公報に開示された予測符号化に適用した例について説明する。
【0075】
以下、本発明の第3の実施例の具体的な説明を行う。図8および図9はそれぞれ本発明の第3の実施例における画像符号化装置、画像復号装置を示すブロック図である。図中、図15、図1、図2、図5および図6と同様の部分には同一の符号を付して説明を省略する。図中、32は第1予測部、33は第2予測部、36は予測誤差算出部、37は選択部、38は予測誤差補正部、111、112は予測値データ、115は予測誤差値データ、116、117は制御データである。
【0076】
まず図8を用いて本発明の第3の実施例の画像符号化装置について説明する。図8の各部について説明する。第1予測部32、第2予測部33はそれぞれ、入力画像データ110に対して画像種別データ120に基づいた所定の予測処理を行い、予測値データ111、112として選択部37へ送出する。予測誤差算出部36は入力画像データ110に対して、画像種別データ120に基づいた所定の予測処理を行い、この予測値と注目画素値との差を所定の方法で算出し、予測誤差値データ115として選択部37へ送出する。選択部37は入力画像データ110と予測値データ111、112を比較し、予測が一致していれば一致した予測器の識別子を、また予測が一致していなければ予測誤差値データ115をシンボルデータ130として符号化部40へ送出する。
【0077】
次に図9を用いて本発明の第3の実施例の画像符号化装置について説明する。図9の各部について説明する。選択部37はシンボルデータ130に基づいて第1予測部32、第2予測部33、予測誤差補正部38のいずれかを選択し、それぞれに応じて制御データ116、117、予測誤差値データ115を送出する。第1予測部32、第2予測部33は上述の画像符号化装置と同様であるが、制御データ116を受け取ったときだけ動作し、予測結果を入力画像データ110として画像出力部11へ送出する点が異なる。予測誤差補正部38は予測誤差算出部36で行われた予測誤差算出の逆処理を行い、入力画像データ110として画像出力部11へ送出する。
【0078】
動作については他の実施例などから明らかなので、説明を省略する。
【0079】
以上の動作において、第1予測部32、第2予測部33および予測誤差補正部38は入力画像データ110を入力と出力に持つが、入力は出力よりも1画素遅れる。つまり直前に復号された画素値を入力することで、次の画素の予測処理および予測誤差補正処理を行う。
【0080】
次に第1予測部32、第2予測部33において行われる予測処理について説明する。特開平09−224253号公報では周辺画素値そのものによる予測が例としてあげられているが、2値画像を対象とする場合には本発明の第1の実施例で述べたような調整を行う。ここでは、仮に16×2のディザ処理が行われたものと仮定し、8画素単位にパッキングし、1つおきの予測器を使用する。図10は特開平09−224253号公報であげられている多値画像用の予測器の例の一部、図11はこれを2値画像用に調整した予測器の例である。これは一例であり、本発明の第1の実施例で述べたようにハーフトーニングの周期に応じて調整する。
【0081】
また予測誤差算出部36および予測誤差補正処理部38についても本発明の第1の実施例で述べた通りで、本実施例では多値画像を指定された場合は減算、2値画像を指定された場合は排他的論理和によって予測誤差を算出する。
【0082】
またシンボルデータ130は一致した予測器の識別子と予測誤差値から構成されるが、特開平09−224253号公報にあるとおり、識別子が優先順位づけされたり、ランレングス表現されても構わない。これらについての詳細は本発明の主旨から離れるので説明を省略する。
【0083】
以上で説明したように、第3の実施例によれば複数の予測器を備えるので、特にCGなどの人工的な画像に対して2値と多値の区別なく圧縮できる画像符号化装置および画像復号装置を実現することができる。
【0084】
[第4の実施例]
本発明の第4の実施例として、本発明の第3の実施例の変形例について説明する。ここでは本発明の第3の実施例において、予測部の一致不一致でなく予測部の連続一致回数に基づいて予測部を選択する構成をとる。
【0085】
以下、第4の実施例の具体的な説明を行う。図12および図13はそれぞれ、本発明の第4の実施例における画像符号化装置、画像復号装置のブロック図である。図中、図15、図1、図2、図5、図6、図8および図9と同様の部分には同一の符号を付して説明を省略する。34、35はラン計数部、71、72はラン展開部、113、114はランデータである。
【0086】
まず図12を用いて本発明の第4の実施例の画像符号化装置について説明する。図12の各部について説明する。ラン計数部34、35は画像入力データ110と、それぞれ予測値データ111、112とを比較し、連続する一致回数を計数し、その結果をそれぞれランデータ113、114として選択部37へ送出する。選択部37はランデータ113、114のうち大きい方が0でなければ対応する予測部の識別子とランを、0であれば予測誤差データ115をシンボルデータ130として符号化部40へ送出する。
【0087】
次に図13を用いて本発明の第4の実施例の画像復号装置について説明する。図13の各部について説明する。選択部37はシンボルデータ130に基づいてラン展開部71、72、予測誤差補正部38のいずれかを選択し、それぞれに応じてランデータ113、114、予測誤差値データ115を送出する。ラン展開部71、72はそれぞれランデータ113、114で示された回数だけ第1予測部32、第2予測部33に対して制御データ116、117を送出する。
【0088】
動作については他の実施例などから明らかなので、説明を省略する。
【0089】
以上の動作において一致の連続回数を計数してから予測部を選択できるように構成したので、本発明の第3の実施例と比較するとより圧縮率を高くできることが多い。
【0090】
そこで本実施例の効果を確認するために、コンピュータ上で本実施例のシミュレーションを行った。図14は実験結果である。同図から明らかなように、JPEGやJBIGは画像種別を選ぶのに対して、本実施例ではどちらも効率的に圧縮できていることがわかる。
以上で説明したように、本発明の第4の実施例によれば第3の実施例より、より高効率に2値および多値の画像を圧縮する画像符号化処理およびが増幅号処理を実現できる。
【0091】
【発明の効果】
以上の説明から明らかなように、本発明によれば特に2値と多値の両方の画像を圧縮する画像符号化装置および画像復号装置において、小規模の構成で高効率な圧縮処理を実現することができる。
【図面の簡単な説明】
【図1】 本発明の画像符号化装置の第1の実施例を示す構成図である。
【図2】 本発明の画像復号装置の第1の実施例を示す構成図である。
【図3】 本発明の画像符号化装置の第1の実施例における動作の一例を示すフローチャートである。
【図4】 本発明の画像符号化装置の第1の実施例における動作の一例を示すフローチャートである。
【図5】 本発明の画像符号化装置の第2の実施例を示す構成図である。
【図6】 本発明の画像復号装置の第2の実施例を示す構成図である。
【図7】 本発明の画像符号化装置および画像復号装置の第2の実施例における符号データ例の説明図である。
【図8】 本発明の画像符号化装置の第3の実施例を示す構成図である。
【図9】 本発明の画像復号装置の第3の実施例を示す構成図である。
【図10】 本発明の画像符号化装置および画像復号装置の第3の実施例における予測処理の説明図である。
【図11】 本発明の画像符号化装置および画像復号装置の第3の実施例における予測処理の説明図である。
【図12】 本発明の画像符号化装置の第4の実施例を示す構成図である。
【図13】 本発明の画像復号装置の第4の実施例を示す構成図である。
【図14】 本発明の画像符号化装置および画像復号装置の第4の実施例による実験結果の一例を示す説明図である。
【図15】 従来例の符号化選択装置を示す構成図である。
【図16】 従来例の符号化選択装置の動作の一例を示すフローチャートである。
【符号の説明】
10 画像入力部
11 画像出力部
20 画像種別指定部
21 画像種別判定部
30 予測部
31 逆予測部
32 第1予測部
33 第2予測部
34 ラン計数部
35 ラン計数部
36 予測誤差算出部
37 選択部
38 予測誤差補正部
40 符号化部
41 復号部
42 符号化部
43 復号部
50 符号出力部
51 符号入力部
61 多成分処理部
62 方式処理部
63 ウェーブレット変換部
64 量子化部
65 水平コンテキストモデル部
66 グレイ符号化部
71 ラン展開部
72 ラン展開部
110 入力画像データ
111 予測値データ
112 予測値データ
113 ランデータ
114 ランデータ
115 予測誤差値データ
116 制御データ
117 制御データ
120 画像種別データ
130 シンボルデータ
140 符号データ
151 処理画像データ
152 処理画像データ
153 係数系列データ
154 量子化データ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image compression technique, and more particularly to a technique for compressing both binary and multi-valued images.
[0002]
[Prior art]
Since image data generally has an enormous amount of data, it is often compressed to reduce the amount of data when performing communication or storage. There are a number of techniques for encoding techniques for compression. Broadly speaking, there are a reversible method that completely reproduces the input when decoded and a nonreciprocal method that involves some loss. Furthermore, if these two methods are classified by basic algorithms and parameters, they can be subdivided into a number of methods. These compression methods are hereinafter referred to as encoding.
[0003]
Each encoding has its own operating principle, which makes some assumptions on the input image. For example, in the international standard JPEG (Joint Photographic Group) baseline method (hereinafter simply referred to as JPEG), DCT (Discrete Cosine Transform, Discrete Cosine Transform) is used. It is assumed to concentrate in the low frequency region.
[0004]
Such assumptions tend to limit the type of input image. One of the types that are particularly easily limited is a dynamic range of pixel values, for example. Hereinafter, a 1-pixel 1-bit image that is normally expressed as white and black binary is called a binary image, and an image with 1-pixel 2 bits or more is called a multi-value image. At present, multi-valued images often consist of 8 bits for one color of one pixel. For example, there are a gray image of 1 pixel 8 bits and an RGB full color image of 1 pixel 24 bits.
[0005]
It is generally difficult to compress a binary image and a multi-value image in the same manner. For example, in the case of the above-mentioned JPEG, the performance of the binary image is degraded because information is also present in the high frequency region. As an example opposite to this, in the case of the international standard JBIG (Joint Bi-level Image experts Group) specializing in binary images, a multi-valued image is divided into binary planes called bit planes, and processed. This also reduces performance.
[0006]
Now, in general applications, binary images and multi-valued images are used together. It may be mixed in one page or may be mixed page by page in one document. In any case, for encoding such an image, both a binary image and a multi-valued image are used. A mechanism for effective compression is required.
[0007]
In order to solve this problem, encoding for binary images and multi-value images may be used together. However, since the scale of the apparatus increases, it is desirable that encoding is possible so that both images can be handled in the same way. Therefore, Japanese Patent Laid-Open No. 9-109790, which is a prior art that realizes this requirement, will be described as a conventional example. This conventional example is a technique in which encoding is integrated into one by unifying binary encoding and multi-level encoding at the code level.
[0008]
FIG. 15 shows a configuration example of a conventional coding apparatus. Although the terminology has been partially changed to meet the purpose of the description of the present invention, it does not relate to the essence of the conventional example. In the figure, 10 is an image input unit, 61 is a multi-component processing unit, 62 is a method processing unit, 63 is a wavelet transform unit, 64 is a quantization unit, 65 is a horizontal context model unit, 66 is a gray encoding unit, and 40 is An encoding unit, 50 is a code output unit, 110 is input image data, 151 and 152 are processed image data, 153 is coefficient series data, 154 is quantized data, 130 is symbol data, and 140 is code data.
[0009]
Each part of FIG. 15 will be described. The image coding apparatus in FIG. 15 has the following configuration. The image input unit 10 receives an image from the outside and sends it as input image data 110 to the multi-component processing unit 61. The multi-component processing unit 61 performs optional processing such as predetermined color space conversion on the input image data 110 and sends the processed image data 151 to the method processing unit 62. The system processing unit 62 determines the characteristics of the processed image data 151 and transmits the entire image or a partial image to either the wavelet transform unit 63 or the gray encoding unit 66. The wavelet transform unit 63 performs reversible wavelet transform on the processed image data 152 and sends it to the quantization unit 64 as coefficient series data 153. The quantizing unit 64 quantizes the coefficient series data 153 and sends the quantized data 154 to the horizontal context model unit 65 as quantized data 154. The horizontal context model unit 65 models the quantized data 154 based on its importance and sends it as symbol data 130 to the encoding unit 40. On the other hand, the gray encoding unit 66 performs gray encoding on the processed image data 152 and sends the processed image data 152 to the encoding unit 40 as symbol data 130. The encoding unit 40 performs predetermined entropy encoding on the symbol data 130, and sends it to the code output unit 50 as code data 140. The code output unit 50 sends the code data 140 to the outside.
[0010]
The operation of the conventional example based on the above configuration will be described. FIG. 16 is a flowchart showing the operation of the conventional image coding apparatus. The operation of the conventional example will be described below with reference to FIG. In S10, the image input unit 10 inputs an image from the outside. In S51, the multi-component processing unit 61 performs multi-component processing. In S52, the method processing unit 62 performs method processing. In S53, if it is determined as a multi-valued image as a result of S52, the process proceeds to S54, and if not, the process proceeds to S57. In S54, the wavelet transform unit 63 performs wavelet transform. In S55, the quantization unit 64 performs a quantization process. In S56, the horizontal context model unit 65 performs horizontal context model processing. In S57, the gray encoding unit 66 performs gray encoding. In S30, the encoding unit 40 performs predetermined entropy encoding. In S40, the code output unit 50 performs code output processing to the outside.
[0011]
Next, problems of the conventional example will be described. In the conventional example, it is possible to process both binary and multi-valued images, but only the encoding unit 40 that performs entropy encoding is common to both images. In the preceding stage, an independent encoding path is prepared depending on the type. In this respect, it can be said that there is almost no difference from the conventional one. That is, in the conventional example, the encoding of the binary image and the multi-value image is not sufficiently unified, and as a result, it can be said that the scale of the encoding device is increased.
[0012]
In the conventional example, the binary and multi-value paths are independent. If independent paths are provided inside the apparatus in this way, there is a difference in the processing load of each path, so synchronization is finally performed in the part to be integrated finally, in the conventional example, in the part of the encoding unit 40. It becomes difficult to take. In order to solve this, there is no choice but to provide some kind of buffer or perform extremely complicated control.
[0013]
[Problems to be solved by the invention]
As described above, the problems of the conventional example are that the apparatus scale becomes large despite the fact that both binary and multi-valued images can be handled, and the control is complicated.
[0014]
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an image coding apparatus that can be effectively compressed without distinguishing between binary and multi-valued images with a small and simple configuration.
[0015]
[Means for Solving the Problems]
According to an aspect of the present invention, in an image encoding device, an image input unit that inputs an image, a prediction unit that performs a predetermined prediction process on the image data input by the image input unit, and the prediction unit An encoding unit that encodes a prediction error or a prediction result by a predetermined method; and a code output unit that outputs the encoding result of the encoding unit. The prediction process in the prediction unit is input to the image input unit. The image to be adjusted is adjusted according to whether it is binary or multivalued.
[0016]
According to another aspect of the present invention, in an image decoding apparatus, a code input unit that inputs a code, a decoding unit that decodes a code input by the code input unit by a predetermined method, and the decoding processing result A reverse prediction processing unit that performs predetermined reverse prediction processing to generate an image; and an image output unit that outputs a result of the reverse prediction processing. The reverse prediction processing in the reverse prediction unit is input from the code input unit. The code to be adjusted is adjusted according to whether a binary image is encoded or a multi-value image is encoded.
[0017]
According to still another aspect of the present invention, in the image coding / decoding apparatus, an image input unit that inputs an image, and a prediction unit that performs a predetermined prediction process on the image data input by the image input unit; Encoding means for encoding the prediction error or prediction result of the prediction means by a predetermined method, code output means for outputting the encoding result of the encoding means, code input means for inputting the code, and A decoding unit that decodes the code input by the code input unit by a decoding process that is an inverse process of the encoding unit; and an inverse prediction process that generates an image by performing an inverse prediction process that is an inverse process of the prediction process on the decoding process result And an image output means for outputting the result of the reverse prediction process. The prediction process in the prediction means and the reverse prediction process in the reverse prediction means In which the image to be input to the means to be adjusted depending on whether a binary or multivalue.
[0018]
In the image coding apparatus, the image decoding apparatus, and the image coding / decoding apparatus configured as described above, basically the same predictive coding method is adopted for both the image coding and the image decoding, and then the image is Adjustments are made according to whether binary or multivalued. Note that the prediction code is equally applicable to binary and multi-valued images. In this configuration, the configuration is simplified, and encoding / decoding that matches the characteristics of the image can be performed. In addition, since the coding path is not divided into two, complicated control for synchronization becomes unnecessary.
[0019]
In the configuration as described above, image type designation means for designating whether an input image is binary or multivalued as an image type is provided, and prediction processing in the prediction means and reverse prediction processing in the reverse prediction means May be adjusted according to the image type designated by the image type designation means.
[0020]
The designation of the image type in the image type designation means may be performed in units of one image, one partial image, or one pixel.
[0021]
In addition, the prediction process performed by the prediction unit and the reverse prediction process performed by the reverse prediction unit are performed by packing one pixel at a time when the image type is multi-valued, and packing a plurality of pixels when the image type is binary. May be predicted.
[0022]
In addition, the prediction process performed by the prediction unit and the reverse prediction process performed by the inverse prediction unit calculate a prediction error by subtraction or exclusive OR, and as an example, when the image type is multi-valued, it is subtracted. If the value is binary, the prediction error may be calculated by exclusive OR.
[0023]
In addition, the prediction process performed by the prediction unit and the reverse prediction process performed by the inverse prediction unit are performed when a pixel around the pixel to be encoded is binary and the binary is binary when the image type is multi-valued. Alternatively, the prediction may be performed using pixels located at a position matching the threshold period of the halftoning process.
[0024]
The prediction process performed by the prediction unit and the reverse prediction process performed by the inverse prediction unit are determined by adjusting the number of pixels to be packed and the position of the prediction pixel so as to match the threshold period of the halftoning process. You may do it.
[0025]
The prediction processing performed by the prediction means determines that the prediction matches if the prediction value is within a predetermined range with respect to the pixel value of the pixel to be encoded, or quantizes the prediction error. Alternatively, the inverse prediction process performed by the inverse prediction means by performing both or both of them may be performed by performing an inverse quantization process when necessary corresponding to the prediction process.
[0026]
Further, the quantization of the prediction error performed by the prediction unit and the inverse quantization process of the prediction error performed by the inverse prediction unit are not performed in the normal quantization but in the bit position when the input image is binary. Regardless of this, quantization such as changing 1 to 0 may be used.
[0027]
Further, the encoding performed by the encoding means and the decoding performed by the decoding means may be any of QM coder, LZ encoding, Huffman encoding, Golomb-Rice encoding, block sorting encoding, or a combination thereof. May be.
[0028]
Further, the prediction process performed by the prediction unit and the reverse prediction process performed by the reverse prediction unit may be fixedly designed for either binary or multi-value depending on the application.
[0029]
The image input means includes image type determining means for determining whether the image input is binary or multi-valued as an image type, and the prediction process in the predicting means is determined by the image type determining means. The image type may be adjusted according to the image type, and the image type may be added to the code by the encoding means.
[0030]
The decoding unit may acquire an image type from the code and provide the image type to the inverse prediction unit, and the prediction process in the inverse prediction unit may be adjusted according to the image type.
[0031]
In addition, the image type determination process performed by the image type determination unit may be performed by histogram or frequency analysis, or may be performed by the matching rate between the binary and multi-level prediction processes in the prediction unit.
[0032]
The image type determination result performed by the image type determination unit may be defined as a code on the same code space as the prediction error or the prediction result, or may be defined by a header or a marker as additional information. .
[0033]
The prediction means includes at least two or more pixel value prediction means for predicting the pixel value of the input image, and a prediction error calculation for calculating an error between a prediction value obtained by a predetermined prediction method and an actual pixel value by a predetermined method. And a selection means for selecting one of the pixel value prediction means and the prediction error calculation means, and the selection means selects the prediction means when any of the prediction values matches the actual pixel value. If none of them match, the prediction error may be selected, and the encoding means may encode the selection result in the selection means and the prediction error.
[0034]
The inverse prediction means includes at least two or more pixel value prediction means for predicting the pixel value of the image, a prediction error correction means for calculating a correct pixel value from the prediction error value by a predetermined method, and the pixel value prediction. And a selection unit that selects one of the prediction error calculation units, and the selection unit may perform a selection process based on a selection result or a prediction error obtained by the decoding unit.
[0035]
Further, the selection means is one of a predictor identifier, a prioritized identifier, and a run-length representation of the prioritized identifier, and when the identifier is run-length represented, The encoding means may encode the run length.
[0036]
Further, the prediction means counts at least two or more pixel value prediction means for predicting the pixel value of the input image, and counts the number of consecutive matches between the prediction value of the corresponding pixel value prediction means and the actual pixel value. One or more run counting means, a prediction error calculating means for calculating an error between a predicted value by a predetermined prediction method and an actual pixel value by a predetermined method, and any one of the pixel value predicting means and the prediction error calculating means. Selecting means for selecting, the selecting means selects the longest matching prediction means, when none of them match, the prediction error is selected, the encoding means is a selection result obtained by the selection means, The run length obtained by the run counting means and the prediction error obtained by the prediction error calculation may be encoded.
[0037]
In addition, the inverse prediction means includes at least two or more pixel value prediction means for predicting the pixel value of the image, and at least two that transmit control information for the number of runs input to the corresponding pixel value prediction means. The above-described run development means, a prediction error correction means for calculating a correct pixel value from a prediction error value by a predetermined method, and a selection means for selecting one of the run development means and the prediction error correction means, The decoding unit decodes a selection result, a run length, and a prediction error, and the selection unit performs a selection process based on the selection result. When the run expansion unit is selected, a run length is calculated based on the run length. When the expansion process is performed and the prediction error correction unit is selected, the prediction error correction process may be performed based on the prediction error.
[0038]
It should be noted that the present invention can be realized not only as an apparatus or a system but also as a method, and a part thereof can be realized as a computer program.
[0039]
Each of the above aspects of the invention and other aspects of the invention are set forth in the appended claims and will be described in detail below with reference to examples.
[0040]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described in detail with reference to examples.
[0041]
[Basic principle]
Prior to specific description of the embodiments of the present invention, the basic principle of the present invention will be described. In order to compress a binary image and a multi-valued image without distinction, a small-scale apparatus can be realized by selecting an encoding using only a property common to both images. In this respect, in the case of the conventional example, wavelet coding was used for multi-valued images, and coding was completely different in principle from gray coding for binary images, so the increase in scale could not be suppressed. .
[0042]
The present invention employs predictive coding. Predictive coding here refers to a coding method in which the pixel to be coded next is predicted by referring to the information of the processed image, and the matching information and error information are used as codes.
[0043]
Predictive coding uses a property called image continuity or autocorrelation, but these properties exist without distinction between binary and multivalued, and therefore both can be compressed in common. However, since many processes generally called prediction are designed for multi-valued images, some ideas are required to apply them to binary images. In principle, this is an adjustment for using the autocorrelation of the binary image. Such adjustment can be dealt with by a part of prediction processing, that is, by adjusting parameters. Specific examples will be described in the examples.
[0044]
The present invention realizes compression of both images by adaptively switching between the prediction for binary images and the prediction for multi-valued images prepared in this way. At this time, since both the images other than the prediction processing can be used in common for both images, and the prediction itself can be used by switching the parameters, the apparatus scale can be reduced. In addition, since the coding path is not divided into two, complicated control necessary for synchronization is not necessary.
[0045]
Specific examples of the present invention will be described in Examples. Hereinafter, as an example of the present invention,
(1) General example
(2) Example of determining image type internally
(3) Example applied to predictive coding disclosed in Japanese Patent Laid-Open No. 09-224253 (4) Modification of Example (3)
The following four will be described.
[0046]
[First embodiment]
First, a general example will be described as the first embodiment of the present invention. Hereinafter, the first embodiment of the present invention will be described in detail. 1 and 2 are block diagrams showing an image encoding device and an image decoding device, respectively, in the first embodiment. In the figure, parts similar to those in FIG. In the figure, 20 is an image type designation unit, 30 is a prediction unit, 51 is a code input unit, 41 is a decoding unit, 31 is a reverse prediction unit, 11 is an image output unit, and 120 is image type data.
[0047]
First, the image coding apparatus according to the first embodiment of the present invention will be described with reference to FIG. Each part of FIG. 1 will be described. The image type designation unit 20 inputs a type indicating whether an image input from the outside is binary or multi-valued, and sends it to the prediction unit 30 as image type data 120. The prediction unit 30 performs a prediction process on the input image data 110 in accordance with the image type specified by the image type data 120 and sends the result to the encoding unit 40 as symbol data 130.
[0048]
Next, the image decoding apparatus according to the first embodiment of the present invention will be described with reference to FIG. Each part of FIG. 2 will be described. The code input unit 51 inputs a code from the outside, and sends the code data 140 to the decoding unit 41. The decoding unit 41 performs a decoding process corresponding to the reverse process of the encoding performed by the encoding unit 40 on the code data 140 and sends it to the inverse prediction unit 31 as the symbol data 130. Based on the image type data 120, the inverse prediction unit 31 performs inverse prediction processing corresponding to the inverse processing of prediction performed by the prediction unit 30 on the symbol data 130, and sends the input image data 110 to the image output unit 11. The image output unit 11 outputs the input image data 110 to the outside.
[0049]
Based on the above configuration, the operation of the first embodiment of the present invention will be described. 3 and 4 are flow charts showing the encoding operation and the decoding operation in the first embodiment, respectively. In the figure, the same parts as those in FIG. However, explanations will be added for slightly different parts.
[0050]
First, the encoding process in the first embodiment of the present invention will be described with reference to FIG. In S10, the image input unit 10 and the image type designation unit 20 accept input of an image and an image type from the outside. In S20, the prediction unit 30 performs a prediction process.
[0051]
Next, the decoding process in the first embodiment of the present invention will be described with reference to FIG. In S41, the code input unit 41 and the image type designation unit 20 accept the input of the code and the image type from the outside. In S31, the decoding unit 41 performs a decoding process. In S21, the inverse prediction unit 31 performs an inverse prediction process. In S11, the image output unit 11 outputs an image.
[0052]
In the above operation, the encoding process and the decoding process in the encoding unit 40 and the decoding unit 41 are inverse processes. Similarly, the prediction process and the reverse prediction process in the prediction unit 30 and the reverse prediction unit 31 are also reverse processes. Specific examples of these will be described later in detail.
[0053]
The image type designation in the image type designation unit 20 may be performed for each image, or may be performed for each partial image or pixel unit.
[0054]
Next, the prediction process in the prediction unit 30 will be described. When a multi-valued image is designated by the image type designation unit 20, this prediction is performed based on the peripheral pixel value of a pixel to be encoded (hereinafter referred to as a target pixel) or a calculation result thereof. These details are omitted because they are known techniques such as JPEG lossless compression.
[0055]
When a binary image is designated by the image type designation unit 20, this prediction performs adjustment for a binary image. In order to explain this, first, the difference in prediction between a binary image and a multi-valued image will be described. Prediction coding for a natural image such as a photograph rarely matches the actual pixel value with the predicted value, and therefore, in general, this difference, so-called prediction error, is coded. If the image is multi-valued, the prediction error distribution is a monotonous distribution with the vertex at 0, so there is an effect of reducing the amount of information, but if it is binary, the prediction will not match or not, so such an effect I can not expect.
[0056]
In addition, the multi-value prediction as described above is based on the autocorrelation of an image in principle. However, in the case of an image generated by a so-called halftoning (also referred to as screen processing) based on a binary image, particularly a multi-value image, the threshold for binarization differs for each pixel, so that it is the same as such a multi-value image. The autocorrelation of is not necessarily established.
[0057]
Thus, prediction of a binary image and a multi-value image cannot be performed in the same way. Therefore, in the present invention, in order to compress a binary image by predictive coding, the following adjustment is performed for prediction. That is,
1) Predict multiple pixels together,
2) Calculate the prediction error by exclusive OR,
3) Reflect the halftoning cycle.
It is three. For example, 1) is an adjustment in which eight 1-bit pixels are grouped together (hereinafter referred to as packing) and handled as if they were one 8-bit pixel. In addition, 2) is an adjustment using exclusive OR instead of subtraction generally used in multi-valued images. With these two, it is possible to expect a reduction in the amount of information due to prediction errors. Further, 3) is an adjustment for performing a prediction process in accordance with an assumed halftoning process. For example, in a case where halftoning processing is performed with a 12 × 12 systematic dither and packing is performed in units of 8 bits in 1), the pixel value of the 8-bit pixel of interest is 2 more than the pixel value of the right-left pixel. The correlation with the pixel value of the leftmost pixel becomes high. This is because the dither is 12 pixel cycles, and the packing is 8 pixel cycles. Therefore, the least common multiple of these 24 pixel cycles, that is, the pixel value after packing is highly correlated with every other pixel value. This is the cause. Using this, for example, if the previous pixel value is adjusted to be the predicted value, the accuracy of the prediction is increased. 3) indicates a prediction that takes into account the halftoning cycle and the packing cycle of 1).
[0058]
These adjustments are preferably performed simultaneously, but only one of them may be selectively performed as long as there is a restriction such as processing load.
[0059]
In addition, when the input image data is limited to either one, the fixed prediction process may be performed. Even in this case, since most of the design and implementation of the present embodiment configured for the case where the input image cannot be limited can be used, the cost can be reduced as a whole. For example, when a binary image system and a multi-value image system exist separately, this embodiment can be applied to each of the embodiments. In this case, all parts other than the prediction process can be used in common, so there are many cost reduction effects such as shortening the design man-hours and sharing the mounting core compared to the case where separate coding is adopted. You can expect.
[0060]
In addition, lossy encoding can be realized by allowing an error in these prediction processes, but such a configuration may be adopted. For example, a process for determining that the prediction matches if the predicted value is within a predetermined range, a process for adding some quantization to the prediction error, and the like are given as specific examples. At this time, since the prediction error value obtained by exclusive OR for a binary image has no meaning in the magnitude relationship, the bit position closer to the LSB is not the normal quantization that is easily ignored, but the bit position. Regardless of this, quantization such as changing 1 to 0 is effective.
[0061]
The symbol data 130 is composed of a prediction error or the number of consecutive prediction matches. This specific example will be described in detail in a later embodiment.
[0062]
The encoding performed by the encoding unit 40 is not particularly limited as long as it is a general entropy coder. Examples include QM coder, LZ coding, Huffman coding, Golomb-Rice coding, and the like. However, since the present invention aims at a small-scale configuration, a small-scale entropy coder such as Huffman is particularly preferable.
[0063]
As described above, according to the first embodiment, with regard to a binary image, it is possible to perform a highly accurate prediction by simply making a simple adjustment to the prediction for a multi-value image. An image encoding process and an image decoding process that can efficiently process a binary image and a multi-valued image can be performed.
[0064]
[Second Embodiment]
As a second embodiment of the present invention, an example will be described in which the image type is not given externally as in the first embodiment but is determined internally as in the conventional example.
[0065]
The second embodiment of the present invention will be specifically described below. 5 and 6 are block diagrams showing an image encoding device and an image decoding device, respectively, according to the second embodiment of the present invention. In the figure, the same parts as those in FIG. 15, FIG. 1 and FIG. 21 is an image type determination unit, 42 is an encoding unit, and 43 is a decoding unit.
[0066]
First, the image coding apparatus according to the second embodiment of the present invention will be described with reference to FIG. Each part of FIG. 5 will be described. The image type determination unit 21 performs a predetermined image type determination process on the input image data 110 and sends it to the prediction unit 30 and the encoding unit 42 as image type data 120. The encoding unit 42 performs predetermined entropy encoding on the symbol data 130 and the image type data 120 and sends the encoded data 140 to the code output unit 50.
[0067]
Next, an image decoding apparatus according to the second embodiment of the present invention will be described with reference to FIG. Each part of FIG. 6 will be described. The decoding unit 43 performs a decoding process corresponding to the reverse process of the encoding process performed by the encoding unit 42 on the code data 140, and sends it to the inverse prediction unit 31 as the symbol data 130 and the image type data 120.
[0068]
Since the operation of the second embodiment of the present invention can be easily inferred from the operation of the first embodiment of the present invention, description thereof will be omitted.
[0069]
Among the operations described above, the image type determination process in the image type determination unit 21 determines whether the whole or part of the input image data 110 is a binary multi-value. In the conventional example, this corresponds to a determination process in the method processing unit 62. The operation principle of the determination process is not described in detail because there are many known techniques, but it can be determined by, for example, a histogram or frequency analysis. Further, in the present embodiment, it is not important to distinguish between binary and multivalue, and the purpose is to know which prediction is likely to match. For example, the prediction for binary and multivalue is partially applied. Therefore, it may be determined based on the matching rate.
[0070]
The encoding unit 42 is different from the encoding unit 40 in the first embodiment of the present invention in that the image type data 120 is encoded in addition to the symbol data 130. The relationship between the decoding unit 43 and the decoding unit 41 in the first embodiment of the present invention is also the same.
[0071]
Next, a method for discriminating between the symbol data 130 and the image type data 120 in the code data 140 will be described. What is simple is that codes corresponding to the symbol data 130 and the image type data 120 have a one-to-one correspondence in the same code space. In this way, it is possible to determine which information is from each code.
[0072]
When the image type data 120 is small with respect to the symbol data 130 such as for each image or for each partial image, the above-described method causes a decrease in encoding efficiency. Therefore, in such a case, it is preferable to embed in the code data 140 as additional information in the form of a header or a marker. FIG. 7 is a conceptual diagram of an example of such a header. As a variation, the information included in the header may be transmitted as additional information data that is completely different from the code data 140.
[0073]
As described above, according to the second embodiment, an image encoding device and an image decoding device that perform encoding by switching between binary and multi-value without specifying an image type from outside are realized on a small scale. can do.
[0074]
[Third embodiment]
As a third embodiment of the present invention, an example in which the present invention is applied to the predictive coding disclosed in Japanese Patent Laid-Open No. 09-224253 will be described.
[0075]
The third embodiment of the present invention will be specifically described below. 8 and 9 are block diagrams showing an image encoding device and an image decoding device, respectively, according to the third embodiment of the present invention. In the figure, the same parts as those in FIGS. 15, 1, 2, 5, and 6 are denoted by the same reference numerals, and description thereof is omitted. In the figure, 32 is a first prediction unit, 33 is a second prediction unit, 36 is a prediction error calculation unit, 37 is a selection unit, 38 is a prediction error correction unit, 111 and 112 are prediction value data, and 115 is prediction error value data. 116, 117 are control data.
[0076]
First, an image coding apparatus according to a third embodiment of the present invention will be described with reference to FIG. Each part of FIG. 8 will be described. Each of the first prediction unit 32 and the second prediction unit 33 performs a predetermined prediction process based on the image type data 120 for the input image data 110, and sends the input data as prediction value data 111 and 112 to the selection unit 37. The prediction error calculation unit 36 performs a predetermined prediction process on the input image data 110 based on the image type data 120, calculates a difference between the prediction value and the target pixel value by a predetermined method, and generates prediction error value data. 115 is sent to the selection unit 37. The selection unit 37 compares the input image data 110 with the prediction value data 111 and 112, and if the predictions match, the identifier of the predictor that matches, and if the predictions do not match, the prediction error value data 115 as the symbol data. 130 is sent to the encoding unit 40.
[0077]
Next, an image coding apparatus according to a third embodiment of the present invention will be described with reference to FIG. Each part of FIG. 9 will be described. The selection unit 37 selects any one of the first prediction unit 32, the second prediction unit 33, and the prediction error correction unit 38 based on the symbol data 130, and sets the control data 116 and 117 and the prediction error value data 115 according to each of them. Send it out. The first prediction unit 32 and the second prediction unit 33 are the same as those in the above-described image encoding device, but operate only when the control data 116 is received, and send the prediction result to the image output unit 11 as input image data 110. The point is different. The prediction error correction unit 38 performs the inverse process of the prediction error calculation performed by the prediction error calculation unit 36 and sends the input image data 110 to the image output unit 11.
[0078]
Since the operation is apparent from other embodiments, the description thereof is omitted.
[0079]
In the above operation, the first prediction unit 32, the second prediction unit 33, and the prediction error correction unit 38 have the input image data 110 as input and output, but the input is delayed by one pixel from the output. That is, by inputting the pixel value decoded immediately before, prediction processing and prediction error correction processing for the next pixel are performed.
[0080]
Next, the prediction process performed in the 1st prediction part 32 and the 2nd prediction part 33 is demonstrated. In Japanese Patent Laid-Open No. 09-224253, prediction based on the peripheral pixel value itself is given as an example, but when a binary image is targeted, the adjustment as described in the first embodiment of the present invention is performed. Here, assuming that 16 × 2 dither processing has been performed, packing is performed in units of 8 pixels, and every other predictor is used. FIG. 10 shows a part of an example of a predictor for a multi-level image disclosed in Japanese Patent Laid-Open No. 09-224253, and FIG. 11 shows an example of a predictor adjusted for a binary image. This is an example, and adjustment is made according to the halftoning cycle as described in the first embodiment of the present invention.
[0081]
The prediction error calculation unit 36 and the prediction error correction processing unit 38 are also as described in the first embodiment of the present invention. In this embodiment, when a multi-value image is specified, subtraction and binary image are specified. If this is the case, the prediction error is calculated by exclusive OR.
[0082]
The symbol data 130 is composed of the identifiers and prediction error values of the matched predictors. However, as disclosed in Japanese Patent Application Laid-Open No. 09-224253, the identifiers may be prioritized or expressed in run length. Details of these will be omitted from the gist of the present invention because they are not.
[0083]
As described above, according to the third embodiment, since a plurality of predictors are provided, an image coding apparatus and an image that can be compressed without distinction between binary and multivalue particularly for an artificial image such as CG. A decoding device can be realized.
[0084]
[Fourth embodiment]
As a fourth embodiment of the present invention, a modification of the third embodiment of the present invention will be described. Here, in the third embodiment of the present invention, a configuration is adopted in which the prediction unit is selected based on the number of continuous matches of the prediction unit, not the mismatch of the prediction unit.
[0085]
Hereinafter, the fourth embodiment will be described in detail. 12 and 13 are block diagrams of an image encoding device and an image decoding device, respectively, according to the fourth embodiment of the present invention. In the figure, the same parts as those in FIGS. 15, 1, 2, 5, 5, 6, 8 and 9 are denoted by the same reference numerals, and the description thereof is omitted. Reference numerals 34 and 35 are run counting units, 71 and 72 are run developing units, and 113 and 114 are run data.
[0086]
First, an image coding apparatus according to a fourth embodiment of the present invention will be described with reference to FIG. Each part of FIG. 12 will be described. The run counting units 34 and 35 compare the image input data 110 with the predicted value data 111 and 112, respectively, count the number of consecutive matches, and send the results to the selection unit 37 as run data 113 and 114, respectively. If the larger one of the run data 113 and 114 is not 0, the selection unit 37 sends the identifier and run of the corresponding prediction unit, and if it is 0, the prediction error data 115 is sent to the encoding unit 40 as the symbol data 130.
[0087]
Next, an image decoding apparatus according to the fourth embodiment of the present invention will be described with reference to FIG. Each part of FIG. 13 will be described. The selection unit 37 selects one of the run development units 71 and 72 and the prediction error correction unit 38 based on the symbol data 130, and sends the run data 113 and 114 and the prediction error value data 115 according to each of them. The run development units 71 and 72 send the control data 116 and 117 to the first prediction unit 32 and the second prediction unit 33 as many times as indicated by the run data 113 and 114, respectively.
[0088]
Since the operation is apparent from other embodiments, the description thereof is omitted.
[0089]
Since the prediction unit can be selected after counting the number of consecutive matches in the above operation, the compression rate can often be made higher than in the third embodiment of the present invention.
[0090]
Therefore, in order to confirm the effect of the present embodiment, a simulation of the present embodiment was performed on a computer. FIG. 14 shows the experimental results. As can be seen from the figure, JPEG and JBIG select image types, whereas in this embodiment, both can be efficiently compressed.
As described above, according to the fourth embodiment of the present invention, the image encoding process for compressing binary and multi-valued images and the amplification process are realized more efficiently than the third embodiment. it can.
[0091]
【The invention's effect】
As is apparent from the above description, according to the present invention, high-efficiency compression processing is realized with a small-scale configuration, particularly in an image encoding device and an image decoding device that compress both binary and multilevel images. be able to.
[Brief description of the drawings]
FIG. 1 is a configuration diagram illustrating a first embodiment of an image encoding device according to the present invention;
FIG. 2 is a block diagram showing a first embodiment of the image decoding apparatus of the present invention.
FIG. 3 is a flowchart showing an example of the operation in the first embodiment of the image encoding device of the present invention;
FIG. 4 is a flowchart showing an example of operation in the first embodiment of the image encoding device of the present invention;
FIG. 5 is a block diagram showing a second embodiment of the image coding apparatus according to the present invention.
FIG. 6 is a block diagram showing a second embodiment of the image decoding apparatus of the present invention.
FIG. 7 is an explanatory diagram of an example of code data in the second embodiment of the image encoding device and the image decoding device of the present invention.
FIG. 8 is a block diagram showing a third embodiment of the image coding apparatus according to the present invention.
FIG. 9 is a block diagram showing a third embodiment of the image decoding apparatus of the present invention.
FIG. 10 is an explanatory diagram of a prediction process in the third embodiment of the image encoding device and the image decoding device according to the present invention.
FIG. 11 is an explanatory diagram of a prediction process in the third embodiment of the image encoding device and the image decoding device according to the present invention.
FIG. 12 is a block diagram showing a fourth embodiment of the image coding apparatus according to the present invention.
FIG. 13 is a block diagram showing a fourth embodiment of the image decoding apparatus of the present invention.
FIG. 14 is an explanatory diagram showing an example of experimental results according to the fourth embodiment of the image encoding device and the image decoding device of the present invention;
FIG. 15 is a block diagram showing a conventional coding selection apparatus.
FIG. 16 is a flowchart showing an example of the operation of the conventional encoding selection apparatus.
[Explanation of symbols]
10 Image input section
11 Image output unit
20 Image type designation part
21 Image type determination unit
30 Predictor
31 Inverse prediction unit
32 First prediction unit
33 Second prediction unit
34 Run counter
35 Run counter
36 Prediction error calculator
37 Selector
38 Prediction error correction unit
40 Encoding unit
41 Decryption unit
42 Encoding unit
43 Decryption unit
50 Code output section
51 Code input section
61 Multi-component processing unit
62 Method processor
63 Wavelet transform unit
64 Quantizer
65 Horizontal context model part
66 Gray coding part
71 Run development department
72 Run Development Department
110 Input image data
111 Predicted value data
112 Predicted value data
113 run data
114 run data
115 Prediction error value data
116 Control data
117 Control data
120 Image type data
130 Symbol data
140 Code data
151 Processed image data
152 Processed image data
153 Coefficient series data
154 Quantized data

Claims (15)

画像データを入力する画像入力手段と、
上記画像入力手段により入力した画像データが多値の画像データの場合、上記多値の画像データに対して第1の予測処理態様で所定の予測処理を行い、上記画像入力手段により入力された画像データが2値の画像データの場合、第2の予測処理態様で、上記2値の画像データに対して上記所定の予測処理を行う予測手段と、
上記予測手段の予測誤差の量子化結果および予測結果を所定の方法で符号化するエントロピー符号化手段と、
上記符号化手段の符号化結果を出力する符号出力手段とを有し、
上記予測手段で行われる予測処理は、画像種別が多値であるときは1画素ずつ、また2値であるときは複数画素まとめるパッキングをして予測する処理であり、
上記画像種別が多値であるときは減算によって予測誤差を算出し、上記画像種別が2値であるときは排他的論理和によって予測誤差を算出し、
上記予測手段で行われる予測誤差の量子化処理は、上記入力画像が多値の場合にはLSB側の所定ビットを無視し、上記入力画像が2値の場合には通常の量子化でなくビットの位置によらず1を0に変更するような量子化であることを特徴とする画像符号化装置。
Image input means for inputting image data;
When the image data input by the image input means is multivalued image data, a predetermined prediction process is performed on the multivalued image data in a first prediction processing mode, and the image input by the image input means If the image data of the data 2 value, in a second prediction process aspect, a prediction means for performing the predetermined prediction process on the image data of the binary,
Entropy encoding means for encoding the prediction error quantization result and the prediction result of the prediction means by a predetermined method;
Possess a code output means for outputting the encoded result of the encoding means,
The prediction process performed by the prediction means is a process of predicting by packing one pixel at a time when the image type is multi-valued, and packing a plurality of pixels when the image type is binary,
When the image type is multi-valued, the prediction error is calculated by subtraction. When the image type is binary, the prediction error is calculated by exclusive OR,
The prediction error quantization process performed by the prediction means ignores a predetermined bit on the LSB side when the input image is multi-valued, and uses a bit instead of normal quantization when the input image is binary. An image encoding apparatus characterized in that the quantization is such that 1 is changed to 0 regardless of the position of the image.
画像データを入力する画像入力手段と、Image input means for inputting image data;
上記画像入力手段により入力した画像データが多値の画像データの場合、上記多値の画像データに対して第1の予測処理態様で所定の予測処理を行い、上記画像入力手段により入力された画像データが2値の画像データの場合、第2の予測処理態様で、上記2値の画像データに対して上記所定の予測処理を行う予測手段と、When the image data input by the image input means is multivalued image data, a predetermined prediction process is performed on the multivalued image data in a first prediction processing mode, and the image input by the image input means When the data is binary image data, in a second prediction processing mode, prediction means for performing the predetermined prediction processing on the binary image data;
上記予測手段の予測誤差の量子化結果および予測結果を所定の方法で符号化するエントロピー符号化手段と、Entropy encoding means for encoding the prediction error quantization result and the prediction result of the prediction means by a predetermined method;
上記符号化手段の符号化結果を出力する符号出力手段とを有し、Code output means for outputting the encoding result of the encoding means,
上記予測手段で行われる予測処理は、画像種別が多値であるときは1画素ずつ、また2値であるときは複数画素まとめるパッキングをして予測する処理であり、The prediction process performed by the prediction means is a process of predicting by packing one pixel at a time when the image type is multi-valued, and packing a plurality of pixels when the image type is binary,
上記予測手段で行われる予測処理は、減算や排他的論理和によって予測誤差を算出し、The prediction process performed by the prediction means calculates a prediction error by subtraction or exclusive OR,
上記予測手段で行われる予測誤差の量子化処理は、上記入力画像が多値の場合にはLSB側の所定ビットを無視し、上記入力画像が2値の場合には通常の量子化でなくビットの位置によらず1を0に変更するような量子化であることを特徴とする画像符号化装置。The prediction error quantization process performed by the prediction means ignores a predetermined bit on the LSB side when the input image is multi-valued, and uses a bit instead of normal quantization when the input image is binary. An image encoding apparatus characterized in that the quantization is such that 1 is changed to 0 regardless of the position of the image.
画像データを入力する画像入力手段と、Image input means for inputting image data;
上記画像入力手段により入力した画像データが多値の画像データの場合、上記多値の画像データに対して第1の予測処理態様で所定の予測処理を行い、上記画像入力手段により入力された画像データが2値の画像データの場合、第2の予測処理態様で、上記2値の画像データに対して上記所定の予測処理を行う予測手段と、When the image data input by the image input means is multivalued image data, a predetermined prediction process is performed on the multivalued image data in a first prediction processing mode, and the image input by the image input means When the data is binary image data, in a second prediction processing mode, prediction means for performing the predetermined prediction processing on the binary image data;
上記予測手段の予測誤差の量子化結果および予測結果を所定の方法で符号化するエントロピー符号化手段と、Entropy encoding means for encoding the prediction error quantization result and the prediction result of the prediction means by a predetermined method;
上記符号化手段の符号化結果を出力する符号出力手段とを有し、Code output means for outputting the encoding result of the encoding means,
上記予測手段で行われる予測処理は、上記画像種別が多値であるときは符号化しようとする画素の周辺画素を、また2値であるときはハーフトーニング処理の閾値の周期に合わせた位置にある画素を使って予測する処理であり、When the image type is multi-valued, the prediction processing performed by the prediction means is performed at a position in which the peripheral pixels of the pixel to be encoded are matched with the threshold period of the halftoning process when the image type is binary. It is a process to predict using a certain pixel,
上記予測手段で行われる予測誤差の量子化処理は、上記入力画像が多値の場合にはLSB側の所定ビットを無視し、上記入力画像が2値の場合には通常の量子化でなくビットの位置によらず1を0に変更するような量子化であることを特徴とする画像符号化装置。The prediction error quantization process performed by the prediction means ignores a predetermined bit on the LSB side when the input image is multi-valued, and uses a bit instead of normal quantization when the input image is binary. An image encoding apparatus characterized in that the quantization is such that 1 is changed to 0 regardless of the position of the image.
請求項1〜3のいずれかに記載の画像符号化装置により符号化された符号を復号する画像復号装置において、
上記符号を入力する符号入力手段と、
上記符号入力手段により入力した符号を上記符号化手段の逆処理にあたる復号処理で復号する復号手段と、
上記符号入力手段により入力した符号が多値の画像データを符号化したものである場合、上記復号手段により出力された復号処理結果に対して所定の予測処理に対応する逆予測処理を第1の予測処理態様に対応する第1の逆予測処理態様で行って多値の画像データを生成し、上記符号入力手段により入力された符号が2値の画像データを符号化したものである場合、上記復号手段により出力された復号処理結果に対して、上記2値の画像データの相関が高くなる第2の予測処理態様に対応する第2の逆予測処理態様で、上記逆予測処理を行って、2値の画像を生成する逆予測処理手段と、
上記逆予測処理の結果を出力する画像出力手段とを有することを特徴とする画像復号装置。
In the image decoding apparatus which decodes the code | cord | chord encoded by the image encoding apparatus in any one of Claims 1-3,
A code input means for inputting the code,
Decoding means for decoding the code input by the code input means by a decoding process corresponding to a reverse process of the encoding means;
When the code input by the code input means is obtained by encoding multi-valued image data, an inverse prediction process corresponding to a predetermined prediction process is performed on the decoding process result output by the decoding means. When the multi-valued image data is generated by performing the first inverse prediction processing mode corresponding to the prediction processing mode, and the code input by the code input unit is encoded binary image data, For the decoding processing result output by the decoding means, performing the reverse prediction processing in the second reverse prediction processing mode corresponding to the second prediction processing mode in which the correlation of the binary image data is high, and inverse predictive processing unit for generating the images of the binary,
An image decoding apparatus comprising: an image output unit that outputs a result of the inverse prediction process.
画像データを入力する画像入力手段と、
上記画像入力手段により入力した画像データが多値の画像データの場合、上記多値の画像データに対して第1の予測処理態様で所定の予測処理を行い、上記画像入力手段により入力された画像データが2値の画像データの場合、第2の予測処理態様で、上記2値の画像データに対して上記所定の予測処理を行う予測手段と、
上記予測手段の予測誤差の量子化結果および予測結果を所定の方法で符号化するエントロピー符号化手段と、
上記符号化手段の符号化結果を出力する符号出力手段とを有し、
上記予測手段で行われる予測処理は、画像種別が多値であるときは1画素ずつ、また2値であるときは複数画素まとめるパッキングをして予測する処理であり、
上記画像種別が多値であるときは減算によって予測誤差を算出し、上記画像種別が2値であるときは排他的論理和によって予測誤差を算出し、
上記予測手段で行われる予測誤差の量子化処理は、上記入力画像が多値の場合にはLSB側の所定ビットを無視し、上記入力画像が2値の場合には通常の量子化でなくビットの位置によらず1を0に変更するような量子化であり、
さらに、
上記符号を入力する符号入力手段と、
上記符号入力手段により入力した符号を上記符号化手段の逆処理にあたる復号処理で復号する復号手段と、
上記符号入力手段により入力した符号が多値の画像データを符号化したものである場合、上記復号手段により出力された復号処理結果に対して上記所定の予測処理に対応する逆予測処理を上記第1の予測処理態様に対応する第1の逆予測処理態様で行って多値の画像データを生成し、上記符号入力手段により入力された符号が2値の画像データを符号化したものである場合、上記復号手段により出力された復号処理結果に対して、上記第1の予測処理態様に対応する第2の逆予測処理態様で、上記逆予測処理を行って、2値の画像を生成する逆予測処理手段と、
上記復号処理結果について上記予測処理の逆処理にあたる逆予測処理を行って画像データを生成する逆予測処理手段と、
上記逆予測処理の結果を出力する画像出力手段とを有することを特徴とする画像符号化復号装置。
Image input means for inputting image data;
When the image data input by the image input means is multivalued image data, a predetermined prediction process is performed on the multivalued image data in a first prediction processing mode, and the image input by the image input means If the image data of the data 2 value, in a second prediction process aspect, a prediction means for performing the predetermined prediction process on the image data of the binary,
Entropy encoding means for encoding the prediction error quantization result and the prediction result of the prediction means by a predetermined method;
Code output means for outputting the encoding result of the encoding means ,
The prediction process performed by the prediction means is a process of predicting by packing one pixel at a time when the image type is multi-valued, and packing a plurality of pixels when the image type is binary,
When the image type is multi-valued, the prediction error is calculated by subtraction. When the image type is binary, the prediction error is calculated by exclusive OR,
The prediction error quantization process performed by the prediction means ignores a predetermined bit on the LSB side when the input image is multi-valued, and uses a bit instead of normal quantization when the input image is binary. Quantization that changes 1 to 0 regardless of the position of
further,
Code input means for inputting the code;
Decoding means for decoding the code input by the code input means by a decoding process corresponding to a reverse process of the encoding means;
When the code input by the code input means is obtained by encoding multivalued image data, the inverse prediction process corresponding to the predetermined prediction process is performed on the decoding process result output by the decoding means. When the multi-valued image data is generated by performing the first inverse prediction processing mode corresponding to the one prediction processing mode, and the code input by the code input unit is encoded binary image data for decoding result output by the decoding means, the second inverse predictive processing mode corresponding to the first prediction processing mode, perform the inverse predictive processing, to generate the images of the binary Reverse prediction processing means;
Reverse prediction processing means for generating image data by performing reverse prediction processing corresponding to reverse processing of the prediction processing for the decoding processing result;
An image encoding / decoding apparatus comprising: an image output unit that outputs a result of the inverse prediction process.
画像データを入力する画像入力手段と、
上記画像入力手段により入力した画像データが多値の画像データの場合、上記多値の画像データに対して第1の予測処理態様で所定の予測処理を行い、上記画像入力手段により入力された画像データが2値の画像データの場合、第2の予測処理態様で、上記2値の画像データに対して上記所定の予測処理を行う予測手段と、
上記予測手段の予測誤差の量子化結果および予測結果を所定の方法で符号化するエントロピー符号化手段と、
上記符号化手段の符号化結果を出力する符号出力手段とを有し、
上記予測手段で行われる予測処理は、画像種別が多値であるときは1画素ずつ、また2値であるときは複数画素まとめるパッキングをして予測する処理であり、
上記予測手段で行われる予測処理は、減算や排他的論理和によって予測誤差を算出し、
上記予測手段で行われる予測誤差の量子化処理は、上記入力画像が多値の場合にはLS B側の所定ビットを無視し、上記入力画像が2値の場合には通常の量子化でなくビットの位置によらず1を0に変更するような量子化であり、
さらに、
上記符号を入力する符号入力手段と、
上記符号入力手段により入力した符号を上記符号化手段の逆処理にあたる復号処理で復号する復号手段と
上記符号入力手段により入力した符号が多値の画像データを符号化したものである場合、上記復号手段により出力された復号処理結果に対して上記所定の予測処理に対応する逆予測処理を上記第1の予測処理態様に対応する第1の逆予測処理態様で行って多値の画像データを生成し、上記符号入力手段により入力された符号が2値の画像データを符号化したものである場合、上記復号手段により出力された復号処理結果に対して、上記第1の予測処理態様に対応する第2の逆予測処理態様で、上記逆予測処理を行って、2値の画像を生成する逆予測処理手段と、
上記復号処理結果について上記予測処理の逆処理にあたる逆予測処理を行って画像データを生成する逆予測処理手段と、
上記逆予測処理の結果を出力する画像出力手段とを有することを特徴とする画像符号化復号装置。
Image input means for inputting image data;
When the image data input by the image input means is multivalued image data, a predetermined prediction process is performed on the multivalued image data in a first prediction processing mode, and the image input by the image input means When the data is binary image data, in a second prediction processing mode, prediction means for performing the predetermined prediction processing on the binary image data;
Entropy encoding means for encoding the prediction error quantization result and the prediction result of the prediction means by a predetermined method;
Code output means for outputting the encoding result of the encoding means,
The prediction process performed by the prediction means is a process of predicting by packing one pixel at a time when the image type is multi-valued, and packing a plurality of pixels when the image type is binary,
The prediction process performed by the prediction means calculates a prediction error by subtraction or exclusive OR,
The prediction error quantization process performed by the prediction means ignores a predetermined bit on the LS B side when the input image is multi-valued, and is not normal quantization when the input image is binary. Quantization that changes 1 to 0 regardless of the bit position,
further,
Code input means for inputting the code;
Decoding means for decoding the code input by the code input means by a decoding process corresponding to a reverse process of the encoding means ;
When the code input by the code input means is obtained by encoding multivalued image data, the inverse prediction process corresponding to the predetermined prediction process is performed on the decoding process result output by the decoding means. When the multi-valued image data is generated by performing the first inverse prediction processing mode corresponding to the one prediction processing mode, and the code input by the code input unit is encoded binary image data Inversely, the decoding process result output by the decoding means is subjected to the inverse prediction process in the second inverse prediction process mode corresponding to the first prediction process mode to generate a binary image. Prediction processing means;
Reverse prediction processing means for generating image data by performing reverse prediction processing corresponding to reverse processing of the prediction processing for the decoding processing result;
An image encoding / decoding apparatus comprising: an image output unit that outputs a result of the inverse prediction process.
画像データを入力する画像入力手段と、Image input means for inputting image data;
上記画像入力手段により入力した画像データが多値の画像データの場合、上記多値の画像データに対して第1の予測処理態様で所定の予測処理を行い、上記画像入力手段により入力された画像データが2値の画像データの場合、第2の予測処理態様で、上記2値の画像データに対して上記所定の予測処理を行う予測手段と、When the image data input by the image input means is multivalued image data, a predetermined prediction process is performed on the multivalued image data in a first prediction processing mode, and the image input by the image input means When the data is binary image data, in a second prediction processing mode, prediction means for performing the predetermined prediction processing on the binary image data;
上記予測手段の予測誤差の量子化結果および予測結果を所定の方法で符号化するエントロピー符号化手段と、Entropy encoding means for encoding the prediction error quantization result and the prediction result of the prediction means by a predetermined method;
上記符号化手段の符号化結果を出力する符号出力手段とを有し、Code output means for outputting the encoding result of the encoding means,
上記予測手段で行われる予測処理は、上記画像種別が多値であるときは符号化しようとする画素の周辺画素を、また2値であるときはハーフトーニング処理の閾値の周期に合わせた位置にある画素を使って予測する処理であり、When the image type is multi-valued, the prediction processing performed by the prediction means is performed at a position in which the peripheral pixels of the pixel to be encoded are matched with the threshold period of the halftoning process when the image type is binary. It is a process to predict using a certain pixel,
上記予測手段で行われる予測誤差の量子化処理は、上記入力画像が多値の場合にはLSB側の所定ビットを無視し、上記入力画像が2値の場合には通常の量子化でなくビットの位置によらず1を0に変更するような量子化であり、The prediction error quantization process performed by the prediction means ignores a predetermined bit on the LSB side when the input image is multi-valued, and uses a bit instead of normal quantization when the input image is binary. Quantization that changes 1 to 0 regardless of the position of
さらに、further,
上記符号を入力する符号入力手段と、Code input means for inputting the code;
上記符号入力手段により入力した符号を上記符号化手段の逆処理にあたる復号処理で復号する復号手段と、Decoding means for decoding the code input by the code input means by a decoding process corresponding to a reverse process of the encoding means;
上記符号入力手段により入力した符号が多値の画像データを符号化したものである場合、上記復号手段により出力された復号処理結果に対して上記所定の予測処理に対応する逆予測処理を上記第1の予測処理態様に対応する第1の逆予測処理態様で行って多値の画像データを生成し、上記符号入力手段により入力された符号が2値の画像データを符号化したものである場合、上記復号手段により出力された復号処理結果に対して、上記第1の予測処理態様に対応する第2の逆予測処理態様で、上記逆予測処理を行って、2値の画像を生成する逆予測処理手段と、When the code input by the code input means is obtained by encoding multivalued image data, the inverse prediction process corresponding to the predetermined prediction process is performed on the decoding process result output by the decoding means. When the multi-valued image data is generated by performing the first inverse prediction processing mode corresponding to the one prediction processing mode, and the code input by the code input unit is encoded binary image data Inversely, the decoding process result output by the decoding means is subjected to the inverse prediction process in the second inverse prediction process mode corresponding to the first prediction process mode to generate a binary image. Prediction processing means;
上記復号処理結果について上記予測処理の逆処理にあたる逆予測処理を行って画像データを生成する逆予測処理手段と、Reverse prediction processing means for generating image data by performing reverse prediction processing corresponding to reverse processing of the prediction processing for the decoding processing result;
上記逆予測処理の結果を出力する画像出力手段とを有することを特徴とする画像符号化復号装置。An image encoding / decoding apparatus comprising: an image output unit that outputs a result of the inverse prediction process.
入力する画像が2値であるか多値であるかを画像種別として指定する画像種別指定手段を具備し、上記予測手段における予測処理は上記画像種別指定手段によって指定された画像種別に応じた予測処理態様で実行されることを特徴とする請求項1〜3のいずれかに記載の画像符号化装置。An image type specifying unit that specifies whether an input image is binary or multi-valued as an image type, and the prediction process in the prediction unit is a prediction according to the image type specified by the image type specifying unit the image coding apparatus according to any one of claims 1-3, characterized in that it is executed in the process aspect. 上記予測手段で行われる予測処理は、上記パッキングする画素数とハーフトーニング処理の閾値の周期とが合うようして予測する特徴とする請求項1または2に記載の画像符号化装置。The prediction processing performed by the prediction unit, the image encoding apparatus according to claim 1 or 2, characterized that predicted that the period of the threshold number of pixels and c Futoningu process of the packing fits. 上記予測手段で行われる予測処理は、予測値が符号化しようとする画素の画素値に対して所定の範囲内に収まっていれば予測一致と判定し、それ以外の場合には予測誤差を量子化することを特徴とする請求項1〜3のいずれかに記載の画像符号化装置。In the prediction process performed by the prediction means, if the predicted value is within a predetermined range with respect to the pixel value of the pixel to be encoded , it is determined that the prediction matches, and otherwise, the prediction error is quantized. the image coding apparatus according to any one of claims 1 to 3, wherein the Turkey turn into. 上記予測手段は上記入力画像の画素値を予測する少なくとも2つ以上の画素値予測手段と、
所定の予測手法による予測値と実際の画素値の誤差を所定の方法で算出する予測誤差算出手段と、
上記画素値予測手段および上記予測誤差算出手段のいずれかを選択する選択手段とを具備し、上記選択手段は予測値のいずれかと実際の画素値が一致したときにはその予測手段を選択し、いずれも一致しないときには上記予測誤差を選択し、上記符号化手段は上記選択手段における選択結果と上記予測誤差を符号化することを特徴とする請求項1〜3のいずれかに記載の画像符号化装置。
The prediction means includes at least two or more pixel value prediction means for predicting pixel values of the input image;
A prediction error calculating means for calculating an error between a predicted value by a predetermined prediction method and an actual pixel value by a predetermined method;
Selection means for selecting either the pixel value prediction means or the prediction error calculation means, and the selection means selects the prediction means when any of the prediction values matches the actual pixel value, 4. The image encoding apparatus according to claim 1 , wherein when the two do not coincide with each other, the prediction error is selected, and the encoding unit encodes the selection result of the selection unit and the prediction error.
上記選択手段は予測結果を予測器の識別子、優先順位づけした識別子、優先順位付けした識別子をランレングス表現したもののうちのいずれかであって、このうち識別子をランレングス表現する場合には上記符号化手段においてランレングスを符号化することを特徴とする請求項11に記載の画像符号化装置。The selection means is one of a predictor identifier, a prioritized identifier, and a run-length representation of the prioritized identifier, and when the identifier is run-length representation, 12. The image encoding apparatus according to claim 11 , wherein the encoding means encodes the run length. 上記予測手段は上記入力画像の画素値を予測する少なくとも2つ以上の画素値予測手段と、
対応する上記画素値予測手段の予測値と実際の画素値の連続一致数を計数する少なくとも2つ以上のラン計数手段と、
所定の予測手法による予測値と実際の画素値の誤差を所定の方法で算出する予測誤差算出手段と、
上記画素値予測手段および上記予測誤差算出手段のいずれかを選択する選択手段とを具備し、上記選択手段は最も長く一致した予測手段を選択し、いずれも一致しないときには上記予測誤差を選択し、上記符号化手段は上記選択手段によって得られる選択結果、上記ラン計数手段によって得られるランレングス、および上記予測誤差算出によって得られる予測誤差を符号化することを特徴とする請求項1〜3のいずれかに記載の画像符号化装置。
The prediction means includes at least two or more pixel value prediction means for predicting pixel values of the input image;
At least two or more run counting means for counting the number of consecutive matches between the corresponding prediction value of the pixel value prediction means and the actual pixel value;
A prediction error calculating means for calculating an error between a predicted value by a predetermined prediction method and an actual pixel value by a predetermined method;
A selection unit that selects one of the pixel value prediction unit and the prediction error calculation unit, the selection unit selects the prediction unit that has the longest match, and if neither match, selects the prediction error, said encoding means selection result obtained by said selecting means, either of the preceding claims, characterized in that the encoded run length obtained by the run counting means, and the prediction error obtained by the prediction error calculation An image encoding apparatus according to claim 1.
請求項11に記載の画像符号化装置から出力される符号を復号する画像復号装置であって、上記逆予測手段は上記画像の画素値を予測する少なくとも2つ以上の画素値予測手段と、
予測誤差値から正しい画素値を所定の方法で算出する予測誤差補正手段と、
上記画素値予測手段および上記予測誤差算出手段のいずれかを選択する選択手段とを具備し、上記選択手段は上記復号部で得られた選択結果や予測誤差に基づいて選択処理を行うことを特徴とする請求項2に記載の画像復号装置。
The image decoding device for decoding a code output from the image encoding device according to claim 11 , wherein the inverse prediction means includes at least two or more pixel value prediction means for predicting pixel values of the image,
Prediction error correction means for calculating a correct pixel value from the prediction error value by a predetermined method;
Selection means for selecting either the pixel value prediction means or the prediction error calculation means, and the selection means performs a selection process based on a selection result or a prediction error obtained by the decoding unit. The image decoding apparatus according to claim 2 .
請求項13に記載の画像符号化装置から出力される符号を復号する画像復号装置であって、上記逆予測手段は上記画像の画素値を予測する少なくとも2つ以上の画素値予測手段と、
対応する上記画素値予測手段に対して入力されたランの回数だけ制御情報を送る少なくとも2つ以上のラン展開手段と、
予測誤差値から正しい画素値を所定の方法で算出する予測誤差補正手段と、
上記ラン展開手段および上記予測誤差補正手段のいずれかを選択する選択手段とを具備し、上記復号部は選択結果、ランレングス、および予測誤差を復号し、上記選択手段は上記選択結果に基づいて選択処理を行い、上記ラン展開手段を選択する場合には上記ランレングスに基づいてランレングス展開処理を行い、また上記予測誤差補正手段を選択する場合には上記予測誤差に基づいて予測誤差補正処理を行うことを特徴とする請求項に記載の画像復号装置。
An image decoding apparatus for decoding a code output from the image encoding apparatus according to claim 13 , wherein the inverse prediction means includes at least two or more pixel value prediction means for predicting pixel values of the image,
At least two or more run development means for sending control information for the number of runs input to the corresponding pixel value prediction means;
Prediction error correction means for calculating a correct pixel value from the prediction error value by a predetermined method;
Selection means for selecting one of the run expansion means and the prediction error correction means, the decoding unit decodes a selection result, a run length, and a prediction error, and the selection means is based on the selection result. When selecting the run expansion means, the run length expansion process is performed based on the run length. When the prediction error correction means is selected, the prediction error correction process is performed based on the prediction error. the image decoding apparatus according to claim 2, wherein the performing.
JP2001152210A 2001-05-22 2001-05-22 Image encoding apparatus, image decoding apparatus, image encoding / decoding apparatus, and methods thereof Expired - Fee Related JP3985465B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001152210A JP3985465B2 (en) 2001-05-22 2001-05-22 Image encoding apparatus, image decoding apparatus, image encoding / decoding apparatus, and methods thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001152210A JP3985465B2 (en) 2001-05-22 2001-05-22 Image encoding apparatus, image decoding apparatus, image encoding / decoding apparatus, and methods thereof

Publications (2)

Publication Number Publication Date
JP2002344753A JP2002344753A (en) 2002-11-29
JP3985465B2 true JP3985465B2 (en) 2007-10-03

Family

ID=18996925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001152210A Expired - Fee Related JP3985465B2 (en) 2001-05-22 2001-05-22 Image encoding apparatus, image decoding apparatus, image encoding / decoding apparatus, and methods thereof

Country Status (1)

Country Link
JP (1) JP3985465B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4784814B2 (en) * 2005-06-03 2011-10-05 富士ゼロックス株式会社 Encoding apparatus, encoding method, and program
JP2007088684A (en) * 2005-09-21 2007-04-05 Fuji Xerox Co Ltd Encoder, decoder, encoding method, decoding method and program
JP4520499B2 (en) * 2007-12-28 2010-08-04 株式会社リコー Image processing apparatus, image processing program, and storage medium

Also Published As

Publication number Publication date
JP2002344753A (en) 2002-11-29

Similar Documents

Publication Publication Date Title
US20210076069A1 (en) Method for Producing Video Coding and Programme-Product
US6654503B1 (en) Block-based, adaptive, lossless image coder
JP3749752B2 (en) Block adaptive differential pulse code modulation system
US7336713B2 (en) Method and apparatus for encoding and decoding data
JP4313771B2 (en) Method and apparatus for encoding transform coefficients in image and / or video encoder and decoder and corresponding computer program and corresponding computer readable storage medium
RU2693902C2 (en) Encoder, decoder and method
KR20070046852A (en) System and method for compression of mixed graphic and video sources
US8116373B2 (en) Context-sensitive encoding and decoding of a video data stream
JP3087835B2 (en) Image encoding method and apparatus and image decoding method and apparatus
JP3985465B2 (en) Image encoding apparatus, image decoding apparatus, image encoding / decoding apparatus, and methods thereof
JP2000114974A (en) Encoding device
US6873737B2 (en) Image encoding system, image decoding system and methods therefor
JP3966117B2 (en) Image processing apparatus, image encoding apparatus, image printing apparatus, and methods thereof
JPH08204971A (en) Image compression method using predictive coding and error diffusion
JP4415651B2 (en) Image encoding apparatus and image decoding apparatus
JP4241517B2 (en) Image encoding apparatus and image decoding apparatus
JP3359214B2 (en) Multi-level image coding device
JP2000059632A (en) Image coder
JPH09261067A (en) Information processor and its method
JPH09327021A (en) Image coder and image decoder
JPH0983808A (en) Multi-value image processing unit
JP2002077635A (en) Image encoder and decoder
JPH0548907A (en) Encoder
JP2007116518A (en) Encoding device and method, decoding device and method, factor generating device and method, evaluation value generating device and method, program, and recording medium
JP2001251622A (en) Image coder and image decoder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060926

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061122

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070702

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110720

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110720

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120720

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130720

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees