JP4369137B2 - Image processing device for printing - Google Patents

Image processing device for printing Download PDF

Info

Publication number
JP4369137B2
JP4369137B2 JP2003036256A JP2003036256A JP4369137B2 JP 4369137 B2 JP4369137 B2 JP 4369137B2 JP 2003036256 A JP2003036256 A JP 2003036256A JP 2003036256 A JP2003036256 A JP 2003036256A JP 4369137 B2 JP4369137 B2 JP 4369137B2
Authority
JP
Japan
Prior art keywords
image data
decompressed
image
raster
read
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
JP2003036256A
Other languages
Japanese (ja)
Other versions
JP2003300347A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2003036256A priority Critical patent/JP4369137B2/en
Publication of JP2003300347A publication Critical patent/JP2003300347A/en
Application granted granted Critical
Publication of JP4369137B2 publication Critical patent/JP4369137B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、印刷エンジンを有する電子印刷装置において使用される印刷用画像処理装置に関し、特に、所定の色空間における色毎の圧縮画像データを供給され、その圧縮画像データを解凍し、印刷エンジンに供給する印刷用画像処理装置に関する。
【0002】
【従来の技術】
ページプリンタなどの電子印刷装置は、ホストコンピュータなどにより生成された所定の色空間の画像データを、レーザービームなどを利用した印刷エンジンで印刷する。かかる電子印刷装置は、トナーの色に対応した色空間の複数の色に対応した画像データを生成し、印刷エンジンにおいて各色の画像データに従ってドラム上に潜像を形成し、対応する色のトナーを付着し印刷用紙に転写する。従って、電子印刷装置は、少なくとも1ページ分の画像データを蓄積するイメージメモリ(またはバンドメモリ)を有し、更に、このイメージメモリ内に保存された画像データを処理して、印刷エンジンに適応した画像データを生成する画像処理装置を有する。
【0003】
通常、イメージメモリに保存される画像データはデータ量が膨大になるので、所定のアルゴリズムにより圧縮された画像データとしてイメージメモリ内に保存される。従って、画像処理装置は、かかる圧縮された画像データを少なくとも解凍し、その解凍した画像データを印刷エンジンに供給する。
【0004】
従来の画像処理装置は、色毎の圧縮画像データを解凍し、そのまま印刷エンジンに供給する。従って、印刷エンジンの印刷タイミングに対応する水平同期信号またはビデオクロック(またはドットクロック)に合わせて、画像処理装置は、圧縮画像データの解凍を開始し印刷エンジンに解凍済みの画像データを供給する。また、圧縮画像データを解凍する場合、圧縮アルゴリズムによっては、先行するラスタの画像データを参照する必要があり、その場合は、画像処理装置は、解凍済みの画像データを一旦記憶し、解凍開始に合わせてかかる先行する解凍済み画像データを参照する。
【0005】
以上の様に、従来の画像処理装置は、内部の解凍処理や解凍のための先行する解凍画像データの参照などの画像処理を、全て印刷エンジンの印刷タイミングに依存して行わなければならない。
【0006】
【発明が解決しようとする課題】
電子印刷装置は、ホストコンピュータからRGBの画像データを供給される場合もあれば、印刷エンジンのトナーに対応したCMYKの画像データを供給される場合もある。従来の電子印刷装置内の画像処理装置は、印刷エンジンで利用するトナーに対応したCMYKの画像データのみを処理する。従って、RGBの画像データを供給されると、電子印刷装置内の色変換ユニットによりCMYKの画像データに色変換し、例えば1ページ分のCMYKの圧縮画像データがイメージバッファ(バンドメモリ)内に格納される。また、CMYKの画像データが供給されると、そのまま圧縮されてイメージバッファ内に格納される。その後、上記した通り、印刷エンジンのタイミングに合わせて、画像処理装置により解凍処理されて印刷エンジンに供給される。
【0007】
しかしながら、1ページ分のRGBの画像データを色変換するためには、一定の処理時間を必要とし、かかる色変換を行ったCMYKの画像データを一旦圧縮してイメージバッファ内に格納し、その後ラスタ毎に解凍処理する方法では、印刷に要する時間が長時間になる。特に、色変換の処理は、印刷処理のオーバーヘッド時間になり、印刷開始までの時間が長くなる原因となる。
【0008】
そこで、本発明の目的は、上記従来の課題を解決した印刷用の画像処理装置を提供することにある。
【0009】
更に、本発明の目的は、RGB等の第1の色空間の画像データとYMCK等の第2の色空間の画像データのいずれをも処理することができる印刷用画像処理装置を提供することにある。
【0010】
更に、本発明の目的は、第2の色空間によって印刷する印刷エンジンを有する電子印刷装置において、第1の色空間の画像データと第2の色空間の画像データのいずれをも処理して、印刷エンジンに第2の色空間の画像データを供給することができる印刷用画像処理装置を提供することにある。
【0011】
更に、本発明の目的は、第2の色空間によって印刷するタンデム方式の印刷エンジンを有する電子印刷装置において、第1の色空間の画像データと第2の色空間の画像データのいずれをも処理して、印刷エンジンに第2の色空間の画像データを供給することができる印刷用画像処理装置を提供することにある。
【0012】
【課題を解決するための手段】
上記の目的を達成するために、本発明の印刷用画像処理装置は、RGB等の第1の色空間の画像データとCMYK等の第2の色空間の画像データのいずれをも解凍処理する解凍器と、解凍された画像データが第1の色空間の画像データの場合は第2の色空間の画像データに色変換して印刷エンジンに供給し、解凍された画像データが第2の色空間の画像データの場合は色変換することなく印刷エンジンに供給する画像データ供給手段とを有する。
【0013】
上記の発明によれば、ホストコンピュータから第1の色空間の画像データが供給される場合も、第2の色空間の画像データが供給される場合も、一旦圧縮されてメモリに格納され、その圧縮画像データがそのまま、本発明の印刷用画像処理装置により解凍され、第1の色空間の画像データの場合だけ色変換され、第2の色空間の解凍画像データとして印刷エンジンに供給される。従って、ホストコンピュータから供給され、内部で解凍処理されて印刷エンジンに画像データを供給するまでの時間が、第1の色空間の画像データの場合でも第2の色空間の画像データと同程度に短くなり、高速印刷を可能にする。
【0014】
上記の目的を達成するために、本発明は、第1または第2の色空間における色毎の圧縮画像データを供給され、前記圧縮画像データを解凍し、前記第2の色空間におけるトナーで印刷する印刷エンジンに当該解凍画像データを供給する印刷用画像処理装置において、
前記第1の色空間の画像データは、少なくとも赤(R)、緑(G)、青(B)の画像データと色変換属性データ(X)とを有する4種類のデータを有し、前記第2の色空間の画像データは、少なくともシアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)の4種類のデータを有し、
前記供給される第1または第2の色空間の圧縮画像データを解凍する解凍器と、
前記解凍器により解凍された前記第1または第2の色空間の解凍画像データを保持し、少なくとも前記第1の色空間の4種類のデータを保持する容量を有する解凍画像データメモリと、
前記第1の色空間の解凍画像データの場合は、前記解凍画像メモリから当該第1の色空間の解凍画像データを並列に読み出して第2の色空間の解凍画像データに色変換し、前記第2の色空間の解凍画像データの場合は、前記解凍画像メモリから前記印刷エンジンが印刷する色に対応する該第2の色空間の解凍画像データを読み出して前記色変換することなく、当該第2の色空間の解凍画像データを前記印刷エンジンに供給する画像データ供給手段とを有することを特徴とする。
【0015】
上記の目的を達成するために、本発明は、第1または第2の色空間における色毎の圧縮画像データを供給され、前記圧縮画像データを解凍し、前記第2の色空間におけるトナーで印刷する印刷エンジンに当該解凍画像データを供給する印刷用画像処理装置において、
前記供給される第1または第2の色空間の圧縮画像データを解凍する解凍器と、
少なくとも前記第1の色空間の色数分の解凍画像データを保持する容量を有し、前記解凍器により解凍された前記第1または第2の色空間の解凍画像データを保持する解凍画像データメモリと、
前記第1の色空間の解凍画像データの場合は、前記解凍画像メモリから当該第1の色空間の解凍画像データを並列に読み出して第2の色空間の解凍画像データに色変換し、前記第2の色空間の解凍画像データの場合は、前記解凍画像メモリから前記印刷エンジンが印刷する色に対応する該第2の色空間の解凍画像データを読み出して前記色変換することなく、当該第2の色空間の解凍画像データを前記印刷エンジンに供給する画像データ供給手段とを有することを特徴とする。
【0016】
上記の目的を達成するために、本発明は、第1または第2の色空間における色毎の圧縮画像データを供給され、前記圧縮画像データを解凍し、前記第2の色空間におけるトナーで印刷する印刷エンジンに当該解凍画像データを供給する印刷用画像処理装置において、
前記供給される第1または第2の色空間の圧縮画像データを解凍する解凍器と、前記解凍器により解凍された前記第1または第2の色空間の解凍画像データを保持する解凍画像データメモリとをそれぞれ有し、少なくとも前記第1の色空間の色数に対応する複数個の解凍ユニットと、
前記第1の色空間の解凍画像データの場合は、前記複数個の解凍ユニット内の前記解凍画像メモリから当該第1の色空間の前記解凍画像データを並列に読み出して第2の色空間の解凍画像データに色変換し、前記第2の色空間の解凍画像データの場合は、前記複数個の解凍ユニット内の前記解凍画像メモリから当該第2の色空間の前記解凍画像データを読み出して前記色変換することなく、当該第2の色空間の解凍画像データを前記印刷エンジンに供給する画像データ供給手段とを有することを特徴とする。
【0017】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態例を説明する。しかしながら、かかる実施の形態例が、本発明の技術的範囲を限定するものではない。本発明は、電子印刷装置内の画像処理装置に関するが、以下における実施の形態例の説明では、レーザービームを利用したページプリンタを例にして説明する。但し、本発明は、そのようなページプリンタに限定されるものではない。
【0018】
[第1の実施の形態例]
図1は、第1の実施の形態例における電子印刷装置の構成を示す図である。ページプリンタなどの電子印刷装置2は、入出力バッファ3を介してホストコンピュータ1と接続される。電子印刷装置2内には、実際の印刷を行う印刷エンジン12に加えて、ホストコンピュータ1から供給される所定の印刷言語で記述された画像データを処理するコントローラを有する。コントローラは、図中、印刷エンジン12とホストコンピュータ1以外の部分であり、CPU5、供給される画像データを解釈する解釈プログラムを格納するメモリ6、圧縮・解凍プログラムを格納するメモリ7、例えば1ページ分の圧縮された画像データを格納するイメージバッファ(バンドメモリ)10、RGBの画像データに対して複数の画像を重ね合わせる等の画像合成を行うROP(ラスタオペレーション)プログラムを格納するメモリ11、及び印刷位置を設定する設定部9等を有し、これらはシステムバス4を介して接続される。更に、コントローラは、イメージバッファ10内に格納された圧縮された画像データを解凍し、印刷エンジンに適応した解凍された画像データを供給する画像処理装置20を有する。
【0019】
ホストコンピュータ1から供給される所定の印刷言語で記述された画像データは、CPU5により解釈プログラムに従って解釈される。また、CPU5は、画像データを圧縮・解凍プログラムに従って、例えばラスタ毎に圧縮する。圧縮された画像データは、色空間内の色毎に、ラスタ単位でイメージバッファ10内に格納される。
【0020】
通常、ホストコンピュータ1から供給される画像データは、RGBの色空間による画像データである場合と、印刷エンジンのトナーであるCMYKの色空間による画像データである場合とがある。そして、ページプリンタなどの印刷エンジン12では、CMYKのトナーを利用する。本実施の形態例における、電子印刷装置2は、いずれの色空間の画像データでも一旦圧縮してイメージバッファ10内格納し、画像処理装置20により解凍する。イメージバッファ10は、例えば1ページ分の圧縮された画像データを記録するDRAMなどで構成される。また、RGBの画像データが供給される場合は、画像処理装置20内で解凍後にCMYKの色空間の画像データに色変換される。そして、画像処理装置20は、CMYKの画像データを印刷エンジン12の印刷のタイミングに合わせて供給する。
【0021】
画像処理装置20は、例えばASIC(Application Specific Integrated Circuit)により形成される集積回路装置であり、イメージバッファ10内の圧縮された画像データを直接読み出し、解凍し、必要に応じて色変換して印刷エンジンに解凍された画像データを供給する。第1の実施の形態例での画像処理装置20は、内部のタイミングを制御するコントローラ30と、イメージバッファ10内の圧縮画像データをCPU5を介することなく直接読み出すダイレクト・メモリ・アクセス(DMA)コントローラ21と、その読み出された圧縮画像データを解凍する解凍器22と、解凍された画像データを保存する例えばSRAMなどの高速メモリからなる第1及び第2の解凍画像メモリ24,25と、第1または第2の解凍画像メモリ24,25から解凍画像データを読み出す印刷用読み出しバッファ27と、RGBの画像データからCMYKの画像データに色変換を行うコンバータ33とを有する。印刷用読み出しバッファ27とコンバータ33により、印刷エンジン12にCMYKの画像データを供給する画像データ供給手段を構成する。
【0022】
更に、画像処理装置20は、第1または第2の解凍画像メモリ24,25から解凍画像データを読み出して、解凍器22に供給する解凍用読み出しバッファ29と、ラスタ内のどの位置の画像を印刷するかの情報を格納する印刷読み出しタイミングレジスタ32を有する。
【0023】
例えば、RGBの色空間の画像データがホストコンピュータ1から供給され、圧縮プログラム7により圧縮されてイメージバッファ10内に、色プレーン単位で且つラスタ単位で格納される。
【0024】
DMAコントローラ21は、イメージバッファ(バンドメモリ)10から圧縮画像データを連続して読み出し、解凍器22に供給する。DMAコントローラ21の速度は、解凍器22が必要とするデータ量を常に供給し続けることができるだけの速度が保証されていればよい。解凍器22は、通常、1ラスタ(印刷行)単位の圧縮画像データを解凍し、ラスタ単位の解凍画像データが、書き込みバッファ23により第1及び第2の解凍画像メモリ24,25のいずれか一方に書き込まれる。解凍器22による解凍処理の速度は、必ずしも印刷エンジンの1ドットクロック(またはイメージクロック)CLK毎に画素1ドットを解凍する必要はなく、1ラスタ時間内で、1ラスタ分の圧縮画像データを解凍すればよい。なお、ドットクロックCLKは、印刷エンジン12内のレーザービームの主走査方向の走査タイミングである水平同期信号HSYNCの周期を1ラスタ内のドット数で割った周期を有する。
【0025】
解凍画像メモリ24,25は、例えばSRAMなどから構成される高速ランダムアクセスメモリであり、解凍された複数の(例えば4つの)画像データをそれぞれ1ラスタ分全て格納できる容量をそれぞれ持ち、任意のアドレスから任意のタイミングで読み出し可能であり、少なくとも2セット、第1及び第2の解凍画像メモリ24,25、で構成される。この2セットの解凍画像メモリ24,25は、物理的に別のメモリであり、いずれか一方に書き込みを行っている間に、他方から読み出しを行うことができる。
【0026】
印刷用読み出しバッファ27と解凍用読み出しバッファ29は、第1または第2の解凍画像メモリ24,25いずれか他方から、上記の解凍器22の解凍処理のタイミングとは独立したタイミングで、ラスタ単位の解凍画像データを読み出す。印刷用読み出しバッファ27は、印刷エンジン12の印刷タイミングであるドットクロック(HSYNC、CLK)に従って、解凍画像メモリ24,25から解凍画像データを読み出し、CMYKの画像データの場合は、そのまま、印刷エンジン12にその様式に変換して供給する。また、RGBの画像データの場合はコンバータ33でCMYKの画像データに色変換されて印刷エンジン12に供給される。後で詳述するが、印刷読み出しバッファ27は、コントローラ30からの制御信号に応答して、印刷エンジン12のラスタタイミング毎に、ラスタ毎の解凍画像データを読み出し、色変換コンバータ33や印刷エンジン12に供給したり、或いは、ラスタタイミング毎に解凍画像データを繰り返し色変換コンバータ33や印刷エンジン12に供給したりする。また、印刷読み出しバッファ27は、ラスタ内の任意の位置の解凍画像データを、印刷読み出しタイミングレジスタ32に設定された情報に従って読み出し、供給することもある。それにより、印刷用紙内に印刷画像を所定量移動させて印刷することができる。
【0027】
解凍用読み出しバッファ29は、解凍器22の解凍アルゴリズムが、先行するラスタの画像データの参照を必要とする場合に利用される。解凍用読み出しバッファ29は、SRAMからなる解凍画像メモリ24、25内の解凍画像データをメモリのタイミングやバス幅で読み出し、解凍器22の様式に変換して解凍処理のタイミングで供給する。解凍用読み出しバッファ29と印刷用読み出しバッファ27とが、同時に同じ解凍画像メモリ24,25から解凍画像データを読み出す場合は、時分割で例えば8バイトずつ両バッファからの読み出しを交互に行い、それぞれの供給先のデータ幅やタイミングに変換する。
【0028】
そして、印刷エンジン12は、供給されたCMYKの解凍画像データに従って例えばレーザーの駆動を行い、印刷を行う。各色プレーン毎に1枚分の印刷が行われ、CMYK全てのプレーンの印刷が終了すると、印刷用紙上にカラー画像が形成される。或いは、タンデム方式の場合は、CMYKの画像データを並列に供給されて印刷を行う。
【0029】
第1の実施の形態例における画像処理装置20は、例えばASIC(ApplicationSpecific Integrated Circuit)により形成される集積回路装置である。この画像処理装置20は、上記した通り、解凍後の画像データを保存する解凍画像メモリ24,25を設け、解凍器22による解凍のタイミングと、印刷用読み出しバッファ27による解凍画像データの印刷エンジン12への供給タイミングとを別々に制御できるようにしている。これにより、後述するとおり、画像データの解像度変換処理や印刷用紙上での印刷位置の移動を比較的容易に行うことができる。
【0030】
第1の実施の形態例は、上記した通りホストコンピュータ1から印刷エンジン12のトナーの色に対応したCMYKの画像データが供給される場合と、ホストコンピュータでのアプリケーションプログラムの色に対応したRGBの画像データが供給される場合との両方に対応できる。従って、イメージバッファ10内には、RGBの圧縮画像データが格納されることもあれば、CMYKの圧縮画像データが格納されることもある。
【0031】
それに伴って、画像処理装置20は、CMYKの圧縮画像データもRGBの圧縮画像データもいずれも処理を行うことができる構成を有する。即ち、画像処理装置20内に設けられた、2セットの解凍画像メモリ24,25は、それぞれ4色分の解凍画像データを保存することができる。それに伴い、書き込みバッファ23は、解凍画像メモリ24,25にCMYKまたはRGBの色毎に分けて解凍済みの画像データを書き込むことができる。更に、印刷用読み出しバッファ27は、解凍画像メモリ24,25から、RGBの解凍画像データを並列的に任意の位置から任意のタイミングで読み出すことができる。また、解凍用読み出しバッファ29は、解凍器22の処理に対応して、色毎の解凍済み画像データを読み出して供給することができる。
【0032】
例えば、ポストスクリプト(postscript)言語による画像データが供給される場合、ホストコンピュータ1からは、すでにアプリケーション側で色変換したCMYKの画像データが供給される。その場合は、電子印刷装置2は、供給されたトナーの色に対応するCMYKの画像データをそのまま圧縮してイメージバッファ(バンドメモリ)10内に格納する。ポストスクリプト言語による画像データの場合は、電子印刷装置2による色変換処理に依存せずに、ホストコンピュータ1においてオペレータにより指定される独自に色変換処理が行われ、電子印刷装置2は供給されるCMYKの画像データをそのまま印刷するだけである。
【0033】
一方、通常のアプリケーションプログラムなどによる画像データとして、ホストコンピュータ1からRGBの画像データが供給される場合も、そのRGBの画像データをそのまま圧縮してイメージバッファ(バンドメモリ)10内に格納する。そして、画像処理装置20によりラスタ毎に解凍すると共に、色変換コンバータ33によりCMYKの画像データに色変換処理して印刷エンジン12に供給する。
【0034】
なお、本実施の形態例では、RGBの画像データの場合は、色変換処理に利用される変換テーブルを特定する等の変換処理を特定する属性データXを伴う。従って、本実施の形態例では、RGBの色空間の画像データの場合は、RGBXの画像データ(属性データを含む)とする。
【0035】
通常のアプリケーションプログラムなどによるRGBの画像データがホストコンピュータ1から供給される場合、イメージバッファ10内にそのRGB画像データを格納し、例えば、複数ページのRGB画像データを重ね合わせる等の合成処理を電子印刷装置内で行うことができる。このような画像合成機能を、例えばラスタ・オペレーション(ROP)と称する場合がある。
【0036】
この様に、RGBXの圧縮画像データがイメージバッファ10内に格納される場合、画像処理装置20がCMYKの画像データしか処理できない構成であると、1ページ分のRGBXの画像データは、画像処理装置20内で解凍処理する前に、色変換ユニット8によりCMYKの画像データに変換しなければならない。この色変換処理の後で、画像処理装置20において1ラスタずつ解凍処理すると、解凍処理前の色変換処理に比較的長時間を要することになり、印刷に要する時間のオーバーヘッド時間が長くなる。
【0037】
そこで、第1の実施の形態例では、画像処理装置20内に設けた2セットの解凍画像メモリ24,25を、それぞれ4色の画像データを格納できるようにする。即ち、イメージバッファ10内に格納された4つのRGBXの圧縮画像データが、DMAコントローラ21により1ラスタ期間内に連続して読み出され、解凍器22により解凍され、4色の解凍画像データが解凍画像メモリ24,25のいずれか一方の書き込み状態のメモリに書き込まれる。そして、次のラスタ期間において、書き込まれたRGBXの解凍画像データが、読み出し状態のメモリ24,25から、印刷用読み出しバッファ27により並列に読み出され、色変換のコンバータ33によりRGBXの画像データからCMYKのいずれかの画像データに変換され、印刷エンジン12に供給される。コンバータ33は、属性データXに従って、図示しない色変換テーブルを設定し、その色変換テーブルを利用して1ドットずつCMYKのいずれかの画像データに変換する。
【0038】
上記の画像処理装置20によれば、1ラスタ単位でRGBXの画像データが解凍処理と色変換処理をパイプライン的に行うことができ、最初に1ページ分の色変換処理を行う場合に比較して、オーバーヘッド時間を節約することができ、印刷速度を早くすることができる。
【0039】
イメージバッファ10内にCMYKの画像データが格納される場合は、解凍器22により解凍されて解凍画像メモリ24,25に格納され、印刷用読み出しバッファ27は、それを読み出し、コンバータ33を介することなく、直接印刷エンジン12に供給する。
【0040】
以下、図1に示した第1の実施の形態例における画像処理装置20が、CMYKの画像データに対して解凍などの画像処理を行ってシングル方式の印刷エンジンに画像データを供給する場合と、RGBXの画像データに対して解凍と色変換の画像処理を行ってシングル方式の印刷エンジンに画像データを供給する場合と、CMYKの画像データに対して画像処理を行いタンデム方式の印刷エンジンに画像データを供給する場合とについて、順次説明する。
【0041】
図2は、イメージバッファ(バンドメモリ)10内に格納されたCMYKの圧縮画像データを画像処理する場合のタイミングチャートである。図2の(a)は、ラスタ期間R0,R1等の印刷エンジン12の印刷のタイミングを示す水平同期信号HSYNCを示す。図2(b)は、イメージバッファ10内のCMYKの画像メモリを示し、この例では、イメージバッファ10内には、CMYKの圧縮された画像データが、1ラスタ単位で格納される。即ち、アドレスの低い領域から、Cプレーンの画像データCIDr0、CIDr1....が格納され、アドレスの高い領域では、Kプレーンの画像データKIDrm-1、KIDrmが格納される。図2(c)は、DMAコントローラ21による読み出し、解凍器22の解凍処理、書き込みバッファ23による画像メモリ24,25への書き込み処理を示す。図2(d)、(f)は、それぞれ書き込み状態の解凍画像メモリと読み出し状態の解凍画像メモリ内の画像データを示す。図2(f)は、印刷用読み出しバッファ27による解凍画像データの読み出しと印刷エンジン12への供給処理を示す。
【0042】
図2の例では、画像データの解像度の変更はないものとする。ラスタ期間R0,R1毎に、DMAコントローラ21は、イメージバッファ10内の圧縮された画像データをラスタ単位で読み出し、解凍器22に供給する(処理(c))。図2の例では、Cプレーンの画像処理が示され、最初にシアンの圧縮画像データCIDr0が読み出される。この圧縮画像データCIDr0は、解凍器22により解凍アルゴリズムに従って解凍され、書き込みバッファ23により、書き込み状態の解凍画像メモリ24に書き込まれる(処理(c))。
【0043】
次のラスタ期間R1において、次のラスタの圧縮画像データCIDr1がDMAコントローラ21により読み出され、解凍器22に供給され、書き込みバッファ23により書き込み状態の解凍画像メモリ25に書き込まれる。それと並行して、印刷用読み出しバッファ27は、読み出し状態の解凍画像メモリ24から、保存されている1ラスタ分の解凍画像データCIDr0を読み出し、印刷エンジン12に直接供給する。この時の読み出しのタイミングは、コントローラ30からの制御信号により制御され、読み出すべきラスタ内の解凍画像データの領域は、印刷読み出しタイミングレジスタ32に設定される。コントローラ30からの制御信号により読み出しの頻度、繰り返し回数などが制御されて、上記した解像度の変更を可能にする。また、印刷読み出しタイミングレジスタ32の設定値により読み出す領域を設定し、読み出しタイミングを制御することで、印刷用紙内での印刷画像の移動を可能にする。いずれにしても、印刷用読み出しバッファ27の読み出しタイミングや供給タイミングは、解凍処理とは独立のタイミングで制御される。
【0044】
ラスタ期間R1において、解凍器22が先行するラスタの画像データの参照を必要とする場合は、解凍用読み出しバッファ29により、読み出し状態の解凍画像メモリ24内の解凍画像データCIDr0が、解凍処理のタイミングに合わせて読み出され、解凍器22に供給される。解凍用読み出しバッファ29の読み出しタイミングは、印刷用読み出しバッファ27とは独立している。但し、両バッファ27,29が同時に同じ解凍画像データCIDr0を読み出す必要がある場合は、所定のデータ単位(例えば8バイト単位)で時分割に読み出される。
【0045】
次のラスタにおいても、同様の画像処理が画像処理装置20により行われる。Cプレーンの1ページ分の画像処理が終了すると、次のMプレーンの1ページ分の画像処理が行われ、更にYプレーン、Kプレーンの1ページ分の画像処理が行われる。その結果、印刷エンジン12内では、CMYKそれぞれのトナーがそれぞれの潜像に従って印刷用紙上に重ね印刷され、カラーの画像が生成される。
【0046】
図3は、RGBXの画像データに対して解凍と色変換の画像処理を行ってシングル方式の印刷エンジンに画像データを供給する場合を説明するタイミングチャートである。図中(a)〜(f)は、図2と同じである。図3の場合は、イメージバッファ10内には、アドレスの低い領域からアドレスの高い領域にRGBXの画像データ(但しXは属性データ)が、ラスタ単位で順に格納される。即ち、ラスタr0に対しては、Rの画像データRIDr0、Gの画像データGIDr0、Bの画像データBIDr0及びXの属性データXr0が格納される。これらのデータ長は、それぞれに応じて異なる。そして、次のラスタr1に対しても、同様に、RGBXそれぞれのデータが1ラスタ分格納され、そして、最後のラスタrmに対するRGBXそれぞれのデータが最終領域に格納される。
【0047】
図3の場合は、1つのラスタ期間内において、RGBXの画像データを全て解凍し、色変換用のコンバータ27に与えることで、例えばCプレーンの1ラスタ分の画像データCIDを印刷エンジン12に供給する。従って、DMAコントローラ21と解凍器22と書き込みバッファ23及び解凍用読み出しバッファ29は、図2のCMYKに比較して4倍の高速処理能力を有し、1ラスタ期間内において、4種類の画像データをそれぞれ処理する。
【0048】
ラスタ期間R0において、DMAコントローラ21は、イメージバッファ10から最初のラスタr0のRGBXの画像データ(但し属性データXを含む)を読み出し、解凍器22に供給する(処理(c))。解凍器22は、水平同期信号HSYNCから決まるビデオクロックCLKの4倍の速度で、各画像データRIDr0、GIDr0、BIDr0、Xr0を解凍する。そして、書き込みバッファ23は、それら解凍された画像データRIDr0、GIDr0、BIDr0、Xr0を、書き込み状態の解凍画像メモリ24内のそれぞれ対応する領域に書き込む(処理(c))。
【0049】
次のラスタ期間R1において、同様に、DMAコントローラ21は、イメージバッファ10から次のラスタr1のRGBXの画像データを読み出し、解凍器22に供給し、解凍器22は、ビデオクロックCLKの4倍の速度で、各画像データRIDr1、GIDr1、BIDr1、Xr1を解凍する。この時、解凍器22が、先行する1ラスタ前の画像データの参照を必要とする場合は、解凍用読み出しバッファ29により、解凍器22の解凍処理のタイミングに対応して、読み出し状態の解凍画像メモリ24から、各画像データRIDr0、GIDr0、BIDr0、Xr0を順に読み出し、解凍器22に供給する。
【0050】
読み出し状態の解凍画像メモリ24内の解凍画像データRIDr0、GIDr0、BIDr0、Xr0は、印刷用読み出しバッファ27により、並列に読み出され、色変換用のコンバータ33に供給される。色変換用のコンバータ33では、属性データXを参照して対応する色変換テーブルを利用して、RGBの画像データからCプレーンの画像データCIDr0に変換する。この色変換処理は、ドット単位で印刷エンジンのイメージクロックCLKに同期して行われる。色変換された画像データCIDr0は、印刷エンジン12に供給され印刷処理される。この時、色変換のコンバータ33の処理の遅延が、印刷エンジン12に供給される画像データCIDr0に発生するが、解凍処理される前の1ページ分の色変換処理に要する時間に比較すると、その遅延時間は短い。
【0051】
上記の例では、解凍画像メモリ24,25を4色の画像データを同時に格納することができる構成にしたので、印刷用読み出しバッファ27は、RGBXのデータを並列して読み出し、色変換用コンバータ33に供給することができる。色変換コンバータ33では、印刷エンジン12の印刷速度に対応して1ドット単位でRGBの画像データからCMYKのいずれかの画像データへの色変換を行う。従って、画像処理装置20の前段階で1ページ分のRGBXの画像データに対してCMYKへの色変換処理するよりも、印刷速度を上げることができる。
【0052】
図4は、CMYKの画像データに対して画像処理を行いタンデム方式の印刷エンジンに画像データを供給する場合のタイミングチャートである。図1に示した第1の実施の形態例では、DMAコントローラ21、解凍器22等は、1ラスタ期間内に4つの画像データを処理する能力を有する。しかし、図2の如くイメージバッファ10内にCMYKの画像データが格納されている場合は、各色のプレーン毎に画像データの解凍と印刷エンジンへの供給がなされる。従って、CMYKの画像データの場合は、解凍器22等の能力を十分に利用していない。
【0053】
図4の例では、印刷エンジン12が4つの色に対して並列的に印刷をすることができるタンデムタイプの場合であって、CMYKの画像データが各ラスタ期間内で解凍され、解凍画像メモリ24,25に書き込まれ、並列に読み出されて印刷エンジン12に供給される。
【0054】
イメージバッファ10内には、色変換されたCMYKの圧縮画像データが、ラスタ毎に連続して格納される。即ち、ラスタr0に対しては、CMYKの画像データCIDr0、MIDr0、YIDr0、KIDr0がその順に格納され、次のラスタr1についても同様である。
【0055】
ラスタの期間R0において、DMAコントローラ21は、イメージバッファ10から、CMYKの圧縮画像データCIDr0、MIDr0、YIDr0、KIDr0を時系列に読み出し、解凍器22に供給する(処理(c))。従って、解凍器22は、1ラスタ期間内に4つの圧縮画像データを解凍する。そして、書き込みバッファ23は、書き込み状態の一方の解凍画像メモリ24にそれらの解凍された画像データを書き込む(処理(c))。
【0056】
次のラスタ期間R1でも、同様にDMAコントローラ21は、イメージバッファ10から、次のラスタのCMYKの圧縮画像データCIDr1、MIDr1、YIDr1、KIDr1を時系列に読み出し、解凍器22は、それら4つの圧縮画像データを解凍する。そして、書き込みバッファ23は、書き込み状態に変換された解凍画像メモリ25にそれらの解凍された画像データを書き込む(処理(c))。この時、解凍器22が、1つ前のラスタの画像データの参照を必要とする場合は、解凍用の読み出しバッファ29が、読み出し状態の解凍画像メモリ24から解凍された画像データCIDr0、MIDr0、YIDr0、KIDr0を、解凍処理のタイミングに従って読み出し、供給する。
【0057】
ラスタ期間R0の間に、4色のCMYKの解凍された画像データCIDr0、MIDr0、YIDr0、KIDr0が、画像メモリ24に並列アクセス可能な状態で格納されているので、ラスタ期間R1において、印刷用読み出しバッファ27は、4色の画像データを、それぞれ任意の領域を任意のタイミングで読み出して、印刷エンジン12に供給することができる。印刷エンジン12が、4つの色に対して平行して印刷することができるタンデムエンジンである場合は、図4(f1)に示される通り、印刷用読み出しバッファ27が、例えば、4つの画像データCIDr0、MIDr0、YIDr0、KIDr0を同時に並行して供給することで、高速印刷を可能にする。
【0058】
また、印刷エンジン12内の4つのエンジンの動作タイミングによっては、4つの画像データCIDr0、MIDr0、YIDr0、KIDr0の供給を少しずつ時間をずらす必要がある場合は、図4(f2)の如く、印刷用読み出しバッファ27は、読み出し状態の画像メモリ24から、それぞれの画像データを時間をずらして読み出し、印刷エンジン12に供給する。
【0059】
解凍された画像データを格納する解凍画像メモリを、2セット設けたことにより、印刷エンジン12に画像データを供給するための読み出しのタイミングを、解凍処理と独立して任意に設定することができ、種々の印刷エンジン12に対応して画像データを供給することができる。
【0060】
第1の実施の形態例において、RGBXの画像データを処理して、タンデムエンジンにCMYKの画像データを並列して供給することもすることも可能である。その場合は、色変換のコンバータ33を、4色の画像データに変換するための構成にする必要がある。例えば、4重に色変換コンバータ33を設けることで、RGBXの画像データからCMYKの4色の画像データに平行して色変換することができる。その場合は、画像処理装置20内での処理は、図3の例と同じであり、最後の色変換処理だけが、4色分並列して行われ、CMYKの画像データが同時に印刷エンジンに供給される。
【0061】
第1の実施の形態例において、2セットの解凍画像メモリ24,25の一方を解凍後の書き込みメモリとし、他方を印刷用の読み出しメモリとして使用することで、印刷用読み出しバッファ27による読み出しのタイミング、読み出す領域、読み出す頻度などを解凍処理と独立して制御することができる。従って、後述する第2の実施の形態例と同様に、解像度を変更して印刷することも自在にできる。更に、印刷用読み出しバッファ27による読み出しのタイミング、読み出す領域を適宜制御することにより、印刷用紙上で印刷画像を適宜移動させて印刷することもできる。
【0062】
図5は、解像度に変更がない場合の画像処理装置の処理を示す図である。この例では、画像処理装置20は、600dpiの解像度に対応した圧縮画像データを処理して印刷エンジン12の解像度である600dpiに対応した画像データを生成して、印刷エンジン12に供給する。図2中(a)〜(f)は、図2,3,4の(a)〜(f)に対応する。また、(g)は印刷エンジン12が印刷する画像データを示す。
【0063】
イメージバッファ(バンドメモリ)10内に格納されているラスタ単位の圧縮画像データIDr0〜IDr5が、ラスタ毎のタイミングで、DMAコントローラ21により読み出され、解凍器22に供給され、圧縮画像データIDr0〜IDr5がそれぞれ解凍される(処理(c))。書き込みバッファ23は、その解凍された画像データを解凍画像メモリ24,25に交互に書き込む(処理(c))。解凍画像メモリ24はSRAM#0で示され、解凍画像メモリ25はSRAM#1で示される。次に、解凍画像メモリ24と25とが、次のラスタ期間で書き込み状態と読み出し状態とが切り替えられ、印刷用読み出しバッファ27により解凍画像メモリ24,25から交互に解凍画像データが読み出される(処理(f))。印刷用読み出しバッファ27は、印刷エンジン12にその印刷のタイミングHSYNC(またはドットクロックCLK)に同期して、読み出した解凍画像データを供給する(処理(f))。解凍器22が先行するラスタの画像データの参照を必要とする解凍アルゴリズムを使用する場合は、解凍用読み出しバッファ29により、印刷用読み出しバッファ27と共に時分割で解凍画像データが読み出し状態の解凍画像メモリ24,25から読み出される。
【0064】
図5に示される通り、解凍画像メモリ24,25の一方に書き込みが行われている間は、解凍画像メモリ24,25の他方から読み出しが行われる。両者の処理の頻度は、同じである。
【0065】
図6は、高い解像度に変換する場合の画像処理装置の処理を示す図である。この例では、画像処理装置20は、300dpiの解像度に対応した圧縮画像データを処理して印刷エンジン12の解像度である600dpiに対応した画像データを生成して、印刷エンジン12に供給する。
【0066】
600dpiの印刷エンジンで印刷を行うためには、300dpiの解像度に対応した画像データIDr0〜IDr5を、1ラスタ期間おきにイメージバッファ10から読み出し、解凍して、書き込み状態の解凍画像メモリ24,25に書き込む。一方、読み出し状態の解凍画像メモリ24,25からは、印刷用読み出しバッファ27により、各ラスタ期間毎に解凍画像データを読み出し、印刷エンジン12に供給する。また、解凍用読み出しバッファ29は、解凍器22が解凍処理を行う時だけ、読み出し状態の解凍画像メモリ24,25内の解凍画像データを読み出し解凍器22に供給する。印刷用読み出しバッファ27は、内部に1ラスタ分の容量のメモリを有する場合は、2回ずつ解凍画像データを読み出す必要はない。
【0067】
また、画像データIDr1が解凍される間、解凍アルゴリズムによっては、解凍画像メモリ24(SRAM#0)からは、印刷用読み出しバッファ27と解凍用読み出しバッファ29とで時分割で同時に読み出される場合がある。
【0068】
ホストコンピュータ1から供給される画像データがより高い解像度を有する場合は、上記と逆に、解凍器22による解凍の頻度に比較して、読み出し状態の解凍画像メモリ24,25からの読み出しと印刷エンジン12への画像データの供給の頻度は低くなる。その結果、高い解像度の画像データから所定の比率で間引かれたドットの画像データが印刷エンジン12に供給され、低い解像度の画像の印刷を可能にする。
【0069】
解像度の変更に伴うDMAコントローラ21や印刷読み出しバッファ27の制御は、コントローラ30により適宜行われる。
【0070】
図6に示される通り、第1の実施の形態例における画像処理装置20は、解凍された画像データを一旦格納する少なくとも2セットの解凍画像メモリ24,25を設け、一方のメモリに書き込みをする間に、他方のメモリから読み出しを上記書き込みと独立して行うようにする。かかる構成により、読み出し状態にある解凍画像メモリからの読み出しの頻度を、解凍器22からの書き込み状態にある解凍画像メモリへの書き込み頻度とをそれぞれ別々に制御することができ、画像データの解像度の変更を自在に行うことができる。
【0071】
図7は、印刷用紙内での印刷画像の移動処理を説明するための図である。図7内の(a)〜(f)は、図2〜6(a)〜(f)に対応する。イメージバッファ(バンドメモリ)10内には、CMYKの色毎に、ラスタ単位で圧縮された画像データIDr0、IDr1、IDr2が保存される。このラスタ単位の画像データは、圧縮された画像データであるので、そのデータ長は可変長である。
【0072】
DMAコントローラ21により、イメージバッファ10内の圧縮画像データは、ラスタ単位で低いアドレスから高いアドレスの順に読み出され、解凍器22に供給される。解凍器22は、水平同期信号HSYNCで画定されるラスタ期間R0内に、1ラスタ分の圧縮画像データを解凍し、書き込みバッファ23は、書き込み状態の解凍画像メモリ24に解凍済みの画像データを書き込む(処理(c))。この解凍器22の解凍処理中に、必要であれば、先行する1つ前のラスタの解凍画像データが、他方の読み出し状態のメモリ25から、解凍用読み出しバッファ29により読み出され、解凍処理のタイミングに応じて解凍処理の様式で解凍器22に供給される。解凍器22では、先行するラスタの画像データを参照しながら、所定の解凍アルゴリズムにより圧縮された画像データを解凍する。
【0073】
次のラスタ期間R1では、解凍画像メモリ24,25の書き込み状態と読み出し状態とが切り替えられ、次のラスタの解凍された画像データIDr1が、書き込み状態の解凍画像メモリ25に書き込まれる間に、先のラスタの解凍画像データIDr0が、読み出し状態の解凍画像メモリ24から、印刷用読み出しバッファ27により読み出され、印刷エンジン12に適合するデータ様式で印刷エンジン12の印刷タイミングに対応して印刷エンジン12に供給される。この処理は、印刷エンジン12のドットクロックCLKのタイミングに同期して行われる。同時に、解凍処理で必要な場合は、解凍用読み出しバッファ29により解凍画像メモリ24から画像データIDr0が読み出される。
【0074】
この印刷用読み出しバッファ27は、印刷位置設定部9により供給された印刷開始位置と終了情報を格納する印刷読み出しタイミングレジスタ32を参照し、読み出し状態の解凍画像メモリ24内の解凍画像データを、任意の位置から任意の位置まで読み出し、印刷エンジン12の印刷タイミングに合わせて供給する。かかる画像データのラスタ内における読み出し領域と、その画像データの印刷エンジン12への供給タイミングは、レジスタ32に設定された情報により解凍器22の解凍対象画像データと解凍タイミングとは独立して制御される。
【0075】
従って、通常印刷の場合(f1)は、水平同期信号HSYNCにより決まるラスタ期間において、1ラスタ分の画像データIDr0が、読み出し状態のメモリ24から全て読み出され、通常のタイミングで印刷エンジン12に供給される。
【0076】
また、印刷画像を印刷用紙PPの左側に移動させたい場合(f2)は、印刷用読み出しバッファ27は、読み出し状態の解凍画像メモリ24内の画像データを、レジスタ32の設定値に従い、ラスタ内の途中の領域から、ラスタ期間R1の最初のタイミングに同期して、ラスタ内の後ろ側の画像データを読み出し開始する。その結果、印刷用紙PP内には、図示される通り、ラスタの右側の画像が印刷され、印刷用紙PP内では画像が左方向に移動する。但し、ラスタ期間R1の間、次のラスタの画像データIDr1に対しては、ラスタ期間R1内で全て解凍される。この解凍処理のタイミングは、印刷用読み出しバッファ27の読み出しタイミングなどとは独立している。そして、解凍処理において先のラスタの画像データの参照が必要な場合は、解凍用読み出しバッファ29は、読み出し状態のメモリ24から、1ラスタ分の画像データを読み出し、解凍器22に供給する。即ち、ラスタR1の期間において、解凍器22は、次の1ラスタ分の画像データIDr1を解凍し、解凍用読み出しバッファ29は、先行する1ラスタ分の画像データIRr0を読み出して解凍器に供給し、印刷用読み出しバッファ27は、1ラスタの後半部分の画像データIDr0を読み出してドットクロックCLKに同期して印刷エンジン12に供給する。
【0077】
更に、印刷画像を印刷用紙PPの右側に移動させたい場合(f3)は、印刷用読み出しバッファ27は、読み出し状態の解凍画像メモリ24内の画像データIDr0を、レジスタ32の設定値に従い、ラスタ内の先頭の領域から、ラスタ期間R1の最初のタイミングに同期して読み出し開始し、ラスタ内の途中までの画像データを読み出す。そして、その一部分の画像データIDr0を印刷エンジン12に供給する。その結果、印刷用紙PP内には、図示される通り、ラスタの左側の画像が印刷され、印刷用紙PP内では画像が右方向に移動する。この場合の、解凍用読み出しバッファ29の動作は、上記(f2)の場合と同じである。
【0078】
上記の通り、解凍済みの画像データを保持する2セットの解凍画像メモリ24,25を有し、交互に書き込み状態と読み出し状態に制御されるので、印刷用読み出しバッファ27は、解凍処理とは独立したタイミングで独立したラスタ内の領域の画像データを、読み出し状態のメモリ24,25から読み出して、印刷エンジン12に供給することができる。従って、図7に示される通り、ラスタ内の画像データについて任意の領域の画像データを任意のタイミングで印刷エンジン12に供給して印刷させることができる。即ち、解凍処理に悪影響を与えることなく、任意の領域の印刷画像を、印刷用紙内の任意の位置に移動させて印刷することができる。
【0079】
なお、イメージバッファ10内にRGBXの画像データが格納される場合は、印刷用読み出しバッファ27と印刷エンジン12にとの間の色変換コンバータ33により、RGBXの画像データからCMYKのいずれかの画像データに変換される。従って、この色変換に要する時間分を見込んで、印刷用読み出しバッファ27が読み出しのタイミングを制御される。
【0080】
[第2の実施の形態例]
図8は、第2の実施の形態例における電子写真装置の一部を示す図である。第1の実施の形態例では、解凍器22が、1ラスタ期間内に4種類の圧縮画像データを解凍する能力を必要とする。属性データXを有しない場合でも、解凍器22はRGBの3色の圧縮画像データを解凍しなければならない。そこで、第2の実施の形態例では、解凍画像メモリ24,25を2セットにすると同時に、圧縮画像データを一旦蓄積する2セットの圧縮画像メモリ34,35と4セットの解凍ユニット220〜226とを有する。2セットの圧縮画像メモリ34,35は、解凍画像メモリ24,25と同様に、交互に書込状態と読み出し状態に制御される。
【0081】
図8に示される通り、解凍ユニット220は、第1の実施の形態例と異なり、1色の画像データ用の解凍器22、解凍画像データ24,25を有する。但し、圧縮画像メモリ34,35をSRAM#0,1としたため、解凍画像メモリ24,25はSRAM#2、SRAM#3となっている。他の解凍ユニット222,224,226も、図8の下半分に示した解凍ユニット220と同様の構成を有する。解凍ユニットは、圧縮画像メモリ34,35から圧縮画像データを読み出して解凍器22に供給すために読み出しバッファ38を有する。
【0082】
解凍ユニットを4セット設けたことに伴い、DMAコントローラ22とそれらの解凍ユニットとの間に、一方が書き込み状態になり他方が読み出し状態になる圧縮画像メモリ34,35と書込バッファ39とを設ける。これらの圧縮画像メモリ34,35は、それぞれ1ラスタ分の圧縮画像データを4セット保持する容量を少なくとも有する。この圧縮画像メモリ34,35も、解凍画像メモリ24,25と同様に、交互に書き込み状態と読み出し状態に制御される。
【0083】
図8の場合も、画像処理装置20内にはコントローラ30が設けられ、DMAコントローラ21やDMA書込バッファ39や、解凍ユニット内のタイミングの制御を行う。コントローラ30には、印刷エンジンのタイミングに対応する水平同期信号HSYNCまたはドットクロックCLKが供給される。
【0084】
イメージバッファ10内にRGBXの画像データが格納される場合は、RGBXのデータが4つの解凍ユニット220〜226で解凍処理され、色変換コンバータ33に供給され、属性データXに従って色変換されたCMYKの画像データが、印刷エンジン12に供給される。また、本実施の形態例においても、印刷用読み出しバッファ27とコンバータ33により、印刷エンジン12にCMYKの画像データを供給する画像データ供給手段を構成する。
【0085】
図9は、第2の実施の形態例において解像度に変更がない場合の画像処理装置の処理を示す図である。この例では、イメージバッファ10内にRGBXの画像データ(または属性データ)が格納されている場合であって、Cプレーンの画像データを印刷エンジン12に供給する場合である。
【0086】
ラスタ期間R0において、イメージバッファ10内に格納されている1ラスタ分のRGBXの圧縮画像データIDr0を、DMAコントローラ21により読み出し、DMA書込バッファ39により、書込状態の圧縮画像メモリ34に格納する(処理(c1))。圧縮画像メモリ34,35は、それぞれ4種類のデータを少なくとも1ラスタ分格納することができる。
【0087】
次に、ラスタ期間R1において、同様に、イメージバッファ10内に格納されている1ラスタ分のRGBXの圧縮画像データIDr1を、DMAコントローラ21により読み出し、DMA書込バッファ39により、書込状態の圧縮画像メモリ35に格納する(処理(c1))。また、同時に、解凍ユニット220〜226内の読み出しバッファ38が、RGBXのそれぞれ対応する圧縮画像データを、読み出し状態の圧縮画像メモリ34から読み出し、それぞれの解凍ユニット内の解凍器22に供給する。従って、4つの解凍ユニット内の解凍器22により、それぞれの圧縮画像データIDr0(RGBX)が並行して解凍され、それぞれのユニット内の書込バッファ23により、書込状態の解凍画像メモリ24に書き込まれる(処理(c4))。
【0088】
次の、ラスタ期間R2において、次の圧縮画像データIDr2がDMAコントローラ21により読み出され、DMA書込バッファ39により書込状態の圧縮画像メモリ34に書き込まれる(処理(c1))。それと並行して、読み出し状態の圧縮画像メモリ35からRGBXの圧縮画像データIDr1が、並行して読み出しバッファ38により読み出され、それぞれの解凍器22により解凍され、書込状態の解凍画像メモリ25に書き込まれる(処理(c4))。また、読み出し状態の解凍画像メモリ24内に格納されたRGBXの解凍データIDr0が、印刷用読み出しバッファ27により読み出され、色変換コンバータ33に並列に供給する(処理(f))。この読み出しと供給のタイミングは、第1の実施の形態例と同様に、解凍のタイミングとは独立して、任意のタイミングに制御され、また任意の領域が読み出され供給される。色変換コンバータ33は、RGBXの解凍データから、属性データXに応じた色変換処理を行い、C(シアン)の画像データIDr0(C)を生成し、印刷エンジン12に供給する。
【0089】
ラスタ期間R2において、解凍器22は、RGBXの圧縮画像データIDr1を解凍するが、1つ前の画像データの参照を必要とする場合は、解凍ユニット内の解凍用読み出しバッファ29が、読み出し状態の解凍画像メモリ24(SRAM#2)から、解凍された画像データIDr0を、解凍処理のタイミングに応じて並列に読み出し、それぞれ対応する解凍器22に供給する。
【0090】
図9に示される通り、圧縮画像データの解凍及び解凍画像メモリ24,25への書込みと、解凍画像メモリ24,25からの読み出し及び色変換後の印刷エンジンへの供給とは、ラスタ期間毎にそれぞれ毎回行われる。従って、600dpiの解像度のRGBXの画像データに対して、600dpiの画像データが印刷エンジン12に供給され、印刷される。
【0091】
図10は、第2の実施の形態例において高い解像度に変更する場合の画像処理装置の処理を示す図である。この例では、300dpiのRGBXの圧縮画像データIDr0(RGBX)から、600dpiのCプレーンの解凍画像データIDr0(C)が生成される。そのために、DMAコントローラ21の読み出し処理と、解凍ユニット内の解凍器22の解凍処理は、2ラスタ期間に1回行われ、解凍ユニット内の印刷用読み出しバッファ27の読み出し処理は、ラスタ期間毎に行われる。従って、印刷用読み出しバッファ27が解凍器よりも2倍の処理頻度になっている。解像度を低くする場合は、上記処理の頻度が逆になる。解凍画像メモリ24,25を2セット設けて、一方を書込み状態に、他方を読み出し状態にすることで、上記の頻度の変更を容易に行うことができる。
【0092】
まず、ラスタ期間R0において、DMAコントローラ21によりRGBXの圧縮データIDr0(RGBX)が読み出され、一方の圧縮画像メモリ34に書き込まれる(処理(c1))。次のラスタ期間R1において、解凍ユニット内の読み出しバッファ38が、それぞれ対応する圧縮画像メモリ34から圧縮データIDr0が解凍器22に供給され、解凍され、解凍画像メモリ24内にそれぞれ書き込まれる(処理(c4))。
【0093】
次のラスタ期間R2において、読み出し状態の解凍画像メモリ24(SRAM#2)から、印刷用読み出しバッファ27により、それぞれの解凍画像データ(または属性データX)が読み出され、色変換コンバータ33に供給される(処理(f))。そして、色変換された画像データIDr0(C)が印刷エンジン12に供給される。また、並行して、次のラスタの圧縮画像データIDr1(RGBX)がDMAコントローラ21により読み出され、書込状態の圧縮画像メモリ35に書き込まれる。
【0094】
次のラスタ期間R3において、読み出し状態の圧縮画像メモリ35(SRAM#1)から、読み出しバッファ38により対応するデータIDr1(RGBX)が読み出され、それぞれの解凍器22に供給され、解凍される。この時、必要であれば、読み出し状態の解凍画像メモリ24から、1つ前の解凍画像データIDr0(RGBX)が、解凍用読み出しバッファ29により読み出され、解凍処理に合わせて解凍器22に供給される。また、ラスタ期間R3において、再度、印刷用読み出しバッファ27は、読み出し状態の解凍画像メモリ24から解凍済みのRGBXの画像データIDr0(RGBX)を読み出し、色変換コンバータ33がCプレーンの画像データに変換し、印刷エンジン12に供給する。これにより、解像度が2倍の600dpiの画像データが印刷エンジン12に供給される。
【0095】
次のラスタの圧縮画像データIDr2(RGBX)も同様に読み出され解凍処理されて、その後、2倍の頻度で色変換され印刷エンジンに供給される。
【0096】
図示されないが、第2の実施の形態例においても、印刷用読み出しバッファ27により、読み出し領域や読み出しタイミングを制御することにより、第1の実施の形態例で図7に示した様な、印刷用紙の任意の位置に印刷画像を移動させて印刷することが可能になる。
【0097】
次に、第1の実施の形態例との対比で、第2の実施の形態例における、CMYKの画像データに対して解凍などの画像処理を行ってシングル方式の印刷エンジンに画像データを供給する場合と、RGBXの画像データに対して解凍と色変換の画像処理を行ってシングル方式の印刷エンジンに画像データを供給する場合と、CMYKの画像データに対して画像処理を行いタンデム方式の印刷エンジンに画像データを供給する場合とについて、順次説明する。
【0098】
図11は、CMYKの画像データに対して解凍などの画像処理を行ってシングル方式の印刷エンジンに画像データを供給する場合のタイミングチャートである。この場合は、4個の解凍ユニット220〜226のうち、CMYKの対応する解凍ユニットのみが解凍処理を行う。この場合は、イメージバッファ10内の圧縮画像データは、図2の場合と同じである。
【0099】
ラスタ期間R0において、DMAコントローラ21は、Cプレーンの1ラスタ分の圧縮画像データCIDr0をイメージバッファ10から読み出し、圧縮画像メモリ34に書き込む(c1)。次に、ラスタ期間R1において、DMAコントローラ21が次の圧縮画像データCIDr1を読み出して圧縮画像メモリ35に書き込む間(c1)、読み出しバッファ38は、読み出し状態の圧縮画像メモリ34から画像データCIDr0を読み出し、解凍器22に供給する。解凍器22は、必要に応じて1ラスタ前の画像データを参照しながら、圧縮画像データCIDr0を解凍し、書込状態の解凍画像メモリ24に書き込む。この解凍処理は、水平同期信号HSYNCに同期したビデオクロック(またはドットクロック)CLKと等速で解凍処理する。
【0100】
ラスタ期間R2において、印刷用読み出しバッファ27は、読み出し状態の解凍画像メモリ24から、解凍画像データCIDr0を読み出し、印刷エンジン12に供給する。この読み出しと供給も、ビデオクロック(またはドットクロック)に等速で行われる。
【0101】
図12は、RGBXの画像データに対して解凍と色変換の画像処理を行ってシングル方式の印刷エンジンに画像データを供給する場合のタイミングチャートである。イメージバッファ10内のRGBXの圧縮画像データは、図3の場合と同じである。
【0102】
ラスタ期間R0において、DMAコントローラ21は、イメージバッファからラスタr0のRGBXの圧縮画像データRIDr0、GIDr0、BIDr0、Xr0を読み出し、DMA書込バッファ39は、その圧縮画像データを書込状態にある圧縮画像メモリ34のそれぞれの領域に書き込む(c1)。
【0103】
次のラスタ期間R1において、4つの解凍ユニットが、対応する圧縮画像データを読み出し状態の圧縮画像メモリ34から読み出し、解凍処理を行い、解凍画像メモリ24に書き込む(c4)。第3の実施の形態例では、第2の実施の形態例と異なり、解凍ユニットが4個並列に設けられるので、各解凍ユニット内の解凍器22は、ビデオクロック(ドットクロック)CLKに等速で、解凍処理を行うことができる。この時、必要に応じて、解凍用読み出しバッファ29は、解凍画像メモリ25から画像データを読み出し、それぞれの解凍器に供給する。
【0104】
次のラスタ期間R2において、4つの解凍ユニット内の解凍画像メモリ24から、RGBXの解凍データが読み出され、色変換コンバータ33に供給される(f)。そして、属性データXに従ってCプレーンの画像データCIDr0に色変換されて、印刷エンジン12に供給される。印刷エンジンへの供給もビデオクロック(ドットクロック)に等速で行われる。
【0105】
図13は、CMYKの画像データに対して画像処理を行いタンデム方式の印刷エンジンに画像データを供給する場合のタイミングチャートである。この場合のイメージバッファ10内の圧縮画像データは、図4の場合と同じである。
【0106】
ラスタ期間R0において、DMAコントローラ21は、イメージバッファ10からそれぞれ1ラスタ分のCMYKの圧縮画像データCIDr0、MIDr0、YIDr0、KIDr0を読み出して、DMA書込バッファ39が、その画像データを圧縮画像メモリ34のそれぞれ対応する領域に書き込む(c1)。
【0107】
次のラスタ期間R1において、各解凍ユニット内の読み出しバッファ38が、対応する画像データを読み出し、解凍器22が解凍処理を行う。そして、書込バッファ23が、書込状態の解凍画像メモリ24に解凍画像データを書き込む。これらの解凍処理は、4つの解凍ユニットにより並列的に、イメージクロック(またはドットクロック)CLKに等速に行われる。
【0108】
次のラスタ期間R2において、各解凍ユニット内の印刷用読み出しバッファ27は、解凍画像メモリ24からそれぞれ解凍済みのCMYKの画像データを読み出し、印刷エンジン12に所定のタイミングで供給する(f)。この印刷用読み出しバッファ27による読み出しと供給のタイミングは、タンデム方式の印刷エンジンの動作に応じて適切に制御される。タイミングの制御は、第2の実施の形態例と同様に、コントローラ30により行われる。
【0109】
図示しないが、RGBXの圧縮画像データを解凍してタンデム方式の印刷エンジンにCMYKの画像データを供給することもできる。その場合は、図12の様に、イメージバッファ10からRGBXのデータが読み出され、解凍ユニットにより並列に解凍処理され、色変換コンバータ33によりCMYKの画像データに変換され、タンデム方式の印刷エンジン12に所定のタイミングで供給される。
【0110】
【発明の効果】
以上、本発明の画像処理装置によれば、RGB等の第1の色空間の圧縮画像データとCMYK等の第2の色空間の圧縮画像データとの両方に対して、圧縮処理を行い、第1の色空間の画像データに対しては、解凍処理後に第2の色空間の画像データに色変換する。従って、ホストコンピュータから第1または第2の色空間の画像データが供給されても、同様に解凍処理を行い、印刷エンジンに供給することができ、印刷速度を高めることができる。
【0111】
本発明の画像処理装置によれば、解凍された画像データを少なくとも第1の色空間の色分だけ記録するだけの容量を有する画像メモリを設けたことにより、RGB等の第1の色空間の画像データを並列に読み出して、CMYK等の第2の色空間の画像データに色変換することができる。従って、色変換に要する時間は、ドットクロックに同期した速度であり、色変換による印刷の遅延は小さい。
【図面の簡単な説明】
【図1】第1の実施の形態例における電子印刷装置の構成を示す図である。
【図2】CMYKの圧縮画像データを画像処理する場合のタイミングチャートである。
【図3】RGBXの画像データに対して解凍と色変換の画像処理を行ってシングル方式の印刷エンジンに画像データを供給する場合を説明するタイミングチャートである。
【図4】CMYKの画像データに対して画像処理を行いタンデム方式の印刷エンジンに画像データを供給する場合のタイミングチャートである。
【図5】解像度に変更がない場合の画像処理装置の処理を示す図である。
【図6】高い解像度に変換する場合の画像処理装置の処理を示す図である。
【図7】印刷用紙内での印刷画像の移動処理を説明するための図である。
【図8】第2の実施の形態例における電子印刷装置の構成を示す図である。
【図9】第2の実施の形態例において解像度に変更がない場合の画像処理装置の処理を示す図である。
【図10】第2の実施の形態例において高い解像度に変更する場合の画像処理装置の処理を示す図である。
【図11】CMYKの画像データに対して解凍などの画像処理を行ってシングル方式の印刷エンジンに画像データを供給する場合のタイミングチャートである。
【図12】RGBXの画像データに対して解凍と色変換の画像処理を行ってシングル方式の印刷エンジンに画像データを供給する場合のタイミングチャートである。
【図13】CMYKの画像データに対して画像処理を行いタンデム方式の印刷エンジンに画像データを供給する場合のタイミングチャートである。
【符号の説明】
1 ホストコンピュータ、2 電子印刷装置、10 イメージデータ、12 印刷エンジン、20 画像処理装置、21 DMAコントローラ、22 解凍器、24、25 解凍画像メモリ、27 印刷用読み出しバッファ、29 解凍用読み出しバッファ、33 色変換コンバータ、34、35 圧縮画像メモリ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus for printing used in an electronic printing apparatus having a print engine, and in particular, is supplied with compressed image data for each color in a predetermined color space, decompresses the compressed image data, and supplies the compressed image data to the print engine. The present invention relates to a printing image processing apparatus to be supplied.
[0002]
[Prior art]
An electronic printing apparatus such as a page printer prints image data in a predetermined color space generated by a host computer or the like with a print engine using a laser beam or the like. Such an electronic printing apparatus generates image data corresponding to a plurality of colors in a color space corresponding to the color of the toner, forms a latent image on the drum according to the image data of each color in the print engine, and applies the toner of the corresponding color. Adhere and transfer to printing paper. Therefore, the electronic printing apparatus has an image memory (or band memory) that stores image data for at least one page, and further processes the image data stored in the image memory to adapt to the print engine. An image processing device that generates image data is included.
[0003]
Usually, the amount of data of image data stored in the image memory becomes enormous, so that the image data is stored in the image memory as image data compressed by a predetermined algorithm. Therefore, the image processing apparatus decompresses at least the compressed image data and supplies the decompressed image data to the print engine.
[0004]
A conventional image processing apparatus decompresses compressed image data for each color and supplies the decompressed image data as it is to a print engine. Accordingly, the image processing apparatus starts decompression of the compressed image data and supplies the decompressed image data to the print engine in accordance with the horizontal synchronization signal or video clock (or dot clock) corresponding to the print timing of the print engine. When decompressing compressed image data, it is necessary to refer to the image data of the preceding raster depending on the compression algorithm. In this case, the image processing apparatus temporarily stores the decompressed image data and starts decompression. In addition, the preceding decompressed image data is referred to.
[0005]
As described above, the conventional image processing apparatus must perform all image processing such as internal decompression processing and reference to the previous decompressed image data for decompression depending on the print timing of the print engine.
[0006]
[Problems to be solved by the invention]
The electronic printing apparatus may be supplied with RGB image data from a host computer, or may be supplied with CMYK image data corresponding to the toner of the print engine. A conventional image processing apparatus in an electronic printing apparatus processes only CMYK image data corresponding to toner used in a print engine. Therefore, when RGB image data is supplied, the color conversion unit in the electronic printing apparatus performs color conversion to CMYK image data. For example, one page of CMYK compressed image data is stored in the image buffer (band memory). Is done. When CMYK image data is supplied, it is compressed as it is and stored in the image buffer. Thereafter, as described above, in accordance with the timing of the print engine, it is decompressed by the image processing apparatus and supplied to the print engine.
[0007]
However, color conversion of RGB image data for one page requires a certain processing time, and the CMYK image data subjected to such color conversion is temporarily compressed and stored in an image buffer, and then rasterized. In the method of performing the decompression process every time, it takes a long time to print. In particular, the color conversion process is an overhead time for the printing process, and causes a long time until the start of printing.
[0008]
SUMMARY OF THE INVENTION An object of the present invention is to provide an image processing apparatus for printing that solves the above-described conventional problems.
[0009]
It is another object of the present invention to provide an image processing apparatus for printing that can process both image data in a first color space such as RGB and image data in a second color space such as YMCK. is there.
[0010]
Furthermore, an object of the present invention is to process both image data in the first color space and image data in the second color space in an electronic printing apparatus having a print engine that prints in the second color space, An object of the present invention is to provide a printing image processing apparatus capable of supplying image data of a second color space to a printing engine.
[0011]
Furthermore, an object of the present invention is to process both image data in the first color space and image data in the second color space in an electronic printing apparatus having a tandem printing engine that prints in the second color space. Another object of the present invention is to provide an image processing apparatus for printing that can supply image data of the second color space to the print engine.
[0012]
[Means for Solving the Problems]
In order to achieve the above object, an image processing apparatus for printing according to the present invention decompresses both image data in a first color space such as RGB and image data in a second color space such as CMYK. And if the decompressed image data is image data in the first color space, the color data is converted into image data in the second color space and supplied to the print engine, and the decompressed image data is in the second color space. In the case of the image data, image data supply means for supplying the image data to the print engine without color conversion is provided.
[0013]
According to the above invention, both when the image data of the first color space is supplied from the host computer and when the image data of the second color space is supplied, the image data is once compressed and stored in the memory. The compressed image data is decompressed as it is by the printing image processing apparatus of the present invention, color-converted only in the case of the image data in the first color space, and supplied to the print engine as decompressed image data in the second color space. Accordingly, the time from the supply from the host computer to the internal decompression and the supply of the image data to the print engine is about the same as the image data in the second color space even in the case of the image data in the first color space. It becomes shorter and enables high-speed printing.
[0014]
To achieve the above object, the present invention is supplied with compressed image data for each color in the first or second color space, decompresses the compressed image data, and prints with toner in the second color space. In the printing image processing apparatus for supplying the decompressed image data to the print engine
The image data in the first color space includes at least four types of data including image data of at least red (R), green (G), and blue (B) and color conversion attribute data (X). The image data in the color space 2 includes at least four types of data of cyan (C), magenta (M), yellow (Y), and black (K).
A decompressor for decompressing the supplied compressed image data of the first or second color space;
A decompressed image data memory having a capacity for retaining decompressed image data of the first or second color space decompressed by the decompressor and retaining at least four types of data of the first color space;
In the case of the decompressed image data in the first color space, the decompressed image data in the first color space is read in parallel from the decompressed image memory, and color-converted into decompressed image data in the second color space, In the case of the decompressed image data of the second color space, the decompressed image data of the second color space corresponding to the color to be printed by the print engine is read from the decompressed image memory, and the second color space is not converted. Image data supply means for supplying decompressed image data in the color space to the print engine.
[0015]
To achieve the above object, the present invention is supplied with compressed image data for each color in the first or second color space, decompresses the compressed image data, and prints with toner in the second color space. In the printing image processing apparatus for supplying the decompressed image data to the print engine
A decompressor for decompressing the supplied compressed image data of the first or second color space;
A decompressed image data memory having a capacity for holding at least decompressed image data for the number of colors in the first color space and retaining decompressed image data in the first or second color space decompressed by the decompressor When,
In the case of the decompressed image data in the first color space, the decompressed image data in the first color space is read in parallel from the decompressed image memory, and color-converted into decompressed image data in the second color space, In the case of the decompressed image data of the second color space, the decompressed image data of the second color space corresponding to the color to be printed by the print engine is read from the decompressed image memory, and the second color space is not converted. Image data supply means for supplying decompressed image data in the color space to the print engine.
[0016]
To achieve the above object, the present invention is supplied with compressed image data for each color in the first or second color space, decompresses the compressed image data, and prints with toner in the second color space. In the printing image processing apparatus for supplying the decompressed image data to the print engine
A decompressor that decompresses the supplied compressed image data of the first or second color space, and a decompressed image data memory that retains the decompressed image data of the first or second color space decompressed by the decompressor And a plurality of decompression units corresponding to at least the number of colors in the first color space,
In the case of the decompressed image data of the first color space, the decompressed image data of the first color space is read in parallel from the decompressed image memory in the plurality of decompression units to decompress the second color space. In the case of color conversion into image data and decompressed image data in the second color space, the decompressed image data in the second color space is read from the decompressed image memory in the plurality of decompression units, and the color And image data supply means for supplying decompressed image data of the second color space to the print engine without conversion.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings. However, such an embodiment does not limit the technical scope of the present invention. The present invention relates to an image processing apparatus in an electronic printing apparatus. In the following description of embodiments, a page printer using a laser beam will be described as an example. However, the present invention is not limited to such a page printer.
[0018]
[First Embodiment]
FIG. 1 is a diagram illustrating a configuration of an electronic printing apparatus according to the first embodiment. An electronic printing apparatus 2 such as a page printer is connected to the host computer 1 via an input / output buffer 3. The electronic printing apparatus 2 includes a controller that processes image data described in a predetermined printing language supplied from the host computer 1 in addition to the print engine 12 that performs actual printing. The controller is a portion other than the print engine 12 and the host computer 1 in the figure, and includes a CPU 5, a memory 6 for storing an interpretation program for interpreting supplied image data, and a memory 7 for storing a compression / decompression program, for example, one page. An image buffer (band memory) 10 for storing the compressed image data for a portion, a memory 11 for storing a ROP (raster operation) program for performing image composition such as superimposing a plurality of images on the RGB image data, and A setting unit 9 for setting a printing position is provided, and these are connected via the system bus 4. The controller further includes an image processing device 20 that decompresses the compressed image data stored in the image buffer 10 and supplies the decompressed image data adapted to the print engine.
[0019]
Image data described in a predetermined printing language supplied from the host computer 1 is interpreted by the CPU 5 according to an interpretation program. Further, the CPU 5 compresses the image data for each raster, for example, according to a compression / decompression program. The compressed image data is stored in the image buffer 10 in raster units for each color in the color space.
[0020]
In general, image data supplied from the host computer 1 may be image data in an RGB color space or image data in a CMYK color space that is a toner of a print engine. The print engine 12 such as a page printer uses CMYK toner. The electronic printing apparatus 2 in the present embodiment temporarily compresses image data in any color space, stores it in the image buffer 10, and decompresses it with the image processing apparatus 20. The image buffer 10 is composed of, for example, a DRAM that records compressed image data for one page. When RGB image data is supplied, the image data is decompressed in the image processing apparatus 20 and converted into image data in the CMYK color space. Then, the image processing apparatus 20 supplies the CMYK image data in accordance with the printing timing of the print engine 12.
[0021]
The image processing device 20 is an integrated circuit device formed by, for example, an ASIC (Application Specific Integrated Circuit). The image processing device 20 directly reads and decompresses compressed image data in the image buffer 10, and performs color conversion and printing as necessary. Supply the decompressed image data to the engine. The image processing apparatus 20 in the first embodiment includes a controller 30 that controls internal timing, and a direct memory access (DMA) controller that directly reads compressed image data in the image buffer 10 without going through the CPU 5. 21, a decompressor 22 that decompresses the read compressed image data, first and second decompressed image memories 24 and 25 that include high-speed memories such as SRAMs that store the decompressed image data, It has a print readout buffer 27 that reads out the decompressed image data from the first or second decompressed image memory 24, 25, and a converter 33 that performs color conversion from RGB image data to CMYK image data. The printing read buffer 27 and the converter 33 constitute image data supply means for supplying CMYK image data to the print engine 12.
[0022]
Further, the image processing apparatus 20 reads out the decompressed image data from the first or second decompressed image memory 24, 25 and supplies the decompression read buffer 29 to be supplied to the decompressor 22, and prints the image at any position in the raster. It has a print read timing register 32 for storing information on whether to do.
[0023]
For example, image data in the RGB color space is supplied from the host computer 1, compressed by the compression program 7, and stored in the image buffer 10 in color plane units and raster units.
[0024]
The DMA controller 21 continuously reads the compressed image data from the image buffer (band memory) 10 and supplies it to the decompressor 22. The speed of the DMA controller 21 only needs to be guaranteed so that the amount of data required by the decompressor 22 can be continuously supplied. The decompressor 22 normally decompresses compressed image data in units of one raster (print line), and the decompressed image data in units of raster is stored in either one of the first and second decompressed image memories 24 and 25 by the write buffer 23. Is written to. The decompression process performed by the decompressor 22 does not necessarily require decompression of one dot for each dot clock (or image clock) CLK of the print engine, and decompresses compressed image data for one raster within one raster time. do it. The dot clock CLK has a period obtained by dividing the period of the horizontal synchronization signal HSYNC, which is the scanning timing of the laser beam in the print engine 12 in the main scanning direction, by the number of dots in one raster.
[0025]
The decompressed image memories 24 and 25 are high-speed random access memories composed of, for example, SRAMs, etc., each having a capacity capable of storing a plurality of decompressed (for example, four) image data for each one raster, each having an arbitrary address. Can be read out at an arbitrary timing, and includes at least two sets of first and second decompressed image memories 24 and 25. The two sets of decompressed image memories 24 and 25 are physically separate memories, and can be read from the other while writing to either one.
[0026]
The print readout buffer 27 and the decompression readout buffer 29 are connected to the raster unit at a timing independent from the decompression processing timing of the decompressor 22 from the other one of the first or second decompressed image memories 24 and 25. Read the decompressed image data. The printing read buffer 27 reads the decompressed image data from the decompressed image memories 24 and 25 in accordance with the dot clock (HSYNC, CLK) which is the printing timing of the print engine 12, and in the case of CMYK image data, the print engine 12 is used as it is. Convert to that style and supply. In the case of RGB image data, the color is converted into CMYK image data by the converter 33 and supplied to the print engine 12. As will be described in detail later, the print read buffer 27 reads decompressed image data for each raster at each raster timing of the print engine 12 in response to a control signal from the controller 30, and the color conversion converter 33 and the print engine 12. Or the decompressed image data is repeatedly supplied to the color conversion converter 33 and the print engine 12 at each raster timing. The print read buffer 27 may read and supply decompressed image data at an arbitrary position in the raster according to information set in the print read timing register 32. Thereby, it is possible to print the print image by moving it by a predetermined amount in the print paper.
[0027]
The decompression read buffer 29 is used when the decompression algorithm of the decompressor 22 requires reference to the image data of the preceding raster. The decompression read buffer 29 reads decompressed image data in the decompressed image memories 24 and 25 made of SRAM at the timing of the memory and the bus width, converts it into the format of the decompressor 22 and supplies it at the timing of decompression processing. When the decompression read buffer 29 and the print read buffer 27 simultaneously read decompressed image data from the same decompressed image memories 24 and 25, the readout from both buffers is alternately performed, for example, by 8 bytes by time division. Convert to the data width and timing of the supply destination.
[0028]
The print engine 12 performs printing by driving, for example, a laser in accordance with the supplied CMYK decompressed image data. One sheet is printed for each color plane, and when printing of all the CMYK planes is completed, a color image is formed on the printing paper. Alternatively, in the case of the tandem system, printing is performed by supplying CMYK image data in parallel.
[0029]
The image processing device 20 in the first embodiment is an integrated circuit device formed by, for example, an ASIC (Application Specific Integrated Circuit). As described above, the image processing apparatus 20 includes the decompressed image memories 24 and 25 for storing the decompressed image data, the decompression timing by the decompressor 22, and the print engine 12 of the decompressed image data by the print read buffer 27. Can be controlled separately from the supply timing. Thereby, as will be described later, the resolution conversion processing of image data and the movement of the printing position on the printing paper can be performed relatively easily.
[0030]
In the first embodiment, as described above, CMYK image data corresponding to the toner color of the print engine 12 is supplied from the host computer 1 and RGB corresponding to the color of the application program in the host computer. Both the case where image data is supplied can be handled. Therefore, RGB compressed image data may be stored in the image buffer 10, or CMYK compressed image data may be stored.
[0031]
Accordingly, the image processing apparatus 20 has a configuration capable of processing both CMYK compressed image data and RGB compressed image data. That is, the two sets of decompressed image memories 24 and 25 provided in the image processing apparatus 20 can store decompressed image data for four colors, respectively. Accordingly, the write buffer 23 can write the decompressed image data separately for each color of CMYK or RGB in the decompressed image memories 24 and 25. Further, the print readout buffer 27 can read out the RGB decompressed image data from the decompressed image memories 24 and 25 in parallel from an arbitrary position at an arbitrary timing. The decompression read buffer 29 can read and supply decompressed image data for each color in accordance with the processing of the decompressor 22.
[0032]
For example, when image data in a postscript language is supplied, CMYK image data that has already undergone color conversion on the application side is supplied from the host computer 1. In this case, the electronic printing apparatus 2 compresses the CMYK image data corresponding to the supplied toner color as it is and stores it in the image buffer (band memory) 10. In the case of image data in the PostScript language, the color conversion processing is independently performed by the operator specified in the host computer 1 without depending on the color conversion processing by the electronic printing device 2, and the electronic printing device 2 is supplied. CMYK image data is simply printed as it is.
[0033]
On the other hand, when RGB image data is supplied from the host computer 1 as image data by a normal application program, the RGB image data is compressed as it is and stored in the image buffer (band memory) 10. Then, the image processing apparatus 20 decompresses each raster, and the color conversion converter 33 performs color conversion processing on CMYK image data and supplies the image data to the print engine 12.
[0034]
In this embodiment, in the case of RGB image data, attribute data X that specifies conversion processing such as specifying a conversion table used for color conversion processing is accompanied. Therefore, in the present embodiment, in the case of image data in the RGB color space, the image data is RGBX image data (including attribute data).
[0035]
When RGB image data by a normal application program or the like is supplied from the host computer 1, the RGB image data is stored in the image buffer 10, for example, a composite process such as superimposing RGB image data of a plurality of pages is electronically performed. This can be done in the printing device. Such an image composition function may be referred to as a raster operation (ROP), for example.
[0036]
In this way, when RGBX compressed image data is stored in the image buffer 10, if the image processing device 20 is configured to process only CMYK image data, RGBX image data for one page is stored in the image processing device. Before decompression processing in the image data 20, the color conversion unit 8 must convert the image data into CMYK image data. If the image processing apparatus 20 performs decompression processing one raster after the color conversion processing, a relatively long time is required for the color conversion processing before the decompression processing, and the overhead time required for printing becomes long.
[0037]
Therefore, in the first embodiment, the two sets of decompressed image memories 24 and 25 provided in the image processing apparatus 20 can store image data of four colors, respectively. That is, four RGBX compressed image data stored in the image buffer 10 are continuously read out within one raster period by the DMA controller 21 and decompressed by the decompressor 22 to decompress the decompressed image data of four colors. The data is written in one of the image memories 24 and 25 in the writing state. In the next raster period, the written RGBX decompressed image data is read out in parallel from the read-out memories 24 and 25 by the print readout buffer 27, and is converted from the RGBX image data by the color conversion converter 33. The image data is converted into any one of CMYK image data and supplied to the print engine 12. The converter 33 sets a color conversion table (not shown) according to the attribute data X, and converts the image data into one of CMYK image data one dot at a time using the color conversion table.
[0038]
According to the image processing device 20 described above, RGBX image data can be decompressed and color-converted in a raster unit in a pipeline manner, compared to the case where color conversion processing for one page is first performed. Thus, overhead time can be saved and the printing speed can be increased.
[0039]
When CMYK image data is stored in the image buffer 10, the image data is decompressed by the decompressor 22 and stored in the decompressed image memories 24 and 25, and the print readout buffer 27 reads it out without going through the converter 33. Directly to the print engine 12.
[0040]
Hereinafter, when the image processing apparatus 20 in the first embodiment shown in FIG. 1 performs image processing such as decompression on CMYK image data and supplies the image data to a single type print engine, When image data is supplied to a single print engine by performing decompression and color conversion image processing on RGBX image data, and image data is sent to a tandem print engine by performing image processing on CMYK image data. Will be described sequentially.
[0041]
FIG. 2 is a timing chart when image processing is performed on CMYK compressed image data stored in the image buffer (band memory) 10. FIG. 2A shows a horizontal synchronization signal HSYNC indicating the printing timing of the print engine 12 such as the raster periods R0 and R1. FIG. 2B shows a CMYK image memory in the image buffer 10, and in this example, the CMYK compressed image data is stored in one raster unit in the image buffer 10. That is, the image data CIDr0, CIDr1,. . . . In the area with a high address, K plane image data KIDrm-1 and KIDrm are stored. FIG. 2C shows reading by the DMA controller 21, decompression processing by the decompressor 22, and writing processing to the image memories 24 and 25 by the write buffer 23. FIGS. 2D and 2F show image data in the decompressed image memory in the writing state and the decompressed image memory in the reading state, respectively. FIG. 2 (f) shows the read processing of decompressed image data by the print read buffer 27 and the supply processing to the print engine 12.
[0042]
In the example of FIG. 2, it is assumed that the resolution of the image data is not changed. For each raster period R0, R1, the DMA controller 21 reads the compressed image data in the image buffer 10 in units of rasters and supplies the data to the decompressor 22 (process (c)). In the example of FIG. 2, C-plane image processing is shown, and cyan compressed image data CIDr0 is first read. The compressed image data CIDr0 is decompressed by the decompressor 22 in accordance with the decompression algorithm, and written to the decompressed image memory 24 in the written state by the write buffer 23 (process (c)).
[0043]
In the next raster period R1, the compressed image data CIDr1 of the next raster is read by the DMA controller 21, supplied to the decompressor 22, and written to the decompressed image memory 25 in a write state by the write buffer 23. At the same time, the printing read buffer 27 reads the stored decompressed image data CIDr0 for one raster from the decompressed image memory 24 in the read state, and supplies it directly to the print engine 12. The readout timing at this time is controlled by a control signal from the controller 30, and the decompressed image data area in the raster to be read out is set in the print readout timing register 32. The frequency of reading, the number of repetitions, and the like are controlled by a control signal from the controller 30, and the resolution can be changed as described above. Further, by setting a reading area according to the setting value of the print reading timing register 32 and controlling the reading timing, it is possible to move the print image in the printing paper. In any case, the read timing and supply timing of the print read buffer 27 are controlled at a timing independent of the decompression process.
[0044]
In the raster period R1, when the decompressor 22 needs to reference the image data of the preceding raster, the decompressed read buffer 29 causes the decompressed image data CIDr0 in the decompressed image memory 24 in the read state to be decompressed. And is supplied to the decompressor 22. The read timing of the decompression read buffer 29 is independent of the print read buffer 27. However, when both the buffers 27 and 29 need to read the same decompressed image data CIDr0 at the same time, they are read in a time division manner in a predetermined data unit (for example, 8 byte unit).
[0045]
Similar image processing is performed by the image processing apparatus 20 in the next raster. When image processing for one page of the C plane is completed, image processing for one page of the next M plane is performed, and image processing for one page of the Y plane and K plane is further performed. As a result, in the print engine 12, the CMYK toners are overprinted on the printing paper according to the latent images, and a color image is generated.
[0046]
FIG. 3 is a timing chart illustrating a case where image data is supplied to a single-type print engine by performing decompression and color conversion image processing on RGBX image data. (A)-(f) in the figure is the same as FIG. In the case of FIG. 3, in the image buffer 10, RGBX image data (where X is attribute data) are sequentially stored in raster units from a low address area to a high address area. That is, for the raster r0, R image data RIDr0, G image data GIDr0, B image data BIDr0, and X attribute data Xr0 are stored. These data lengths differ depending on each. Similarly, for the next raster r1, RGBX data is stored for one raster, and RGBX data for the last raster rm is stored in the final area.
[0047]
In the case of FIG. 3, all the RGBX image data is decompressed and supplied to the color conversion converter 27 within one raster period, so that, for example, image data CID for one raster of the C plane is supplied to the print engine 12. To do. Accordingly, the DMA controller 21, the decompressor 22, the write buffer 23, and the decompression read buffer 29 have a processing speed four times that of CMYK in FIG. 2, and have four types of image data within one raster period. Are processed respectively.
[0048]
In the raster period R0, the DMA controller 21 reads the RGBX image data (including the attribute data X) of the first raster r0 from the image buffer 10 and supplies it to the decompressor 22 (process (c)). The decompressor 22 decompresses each image data RIDr0, GIDr0, BIDr0, and Xr0 at a speed four times the video clock CLK determined from the horizontal synchronization signal HSYNC. Then, the write buffer 23 writes the decompressed image data RIDr0, GIDr0, BIDr0, and Xr0 to the corresponding areas in the decompressed image memory 24 in the writing state (process (c)).
[0049]
Similarly, in the next raster period R1, the DMA controller 21 reads the RGBX image data of the next raster r1 from the image buffer 10 and supplies it to the decompressor 22, which decompresses the video clock CLK by four times. The image data RIDr1, GIDr1, BIDr1, and Xr1 are decompressed at a speed. At this time, if the decompressor 22 needs to refer to the preceding image data of the previous raster, the decompressed read buffer 29 reads the decompressed image in the read state corresponding to the decompression processing timing of the decompressor 22. The image data RIDr0, GIDr0, BIDr0, and Xr0 are sequentially read from the memory 24 and supplied to the decompressor 22.
[0050]
The decompressed image data RIDr0, GIDr0, BIDr0, and Xr0 in the decompressed image memory 24 in the readout state are read out in parallel by the print readout buffer 27 and supplied to the converter 33 for color conversion. The color conversion converter 33 refers to the attribute data X and uses the corresponding color conversion table to convert the RGB image data into C plane image data CIDr0. This color conversion process is performed in units of dots in synchronization with the image clock CLK of the print engine. The color-converted image data CIDr0 is supplied to the print engine 12 and printed. At this time, the processing delay of the color conversion converter 33 occurs in the image data CIDr0 supplied to the print engine 12. Compared with the time required for the color conversion processing for one page before the decompression processing, The delay time is short.
[0051]
In the above example, the decompressed image memories 24 and 25 are configured to be able to store image data of four colors at the same time. Therefore, the print readout buffer 27 reads out RGBX data in parallel, and converts the color conversion converter 33. Can be supplied to. The color conversion converter 33 performs color conversion from RGB image data to any one of CMYK image data in units of dots corresponding to the printing speed of the print engine 12. Therefore, it is possible to increase the printing speed as compared with the case where the RGBX image data for one page is subjected to color conversion processing to CMYK in the previous stage of the image processing apparatus 20.
[0052]
FIG. 4 is a timing chart when image processing is performed on CMYK image data and image data is supplied to a tandem print engine. In the first embodiment shown in FIG. 1, the DMA controller 21, decompressor 22 and the like have the ability to process four image data within one raster period. However, when CMYK image data is stored in the image buffer 10 as shown in FIG. 2, the image data is decompressed and supplied to the print engine for each color plane. Therefore, in the case of CMYK image data, the capacity of the decompressor 22 or the like is not fully utilized.
[0053]
In the example of FIG. 4, the print engine 12 is of a tandem type that can perform printing for four colors in parallel, and the CMYK image data is decompressed within each raster period and the decompressed image memory 24. , 25, read in parallel, and supplied to the print engine 12.
[0054]
In the image buffer 10, color-converted CMYK compressed image data is continuously stored for each raster. That is, CMYK image data CIDr0, MIDr0, YIDr0, and KIDr0 are stored in that order for the raster r0, and the same applies to the next raster r1.
[0055]
In the raster period R0, the DMA controller 21 reads out the CMYK compressed image data CIDr0, MIDr0, YIDr0, and KIDr0 from the image buffer 10 in time series and supplies them to the decompressor 22 (process (c)). Therefore, the decompressor 22 decompresses the four compressed image data within one raster period. Then, the write buffer 23 writes the decompressed image data in one decompressed image memory 24 in the writing state (processing (c)).
[0056]
Similarly, in the next raster period R1, the DMA controller 21 reads CMYK compressed image data CIDr1, MIDr1, YIDr1, and KIDr1 of the next raster from the image buffer 10 in time series, and the decompressor 22 compresses these four compressions. Decompress the image data. Then, the write buffer 23 writes the decompressed image data in the decompressed image memory 25 that has been converted to the write state (processing (c)). At this time, if the decompressor 22 needs to refer to the image data of the previous raster, the decompression read buffer 29 has the image data CIDr0, MIDr0, decompressed from the decompressed image memory 24 in the read state. YIDr0 and KIDr0 are read and supplied according to the timing of the decompression process.
[0057]
During the raster period R0, the decompressed image data CIDr0, MIDr0, YIDr0, and KIDr0 of the four colors CMYK are stored in the image memory 24 so that they can be accessed in parallel. The buffer 27 can read image data of four colors from an arbitrary area at an arbitrary timing and supply it to the print engine 12. When the print engine 12 is a tandem engine capable of printing in parallel with respect to four colors, as shown in FIG. 4 (f1), the print read buffer 27 has four image data CIDr0, for example. , MIDr0, YIDr0, and KIDr0 are simultaneously supplied in parallel to enable high-speed printing.
[0058]
Also, depending on the operation timing of the four engines in the print engine 12, if it is necessary to gradually shift the supply of the four image data CIDr0, MIDr0, YIDr0, and KIDr0, printing is performed as shown in FIG. The read-out buffer 27 reads out the respective image data from the read-out image memory 24 at different times, and supplies the read image data to the print engine 12.
[0059]
By providing two sets of decompressed image memories for storing the decompressed image data, the readout timing for supplying the image data to the print engine 12 can be arbitrarily set independently of the decompression process, Image data can be supplied corresponding to various printing engines 12.
[0060]
In the first embodiment, it is also possible to process RGBX image data and supply the CMYK image data to the tandem engine in parallel. In that case, the color conversion converter 33 needs to be configured to convert the image data into four colors. For example, by providing four color conversion converters 33, it is possible to perform color conversion from RGBX image data in parallel to CMYK four-color image data. In this case, the processing in the image processing apparatus 20 is the same as the example in FIG. 3, and only the last color conversion processing is performed in parallel for four colors, and CMYK image data is simultaneously supplied to the print engine. Is done.
[0061]
In the first embodiment, one of the two sets of decompressed image memories 24 and 25 is used as a write memory after decompression, and the other is used as a read memory for printing. The read area, read frequency, etc. can be controlled independently of the decompression process. Therefore, as in the second embodiment described later, it is possible to freely change the resolution and print. Furthermore, by appropriately controlling the timing of reading by the print readout buffer 27 and the readout area, it is possible to appropriately move the print image on the printing paper for printing.
[0062]
FIG. 5 is a diagram illustrating processing of the image processing apparatus when there is no change in resolution. In this example, the image processing apparatus 20 processes compressed image data corresponding to a resolution of 600 dpi, generates image data corresponding to 600 dpi that is the resolution of the print engine 12, and supplies the image data to the print engine 12. In FIG. 2, (a) to (f) correspond to (a) to (f) in FIGS. Further, (g) shows image data to be printed by the print engine 12.
[0063]
The compressed image data IDr0 to IDr5 in units of raster stored in the image buffer (band memory) 10 is read by the DMA controller 21 at the timing of each raster, supplied to the decompressor 22, and compressed image data IDr0 to IDr0 to IDr0. IDr5 is decompressed (process (c)). The write buffer 23 alternately writes the decompressed image data into the decompressed image memories 24 and 25 (process (c)). The decompressed image memory 24 is indicated by SRAM # 0, and the decompressed image memory 25 is indicated by SRAM # 1. Next, the decompressed image memories 24 and 25 are switched between the writing state and the reading state in the next raster period, and the decompressed image data is alternately read from the decompressed image memories 24 and 25 by the print readout buffer 27 (processing). (F)). The print read buffer 27 supplies the read decompressed image data to the print engine 12 in synchronization with the print timing HSYNC (or dot clock CLK) (process (f)). When the decompressor 22 uses a decompression algorithm that requires reference to the image data of the preceding raster, the decompressed image memory reads the decompressed image data in a time-sharing manner together with the print readout buffer 27 by the decompression read buffer 29. 24 and 25.
[0064]
As shown in FIG. 5, while writing is being performed on one of the decompressed image memories 24 and 25, reading is performed from the other of the decompressed image memories 24 and 25. The frequency of both processes is the same.
[0065]
FIG. 6 is a diagram illustrating processing of the image processing apparatus when converting to a high resolution. In this example, the image processing apparatus 20 processes compressed image data corresponding to a resolution of 300 dpi, generates image data corresponding to 600 dpi, which is the resolution of the print engine 12, and supplies the image data to the print engine 12.
[0066]
In order to perform printing with a 600 dpi print engine, the image data IDr0 to IDr5 corresponding to the 300 dpi resolution is read from the image buffer 10 every other raster period, decompressed, and stored in the decompressed image memories 24 and 25 in the written state. Write. On the other hand, from the decompressed image memories 24 and 25 in a read state, the decompressed image data is read out for each raster period by the print readout buffer 27 and supplied to the print engine 12. The decompression read buffer 29 reads the decompressed image data in the decompressed image memories 24 and 25 in the read state and supplies the decompressed image data to the decompressor 22 only when the decompressor 22 performs the decompression process. When the printing read buffer 27 has a memory of one raster capacity, it is not necessary to read the decompressed image data twice.
[0067]
In addition, while the image data IDr1 is being decompressed, depending on the decompression algorithm, the decompressed image memory 24 (SRAM # 0) may be simultaneously read in a time-sharing manner by the print readout buffer 27 and the decompression readout buffer 29. .
[0068]
When the image data supplied from the host computer 1 has a higher resolution, in contrast to the above, reading from the decompressed image memories 24 and 25 in the read state and the print engine are compared with the frequency of decompression by the decompressor 22. The frequency of supply of image data to 12 is low. As a result, dot image data thinned out at a predetermined ratio from high-resolution image data is supplied to the print engine 12 to enable printing of low-resolution images.
[0069]
The controller 30 appropriately controls the DMA controller 21 and the print read buffer 27 when the resolution is changed.
[0070]
As shown in FIG. 6, the image processing apparatus 20 in the first embodiment is provided with at least two sets of decompressed image memories 24 and 25 for temporarily storing the decompressed image data, and writes in one of the memories. In the meantime, reading from the other memory is performed independently of the writing. With this configuration, the frequency of reading from the decompressed image memory in the read state and the frequency of writing to the decompressed image memory in the write state from the decompressor 22 can be controlled separately, and the resolution of the image data can be controlled. Changes can be made freely.
[0071]
FIG. 7 is a diagram for explaining a print image moving process in the printing paper. (A)-(f) in FIG. 7 respond | corresponds to 2-6 (a)-(f). In the image buffer (band memory) 10, image data IDr0, IDr1, and IDr2 compressed in raster units are stored for each color of CMYK. Since the raster unit image data is compressed image data, the data length is variable.
[0072]
The compressed image data in the image buffer 10 is read by the DMA controller 21 in the order of low address to high address in raster units, and supplied to the decompressor 22. The decompressor 22 decompresses the compressed image data for one raster within the raster period R0 defined by the horizontal synchronization signal HSYNC, and the write buffer 23 writes the decompressed image data to the decompressed image memory 24 in the written state. (Process (c)). During the decompression process of the decompressor 22, if necessary, decompressed image data of the preceding previous raster is read from the other readout memory 25 by the decompression read buffer 29, and the decompression process is performed. It is supplied to the decompressor 22 in the form of a decompression process according to the timing. The decompressor 22 decompresses image data compressed by a predetermined decompression algorithm while referring to the preceding raster image data.
[0073]
In the next raster period R1, the writing state and reading state of the decompressed image memories 24 and 25 are switched, and the decompressed image data IDr1 of the next raster is written in the decompressed image memory 25 in the writing state. The raster decompressed image data IDr0 is read from the decompressed image memory 24 in the read state by the print read buffer 27, and in a data format suitable for the print engine 12, corresponding to the print timing of the print engine 12, the print engine 12 To be supplied. This process is performed in synchronization with the timing of the dot clock CLK of the print engine 12. At the same time, the image data IDr0 is read from the decompressed image memory 24 by the decompression read buffer 29 if necessary for decompression processing.
[0074]
The print read buffer 27 refers to the print read timing register 32 that stores the print start position and end information supplied by the print position setting unit 9, and arbitrarily reads the decompressed image data in the decompressed image memory 24 in the read state. Are read from the position to an arbitrary position and supplied in accordance with the print timing of the print engine 12. The readout area of the image data in the raster and the supply timing of the image data to the print engine 12 are controlled independently of the decompression target image data and the decompression timing of the decompressor 22 by the information set in the register 32. The
[0075]
Therefore, in the case of normal printing (f1), all the image data IDr0 for one raster is read from the read-out memory 24 in the raster period determined by the horizontal synchronization signal HSYNC and supplied to the print engine 12 at normal timing. Is done.
[0076]
Further, when it is desired to move the print image to the left side of the print paper PP (f2), the print read buffer 27 uses the image data in the decompressed image memory 24 in the read state in the raster according to the set value of the register 32. From the middle region, image data on the back side in the raster is read out in synchronization with the first timing of the raster period R1. As a result, as shown in the drawing, the image on the right side of the raster is printed in the printing paper PP, and the image moves leftward in the printing paper PP. However, during the raster period R1, the next raster image data IDr1 is all decompressed within the raster period R1. The timing of the decompression process is independent of the read timing of the print read buffer 27 and the like. When it is necessary to refer to the image data of the previous raster in the decompression process, the decompression read buffer 29 reads the image data for one raster from the memory 24 in the readout state, and supplies it to the decompressor 22. That is, in the period of raster R1, the decompressor 22 decompresses the image data IDr1 for the next one raster, and the decompression read buffer 29 reads the previous one raster image data IRr0 and supplies it to the decompressor. The printing read buffer 27 reads the image data IDr0 of the latter half of one raster and supplies it to the print engine 12 in synchronization with the dot clock CLK.
[0077]
Further, when it is desired to move the print image to the right side of the print paper PP (f3), the print read buffer 27 sets the image data IDr0 in the decompressed image memory 24 in the read state in the raster according to the set value of the register 32. Is read out from the first area in synchronization with the first timing of the raster period R1, and image data up to the middle of the raster is read out. Then, a part of the image data IDr0 is supplied to the print engine 12. As a result, an image on the left side of the raster is printed in the printing paper PP as shown in the figure, and the image moves rightward in the printing paper PP. The operation of the decompression read buffer 29 in this case is the same as in the case of (f2) above.
[0078]
As described above, the two sets of decompressed image memories 24 and 25 that hold the decompressed image data are provided and controlled alternately in the writing state and the reading state, so that the printing read buffer 27 is independent of the decompression process. The image data in the independent raster area can be read out from the memories 24 and 25 in the read state and supplied to the print engine 12 at this timing. Accordingly, as shown in FIG. 7, image data in an arbitrary region can be supplied to the print engine 12 at an arbitrary timing for image data in the raster and printed. That is, a print image in an arbitrary area can be moved to an arbitrary position in the printing paper and printed without adversely affecting the decompression process.
[0079]
When RGBX image data is stored in the image buffer 10, any color data from RGBX image data to CMYK image data is converted by the color conversion converter 33 between the print buffer 27 and the print engine 12. Is converted to Accordingly, the printing read buffer 27 is controlled for the read timing in consideration of the time required for the color conversion.
[0080]
[Second Embodiment]
FIG. 8 is a view showing a part of the electrophotographic apparatus in the second embodiment. In the first embodiment, the decompressor 22 requires the ability to decompress four types of compressed image data within one raster period. Even when the attribute data X is not provided, the decompressor 22 must decompress the compressed image data of three colors of RGB. Therefore, in the second embodiment, two sets of decompressed image memories 24 and 25 are set, and at the same time, two sets of compressed image memories 34 and 35 for temporarily storing compressed image data, and four sets of decompression units 220 to 226. Have Similar to the decompressed image memories 24 and 25, the two sets of compressed image memories 34 and 35 are alternately controlled in a writing state and a reading state.
[0081]
As shown in FIG. 8, the decompression unit 220 includes a decompressor 22 for one color image data and decompressed image data 24 and 25, unlike the first embodiment. However, since the compressed image memories 34 and 35 are SRAM # 0, 1, the decompressed image memories 24 and 25 are SRAM # 2 and SRAM # 3. The other thawing units 222, 224, and 226 have the same configuration as the thawing unit 220 shown in the lower half of FIG. The decompression unit has a read buffer 38 for reading compressed image data from the compressed image memories 34 and 35 and supplying the compressed image data to the decompressor 22.
[0082]
Along with the provision of four sets of decompression units, compressed image memories 34 and 35 and a write buffer 39 are provided between the DMA controller 22 and those decompression units, one of which is in a writing state and the other is in a reading state. . Each of these compressed image memories 34 and 35 has at least a capacity for holding four sets of compressed image data for one raster. Similarly to the decompressed image memories 24 and 25, the compressed image memories 34 and 35 are alternately controlled in a writing state and a reading state.
[0083]
Also in the case of FIG. 8, the controller 30 is provided in the image processing apparatus 20 and controls the timing in the DMA controller 21, the DMA write buffer 39, and the decompression unit. The controller 30 is supplied with a horizontal synchronization signal HSYNC or a dot clock CLK corresponding to the timing of the print engine.
[0084]
When RGBX image data is stored in the image buffer 10, RGBX data is decompressed by the four decompression units 220 to 226, supplied to the color conversion converter 33, and color converted according to the attribute data X. Image data is supplied to the print engine 12. Also in the present embodiment, the print read buffer 27 and the converter 33 constitute image data supply means for supplying CMYK image data to the print engine 12.
[0085]
FIG. 9 is a diagram illustrating processing of the image processing apparatus when there is no change in resolution in the second embodiment. In this example, RGBX image data (or attribute data) is stored in the image buffer 10, and C-plane image data is supplied to the print engine 12.
[0086]
In the raster period R0, RGBX compressed image data IDr0 for one raster stored in the image buffer 10 is read by the DMA controller 21 and stored in the compressed image memory 34 in the written state by the DMA write buffer 39. (Process (c1)). Each of the compressed image memories 34 and 35 can store at least one raster of four types of data.
[0087]
Next, in the raster period R1, similarly, the compressed image data IDr1 of RGBX for one raster stored in the image buffer 10 is read by the DMA controller 21, and the writing state is compressed by the DMA write buffer 39. It stores in the image memory 35 (process (c1)). At the same time, the read buffer 38 in the decompression units 220 to 226 reads the compressed image data corresponding to RGBX from the compressed image memory 34 in the read state, and supplies it to the decompressor 22 in each decompression unit. Accordingly, the compressed image data IDr0 (RGBX) is decompressed in parallel by the decompressors 22 in the four decompression units, and written into the decompressed image memory 24 in the written state by the write buffer 23 in each unit. (Process (c4)).
[0088]
In the next raster period R2, the next compressed image data IDr2 is read by the DMA controller 21 and written to the compressed image memory 34 in the written state by the DMA write buffer 39 (process (c1)). Concurrently, RGBX compressed image data IDr1 is read out from the compressed image memory 35 in the read state by the read buffer 38, decompressed by the respective decompressors 22, and stored in the decompressed image memory 25 in the written state. Written (process (c4)). The RGBX decompressed data IDr0 stored in the decompressed decompressed image memory 24 is read out by the print readout buffer 27 and supplied in parallel to the color conversion converter 33 (process (f)). Similar to the first embodiment, the read and supply timings are controlled to an arbitrary timing independently of the decompression timing, and an arbitrary area is read and supplied. The color conversion converter 33 performs color conversion processing according to the attribute data X from the RGBX decompressed data, generates C (cyan) image data IDr0 (C), and supplies the image data IDr0 (C) to the print engine 12.
[0089]
In the raster period R2, the decompressor 22 decompresses the RGBX compressed image data IDr1, but when it is necessary to refer to the previous image data, the decompression read buffer 29 in the decompression unit is in the read state. The decompressed image data IDr0 is read in parallel from the decompressed image memory 24 (SRAM # 2) in accordance with the timing of the decompression process, and is supplied to the corresponding decompressor 22 respectively.
[0090]
As shown in FIG. 9, decompression of compressed image data and writing to decompressed image memories 24 and 25, reading from decompressed image memories 24 and 25, and supply to the print engine after color conversion are performed for each raster period. Each is done each time. Therefore, 600 dpi image data is supplied to the print engine 12 and printed with respect to RGBX image data having a resolution of 600 dpi.
[0091]
FIG. 10 is a diagram illustrating processing of the image processing apparatus when changing to a high resolution in the second embodiment. In this example, 600 dpi C-plane decompressed image data IDr0 (C) is generated from 300 dpi RGBX compressed image data IDr0 (RGBX). Therefore, the reading process of the DMA controller 21 and the decompressing process of the decompressing unit 22 in the decompressing unit are performed once every two raster periods, and the reading process of the print readout buffer 27 in the decompressing unit is performed every raster period. Done. Therefore, the printing read buffer 27 has a processing frequency twice that of the decompressor. When the resolution is lowered, the frequency of the above process is reversed. By providing two sets of the decompressed image memories 24 and 25 and setting one to the writing state and the other to the reading state, the above frequency can be easily changed.
[0092]
First, in the raster period R0, the compressed data IDr0 (RGBX) of RGBX is read by the DMA controller 21 and written into one compressed image memory 34 (processing (c1)). In the next raster period R1, the read buffer 38 in the decompression unit is supplied with the compressed data IDr0 from the corresponding compressed image memory 34 to the decompressor 22, decompressed, and written in the decompressed image memory 24 (processing ( c4)).
[0093]
In the next raster period R2, each decompressed image data (or attribute data X) is read from the decompressed image memory 24 (SRAM # 2) in the read state by the print readout buffer 27 and supplied to the color conversion converter 33. (Process (f)). Then, the color-converted image data IDr0 (C) is supplied to the print engine 12. In parallel, the compressed image data IDr1 (RGBX) of the next raster is read by the DMA controller 21 and written to the compressed image memory 35 in the written state.
[0094]
In the next raster period R3, the corresponding data IDr1 (RGBX) is read from the compressed image memory 35 (SRAM # 1) in the read state by the read buffer 38, supplied to each decompressor 22, and decompressed. At this time, if necessary, the previous decompressed image data IDr0 (RGBX) is read from the decompressed image memory 24 in the read state by the decompression read buffer 29 and supplied to the decompressor 22 in accordance with the decompression process. Is done. In the raster period R3, the printing read buffer 27 again reads the decompressed RGBX image data IDr0 (RGBX) from the decompressed image memory 24 in the readout state, and the color conversion converter 33 converts the image data into C plane image data. And supplied to the print engine 12. As a result, 600 dpi image data having a double resolution is supplied to the print engine 12.
[0095]
The compressed image data IDr2 (RGBX) of the next raster is also read out and decompressed in the same manner, and then color-converted twice and supplied to the print engine.
[0096]
Although not shown, also in the second embodiment, the printing paper as shown in FIG. 7 in the first embodiment is controlled by controlling the reading area and the reading timing by the print reading buffer 27. It is possible to print by moving the print image to any position.
[0097]
Next, in contrast to the first embodiment, image processing such as decompression is performed on the CMYK image data in the second embodiment, and the image data is supplied to a single-type print engine. A case where image data is supplied to a single print engine by performing decompression and color conversion image processing on RGBX image data, and a tandem print engine performing image processing on CMYK image data The case where image data is supplied to will be sequentially described.
[0098]
FIG. 11 is a timing chart in the case of performing image processing such as decompression on CMYK image data and supplying the image data to a single-type print engine. In this case, only the decompression unit corresponding to CMYK among the four decompression units 220 to 226 performs the decompression process. In this case, the compressed image data in the image buffer 10 is the same as in FIG.
[0099]
In the raster period R0, the DMA controller 21 reads compressed image data CIDr0 for one raster of the C plane from the image buffer 10 and writes it to the compressed image memory 34 (c1). Next, during the raster period R1, while the DMA controller 21 reads the next compressed image data CIDr1 and writes it into the compressed image memory 35 (c1), the read buffer 38 reads the image data CIDr0 from the compressed image memory 34 in the read state. And supplied to the decompressor 22. The decompressor 22 decompresses the compressed image data CIDr0 while referring to the image data of the previous raster as necessary, and writes it in the decompressed image memory 24 in the written state. In this decompression process, the decompression process is performed at the same speed as the video clock (or dot clock) CLK synchronized with the horizontal synchronization signal HSYNC.
[0100]
In the raster period R2, the print readout buffer 27 reads the decompressed image data CIDr0 from the decompressed image memory 24 in the readout state, and supplies the decompressed image data CIDr0 to the print engine 12. This reading and supplying are also performed at a constant speed with respect to the video clock (or dot clock).
[0101]
FIG. 12 is a timing chart when image data is supplied to a single-type print engine by performing decompression and color conversion image processing on RGBX image data. The RGBX compressed image data in the image buffer 10 is the same as in FIG.
[0102]
In the raster period R0, the DMA controller 21 reads the RGBX compressed image data RIDr0, GIDr0, BIDr0, and Xr0 of the raster r0 from the image buffer, and the DMA write buffer 39 stores the compressed image data in the written state. Write to each area of the memory 34 (c1).
[0103]
In the next raster period R1, the four decompression units read the corresponding compressed image data from the compressed image memory 34 in the read state, perform decompression processing, and write it into the decompressed image memory 24 (c4). In the third embodiment, unlike the second embodiment, four decompression units are provided in parallel, so that the decompressor 22 in each decompression unit is equal in speed to the video clock (dot clock) CLK. The decompression process can be performed. At this time, if necessary, the decompression read buffer 29 reads the image data from the decompressed image memory 25 and supplies it to each decompressor.
[0104]
In the next raster period R2, RGBX decompressed data is read from the decompressed image memory 24 in the four decompressing units and supplied to the color conversion converter 33 (f). Then, it is color-converted into C plane image data CIDr0 according to the attribute data X and supplied to the print engine 12. Supply to the print engine is also performed at a constant speed using a video clock (dot clock).
[0105]
FIG. 13 is a timing chart when image processing is performed on CMYK image data and image data is supplied to a tandem print engine. The compressed image data in the image buffer 10 in this case is the same as that in FIG.
[0106]
In the raster period R0, the DMA controller 21 reads CMYK compressed image data CIDr0, MIDr0, YIDr0, and KIDr0 for one raster from the image buffer 10, and the DMA write buffer 39 stores the image data in the compressed image memory 34. Are written in the corresponding areas (c1).
[0107]
In the next raster period R1, the read buffer 38 in each decompression unit reads the corresponding image data, and the decompressor 22 performs decompression processing. Then, the write buffer 23 writes the decompressed image data into the decompressed image memory 24 in the written state. These decompression processes are performed at a constant speed on the image clock (or dot clock) CLK in parallel by the four decompression units.
[0108]
In the next raster period R2, the printing read buffer 27 in each decompression unit reads the decompressed CMYK image data from the decompressed image memory 24 and supplies it to the print engine 12 at a predetermined timing (f). The read and supply timings by the print read buffer 27 are appropriately controlled according to the operation of the tandem print engine. The timing is controlled by the controller 30 as in the second embodiment.
[0109]
Although not shown, RGBX compressed image data can be decompressed and CMYK image data can be supplied to a tandem printing engine. In this case, as shown in FIG. 12, RGBX data is read from the image buffer 10, decompressed in parallel by the decompression unit, converted into CMYK image data by the color conversion converter 33, and the tandem printing engine 12. Are supplied at a predetermined timing.
[0110]
【The invention's effect】
As described above, according to the image processing apparatus of the present invention, the compression processing is performed on both the compressed image data in the first color space such as RGB and the compressed image data in the second color space such as CMYK. For image data in one color space, color conversion is performed to image data in the second color space after decompression processing. Therefore, even if image data of the first or second color space is supplied from the host computer, the decompression process can be performed in the same manner and supplied to the print engine, and the printing speed can be increased.
[0111]
According to the image processing apparatus of the present invention, by providing an image memory having a capacity for recording the decompressed image data for at least the colors of the first color space, the first color space such as RGB is provided. Image data can be read in parallel and color-converted into image data in a second color space such as CMYK. Therefore, the time required for color conversion is a speed synchronized with the dot clock, and the printing delay due to color conversion is small.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration of an electronic printing apparatus according to a first embodiment.
FIG. 2 is a timing chart when image processing is performed on CMYK compressed image data.
FIG. 3 is a timing chart illustrating a case where image data is supplied to a single-type print engine by performing decompression and color conversion image processing on RGBX image data.
FIG. 4 is a timing chart when image processing is performed on CMYK image data and image data is supplied to a tandem print engine.
FIG. 5 is a diagram illustrating processing of the image processing apparatus when there is no change in resolution.
FIG. 6 is a diagram illustrating processing of the image processing apparatus when converting to high resolution.
FIG. 7 is a diagram for explaining a print image movement process in a print sheet;
FIG. 8 is a diagram illustrating a configuration of an electronic printing apparatus according to a second embodiment.
FIG. 9 is a diagram illustrating processing of the image processing apparatus when there is no change in resolution in the second embodiment.
FIG. 10 is a diagram illustrating processing of the image processing apparatus when changing to a high resolution in the second embodiment.
FIG. 11 is a timing chart in the case where image processing such as decompression is performed on CMYK image data and image data is supplied to a single-type print engine.
FIG. 12 is a timing chart when image data is supplied to a single-type print engine by performing image processing for decompression and color conversion on RGBX image data.
FIG. 13 is a timing chart when image processing is performed on CMYK image data and image data is supplied to a tandem print engine.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Host computer, 2 Electronic printing apparatus, 10 Image data, 12 Print engine, 20 Image processing apparatus, 21 DMA controller, 22 Decompression machine, 24, 25 Decompression image memory, 27 Printing read buffer, 29 Decompression reading buffer, 33 Color conversion converter, 34, 35 Compressed image memory

Claims (3)

第1の色空間における色毎の圧縮画像データを解凍し、前記第2の色空間におけるトナーで印刷する印刷エンジンに当該第2の色空間の解凍画像データを供給する印刷用画像処理装置において、
前記第1の色空間の圧縮画像データであって、各ラスタの複数色のデータ長が互いに異なる圧縮画像データについて、前記各ラスタの複数色のデータを前記印刷エンジンの印刷タイミングの同期信号のサイクル内で順に同期信号の色数倍の速度で解凍する解凍器と、
前記解凍器により解凍された前記第1の色空間の解凍画像データを保持する解凍画像データメモリと、
前記印刷エンジンの印刷タイミングで、前記解凍画像データメモリから当該第1の色空間の解凍画像データを読み出して第2の色空間の解凍画像データに色変換し、当該第2の色空間の解凍画像データを前記印刷エンジンに供給する画像データ供給手段とを有し、
前記解凍器により、前記印刷タイミングの同期信号のサイクル毎に前記第1の色空間の全ての色の圧縮画像データが解凍されて前記解凍画像データメモリに保持され、前記画像データ供給手段により、前記印刷タイミングの同期信号に同期して前記第2の色空間の各色の解凍画像データが前記印刷エンジンに供給され
前記解凍器は、前記解凍画像データメモリに保存されている前ラスタの解凍画像データを参照しながら現ラスタの圧縮画像データを解凍することを特徴とする印刷用画像処理装置。
In a printing image processing apparatus that decompresses compressed image data for each color in a first color space and supplies the decompressed image data in the second color space to a print engine that prints with toner in the second color space.
The compressed image data of the first color space, and the compressed color data of each raster having different data lengths, the plurality of color data of each raster is converted to a cycle of a print timing synchronization signal of the print engine. A decompressor that decompresses at a speed that is twice the number of colors of the sync signal in sequence ,
A decompressed image data memory for storing decompressed image data of the first color space decompressed by the decompressor;
At the printing timing of the print engine, the decompressed image data in the first color space is read from the decompressed image data memory, converted into decompressed image data in the second color space, and the decompressed image in the second color space. Image data supply means for supplying data to the print engine;
The decompressor decompresses the compressed image data of all the colors in the first color space for each cycle of the synchronization signal of the printing timing, and stores the decompressed image data in the decompressed image data memory. The decompressed image data of each color in the second color space is supplied to the print engine in synchronization with a print timing synchronization signal ,
The image processing apparatus for printing , wherein the decompressor decompresses the compressed image data of the current raster while referring to the decompressed image data of the previous raster stored in the decompressed image data memory .
請求項1において、前記解凍画像データメモリには、少なくとも1ラスタ分の前記第1の色空間の解凍画像データが保持されることを特徴とする印刷用画像処理装置。  The printing image processing apparatus according to claim 1, wherein the decompressed image data memory holds decompressed image data of the first color space for at least one raster. 請求項1において、前記解凍画像データメモリには、少なくとも前記第1の色空間の色数分の解凍画像データが保持され、当該色数分の解凍画像データが読み出されることを特徴とする印刷用画像処理装置。  2. The printing method according to claim 1, wherein the decompressed image data memory stores at least decompressed image data corresponding to the number of colors in the first color space, and reads decompressed image data corresponding to the number of colors. Image processing device.
JP2003036256A 2003-02-14 2003-02-14 Image processing device for printing Expired - Fee Related JP4369137B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003036256A JP4369137B2 (en) 2003-02-14 2003-02-14 Image processing device for printing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003036256A JP4369137B2 (en) 2003-02-14 2003-02-14 Image processing device for printing

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP09507899A Division JP3660154B2 (en) 1999-04-01 1999-04-01 Image processing device for printing

Publications (2)

Publication Number Publication Date
JP2003300347A JP2003300347A (en) 2003-10-21
JP4369137B2 true JP4369137B2 (en) 2009-11-18

Family

ID=29398103

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003036256A Expired - Fee Related JP4369137B2 (en) 2003-02-14 2003-02-14 Image processing device for printing

Country Status (1)

Country Link
JP (1) JP4369137B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5393590B2 (en) * 2010-05-18 2014-01-22 京セラドキュメントソリューションズ株式会社 Image forming system and image forming apparatus

Also Published As

Publication number Publication date
JP2003300347A (en) 2003-10-21

Similar Documents

Publication Publication Date Title
JP3660154B2 (en) Image processing device for printing
US20070126850A1 (en) Image forming apparatus having plural image supporting bodies
JP4369137B2 (en) Image processing device for printing
JP3685234B2 (en) Image processing device
US6995862B1 (en) Image processing apparatus and method and computer program product
JP4115294B2 (en) Image processing apparatus and method
JP3554237B2 (en) Image processing apparatus and method
JP2002067399A (en) Printer controller
US20050140992A1 (en) Image output apparatus and image output method therefor, and program for implementing the method
JP3550979B2 (en) Image processing device
JP3757587B2 (en) Image processing apparatus, image output system, and image processing method
JP3695498B2 (en) Image processing device
JP2000295484A (en) Image processor for printing
JPH10222325A (en) Image forming device
JP2006245920A (en) Image forming device and image processing method
JPH09265367A (en) Device and method for printer control
JP2001287411A (en) Printer controller
JP2001236191A (en) Printer and image processor provided with the printer
JPH11232050A (en) Device and method for controlling print
JPH08123633A (en) Color image printing system
JP2004254187A (en) Information processor
JP2005151054A (en) Image expanding apparatus and method thereof, and image processing system
JPH1093813A (en) Recording device
JPH05284306A (en) Image forming device
JPH03284055A (en) Picture processor unit

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060314

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060515

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061003

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061130

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20061212

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20070202

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090827

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130904

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees