JP4183167B2 - Image processing apparatus for printing a monochrome image - Google Patents

Image processing apparatus for printing a monochrome image Download PDF

Info

Publication number
JP4183167B2
JP4183167B2 JP2002201353A JP2002201353A JP4183167B2 JP 4183167 B2 JP4183167 B2 JP 4183167B2 JP 2002201353 A JP2002201353 A JP 2002201353A JP 2002201353 A JP2002201353 A JP 2002201353A JP 4183167 B2 JP4183167 B2 JP 4183167B2
Authority
JP
Japan
Prior art keywords
data
color
image
dots
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002201353A
Other languages
Japanese (ja)
Other versions
JP2004048262A (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 JP2002201353A priority Critical patent/JP4183167B2/en
Publication of JP2004048262A publication Critical patent/JP2004048262A/en
Application granted granted Critical
Publication of JP4183167B2 publication Critical patent/JP4183167B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、画像データを、互いに大きさの異なる各種ドットの形成有無によって表現されたデータに変換する技術に関する。
【0002】
【従来の技術】
印刷媒体上に各色のインクによるドットを形成することによってカラー画像を印刷可能な印刷装置は、コンピュータで作成した画像やデジタルカメラで撮影した画像を出力するための機器として広く使用されている。これら印刷装置でより高画質な画像を得ようとする場合には、形成するドットの大きさを幾段階かに切り換え可能とし、これらドットを、画像データに応じて適切な割合で形成しながら印刷することが行われている。このように大きさの異なるドットを形成可能な印刷装置を、本明細書中では「バリアブルドットプリンタ」と呼ぶことにする。
【0003】
コンピュータで作成した画像データやデジタルカメラで撮影した画像データなど、バリアブルドットプリンタに入力される画像データは、通常はRGB画像データとなっており、バリアブルドットプリンタはこの画像データを、プリンタに備えられたインクによるドットの形成有無によって表現されたデータに一旦変換し、かかるデータに基づいて画像の印刷を行う。画像データの変換は、プリンタドライバと呼ばれる専用のプログラムを用いて、大まかには次のような手順によって行われる。先ず、R(赤色)G(緑色)B(青色)の各色によって表現されたRGB画像データを、プリンタに装着されたインクの色によって表現された画像データに変換する処理を行う。プリンタには、通常、C(シアン色)M(マゼンタ色)Y(イエロ色)K(ブラック色)の各色のインクが装着されている。これらインクに加えて、LC(淡シアン色)およびLM(淡マゼンタ色)のインクが装着される場合もある。かかる処理は、通常、色変換処理と呼ばれる。色変換は、色変換テーブル(LUT)を参照することによって行われる。色変換テーブルとは、R軸,G軸,B軸を直交3軸とする色空間内に格子点状に設定しておいた複数の座標点に、CMYKなどの各色の階調値を記憶した3次元の数表である。RGB画像データは色空間上の座標点として扱うことができるから、色変換テーブルの格子点に、該格子点のRGB画像データを変換すべきCMYK階調値を記憶しておけば、色変換テーブルを参照することによって迅速に色変換を行うことができる。
【0004】
次いで、得られたCMYK各色の画像データを、プリンタが形成可能な各種大きさのドットについての形成密度のデータに変換する処理を行う。すなわち、バリアブルドットプリンタは、複数種類の大きさのドットを形成可能であるから、RGB画像データを単にCMYK各色の画像データに変換しただけでは足らず、各色毎に画像データを、更に、各種大きさのドットについての形成密度に変換する処理を行う。理解の便宜から、ここではバリアブルドットプリンタが大中小の3種類のドットを形成可能であるものとして説明すれば、Cの画像データを、C色の大ドット,C色の中ドット,C色の小ドットの各ドットについての形成密度のデータに変換することになる。M,Y,Kの画像データについても同様に、各色毎に、大中小の各ドットについての形成密度のデータに変換する。こうして、各色毎に大中小の各ドットについての形成密度のデータが得られたら、これらデータに基づいて、各ドットの形成有無を判断し、該判断に従って、CMYK各色についての大中小ドットを印刷媒体上に形成することによって画像を印刷する。
【0005】
以上に説明したように、バリアブルドットプリンタでは、RGB画像データを一旦、CMYK各色の画像データに変換し、得られた各色の画像データを大中小の各ドットの形成密度のデータに変換している。このように2段階の変換を行うのでは変換に時間がかかってしまうので、CMYK各色の階調値に代えて、各色の大中小ドットの形成密度のデータを色変換テーブルの格子点に記憶しておくことが考えられる。RGB画像データを受け取ったら、こうしたテーブルを参照しながら色変換処理を行うことにより、CMYK各色の大中小ドットについての形成密度のデータに直接に変換してしまう。こうすれば、RGB画像データをCMYK各色の大中小ドットについての形成密度のデータに迅速に変換することがことが可能である。
【0006】
【発明が解決しようとする課題】
しかし、色変換テーブルに、大きさの異なる各種ドットについての形成密度のデータを記憶しようとすると、たいへんに大きな記憶容量が必要になると言う問題がある。例えば、プリンタが形成可能なドットの大きさが大中小の3種類とした場合でも、それだけで色変換テーブルに記憶されるデータ数は、格子点数の3倍ものデータ数になってしまう。色変換テーブルを記憶するためにあまりに多くの記憶容量が必要となったのでは、RGB画像データを変換する処理自体で使用可能なメモリ量を圧迫して、逆に処理速度を低下させてしまうおそれが生じる。
【0007】
この発明は、従来技術における上述の課題を解決するためになされたものであり、バリアブルドットプリンタにおいてRGB画像データを、大きさの異なる各種ドットについての形成密度に関するデータに、迅速に変換する技術の提供を目的とする。
【0008】
【課題を解決するための手段およびその作用・効果】
上述の課題の少なくとも一部を解決するため、本発明の画像処理装置は、次の構成を採用した。すなわち、
第1の表色系を構成する各色の階調値の組合せによって表現された画像データを、第2の表色系を構成する複数の色毎の、大きさの異なる複数種類のドットの形成の有無によって表現されたデータに変換する画像処理装置であって、
前記画像データの表現する画像をモノクロ画像として印刷するか否かを指定する単色画像指定手段と、
前記画像データを、前記第2の表色系に含まれるシアン,マゼンタ,イエロ,ブラック大きさの異なる複数種類のドットについてのそれぞれの形成密度を表すデータたるドット密度データに変換する画像データ変換手段と、
前記変換されたドット密度データを前記複数種類のドットの形成有無によって表現されたドットデータに変換するドット密度データ変換手段と
を備え、
前記画像データ変換手段は、
前記単色画像指定手段によって、前記画像データの表現する画像をモノクロ画像として印刷すると指定された場合に、前記画像データがカラー画像かモノクロ画像かを問わず、該画像データから輝度を表わす情報を抽出する輝度情報抽出手段と、
シアン,マゼンタ,イエロ,ブラック毎に大きさの異なる複数種類のドットについてのそれぞれの形成密度を表す前記ドット密度データと前記輝度を表わす情報との関係を、一次元のテーブルとして記憶した形成密度テーブルと、
前記形成密度テーブルを参照することにより、前記抽出した輝度を表わす情報に対応する前記ドット密度データを求める輝度情報変換手段と
を備えていることを要旨とする。
【0009】
また、上記の画像処理装置に対応する本発明の画像処理方法は、
第1の表色系を構成する各色の階調値の組合せによって表現された画像データを、第2の表色系を構成する複数の色毎の、大きさの異なる複数種類のドットの形成の有無によって表現されたデータに変換する画像処理方法であって、
前記画像データの表現する画像をモノクロ画像として印刷するか否かを指定する第1の工程と、
前記画像データを、前記第2の表色系に含まれるシアン,マゼンタ,イエロ,ブラック大きさの異なる複数種類のドットについてのそれぞれの形成密度を表すデータたるドット密度データに変換する第の工程と、
前記変換されたドット密度データを前記複数の種類のドットの形成有無によって表現されたドットデータに変換する第の工程と、
を備え、
前記第の工程は、
前記第1の工程によって、前記画像データの表現する画像をモノクロ画像として印刷すると指定された場合に、前記画像データがカラー画像かモノクロ画像かを問わず、該画像データから輝度を表わす情報を抽出する工程と、
シアン,マゼンタ,イエロ,ブラック毎に大きさの異なる複数種類のドットについてのそれぞれの形成密度を表す前記ドット密度データと前記輝度を表わす情報との関係を一次元のテーブルとして記憶した形成密度テーブルを参照することにより、前記抽出した輝度を表わす情報に対応する前記ドット密度データを求める工程と
を備えていることを要旨とする。
【0010】
かかる画像処理装置および画像処理方法においては、画像データから輝度に関する情報を抽出し、形成密度テーブルを参照することによって該抽出した輝度の情報を、ドット密度データに変換する。ここで、ドット密度データとは、ドットの大きさと色との組合せが異なる各種ドットについての形成密度を表すデータである。ドットの色としては、第2の表色系を構成する各色を少なくとも含んだ複数の色とすることができる。また、形成密度テーブルとは、輝度の階調値に対応付けて、該各種ドットについての形成密度を記録した数表である。輝度に関する情報は、画像データを構成する各色の階調値に、所定の演算を施すことで抽出することができる。所定の演算としては、例えば、各階調値の算術平均を行うなどの種々の方法を適用することができる。尚、ここで言う大きなドットは、小さなドットを複数個形成することによって形成することも可能である。
【0011】
こうして輝度に関する情報を、形成密度テーブルを参照してドット密度データに変換することとすれば、輝度の情報を迅速に変換することができる。画像データから輝度に関する情報を抽出する処理は迅速に行うことができるから、こうして輝度の情報を迅速に変換することができれば、画像データをドット密度データに変換する処理を迅速化することができ、延いては、画像データを該各種ドットの形成有無によって表現されたドットデータに、迅速に変換することが可能となる。
【0012】
もちろん、画像データの変換に際しては形成密度テーブルを記憶しておかなければならない。かかる形成密度テーブルには、ドットの大きさや色の各種組合せ毎に、ドットの形成密度を記憶しておく必要がある。しかし、これらドット密度データは、輝度の階調値に対応付けて記憶しておくだけで足りる。すなわち、形成密度テーブルは、高々、1次元の数表に過ぎず、このため、ドットの大きさや色の各種組合せ毎に形成密度を記録しても、さほど大きなデータ量とはならない。このことから、形成密度テーブルを利用して画像データを変換することとすれば、画像処理装置の記憶容量を圧迫して処理速度が低下すると言った問題が生じるおそれがない。
【0013】
加えて、かかる方法によれば、画像データの変換精度を容易に向上させることができるという利点もある。すなわち、変換精度を向上させるためには、ドット密度データが記憶されている輝度の階調値の点数を増やしてやることが効果的である。しかし、輝度の階調値の点数を増やせば、それに伴って、形成密度テーブルのデータ量が増加する。形成密度テーブルのデータ量があまりに大きくなると、画像処理装置の記憶容量を圧迫して画像データの変換に支障をきたすおそれがある。例えば、テーブルが3次元のテーブルであるとした場合は、各次元毎に階調値の点数を2倍に増やしただけで、全体のデータ量は8倍にも増加してしまう。しかし前述したように、形成密度テーブルは高々、1次元の数表に過ぎず、ドット密度データを記憶している輝度の階調値の点数を増やしても、テーブルのデータ量はさほど大きくならない。このことから、ドット密度データを記憶している輝度の階調値の点数を増やしてやることで、画像データの変換精度を容易に向上させることが可能である。
【0014】
画像データから輝度に関する情報を抽出するに際しては、前記第1の表色系を構成する各色の中の所定色の階調値を、該輝度に関する情報として抽出することとしてもよい。
【0015】
こうすれば、画像データから輝度に関する情報を、極めて迅速に抽出することができる。その結果として、画像データを変換する処理を迅速に行うことが可能となる。また、画像データが単色画像である場合には、第1の表色系を構成する各色の階調値は、互いに一致しているか、あるいは所定に比率となっている。このことから、かかる方法によれば、単色画像を表現した画像データを、迅速に且つ精度良くドットデータに変換することが可能である。
【0020】
上述の画像処理装置においては、画像データの変換に先立ち、次のようにして前記形成密度テーブルを生成することとしてもよい。先ず、前記第1の表色系を構成する各色の階調値の組合せに対応づけて、前記第2の表色系を構成する各色の階調値の組合せを予め記憶しておく。かかる組合せには、第2の表色系を構成する各色の階調値に加えて、他色の階調値を記憶しておいても良い。そして、前記輝度の複数の階調値の各々を、該第1の表色系による各色の階調値の組合せに変換する。かかる変換に際しては、該第1の表色系を構成する各色の階調値が所定比率であるという条件の下で、該輝度の階調値を、該第1の表色系による各色階調値の組合せに変換する。次いで、かかる第1の表色系による各色階調値を、前記記憶されている組合せを参照することによって、前記第2の表色系を構成する各色の階調値の組合せに変換する。ここで、該記憶されている組合せに、第2の表色系の各色階調値に加えて他色の階調値も記憶されている場合には、第1の表色系による各色階調値は、これら複数色の階調値の組合せに変換されることになる。
【0021】
こうして得られた第2の表色系の各色についての階調値を、前記大きさの異なる複数種類のドットについての形成密度に変換する。かかる変換には、例えば予め定めておいた所定の演算式を用いて行うなど、種々の方法を適用することができる。また、階調値を変換して得られる形成密度が各色毎に異なる場合には、かかる変換は各色毎に行うが、階調値を変換して得られる形成密度が色によって異ならない場合は、かかる変換は1つの色について行うこととしても良い。こうして得られた形成密度を、前記輝度の階調値に対応付けて記憶することによって、前記形成密度テーブルを生成することとしてもよい。
【0022】
以上のようにして、画像データの変換に先立ち、必要に応じて形成密度テーブルを生成することとすれば、形成密度テーブルを常に記憶しておく必要がなくなる。このため、画像処理装置の記憶容量を節約することができ、節約した容量を他の処理に活用することで、より高度な画像処理を行ったり、あるいは画像処理をより迅速に行うことが可能となるので好ましい。
【0023】
形成密度テーブルを生成可能な、かかる画像処理装置においては、前記第2の表色系を構成する各色の階調値を、前記大きさの異なる複数種類のドットについての形成密度に、次のようにして変換することとしても良い。すなわち、前記大きさの異なる複数種類のドットについての形成密度を、前記第2の表色系を構成する各色の階調値に対応づけて、形成密度対応表として予め記憶しておく。そして、前記第2の表色系の各色階調値が得られたら、かかる形成密度対応表を参照することにより、該階調値を形成密度に変換することとしても良い。
【0024】
こうすれば、第2の表色系の各色階調値を、大きさの異なる複数種類のドットについての形成密度に迅速に変換することができるので、形成密度テーブルを迅速に生成することができる。また、前記形成密度対応表に適切な形成密度を記憶しておけば、適切な形成密度テーブルを簡便に生成することが可能となるので好ましい。
【0025】
上述した各種の画像処理装置は、前記第1の表色系として赤色(R)と緑色(G)と青色(B)とによって構成される表色系によって表現された画像データを、前記第2の表色系として少なくともシアン色(C)とマゼンタ色(M)とイエロ色(Y)とを含む各色によって構成される表色系によるデータに変換する画像処理装置としても良い。
【0026】
画像データを印刷する場合など、RGB表色系によって表現されたデータを、CMY表色系を構成する各色のドット形成の有無により表現されたデータに変換しなければならない場合は少なくない。尚、ここで言うCMY表色系とは、少なくともC,M,Yを含んだ各色による表色系である。こうした場合に、かかる画像処理を用いれば、RGB表色系の画像データを、CMY表色系の各色による各種ドットの形成有無によって表現されたデータに、迅速に変換することが可能となるので好適である。
【0027】
また、上述した各種の画像処理装置は、第1の表色系を構成する各色の階調値の組合せによって表現された画像データを、第2の表色系を構成する各色を少なくとも含んだ各色による前記複数種類のドットについての、ドット形成の有無によって表現されたデータに迅速に変換することが可能である。従って、かかる画像処理装置は、複数種類のインクを用いて大きさの異なるドットを形成することで画像を印刷する印刷装置に適用すれば、画像データを迅速に変換することによって、画像印刷の迅速化を図ることが可能となるので好ましい。
【0028】
更に本発明は、上述した画像処理方法を実現するプログラムをコンピュータに読み込ませ、コンピュータを用いて実現することも可能である。従って、本発明は次のようなプログラム、あるいは該プログラムを記憶した記録媒体としての態様も含んでいる。すなわち、上述の画像処理方法に対応する本発明のプログラムは、
第1の表色系を構成する各色の階調値の組合せによって表現された画像データを、第2の表色系を構成する複数の色毎の、大きさの異なる複数種類のドットの形成の有無によって表現されたデータに変換する方法を、コンピュータを用いて実現するためのプログラムであって、
前記画像データの表現する画像をモノクロ画像として印刷するか否かを指定する第1の機能と、
前記画像データを、前記第2の表色系に含まれるシアン,マゼンタ,イエロ,ブラック大きさの異なる複数種類のドットについてのそれぞれの形成密度を表すデータたるドット密度データに変換する第の機能と、
前記変換されたドット密度データを前記複数種類のドットの形成有無によって表現されたドットデータに変換する第の機能と、
コンピュータに実現させるプログラムであり
前記第の機能は、
前記第1の機能によって、前記画像データの表現する画像をモノクロ画像として印刷すると指定された場合に、前記画像データがカラー画像かモノクロ画像かを問わず、該画像データから輝度を表わす情報を抽出する機能と、
シアン,マゼンタ,イエロ,ブラック毎に大きさの異なる複数種類のドットについてのそれぞれの形成密度を表わす前記ドット密度データと前記輝度を表わす情報との関係を一次元のテーブルとして記憶した形成密度テーブルを参照することにより、前記抽出した輝度を表わす情報に対応する前記ドット密度データを求める機能と
を含むことを要旨とする。
【0029】
また、上述の画像処理装置に対応した印刷装置の発明は、
第1の表色系を構成する各色の階調値の組合せによって表現された画像データを受け取り、第2の表色系を構成する複数の色毎の、大きさの異なる複数種類のドットを形成することにより、印刷媒体上に画像を印刷する印刷装置であって、
前記画像データの表現する画像をモノクロ画像として印刷するか否かを指定する単色画像指定手段と、
前記画像データを、前記第2の表色系に含まれるシアン,マゼンタ,イエロ,ブラック大きさの異なる複数種類のドットについてのそれぞれの形成密度を表すデータたるドット密度データに変換する画像データ変換手段と、
前記変換されたドット密度データを前記複数種類のドットの形成有無によって表現されたドットデータに変換するドット密度データ変換手段と、
前記ドットデータに従って、前記複数種類のインクを用いて前記各種ドットを前記印刷媒体上に形成するドット形成手段と
を備え、
前記画像データ変換手段は、
前記単色画像指定手段によって、前記画像データの表現する画像をモノクロ画像として印刷すると指定された場合に、前記画像データがカラー画像かモノクロ画像かを問わず、該画像データから輝度を表わす情報を抽出する輝度情報抽出手段と、
シアン,マゼンタ,イエロ,ブラック毎に大きさの異なる複数種類のドットについてのそれぞれの形成密度を表わす前記ドット密度データと前記輝度を表わす情報との関係を一次元のテーブルとして記憶した形成密度テーブルと、
前記形成密度テーブルを参照することにより、前記抽出した輝度を表わす情報に対応する前記ドット密度データを求める輝度情報変換手段と
を備えていることを要旨とする。
【0030】
こうしたプログラム、あるいは記録媒体に記録されているプログラムをコンピュータに読み込ませ、該コンピュータを用いて上述の各種機能を実現すれば、第1の表色系によって表現された前記画像データを、第2の表色系を構成する各色を少なくとも含んだ各色による前記複数種類のドット形成の有無によって表現されたデータに、迅速に変換することが可能となるので好ましい。
【0031】
【発明の実施の形態】
本発明の作用・効果をより明確に説明するために、本発明の実施の形態を、次のような順序に従って以下に説明する。
A.発明の概要:
B.装置構成:
C.第1実施例の画像データ変換処理:
D.第2実施例の画像データ変換処理:
【0032】
A.発明の概要:
図1を参照しながら、本発明の概要について説明する。図1は、印刷システムを例にとって、本発明の概要を示した説明図である。図1に示した印刷システムは、画像処理装置としてのコンピュータ10と、カラープリンタ20等から構成されている。コンピュータ10は、デジタルカメラやカラースキャナなどの画像機器からRGBカラー画像の階調画像データを受け取ると、該画像データを、カラープリンタ20で印刷可能な各色ドットの形成有無により表現された印刷データに変換する。かかる画像データの変換は、プリンタドライバ12と呼ばれる専用のプログラムを用いて行われる。尚、RGB画像データは、コンピュータ10上で、各種アプリケーションプログラムを用いて作成することもできる。
【0033】
図1に例示したカラープリンタ20は、印刷媒体上に形成するドットの大きさを幾段階かに切り換え可能なバリアブルドットプリンタである。ここでは、各色毎に大ドット、中ドット、および小ドットの3種類のドットを形成可能であるものとして説明する。これに対応してプリンタドライバ12は、RGB画像データを、各色毎に大中小ドットについての形成有無によって表現されたデータに変換した後、印刷データとしてカラープリンタ20に供給する。
【0034】
プリンタドライバ12は、大まかには次のような処理を行うことにより、RGB画像データを印刷データに変換する。先ず、RGB画像データを受け取ると、その画像データをモノクロ印刷する設定かカラー印刷する設定であるかを判断する。画像データをカラー印刷する設定であった場合は、通常のプリンタと同様に、色変換処理を行ってRGB画像データをプリンタに搭載されたインクの色(C,M,Y,Kの各色)によって表現されたデータに変換する。色変換に際しては、前述した3次元の色変換テーブル(3D−LUT)を参照する。次いで、色変換によって得られた各色のデータを、大中小の各ドットについての形成密度のデータに変換する。
【0035】
これに対して画像データをモノクロ印刷する設定になっていると判断した場合には、画像データから画像の輝度に関する情報を抽出して、抽出した輝度データを、CMYK各色についての大中小ドットの形成密度のデータに一括して変換する。かかる変換に際しては、輝度の階調値に対して、CMYK各色についての大ドット、中ドット、小ドットの形成密度を記憶した1次元の数表(1D−LUT)を参照することによって行う。尚、ここではモノクロ印刷とカラー印刷とを切り換え可能であるものとして説明しているが、もちろんモノクロ印刷専用として、すべてのRGB画像データを輝度データに変換した後、大中小の各ドットについての形成密度のデータに変換しても構わない。
【0036】
以上のようにして、CMYK各色についての大中小ドットの形成密度のデータが得られたら、このデータにハーフトーン処理を行うことにより、各種ドットの形成有無によって表現されたデータに変換し、次いで、カラープリンタ20がドットを形成する順番を考慮して各種ドットを並べ変える処理(インターレース処理)を行う。こうして得られたデータを、印刷データとしてプリンタ20に出力する。
【0037】
このようにしてRGB画像データを印刷データに変換すれば、カラー印刷する場合には、CMYKの各色毎に大中小ドットの形成密度のデータに変換しなければならないものの、モノクロ印刷する場合には、画像データから抽出した輝度のデータを、各色の大中小ドットについての形成密度のデータに一括して変換することができる。後述するように、輝度データは画像データから簡単に抽出することができるので、輝度データから各種ドットの形成密度のデータに一括して変換すれば、画像データを迅速に変換することが可能となる。
【0038】
もちろん、輝度データを、大中小ドットについての形成密度のデータに一括して変換するためには、1次元の数表(1D−LUT)に大中小の各ドットの形成密度を記憶しておく必要がある。しかし、色変換の際に参照する数表とは異なり、輝度データの変換の際に参照する数表は1次元の数表なので、大中小の各ドットについての形成密度を記憶しても、多くの記憶容量が必要となることはない。こうした画像処理装置は、種々の態様を取ることができる。以下では、これら各種態様の画像処理装置について、実施例に基づき詳細に説明する。
【0039】
B.装置構成:
図2は、本実施例の画像処理装置としてのコンピュータ100の構成を示す説明図である。コンピュータ100は、CPU102を中心に、ROM104やRAM106などを、バス116で互いに接続して構成された周知のコンピュータである。
【0040】
コンピュータ100には、フレキシブルディスク124やコンパクトディスク126などからデータを読み込むためのディスクコントローラDDC109や、周辺機器とデータの授受を行うための周辺機器インターフェースPIF108、CRT114を駆動するためのビデオインターフェースVIF112等が接続されている。PIF108には、後述するカラープリンタ200や、ハードディスク118等が接続されている。また、デジタルカメラ120や、カラースキャナ122等をPIF108に接続すれば、デジタルカメラ120やカラースキャナ122で取り込んだ画像を印刷することも可能である。また、ネットワークインターフェースカードNIC110を装着すれば、コンピュータ100を通信回線300に接続して、通信回線に接続された記憶装置310に記憶されているデータを取得することもできる。
【0041】
図3は、第1実施例のカラープリンタ200の概略構成を示す説明図である。カラープリンタ200はシアン,マゼンタ,イエロ,ブラックの4色インクのドットを形成可能なインクジェットプリンタである。もちろん、これら4色のインクに加えて、染料濃度の低いシアン(淡シアン)インクと染料濃度の低いマゼンタ(淡マゼンタ)インクとを含めた合計6色のインクドットを形成可能なインクジェットプリンタを用いることもできる。尚、以下では場合によって、シアンインク,マゼンタインク,イエロインク,ブラックインク,淡シアンインク,淡マゼンタインクのそれぞれを、Cインク,Mインク,Yインク,Kインク,LCインク,LMインクと略称するものとする。
【0042】
カラープリンタ200は、図示するように、キャリッジ240に搭載された印字ヘッド241を駆動してインクの吐出およびドット形成を行う機構と、このキャリッジ240をキャリッジモータ230によってプラテン236の軸方向に往復動させる機構と、紙送りモータ235によって印刷用紙Pを搬送する機構と、ドットの形成やキャリッジ240の移動および印刷用紙の搬送を制御する制御回路260とから構成されている。
【0043】
キャリッジ240には、Kインクを収納するインクカートリッジ242と、Cインク,Mインク,Yインクの各種インクを収納するインクカートリッジ243とが装着されている。キャリッジ240にインクカートリッジ242,243を装着すると、カートリッジ内の各インクは図示しない導入管を通じて、印字ヘッド241の下面に設けられた各色毎のインク吐出用ヘッド244ないし247に供給される。各色毎のインク吐出用ヘッド244ないし247は、こうして供給されたインクを用いてインク滴を吐出して、印刷媒体上にインクドットを形成する。
【0044】
制御回路260は、CPU261とROM262とRAM263等から構成されており、キャリッジモータ230および紙送りモータ235の動作を制御することによってキャリッジ240の主走査と副走査とを制御する。また、各色毎のインク吐出用ヘッド244ないし247の各ノズルからインク滴が適切なタイミングで吐出されるように、コンピュータ100から供給される印刷データに基づいてノズルの駆動タイミングを制御する処理も司っている。こうして、制御回路260の制御の下、印刷媒体上の適切な位置に各色のインクドットを形成することによって、カラープリンタ200はカラー画像を印刷することができる。
【0045】
尚、各色のインク吐出ヘッドからインク滴を吐出する方法には、種々の方法を適用することができる。すなわち、ピエゾ素子を用いてインクを吐出する方式や、インク通路に配置したヒータでインク通路内に泡(バブル)を発生させてインク滴を吐出する方法などを用いることができる。また、インクを吐出する代わりに、熱転写などの現象を利用して印刷用紙上にインクドットを形成する方式や、静電気を利用して各色のトナー粉を印刷媒体上に付着させる方式のプリンタを使用することも可能である。
【0046】
図4は、各色のインク吐出用ヘッド244ないし247の底面に、インク滴を吐出するノズルが形成されている様子を示した説明図である。図示するように、各色のインク吐出用ヘッドの底面には、各色毎のインク滴を吐出する4組のノズル列が形成されており、1組のノズル列は、48個のノズルがノズルピッチkの間隔を空けて千鳥状に配列されている。
【0047】
カラープリンタ200は、吐出するインク滴の大きさを制御することにより、印刷用紙上に形成されるインクドットの大きさを制御することができる。以下、カラープリンタ200で大きさの異なるインクドットを形成している方法について説明するが、その準備として、先ず、各色インクを吐出するノズルの構造について説明する。
【0048】
図5(a)は各色インクを吐出するノズルの内部構造を示した説明図である。各色のインク吐出用ヘッド244ないし247には、このようなノズルが複数設けられている。図示するように、各ノズルにはインク通路255と、インク室256と、インク室の上にピエゾ素子PEとが設けられている。キャリッジ240にインクカートリッジ242,243を装着すると、カートリッジ内のインクがインクギャラリ257を経由して、インク室256に供給される。ピエゾ素子PEは、周知のように電圧を印加すると、結晶構造が歪んで極めて高速に電気−機械エネルギの変換を行う素子である。本実施例では、ピエゾ素子PEの両端に設けられた電極間に所定波形の電圧を印加することで、インク室256の側壁を変形させる。その結果、インク室256の容積が減少し、容積の減少分に相当するインクがインク滴IpとなってノズルNzから吐出される。このインク滴Ipがプラテン236に装着された印刷用紙Pに染み込むことで、印刷用紙上にインクドットが形成される。
【0049】
図5(b)は、ピエゾ素子PEに印加する電圧波形を制御することで、吐出するインク滴の大きさを変更する原理を示した説明図である。ノズルからインク滴Ipを吐出するためには、ピエゾ素子PEに負の電圧を印加してインクギャラリ257からインク室256内に一旦インクを吸入し、その後、ピエゾ素子PEに正電圧を印加してインク室容積を減少させて、インク滴Ipを吐出させる。ここで、インクの吸引速度が適正であればインク室容積の変化量に相当するインクが流入するが、吸引速度が速すぎると、インクギャラリ257とインク室256との間には通路抵抗があるためにインクギャラリ257からのインクの流入が間に合わなくなる。その結果、インク通路255のインクがインク室内に逆流して、ノズル付近のインク界面が大きく後退した状態となる。図5(b)に実線で示した電圧波形aは、適正な速度でインクを吸引する波形を示し、破線で示した電圧波形bは適正速度より大きな速度で吸引する波形の一例を示している。
【0050】
充分なインクがインク室256内に供給された状態で、ピエゾ素子PEに正電圧を印加すると、インク室256の容積減少に相当する体積のインク滴IpがノズルNzから吐出される。これに対して、インクの供給量が不足してインク界面が大きく後退した状態で正電圧を印加すると、吐出されるインク滴は小さなインク滴となる。このように、本実施例のカラープリンタ200では、インク滴の吐出前に印加する負の電圧波形を制御してインクの吸引速度を変更することで、吐出するインク滴の大きさを制御し、大ドット,中ドット、小ドットの3種類のインクドットを形成することが可能となっている。
【0051】
もちろん、3種類に限らずより多種類のドットを形成することも可能である。更には、微細なインク滴を一度に複数吐出して、吐出するインク滴の数を制御するといった方法を用いて、印刷用紙上に形成されるインクドットの大きさを制御してもよい。
【0052】
以上のようなハードウェア構成を有するカラープリンタ200は、キャリッジモータ230を駆動することによって、各色のインク吐出用ヘッド244ないし247を印刷用紙Pに対して主走査方向に移動させ、また紙送りモータ235を駆動することによって、印刷用紙Pを副走査方向に移動させる。制御回路260は、印刷データに従って、キャリッジ240の主走査および副走査を繰り返しながら、適切なタイミングでノズルを駆動してインク滴を吐出する。こうして、各色インクのドットを、印刷用紙上の適切な位置に形成することによって、カラープリンタ200は印刷用紙上にカラー画像を印刷している。
【0053】
C.第1実施例の画像データ変換処理:
図6は、本実施例の画像処理装置としてのコンピュータ100が、受け取ったRGB画像データに所定の画像処理を加えることにより、印刷データに変換する処理の流れを示すフローチャートである。かかる処理は、コンピュータ100のオペレーティングシステムがプリンタドライバ12を起動することによって開始される。以下、図6に従って、第1実施例の画像データ変換処理について説明する。
【0054】
プリンタドライバ12は、画像データ変換処理を開始すると、先ず初めに、変換すべきRGBカラー画像データの読み込みを開始する(ステップS100)。次いで、取り込んだ画像データの解像度を、カラープリンタ200が印刷するための解像度に変換する(ステップS102)。カラー画像データの解像度が印刷解像度よりも低い場合は、線形補間を行うことで隣接画像データ間に新たなデータを生成し、逆に印刷解像度よりも高い場合は、一定の割合でデータを間引くことによって画像データの解像度を印刷解像度に変換する。
【0055】
こうして解像度を変換すると、モノクロ印刷を行う設定になっているか否かを判断する(ステップS104)。モノクロ印刷、すなわち単色の画像を印刷しようとする場合は、プリンタの操作者がコンピュータ100の画面上からプリンタドライバ12に予めその旨を設定しておく。設定内容はRAM106の所定番地に記憶されており、プリンタドライバ12はRAM106から設定内容を読み出して、モノクロ印刷を行う設定になっているか否かを判断する。
【0056】
モノクロ印刷を行う設定になっていない場合(ステップS104:no)は、通常のカラープリンタと同様にしてRGB画像データを印刷データに変換する。これに対してモノクロ印刷を行う設定になっている場合(ステップS104:yes)は、RGB画像データを後述する方法を用いて印刷データに変換することにより、迅速な変換を可能としている。以下では、モノクロ印刷時の変換方法およびかかる変換方法を採用することによって迅速な変換が可能となる理由について説明するが、その準備として、先ず通常のカラー印刷を行う場合に処理について簡単に説明しておく。
【0057】
(1)カラー印刷の場合:
ステップS104において、モノクロ印刷を行う設定になっていないと判断された場合は、RGB画像データに対して色変換処理を行う(ステップS106)。色変換処理とは、次のような処理である。RGB画像データは、いわゆる光の三原色と呼ばれるR(赤色),G(緑色),B(青色)の3色の画像を合成することによってカラー画像を表現している。これに対して、通常のカラープリンタは、インクの三原色と呼ばれるC(シアン色),M(マゼンタ色),Y(イエロ色)の3色を基本として、これにK(ブラック色)など他の色を適宜組み合わせることによってカラー画像を表現する。本実施例のカラープリンタ200では、C,M,Y,Kの4色のインクを用いてカラー画像を表現している。このように入力された画像データとプリンタに出力すべき画像データとでは、カラー画像を表現するための基本となる色の組合せ(いわゆる表色系)が異なっていることから、カラー画像データの表色系を変換してやる必要が生じる。このような表色系の変換は、色変換処理と呼ばれている。
【0058】
表色系の変換は非線形性の強い変換であり、解析的に変換しようとするとたいへん大きな計算量が必要となる。そこで、通常は、色変換テーブルと呼ばれる3次元の数表を参照しながら変換する方式が採用されている。図7は、3次元の色変換テーブル(3D−LUT)を概念的に示した説明図である。図7に示すように、色変換テーブルは、R軸,G軸,B軸を直交3軸とする色空間内に取った一辺の長さが「255」の色立体を格子状に細分し、各格子点にC,M,Y,K各色の階調値を記憶したテーブルと考えることができる。尚、ここでは、各格子点に記憶されているデータは、C,M,Y,K各色の階調値であるものとして説明するが、カラープリンタ200にLC,LMなどのインクが搭載されている場合は、各格子点にこれらLC,LMなどの階調値を記憶可能であることは言うまでもない。
【0059】
色変換処理では、このような色変換テーブルを参照しつつ、必要に応じて補間演算を行うことによって、RGB階調値で表現された画像データを、C,M,Y,Kの各色階調値で表現された画像データに色変換する。例えば、R画像の階調値がRA、G画像の階調値がGA、B画像の階調値がBAであるようなRGB画像データを色変換する場合は、色空間上の座標値(RA,GA,BA)の周囲にある格子点を検出し、これら格子点に記憶されているC,M,Y,K各色の階調値を読み出す。こうして読み出した階調値から補間演算することによって、RGB画像データに対応するCMYKの画像データを得ることができる。
【0060】
こうして色変換処理を行うことにより、RGB画像データはC,M,Y,K各色の階調値のデータに変換される。そこで、こうして得られた階調データに基づいて、大ドット,中ドット,小ドットの形成密度のデータに変換する処理を行う(ステップS108)。すなわち、前述したように本実施例のカラープリンタ200は、C,M,Y,Kの各色毎に大中小の3種類のドットを形成可能であることから、これらドットをどのような密度で形成すればよいかを、各色階調値に基づいて決定する処理を行うのである。
【0061】
CMYK各色の階調値を大中小ドットの形成密度のデータに変換する処理は、形成密度テーブルを参照することによって行う。図8は、形成密度テーブルを概念的に示した説明図である。図示するように形成密度テーブルには、各色の階調値に対して、大中小の各種ドットの形成密度のデータが記憶されている。こうしたテーブルを参照することで、CMYKの階調値を大中小の各種ドットについての形成密度のデータに変換することができる。例えば、Cの階調値が「da」であったとすると、形成密度テーブルを参照することにより、小ドットの形成密度を「sa」と求めることができる。中ドット、大ドットの形成密度はいずれも「0」となる。また、Cの階調値が「db」である場合は、小ドットの形成密度「sb」、中ドットの形成密度「mb」、大ドットの形成密度「0」と求めることができる。M,Y,Kなどの他色についても全く同様にして階調データを形成密度のデータに変換することができる。また、C,M,Y,K各色の形成密度テーブルは、全く同じものを用いることができる。もちろん、各色毎に専用のテーブルを用いて変換することとしても構わない。
【0062】
以上のようにして、C,M,Y,K各色の階調データを、大中小の各種ドットについての形成密度のデータに各色毎に変換したら、階調数変換処理を行う(ステップS114)。すなわち、ドットの形成密度のデータは、「0」から「255」までの値を取る256階調のデータである。これに対して、カラープリンタ200は、大中小のいずれのドットについても、ドットを「形成する」か「形成しない」かの2つの状態しか取り得ない。そこで、256階調を有する形成密度のデータを、各種ドットの形成有無に対応した2階調のデータに変換する必要がある。階調数変換処理では、このように256階調の形成密度のデータを、ドットの形成有無に対応した2階調のデータに変換する処理を行う。こうした階調数変換の手法には、誤差拡散法やディザ法などの種々の手法が知られており、本実施例ではいずれの手法も適用することができる。
【0063】
階調数変換処理に続いて、インターレース処理を行う(ステップS116)。インターレース処理とは、大中小の各種ドットの形成有無を表す形式に変換された画像データを、ドットの形成順序を考慮しながらカラープリンタ200に転送すべき順序に並べ替える処理である。こうして最終的に得られたデータを、プリンタドライバ12は、印刷データとしてカラープリンタ200に出力する(ステップS118)。カラープリンタ200は、印刷データに従って、各色のインクドットを印刷媒体上に形成する。その結果、画像データに対応したカラー画像が印刷用紙上に印刷される。
【0064】
(2)モノクロ印刷の場合:
図6のステップS104において、モノクロ印刷を行う設定になっていると判断された場合は、RGB画像データを次のようにして変換する。こうすることにより、CMYK各色毎に大中小の各種ドットの形成有無によって表現されたデータに迅速に変換することが可能となる。以下、図6のフローチャートに従って説明する。
【0065】
ステップS104においてモノクロ印刷を行う設定になっていると判断された場合は(ステップS104:yes)、RGB画像データから輝度情報を抽出する処理を行う(ステップS110)。画像データに含まれる輝度情報は、R,G,Bの各色階調値の平均値を算出することにより、あるいは各色階調値に所定の演算を施すことによって簡単に抽出することができる。また、RGB画像データが白黒画像のデータとなっている場合には、R,G,B各色の階調値は同じ値となっているので、いずれか1色の階調値を輝度情報と読み替えることも可能である。もちろん、RGB画像データが白黒画像ではないが、所定の色相を有する単色画像となっている場合、R,G,B各色の階調値は同じ比率をとるので、この場合もいずれか1色の階調値を輝度情報として読み替えることが可能である。このように、いずれか1色の階調値を輝度情報と読み替えることとすれば、各色の平均値を算出する必要がないので、輝度情報を抽出する処理を迅速に行うことができる。これに対して、RGB各色の平均値を算出することとすれば、RGB画像データがカラー画像を表現したデータである場合にも、輝度情報を適切に抽出することができるので、モノクロ印刷を適切に行うことが可能となる。
【0066】
次いで、抽出した輝度情報のデータを、大中小の各種ドットの形成密度のデータに変換する処理を行う(ステップS112)。輝度データから各種ドットの形成密度データへの変換は、プリンタドライバ12に予め記憶されている1次元の変換テーブルを参照することによって行う。図9は、変換に際して参照する変換テーブルを概念的に示した説明図である。図9では、変換テーブルの一部を拡大して表示している。図示するように、変換テーブルには、C,M,Y,K各色について大中小の各種ドットの形成密度のデータが、輝度データの階調値に対応付けて記憶されている。例えば、輝度データの階調値「1」に対しては、K色の大ドットの形成密度として階調値「247」が記憶され、K色の中ドットの形成密度としては階調値「8」が、小ドットの形成密度として階調値「0」が記憶されている。また、C,M,Yの各色については、中ドットの形成密度は階調値「5」が記憶され、大ドットおよび小ドットについては、階調値「0」が記憶されている。同様に、例えば輝度データの階調値「254」に対しては、C,M,Yの各色の中ドットの形成密度として階調値「4」が記憶され、大ドットおよび小ドットの形成密度としては階調値「0」が記憶されている。また、K色の大中小の各ドットについては、いずれも階調値「0」が記憶されている。
【0067】
図10は、変換テーブルに設定されている各種ドットの形成密度が、輝度データに応じて変化する様子を概念的に示した説明図である。図示するように、輝度データの階調値が大きい場合(すなわち、画像が明るい場合)には、C,M,Y各色の小ドットのみを形成する。輝度データの階調値が最大値255の場合は、いずれのドットも形成されてない。輝度データが小さくなるに連れて(画像が暗くなるに連れて)、C,M,Y各色の小ドットの形成密度が増加していき、形成密度が階調値「255」に達したら、今度は中ドットの形成が開始される。ここで、形成密度の階調値「255」とは、全ての画素にドットが形成されている状態を意味している。中ドットを形成するに連れて、小ドットの形成密度は減少していく。こうして、小ドットを中ドットに置き換えて行けば、画像を暗く(輝度データの階調値を小さく)していくことができる。
【0068】
C,M,Y各色の中ドットの形成密度がある程度まで増加したら、今度はK色の小ドットの形成を開始する。K色の小ドットの形成を開始するに伴って、C,M,Yの中ドットの形成密度は次第に減少していくが、小ドットの形成密度は再び増加し始める。輝度データの階調値が小さくなるに従って、K色の小ドットの形成密度は次第に増加して行き、最大値255に達したら、K色の小ドットの形成密度は減少に転じ、代わりに中ドットの形成が開始される。K色の中ドットについても小ドットと同様に、輝度データの階調値が小さくなるに連れて形成密度が増加し、最大値255に達したら減少に転じて、今度はK色の大ドットの形成が開始される。こうして、輝度データの階調値が「0」、すなわち画像が最も暗くなった時点でK色の大ドットの形成密度は階調値「255」に達する。一方、C,M,Y各色の小ドットについては、輝度データの階調値が小さくなるに従って形成密度が増加していく。そして、最大値255に達したら今後は減少に転じ、輝度データが階調値「255」に達した時点で、C,M,Y各色の形成密度の階調値は「0」となる。図9に示した変換テーブルには、CMYK各色毎に小中大の各種ドットについての形成密度が、輝度データの階調値の変化に伴って図10に示したごとく増減するような階調値として記憶されている。
【0069】
こうした1次元の変換テーブルは、次のようにして設定されている。図11は、輝度データに対して各種ドットの形成密度データを対応付けて記憶した1次元変換テーブルを設定する方法を示した説明図である。先ず初めに、輝度の階調値に対してインク量のデータを設定する。すなわち、輝度が大きいとき(画像が明るいとき)には、少しだけインクを使用する。こうすれば印刷用紙の地色が勝って、明るい画像を表現することができる。インク量を増やしていけば、次第に画像は暗く、従って輝度は小さくなる。また、C,M,Yインクに代えてKインクを使用すれば、更に輝度の小さい(暗い)画像を表現することができる。図11(a)には、各色のインク量を示す階調データが、輝度データに対して設定されている様子を示している。
【0070】
こうして輝度データからインク量を決めてやると、このインク量から、大中小の各種ドットについての形成密度を決めることができる。すなわち、ドットの目立たない画質の良好な画像を得るためには、図8を用いて前述したように、インク量が少ないときにはドットの目立ちにくい小さなドットのみを使用し、インク量が多くなるに連れて中ドットの使用量を増やしていき、更にインク量が大きくなると大ドットの使用量を増やしていくことが効果的である。このことから、図11(a)を参照することによって輝度データに応じたインク量の階調データを決定し、次いで図8を参照することによりインク量の階調データに応じた各種ドットの形成密度データを決定することができる。
【0071】
例えば、輝度データの階調値が「255」付近の大きな値を取る場合を考えると、図11(a)を参照することにより、C,M,Y各色のインク量を示す階調データは階調値「0」付近の小さな値となる。次いで、図8を参照すれば、こうして求められた階調値に対する各種ドットの形成密度を求めることができる。このような小さな階調値に対しては小ドットのみが形成される。また、輝度データの階調値が「128」付近の値を取る場合は、C,M,Y各色のインク量を示す階調値は、図11(a)を参照して、階調値「128」付近の値となる。次いで、図8を参照することにより、こうした階調値に対する各種ドットの形成密度を求めることができる。結局、輝度データの階調値が「128」付近の値を取る場合は、小ドットと中ドットとが混在して形成されることになる。参考として、図11(a)の右側には、このようにインク量を示す階調値に応じて、小ドット、中ドット、大ドットの組合せを切り換えていく様子を示した。
【0072】
図11(b)および図11(c)は、このようにして図8を参照しながら、図11(a)に示す階調データを大中小ドットの形成密度のデータに変換した結果を示している。図11(b)は、輝度データに対して、C,M,Yインクの大中小ドットについての形成密度を示しており、図11(c)は、Kインクの大中小ドットについての形成密度を示している。ここでは代表例として、図11(b)について説明する。輝度データの階調値が大きい場合は、インク量の階調データは小さな値を取るので、小ドットのみが形成される。小ドットの形成密度は、輝度データの階調値が小さく(画像が暗く)なるに連れて増加する。輝度データの減少に伴ってインク量の階調データが増加し、ある階調値に達すると小ドットに置き換わるようにして中ドットが形成され始める。中ドットの形成密度は、輝度データの減少に従って増加していく。このように、輝度データの階調値が減少するに従って、インク量の階調データは増加し、これに伴ってドットの形成密度が増加しながら、形成するドットが小ドットから中ドットへと切り替わっていく。
【0073】
ところが輝度データがある階調値まで減少すると、Kインクが使用され始める。Kインクが使用され始めると、C,M,Y各色のインク量を示す階調データは、今度は、輝度データの階調値が減少するに連れて減少していく。これに伴って、ドットの形成密度は次第に減少しながら、形成するドットが中ドットから小ドットへと切り替わっていく。この様にして、輝度データに対するインク量の階調データを求め、この階調データから各種ドットについての形成密度データを求めていけば、図11(b)に示すような輝度データに対する各種ドットの形成密度データを、C,M,Y各色ごとに求めてやることができる。Kインクについても全く同様にして、輝度データに対する各種ドットの形成密度データを求めることができる。
【0074】
図6のステップS112では、こうした1次元の変換テーブルを参照することにより、輝度データをCMYK各色の大中小ドットについての形成密度のデータに変換する。こうして、C,M,Y,K各色の大中小ドットについての形成密度データが得られたら、後はカラー印刷の場合と同様にして印刷データを得ることができる。すなわち、階調数変換処理(ステップS114)を行って、各種ドットについてドットの形成有無により表現されたデータに変換し、次いでプリンタでドットが形成される順序を考慮してドットを並べ替える処理を行った後(ステップS116)、得られたデータを印刷データとしてカラープリンタ200に出力する(ステップS118)。
【0075】
以上に説明した第1実施例の画像データ変換処理においては、画像データから輝度情報を抽出した後、抽出した輝度データを図9および図10に示した1次元の変換テーブルを参照することによって、各種ドットの形成密度データに変換する。こうすることにより、輝度データを、これら各種ドットについての形成密度データに一度に変換することができる。これに対して、モノクロ印刷する場合も、カラー印刷の場合と同様に、RGB画像データを色変換してCMYK各色の画像データに一旦変換し、得られた画像データを各色毎に大中小ドットの形成密度のデータに変換していたのでは、変換に長い時間がかかってしまう。もちろん、第1実施例の画像データ変換処理においても、RGB画像データから輝度情報を抽出する処理が必要となるが、前述したように、輝度情報は極めて簡単に抽出することができる。従って、本実施例によれば、画像データの変換を迅速化させ、モノクロ印刷を迅速に行うことが可能となる。尚、1次元の変換テーブルに記憶されているドットの種類は、C,M,Y,Kの各色毎に大中小ドットの3種類ずつ、すなわち全部で12種類にもなる。また、図8に示すように変換テーブルには、階調値「0」から階調値「255」までの輝度データの全て階調値に対して、12種類のドットについての形成密度が記憶されている。このように、1次元の変換テーブルには多数の形成密度が記憶されているが、所詮は1次元のテーブルであって、図7に示した色変換テーブルのような3次元のテーブルに比べれば、全体のデータ量は遙かに小さなものとすることができる。
【0076】
C−1.第1実施例の変形例:
上述した第1実施例の変形例として、印刷する画像に単一の色調を付与して、いわゆるクール調あるいはウォーム調などの単色画像を印刷することも可能である。以下では、こうした変形例の画像データ変換処理について説明する。
【0077】
図12は、第1実施例の変形例の画像データ変換処理の流れを示すフローチャートである。変形例の画像データ変換処理は図6を用いて前述した第1実施例の画像データ変換処理に対して、色調付与処理を行う点が大きく異なっている。以下、かかる相違点を中心として変形例の処理について説明する。
【0078】
変形例の画像データ変換処理においても前述した第1実施例と同様に、先ず初めに、変換すべきRGBカラー画像データの読み込み(ステップS200)、次いで解像度の変換を行う(ステップS202)。
【0079】
その後、プリンタドライバ12の設定を読み出して、モノクロ印刷を行う設定になっているか否かを判断する(ステップS204)。プリンタドライバ12には、モノクロ印刷を行うか否かを示す情報や、モノクロ印刷する場合には色調を付与するのか否か、そして色調を付与する場合には、どのような色調をどの程度付与するかといった情報が予め設定されている。図13は、コンピュータ100の画面上からプリンタドライバ12に対して、付与する色調と付与する程度とを設定している様子を例示したものである。図13の例では、画面上でノブ140の位置を動かすことによって、これらを設定している。例えば、ノブ140の位置を「白黒」と表示された位置に合わせた場合には、色調を付与しない旨が設定される。また、ノブ140の位置を「クール調」と表示された方向に移動させるとクール調の色調が付与される。の図17の移動量が多くなるほど、色調を付与する程度が大きくなる。同様に、「セピア調」と表示された方向に移動させるウォーム調の色調が付与され、移動量が多くなるほど色調を付与する程度が大きくなる。
【0080】
ステップS204において、モノクロ印刷を行う設定になっていないと判断された場合は、通常のカラープリンタと同様にしてRGB画像データを印刷データに変換する。かかる変換は、図6を用いて前述した第1実施例と全く同様であり、ここでは説明を省略する。ステップS204において、モノクロ印刷を行う設定になっていると判断された場合は、RGB画像データから輝度情報を抽出する処理を行う(ステップS210)。次いで、抽出した輝度情報のデータを、大中小の各種ドットの形成密度のデータに変換する処理を行う(ステップS212)。輝度データから各種ドットの形成密度データへの変換は、前述した第1実施例と同様に変換テーブルを参照することによって行う。但し、テーブルに設定されている各種ドットの形成密度は、第1実施例とは異なった階調値が設定されている。
【0081】
図14は、変形例の画像データ変換処理中で参照される変換テーブルを概念的に示した説明図である。図中で太い線はK色の各種ドットについての形成密度を示し、図中で細い線はC,M,Y各色についての形成密度を示している。図示されているように、変形例の変換テーブルも、前述した第1実施例の変換テーブルと同様に、輝度データの階調値が大きい場合(すなわち、画像が明るい場合)には、C,M,Y各色の小ドットのみを形成し、輝度データの階調値が小さく(すなわち、画像が暗く)なるに従って、ドットの大きさおよび色を次々と切り換えていく。
【0082】
しかし、変形例の変換テーブルは、前述した第1実施例の変換テーブルとは異なり、各種ドットの形成密度データの階調値が「255」に達する前に、次々とドットが切り替わっている。従って、輝度データの階調値が「0」となる付近を除いて、形成密度の階調値が所定値以上には増加しない点が大きく異なっている。こうした変形例の変換テーブルは、次のようにして設定されている。図15(a)は、前述した図11(a)と同様に、輝度データに対する各色インクのインク量を示す階調データが設定されている様子を示している。また、図15(b)は、インク量を示す階調データに対して、各種ドットについての形成密度を対応付けた形成密度テーブルを示している。図8に示した第1実施例の形成密度テーブルと比較すれば明らかなように、変形例では、小ドットおよび中ドットについては、形成密度が階調値255に達する前に、ドットが切り換わるように設定されている。こうした形成密度テーブルを参照しながら、図15(a)に示した輝度データに対する階調データを形成密度のデータに変換していく。図16は、こうして1次元の変換テーブルを求めている様子を示す説明図である。変換テーブルを求める方法は、図11で説明したものと同様であるため、ここでは説明は省略する。以上のようにして、図14に示すような、各種ドットの形成密度を輝度データの階調値に対して対応付けた1次元の変換テーブルを求めることができる。
【0083】
図12のステップS212では、図14に示すような1次元の変換テーブルを参照することにより、輝度データを、CMYK各色毎の大中小ドットについての形成密度のデータに一度に変換する。変形例の画像データ変換処理では、こうして各種ドットの形成密度のデータを求めた後、画像に色調を付与する処理を行う(ステップS214)。色調を付与する処理の詳細については後述する。輝度データを変換することによって得られた各種ドットの形成密度データは、白黒画像に対応したデータであるが、色調付与処理を施すことにより、プリンタドライバ12に予め設定されていた色調が付与されたデータに変換される。
【0084】
こうして、各種ドットについての形成密度のデータが得られたら、前述した第1実施例の画像データ変換処理と同様に、階調数変換処理(ステップS216)、インターレース処理(ステップS218)を施して、得られた印刷データをカラープリンタ200に出力する(ステップS220)。
【0085】
以下、ステップS214の色調付与処理について説明する。図17は、色調付与処理の流れを示すフローチャートである。色調付与処理を開始すると、先ず初めに、輝度データから基準密度データを算出する処理を行う(ステップS250)。ここで輝度データとは、図12に示した画像データ変換処理中で、RGB画像データから抽出した輝度データである。また、基準密度データとは、以下に説明するように、色調を付与するために付与される各色ドットについての、形成密度の基準となるデータである。基準密度データは、図18に示すように、輝度データの階調値に対応付けてテーブルとして記憶されている。色調付与処理のステップS250では、図18に示すようなテーブルを参照することにより、輝度データに対応する中ドットおよび小ドットの形成密度をCMY各色毎に求めるのである。
【0086】
次いで、求めた基準密度データから、付与する色調に応じた色調データを算出する処理を行う(ステップS252)。色調データは次式を用いて算出することができる。
Cadds = Kc ×Cbs
Caddm = Kc ×Cbm
Madds = Km ×Mbs
Maddm = Km ×Mbm
Yadds = Ky ×Ybs
Yaddm = Ky ×Ybm
ここで、Caddsは、付与する色調に応じて求められたC色の小ドットについての色調データであり、CbsはC色の小ドットについての基準密度データである。またCaddmは、付与する色調に応じて求められたC色の中ドットについての色調データであり、CbmはC色の中ドットについての基準密度データである。M色、Y色についても同様に、MaddsはM色の小ドットの色調データを、MbsはM色の小ドットの基準密度データを、MaddmはM色の中ドットの色調データを、MbmはM色の中ドットの基準密度データを、YaddsはY色の小ドットの色調データを、YbsはY色の小ドットの基準密度データを、YaddmはY色の中ドットの色調データを、YbmはY色の中ドットの基準密度データを、それぞれ示している。
【0087】
また、Kc ,Km ,Ky は、それぞれC色,M色,Y色についての係数であり、これら係数の値は、プリンタドライバ12に予め設定しておいた色調に応じて所定の値を取る。例えば、図13において、色調を設定するノブ140を「白黒」の位置に設定した場合は、Kc ,Km ,Ky のいずれの係数の値も「0」となっている。ノブ140を「クール調」と表示された側に移動させると、Km ,Ky の値はそのままに、Kc の値が次第に大きくなり、ノブ140を一杯まで動かしたときにKc の値は「1」となる。逆に、ノブ140を「セピア調」と表示された側に移動させると、Kc の値はそのままに、Km とKy の値が次第に大きくなり、ノブ140を一杯まで動かしたときにKm の値は「0.5」にKy の値は「1」となる。図17のステップS252では、この様にして、プリンタドライバ12に設定しておいた色調に応じて、小ドットおよび中ドットの形成密度を各色毎に算出する。
【0088】
こうして各色毎に色調データを求めたら、これら色調データと、CMYK各色の大ドット、中ドット、小ドットについても求めておいたドットの形成密度データとを加算することにより、色調が付与された形成密度のデータを算出する(ステップS254)。すなわち、図12に示した変形例の画像データ変換処理のステップS212で求めた形成密度のデータは、色調の付与されていない白黒画像の形成密度データなので、このデータにプリンタドライバ12に設定した色調に相当する色調データを加算することによって、白黒画像に色調を付与するのである。また、変形例の画像データ変換処理中で参照される変換テーブル(図14)において、各種のドットについての形成密度が、階調値「255」に達する前に減少に転じていたのは、色調データを付与することを考慮して、形成密度の合計が許容値を超えないようにするためである。こうして、色調の付与された形成密度データが得られたら、図17に示した色調付与処理を終了して、図12に示した変形例の画像データ変換処理に復帰する。
【0089】
以上に説明した変形例の画像データ変換処理によれば、プリンタドライバ12に予め色調を設定しておくことにより、所望の色調が付与された高画質なモノクロ画像を迅速に印刷することが可能となる。
【0090】
D.第2実施例の画像データ変換処理:
上述した第1実施例の画像データ変換処理においては、輝度データを各種ドットについての形成密度に変換する際に参照する変換テーブルは、プリンタドライバ12に予め記憶されているものとして説明した。しかし、変換テーブルは予め記憶しておく必要はなく、単色画像を印刷する際に合成することとしても良い。以下では、こうした第2実施例の画像データ変換処理について説明する。
【0091】
図19は、第2実施例の画像データ変換処理の流れを示すフローチャートである。第2実施例の画像データ変換処理は図6を用いて前述した第1実施例の画像データ変換処理に対して、処理中で変換テーブルを生成する点のみが異なっている。以下、この相違点を中心として第2実施例の画像データ変換処理について説明する。
【0092】
第2実施例の画像データ変換処理においても前述した第1実施例と同様に、先ず初めに、変換すべきRGBカラー画像データの読み込み(ステップS300)、解像度の変換を行った後(ステップS302)、モノクロ印刷を行う設定になっているか否かを判断する(ステップS304)。モノクロ印刷を行う設定になっていないと判断された場合は、通常のカラープリンタと同様にしてRGB画像データを印刷データに変換する。モノクロ印刷を行う設定になっていると判断された場合は、変換テーブルを生成する処理を行う(ステップS310)。
【0093】
図20は、変換テーブルを生成する処理の流れを示すフローチャートである。図9を用いて説明したように変換テーブルは、輝度の階調値に応じて、CMYK各色毎に大中小ドットについての形成密度のデータが記憶された数表と考えることができる。そこで、変換テーブル生成処理を開始すると、先ず初めに、輝度データの階調値を「0」に設定する(ステップS350)。
【0094】
次いで、3D−LUT上で輝度データの階調値「0」に相当する格子点を検出し、かかる格子点に記憶されているCMYK各色の階調データを取得する(ステップS352)。ここで3D−LUTとは、カラー印刷を行う場合に色変換の際に参照される3次元の色変換テーブルのことである。輝度データの階調値「0」に相当する格子点とは、RGB各色の階調値がいずれも「0」となる格子点である。一般に、輝度データの階調値Nの格子点とは、RGB各色の階調値がいずれもNとなるような格子点が対応している。
【0095】
こうして輝度データに対応する格子点のCMYK各色階調データを取得したら、今度は、図8に示した形成密度テーブルを参照することにより、CMYK各色の階調データを、大中小の各種ドットについての形成密度のデータにCMYK各色毎に変換する(ステップS354)。以上のようにして、各種ドットについての形成密度のデータが得られたら、これらのデータを、輝度データの階調値「0」に対応付けて一時的に記憶しておく(ステップS356)。
【0096】
次いで、輝度データの階調値が「255」に達したか否かを判断する(ステップS358)。階調値が「255」に達していない場合は、変換テーブルの生成が終わっていないと考えられる。そこで、輝度データの階調値を所定値だけ増加させた後(ステップS360)、ステップS352に戻って続く一連の処理を行う。前述したように、輝度データの階調値Nに対しては、RGB各色の階調値がいずれもNの格子点が対応するから、輝度データの階調値を増やしていくことにより、図21に太い破線で示した対角線上の各格子点について、CMYK各色の階調データが形成密度のデータに変換されることになる。
【0097】
こうして、輝度データの階調値が「255」になるまで以上の処理を繰り返した後、輝度データの階調値が「255」に達したら、形成密度データを補間する処理を開始する(ステップS362)。すなわち、ステップS360において、輝度データを所定値ずつ増加させていることに対応して、ステップS350ないしステップS360までの処理では、各種ドットについての形成密度データは、階調値が所定値ずつの間隔で飛び飛びに記憶されている。そこで、ステップS356で一時的に記憶しておいたこれらのデータを補間することにより、輝度データの階調値「0」から階調値「255」までの全ての階調値に対して、各種ドットについての形成密度データを求める。補間に際しては、線形補間などの種々の補間方法を適用することができる。こうして、階調値0から階調値255までの全ての階調値に対して得られた形成密度のデータを、最終的な1次元の変換テーブルとして記憶した後、図20に示す変換テーブル生成処理を抜けて、図19に示した第2実施例の画像データ変換処理に復帰する。
【0098】
こうして1次元の変換テーブルを生成した後は、第2実施例の画像データ変換処理も、前述した第1実施例の画像データ変換処理と同様の処理を行う。すなわち、RGB画像データから輝度情報を抽出し(ステップS312)、生成しておいた変換テーブルを参照して、輝度データを、大中小の各種ドットの形成密度のデータに変換する(ステップS314)。次いで、得られた形成密度のデータに従って、各種ドットについてのドット形成の有無を判断し(ステップS316)、インターレース処理(ステップS318)を施して、得られた印刷データをカラープリンタ200に出力する(ステップS320)。
【0099】
以上に説明した第2実施例の画像データ変換処理においては、必要になったときに、図9の変換テーブルを生成してモノクロ印刷を行う。すなわち、予め変換テーブルを記憶しておく必要がないので、メモリを節約することができる。節約したメモリを活用することで、画像処理を迅速化したり、あるいはより高度な処理を行って画質を改善することが可能となる。
【0100】
もちろん、モノクロ印刷を行う場合には変換テーブルを生成する処理が必要となるが、かかる処理はモノクロ印刷の開始に先立って一回だけ生成すればよい。このため、画像の印刷者にはほとんど負担を感じさせることなく、高画質なモノクロ画像を印刷することが可能である。
【0101】
以上、各種の実施例について説明してきたが、本発明は上記すべての実施例に限られるものではなく、その要旨を逸脱しない範囲において種々の態様で実施することができる。例えば、上述の機能を実現するソフトウェアプログラム(アプリケーションプログラム)を、通信回線を介してコンピュータシステムのメインメモリまたは外部記憶装置に供給し実行するものであってもよい。もちろん、CD−ROMやフレキシブルディスクに記憶されたソフトウェアプログラムを読み込んで実行するものであっても構わない。
【0102】
また、上述した各種実施例では、画像データ変換処理はコンピュータ内で実行されるものとして説明したが、画像データ変換処理の一部あるいは全部をプリンタ側、あるいは専用の画像処理装置を用いて実行するものであっても構わない。
【図面の簡単な説明】
【図1】本発明の概要を例示した印刷システムの概略構成図である。
【図2】本実施例の画像処理装置としてのコンピュータの構成を示す説明図である。
【図3】本実施例の画像表示装置としてのプリンタの概略構成図である。
【図4】インク吐出用ヘッドの底面にノズルが配置されている様子を示した説明図である。
【図5】本実施例のプリンタが大きさの異なるドットを形成する原理を示す説明図である。
【図6】本実施例の画像処理装置で行われる第1実施例の画像データ変換処理の流れを示すフローチャートである。
【図7】色変換を行うために参照される3次元の変換テーブルを概念的に示した説明図である。
【図8】カラー印刷のために参照される形成密度テーブルを概念的に示した説明図である。
【図9】モノクロ印刷を行う際に参照される1次元の変換テーブルの一部を拡大して示した説明図である。
【図10】モノクロ印刷を行う際に参照される1次元の変換テーブルを概念的に示した説明図である。
【図11】第1実施例で参照される1次元の変換テーブルを設定している様子を示す説明図である。
【図12】第1実施例の変形例の画像データ変換処理の流れを示すフローチャートである。
【図13】プリンタドライバに対して付与する色調を設定している様子を例示した説明図である。
【図14】第1実施例の変形例の画像データ変換処理中で参照される1次元の変換テーブルを概念的に示した説明図である。
【図15】第1実施例の変形例の変換テーブルを設定するために使用されたインク量データの設定値および形成密度テーブルを示す説明図である。
【図16】第1実施例の変形例で参照される1次元の変換テーブルを設定している様子を示す説明図である。
【図17】第1実施例の変形例において色調を付与する処理の流れを示したフローチャートである。
【図18】色調付与処理で使用する基準密度データが輝度データに対応付けて記憶されている様子を概念的に示した説明図である。
【図19】第2実施例の画像データ変換処理の流れを示すフローチャートである。
【図20】第2実施例の画像データ変換処理中において変換テーブルを生成する処理の流れを示したフローチャートである。
【図21】3次元の色変換テーブル上で輝度データに相当する格子点が選択されている様子を概念的に示した説明図である。
【符号の説明】
10…コンピュータ
12…プリンタドライバ
20…カラープリンタ
100…コンピュータ
102…CPU
104…ROM
106…RAM
108…周辺機器インターフェースPIF
109…ディスクコントローラDDC
110…ネットワークインターフェースカードNIC
112…ビデオインターフェースVIF
114…CRT
116…バス
118…ハードディスク
120…デジタルカメラ
122…カラースキャナ
124…フレキシブルディスク
126…コンパクトディスク
140…ノブ
200…カラープリンタ
230…キャリッジモータ
235…紙送りモータ
236…プラテン
240…キャリッジ
241…印字ヘッド
242,243…インクカートリッジ
242…インクカートリッジ
243…インクカートリッジ
244…インク吐出用ヘッド
255…インク通路
256…インク室
257…インクギャラリ
260…制御回路
261…CPU
262…ROM
263…RAM
300…通信回線
310…記憶装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique for converting image data into data expressed by the presence / absence of formation of various dots having different sizes.
[0002]
[Prior art]
A printing apparatus capable of printing a color image by forming dots of ink of various colors on a print medium is widely used as an apparatus for outputting an image created by a computer or an image taken by a digital camera. When trying to obtain higher quality images with these printing devices, the size of the dots to be formed can be switched in several stages, and printing is performed while forming these dots at an appropriate ratio according to the image data. To be done. Such a printing apparatus capable of forming dots having different sizes is referred to as a “variable dot printer” in the present specification.
[0003]
Image data input to a variable dot printer, such as image data created by a computer or image data taken by a digital camera, is usually RGB image data. The variable dot printer includes this image data in the printer. The data is once converted into data expressed by the presence or absence of dot formation with the ink, and the image is printed based on the data. The conversion of the image data is roughly performed by the following procedure using a dedicated program called a printer driver. First, a process of converting RGB image data expressed by each color of R (red), G (green), and B (blue) into image data expressed by the color of ink mounted on the printer is performed. The printer is normally loaded with inks of C (cyan), M (magenta), Y (yellow), and K (black). In addition to these inks, LC (light cyan) and LM (light magenta) inks may be mounted. Such processing is usually called color conversion processing. Color conversion is performed by referring to a color conversion table (LUT). The color conversion table stores gradation values of each color such as CMYK at a plurality of coordinate points set in a lattice point in a color space in which the R axis, G axis, and B axis are three orthogonal axes. It is a three-dimensional number table. Since the RGB image data can be handled as coordinate points in the color space, if the CMYK gradation values to be converted from the RGB image data of the grid points are stored in the grid points of the color conversion table, the color conversion table By referring to, color conversion can be performed quickly.
[0004]
Next, a process of converting the obtained image data of each color of CMYK into data of formation density for dots of various sizes that can be formed by the printer is performed. That is, since the variable dot printer can form dots of a plurality of sizes, it is not necessary to simply convert the RGB image data into image data of each color of CMYK, and the image data for each color is further converted into various sizes. The process of converting to the formation density for the dots is performed. For convenience of understanding, here, assuming that the variable dot printer is capable of forming three types of large, medium, and small dots, C image data is represented by C large dots, C medium dots, and C colors. The data is converted into formation density data for each small dot. Similarly, the image data of M, Y, and K is converted into data of formation density for each of large, medium, and small dots for each color. In this way, when the formation density data for each large, medium, and small dot is obtained for each color, whether or not each dot is formed is determined based on these data, and according to the determination, the large, medium, and small dots for each color are printed on the printing medium. The image is printed by forming on top.
[0005]
As described above, in the variable dot printer, the RGB image data is temporarily converted into CMYK color image data, and the obtained image data of each color is converted into data on the formation density of large, medium, and small dots. . In this way, since the conversion in two steps takes time, the conversion takes time, and instead of the gradation values of each color of CMYK, the data of the formation density of large, medium and small dots of each color is stored in the grid points of the color conversion table. It is possible to keep it. When RGB image data is received, color conversion processing is performed while referring to such a table to directly convert the data into formation density data for large, medium, and small dots of each color of CMYK. In this way, it is possible to quickly convert the RGB image data into formation density data for large, medium, and small dots of CMYK colors.
[0006]
[Problems to be solved by the invention]
However, there is a problem that a very large storage capacity is required to store data on the formation density for various dots of different sizes in the color conversion table. For example, even when the size of dots that can be formed by the printer is large, medium, and small, the number of data stored in the color conversion table alone is three times the number of grid points. If too much storage capacity is required to store the color conversion table, the amount of memory that can be used in the process of converting RGB image data itself may be reduced, and the processing speed may be reduced. Occurs.
[0007]
The present invention has been made to solve the above-described problems in the prior art, and is a technique for quickly converting RGB image data into data relating to formation density for various dots of different sizes in a variable dot printer. For the purpose of provision.
[0008]
[Means for solving the problems and their functions and effects]
  In order to solve at least a part of the problems described above, the image processing apparatus of the present invention employs the following configuration. That is,
  The image data expressed by the combination of the gradation values of the respective colors constituting the first color system is used to form a plurality of types of dots having different sizes for the plurality of colors constituting the second color system. An image processing apparatus that converts data expressed by presence or absence,
  Monochromatic image designating means for designating whether or not to print an image represented by the image data as a monochrome image;
  The image data is stored in the second color system.Cyan, magenta, yellow, blackeveryInAbout multiple types of dots with different sizeseachImage data conversion means for converting into dot density data as data representing the formation density;
  Dot density data conversion means for converting the converted dot density data into dot data expressed by the presence or absence of the plurality of types of dots;
  With
  The image data converting means includes
    When the monochrome image designating unit designates that the image represented by the image data is printed as a monochrome image,Regardless of whether the image data is a color image or a monochrome image, luminance information extraction means for extracting information representing luminance from the image data;
    Represents the formation density of multiple types of dots of different sizes for cyan, magenta, yellow, and blackThe dot density data and,A formation density table storing a relationship with information representing the luminance as a one-dimensional table;
    The extracted luminance by referring to the formation density tableRepresentsInformationCorrespondingLuminance information conversion means for obtaining the dot density data;
    The main point is that
[0009]
  The image processing method of the present invention corresponding to the above image processing apparatus is
  The image data expressed by the combination of the gradation values of the respective colors constituting the first color system is used to form a plurality of types of dots having different sizes for the plurality of colors constituting the second color system. An image processing method for converting into data expressed by presence or absence,
  A first step of designating whether to print the image represented by the image data as a monochrome image;
  The image data is stored in the second color system.Cyan, magenta, yellow, blackeveryInAbout multiple types of dots with different sizeseachConvert to dot density data, which is data representing formation density2And the process of
  The converted dot density data is converted into dot data expressed by the presence / absence of formation of the plurality of types of dots.3And the process of
  With
  Said2The process of
    When it is specified in the first step that the image represented by the image data is printed as a monochrome image,Regardless of whether the image data is a color image or a monochrome image, extracting information representing luminance from the image data;
    Represents the formation density of multiple types of dots of different sizes for cyan, magenta, yellow, and blackThe dot density data and,Information representing the brightnessNews andThe extracted brightness by referring to the formation density table in which the relationship is stored as a one-dimensional table.RepresentsInformationCorrespondingObtaining the dot density data;
    The main point is that
[0010]
In such an image processing apparatus and image processing method, information on luminance is extracted from image data, and the extracted luminance information is converted into dot density data by referring to a formation density table. Here, the dot density data is data representing the formation density for various dots having different combinations of dot sizes and colors. The dot color may be a plurality of colors including at least each color constituting the second color system. The formation density table is a numerical table in which formation densities for the various dots are recorded in association with luminance gradation values. Information relating to luminance can be extracted by performing a predetermined calculation on the gradation value of each color constituting the image data. As the predetermined calculation, for example, various methods such as arithmetic averaging of each gradation value can be applied. The large dots referred to here can be formed by forming a plurality of small dots.
[0011]
Thus, if the information on luminance is converted into dot density data with reference to the formation density table, the luminance information can be quickly converted. Since the process of extracting information about luminance from image data can be performed quickly, if the information on luminance can be quickly converted in this way, the process of converting image data to dot density data can be accelerated, As a result, it is possible to quickly convert the image data into dot data expressed by the presence or absence of the various dots.
[0012]
Of course, a formation density table must be stored when converting image data. In such a formation density table, it is necessary to store the dot formation density for each combination of dot size and color. However, these dot density data need only be stored in association with the luminance gradation values. That is, the formation density table is at most a one-dimensional number table. Therefore, even if the formation density is recorded for each combination of dot size and color, the data amount is not so large. Therefore, if the image data is converted using the formation density table, there is no possibility of causing a problem that the storage speed of the image processing apparatus is reduced and the processing speed is reduced.
[0013]
In addition, according to this method, there is an advantage that the conversion accuracy of the image data can be easily improved. That is, in order to improve the conversion accuracy, it is effective to increase the number of luminance gradation values in which dot density data is stored. However, if the number of luminance gradation values is increased, the amount of data in the formation density table increases accordingly. If the amount of data in the formation density table becomes too large, the storage capacity of the image processing apparatus may be compressed, and conversion of image data may be hindered. For example, if the table is a three-dimensional table, the total amount of data increases by a factor of eight simply by increasing the number of gradation values for each dimension by a factor of two. However, as described above, the formation density table is only a one-dimensional number table, and even if the number of luminance gradation values storing dot density data is increased, the amount of data in the table does not increase so much. From this, it is possible to easily improve the conversion accuracy of the image data by increasing the number of luminance gradation values storing the dot density data.
[0014]
When extracting information related to luminance from the image data, a gradation value of a predetermined color in each color constituting the first color system may be extracted as information related to the luminance.
[0015]
In this way, information about luminance can be extracted from image data very quickly. As a result, it is possible to quickly perform processing for converting image data. When the image data is a single color image, the tone values of the respective colors constituting the first color system coincide with each other or have a predetermined ratio. For this reason, according to this method, it is possible to quickly and accurately convert image data representing a monochrome image into dot data.
[0020]
In the above-described image processing apparatus, the formation density table may be generated as follows prior to the conversion of image data. First, a combination of gradation values of each color constituting the second color system is stored in advance in association with a combination of gradation values of each color constituting the first color system. In such a combination, in addition to the gradation values of the respective colors constituting the second color system, gradation values of other colors may be stored. Then, each of the plurality of gradation values of the luminance is converted into a combination of gradation values of each color according to the first color system. At the time of such conversion, the gradation value of the luminance is converted into the gradation of each color according to the first color system under the condition that the gradation value of each color constituting the first color system has a predetermined ratio. Convert to a combination of values. Next, each color gradation value by the first color system is converted into a combination of gradation values of each color constituting the second color system by referring to the stored combination. Here, in the case where the stored color combinations include the gradation values of other colors in addition to the color gradation values of the second color system, the color gradations of the first color system The value is converted into a combination of gradation values of these multiple colors.
[0021]
The gradation value for each color of the second color system thus obtained is converted into the formation density for a plurality of types of dots having different sizes. For this conversion, various methods can be applied, for example, using a predetermined arithmetic expression set in advance. In addition, when the formation density obtained by converting the gradation value is different for each color, such conversion is performed for each color, but when the formation density obtained by converting the gradation value is not different for each color, Such conversion may be performed for one color. The formation density table may be generated by storing the formation density thus obtained in association with the luminance gradation value.
[0022]
As described above, if the formation density table is generated as necessary prior to the conversion of the image data, it is not necessary to always store the formation density table. For this reason, it is possible to save the storage capacity of the image processing apparatus, and to use the saved capacity for other processing, so that more advanced image processing can be performed or image processing can be performed more quickly. This is preferable.
[0023]
In such an image processing apparatus capable of generating the formation density table, the gradation values of the respective colors constituting the second color system are set to the formation densities for the plurality of types of dots having different sizes as follows. It is good also as converting. That is, the formation density for a plurality of types of dots having different sizes is stored in advance as a formation density correspondence table in association with the gradation values of the respective colors constituting the second color system. When each color gradation value of the second color system is obtained, the gradation value may be converted into the formation density by referring to the formation density correspondence table.
[0024]
In this way, each color gradation value of the second color system can be quickly converted into the formation density for a plurality of types of dots having different sizes, so that the formation density table can be generated quickly. . In addition, it is preferable to store an appropriate formation density in the formation density correspondence table because an appropriate formation density table can be easily generated.
[0025]
In the various image processing apparatuses described above, image data expressed by a color system constituted by red (R), green (G), and blue (B) as the first color system is used as the second color system. The color processing system may be an image processing apparatus that converts data into a color system comprising at least cyan (C), magenta (M), and yellow (Y) colors.
[0026]
In many cases, such as when printing image data, it is necessary to convert data expressed by the RGB color system into data expressed by the presence or absence of dot formation of each color constituting the CMY color system. The CMY color system referred to here is a color system based on each color including at least C, M, and Y. In such a case, if such image processing is used, it is possible to quickly convert RGB color system image data into data expressed by the presence or absence of various dots formed by each color of the CMY color system. It is.
[0027]
The various image processing apparatuses described above can convert image data expressed by a combination of gradation values of each color constituting the first color system to each color including at least each color constituting the second color system. Thus, it is possible to quickly convert the plurality of types of dots into data expressed by the presence or absence of dot formation. Therefore, when this image processing apparatus is applied to a printing apparatus that prints an image by forming dots of different sizes using a plurality of types of ink, the image data can be quickly converted by rapidly converting the image data. This is preferable because it can be realized.
[0028]
  Furthermore, the present invention can also be realized using a computer by causing a computer to read a program that realizes the above-described image processing method. Accordingly, the present invention includes the following program or a mode as a recording medium storing the program. That is, the program of the present invention corresponding to the image processing method described above is
  The image data expressed by the combination of the gradation values of the respective colors constituting the first color system is used to form a plurality of types of dots having different sizes for the plurality of colors constituting the second color system. A program for realizing, using a computer, a method of converting to data expressed by presence or absence,
  A first function for designating whether to print an image represented by the image data as a monochrome image;
  The image data is stored in the second color system.Cyan, magenta, yellow, blackeveryInMultiple types of dogs with different sizesToAbouteachConvert to dot density data, which is data representing formation density2Functions and
  The converted dot density data is converted into dot data expressed by the presence or absence of the plurality of types of dots.3Functions and
  TheA program to be realized on a computer,
  Said2The function of
    When it is designated by the first function that the image represented by the image data is printed as a monochrome image,Regardless of whether the image data is a color image or a monochrome image, a function of extracting information representing luminance from the image data;
    Represents the density of formation for multiple types of dots with different sizes for cyan, magenta, yellow, and blackInformation representing the dot density data and the luminance.News andThe extracted brightness by referring to the formation density table in which the relationship is stored as a one-dimensional table.RepresentsInformationCorrespondingA function for obtaining the dot density data;
    includingThis is the gist.
[0029]
  The invention of a printing apparatus corresponding to the above-described image processing apparatus is as follows.
  Receives image data expressed by a combination of gradation values of each color constituting the first color system, and forms a plurality of types of dots of different sizes for a plurality of colors constituting the second color system A printing apparatus that prints an image on a print medium,
  Monochromatic image designating means for designating whether or not to print an image represented by the image data as a monochrome image;
  The image data is stored in the second color system.Cyan, magenta, yellow, blackeveryInAbout multiple types of dots with different sizeseachImage data conversion means for converting into dot density data as data representing the formation density;
  Dot density data conversion means for converting the converted dot density data into dot data expressed by the presence or absence of the plurality of types of dots; and
  Dot forming means for forming the various dots on the print medium using the plurality of types of ink according to the dot data;
  With
  The image data converting means includes
    When the monochrome image designating unit designates that the image represented by the image data is printed as a monochrome image,Regardless of whether the image data is a color image or a monochrome image, luminance information extraction means for extracting information representing luminance from the image data;
    Represents the density of formation for multiple types of dots with different sizes for cyan, magenta, yellow, and blackThe dot density data and,Information representing the brightnessNews andRelationship,A density table stored as a one-dimensional table;
    The extracted luminance by referring to the formation density tableRepresentsInformationCorrespondingLuminance information conversion means for obtaining the dot density data;
    The main point is that
[0030]
When such a program or a program recorded on a recording medium is read into a computer and the above-described various functions are realized using the computer, the image data expressed by the first color system is converted into the second color system. This is preferable because it can be quickly converted into data expressed by the presence or absence of the plurality of types of dot formation by each color including at least each color constituting the color system.
[0031]
DETAILED DESCRIPTION OF THE INVENTION
In order to more clearly describe the operation and effect of the present invention, embodiments of the present invention will be described below in the following order.
A. Summary of the invention:
B. Device configuration:
C. Image data conversion processing of the first embodiment:
D. Image data conversion processing of the second embodiment:
[0032]
A. Summary of the invention:
The outline of the present invention will be described with reference to FIG. FIG. 1 is an explanatory diagram showing an outline of the present invention, taking a printing system as an example. The printing system shown in FIG. 1 includes a computer 10 as an image processing apparatus, a color printer 20 and the like. When the computer 10 receives gradation image data of an RGB color image from an image device such as a digital camera or a color scanner, the computer 10 converts the image data into print data expressed by the presence or absence of each color dot that can be printed by the color printer 20. Convert. Such conversion of image data is performed using a dedicated program called the printer driver 12. The RGB image data can also be created on the computer 10 using various application programs.
[0033]
The color printer 20 illustrated in FIG. 1 is a variable dot printer that can switch the size of dots formed on a print medium in several stages. Here, it is assumed that three types of dots, large dots, medium dots, and small dots, can be formed for each color. In response to this, the printer driver 12 converts the RGB image data into data expressed by the presence or absence of formation of large, medium, and small dots for each color, and then supplies the data to the color printer 20 as print data.
[0034]
  The printer driver 12 converts the RGB image data into print data by performing the following processing roughly. First, when RGB image data is received, it is determined whether the image data is set for monochrome printing or color printing. When the image data is set to be color-printed, the color conversion process is performed in the same manner as in a normal printer, and the RGB image data is changed according to the ink colors (C, M, Y, and K colors) installed in the printer. Convert to represented data. In the color conversion, the above-described three-dimensional color conversion table (3D-LUT) is referred to. Next, the data of each color obtained by the color conversion is converted into data on the formation density for each large, medium, and small dot.
[0035]
  On the other hand, if it is determined that the image data is set to be monochrome printed, information on the brightness of the image is extracted from the image data, and the extracted brightness data is formed into large, medium, and small dots for each color of CMYK. Batch conversion to density data. This conversion is performed by referring to a one-dimensional number table (1D-LUT) storing the formation density of large dots, medium dots, and small dots for each color of CMYK with respect to the luminance gradation value. In this example, it is assumed that monochrome printing and color printing can be switched. However, of course, exclusively for monochrome printing, after converting all RGB image data into luminance data, formation for each of large, medium, and small dots is performed. It may be converted into density data.
[0036]
As described above, when data on the formation density of large, medium, and small dots for each color of CMYK is obtained, the data is converted into data expressed by the presence or absence of various dots by performing halftone processing, and then A process (interlace process) for rearranging various dots in consideration of the order in which the color printer 20 forms dots is performed. The data thus obtained is output to the printer 20 as print data.
[0037]
If the RGB image data is converted into print data in this way, in the case of color printing, it is necessary to convert the data into the formation density of large, medium and small dots for each color of CMYK, but in the case of monochrome printing, Luminance data extracted from image data can be collectively converted into formation density data for large, medium, and small dots of each color. As will be described later, since the luminance data can be easily extracted from the image data, the image data can be quickly converted if the luminance data is collectively converted into data of various dot formation densities. .
[0038]
Of course, in order to collectively convert luminance data into formation density data for large, medium, and small dots, it is necessary to store the formation density of each large, medium, and small dot in a one-dimensional numerical table (1D-LUT). There is. However, unlike the number table that is referred to during color conversion, the number table that is referred to when converting luminance data is a one-dimensional number table, so even if the formation density for large, medium, and small dots is stored, there are many The storage capacity is not required. Such an image processing apparatus can take various modes. In the following, these various types of image processing apparatuses will be described in detail based on examples.
[0039]
B. Device configuration:
FIG. 2 is an explanatory diagram illustrating a configuration of a computer 100 as the image processing apparatus according to the present exemplary embodiment. The computer 100 is a well-known computer configured by connecting a ROM 104, a RAM 106, and the like with a bus 116 around a CPU 102.
[0040]
The computer 100 includes a disk controller DDC 109 for reading data from the flexible disk 124 and the compact disk 126, a peripheral device interface PIF 108 for exchanging data with peripheral devices, a video interface VIF 112 for driving the CRT 114, and the like. It is connected. A color printer 200, a hard disk 118, and the like, which will be described later, are connected to the PIF 108. Further, if a digital camera 120, a color scanner 122, or the like is connected to the PIF 108, an image captured by the digital camera 120 or the color scanner 122 can be printed. If the network interface card NIC 110 is attached, the computer 100 can be connected to the communication line 300 to acquire data stored in the storage device 310 connected to the communication line.
[0041]
FIG. 3 is an explanatory diagram showing a schematic configuration of the color printer 200 of the first embodiment. The color printer 200 is an ink jet printer capable of forming dots of four color inks of cyan, magenta, yellow, and black. Of course, in addition to these four color inks, an ink jet printer capable of forming ink dots of a total of six colors including cyan (light cyan) ink having a low dye density and magenta (light magenta) ink having a low dye density is used. You can also. In the following, cyan ink, magenta ink, yellow ink, black ink, light cyan ink, and light magenta ink are abbreviated as C ink, M ink, Y ink, K ink, LC ink, and LM ink, respectively. Shall.
[0042]
As shown in the figure, the color printer 200 drives a print head 241 mounted on a carriage 240 to eject ink and form dots, and the carriage 240 is reciprocated in the axial direction of a platen 236 by a carriage motor 230. And a control circuit 260 that controls dot formation, carriage 240 movement, and printing sheet conveyance.
[0043]
An ink cartridge 242 that stores K ink and an ink cartridge 243 that stores various inks of C ink, M ink, and Y ink are mounted on the carriage 240. When the ink cartridges 242 and 243 are mounted on the carriage 240, each ink in the cartridge is supplied to ink discharge heads 244 to 247 for each color provided on the lower surface of the print head 241 through an introduction pipe (not shown). The ink ejection heads 244 to 247 for each color eject ink droplets using the ink thus supplied to form ink dots on the print medium.
[0044]
The control circuit 260 includes a CPU 261, a ROM 262, a RAM 263, and the like, and controls main scanning and sub scanning of the carriage 240 by controlling operations of the carriage motor 230 and the paper feed motor 235. Also, a process for controlling the nozzle drive timing based on the print data supplied from the computer 100 so that ink droplets are ejected from the nozzles of the ink ejection heads 244 to 247 for each color at an appropriate timing. ing. Thus, the color printer 200 can print a color image by forming ink dots of respective colors at appropriate positions on the print medium under the control of the control circuit 260.
[0045]
Various methods can be applied to the method of ejecting ink droplets from the ink ejection heads of the respective colors. That is, a method of ejecting ink using a piezoelectric element, a method of ejecting ink droplets by generating bubbles in the ink passage with a heater arranged in the ink passage, and the like can be used. Also, instead of ejecting ink, use a method that uses ink transfer to form ink dots on printing paper using a phenomenon such as thermal transfer, or a method that uses static electricity to attach toner powder of each color onto the print medium. It is also possible to do.
[0046]
FIG. 4 is an explanatory view showing a state in which nozzles for ejecting ink droplets are formed on the bottom surfaces of the ink ejection heads 244 to 247 for each color. As shown in the figure, on the bottom surface of the ink ejection head for each color, four sets of nozzle rows for ejecting ink droplets for each color are formed, and one nozzle row has 48 nozzles with a nozzle pitch k. They are arranged in a zigzag pattern with an interval of.
[0047]
The color printer 200 can control the size of the ink dots formed on the printing paper by controlling the size of the ejected ink droplets. Hereinafter, a method of forming ink dots having different sizes by the color printer 200 will be described. As a preparation for this, first, the structure of the nozzles that eject each color ink will be described.
[0048]
FIG. 5A is an explanatory diagram showing an internal structure of a nozzle that ejects each color ink. Each of the ink discharge heads 244 to 247 for each color is provided with a plurality of such nozzles. As shown in the figure, each nozzle is provided with an ink passage 255, an ink chamber 256, and a piezo element PE on the ink chamber. When the ink cartridges 242 and 243 are mounted on the carriage 240, the ink in the cartridge is supplied to the ink chamber 256 via the ink gallery 257. The piezo element PE is an element that performs electro-mechanical energy conversion at a very high speed when the voltage is applied, as is well known. In this embodiment, the side wall of the ink chamber 256 is deformed by applying a voltage having a predetermined waveform between the electrodes provided at both ends of the piezo element PE. As a result, the volume of the ink chamber 256 is reduced, and ink corresponding to the reduced volume is ejected from the nozzle Nz as ink droplets Ip. The ink droplet Ip soaks into the printing paper P mounted on the platen 236, whereby ink dots are formed on the printing paper.
[0049]
FIG. 5B is an explanatory diagram showing the principle of changing the size of the ink droplets ejected by controlling the voltage waveform applied to the piezo element PE. In order to eject the ink droplet Ip from the nozzle, a negative voltage is applied to the piezo element PE, the ink is once sucked into the ink chamber 256 from the ink gallery 257, and then a positive voltage is applied to the piezo element PE. The ink chamber volume is reduced and the ink droplet Ip is ejected. Here, if the ink suction speed is appropriate, ink corresponding to the change amount of the ink chamber volume flows, but if the suction speed is too fast, there is a passage resistance between the ink gallery 257 and the ink chamber 256. Therefore, the inflow of ink from the ink gallery 257 is not in time. As a result, the ink in the ink passage 255 flows back into the ink chamber, and the ink interface near the nozzle is largely retracted. A voltage waveform a shown by a solid line in FIG. 5B shows a waveform for sucking ink at an appropriate speed, and a voltage waveform b shown by a broken line shows an example of a waveform for sucking at a speed larger than the appropriate speed. .
[0050]
When a positive voltage is applied to the piezo element PE while sufficient ink is supplied into the ink chamber 256, an ink droplet Ip having a volume corresponding to the volume reduction of the ink chamber 256 is ejected from the nozzle Nz. On the other hand, when a positive voltage is applied in a state where the ink supply amount is insufficient and the ink interface is largely retracted, the ejected ink droplets become small ink droplets. As described above, in the color printer 200 according to the present embodiment, the size of the ink droplet to be ejected is controlled by changing the suction speed of the ink by controlling the negative voltage waveform applied before the ejection of the ink droplet, It is possible to form three types of ink dots, large dots, medium dots, and small dots.
[0051]
Of course, it is possible to form not only three types but also more types of dots. Furthermore, the size of the ink dots formed on the printing paper may be controlled by using a method in which a plurality of fine ink droplets are ejected at a time and the number of ejected ink droplets is controlled.
[0052]
The color printer 200 having the hardware configuration as described above drives the carriage motor 230 to move the ink ejection heads 244 to 247 for each color in the main scanning direction with respect to the printing paper P, and the paper feed motor. By driving 235, the printing paper P is moved in the sub-scanning direction. The control circuit 260 ejects ink droplets by driving the nozzles at an appropriate timing while repeating main scanning and sub-scanning of the carriage 240 according to the print data. In this way, the color printer 200 prints a color image on the printing paper by forming dots of each color ink at appropriate positions on the printing paper.
[0053]
C. Image data conversion processing of the first embodiment:
FIG. 6 is a flowchart showing a flow of processing in which the computer 100 as the image processing apparatus of the present embodiment converts the received RGB image data into print data by performing predetermined image processing. Such processing is started when the operating system of the computer 100 activates the printer driver 12. The image data conversion process of the first embodiment will be described below with reference to FIG.
[0054]
When the image data conversion process is started, the printer driver 12 first starts reading RGB color image data to be converted (step S100). Next, the resolution of the captured image data is converted to a resolution for printing by the color printer 200 (step S102). When the resolution of color image data is lower than the printing resolution, new data is generated between adjacent image data by performing linear interpolation. Conversely, when the resolution is higher than the printing resolution, the data is thinned out at a certain rate. To convert the resolution of the image data to the printing resolution.
[0055]
When the resolution is converted in this manner, it is determined whether or not monochrome printing is set (step S104). When monochrome printing, that is, printing a single-color image, the printer operator sets that in advance in the printer driver 12 from the screen of the computer 100. The setting contents are stored in a predetermined address of the RAM 106, and the printer driver 12 reads the setting contents from the RAM 106 and determines whether or not the setting is for monochrome printing.
[0056]
If it is not set to perform monochrome printing (step S104: no), RGB image data is converted into print data in the same manner as a normal color printer. On the other hand, when it is set to perform monochrome printing (step S104: yes), rapid conversion is possible by converting RGB image data into print data using a method described later. In the following, the conversion method during monochrome printing and the reason why rapid conversion is possible by adopting such a conversion method will be described, but as preparation, first, the process will be briefly described when performing normal color printing. Keep it.
[0057]
(1) For color printing:
If it is determined in step S104 that monochrome printing is not set, color conversion processing is performed on the RGB image data (step S106). The color conversion process is the following process. The RGB image data expresses a color image by synthesizing three color images of R (red), G (green), and B (blue), which are so-called three primary colors of light. On the other hand, a normal color printer basically uses three colors C (cyan), M (magenta), and Y (yellow), which are called the three primary colors of ink, and other colors such as K (black). A color image is expressed by appropriately combining colors. In the color printer 200 of the present embodiment, a color image is expressed using four color inks of C, M, Y, and K. Since the input image data and the image data to be output to the printer have different color combinations (so-called color system) that are the basis for expressing the color image, the color image data table is displayed. It is necessary to change the color system. Such color system conversion is called color conversion processing.
[0058]
The conversion of the color system is a highly nonlinear conversion, and a very large amount of calculation is required to convert it analytically. Therefore, usually, a conversion method is adopted with reference to a three-dimensional numerical table called a color conversion table. FIG. 7 is an explanatory diagram conceptually showing a three-dimensional color conversion table (3D-LUT). As shown in FIG. 7, the color conversion table subdivides a color solid having a length of “255” on one side in a color space with the R axis, the G axis, and the B axis as three orthogonal axes into a grid pattern, It can be considered as a table in which gradation values of each color of C, M, Y, and K are stored at each lattice point. Here, the data stored in each grid point will be described as gradation values for each color of C, M, Y, and K. However, ink such as LC and LM is mounted on the color printer 200. Needless to say, the gradation values such as LC and LM can be stored in each lattice point.
[0059]
In color conversion processing, image data expressed by RGB gradation values is converted into C, M, Y, and K color gradations by performing an interpolation operation as necessary while referring to such a color conversion table. Color conversion to image data expressed by values. For example, when color conversion is performed on RGB image data in which the gradation value of the R image is RA, the gradation value of the G image is GA, and the gradation value of the B image is BA, the coordinate value (RA , GA, BA) are detected, and the gradation values of the C, M, Y, and K colors stored in these lattice points are read out. CMYK image data corresponding to RGB image data can be obtained by performing an interpolation operation from the read gradation values.
[0060]
By performing the color conversion process in this way, the RGB image data is converted into data of gradation values of C, M, Y, and K colors. Therefore, based on the gradation data obtained in this way, a process of converting into data of formation density of large dots, medium dots, and small dots is performed (step S108). That is, as described above, the color printer 200 of this embodiment can form three types of large, medium, and small dots for each color of C, M, Y, and K. Therefore, these dots are formed at any density. A process for determining whether or not to do this is based on each color gradation value.
[0061]
The process of converting the gradation values of each color of CMYK into data on the formation density of large, medium, and small dots is performed by referring to the formation density table. FIG. 8 is an explanatory diagram conceptually showing the formation density table. As shown in the drawing, the formation density table stores the formation density data of various large, medium, and small dots with respect to the gradation value of each color. By referring to such a table, it is possible to convert the CMYK gradation values into formation density data for various large, medium, and small dots. For example, if the gradation value of C is “da”, the formation density of small dots can be obtained as “sa” by referring to the formation density table. The formation density of medium dots and large dots is both “0”. Further, when the gradation value of C is “db”, the formation density of small dots “sb”, the formation density of medium dots “mb”, and the formation density of large dots “0” can be obtained. For other colors such as M, Y, and K, gradation data can be converted into formation density data in the same manner. The same formation density table can be used for each color of C, M, Y, and K. Of course, conversion may be performed using a dedicated table for each color.
[0062]
As described above, when the gradation data of each color of C, M, Y, and K is converted for each color into formation density data for various large, medium, and small dots, gradation number conversion processing is performed (step S114). That is, the dot formation density data is data of 256 gradations taking values from “0” to “255”. On the other hand, the color printer 200 can take only two states, “form” or “not form”, for both large, medium, and small dots. Therefore, it is necessary to convert the formation density data having 256 gradations into data of two gradations corresponding to the presence or absence of various dots. In the gradation number conversion process, processing for converting 256 gradation formation density data into two gradation data corresponding to the presence or absence of dot formation is performed. Various methods such as an error diffusion method and a dither method are known as such a method for converting the number of gradations, and any of these methods can be applied in this embodiment.
[0063]
Subsequent to the tone number conversion process, an interlace process is performed (step S116). The interlace process is a process of rearranging the image data converted into a format representing the presence / absence of formation of various large / medium / small dots in an order to be transferred to the color printer 200 in consideration of the dot formation order. The printer driver 12 outputs the finally obtained data as print data to the color printer 200 (step S118). The color printer 200 forms ink dots of each color on the print medium according to the print data. As a result, a color image corresponding to the image data is printed on the printing paper.
[0064]
(2) For monochrome printing:
If it is determined in step S104 in FIG. 6 that the monochrome printing is set, the RGB image data is converted as follows. By doing so, it is possible to quickly convert to data expressed by the presence / absence of formation of various large, medium, and small dots for each color of CMYK. Hereinafter, a description will be given according to the flowchart of FIG.
[0065]
If it is determined in step S104 that monochrome printing is set (step S104: yes), processing for extracting luminance information from the RGB image data is performed (step S110). Luminance information included in the image data can be easily extracted by calculating an average value of the R, G, and B color gradation values or by applying a predetermined calculation to each color gradation value. Further, when the RGB image data is monochrome image data, the gradation values of the R, G, and B colors are the same, so that the gradation value of any one color is read as the luminance information. It is also possible. Of course, when the RGB image data is not a monochrome image but is a single color image having a predetermined hue, the gradation values of the R, G, and B colors have the same ratio. It is possible to replace the gradation value as luminance information. In this way, if any one of the gradation values is replaced with the luminance information, it is not necessary to calculate the average value of each color, so that the process of extracting the luminance information can be performed quickly. On the other hand, if the average value of each RGB color is calculated, the luminance information can be appropriately extracted even when the RGB image data is data representing a color image. Can be performed.
[0066]
Next, a process of converting the extracted luminance information data into data on the formation density of various large, medium, and small dots is performed (step S112). The conversion from the luminance data to the formation density data of various dots is performed by referring to a one-dimensional conversion table stored in advance in the printer driver 12. FIG. 9 is an explanatory diagram conceptually showing a conversion table referred to in conversion. In FIG. 9, a part of the conversion table is enlarged and displayed. As shown in the figure, the conversion table stores data on the formation density of various large, medium, and small dots for each color of C, M, Y, and K in association with the gradation value of the luminance data. For example, with respect to the gradation value “1” of the luminance data, the gradation value “247” is stored as the formation density of the K large dots, and the gradation value “8” is formed as the formation density of the medium K dots. "Is stored as a gradation value" 0 "as the formation density of small dots. Further, for each color of C, M, and Y, a gradation value “5” is stored for the formation density of medium dots, and a gradation value “0” is stored for large dots and small dots. Similarly, for example, for the gradation value “254” of the luminance data, the gradation value “4” is stored as the formation density of medium dots of C, M, and Y colors, and the formation density of large dots and small dots Is stored with a gradation value of “0”. For each of the large, medium, and small dots of the K color, the gradation value “0” is stored.
[0067]
FIG. 10 is an explanatory diagram conceptually showing how the formation density of various dots set in the conversion table changes according to the luminance data. As shown in the drawing, when the gradation value of the luminance data is large (that is, when the image is bright), only small dots of C, M, and Y colors are formed. When the gradation value of the luminance data is the maximum value 255, no dot is formed. As the brightness data becomes smaller (as the image becomes darker), the formation density of small dots of C, M, and Y colors increases, and when the formation density reaches the gradation value “255”, this time. The medium dot formation starts. Here, the gradation value “255” of the formation density means a state in which dots are formed in all pixels. As the medium dots are formed, the formation density of the small dots decreases. In this way, if the small dots are replaced with the medium dots, the image can be darkened (the gradation value of the luminance data is reduced).
[0068]
When the formation density of medium dots of C, M, and Y colors increases to a certain extent, formation of small dots of K color is started. As the formation of small dots of K color starts, the formation density of medium dots of C, M, and Y gradually decreases, but the formation density of small dots starts to increase again. As the gradation value of the luminance data decreases, the formation density of small dots of K color gradually increases, and when the maximum value 255 is reached, the formation density of small dots of K color starts to decrease, and instead of medium dots The formation of is started. Similarly to the small dots, the formation density of the medium dot of K color increases as the gradation value of the luminance data decreases, and when the maximum value 255 is reached, the formation density starts to decrease. Formation begins. In this way, when the gradation value of the luminance data is “0”, that is, when the image becomes the darkest, the formation density of large dots of K color reaches the gradation value “255”. On the other hand, for small dots of C, M, and Y colors, the formation density increases as the gradation value of the luminance data decreases. Then, when the maximum value 255 is reached, it will be reduced in the future, and when the luminance data reaches the gradation value “255”, the gradation values of the formation densities of the C, M, and Y colors become “0”. The conversion table shown in FIG. 9 includes gradation values such that the formation density for each of the small, medium, and large dots for each color of CMYK increases or decreases as shown in FIG. Is remembered as
[0069]
Such a one-dimensional conversion table is set as follows. FIG. 11 is an explanatory diagram showing a method of setting a one-dimensional conversion table in which the formation density data of various dots is associated with the luminance data and stored. First, ink amount data is set for luminance gradation values. That is, when the luminance is high (when the image is bright), a little ink is used. By doing so, the ground color of the printing paper can be won and a bright image can be expressed. If the amount of ink is increased, the image becomes gradually darker, and thus the luminance becomes smaller. Further, if K ink is used instead of C, M, Y ink, it is possible to express an image with lower brightness (darker). FIG. 11A shows a state in which the gradation data indicating the ink amount of each color is set for the luminance data.
[0070]
When the ink amount is determined from the luminance data in this way, the formation density for various large, medium, and small dots can be determined from the ink amount. That is, in order to obtain an image with good image quality in which dots are not conspicuous, as described above with reference to FIG. 8, only small dots that are not easily noticeable are used when the amount of ink is small, and as the amount of ink increases. It is effective to increase the amount of medium dots used, and to increase the amount of large dots used as the ink amount further increases. Accordingly, the gradation data of the ink amount corresponding to the luminance data is determined by referring to FIG. 11A, and then various dots are formed according to the gradation data of the ink amount by referring to FIG. Density data can be determined.
[0071]
For example, considering the case where the gradation value of the luminance data takes a large value near “255”, the gradation data indicating the ink amounts of the C, M, and Y colors can be obtained by referring to FIG. It becomes a small value near the tone value “0”. Next, referring to FIG. 8, the formation density of various dots with respect to the gradation value thus obtained can be obtained. Only small dots are formed for such a small gradation value. Further, when the gradation value of the luminance data takes a value near “128”, the gradation value indicating the ink amount of each color of C, M, and Y can be obtained by referring to FIG. It becomes a value near 128 ". Next, by referring to FIG. 8, the formation density of various dots with respect to such gradation values can be obtained. Eventually, when the gradation value of the luminance data takes a value near “128”, small dots and medium dots are mixedly formed. As a reference, the right side of FIG. 11A shows how the combination of small dots, medium dots, and large dots is switched according to the gradation value indicating the ink amount.
[0072]
FIG. 11B and FIG. 11C show the result of converting the gradation data shown in FIG. 11A into the formation density data of large, medium, and small dots in this way with reference to FIG. Yes. FIG. 11B shows the formation density for large, medium, and small dots of C, M, and Y inks with respect to the luminance data, and FIG. 11C shows the formation density for large, medium, and small dots of K ink. Show. Here, FIG. 11B will be described as a representative example. When the gradation value of the luminance data is large, the gradation data of the ink amount takes a small value, so that only small dots are formed. The formation density of small dots increases as the gradation value of luminance data becomes smaller (the image becomes darker). As the luminance data decreases, the gradation data of the ink amount increases. When a certain gradation value is reached, medium dots start to be formed so as to be replaced with small dots. The formation density of medium dots increases as the luminance data decreases. In this way, as the gradation value of the luminance data decreases, the gradation data of the ink amount increases, and the dots to be formed are switched from small dots to medium dots while the dot formation density increases accordingly. To go.
[0073]
However, when the luminance data decreases to a certain gradation value, K ink starts to be used. When the K ink starts to be used, the gradation data indicating the ink amounts of the C, M, and Y colors this time decreases as the gradation value of the luminance data decreases. Along with this, the dot formation density gradually decreases, and the dots to be formed are switched from medium dots to small dots. In this way, if the gradation data of the ink amount with respect to the luminance data is obtained, and the formation density data for various dots is obtained from the gradation data, the various dot of the luminance data as shown in FIG. Formation density data can be obtained for each color of C, M, and Y. In the same manner for K ink, formation density data of various dots with respect to luminance data can be obtained.
[0074]
In step S112 in FIG. 6, the luminance data is converted into formation density data for large, medium, and small dots of each color of CMYK by referring to such a one-dimensional conversion table. Thus, once the formation density data for large, medium, and small dots of C, M, Y, and K colors is obtained, the print data can be obtained in the same manner as in the case of color printing. That is, a gradation number conversion process (step S114) is performed to convert various dots into data expressed by the presence / absence of dot formation, and then a process of rearranging dots in consideration of the order in which dots are formed by the printer. After the execution (step S116), the obtained data is output as print data to the color printer 200 (step S118).
[0075]
In the image data conversion process of the first embodiment described above, after extracting the luminance information from the image data, the extracted luminance data is referred to the one-dimensional conversion table shown in FIG. 9 and FIG. Convert to formation density data of various dots. In this way, the luminance data can be converted at once into formation density data for these various dots. On the other hand, in the case of monochrome printing, as in the case of color printing, RGB image data is color-converted and temporarily converted into CMYK color image data, and the obtained image data is converted into large, medium, and small dots for each color. Conversion to formation density data takes a long time for conversion. Of course, the image data conversion process of the first embodiment also requires a process of extracting luminance information from the RGB image data, but as described above, the luminance information can be extracted very easily. Therefore, according to the present embodiment, it is possible to speed up the conversion of image data and to perform monochrome printing quickly. The types of dots stored in the one-dimensional conversion table are three types of large, medium, and small dots for each color of C, M, Y, and K, that is, 12 types in total. Further, as shown in FIG. 8, the conversion table stores the formation density for 12 types of dots for all the gradation values of the luminance data from the gradation value “0” to the gradation value “255”. ing. As described above, a large number of formation densities are stored in the one-dimensional conversion table, but after all it is a one-dimensional table as compared with a three-dimensional table such as the color conversion table shown in FIG. The overall data volume can be much smaller.
[0076]
C-1. Modification of the first embodiment:
  As a modification of the first embodiment described above, it is also possible to give a single color tone to an image to be printed and print a monochromatic image such as a so-called cool tone or warm tone. Below, the image data conversion process of such a modification is demonstrated.
[0077]
FIG. 12 is a flowchart illustrating the flow of image data conversion processing according to a modification of the first embodiment. The image data conversion process of the modification is greatly different from the image data conversion process of the first embodiment described above with reference to FIG. Hereinafter, the process of the modified example will be described focusing on the difference.
[0078]
Also in the image data conversion process of the modified example, as in the first embodiment described above, first, RGB color image data to be converted is read (step S200), and then resolution conversion is performed (step S202).
[0079]
Thereafter, the setting of the printer driver 12 is read, and it is determined whether or not monochrome printing is set (step S204). The printer driver 12 is provided with information indicating whether or not monochrome printing is performed, whether or not a color tone is applied when performing monochrome printing, and what color tone and how much is applied when the color tone is applied. Such information is set in advance. FIG. 13 illustrates a state in which the color tone to be applied and the level to be applied are set for the printer driver 12 from the screen of the computer 100. In the example of FIG. 13, these are set by moving the position of the knob 140 on the screen. For example, when the position of the knob 140 is set to the position where “monochrome” is displayed, it is set that no color tone is given. Further, when the position of the knob 140 is moved in the direction displayed as “cool tone”, a cool tone color is given. As the amount of movement in FIG. 17 increases, the degree to which the color tone is applied increases. Similarly, a warm tone color tone that is moved in the direction displayed as “sepia tone” is provided, and the greater the amount of movement, the greater the degree of color tone assignment.
[0080]
If it is determined in step S204 that the setting for monochrome printing is not set, the RGB image data is converted into print data in the same manner as in a normal color printer. Such conversion is exactly the same as that of the first embodiment described above with reference to FIG. 6, and the description thereof is omitted here. If it is determined in step S204 that monochrome printing is set, luminance information is extracted from the RGB image data (step S210). Next, a process of converting the extracted luminance information data into data on the formation density of various large, medium, and small dots is performed (step S212). The conversion from the luminance data to the formation density data of various dots is performed by referring to the conversion table as in the first embodiment. However, the formation density of various dots set in the table is set to a gradation value different from that in the first embodiment.
[0081]
FIG. 14 is an explanatory diagram conceptually showing a conversion table referred to in the image data conversion process of the modification. The thick line in the figure indicates the formation density for various K-color dots, and the thin line in the figure indicates the formation density for each color of C, M, and Y. As shown in the figure, the conversion table of the modified example is similar to the conversion table of the first embodiment described above, when the gradation value of the luminance data is large (that is, when the image is bright), C, M , Y only small dots are formed, and the dot size and color are switched one after another as the gradation value of the luminance data becomes smaller (that is, the image becomes darker).
[0082]
However, unlike the conversion table of the first embodiment described above, the conversion table of the modified example switches the dots one after another before the gradation value of the formation density data of various dots reaches “255”. Therefore, the difference is that the gradation value of the formation density does not increase beyond a predetermined value except in the vicinity where the gradation value of the luminance data is “0”. The conversion table of such a modification is set as follows. FIG. 15A shows a state in which gradation data indicating the ink amount of each color ink with respect to the luminance data is set, as in FIG. 11A described above. FIG. 15B shows a formation density table in which the formation density for various dots is associated with the gradation data indicating the ink amount. As apparent from comparison with the formation density table of the first embodiment shown in FIG. 8, in the modified example, for small dots and medium dots, the dots are switched before the formation density reaches the gradation value 255. Is set to With reference to such a formation density table, the gradation data corresponding to the luminance data shown in FIG. 15A is converted into formation density data. FIG. 16 is an explanatory diagram showing how the one-dimensional conversion table is obtained in this way. The method for obtaining the conversion table is the same as that described with reference to FIG. As described above, a one-dimensional conversion table associating the formation density of various dots with the gradation value of the luminance data as shown in FIG. 14 can be obtained.
[0083]
In step S212 of FIG. 12, by referring to a one-dimensional conversion table as shown in FIG. 14, the luminance data is converted at once into formation density data for large, medium, and small dots for each color of CMYK. In the image data conversion process of the modification, after obtaining the data of the formation density of various dots in this way, a process of giving a color tone to the image is performed (step S214). Details of the process of assigning a color tone will be described later. The formation density data of various dots obtained by converting the luminance data is data corresponding to a black-and-white image, but the color tone set in advance is given to the printer driver 12 by performing the color tone giving process. Converted to data.
[0084]
When the formation density data for various dots is thus obtained, the gradation number conversion process (step S216) and the interlace process (step S218) are performed in the same manner as the image data conversion process of the first embodiment described above. The obtained print data is output to the color printer 200 (step S220).
[0085]
Hereinafter, the color tone imparting process in step S214 will be described. FIG. 17 is a flowchart showing the flow of the color tone assigning process. When the color tone imparting process is started, first, a process of calculating reference density data from luminance data is performed (step S250). Here, the luminance data is luminance data extracted from the RGB image data during the image data conversion process shown in FIG. Further, the reference density data is data that serves as a reference for the formation density of each color dot that is given to give a color tone, as will be described below. As shown in FIG. 18, the reference density data is stored as a table in association with the gradation value of the luminance data. In step S250 of the color tone imparting process, the formation density of medium dots and small dots corresponding to the luminance data is obtained for each CMY color by referring to a table as shown in FIG.
[0086]
Next, a process of calculating color tone data corresponding to the applied color tone is performed from the obtained reference density data (step S252). The tone data can be calculated using the following equation.
Cadds = Kc × Cbs
Caddm = Kc x Cbm
Madds = Km x Mbs
Maddm = Km x Mbm
Yadds = Ky x Ybs
Yaddm = Ky x Ybm
Here, Cadds is the color tone data for the C color small dots obtained according to the color tone to be applied, and Cbs is the reference density data for the C color small dots. Caddm is the color tone data for the C medium dot determined in accordance with the color tone to be applied, and Cbm is the reference density data for the C medium dot. Similarly, for M and Y colors, Madds is the tone data of M small dots, Mbs is the reference density data of M small dots, Maddm is the tone data of medium dots of M colors, and Mbm is M. Reference density data for medium-color dots, Yadds for Y-color small dot color tone data, Ybs for Y-color small dot reference density data, Yaddm for Y-color medium dot color tone data, Ybm for Y color The reference density data for the medium dots of the color are shown respectively.
[0087]
Kc, Km, and Ky are coefficients for C color, M color, and Y color, respectively, and the values of these coefficients take predetermined values according to the color tone preset in the printer driver 12. For example, in FIG. 13, when the knob 140 for setting the color tone is set to the “monochrome” position, the values of all the coefficients Kc, Km, and Ky are “0”. When the knob 140 is moved to the side where “cool tone” is displayed, the values of Kc gradually increase without changing the values of Km and Ky. When the knob 140 is moved to the full, the value of Kc is “1”. It becomes. Conversely, when the knob 140 is moved to the side labeled “Sepia”, the values of Km and Ky gradually increase without changing the value of Kc. When the knob 140 is moved to the full, the value of Km is The value of Ky is “1” at “0.5”. In step S252 in FIG. 17, the formation density of small dots and medium dots is calculated for each color according to the color tone set in the printer driver 12 in this way.
[0088]
When the color tone data is obtained for each color in this way, the color tone data and the formation density data of the dots obtained for the large dots, medium dots, and small dots of each color of CMYK are added to form the color tone. Density data is calculated (step S254). That is, the formation density data obtained in step S212 of the image data conversion process of the modification shown in FIG. 12 is the formation density data of a monochrome image to which no color tone is given. By adding the color tone data corresponding to the above, color tone is given to the monochrome image. In addition, in the conversion table (FIG. 14) referred to in the image data conversion process of the modified example, the formation density for various dots started to decrease before reaching the gradation value “255”. This is because the total formation density does not exceed an allowable value in consideration of data assignment. In this way, when the formation density data to which the color tone is given is obtained, the color tone giving process shown in FIG. 17 is ended, and the process returns to the image data conversion process of the modification shown in FIG.
[0089]
According to the image data conversion process of the modification described above, it is possible to quickly print a high-quality monochrome image with a desired color tone by setting a color tone in advance in the printer driver 12. Become.
[0090]
D. Image data conversion processing of the second embodiment:
In the image data conversion process of the first embodiment described above, the conversion table referred to when converting the luminance data into the formation density for various dots has been described as being stored in the printer driver 12 in advance. However, the conversion table does not need to be stored in advance, and may be combined when printing a monochrome image. Hereinafter, the image data conversion process of the second embodiment will be described.
[0091]
FIG. 19 is a flowchart showing the flow of image data conversion processing of the second embodiment. The image data conversion process of the second embodiment differs from the image data conversion process of the first embodiment described above with reference to FIG. 6 only in that a conversion table is generated during the process. Hereinafter, the image data conversion processing of the second embodiment will be described focusing on this difference.
[0092]
Also in the image data conversion process of the second embodiment, as in the first embodiment described above, first, RGB color image data to be converted is read (step S300), and resolution conversion is performed (step S302). Then, it is determined whether or not monochrome printing is set (step S304). If it is determined that monochrome printing is not set, the RGB image data is converted into print data in the same manner as a normal color printer. If it is determined that monochrome printing is set, a process for generating a conversion table is performed (step S310).
[0093]
FIG. 20 is a flowchart showing a flow of processing for generating a conversion table. As described with reference to FIG. 9, the conversion table can be considered as a numerical table in which formation density data for large, medium, and small dots is stored for each color of CMYK in accordance with the gradation value of luminance. Therefore, when the conversion table generation process is started, first, the gradation value of the luminance data is set to “0” (step S350).
[0094]
Next, a grid point corresponding to the gradation value “0” of the luminance data is detected on the 3D-LUT, and gradation data of each color of CMYK stored in the grid point is acquired (step S352). Here, the 3D-LUT is a three-dimensional color conversion table that is referred to during color conversion when performing color printing. The grid point corresponding to the gradation value “0” of the luminance data is a grid point where the gradation value of each RGB color is “0”. In general, a grid point having a gradation value N of luminance data corresponds to a grid point where the gradation value of each RGB color is N.
[0095]
After obtaining the CMYK color gradation data of the grid points corresponding to the luminance data in this way, this time, by referring to the formation density table shown in FIG. 8, the CMYK color gradation data is obtained for each of the large, medium, and small dots. The data is converted into the formation density data for each color of CMYK (step S354). As described above, when the formation density data for various dots is obtained, these data are temporarily stored in association with the gradation value “0” of the luminance data (step S356).
[0096]
Next, it is determined whether or not the gradation value of the luminance data has reached “255” (step S358). When the gradation value does not reach “255”, it is considered that the generation of the conversion table is not finished. Therefore, after increasing the gradation value of the luminance data by a predetermined value (step S360), the process returns to step S352 and a series of subsequent processes are performed. As described above, since the gradation value N of the luminance data corresponds to N grid points for each of the RGB colors, by increasing the gradation value of the luminance data, FIG. For each grid point on the diagonal line indicated by a thick broken line, gradation data of each color of CMYK is converted to data of formation density.
[0097]
Thus, after repeating the above processing until the gradation value of the luminance data reaches “255”, when the gradation value of the luminance data reaches “255”, the process of interpolating the formation density data is started (step S362). ). That is, corresponding to the fact that the luminance data is increased by a predetermined value in step S360, in the processing from step S350 to step S360, the formation density data for various dots has an interval at which the gradation value is a predetermined value. It ’s memorized. Therefore, by interpolating these data temporarily stored in step S356, various kinds of gradation values from the gradation value “0” to the gradation value “255” of the luminance data are obtained. Find formation density data for dots. In the interpolation, various interpolation methods such as linear interpolation can be applied. Thus, after the formation density data obtained for all the gradation values from gradation value 0 to gradation value 255 is stored as a final one-dimensional conversion table, the conversion table shown in FIG. 20 is generated. After exiting the process, the process returns to the image data conversion process of the second embodiment shown in FIG.
[0098]
After the one-dimensional conversion table is generated in this way, the image data conversion process of the second embodiment is the same as the image data conversion process of the first embodiment described above. That is, the luminance information is extracted from the RGB image data (step S312), and the luminance data is converted into data on the formation density of various large, medium, and small dots with reference to the generated conversion table (step S314). Next, the presence / absence of dot formation for each type of dot is determined according to the obtained formation density data (step S316), interlace processing (step S318) is performed, and the obtained print data is output to the color printer 200 ( Step S320).
[0099]
In the image data conversion processing of the second embodiment described above, when necessary, the conversion table of FIG. 9 is generated and monochrome printing is performed. That is, since it is not necessary to store the conversion table in advance, memory can be saved. By utilizing the saved memory, it is possible to speed up image processing or to perform higher-level processing to improve image quality.
[0100]
Of course, when monochrome printing is performed, processing for generating a conversion table is required, but such processing needs to be generated only once before the start of monochrome printing. Therefore, it is possible to print a high-quality monochrome image with almost no burden on the image printer.
[0101]
Although various embodiments have been described above, the present invention is not limited to all the embodiments described above, and can be implemented in various modes without departing from the scope of the invention. For example, a software program (application program) that realizes the above functions may be supplied to a main memory or an external storage device of a computer system via a communication line and executed. Of course, a software program stored in a CD-ROM or a flexible disk may be read and executed.
[0102]
In the above-described various embodiments, the image data conversion process is described as being executed in the computer. However, part or all of the image data conversion process is executed using the printer side or a dedicated image processing apparatus. It doesn't matter.
[Brief description of the drawings]
FIG. 1 is a schematic configuration diagram of a printing system illustrating an outline of the present invention.
FIG. 2 is an explanatory diagram illustrating a configuration of a computer as an image processing apparatus according to the present exemplary embodiment.
FIG. 3 is a schematic configuration diagram of a printer as an image display apparatus according to the present exemplary embodiment.
FIG. 4 is an explanatory diagram showing a state in which nozzles are arranged on the bottom surface of the ink ejection head.
FIG. 5 is an explanatory diagram illustrating a principle of forming dots having different sizes by the printer according to the present exemplary embodiment.
FIG. 6 is a flowchart showing a flow of image data conversion processing of the first embodiment performed by the image processing apparatus of the present embodiment.
FIG. 7 is an explanatory diagram conceptually showing a three-dimensional conversion table referred to for performing color conversion.
FIG. 8 is an explanatory diagram conceptually showing a formation density table referred to for color printing.
FIG. 9 is an explanatory diagram showing an enlargement of a part of a one-dimensional conversion table referred to when performing monochrome printing.
FIG. 10 is an explanatory diagram conceptually showing a one-dimensional conversion table referred to when monochrome printing is performed.
FIG. 11 is an explanatory diagram showing a state in which a one-dimensional conversion table referred to in the first embodiment is set.
FIG. 12 is a flowchart showing a flow of image data conversion processing according to a modification of the first embodiment.
FIG. 13 is an explanatory diagram illustrating a state in which a color tone to be given to the printer driver is set.
FIG. 14 is an explanatory diagram conceptually showing a one-dimensional conversion table referred to during image data conversion processing according to a modification of the first embodiment.
FIG. 15 is an explanatory diagram illustrating a setting value and a formation density table of ink amount data used for setting a conversion table according to a modification of the first embodiment.
FIG. 16 is an explanatory diagram showing a state in which a one-dimensional conversion table referred to in a modification of the first embodiment is set.
FIG. 17 is a flowchart showing a flow of processing for imparting a color tone in a modification of the first embodiment.
FIG. 18 is an explanatory diagram conceptually showing a state in which reference density data used in the color tone assigning process is stored in association with luminance data.
FIG. 19 is a flowchart illustrating a flow of image data conversion processing according to the second embodiment.
FIG. 20 is a flowchart showing a flow of processing for generating a conversion table during the image data conversion processing of the second embodiment.
FIG. 21 is an explanatory diagram conceptually showing a state in which grid points corresponding to luminance data are selected on a three-dimensional color conversion table.
[Explanation of symbols]
10 ... Computer
12. Printer driver
20 Color printer
100: Computer
102 ... CPU
104 ... ROM
106 ... RAM
108 ... Peripheral device interface PIF
109 ... Disk controller DDC
110: Network interface card NIC
112 ... Video interface VIF
114 ... CRT
116 ... Bus
118: Hard disk
120 ... Digital camera
122 ... Color scanner
124: Flexible disk
126 ... Compact disc
140 ... Knob
200 ... Color printer
230 ... Carriage motor
235 ... Paper feed motor
236 ... Platen
240 ... carriage
241 ... Print head
242, 243 ... Ink cartridge
242 ... Ink cartridge
243 ... Ink cartridge
244 ... Ink ejection head
255: Ink passage
256: Ink chamber
257 ... Ink Gallery
260 ... control circuit
261 ... CPU
262 ... ROM
263 ... RAM
300 ... communication line
310 ... Storage device

Claims (9)

第1の表色系を構成する各色の階調値の組合せによって表現された画像データを、第2の表色系を構成する複数の色毎の、大きさの異なる複数種類のドットの形成の有無によって表現されたデータに変換する画像処理装置であって、
前記画像データの表現する画像をモノクロ画像として印刷するか否かを指定する単色画像指定手段と、
前記画像データを、前記第2の表色系に含まれるシアン,マゼンタ,イエロ,ブラック大きさの異なる複数種類のドットについてのそれぞれの形成密度を表すデータたるドット密度データに変換する画像データ変換手段と、
前記変換されたドット密度データを前記複数種類のドットの形成有無によって表現されたドットデータに変換するドット密度データ変換手段と
を備え、
前記画像データ変換手段は、
前記単色画像指定手段によって、前記画像データの表現する画像をモノクロ画像として印刷すると指定された場合に、前記画像データがカラー画像かモノクロ画像かを問わず、該画像データから輝度を表わす情報を抽出する輝度情報抽出手段と、
シアン,マゼンタ,イエロ,ブラック毎に大きさの異なる複数種類のドットについてのそれぞれの形成密度を表す前記ドット密度データと前記輝度を表わす情報との関係を、一次元のテーブルとして記憶した形成密度テーブルと、
前記形成密度テーブルを参照することにより、前記抽出した輝度を表わす情報に対応する前記ドット密度データを求める輝度情報変換手段と
を備えている画像処理装置。
The image data expressed by the combination of the gradation values of the respective colors constituting the first color system is used to form a plurality of types of dots having different sizes for the plurality of colors constituting the second color system. An image processing apparatus that converts data expressed by presence or absence,
Monochromatic image designating means for designating whether or not to print an image represented by the image data as a monochrome image;
Image data for converting the image data into dot density data, which is data representing respective formation densities for a plurality of types of dots having different sizes for each of cyan, magenta, yellow, and black included in the second color system Conversion means;
Dot density data conversion means for converting the converted dot density data into dot data expressed by the presence or absence of the formation of the plurality of types of dots, and
The image data converting means includes
When the monochrome image designation means designates that the image represented by the image data is to be printed as a monochrome image, information representing luminance is extracted from the image data regardless of whether the image data is a color image or a monochrome image. Luminance information extracting means for
Cyan, magenta, yellow, and the dot density data representing respective formation density different for a plurality of types of sizes of dots for each black, the relationship between the information representing the brightness, the stored formation density as a one-dimensional table Table,
An image processing apparatus comprising: luminance information conversion means for obtaining the dot density data corresponding to the information representing the extracted luminance by referring to the formation density table.
請求項1記載の画像処理装置であって、
前記輝度情報抽出手段は、前記第1の表色系を構成する各色の中の所定色の階調値を、前記輝度を表わす情報として抽出する手段である画像処理装置。
The image processing apparatus according to claim 1,
The luminance information extracting means is an image processing apparatus which is a means for extracting a gradation value of a predetermined color in each color constituting the first color system as information representing the luminance.
請求項記載の画像処理装置であって、
前記単色画像としての印刷が指定されていると判断された場合には、前記画像データ変換手段は、前記画像データを構成する各色についての階調値が常に同じ比率であるとして、前記輝度情報抽出手段に、前記画像データから前記輝度を表わす情報を抽出させる画像処理装置。
The image processing apparatus according to claim 1 ,
When it is determined that printing as the single-color image is designated, the image data conversion unit assumes that the gradation values for the respective colors constituting the image data are always at the same ratio, and extracts the luminance information. An image processing apparatus that causes means to extract information representing the luminance from the image data.
請求項1記載の画像処理装置であって、
前記画像データの変換に先立って、前記形成密度テーブルを生成する形成密度テーブル生成手段を備え、
前記形成密度テーブル生成手段は、
前記第1の表色系を構成する各色の階調値の組合せに対応づけて、前記第2の表色系を構成する各色の階調値の組合せを記憶している組合せ記憶手段と、
所定の輝度を表わす輝度情報に対応し、前記第1の表色系を構成する各色の階調値が所定比率である該第1の表色系における各色階調値を取得する輝度階調値取得手段と、
前記取得された第1の表色系による各色階調値を、前記組合せ記憶手段に記憶されている組合せを参照することによって、前記第2の表色系を構成する各色の階調値の組合せに変換する表色系変換手段と、
前記第2の表色系を構成する各色についての階調値を、前記大きさの異なる複数種類のドットについての形成密度に変換する各色階調値変換手段と、
前記変換によって得られた前記第2の表色系を構成する複数の色毎の前記複数種類のドットについての形成密度と前記輝度情報とを対応付けて記憶する形成密度記憶手段と
を備え、前記第2の表色系を構成する複数の色毎の前記複数種類のドットの形成密度と前記輝度情報との前記対応付けを、輝度が異なり、かつ前記第1の表色系を構成する各色の階調値が前記所定比率である複数個の輝度情報について行ない、記憶することで、前記形成密度テーブルを生成する
画像処理装置。
The image processing apparatus according to claim 1,
Prior to the conversion of the image data, comprising a formation density table generating means for generating the formation density table,
The formation density table generating means includes:
A combination storage means for storing a combination of gradation values of each color constituting the second color system in association with a combination of gradation values of each color constituting the first color system;
A luminance gradation value for obtaining each color gradation value in the first color system corresponding to luminance information representing a predetermined luminance and having a predetermined ratio of gradation values of each color constituting the first color system Acquisition means;
By referring to the combination stored in the combination storage means for each acquired color gradation value by the first color system, the combination of gradation values of each color constituting the second color system A color system conversion means for converting to
Each color gradation value converting means for converting the gradation value for each color constituting the second color system into the formation density for the plurality of types of dots having different sizes;
Formation density storage means for storing the formation density and the luminance information for the plurality of types of dots for each of a plurality of colors constituting the second color system obtained by the conversion, The association between the formation density of the plurality of types of dots for each of a plurality of colors constituting the second color system and the luminance information is different for each color constituting the first color system. An image processing apparatus that generates and forms the formation density table by performing and storing a plurality of pieces of luminance information whose gradation values are the predetermined ratio.
請求項記載の画像処理装置であって、
前記各色階調値変換手段は、
前記第2の表色系を構成する各色の階調値に対応づけて、前記大きさの異なる複数種類のドットについての形成密度を記憶している形成密度対応表を備えるとともに、
前記形成密度対応表を参照することによって、前記第2の表色系を構成する各色についての階調値を、前記大きさの異なる複数種類のドットについての形成密度に変換する手段である画像処理装置。
The image processing apparatus according to claim 4 ,
Each color gradation value conversion means includes:
In correspondence with the gradation values of the respective colors constituting the second color system, a formation density correspondence table storing formation densities for a plurality of types of dots having different sizes is provided.
Image processing which is means for converting the gradation value for each color constituting the second color system into the formation density for a plurality of types of dots having different sizes by referring to the formation density correspondence table apparatus.
請求項1記載の画像処理装置であって、
前記第1の表色系は、赤色(R)と緑色(G)と青色(B)とによって表現される表色系である画像処理装置。
The image processing apparatus according to claim 1,
It said first color system, red (R) and green (G) and blue (B) and images processing device Ru color system der represented by.
第1の表色系を構成する各色の階調値の組合せによって表現された画像データを受け取り、第2の表色系を構成する複数の色毎の、大きさの異なる複数種類のドットを形成することにより、印刷媒体上に画像を印刷する印刷装置であって、
前記画像データの表現する画像をモノクロ画像として印刷するか否かを指定する単色画像指定手段と、
前記画像データを、前記第2の表色系に含まれるシアン,マゼンタ,イエロ,ブラック大きさの異なる複数種類のドットについてのそれぞれの形成密度を表すデータたるドット密度データに変換する画像データ変換手段と、
前記変換されたドット密度データを前記複数種類のドットの形成有無によって表現されたドットデータに変換するドット密度データ変換手段と、
前記ドットデータに従って、前記複数種類のインクを用いて前記各種ドットを前記印刷媒体上に形成するドット形成手段と
を備え、
前記画像データ変換手段は、
前記単色画像指定手段によって、前記画像データの表現する画像をモノクロ画像として印刷すると指定された場合に、前記画像データがカラー画像かモノクロ画像かを問わず、該画像データから輝度を表わす情報を抽出する輝度情報抽出手段と、
シアン,マゼンタ,イエロ,ブラック毎に大きさの異なる複数種類のドットについてのそれぞれの形成密度を表す前記ドット密度データと前記輝度を表わす情報との関係を一次元のテーブルとして記憶した形成密度テーブルと、
前記形成密度テーブルを参照することにより、前記抽出した輝度を表わす情報に対応する前記ドット密度データを求める輝度情報変換手段と
を備えている印刷装置。
Receives image data expressed by a combination of gradation values of each color constituting the first color system, and forms a plurality of types of dots of different sizes for a plurality of colors constituting the second color system A printing apparatus that prints an image on a print medium,
Monochromatic image designating means for designating whether or not to print an image represented by the image data as a monochrome image;
Image data for converting the image data into dot density data, which is data representing respective formation densities for a plurality of types of dots having different sizes for each of cyan, magenta, yellow, and black included in the second color system Conversion means;
Dot density data conversion means for converting the converted dot density data into dot data expressed by the presence or absence of the plurality of types of dots; and
Dot forming means for forming the various dots on the print medium using the plurality of types of ink according to the dot data;
The image data converting means includes
When the monochrome image designation means designates that the image represented by the image data is to be printed as a monochrome image, information representing luminance is extracted from the image data regardless of whether the image data is a color image or a monochrome image. Luminance information extracting means for
Cyan, magenta, yellow, and the dot density data representing respective formation density different for a plurality of types of sizes of dots for each black, the relationship between the information representing the luminance, and stored as a one-dimensional table form Density table,
A printing apparatus comprising: luminance information conversion means for obtaining the dot density data corresponding to the information representing the extracted luminance by referring to the formation density table.
第1の表色系を構成する各色の階調値の組合せによって表現された画像データを、第2の表色系を構成する複数の色毎の、大きさの異なる複数種類のドットの形成の有無によって表現されたデータに変換する画像処理方法であって、
前記画像データの表現する画像をモノクロ画像として印刷するか否かを指定する第1の工程と、
前記画像データを、前記第2の表色系に含まれるシアン,マゼンタ,イエロ,ブラック大きさの異なる複数種類のドットについてのそれぞれの形成密度を表すデータたるドット密度データに変換する第の工程と、
前記変換されたドット密度データを前記複数の種類のドットの形成有無によって表現されたドットデータに変換する第の工程と、
を備え、
前記第の工程は、
前記第1の工程によって、前記画像データの表現する画像をモノクロ画像として印刷すると指定された場合に、前記画像データがカラー画像かモノクロ画像かを問わず、該画像データから輝度を表わす情報を抽出する工程と、
シアン,マゼンタ,イエロ,ブラック毎に大きさの異なる複数種類のドットについてのそれぞれの形成密度を表す前記ドット密度データと前記輝度を表わす情報との関係を一次元のテーブルとして記憶した形成密度テーブルを参照することにより、前記抽出した輝度を表わす情報に対応する前記ドット密度データを求める工程と
を備えている画像処理方法。
The image data expressed by the combination of the gradation values of the respective colors constituting the first color system is used to form a plurality of types of dots having different sizes for the plurality of colors constituting the second color system. An image processing method for converting into data expressed by presence or absence,
A first step of designating whether to print the image represented by the image data as a monochrome image;
Second converting the image data, the second cyan contained in the color system, magenta, yellow, serving data representing each of the formation density for a plurality of types of dots having different sizes for each black dot density data And the process of
A third step of converting the converted dot density data into dot data expressed by the presence or absence of the plurality of types of dots;
With
The second step includes
When it is designated by the first step that the image represented by the image data is printed as a monochrome image, information representing luminance is extracted from the image data regardless of whether the image data is a color image or a monochrome image. And a process of
Cyan, magenta, yellow, and the dot density data representing respective formation density for a plurality of types of dots having different sizes for each black, the formation density that stores the relationship between information as a one-dimensional table representing the luminance Obtaining the dot density data corresponding to the information representing the extracted luminance by referring to a table.
第1の表色系を構成する各色の階調値の組合せによって表現された画像データを、第2の表色系を構成する複数の色毎の、大きさの異なる複数種類のドットの形成の有無によって表現されたデータに変換する方法を、コンピュータを用いて実現するためのプログラムであって、
前記画像データの表現する画像をモノクロ画像として印刷するか否かを指定する第1の機能と、
前記画像データを、前記第2の表色系に含まれるシアン,マゼンタ,イエロ,ブラック大きさの異なる複数種類のドットについてのそれぞれの形成密度を表すデータたるドット密度データに変換する第の機能と、
前記変換されたドット密度データを前記複数種類のドットの形成有無によって表現されたドットデータに変換する第の機能と、
コンピュータに実現させるプログラムであり
前記第の機能は、
前記第1の機能によって、前記画像データの表現する画像をモノクロ画像として印刷すると指定された場合に、前記画像データがカラー画像かモノクロ画像かを問わず、該画像データから輝度を表わす情報を抽出する機能と、
シアン,マゼンタ,イエロ,ブラック毎に大きさの異なる複数種類のドットについてのそれぞれの形成密度を表す前記ドット密度データと前記輝度を表わす情報との関係を一次元のテーブルとして記憶した形成密度テーブルを参照することにより、前記抽出した輝度を表わす情報に対応する前記ドット密度データを求める機能と
を含むプログラム。
The image data expressed by the combination of the gradation values of the respective colors constituting the first color system is used to form a plurality of types of dots having different sizes for the plurality of colors constituting the second color system. A program for realizing, using a computer, a method of converting to data expressed by presence or absence,
A first function for designating whether to print an image represented by the image data as a monochrome image;
Converting the image data, cyan, magenta, yellow, each black sizes of different types of the respective data serving dot density data representing the formation density about the dot included in the second color system The second function,
A third function for converting the converted dot density data into dot data expressed by the presence or absence of the plurality of types of dots;
Is a program that causes a computer to
The second function is:
When the first function specifies that the image represented by the image data is to be printed as a monochrome image, information representing luminance is extracted from the image data regardless of whether the image data is a color image or a monochrome image. Function to
Cyan, formation density table storing magenta, yellow, the relationship between the information representing the dot density data and the luminance representing the respective formation density for a plurality of types of dots having different sizes for each black as a one-dimensional table A function for obtaining the dot density data corresponding to the information representing the extracted luminance , and
Including programs.
JP2002201353A 2002-07-10 2002-07-10 Image processing apparatus for printing a monochrome image Expired - Fee Related JP4183167B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002201353A JP4183167B2 (en) 2002-07-10 2002-07-10 Image processing apparatus for printing a monochrome image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002201353A JP4183167B2 (en) 2002-07-10 2002-07-10 Image processing apparatus for printing a monochrome image

Publications (2)

Publication Number Publication Date
JP2004048262A JP2004048262A (en) 2004-02-12
JP4183167B2 true JP4183167B2 (en) 2008-11-19

Family

ID=31707912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002201353A Expired - Fee Related JP4183167B2 (en) 2002-07-10 2002-07-10 Image processing apparatus for printing a monochrome image

Country Status (1)

Country Link
JP (1) JP4183167B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060078489A1 (en) 2004-09-09 2006-04-13 Avetik Harutyunyan Synthesis of small and narrow diameter distributed carbon single walled nanotubes
JP2006319961A (en) * 2005-04-15 2006-11-24 Canon Inc Image processing apparatus, recording apparatus, and image processing method
US7636178B2 (en) 2005-04-15 2009-12-22 Canon Kabushiki Kaisha Image processing apparatus, printing apparatus and image processing method
JP5110780B2 (en) * 2005-07-28 2012-12-26 キヤノン株式会社 Image processing method and image processing apparatus
JP2009292156A (en) * 2009-09-24 2009-12-17 Seiko Epson Corp Print control device, print control method and print control program
JP2011079322A (en) * 2010-11-17 2011-04-21 Canon Inc Image processing method and image processing apparatus

Also Published As

Publication number Publication date
JP2004048262A (en) 2004-02-12

Similar Documents

Publication Publication Date Title
US6351320B1 (en) Memory-saving printer driver
JP3912055B2 (en) Image processing apparatus, print control apparatus, image processing method, and recording medium
US6669319B2 (en) Ink Jet printer and printing method
JP3601491B2 (en) Image processing apparatus, image processing method, recording medium, and program
JP4192640B2 (en) Image processing apparatus and image processing method for performing processing while detecting edge in block
JP4183167B2 (en) Image processing apparatus for printing a monochrome image
JP3666427B2 (en) Image processing apparatus, print control apparatus, image processing method, and recording medium
JP5943666B2 (en) Recording method, image processing apparatus, and image processing method
JP3922052B2 (en) Monochromatic printer and image processing apparatus
JP2001171182A (en) Printing control apparatus, printing apparatus, printing method, data conversion method, and recording medium
JP4123825B2 (en) Inkjet head, image forming apparatus, and image forming method
JP2011143623A (en) Printer, printing method, and computer program
JP4623029B2 (en) Print control device, image processing device
JP5072350B2 (en) Image forming apparatus and control method thereof
JP4107302B2 (en) Printing apparatus, image processing apparatus, printing method, image processing method, and conversion table creation method
JP2005028661A (en) Image processor for printing variable-density image
JP3959974B2 (en) Print control device, image processing device
JP2006263938A (en) Printing device, image processing device, printing method, and image processing method
JP4561049B2 (en) Printing system for printing an image based on information on the number of dots formed in a predetermined area
JP2005014488A (en) Method of controlling ejection of improvement ink
JP4300742B2 (en) Image processing apparatus for converting the number of gradations of image data
JP4092983B2 (en) Image processing apparatus for performing filter processing according to output resolution
JP4096846B2 (en) Image processing apparatus for performing filter processing according to output resolution
US20060132849A1 (en) Technique for image data recording
JP3968949B2 (en) Printing control apparatus, printing apparatus, printing control method, printing method, recording medium, and image processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040730

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060117

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060320

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060613

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060804

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060823

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20061006

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080729

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

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

Free format text: PAYMENT UNTIL: 20110912

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees