JP3842650B2 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP3842650B2
JP3842650B2 JP2002000065A JP2002000065A JP3842650B2 JP 3842650 B2 JP3842650 B2 JP 3842650B2 JP 2002000065 A JP2002000065 A JP 2002000065A JP 2002000065 A JP2002000065 A JP 2002000065A JP 3842650 B2 JP3842650 B2 JP 3842650B2
Authority
JP
Japan
Prior art keywords
data
image
encoding
decoding
encoded
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
JP2002000065A
Other languages
Japanese (ja)
Other versions
JP2002320092A (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 JP2002000065A priority Critical patent/JP3842650B2/en
Publication of JP2002320092A publication Critical patent/JP2002320092A/en
Application granted granted Critical
Publication of JP3842650B2 publication Critical patent/JP3842650B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、ページ記述言語(PDL)等で作成された画像データを解釈してラスタイメージに展開し、プリンタ等に出力する出力手段を持つ画像処理装置及び画像処理方法に関する。
【0002】
【従来の技術】
従来、ページ記述言語(PDL)等で作成されたカラー画像イメージを含む画像データを解釈してラスタイメージに展開し、カラープリンタ等のプリンタに出力する画像処理装置等においては、イメージメモリの節約等を目的として、ランレングス符号化及び復号化処理が知られている。例えば、ランレングス符号化による画像の符号化は、データ識別情報とその画像データの継続情報を対として符号化することによりそのデータの継続する長さを表すようにするものである。なお、画像がカラー画像の場合には、データ識別情報はカラー識別情報となり、画像データの継続情報は、カラー画像の継続情報となる。
【0003】
PDL等で記述された同一データの連続性の高い図形データ等を符号化するに際しては、このランレングス符号化方法を用いることにより高い符号化効率が得られ、その結果として画像データの転送時間及びそれらを一時的に記憶するために用いられるイメージメモリの量を削減することができるとともに、後に原画像データを再生することが可能であるが、この符号化方法は目的の画像データによっては無駄な情報が多くなり、圧縮率の向上が図れないという問題点がある。
【0004】
この問題点を解決するものとして、例えば、特開昭55−21603号公報があり、1スキャンラインのイメージが同一カラーである等の同一データであることを示すファンクションを用いるものである。
【0005】
また、画像信号を処理して記録する場合、そのための画像処理装置は、一般に記録装置に必要な大きさのページメモリを持ち、PDLを一度だけ解釈して1ページ分の内容をメモリに書き込み、そのメモリの内容を読み出すことによって行なっている。したがって、この画像処理装置においては、特に高解像度で高階調性を持った記録装置に出力する場合には、大容量のページメモリを必要としている。
【0006】
この問題点を解決して、メモリ容量を減少させるするものとして、例えば特開平1−265779号公報があり、この画像処理装置においては、外部機器から入力されたPDLをいったん蓄え、記録装置が1回の動作で印字可能な画像分のメモリに対してこのPDLを解釈して展開し、そのメモリの内容を記録装置に出力して印字を行なうという画像処理を繰り返している。
【0007】
【発明が解決しようとする課題】
しかしながら、前記の従来の画像符号化方法及び画像復号化方法においては、以下の問題点を有している。
(1)従来の画像符号化方法及び画像復号化方法は、目的の画像データによっては無駄な情報が多くなり、圧縮率の向上が図れない。
(2)また、1スキャンラインのイメージが同一カラーである等の同一データであることを示すファンクションを用いるものは、1スキャンラインのイメージが同一カラー等の同一データである場合にのみ適応できる方法であり、1スキャンライン中にその他の線画や図形イメージが存在する場合には適応できない。
(3)また、一般にグラデーションとよばれるような画像データにおいて、前記従来のランレングス符号化方法を行うと、非常に符号化効率が低下し、符号化前のデータ量よりもランレングス符号化後のデータ量の方が増加してしまう場合がある。
【0008】
また、前記の従来の画像処理装置においては、以下の問題点を有している。
(4)間欠動作が可能な記録装置にしか対応することができない。これは、1ページ分の画像情報を記録装置に出力するためには、1回の動作で印字可能な画像情報を記録装置に出力してから次回の記録装置への出力までの間に、PDLをメモリに対して解釈して展開するに要する時間が必要であり、そのために記録装置は駆動と停止を繰り返す必要があるからである。
【0009】
本発明は、前記従来の問題点を解決しようとするもので、メモリの節約を行なうとともに、連続して記録装置に出力が可能な画像処理装置及び画像処理方法を提供することを目的とする。
【0010】
【課題を解決するための手段】
そのために本発明は、ページ記述言語で記述された画像データを展開して出力する画像処理装置及び画像処理方法において、画像データから、そのうちの部分的な領域の展開データを生成して第1の記憶手段に記憶させ、第1の記憶手段に記憶された展開データを符号化して、その符号化データを第2の記憶手段に記憶させ、第2の記憶手段に記憶された符号化データを復号化し、前記符号化工程は、グラデーションイメージデータに対して、一次関数的なデータの変化であることを示すファンクションを追加したフォーマットで符合化することを特徴とする。
【0011】
【発明の実施の形態】
以下、本発明の実施の形態について図を参照しながら詳細に説明する。
(実施例1)
はじめに、本発明の符号化方法及び復号化方法を、カラー画像に適用した実施例について説明する。
【0012】
図2は、カラー画像イメージを示す概略図であり、PDLで作成された線画や図形のカラー画像イメージを示している。図2に示すような、PDLで作成された線画や図形のカラー画像イメージにおいては、1スキャンラインが同一カラーであるスキャンラインが連続して存在する場合や、1スキャンライン中に線画や図形イメージが存在し、かつ1スキャンラインのイメージが同一であるスキャンラインが連続して存在する場合が非常に多い。このような場合において、従来のように同一イメージを繰り返しランレングス符号化すると、符号化効率が低下する。そこで、本発明の符号化方法において、ランレングス符号化を行う1スキャンラインのイメージが前の1スキャンラインと同一イメージである場合、前の1スキャンラインと同一イメージであることを示すファンクションに符号化し、また、復号化方法において、同一イメージの最初のイメージのみをランレングス復号化し、同一イメージであることを示すファンクションを復号化する際には、その最初にランレングス復号化されたスキャンラインイメージを使用するものである。
(実施例1の符号化方法のフォーマット)
図1の本発明の実施例1の符号化及び復号化のフォーマットを説明する図を用いて、符号化及び復号化フォーマットについて説明する。なお、図中のCLはカラーデータ、RLはランレングスデータ、REPはリピートファンクションデータ、ENDはエンドファンクションデータを示している。
【0013】
図1の(a)は、従来のランレングス符号化における符号化フォーマットを示している。従来のランレングス符号化においては、CLで表されるカラー識別情報と、RLで表されるカラー画像の継続情報と、ENDで表される1ラインのイメージの終了を示すファンクション等によりなるフォーマットによって符号化される。これに対して、本発明の実施例1においては、この通常の符号化フォーマットに図1の(b)に示すように、REPで表される前ラインイメージと同一イメージであるというファンクションを追加する。
(実施例1の符号化方法の作用)
実施例1の符号化方法によるフォーマットを使用すると、連続するイメージの最初の部分は通常のランレングス符号化を行なうことによって、カラー識別情報とカラー画像の継続情報が得られ、連続するイメージのそれ以降の部分は、通常のランレングス符号化を行なうことなく、REPファンクションを用いることで最初に行なったランレングス符号化をそのまま利用して符号化する。
(実施例1の符号化方法の効果)
実施例1の符号化方法によるフォーマットを使用することによって、最初の画像データのランレングス符号化の他は、同一カラーイメージのランレングス符号化を省略することができる。
【0014】
次に、本発明の実施例1の復号化方法について説明する。
(実施例1の復号化方法の構成)
はじめに、実施例1の復号化方法の構成について図3、図4及び図5によって説明する。図3は実施例1の符号化方法を用いた画像データを復号化する復号化回路の全体のブロック図であり、図5は実施例1の符号化方法を用いた画像データを復号化する復号化回路の回路図である。また、図4は実施例1のカラー画像符号方法及び復号化方法に使用する符号化フォーマットである。なお、図3中の1は復号化回路、2はFIFO、CLDはカラーデータ、RLDはランレングスデータ、ODはアウトデータ、IDはインデータ、WEはライトイネーブル、WRはライトリセット、LEはラインイネーブル、REはリードイネーブル、RRはリードリセットであり、図4中のCLはカラーデータ、RLはランレングスデータ、REPはリピートファンクションデータ、ENDはエンドファンクションデータであり、図5中の3はCLDラッチ、4はCLD出力ラッチ、5はRLDデコーダ回路、6はRLカウンタ/FIFOコントロールである。
【0015】
符号化手段から入力されたCLD及びRLDは復号化回路1において復号化され、その復号化された画像データはFIFO2にいったん蓄積された後に出力される。
【0016】
図4に示す全ての符号化フォーマットは、8または32ビットのデータ長を持ち、RLの最上位ビットは0、REPの最上位ビットは1、ENDは全て0のデータで示され、(a)に示されるCLはCLDフォーマットを構成し、(b)〜(d)に示されるRL,REP,ENDの3つはRLDフォーマットを構成している。そして、このCLDの符号化フォーマットデータは復号化回路1のCLDより読み込まれ、RLDの符号化フォーマットデータは復号化回路1のRLDより読み込まれ復号化される。
【0017】
図5に示す復号化回路1の回路図において、復号化回路1はCLDラッチ3、CLD出力ラッチ4、RLDデコーダ回路5及びRLカウンタ/FIFOコントロール6によって構成される。この構成において、CLDはCLDラッチ3に入力され、またRLDはRLDデコーダ回路5に入力される。CLDラッチ3は、CLDのデータの他にRLDデコーダ回路5からの画像データのレングスデータLDが入力される。このCLDラッチ3の出力は、CLD出力ラッチ4を通してODとしてなり復号化された信号が得られる。
【0018】
また、RLDデコーダ回路5はRLカウンタ/FIFOコントロール6に接続され、RLDの符号化フォーマットデータを構成するRL,REP,END及びRLDDを出力する。RL,REP,ENDは、入力されたデータがランレングスデータ、リピートファンクションデータ、エンドファンクションデータのいずれであるかを示す信号であり、RLDDはランレングスデータのレングス長に関するデータを表している。RLカウンタ/FIFOコントロール6は、ランレングスをカウントするとともに図5には図示していないFIFOを制御する装置であり、前記LDをCLDラッチ3及びRLDデコーダ回路5に出力し、またOE(アウトプットイネーブル)、及びRES(リセット)をCLD出力ラッチ4に出力する。また、RLカウンタ/FIFOコントロール6は、FIFOを制御するためのWR,WE,LEをFIFOに出力する。
(実施例1の復号化方法の作用)
図3に示される復号化回路のブロック図において、CLは符号化手段からCLDの符号化フォーマットに変換され、復号化回路1のCLD端子から読み込まれる。また、その他のRL、REP、ENDはRLDの符号化フォーマットに変換され、復号化回路1のRLD端子から読み込まれる。復号化回路1は、LEはラインイネーブルの入力に対応して1ラインごとに処理が行なわれ、復号化したODをFIFO2の入力端子IDに入力する。また、復号化回路1は、このFIFO2の入力端子WE及びWRに対して、ODの書込み及びリセットを制御する信号WE及びWRを出力する。
【0019】
FIFO2は復号化回路1から入力されたODを、その読出し及びリセットを制御するRE及びRRの信号に基づいて出力する。
【0020】
また、図5に示される復号化回路の回路図において、RLDデコーダ回路5は、最初にRLDよりランレングスデータを読み込み、そのデータがランレングスデータRL、リピートファンクションデータREP、エンドファンクションデータENDであるかをデコードする。
【0021】
RLDのデータがランレングスデータRLである場合は、ランレングスの値をRLカウンタにセットしてCLDよりカラーデータを読み込み、カウント値だけ読み込んだカラーデータをOD(アウトデータ)に出力する。
【0022】
また、RLDのデータがリピートファンクションデータである場合は、カラーデータは読み込まれず、新しいラインになりLE(ラインイネーブル)がアクティブになってもFIFOのWR(ライトイネーブル)、WR(ライトリセット)はイネーブルにならないため、FIFOからは前ラインのイメージが読みだされる。
【0023】
また、エンドファンクションデータである場合には、CLD出力ラッチ4がリセットされ、次のラインまでの間0が出力される。
(実施例1の効果)
同一のデータに対しては、符号化及び復号化の処理を減少させることができ、ランレングス符号化の符号化効率が高くなり、ランレングス符号化されたカラー画像イメージを一時的に記憶し、カラープリンタ等に出力するような画像処理装置において、1ページ分に必要なイメージメモリの量を大幅に削減することができる。
(実施例2)
次に、本発明の符号化方法及び復号化方法を、グラデーションデータを有した画像に適用した実施例について説明する。
【0024】
図6は、グラデーションデータを有した画像イメージを示す概略図であり、PDLで作成された線画や図形の画像イメージを示している。図2に示すような、PDLで作成された線画や図形でグラデーションデータを有した画像イメージにおいては、1スキャンライン中に線画や図形イメージが存在し、かつ1スキャンラインにおいてデータがある連続した長さl(l=1以上の整数)の間、ある等間隔m(m=1以上の整数)である決められた値n(n=1以上の整数)づつデータが増加または減少するような一般的にグラデーションと呼ばれるようなイメージデータが作成される場合がある。
【0025】
図6に示されるグラデーションは、図7に示すデータ図によってデータを表すことができる。図7において、グラデーションデータはある連続した長さ1(1=1以上の整数)の間、ある等間隔m(m=1以上の整数)である決められた値n(n=1以上の整数)づつデータが増加または減少するようなデータの変化であり、不連続ではあるが一次関数的なデータの変化で表される。
【0026】
このようなグラデーションイメージデータに対して従来のランレングス符号化を行うと、符号化効率が低下し、符号化前のデータ量よりもランレングス符号化後のデータ量の方が増加してしまう場合がある。本発明の符号化方法及び復号化方法では、このようなグラデーションイメージデータに対しては一次関数的なデータの変化であることを示すファンクションを用いて符号化するものであり、復号化する際には、そのファンクションを解釈して復号化を行なう。
(実施例2の符号化方法のフォーマット)
次に、実施例2の符号化及び復号化フォーマットについて図8を用いて説明する。なお、図中のCLはカラーデータ、RLはランレングスデータ、REPはリピートファンクションデータ、ENDはエンドファンクションデータを示している。
【0027】
図8の(a)は、従来のランレングス符号化における符号化及び復号化フォーマットを示している。従来のランレングス符号化においては、CLで表される画像データ識別情報と、RLで表される画像データの継続情報と、ENDで表される1ラインのイメージの終了を示すファンクション等によりなるフォーマットによって符号化される。これに対して、本発明の実施例2においては、この通常の符号化フォーマットに図8の(b)に示すように、GRAで表されるグラデーション等の一次関数的データの変化であることを示すファンクションを追加する。(実施例2の符号化方法の作用)
実施例2の符号化方法によるフォーマットを使用すると、グラデーションイメージデータに対して、一次関数的なデータの変化であることを示すファンクションによって符号化する。
(実施例2の符号化方法の効果)
実施例2の符号化方法によるフォーマットを使用することによって、グラデーションイメージデータに対して一次関数的なデータの変化であることを示すファンクションに符号化することにより、ランレングス符号化における符号化効率を大幅に高めることができ、ランレングス符号化された画像イメージデータを一時的に記憶し、プリンタ等に出力するような画像処理装置において、1ページ分に必要なイメージメモリの量を大幅に削減することができる。
【0028】
次に、本発明の実施例2の復号化方法について説明する。
(実施例2の復号化方法の構成)
実施例2の復号化方法の構成について図9、図10及び図11によって説明する。図9は実施例2の符号化方法を用いた画像データを復号化する復号化回路のブロック図であり、図10は実施例1のカラー画像符号方法及び復号化方法に使用する符号化フォーマットであり、また図11は実施例2の符号化方法及び復号化方法におけるグラデーション生成回路のブロック図である。
【0029】
なお、図9中の11はRLDデコーダ及びMUXであり、12はRLカウンタ、グラデーション生成回路及び出力MUXである。また、13はランレングスカウンタ、14はmカウンタ、15はnレジスタ、16はCLDセレクタ及びラッチ、17はALUである。
【0030】
符号化手段から入力されたCLD及びRLDはRLDデコーダ及びMUX1において復号化され、その復号化された画像データはグラデーション生成回路及び出力MUX12においてグラデーションを生成した後に出力される。
【0031】
図10に示す符号化フォーマットにおいて、CLはカラーデータ、RLはランレングスデータ、GRAはグラデーションファンクションデータ、ENDはエンドファンクションデータであり、すべての符号化フォーマットは、8または32ビットのデータ長を持ち、RLの最上位ビットは0、GRAの最上位ビットは1、ENDはオール0のデータで示される。
【0032】
図9において、RLDデコーダ及びMUX1からは、RL及びGRAの出力、RLDD及びGRAのl(1スキャンラインにおけるデータの連続長さ)の出力、GRAのm(グラデーシッンの変化間隔)、及びGRAのn(グラデーシッンの変化量間隔)がグラデーション生成回路及び出力MUX12に出力される。また、このグラデーション生成回路及び出力MUX12には、CLDのデータも入力される。
【0033】
図11に示すグラデーション生成回路は、ランレングスカウンタ13、mカウンタ14、nレジスタ15、CLDセレクタ及びラッチ16、及びALU17により構成される。
(実施例2の符号化方法の作用)
図9に示す復号化回路において、カラーデータは前記符号化回路のCLD(カラーデータ)よりグラデーション生成回路及び出力MUX12に読み込まれ、その他のRL、GRA、ENDは前記符号化回路のRLD(ランレングスデータ)よりRLDデコーダ及びMUX11に読み込まれランレングス復号化される。
【0034】
また、図11に示される本発明の復号化方法におけるグラデーション生成回路を示す。ランレングス復号化回路11において最初にRLDよりランレングスデータを読み込み、RLDデコード回路によりそのデータがランレングスデータ、グラデーションファンクションデータ、エンドファンクションデータであるかをデコードする。
【0035】
ランレングスデータである場合は、ランレングスの値をランレングスカウンタにセットしてCLDよりカラーデータを読み込み、カウント値だけ読み込んだカラーデータをOD(アウトデータ)に出力する。この場合はALU(演算論理装置)17によるADD/SUB処理は行われず、そのままスルーな状態でCLDより読み込まれたカラーデータがOD出力される。
【0036】
また、グラデーションファンクションデータであった場合は、カラーデータはグラデーションファンクションの始まりに初期値として一回読み込まれる。カラーデータを読み込むと同時にRLDデコード及びMUX11から出力された1(グラデーションブロック長)、m(同一データの繰り返し回数)、n(データ変化時の増加/減少分)を読み込む。このnデータは符号拡張されており、最上位ビットが0の時はADD(増加)、1の時にはSUB(減少)であることを示す。グラデーション生成回路12に読み込まれた1、m、nのデータはそれぞれランレングスカウンタ13、mカウンタ14、nレジスタ15に格納される。初期値として読み込まれたカラーデータがODへm画素分出力されると、CAL信号がアクティブになり、ALU17により初期値カラーデータとnの加算/減算処理が行われ、ODにはその出力結果が出力される。この場合、ランレングスカウンタ13はmカウンタのCRR(キャリー)出力により、カウントダウン処理が行われ、前記一連の処理をランレングスカウンタの値が0になるまで繰り返し行い、ランレングスカウンタの値が0になると一連のグラデーションファンクション処理は終了し、LD(ロード)信号がアクティブになることにより次の新しいCLD、RLDが読み込まれ継続処理が行われる。
(実施例2の効果)
グラデーションイメージデータに対して、一次関数的なデータの変化であることを示すファンクションを用いて符号化及び復号化することにより、同一データの連続性が低くランレングス符号化効率の悪いグラデーションデータ等を効率よく符号化することができ、ランレングス符号化における符号化効率を大幅に高めることができる。
(実施例3)
次に、本発明の符号化方法及び復号化方法を用いた画像処理装置について説明する。
(実施例3の構成)
図12は、本発明の符号化方法及び復号化方法を用いた画像処理装置のブロック構成図であり、図13はバンドバッファを説明する図である。
【0037】
図12において、画像処理装置20は、PDL用メモリ21と、PDL処理装置22と、バンドバッファ23と、符号化装置24と、符号化ページメモリ25と、復号化装置26とから構成される。そして、この画像処理装置20には通信装置42を通して外部機器41から画像信号が入力され、画像処理された信号は復号化装置26を通して記録装置29に出力される。
【0038】
PDL用メモリ21は、コンピュータ等の外部機器41から通信装置42を通して入力されたページ記述言語(PDL)を記憶しておくためのメモリであり、1ペー分のPDLを記憶しておくことができる容量を有している。
【0039】
PDL処理装置22は、前記PDL用メモリ21に記憶されているPDLの一部を読み出して解釈し、バンドバッファ23に展開するものである。
【0040】
バンドバッファ23は、前記PDL処理装置22により解釈され展開された画像情報をそのままの状態で記憶するメモリであり、1ページ分に要する容量よりも小さい容量を有している。図13は、バンドバッファの1ページ上での関係を示している。バンドバッファ23のメモリに対応する1ページの領域30上でのバンドバッファの領域31は、主走査方向及び副走査方向に配列された画素により構成され、その副走査方向の長さは1ページの領域30の長さを任意の個数に分割するものである。そして、隣接するバンドバッファの領域31は、重複や抜けがないように形成される。図13においては、ある時点のバンドバッファの領域31の位置を実線により示し、破線により次の時点のバンドバッファの領域の位置を示している。
【0041】
そして、このバンドバッファの領域31の位置を矢印32の方向に順に移動させることによって、1ページの領域30全部をカバーすることができる。
【0042】
符号化装置24は、前記バンドバッファ23に記憶されている画像情報を本発明の符号化方法に従って符号化するものである。この符号化において、n×nの画素をまとめて符号化を行なう場合には、バンドバッファ23の幅と高さをnの整数倍の画素分とする。
【0043】
符号化ページメモリ25は、前記符号化装置24によって符号化された画像情報を記憶するメモリであり、1ページ分の画像情報を記憶するに充分な容量を有している。この記憶容量は、符号化情報を記憶するため、画像情報をそのままの状態で記憶する場合と比較して、小さな容量で1ページ分の画像情報を記憶することが可能である。この符号化ページメモリ25は、単独のメモリにより構成することも、また、前記PDL用メモリ21の一部の領域を使用して構成することも可能である。
【0044】
復号化装置26は、前記符号化ページメモリ25に符号化されて記憶された1ページ分の画像情報を復号化して、記録装置43が処理できる画像情報に変換するものである。
【0045】
記録装置43は、復号化装置26から出力される画像情報により印字を行なうものであり、間欠動作可能な記録装置に限らず連続動作のみ可能な記録装置であってもよい。
(実施例3の作用)
次に、本発明の実施例3の作用について、図14のフローチャートを用いて説明する。なお、以下の説明においては、ステップSの符号を用いて説明する。
ステップS1:
外部機器41から画像処理装置20に対してPDLの処理要求がなされると、このPDLは通信装置42を通して、いったんPDL用メモリ21に全て記憶される。このPDL用メモリ21内における信号形態は、PDLのままであり、例えば1ページ分の情報が記憶される。
ステップS2:
前記PDL用メモリ21内からバンドバッファ領域31に対応するPDLをPDL処理装置22に読み出し、読み出したPDLをバンドバッファ23において解釈し展開する。
ステップS3:
バンドバッファ23の内容を符号化装置24において、本発明の符号化方法により符号化し、符号化ページメモリ27に格納する。この符号化ページメモリ27の記憶容量は、1ページ分の情報を記憶できる容量を要するが、この符号化ページメモリ27には符号化した情報を記憶するため、画像情報を符号化処理を施さないそのままの状態で記憶するために要する記憶容量と比較して少ない容量で1ページ分の情報の記憶が可能となる。
ステップS4:
1ページ分の画像情報について、前記ステップS2及びステップS3の処理の終了を監視する。
ステップS5:
前記ステップS4の工程において、1ページ分の画像情報について終了していない場合には、ステップS2に戻り、ステップS2及びステップS3の工程を繰り返す。
【0046】
このステップS2及びステップS3の工程を繰り返えしにより、1ページ分の画像情報の全ての符号化が完了し、その情報は符号化ページメモリ27に符号化された状態で記憶される。
ステップS6:
次に、符号化ページメモリ27に記憶された情報を、復号化装置26により復号化し、記録装置43に出力する。記録装置43は、画像情報を印字等により記録を行なう。
【0047】
この記録においては、符号化ページメモリ27に記憶された1ページ分の画像情報を一度の処理により印字するため、この1ページ分については連続した処理が可能である。
(実施例3の効果)
実施例3によれば、少ないメモリで、PDLの処理が可能であり、連続動作が必要な記録装置による記録が可能となり、画像出力を行なうことができる。
【0048】
なお、本発明は上記実施例に限定されるものではなく、本発明の趣旨に基づき種々の変形が可能であり、それらを本発明の範囲から排除するものではない。
【0049】
【発明の効果】
以上説明したように、本発明によれば、少ないメモリでPDLの処理が可能であり、連続動作が必要な記録装置による記録が可能となり、画像出力を行なうことができる。
【図面の簡単な説明】
【図1】 本発明の実施例1の符号化及び復号化のフォーマットを説明する図である。
【図2】 カラー画像イメージを示す概略図である。
【図3】 本発明の実施例1の復号化回路のブロック図である。
【図4】 本発明の実施例1のカラー画像符号方法及び復号化方法に使用する符号化フォーマットの構成を説明する図である。
【図5】 本発明の実施例1の復号化回路の回路図である。
【図6】 グラデーションを説明する画像イメージの概略図である。
【図7】 グラデーションのデータ図である。
【図8】 本発明の実施例2の符号化及び復号化のフォーマットを説明する図である。
【図9】 本発明の実施例2の復号化回路の回路図である。
【図10】 本発明の実施例2のカラー画像符号方法及び復号化方法に使用する符号化フォーマットの構成を説明する図である。
【図11】 本発明の復号化方法におけるグラデーション生成回路図である。
【図12】 本発明の符号化方法及び復号化方法を用いた画像処理装置のブロック構成図である。
【図13】 本発明のバンドバッファを説明する図である。
【図14】 本発明の画像処理装置のフローチャートである。
【符号の説明】
1…復号化回路、2…FIFO、3…CLDラッチ、4…CLD出力ラッチ、5,11…RLDデコード回路、6…RLカウンタ/FIFOコントロール回路、12…RLカウンタ/グラデーション生成回路/出力MUX、13…ランレングスカウンタ、14…mカウンタ、15…nレジスタ、16…CLDセレクタ/ラッチ、17…ALU、20…画像処理装置、21…PDL用メモリ、22…PDL処理装置、23…バンドバッファ、24…符号化装置、25…符号化ページメモリ、26…復号化装置、31…外部機器、32…通信装置、33…記録装置。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus and an image processing method having output means for interpreting image data created in a page description language (PDL) or the like, developing it into a raster image, and outputting it to a printer or the like.
[0002]
[Prior art]
Conventionally, in an image processing apparatus that interprets image data including a color image image created in a page description language (PDL) or the like, develops it into a raster image, and outputs it to a printer such as a color printer, the image memory can be saved. For this purpose, run-length encoding and decoding processes are known. For example, the encoding of an image by run-length encoding is performed by encoding the data identification information and the continuation information of the image data as a pair so as to represent the continuous length of the data. If the image is a color image, the data identification information is color identification information, and the continuation information of the image data is continuation information of the color image.
[0003]
When encoding graphic data having high continuity of the same data described in PDL or the like, high encoding efficiency can be obtained by using this run-length encoding method. As a result, the transfer time of image data and While it is possible to reduce the amount of image memory used to temporarily store them and to reproduce the original image data later, this encoding method is useless depending on the target image data. There is a problem that the amount of information increases and the compression rate cannot be improved.
[0004]
As a solution to this problem, for example, Japanese Patent Laid-Open No. 55-21603, which uses a function indicating that the data of one scan line is the same data, such as the same color, is used.
[0005]
In addition, when processing and recording an image signal, an image processing apparatus for that purpose generally has a page memory of a size required for the recording apparatus, interprets the PDL only once, and writes the contents for one page into the memory. This is done by reading the contents of the memory. Therefore, this image processing apparatus requires a large-capacity page memory particularly when outputting to a recording apparatus having high resolution and high gradation.
[0006]
To solve this problem and reduce the memory capacity, there is, for example, Japanese Patent Application Laid-Open No. 1-265579. In this image processing apparatus, PDL input from an external device is temporarily stored, and the recording apparatus is 1 This PDL is interpreted and expanded in a memory for an image that can be printed in a single operation, and the contents of the memory are output to a recording device and printing is repeated.
[0007]
[Problems to be solved by the invention]
However, the conventional image encoding method and image decoding method have the following problems.
(1) In the conventional image encoding method and image decoding method, useless information increases depending on the target image data, and the compression rate cannot be improved.
(2) A method using a function indicating that the image of one scan line is the same data such as the same color can be applied only when the image of one scan line is the same data such as the same color. This is not applicable when another line drawing or graphic image exists in one scan line.
(3) Further, when the conventional run-length encoding method is performed on image data generally called gradation, the encoding efficiency is greatly reduced, and the amount of data after run-length encoding is larger than the amount of data before encoding. The amount of data may increase.
[0008]
Further, the conventional image processing apparatus has the following problems.
(4) Only a recording apparatus capable of intermittent operation can be handled. In order to output image information for one page to the recording device, PDL is output between the output of image information that can be printed in one operation to the recording device and the next output to the recording device. This is because it takes time to interpret and develop the data in the memory, and for this purpose, the recording apparatus needs to repeat driving and stopping.
[0009]
An object of the present invention is to provide an image processing apparatus and an image processing method capable of conserving memory and continuously outputting to a recording apparatus while solving the conventional problems.
[0010]
[Means for Solving the Problems]
Therefore, according to the present invention, in an image processing apparatus and an image processing method for developing and outputting image data described in a page description language, first image expansion data is generated from the image data, and the first data is generated. The expanded data stored in the storage means, stored in the first storage means is encoded, the encoded data is stored in the second storage means, and the encoded data stored in the second storage means is decoded. The encoding step is characterized in that the gradation image data is encoded in a format to which a function indicating a linear function data change is added.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
Example 1
First, an embodiment in which the encoding method and decoding method of the present invention are applied to a color image will be described.
[0012]
FIG. 2 is a schematic diagram showing a color image image, and shows a color image image of a line drawing or figure created by PDL. In a color image image of a line drawing or figure created by PDL as shown in FIG. 2, when a scan line having the same color in one scan line continuously exists, or in a line drawing or figure image in one scan line In many cases, there are consecutive scan lines having the same image of one scan line. In such a case, if the same image is repeatedly run-length encoded as in the prior art, the encoding efficiency decreases. Therefore, in the encoding method of the present invention, when the image of one scan line to be run-length encoded is the same image as the previous one scan line, the function indicating that the image is the same as the previous one scan line is encoded. In the decoding method, only the first image of the same image is run-length decoded, and when the function indicating the same image is decoded, the first run-length decoded scanline image Is to use.
(Format of encoding method of embodiment 1)
The encoding and decoding formats will be described with reference to FIG. 1 illustrating the encoding and decoding formats according to the first embodiment of the present invention. In the figure, CL indicates color data, RL indicates run-length data, REP indicates repeat function data, and END indicates end function data.
[0013]
FIG. 1A shows an encoding format in conventional run-length encoding. In the conventional run-length encoding, a format including color identification information represented by CL, continuation information of a color image represented by RL, a function indicating the end of one line image represented by END, and the like. Encoded. On the other hand, in the first embodiment of the present invention, a function that the same image as the previous line image represented by REP is added to the normal encoding format as shown in FIG. .
(Operation of the encoding method of the first embodiment)
When the format according to the encoding method of the first embodiment is used, the color identification information and the continuation information of the color image are obtained by performing normal run-length encoding on the first part of the continuous image. The subsequent portions are encoded using the run-length encoding performed first by using the REP function as it is, without performing the normal run-length encoding.
(Effect of encoding method of embodiment 1)
By using the format according to the encoding method of the first embodiment, in addition to the run-length encoding of the first image data, the run-length encoding of the same color image can be omitted.
[0014]
Next, the decoding method according to the first embodiment of the present invention will be described.
(Configuration of Decoding Method of Embodiment 1)
First, the configuration of the decoding method according to the first embodiment will be described with reference to FIGS. 3, 4, and 5. FIG. 3 is a block diagram of an entire decoding circuit that decodes image data using the encoding method according to the first embodiment. FIG. 5 illustrates decoding that decodes image data using the encoding method according to the first embodiment. FIG. FIG. 4 shows an encoding format used in the color image encoding method and decoding method of the first embodiment. In FIG. 3, 1 is a decoding circuit, 2 is a FIFO, CLD is color data, RLD is run length data, OD is out data, ID is in data, WE is write enable, WR is write reset, and LE is line. Enable, RE is read enable, RR is read reset, CL in FIG. 4 is color data, RL is run length data, REP is repeat function data, END is end function data, 3 in FIG. 5 is CLD Latch, 4 is a CLD output latch, 5 is an RLD decoder circuit, and 6 is an RL counter / FIFO control.
[0015]
The CLD and RLD input from the encoding means are decoded by the decoding circuit 1, and the decoded image data is temporarily stored in the FIFO 2 and then output.
[0016]
All the encoding formats shown in FIG. 4 have a data length of 8 or 32 bits, the most significant bit of RL is 0, the most significant bit of REP is 1, and END is all 0. (a) CL constitutes the CLD format, and three of RL, REP, and END shown in (b) to (d) constitute the RLD format. The CLD encoded format data is read from the CLD of the decoding circuit 1, and the RLD encoded format data is read from the RLD of the decoding circuit 1 and decoded.
[0017]
In the circuit diagram of the decoding circuit 1 shown in FIG. 5, the decoding circuit 1 includes a CLD latch 3, a CLD output latch 4, an RLD decoder circuit 5, and an RL counter / FIFO control 6. In this configuration, the CLD is input to the CLD latch 3 and the RLD is input to the RLD decoder circuit 5. The CLD latch 3 receives the length data LD of image data from the RLD decoder circuit 5 in addition to the CLD data. The output of the CLD latch 3 becomes an OD through the CLD output latch 4 and a decoded signal is obtained.
[0018]
The RLD decoder circuit 5 is connected to the RL counter / FIFO control 6 and outputs RL, REP, END and RLDD constituting the RLD encoded format data. RL, REP, and END are signals indicating whether the input data is run-length data, repeat function data, or end function data, and RLDD represents data related to the length length of the run-length data. The RL counter / FIFO control 6 counts run lengths and controls a FIFO (not shown in FIG. 5), outputs the LD to the CLD latch 3 and the RLD decoder circuit 5, and outputs OE (output). Enable) and RES (reset) are output to the CLD output latch 4. The RL counter / FIFO control 6 outputs WR, WE, and LE for controlling the FIFO to the FIFO.
(Operation of the decoding method of the first embodiment)
In the block diagram of the decoding circuit shown in FIG. 3, CL is converted from the encoding means to the CLD encoding format and read from the CLD terminal of the decoding circuit 1. The other RL, REP, and END are converted into the RLD encoding format and read from the RLD terminal of the decoding circuit 1. In the decoding circuit 1, LE is processed for each line corresponding to the line enable input, and the decoded OD is input to the input terminal ID of the FIFO 2. Also, the decoding circuit 1 outputs signals WE and WR for controlling writing and resetting of OD to the input terminals WE and WR of the FIFO 2.
[0019]
The FIFO 2 outputs the OD input from the decoding circuit 1 based on the RE and RR signals that control reading and resetting.
[0020]
In the circuit diagram of the decoding circuit shown in FIG. 5, the RLD decoder circuit 5 first reads run length data from the RLD, and the data is run length data RL, repeat function data REP, and end function data END. Decode it.
[0021]
When the RLD data is the run length data RL, the run length value is set in the RL counter, the color data is read from the CLD, and the color data read by the count value is output to OD (out data).
[0022]
If the RLD data is repeat function data, the color data is not read, and even if the new line becomes LE (line enable) becomes active, FIFO WR (write enable) and WR (write reset) are enabled. Therefore, the image of the previous line is read from the FIFO.
[0023]
If it is end function data, the CLD output latch 4 is reset and 0 is output until the next line.
(Effect of Example 1)
For the same data, encoding and decoding processes can be reduced, the encoding efficiency of run-length encoding is increased, and the run-length encoded color image image is temporarily stored, In an image processing apparatus that outputs to a color printer or the like, the amount of image memory required for one page can be greatly reduced.
(Example 2)
Next, an embodiment in which the encoding method and decoding method of the present invention are applied to an image having gradation data will be described.
[0024]
FIG. 6 is a schematic diagram showing an image image having gradation data, and shows a line image or graphic image image created by PDL. As shown in FIG. 2, in a line image or graphic image created with PDL and having gradation data, a line image or graphic image exists in one scan line, and the data is continuous in one scan line. In general, the data increases or decreases by a predetermined value n (n = 1 or more integer) having a certain equal interval m (m = 1 or more) during the period l (l = 1 or more). In some cases, image data called gradation is created.
[0025]
The gradation shown in FIG. 6 can represent data by the data diagram shown in FIG. In FIG. 7, the gradation data is a predetermined value n (n = 1 or greater integer) having a certain equal interval m (m = 1 or greater integer) for a certain continuous length 1 (1 = 1 or greater integer). ) This is a data change in which the data increases or decreases one by one, and is expressed by a data function that is discontinuous but linear.
[0026]
When conventional run-length encoding is applied to such gradation image data, the encoding efficiency is reduced, and the amount of data after run-length encoding is greater than the amount of data before encoding. There is. In the encoding method and decoding method of the present invention, such gradation image data is encoded using a function indicating that the data is a linear function change. Interprets the function and decodes it.
(Format of encoding method of embodiment 2)
Next, the encoding and decoding format of the second embodiment will be described with reference to FIG. In the figure, CL indicates color data, RL indicates run-length data, REP indicates repeat function data, and END indicates end function data.
[0027]
FIG. 8A shows an encoding and decoding format in conventional run-length encoding. In conventional run-length encoding, a format comprising image data identification information represented by CL, continuation information of image data represented by RL, a function indicating the end of one line image represented by END, and the like. Is encoded by On the other hand, in the second embodiment of the present invention, as shown in FIG. 8B, the normal encoding format is a change in linear function data such as gradation represented by GRA. Add the function shown. (Operation of the encoding method of the second embodiment)
When the format according to the encoding method of the second embodiment is used, the gradation image data is encoded by a function indicating that the data change is a linear function.
(Effect of encoding method of embodiment 2)
By using the format according to the encoding method of the embodiment 2 and encoding into a function indicating a linear function data change with respect to the gradation image data, the encoding efficiency in the run-length encoding is improved. In an image processing apparatus that temporarily stores run-length encoded image image data and outputs it to a printer or the like, the amount of image memory required for one page can be greatly reduced. be able to.
[0028]
Next, the decoding method according to the second embodiment of the present invention will be described.
(Configuration of Decoding Method of Embodiment 2)
The configuration of the decoding method according to the second embodiment will be described with reference to FIGS. 9, 10, and 11. FIG. FIG. 9 is a block diagram of a decoding circuit that decodes image data using the encoding method of the second embodiment, and FIG. 10 shows a color image encoding method and a coding format used for the decoding method of the first embodiment. FIG. 11 is a block diagram of a gradation generation circuit in the encoding method and decoding method of the second embodiment.
[0029]
In FIG. 9, 11 is an RLD decoder and MUX, and 12 is an RL counter, gradation generation circuit, and output MUX. 13 is a run length counter, 14 is an m counter, 15 is an n register, 16 is a CLD selector and latch, and 17 is an ALU.
[0030]
The CLD and RLD input from the encoding means are decoded by the RLD decoder and MUX1, and the decoded image data is output after the gradation is generated by the gradation generation circuit and the output MUX12.
[0031]
In the encoding format shown in FIG. 10, CL is color data, RL is run-length data, GRA is gradation function data, END is end function data, and all encoding formats have a data length of 8 or 32 bits. The most significant bit of RL is 0, the most significant bit of GRA is 1, and END is all 0.
[0032]
In FIG. 9, from the RLD decoder and MUX1, the output of RL and GRA, the output of RLDD and GRA 1 (continuous length of data in one scan line), the GRA m (gradation change interval), and the GRA n (Gradation change interval) is output to the gradation generation circuit and the output MUX 12. Further, CLD data is also input to the gradation generation circuit and the output MUX 12.
[0033]
The gradation generation circuit shown in FIG. 11 includes a run length counter 13, an m counter 14, an n register 15, a CLD selector and latch 16, and an ALU 17.
(Operation of the encoding method of the second embodiment)
In the decoding circuit shown in FIG. 9, the color data is read from the CLD (color data) of the encoding circuit into the gradation generation circuit and the output MUX 12, and the other RL, GRA, and END are RLD (run length) of the encoding circuit. Data) is read by the RLD decoder and the MUX 11 and is run-length decoded.
[0034]
Further, a gradation generation circuit in the decoding method of the present invention shown in FIG. 11 is shown. The run-length decoding circuit 11 first reads run-length data from the RLD, and the RLD decoding circuit decodes whether the data is run-length data, gradation function data, or end function data.
[0035]
If it is run-length data, the run-length value is set in the run-length counter, color data is read from the CLD, and the color data read by the count value is output to OD (out data). In this case, the ADD / SUB processing by the ALU (arithmetic logic unit) 17 is not performed, and the color data read from the CLD is output as OD as it is.
[0036]
In the case of gradation function data, the color data is read once as an initial value at the beginning of the gradation function. At the same time as reading the color data, RLD decoding and 1 (gradation block length), m (number of repetitions of the same data), and n (increase / decrease when the data changes) output from the MUX 11 are read. The n data is sign-extended. When the most significant bit is 0, it indicates ADD (increase), and when it is 1, it indicates SUB (decrease). The 1, m, and n data read by the gradation generation circuit 12 are stored in a run length counter 13, an m counter 14, and an n register 15, respectively. When the color data read as the initial value is output to the OD for m pixels, the CAL signal becomes active, the ALU 17 performs addition / subtraction processing of the initial value color data and n, and the output result is output to the OD. Is output. In this case, the run-length counter 13 performs a count-down process based on the CRR (carry) output of the m counter, and repeats the series of processes until the value of the run-length counter becomes 0, and the value of the run-length counter becomes 0. Then, the series of gradation function processing ends, and when the LD (load) signal becomes active, the next new CLD and RLD are read and the continuation processing is performed.
(Effect of Example 2)
Gradient image data with low continuity of the same data and low run-length encoding efficiency can be obtained by encoding and decoding the gradation image data using a function indicating that the data changes linearly. Encoding can be performed efficiently, and encoding efficiency in run-length encoding can be greatly increased.
Example 3
Next, an image processing apparatus using the encoding method and decoding method of the present invention will be described.
(Configuration of Example 3)
FIG. 12 is a block diagram of an image processing apparatus using the encoding method and decoding method of the present invention, and FIG. 13 is a diagram for explaining a band buffer.
[0037]
In FIG. 12, the image processing apparatus 20 includes a PDL memory 21, a PDL processing apparatus 22, a band buffer 23, an encoding apparatus 24, an encoded page memory 25, and a decoding apparatus 26. Then, an image signal is input to the image processing apparatus 20 from the external device 41 through the communication apparatus 42, and the image-processed signal is output to the recording apparatus 29 through the decoding apparatus 26.
[0038]
The PDL memory 21 is a memory for storing a page description language (PDL) input from the external device 41 such as a computer through the communication device 42, and can store one page of PDL. Has capacity.
[0039]
The PDL processing device 22 reads and interprets a part of the PDL stored in the PDL memory 21 and develops it in the band buffer 23.
[0040]
The band buffer 23 is a memory for storing the image information interpreted and expanded by the PDL processing device 22 as it is, and has a capacity smaller than the capacity required for one page. FIG. 13 shows the relationship on one page of the band buffer. The band buffer region 31 on the one-page region 30 corresponding to the memory of the band buffer 23 is composed of pixels arranged in the main scanning direction and the sub-scanning direction, and the length in the sub-scanning direction is one page. The length of the region 30 is divided into an arbitrary number. The adjacent band buffer regions 31 are formed so as not to overlap or fall out. In FIG. 13, the position of the band buffer area 31 at a certain time is indicated by a solid line, and the position of the band buffer area at the next time is indicated by a broken line.
[0041]
Then, by moving the position of the band buffer area 31 in the direction of the arrow 32, the entire area 30 of one page can be covered.
[0042]
The encoding device 24 encodes the image information stored in the band buffer 23 according to the encoding method of the present invention. In this encoding, when encoding is performed on n × n pixels collectively, the width and the height of the band buffer 23 are set to an integer multiple of n.
[0043]
The encoded page memory 25 is a memory for storing image information encoded by the encoding device 24, and has a capacity sufficient to store image information for one page. Since this storage capacity stores the encoded information, it is possible to store one page of image information with a smaller capacity compared to the case where the image information is stored as it is. The encoded page memory 25 can be configured by a single memory, or can be configured by using a partial area of the PDL memory 21.
[0044]
The decoding device 26 decodes one page of image information encoded and stored in the encoded page memory 25 and converts the image information into image information that can be processed by the recording device 43.
[0045]
The recording device 43 performs printing based on image information output from the decoding device 26, and is not limited to a recording device capable of intermittent operation but may be a recording device capable of only continuous operation.
(Operation of Example 3)
Next, the operation of the third embodiment of the present invention will be described using the flowchart of FIG. In the following description, description will be made using the reference numerals in step S.
Step S1:
When a request for PDL processing is made from the external device 41 to the image processing apparatus 20, the PDL is once stored in the PDL memory 21 through the communication apparatus 42. The signal form in the PDL memory 21 remains PDL, and for example, information for one page is stored.
Step S2:
The PDL corresponding to the band buffer area 31 is read from the PDL memory 21 to the PDL processing device 22, and the read PDL is interpreted and expanded in the band buffer 23.
Step S3:
The content of the band buffer 23 is encoded by the encoding device 24 by the encoding method of the present invention and stored in the encoded page memory 27. The storage capacity of the encoded page memory 27 requires a capacity capable of storing information for one page, but the encoded page memory 27 stores encoded information, and thus image information is not subjected to encoding processing. It is possible to store information for one page with a smaller capacity than the storage capacity required to store the data as it is.
Step S4:
For the image information for one page, the end of the processing in steps S2 and S3 is monitored.
Step S5:
If the image information for one page is not completed in the step S4, the process returns to step S2, and the steps S2 and S3 are repeated.
[0046]
By repeating the steps S2 and S3, the encoding of all the image information for one page is completed, and the information is stored in the encoded page memory 27 in an encoded state.
Step S6:
Next, the information stored in the encoded page memory 27 is decoded by the decoding device 26 and output to the recording device 43. The recording device 43 records image information by printing or the like.
[0047]
In this recording, the image information for one page stored in the encoded page memory 27 is printed by a single process, and therefore this one page can be continuously processed.
(Effect of Example 3)
According to the third embodiment, PDL processing can be performed with a small amount of memory, recording by a recording apparatus that requires continuous operation is possible, and image output can be performed.
[0048]
In addition, this invention is not limited to the said Example, A various deformation | transformation is possible based on the meaning of this invention, and they are not excluded from the scope of the present invention.
[0049]
【The invention's effect】
As described above, according to the present invention, PDL processing is possible with a small amount of memory, recording by a recording apparatus that requires continuous operation is possible, and image output can be performed.
[Brief description of the drawings]
FIG. 1 is a diagram for explaining encoding and decoding formats according to a first embodiment of the present invention.
FIG. 2 is a schematic diagram showing a color image image.
FIG. 3 is a block diagram of a decoding circuit according to the first embodiment of the present invention.
FIG. 4 is a diagram illustrating a configuration of an encoding format used for a color image encoding method and a decoding method according to Embodiment 1 of the present invention.
FIG. 5 is a circuit diagram of a decoding circuit according to the first embodiment of the present invention.
FIG. 6 is a schematic view of an image explaining gradation.
FIG. 7 is a gradation data diagram.
FIG. 8 is a diagram for explaining the encoding and decoding formats according to the second embodiment of the present invention.
FIG. 9 is a circuit diagram of a decoding circuit according to the second embodiment of the present invention.
FIG. 10 is a diagram illustrating a configuration of an encoding format used for a color image encoding method and a decoding method according to Embodiment 2 of the present invention.
FIG. 11 is a gradation generation circuit diagram in the decoding method of the present invention.
FIG. 12 is a block diagram of an image processing apparatus using the encoding method and decoding method of the present invention.
FIG. 13 is a diagram illustrating a band buffer according to the present invention.
FIG. 14 is a flowchart of the image processing apparatus of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Decoding circuit, 2 ... FIFO, 3 ... CLD latch, 4 ... CLD output latch, 5, 11 ... RLD decoding circuit, 6 ... RL counter / FIFO control circuit, 12 ... RL counter / gradation generation circuit / output MUX, DESCRIPTION OF SYMBOLS 13 ... Run length counter, 14 ... m counter, 15 ... n register, 16 ... CLD selector / latch, 17 ... ALU, 20 ... Image processing device, 21 ... Memory for PDL, 22 ... PDL processing device, 23 ... Band buffer, 24: Encoding device, 25: Encoded page memory, 26: Decoding device, 31: External device, 32: Communication device, 33: Recording device.

Claims (2)

ページ記述言語で記述された画像データを展開して出力する画像処理装置において、
前記画像データから、該画像データの領域のうちの部分的な領域の展開データを生成する記述言語処理手段と、
前記記述言語処理手段で生成された前記展開データを記憶する第1の記憶手段と、
前記第1の記憶手段に記憶された展開データを符号化する符号化手段と、
前記符号化手段によって符号化された前記符号化データを記憶する第2の記憶手段と、
前記第2の記憶手段に記憶された符号化データを復号化する復号化手段と、
を備え、
前記符号化手段は、グラデーションイメージデータに対して、一次関数的なデータの変化であることを示すファンクションを追加したフォーマットで符合化することを特徴とする画像処理装置。
In an image processing apparatus that expands and outputs image data described in a page description language,
A description language processing means for generating, from the image data, expanded data of a partial area of the image data area;
First storage means for storing the expanded data generated by the description language processing means;
Encoding means for encoding the decompressed data stored in the first storage means;
Second storage means for storing the encoded data encoded by the encoding means;
Decoding means for decoding the encoded data stored in the second storage means;
With
The image processing apparatus characterized in that the encoding means encodes gradation image data in a format to which a function indicating a change in data of a linear function is added.
ページ記述言語で記述された画像データを展開して出力する画像処理方法において、
前記画像データから、該画像データの領域のうちの部分的な領域の展開データを生成する記述言語処理工程と、
前記記述言語処理工程で生成された前記展開データを記憶する第1の記憶手段に記憶する第1の記憶工程と、
前記第1の記憶手段に記憶された展開データを符号化する符号化工程と、
前記符号化工程によって符号化された前記符号化データを第2の記憶手段に記憶する第2の記憶工程と、
前記第2の記憶手段に記憶された符号化データを復号化する復号化工程と、
を備え、
前記符号化工程は、グラデーションイメージデータに対して、一次関数的なデータの変化であることを示すファンクションを追加したフォーマットで符合化することを特徴とする画像処理方法。
In an image processing method for developing and outputting image data described in a page description language,
A description language processing step of generating, from the image data, expanded data of a partial area of the image data area;
A first storage step of storing in the first storage means for storing the expanded data generated in the description language processing step;
An encoding step of encoding the decompressed data stored in the first storage means;
A second storage step of storing the encoded data encoded by the encoding step in a second storage means;
A decoding step of decoding the encoded data stored in the second storage means;
With
The image processing method characterized in that the encoding step encodes the gradation image data in a format to which a function indicating a change in linear function data is added.
JP2002000065A 2002-01-04 2002-01-04 Image processing apparatus and image processing method Expired - Fee Related JP3842650B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002000065A JP3842650B2 (en) 2002-01-04 2002-01-04 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002000065A JP3842650B2 (en) 2002-01-04 2002-01-04 Image processing apparatus and image processing method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP5312061A Division JPH07170411A (en) 1993-12-13 1993-12-13 Image coding method, image decoding method and image processor using the method

Publications (2)

Publication Number Publication Date
JP2002320092A JP2002320092A (en) 2002-10-31
JP3842650B2 true JP3842650B2 (en) 2006-11-08

Family

ID=19190439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002000065A Expired - Fee Related JP3842650B2 (en) 2002-01-04 2002-01-04 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP3842650B2 (en)

Also Published As

Publication number Publication date
JP2002320092A (en) 2002-10-31

Similar Documents

Publication Publication Date Title
JP4101312B2 (en) Graphic image compression system and method
US6859561B2 (en) Faster lossless rotation of JPEG images
JP3211640B2 (en) Two-dimensional method and system for binary image compression
JP3327650B2 (en) Recording device
JP4610450B2 (en) Image processing apparatus for processing fixed length compressed image and packing data of attribute information
JP3842650B2 (en) Image processing apparatus and image processing method
JP2003084933A (en) Image processing device and program
JPH07170411A (en) Image coding method, image decoding method and image processor using the method
JP3023215B2 (en) Image processing device
WO2004043056A1 (en) Image conversion device, image conversion method, and recording medium
JPH07274006A (en) Picture processor, scanner, printer, digital copying machine and display device
US6473530B2 (en) Encoding and decoding apparatuses and image processing apparatus using the same
JP2007060261A (en) Image formation apparatus
JP2945553B2 (en) High-speed restoration of image data
JP4461859B2 (en) Run-length code decoding apparatus
JP3203352B2 (en) Data decompression processor
JP2020090075A (en) Image formation device and image formation method
JP2556160B2 (en) Compression code decompression device
JP4812662B2 (en) Image forming apparatus
JPH09234909A (en) Recording device, recording system and image transfer system
JP2007251983A (en) Image data output apparatus
JP2000333018A (en) Coder, decoder, coding method and decoding method
JP2001008042A (en) Coder and decoder for image data and image forming device using them
JPH05193200A (en) Printer
JP2002198823A (en) Device and method for processing information

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040819

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040827

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041025

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050121

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20050126

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20050304

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060810

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100818

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110818

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120818

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120818

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130818

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees