[go: up one dir, main page]

JP4075657B2 - Image processing apparatus and printing apparatus - Google Patents

Image processing apparatus and printing apparatus Download PDF

Info

Publication number
JP4075657B2
JP4075657B2 JP2003085769A JP2003085769A JP4075657B2 JP 4075657 B2 JP4075657 B2 JP 4075657B2 JP 2003085769 A JP2003085769 A JP 2003085769A JP 2003085769 A JP2003085769 A JP 2003085769A JP 4075657 B2 JP4075657 B2 JP 4075657B2
Authority
JP
Japan
Prior art keywords
data
lookup table
color
gray
dimensional lookup
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
JP2003085769A
Other languages
Japanese (ja)
Other versions
JP2004297360A (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 JP2003085769A priority Critical patent/JP4075657B2/en
Publication of JP2004297360A publication Critical patent/JP2004297360A/en
Application granted granted Critical
Publication of JP4075657B2 publication Critical patent/JP4075657B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Color, Gradation (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、受信した印刷データに各種の画像処理を施して印刷エンジンで印刷可能なデータを生成する画像処理装置等に関し、特に、前記印刷データがグレーデータである場合の印刷を効率よく行えるようにする画像処理装置等に関する。
【0002】
【従来の技術】
通常、C(シアン)M(マゼンタ)Y(イエロー)K(ブラック)の色形式を使用したカラーレーザープリンタ等におけるカラー印刷では、入力されるR(レッド)G(グリーン)B(ブルー)の色形式で表現されている画像データをCMYK形式に変換するという処理を行っている。かかる色変換処理では、RGBの各濃度値(例えば、0〜255)からなる3次元座標値にCMYKの各濃度値(例えば、0〜255)を対応付けたルックアップテーブル(以下、3D−LUTと称す)が用いられる。この3D−LUTは、普通紙、OHPなど印刷を行うメディアの種類、スクリーン処理の種類、及び文字やイメージなどの画像の種類により異なっており、通常、複数種類の3D−LUTが用意されている。
【0003】
また、入力される画像データが、RGBの各濃度値が等しいグレーデータ(例えば、R=G=B=0〜255)であった場合にも、通常は特に区別をせずに、前述した3D−LUTによる色変換処理等、通常のカラー印刷の処理が実行されていた。
【0004】
一方、下記特許文献には、処理対象の画像が自然画であるかテキスト画であるかを判別し、それぞれの画像に適した色変換処理を行う装置及び方法が開示されており、特に、無彩色のテキスト画の場合には、R=G=Bの一つの値に対してC=M=Yの一つの値を対応付ける1次元のルックアップテーブル(以下、1D−LUTと称す)を用いて色変換する旨が記載されている。
【0005】
【特許文献1】
特開平10−145616号公報
【0006】
【発明が解決しようとする課題】
しかしながら、上述のように、入力される画像データがグレーデータの場合にも通常のカラー印刷と同様の処理を行うと、データ処理時間及びデータ格納スペースが無駄になるという問題がある。例えば、各色の濃度を0〜255の256階調で表現する際に、グレーデータの場合には、色変換前のデータは、前述の通りR=G=Bであるので8bitの情報で表現でき、また、色変換後のデータもKの8bitの情報で表現できる。従って、通常のカラー印刷と同様に、色変換前においてはRGBの24bitの情報を用い、色変換後においては、CMYKの32bitの情報を用いるのは効率的でない。
【0007】
また、上記特許文献に記載されているように、グレーデータの場合には、他の画像データの場合とは区別して1D−LUTを用いた処理をすることもできるが、前述した3D−LUTの場合と同様に、1D−LUTについてもメディアの種類、スクリーン処理の種類、及び画像の種類によって異なった複数種類のものを予め用意しておく必要がある。かかる場合には、複数の1D−LUTのための保存領域をさらに確保する必要があり、また、1D−LUTを作成するための更なる作業工数が必要になるという問題があった。
【0008】
そこで、本発明の目的は、受信した印刷データに各種の画像処理を施して印刷エンジンで印刷可能なデータを生成する画像処理装置であって、印刷データがグレーデータである場合に効率の良い印刷を可能とする画像処理装置等を提供することである。また、前記グレーデータの色変換を1D−LUTで行う場合の、保存領域の増加とルックアップテーブル作成の作業工数の増大を抑えることのできる画像処理装置等を提供することを目的とする。
【0009】
【課題を解決するための手段】
上記の目的を達成するために、本発明の一つの側面は、受信した印刷データに対して、色表現形式を変換する色変換処理を含む画像処理を施して、印刷可能なデータを生成し、当該データを印刷エンジンに出力する画像処理装置が、前記色変換処理のための、予め生成された少なくとも1つの3次元ルックアップテーブルを記憶する記憶手段と、前記印刷データがグレーデータである場合に、前記記憶手段に記憶された3次元ルックアップテーブルを用いて、1次元ルックアップテーブルを生成し、当該生成した1次元ルックアップテーブルを使用して前記色変換処理を実行し、1色の色情報を有するデータを生成するグレー色変換手段と、前記印刷データがグレーデータでない場合に、前記記憶手段に記憶された3次元ルックアップテーブルを使用して前記色変換処理を実行し、複数色の色情報を有するデータを生成するカラー色変換手段とを有することである。従って、本発明によれば、印刷するデータがグレーデータである場合には、色変換後に画像データが1色の情報のみを有するので、グレーデータの印刷を通常のカラー印刷で行う場合よりもデータの処理時間を短縮できると共にデータ保有容量を少なくできる。また、グレーデータの色変換用の1次元ルックアップテーブルを予め作成しておかなくてよいため、グレーデータ用の印刷を行ってもルックアップテーブルのための記憶容量を増大させなくて済み、事前のルックアップテーブル作成工数も増えない。
【0010】
更に、上記の発明において、その好ましい態様は、前記グレー色変換手段が前記1次元ルックアップテーブルの生成に用いる3次元ルックアップテーブルが、画像の種類が文字である画像用に生成されたルックアップテーブルであることを特徴とする。
【0011】
上記の目的を達成するために、本発明の別の側面は、受信した印刷データに対して、予め生成された3次元ルックアップテーブルを使用した色変換処理を含む画像処理を実施し、当該画像処理後のデータを印刷エンジンに出力する画像処理装置が、前記受信した印刷データがグレーデータである場合には、前記3次元ルックアップテーブルを用いて1次元ルックアップテーブルを生成し、当該生成した1次元ルックアップテーブルを使用して前記色変換処理を実行することである。
【0012】
更に、上記の発明において、好ましい態様は、前記1次元ルックアップテーブルを生成するために用いる前記3次元ルックアップテーブルが、画像の種類が文字である画像用に生成されたルックアップテーブルであることを特徴とする。
【0013】
上記の目的を達成するために、本発明の別の側面は、受信した印刷データに対して、色表現形式を変換する色変換処理と各色の階調値を補正する階調補正処理とを含む画像処理を実施し、当該画像処理後のデータを印刷エンジンに出力する画像処理装置が、前記色変換処理のための予め生成された3次元ルックアップテーブルと、前記階調補正処理のための階調補正ルックアップテーブルとを記憶する記憶手段と、前記印刷データがグレーデータである場合に、前記記憶手段に記憶された3次元ルックアップテーブルを用いて1次元ルックアップテーブルを生成すると共に、前記印刷データに基づいて1色の階調値を有する第一のビットマップデータを生成するグレーデータ処理手段と、前記印刷データがグレーデータでない場合に、前記記憶手段に記憶された3次元ルックアップテーブルを使用して前記色変換処理を実行し、複数色の階調値を有する第二のビットマップデータを生成する色変換手段と、前記印刷データがグレーデータである場合には、前記グレーデータ処理手段が生成した1次元ルックアップテーブルを用いて前記第一のビットマップデータの前記色の階調値を変換し、前記印刷データがグレーデータでない場合には、前記記憶手段に記憶された前記階調補正ルックアップテーブルに基づいて、前記第二のビットマップデータの前記各色の階調値を補正する階調補正手段とを有することである。これにより、グレーデータ専用の色変換処理を、グレーデータ用の印刷を行わない場合にも必要な階調補正手段を利用して実行することができる。
【0014】
上記の目的を達成するために、本発明の更に別の側面は、受信した印刷データに対して、色表現形式を変換する色変換処理を含む画像処理を施して、印刷可能なデータを生成し、当該データに基づいて印刷を実行する印刷装置が、前記色変換処理のための、予め生成された少なくとも1つの3次元ルックアップテーブルを記憶する記憶手段と、前記印刷データがグレーデータである場合に、前記記憶手段に記憶された3次元ルックアップテーブルを用いて、1次元ルックアップテーブルを生成し、当該生成した1次元ルックアップテーブルを使用して前記色変換処理を実行し、1色の色情報を有するデータを生成するグレー色変換手段と、前記印刷データがグレーデータでない場合に、前記記憶手段に記憶された3次元ルックアップテーブルを使用して前記色変換処理を実行し、複数色の色情報を有するデータを生成するカラー色変換手段とを有することである。
【0015】
更に、上記の発明において、好ましい態様は、前記グレー色変換手段が前記1次元ルックアップテーブルの生成に用いる3次元ルックアップテーブルが、画像の種類が文字である画像用に生成されたルックアップテーブルであることを特徴とする。
【0016】
本発明の更なる目的及び、特徴は、以下に説明する発明の実施の形態から明らかになる。
【0017】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態例を説明する。しかしながら、かかる実施の形態例が、本発明の技術的範囲を限定するものではない。なお、図において、同一又は類似のものには同一の参照番号又は参照記号を付して説明する。
【0018】
図1は、本発明を適用した画像処理装置及び印刷装置の実施の形態例に係る構成図である。図1に示すように、本実施の形態例に係る印刷装置2は、画像処理装置3と印刷エンジン4とを備え、ホストコンピュータ1から送信される印刷データ5に基づいて印刷を実行するカラーレーザープリンタである。また、画像処理装置3は、前記印刷データ5に基づいて、色変換処理を含む各種の画像処理を実行して印刷エンジン4で印刷可能なデータを生成する前記印刷装置2のコントローラ部分である。本実施の形態例に係る印刷装置2及び画像処理装置3は、印刷データ5がグレーデータである場合に、処理対象のデータ量を減らし、かつ、色変換に必要な1D−LUTを予め記憶された3D−LUTから印刷時に生成することにより、グレーデータの印刷(以下、グレー印刷と称す)を効率的に行おうとするものである。
【0019】
図1に示すホストコンピュータ1は、本印刷装置2に印刷を要求する要求元であり、パーソナルコンピュータ等で構成される。ホストコンピュータ1に備えられるドライバー10は、本印刷装置2用のドライバーであり、ページ記述言語で表現された印刷データ5を生成して送信する部分である。このドライバー10は、今回の印刷をグレー印刷にするか否かの判断も行う。
【0020】
次に、画像処理装置3は、図1に示すように、複数の処理部から構成されており、グレー印刷のためのグレー印刷モードを有し、当該モードのためのグレーデータ処理部34を備えていることを大きな特徴としている。まず、解釈部30は、前述した印刷データ5を受信し、当該データを解釈して、中間コードを生成すると共に、解釈の結果に基づいて各部に対して指令を出す部分である。中間コードバッファ31は、前記生成された中間コードを格納しておく部分である。また、展開部32は、中間コードバッファ31に格納された中間コードを画素毎のビットマップデータに展開する部分である。
【0021】
次に、LUT記憶部33(記憶手段)は、色変換処理用の3D−LUT6と階調補正処理用の階調補正LUT7を記憶するROMである。3D−LUT6は、従来技術で説明したように、RGBで表現された画素の色濃度のデータをCMYK形式のデータに変換するための対応テーブルであり、メディアの種類、スクリーン処理の種類、及び画像の種類によって異なった複数種類のものが予め用意されている。例えば、メディアが2種類あり、スクリーンが2種類あり、更に、画像の種類が3種類である場合には、2×2×3=12種類の3D−LUTが用意される。
【0022】
図2は、かかる3D−LUTを説明するための図である。図2の(a)は、3D−LUTを概念的に示したものであり、図2の(b)は、後述するグリッドとRGBの値の対応表である。ここでは、RGBの各色の濃度を0〜255の256階調で表した場合を示している。
【0023】
前述のように、3D−LUTは、画素が有するRGBの各濃度値からなる3次元座標値にCMYKの各濃度値を対応付けたものであるので、概念的には、図2の(a)に示す立方体の各点に、対応するCMYKの値が格納されているものが3D−LUTである。但し、前述した256階調からなる全ての点に対応する値を格納するのではなく、図2の(a)に示すように、0〜256を256より少ないいくつかの区間に等分してできる各グリッド(図2の(a)のgなど)に対してのみ対応するCMYKの値を格納するようにする。図に示す例では、0〜255の間を9グリッドとしているが、精度により17グリッドや33グリッドとすることもできる。
【0024】
また、各グリッド間に位置するRGB値に対しては、その周辺のグリッドに格納されている値に基づいて補間演算により対応するCMYK値が求められる。図2の(b)は、RGBの各軸方向における前記9グリッドのグリッド位置と、対応するRGB値を示しており、例えば、図2の(a)のg´に示すグリッド位置は7であり、対応するRの値は223である。
【0025】
次に、階調補正LUT7は、後述する階調補正部37における階調補正処理のためのルックアップテーブルである。この階調補正LUT7は、1次元の対応テーブルであり、通常、このLUT記憶部33には、入力値をそのまま出力値とする階調補正LUT7が格納されている。
【0026】
次に、グレーデータ処理部34(グレーデータ処理手段)は、グレー印刷の際に処理を実行する本発明の特徴部分であり、グレーデータ用の色変換テーブルである1D−LUT8の生成と、ビットマップデータのバンドバッファ36への書き込みを主に行う。具体的な処理内容については後述する。なお、グレーデータ処理部34は、RAMを有しており、このRAMは前記LUT記憶部33から読み出された3D−LUT6等を一時的に保持するために使用される。
【0027】
次に、色変換部35(カラー色変換手段あるいは色変換手段)は、グレー印刷ではなく通常のカラー印刷を行う際に色変換処理を実行する部分であり、印刷対象のデータに適した3D−LUT6により色変換を実行し、変換後のビットマップデータをバンドバッファ36に格納する。かかる色変換部35もRAMを有しており、前記LUT記憶部33から読み出された3D−LUT6等を一時的に保持する。
【0028】
次に、バンドバッファ36は、前記グレーデータ処理部34あるいは色変換部35で処理されたビットマップデータをバンド毎に印刷の1ページ分格納するバッファである。格納されているビットマップデータの各画素は、通常のカラー印刷の場合には、色のデータとしてCMYK4色のデータを有するが、グレー印刷の場合には、Kのみのデータを有している。
【0029】
次に、階調補正部37(階調補正手段)は、ホストコンピュータ1側からの指示等により、バンドバッファ36に格納されている色のデータを補正する部分である。階調補正部37はRAMを有しており、前述したLUT記憶部33に格納された階調補正LUT7あるいは前記グレーデータ処理部34で生成された1D−LUT8を一時的に保持する。
【0030】
次に、スクリーン部38は、前記バンドバッファ36に蓄えられたビットマップデータの各色のデータ(濃度値)をパルス幅に変換する処理を実行する部分である。また、PWM部39は、前記スクリーン部38から出力されるパルス幅のデータをレーザ発光のON/OFF信号に変換する部分である。最後に、印刷エンジン4は、前記PWM部39からの信号に基づいて、実際の印刷を実行する部分である。
【0031】
図3は、本実施の形態例に係る印刷装置2及び画像処理装置3における処理の流れを例示したフローチャートである。以下、図3に基づいて具体的な処理内容について説明する。まず、画像処理装置3の解釈部30がホストコンピュータ1からの印刷データ5を受信する(図3のステップS1)。この印刷データ5には、当該印刷データがグレーデータであるか否かの情報が付加されている。グレーデータであるか否かの判断は、ホストコンピュータ1のドライバー10で行われ、印刷要求の単位であるいは印刷のページ単位で、全ての色がR=G=Bである場合に、グレーデータであると判断される。
【0032】
また、印刷データ5のヘッダー部分には、前述したメディアの種類及びスクリーン処理の種類についての情報が、ドライバー10により付加されている。さらに、前述した画像の種類(例えば、文字、イメージ、あるいはグラフィックス)の情報については、グレーデータの場合には上記ヘッダー部に、グレーデータでない場合には、各画像データに付加されている。そして、グレーデータの場合には、画像の種類は“文字”である旨の情報が付加される。
【0033】
印刷データ5を受信した解釈部30は、まず、上記グレーデータであるか否かの情報に基づいて、グレー印刷で印刷を行うか否かを判断する(図3のステップS2)。そして、印刷データ5がグレーデータである場合には、グレー印刷を行うと判断し(図3のステップS2のYes)、グレーデータ処理部34に当該印刷データ5に適合した3D−LUT6をLUT記憶部33から読み込ませる(図3のステップS3)。具体的には、前述したように、印刷データ5のヘッダー部には、メディアの種類、スクリーン処理の種類、及び画像の種類の情報が含まれているので、それらの情報に適合する一つの3D−LUT6がLUT記憶部33から取り出され、グレーデータ処理部34のRAMに保持される。前述のように、グレーデータの場合には、画像の種類は“文字”であるので、文字用の3D−LUT6が保持される。
【0034】
一方、印刷データ5がグレーデータでない場合には、グレー印刷を行わないと判断し(図3のステップS2のNo)、色変換部35に当該印刷データ5に適合した3D−LUT6をLUT記憶部33から読み込ませる(図3のステップS4)。この場合には、印刷データ5のヘッダーに含まれるメディアの種類及びスクリーン処理の種類に適合した3D−LUT6を取り出すが、画像の種類については、画像のオブジェクト毎に異なるので一種類には決められず、前記2つの種類に適合する3つの3D−LUT6が取り出されて、色変換部35のRAMに保持される。即ち、文字、イメージ、及びグラフィックス用の3つの3D−LUT6が保持される。
【0035】
次に、解釈部30は、印刷データ5から中間コードを生成し、生成した中間コードを中間コードバッファ31に格納する(図3のステップS5)。中間コードバッファ31に格納された中間コードは、展開部32によって読み出され、順次、画素毎のビットマップデータに変換される(図3のステップS6)。ここで、各画素が、各色の濃度値(階調値)を有する画像データが生成されるが、印刷データ5の色表現形式がRGBであるので、各画素がRGBの各濃度値を有することとなる。但し、印刷データ5がグレーデータである場合には、RGBの各濃度値が等しいため、色の情報としては一つの値のみをGrayの濃度値(階調値)として有するようにする。また、グレーデータでない場合には、各画素が上記RGBの各濃度値と画像の種類の情報(属性情報)を有するようにする。
【0036】
次に、グレー印刷である場合には、前記ビットマップデータがグレーデータ処理部34に渡される。ここで、グレーデータ処理部34は、まず、前記RAM内に保持した3D−LUT6に基づいて、グレーデータの色変換用の1次元の変換テーブルである1D−LUT8を生成する(図3のステップS7)。
【0037】
図4は、当該1D−LUT8の生成を説明するための図である。図4の(a)は、グレーデータ処理部34のRAMに保持された文字用の3D−LUTを表したものであり、図4の(b)は、生成される1D−LUT8をグラフで表現したものである。以下、図4に基づいて1D−LUT8の生成について説明する。まず、前記RAM内に保持された文字用の3D−LUT6は、そのグレー軸がKトナー単色で印刷されるように設定されている。即ち、図4の(a)に示すX軸がグレー軸であり、この軸上のグリッドに対応付けられたCMYKの値は、全て(0,0,0,β)という形式になっている。従って、このグレー軸は、R=G=Bである(α,α,α)という形式の入力値(Grayの濃度値)に対して、(0,0,0,β)という形式のCMYK値を対応付けていることになる。これは、このグレー軸が、グレーデータをKトナー単色で印刷するグレー印刷時の色変換テーブルを提供していることを意味する。
【0038】
本実施の形態例では、この点を利用して、以下のように前記1D−LUT8を生成する。まず、図4の(b)に示すように、横軸に入力値のGray濃度値を取り、縦軸に出力値のK濃度値を取る。そして、前記文字用の3D−LUT6のグレー軸上にある9つのグリッドについて、このグラフ上にプロットを行う。即ち、前記RGB値である(α,α,α)のαを横軸の値とし、前記CMYK値である(0,0,0,β)のβを縦軸の値としてプロットする。図の白丸が、そのプロット結果を表している。なお、ここでは、図2に基づいて説明したように、9グリッド(0〜8)の3D−LUT6を用いているが他のグリッド数の3D−LUTを用いても構わない。
【0039】
次に、前記9つのグリッド間について直線補間により各対応値を決定する。具体的には、0〜255までの256階調の入力値(Gray濃度値)に対して、それぞれ出力値(K濃度値)を下記(1)式に基づいて決定する。
【0040】
K[in]=(in−grid[n])×(K[n+1]− K[n])/(grid[n+1]−grid[n])+ K[n]
in:入力値(Gray濃度値)
K[in]:出力値(K濃度値)
n, n+1:横軸上でinの直前、直後に位置するプロット点のグリッド位置
grid[n]:グリッド位置nのプロット点の入力値
K[n]:グリッド位置nのプロット点の出力値 (1)
図4の(b)における前記プロット点(図中の白丸)をつないだ線が、上記256階調の入力値と決定された出力値を表している。かかる線が、Gray濃度値をK濃度値に変換する1D−LUT8をグラフ形式で表現したものである。このように、グレーデータ処理部34は、文字用の3D−LUT6を使用して1D−LUT8を生成し、その後、生成した当該1D−LUT8を前述した階調補正部37のRAMに書き込む(図3のステップS8)。なお、1D−LUT8の生成において、前記9つのグリッド間について直線補間による方法も用いたが、他の補間法を用いても良い。
【0041】
次に、グレーデータ処理部34は、前記受け取ったビットマップデータが有するGray濃度値(階調値)をそのままKの値として、各画素がKの値だけを有するビットマップデータを生成し、そのデータをバンドバッファ36に格納する(図3のステップS9)。
【0042】
一方、グレー印刷ではない場合には、前記ビットマップデータの生成(図3のステップS6)後、色変換部35が当該データを受け取って、順次、色変換処理を実行する(図3のステップS10)。各画素は、前述の通り画像の種類を表す属性情報を有しているので、色変換部35は、その情報に基づいて、RAMに読み込まれている3つの3D−LUT6から適合する3D−LUT6を選択し、色変換処理を実行する。色変換処理により、各画素は、CMYK4色の値を有するようになり、かかるビットマップデータは、バンドバッファ36に格納される(図3のステップS11)。
【0043】
グレー印刷の場合にもグレー印刷でない場合にも、バンドバッファ36に1ページ分のデータが格納されると、印刷エンジン4が起動し、その動作に同期して前述した階調補正部37以降の処理部が処理を実行する。グレー印刷の場合には、各画素はKの値しか有していないので、Kの値についてのみ階調補正部37以降の処理が実行され、まず、バンドバッファ36に格納されたビットマップデータが取り出されて、各画素毎に階調補正処理が行われる(図3のステップS12)。
【0044】
具体的には、階調補正部37が、そのRAMに保持されているグレーデータ処理部34が生成した1D−LUT8に基づいて、各画素のK値を新しい値に変換する。より具体的には、バンドバッファ36に格納されたビットマップデータが有するK値を、前記1D−LUT8の入力値とし、それに対応する出力値を新しい値として、当該画素のK値とする。即ち、グレーデータに対する実際の色変換処理は、当該階調補正部37で行われることとなる。従って、グレーデータ処理部34とこの階調補正部37によりグレーデータの色変換を行うグレー色変換手段が構成されると言える。このように補正されたビットマップデータは、階調補正部37からスクリーン部38に順次出力される。
【0045】
次に、スクリーン部38では、ビットマップデータのK値(Kの濃度値)をパルス幅に変換する処理を実行し(図3のステップS13)、その後、PWM部39において、パルス幅変調処理が実施され、前記スクリーン部38から出力されたパルス幅のデータがレーザ発光のON/OFF信号に変換される(図3のステップS14)。変換後の信号は印刷エンジン4に出力され(図3のステップS15)、
最終的に、印刷エンジン4においてKトナー単色による印刷が実施される(図3のステップS16)。
【0046】
一方、グレー印刷ではない場合には、バンドバッファ36に格納されているビットマップデータのCMYK各色について、順次、階調補正部37以降の処理が実行される。階調補正部37では、バンドバッファ36から1色毎にデータを取り出し、順次階調補正処理を実施する(図3のステップS12)。具体的には、前記LUT記憶部33に格納される階調補正LUT7をRAMに読み込み、ホストコンピュータ1側からの指示に基づいて当該階調補正LUT7を変更し、変更後のLUTにより処理中の色の値(例えば、Cの値)を変換する。変換後のデータはスクリーン部38に出力される。ホストコンピュータ1側からの指示がない場合には、色の値は変更されず、そのままのデータが出力される。
【0047】
その後、スクリーン処理、パルス幅変調処理がグレー印刷の場合と同様に実施され(図3のステップS13及びS14)、パルス幅変調後の信号が印刷エンジン4に出力されて(図3のステップS15)、印刷エンジン4においてカラー印刷が実施される(図3のステップS16)。
【0048】
以上説明したように、本実施の形態例に係る印刷装置2及び画像処理装置3では、印刷対象のデータがグレーデータである場合には、通常のカラー印刷とは異なるグレー印刷モードでの印刷を実行する。これにより、バンドバッファ36にビットマップデータを格納するまでの処理においても、それ以降の印刷エンジン4に同期した処理においても、各画素につき1色のデータのみを処理すればよく、グレーデータについてもカラー印刷と同様に処理する従来法よりも、処理時間を短縮することができ、かつ、データの保持容量を削減することができる。
【0049】
また、グレー印刷において行うGrayの入力値からKの出力値への色変換処理で使用する1D−LUT8を、印刷時にカラー印刷用の3D−LUT6から生成するため、メディアの種類、スクリーン処理の種類、及び画像の種類によって異なった複数種類の1D−LUTを予め用意しておく必要がなく、グレー印刷を行ってもLUTのための記憶領域を増大させずに済み、また、1D−LUT作成のための作業工数も必要ない。
【0050】
なお、前記の実施の形態例においては、グレーデータ処理部34が生成した1D−LUT8に基づく色変換を階調補正部37で行ったが、当該色変換をグレーデータ処理部34で行い、階調補正部37ではカラー印刷の場合と同様の処理をするようにしてもよい。即ち、グレーデータ処理部34において、生成した1D−LUT8に基づいて元のGray値をK値に変更してしまい、階調補正部37においては、ホストコンピュータ1側からの指示に基づく補正のみを行うようにしても良い。
【0051】
本発明の保護範囲は、上記の実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶものである。
【図面の簡単な説明】
【図1】実施の形態例に係る画像処理装置等の構成図である。
【図2】3D−LUTを説明するための図である。
【図3】本印刷装置2等における処理のフローチャートである。
【図4】1D−LUT8の生成を説明するための図である。
【符号の説明】
1 ホストコンピュータ、 2 印刷装置、 3 画像処理装置、 4 印刷エンジン、 5 印刷データ、 6 3D−LUT、 7 階調補正LUT、 81D−LUT、 10 ドライバー、 30 解釈部、 31 中間コードバッファ、 32 展開部、 33 LUT記憶部、 34 グレーデータ処理部、 35 色変換部、 36 バンドバッファ、 37 階調補正部、 38 スクリーン部、 39 PWM部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus that performs various image processing on received print data to generate data that can be printed by a print engine, and more particularly to efficiently perform printing when the print data is gray data. The present invention relates to an image processing apparatus and the like.
[0002]
[Prior art]
Normally, in color printing in a color laser printer or the like using a color format of C (cyan), M (magenta), Y (yellow), and K (black), the input colors of R (red), G (green), and B (blue) A process of converting the image data expressed in the format into the CMYK format is performed. In such color conversion processing, a look-up table (hereinafter referred to as 3D-LUT) in which CMYK density values (for example, 0 to 255) are associated with three-dimensional coordinate values composed of RGB density values (for example, 0 to 255). Is used). The 3D-LUT differs depending on the type of media such as plain paper and OHP, the type of screen processing, and the type of image such as characters and images. Usually, a plurality of types of 3D-LUTs are prepared. .
[0003]
Also, when the input image data is gray data having the same RGB density values (for example, R = G = B = 0 to 255), the above-mentioned 3D is usually not particularly distinguished. -Normal color printing processing such as color conversion processing by LUT has been executed.
[0004]
On the other hand, the following patent documents disclose an apparatus and a method for determining whether an image to be processed is a natural image or a text image and performing a color conversion process suitable for each image. In the case of a colored text image, a one-dimensional lookup table (hereinafter referred to as 1D-LUT) that associates one value of R = G = B with one value of C = M = Y is used. The fact that color conversion is performed is described.
[0005]
[Patent Document 1]
JP-A-10-145616
[0006]
[Problems to be solved by the invention]
However, as described above, even when the input image data is gray data, there is a problem that data processing time and data storage space are wasted if processing similar to normal color printing is performed. For example, when expressing the density of each color in 256 gradations from 0 to 255, in the case of gray data, the data before color conversion can be expressed by 8-bit information because R = G = B as described above. In addition, the data after color conversion can be expressed by K 8-bit information. Accordingly, as in normal color printing, it is not efficient to use RGB 24-bit information before color conversion and to use CMYK 32-bit information after color conversion.
[0007]
Further, as described in the above-mentioned patent document, in the case of gray data, processing using a 1D-LUT can be performed in distinction from the case of other image data. As in the case, it is necessary to prepare in advance a plurality of types of 1D-LUTs that differ depending on the type of media, the type of screen processing, and the type of image. In such a case, there is a problem that it is necessary to further secure storage areas for a plurality of 1D-LUTs, and further man-hours for creating the 1D-LUT are required.
[0008]
Therefore, an object of the present invention is an image processing apparatus that performs various image processing on received print data to generate data that can be printed by a print engine, and efficient printing is performed when the print data is gray data. It is to provide an image processing apparatus or the like that enables the above. It is another object of the present invention to provide an image processing apparatus and the like that can suppress an increase in storage area and an increase in the number of work steps for creating a lookup table when performing color conversion of the gray data with a 1D-LUT.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, according to one aspect of the present invention, image processing including color conversion processing for converting a color expression format is performed on received print data to generate printable data, When the image processing apparatus that outputs the data to the print engine stores storage means for storing at least one three-dimensional lookup table generated in advance for the color conversion process, and the print data is gray data Generating a one-dimensional lookup table using the three-dimensional lookup table stored in the storage means, executing the color conversion process using the generated one-dimensional lookup table, A gray color conversion means for generating data having information, and a three-dimensional lookup table stored in the storage means when the print data is not gray data; Run the color conversion process using, it is to have a color-converting means for generating data having color information of a plurality of colors. Therefore, according to the present invention, when the data to be printed is gray data, the image data has only one color information after color conversion, so that the data is printed more than when gray data is printed by normal color printing. Data processing capacity can be reduced. Further, since it is not necessary to prepare a one-dimensional lookup table for color conversion of gray data in advance, it is not necessary to increase the storage capacity for the lookup table even if printing for gray data is performed. The number of lookup table creation man-hours will not increase.
[0010]
Furthermore, in the above-mentioned invention, a preferable aspect thereof is that the three-dimensional lookup table used by the gray color conversion means for generating the one-dimensional lookup table is a lookup generated for an image whose image type is a character. It is a table.
[0011]
In order to achieve the above object, according to another aspect of the present invention, image processing including color conversion processing using a three-dimensional lookup table generated in advance is performed on received print data. An image processing apparatus that outputs processed data to a print engine generates a one-dimensional lookup table using the three-dimensional lookup table when the received print data is gray data, The color conversion process is performed using a one-dimensional lookup table.
[0012]
Furthermore, in the above invention, a preferred aspect is that the three-dimensional lookup table used for generating the one-dimensional lookup table is a lookup table generated for an image whose type is an image. It is characterized by.
[0013]
In order to achieve the above object, another aspect of the present invention includes a color conversion process for converting a color expression format and a gradation correction process for correcting a gradation value of each color for received print data. An image processing apparatus that performs image processing and outputs the image-processed data to a print engine includes a three-dimensional lookup table generated in advance for the color conversion processing and a floor for the gradation correction processing. A storage means for storing an adjustment correction lookup table; and when the print data is gray data, a one-dimensional lookup table is generated using the three-dimensional lookup table stored in the storage means, and Gray data processing means for generating first bitmap data having a gradation value of one color based on print data, and when the print data is not gray data, Color conversion means for executing the color conversion processing using a three-dimensional lookup table stored in the means to generate second bitmap data having gradation values of a plurality of colors, and the print data is gray data If the print data is not gray data, the color gradation value of the first bitmap data is converted using the one-dimensional lookup table generated by the gray data processing means. And a gradation correction means for correcting the gradation value of each color of the second bitmap data based on the gradation correction lookup table stored in the storage means. As a result, the color conversion process dedicated to gray data can be executed using the necessary gradation correction means even when printing for gray data is not performed.
[0014]
In order to achieve the above object, still another aspect of the present invention generates printable data by performing image processing including color conversion processing for converting a color expression format on received print data. A printing device that performs printing based on the data, storage means for storing at least one three-dimensional lookup table generated in advance for the color conversion processing, and the print data is gray data In addition, a one-dimensional lookup table is generated using the three-dimensional lookup table stored in the storage unit, and the color conversion process is executed using the generated one-dimensional lookup table. Gray color conversion means for generating data having color information, and a three-dimensional lookup table stored in the storage means when the print data is not gray data Use executing the color conversion process is that it has a color-converting means for generating data having color information of a plurality of colors.
[0015]
Furthermore, in the above-described invention, a preferred aspect is that the three-dimensional lookup table used by the gray color conversion unit to generate the one-dimensional lookup table is a lookup table generated for an image whose type is an image. It is characterized by being.
[0016]
Further objects and features of the present invention will become apparent from the embodiments of the invention described below.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings. However, such an embodiment does not limit the technical scope of the present invention. In the drawings, the same or similar elements are denoted by the same reference numerals or reference symbols.
[0018]
FIG. 1 is a configuration diagram according to an embodiment of an image processing apparatus and a printing apparatus to which the present invention is applied. As shown in FIG. 1, a printing apparatus 2 according to this embodiment includes an image processing apparatus 3 and a print engine 4, and performs color printing based on print data 5 transmitted from a host computer 1. It is a printer. The image processing device 3 is a controller portion of the printing device 2 that generates various data that can be printed by the print engine 4 by executing various image processing including color conversion processing based on the print data 5. When the print data 5 is gray data, the printing apparatus 2 and the image processing apparatus 3 according to this embodiment reduce the amount of data to be processed and store a 1D-LUT necessary for color conversion in advance. In addition, by generating at the time of printing from the 3D-LUT, it is intended to efficiently print gray data (hereinafter referred to as gray printing).
[0019]
A host computer 1 shown in FIG. 1 is a request source that requests the printing apparatus 2 to print, and includes a personal computer or the like. A driver 10 provided in the host computer 1 is a driver for the printing apparatus 2 and is a part that generates and transmits print data 5 expressed in a page description language. The driver 10 also determines whether or not the current printing is gray printing.
[0020]
Next, as shown in FIG. 1, the image processing apparatus 3 includes a plurality of processing units, has a gray printing mode for gray printing, and includes a gray data processing unit 34 for the mode. It is a great feature. First, the interpretation unit 30 is a part that receives the print data 5 described above, interprets the data, generates an intermediate code, and issues a command to each unit based on the result of the interpretation. The intermediate code buffer 31 is a part for storing the generated intermediate code. The expansion unit 32 is a part that expands the intermediate code stored in the intermediate code buffer 31 into bitmap data for each pixel.
[0021]
Next, the LUT storage unit 33 (storage means) is a ROM that stores a 3D-LUT 6 for color conversion processing and a tone correction LUT 7 for tone correction processing. The 3D-LUT 6 is a correspondence table for converting pixel color density data expressed in RGB into CMYK format data, as described in the related art, and includes a media type, a screen processing type, and an image. Different types are prepared in advance depending on the type. For example, when there are two types of media, two types of screens, and three types of images, 2 × 2 × 3 = 12 types of 3D-LUTs are prepared.
[0022]
FIG. 2 is a diagram for explaining such a 3D-LUT. 2A conceptually shows the 3D-LUT, and FIG. 2B is a correspondence table between grids and RGB values, which will be described later. Here, the case where the density of each color of RGB is expressed by 256 gradations from 0 to 255 is shown.
[0023]
As described above, since the 3D-LUT associates each density value of CMYK with a three-dimensional coordinate value composed of each density value of RGB of a pixel, conceptually, (a) in FIG. A 3D-LUT is one in which the corresponding CMYK values are stored in each point of the cube shown in FIG. However, instead of storing the values corresponding to all the points composed of 256 gradations as described above, as shown in FIG. 2A, 0 to 256 are equally divided into several sections smaller than 256. Corresponding CMYK values are stored only for each possible grid (such as g in FIG. 2A). In the example shown in the figure, 9 grids are set between 0 and 255, but 17 grids and 33 grids may be used depending on accuracy.
[0024]
For RGB values located between the grids, corresponding CMYK values are obtained by interpolation based on the values stored in the surrounding grids. FIG. 2B shows the grid positions of the 9 grids in the respective RGB axis directions and the corresponding RGB values. For example, the grid position indicated by g ′ in FIG. The corresponding value of R is 223.
[0025]
Next, the tone correction LUT 7 is a look-up table for tone correction processing in a tone correction unit 37 described later. The gradation correction LUT 7 is a one-dimensional correspondence table. Normally, the LUT storage unit 33 stores a gradation correction LUT 7 that uses an input value as it is as an output value.
[0026]
Next, the gray data processing unit 34 (gray data processing means) is a characteristic part of the present invention that executes processing at the time of gray printing, and generates a 1D-LUT 8 that is a color conversion table for gray data, and a bit. The map data is mainly written to the band buffer 36. Specific processing contents will be described later. Note that the gray data processing unit 34 has a RAM, and this RAM is used to temporarily hold the 3D-LUT 6 and the like read from the LUT storage unit 33.
[0027]
Next, the color conversion unit 35 (color color conversion means or color conversion means) is a part that executes color conversion processing when performing normal color printing instead of gray printing, and is suitable for 3D- data suitable for data to be printed. Color conversion is executed by the LUT 6, and the converted bitmap data is stored in the band buffer 36. The color conversion unit 35 also has a RAM, and temporarily holds the 3D-LUT 6 and the like read from the LUT storage unit 33.
[0028]
Next, the band buffer 36 is a buffer for storing the bitmap data processed by the gray data processing unit 34 or the color conversion unit 35 for one page of printing for each band. Each pixel of the stored bitmap data has CMYK 4-color data as color data in the case of normal color printing, but has only K data in the case of gray printing.
[0029]
Next, the gradation correction unit 37 (gradation correction means) is a part that corrects the color data stored in the band buffer 36 in accordance with an instruction from the host computer 1 or the like. The tone correction unit 37 has a RAM, and temporarily holds the tone correction LUT 7 stored in the LUT storage unit 33 described above or the 1D-LUT 8 generated by the gray data processing unit 34.
[0030]
Next, the screen unit 38 is a part that executes processing for converting each color data (density value) of the bitmap data stored in the band buffer 36 into a pulse width. The PWM section 39 is a section for converting the pulse width data output from the screen section 38 into an ON / OFF signal for laser emission. Finally, the print engine 4 is a part that executes actual printing based on the signal from the PWM unit 39.
[0031]
FIG. 3 is a flowchart illustrating the flow of processing in the printing apparatus 2 and the image processing apparatus 3 according to this embodiment. Hereinafter, specific processing contents will be described with reference to FIG. First, the interpretation unit 30 of the image processing apparatus 3 receives the print data 5 from the host computer 1 (step S1 in FIG. 3). Information about whether or not the print data is gray data is added to the print data 5. The determination as to whether or not the data is gray data is made by the driver 10 of the host computer 1, and if all colors are R = G = B in units of print requests or in units of print pages, the gray data is determined. It is judged that there is.
[0032]
In addition, information about the type of media and the type of screen processing described above is added to the header portion of the print data 5 by the driver 10. Further, the above-described information on the type of image (for example, characters, images, or graphics) is added to the header portion in the case of gray data, and to each image data in the case of not gray data. In the case of gray data, information indicating that the type of image is “character” is added.
[0033]
The interpretation unit 30 that has received the print data 5 first determines whether or not to perform printing by gray printing based on the information on whether or not the data is gray data (step S2 in FIG. 3). If the print data 5 is gray data, it is determined that gray printing is to be performed (Yes in step S2 in FIG. 3), and the 3D-LUT 6 conforming to the print data 5 is stored in the LUT in the gray data processing unit 34. The data is read from the unit 33 (step S3 in FIG. 3). Specifically, as described above, since the header portion of the print data 5 includes information on the type of media, the type of screen processing, and the type of image, one 3D that matches those information. -LUT 6 is extracted from the LUT storage unit 33 and held in the RAM of the gray data processing unit 34. As described above, in the case of gray data, since the type of image is “character”, the 3D-LUT 6 for characters is held.
[0034]
On the other hand, if the print data 5 is not gray data, it is determined not to perform gray printing (No in step S2 in FIG. 3), and the 3D-LUT 6 suitable for the print data 5 is stored in the color conversion unit 35 as the LUT storage unit 33 (step S4 in FIG. 3). In this case, the 3D-LUT 6 suitable for the type of media and the type of screen processing included in the header of the print data 5 is taken out, but the type of image differs depending on the object of the image, so it is determined as one type. Instead, three 3D-LUTs 6 that match the two types are taken out and held in the RAM of the color conversion unit 35. That is, three 3D-LUTs 6 for characters, images, and graphics are held.
[0035]
Next, the interpretation unit 30 generates an intermediate code from the print data 5, and stores the generated intermediate code in the intermediate code buffer 31 (step S5 in FIG. 3). The intermediate code stored in the intermediate code buffer 31 is read by the expansion unit 32 and sequentially converted into bitmap data for each pixel (step S6 in FIG. 3). Here, image data in which each pixel has a density value (tone value) of each color is generated. However, since the color representation format of the print data 5 is RGB, each pixel has each RGB density value. It becomes. However, when the print data 5 is gray data, since the RGB density values are equal, only one value is provided as the gray density value (tone value) as the color information. If the data is not gray data, each pixel has the RGB density values and image type information (attribute information).
[0036]
Next, in the case of gray printing, the bitmap data is transferred to the gray data processing unit 34. Here, the gray data processing unit 34 first generates a 1D-LUT 8 which is a one-dimensional conversion table for color conversion of gray data, based on the 3D-LUT 6 held in the RAM (step of FIG. 3). S7).
[0037]
FIG. 4 is a diagram for explaining generation of the 1D-LUT 8. 4A shows a 3D-LUT for characters held in the RAM of the gray data processing unit 34, and FIG. 4B shows the generated 1D-LUT 8 in a graph. It is a thing. Hereinafter, the generation of the 1D-LUT 8 will be described with reference to FIG. First, the 3D-LUT 6 for characters held in the RAM is set so that the gray axis is printed with a single color of K toner. That is, the X axis shown in FIG. 4A is a gray axis, and the CMYK values associated with the grid on this axis are all in the form (0, 0, 0, β). Therefore, this gray axis represents CMYK values in the form (0, 0, 0, β) with respect to input values (Gray density values) in the form (α, α, α) where R = G = B. Are associated with each other. This means that this gray axis provides a color conversion table for gray printing in which gray data is printed with a single color of K toner.
[0038]
In the present embodiment, using this point, the 1D-LUT 8 is generated as follows. First, as shown in FIG. 4B, the horizontal density represents the gray density value of the input value, and the vertical axis represents the K density value of the output value. Then, nine grids on the gray axis of the character 3D-LUT 6 are plotted on this graph. That is, the α of the RGB value (α, α, α) is plotted on the horizontal axis, and the CMYK value of (0, 0, 0, β) β is plotted on the vertical axis. The white circle in the figure represents the plot result. Here, as described based on FIG. 2, the 9D (0 to 8) 3D-LUT 6 is used, but a 3D-LUT having another number of grids may be used.
[0039]
Next, each corresponding value is determined by linear interpolation between the nine grids. Specifically, output values (K density values) are determined based on the following expression (1) for 256 gradation input values (Gray density values) from 0 to 255, respectively.
[0040]
K [in] = (in−grid [n]) × (K [n + 1] −K [n]) / (grid [n + 1] −grid [n]) + K [n]
in: Input value (Gray density value)
K [in]: Output value (K concentration value)
n, n + 1: Grid position of plot points located immediately before and immediately after in on the horizontal axis
grid [n]: Input value of plot point at grid position n
K [n]: Output value of plot point at grid position n (1)
A line connecting the plotted points (white circles in the figure) in FIG. 4B represents the 256 gradation input values and the determined output values. Such a line represents the 1D-LUT 8 for converting the Gray density value to the K density value in a graph format. As described above, the gray data processing unit 34 generates the 1D-LUT 8 by using the 3D-LUT 6 for characters, and then writes the generated 1D-LUT 8 in the RAM of the gradation correction unit 37 described above (FIG. 3 step S8). In the generation of the 1D-LUT 8, the method using linear interpolation is used between the nine grids, but other interpolation methods may be used.
[0041]
Next, the gray data processing unit 34 uses the gray density value (gradation value) of the received bitmap data as the K value as it is to generate bitmap data in which each pixel has only the K value, Data is stored in the band buffer 36 (step S9 in FIG. 3).
[0042]
On the other hand, if it is not gray printing, after the bitmap data is generated (step S6 in FIG. 3), the color conversion unit 35 receives the data and sequentially executes color conversion processing (step S10 in FIG. 3). ). Since each pixel has the attribute information indicating the type of image as described above, the color conversion unit 35, based on the information, matches the 3D-LUT 6 that matches from the three 3D-LUTs 6 read into the RAM. To execute color conversion processing. By the color conversion process, each pixel has CMYK four color values, and such bitmap data is stored in the band buffer 36 (step S11 in FIG. 3).
[0043]
Regardless of whether gray printing or gray printing is performed, when one page of data is stored in the band buffer 36, the print engine 4 is activated, and the gradation correction unit 37 and the subsequent ones described above are synchronized with the operation. The processing unit executes processing. In the case of gray printing, since each pixel has only a K value, the processing after the gradation correction unit 37 is executed only for the K value. First, the bitmap data stored in the band buffer 36 is stored. Then, gradation correction processing is performed for each pixel (step S12 in FIG. 3).
[0044]
Specifically, the gradation correction unit 37 converts the K value of each pixel into a new value based on the 1D-LUT 8 generated by the gray data processing unit 34 held in the RAM. More specifically, the K value included in the bitmap data stored in the band buffer 36 is set as the input value of the 1D-LUT 8, and the output value corresponding to the K value is set as the new value to be the K value of the pixel. That is, the actual color conversion process for gray data is performed by the gradation correction unit 37. Therefore, it can be said that the gray data converting unit 34 and the gradation correcting unit 37 constitute a gray color converting unit that performs color conversion of gray data. The bitmap data corrected in this way is sequentially output from the gradation correction unit 37 to the screen unit 38.
[0045]
Next, the screen unit 38 executes a process of converting the K value (K density value) of the bitmap data into a pulse width (step S13 in FIG. 3), and then the PWM unit 39 performs a pulse width modulation process. The pulse width data output from the screen unit 38 is converted into a laser emission ON / OFF signal (step S14 in FIG. 3). The converted signal is output to the print engine 4 (step S15 in FIG. 3),
Finally, the printing engine 4 performs printing with a single color of K toner (step S16 in FIG. 3).
[0046]
On the other hand, when the printing is not gray printing, the processing after the gradation correction unit 37 is sequentially executed for each color of CMYK of the bitmap data stored in the band buffer 36. The gradation correction unit 37 extracts data for each color from the band buffer 36 and sequentially performs gradation correction processing (step S12 in FIG. 3). Specifically, the gradation correction LUT 7 stored in the LUT storage unit 33 is read into the RAM, the gradation correction LUT 7 is changed based on an instruction from the host computer 1 side, and processing is being performed by the changed LUT. A color value (for example, a C value) is converted. The converted data is output to the screen unit 38. When there is no instruction from the host computer 1, the color value is not changed and the data is output as it is.
[0047]
Thereafter, screen processing and pulse width modulation processing are performed in the same manner as in the case of gray printing (steps S13 and S14 in FIG. 3), and a signal after pulse width modulation is output to the print engine 4 (step S15 in FIG. 3). Color printing is performed in the print engine 4 (step S16 in FIG. 3).
[0048]
As described above, in the printing apparatus 2 and the image processing apparatus 3 according to the present embodiment, when the data to be printed is gray data, printing in a gray printing mode different from normal color printing is performed. Execute. As a result, in the processing up to storing the bitmap data in the band buffer 36 and the processing synchronized with the print engine 4 thereafter, only one color data needs to be processed for each pixel, and the gray data is also processed. The processing time can be shortened and the data holding capacity can be reduced as compared with the conventional method of processing in the same manner as color printing.
[0049]
Further, since the 1D-LUT 8 used in the color conversion process from the gray input value to the K output value performed in gray printing is generated from the 3D-LUT 6 for color printing at the time of printing, the type of media and the type of screen processing In addition, it is not necessary to prepare in advance a plurality of types of 1D-LUTs that differ depending on the type of image, and it is not necessary to increase the storage area for LUTs even if gray printing is performed. No work man-hours are required.
[0050]
In the embodiment described above, the color conversion based on the 1D-LUT 8 generated by the gray data processing unit 34 is performed by the gradation correction unit 37. However, the color conversion is performed by the gray data processing unit 34. The tone correction unit 37 may perform the same processing as in color printing. That is, the gray data processing unit 34 changes the original gray value to the K value based on the generated 1D-LUT 8, and the tone correction unit 37 performs only correction based on an instruction from the host computer 1 side. You may make it do.
[0051]
The protection scope of the present invention is not limited to the above-described embodiment, but covers the invention described in the claims and equivalents thereof.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an image processing apparatus and the like according to an embodiment.
FIG. 2 is a diagram for explaining a 3D-LUT.
FIG. 3 is a flowchart of processing in the printing apparatus 2 and the like.
FIG. 4 is a diagram for explaining generation of a 1D-LUT 8;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Host computer, 2 Printing apparatus, 3 Image processing apparatus, 4 Print engine, 5 Print data, 6 3D-LUT, 7 Gradation correction LUT, 81D-LUT, 10 Driver, 30 Interpretation part, 31 Intermediate code buffer, 32 Expansion | deployment Section, 33 LUT storage section, 34 gray data processing section, 35 color conversion section, 36 band buffer, 37 gradation correction section, 38 screen section, 39 PWM section

Claims (7)

受信した印刷データに対して、色表現形式を変換する色変換処理を含む画像処理を施して、印刷可能なデータを生成し、当該データを印刷エンジンに出力する画像処理装置であって、
前記色変換処理のための、予め生成された少なくとも1つの3次元ルックアップテーブルを記憶する記憶手段と、
前記印刷データがグレーデータである場合に、前記記憶手段に記憶された3次元ルックアップテーブルを用いて、1次元ルックアップテーブルを生成し、当該生成した1次元ルックアップテーブルを使用して前記色変換処理を実行し、1色の色情報を有するデータを生成するグレー色変換手段と、
前記印刷データがグレーデータでない場合に、前記記憶手段に記憶された3次元ルックアップテーブルを使用して前記色変換処理を実行し、複数色の色情報を有するデータを生成するカラー色変換手段とを有する
ことを特徴とする画像処理装置。
An image processing apparatus that performs image processing including color conversion processing for converting a color expression format on received print data, generates printable data, and outputs the data to a print engine,
Storage means for storing at least one three-dimensional lookup table generated in advance for the color conversion processing;
When the print data is gray data, a one-dimensional lookup table is generated using a three-dimensional lookup table stored in the storage unit, and the color is generated using the generated one-dimensional lookup table. Gray color conversion means for executing conversion processing and generating data having color information of one color;
Color color conversion means for executing the color conversion processing using a three-dimensional lookup table stored in the storage means and generating data having color information of a plurality of colors when the print data is not gray data; An image processing apparatus comprising:
請求項1において、
前記1次元ルックアップテーブルの生成に用いる3次元ルックアップテーブルが、画像の種類が文字である画像用に生成されたルックアップテーブルである
ことを特徴とする画像処理装置。
In claim 1,
An image processing apparatus, wherein the three-dimensional lookup table used for generating the one-dimensional lookup table is a lookup table generated for an image whose type is an image.
受信した印刷データに対して、予め生成された3次元ルックアップテーブルを使用した色変換処理を含む画像処理を実施し、当該画像処理後のデータを印刷エンジンに出力する画像処理装置であって、
前記受信した印刷データがグレーデータである場合には、前記3次元ルックアップテーブルを用いて1次元ルックアップテーブルを生成し、当該生成した1次元ルックアップテーブルを使用して前記色変換処理を実行する
ことを特徴とする画像処理装置。
An image processing apparatus that performs image processing including color conversion processing using a three-dimensional lookup table generated in advance on received print data, and outputs the data after the image processing to a print engine,
If the received print data is gray data, a one-dimensional lookup table is generated using the three-dimensional lookup table, and the color conversion process is executed using the generated one-dimensional lookup table. An image processing apparatus.
請求項3において、
前記1次元ルックアップテーブルを生成するために用いる前記3次元ルックアップテーブルが、画像の種類が文字である画像用に生成されたルックアップテーブルである
ことを特徴とする画像処理装置。
In claim 3,
The image processing apparatus, wherein the three-dimensional lookup table used to generate the one-dimensional lookup table is a lookup table generated for an image whose type is an image.
受信した印刷データに対して、色表現形式を変換する色変換処理と各色の階調値を補正する階調補正処理とを含む画像処理を実施し、当該画像処理後のデータを印刷エンジンに出力する画像処理装置であって、
前記色変換処理のための予め生成された3次元ルックアップテーブルと、前記階調補正処理のための階調補正ルックアップテーブルとを記憶する記憶手段と、
前記印刷データがグレーデータである場合に、前記記憶手段に記憶された3次元ルックアップテーブルを用いて1次元ルックアップテーブルを生成すると共に、前記印刷データに基づいて1色の階調値を有する第一のビットマップデータを生成するグレーデータ処理手段と、
前記印刷データがグレーデータでない場合に、前記記憶手段に記憶された3次元ルックアップテーブルを使用して前記色変換処理を実行し、複数色の階調値を有する第二のビットマップデータを生成する色変換手段と、
前記印刷データがグレーデータである場合には、前記グレーデータ処理手段が生成した1次元ルックアップテーブルを用いて前記第一のビットマップデータの前記色の階調値を変換し、前記印刷データがグレーデータでない場合には、前記記憶手段に記憶された前記階調補正ルックアップテーブルに基づいて、前記第二のビットマップデータの前記各色の階調値を補正する階調補正手段とを有する
ことを特徴とする画像処理装置。
The received print data is subjected to image processing including color conversion processing that converts the color expression format and tone correction processing that corrects the tone value of each color, and the image processed data is output to the print engine An image processing apparatus that
Storage means for storing a pre-generated three-dimensional lookup table for the color conversion process and a gradation correction lookup table for the gradation correction process;
When the print data is gray data, a one-dimensional lookup table is generated using the three-dimensional lookup table stored in the storage unit, and one tone value is provided based on the print data. Gray data processing means for generating first bitmap data;
When the print data is not gray data, the color conversion processing is executed using a three-dimensional lookup table stored in the storage unit, and second bitmap data having gradation values of a plurality of colors is generated. Color conversion means to
When the print data is gray data, the tone value of the color of the first bitmap data is converted using a one-dimensional lookup table generated by the gray data processing means, and the print data If the data is not gray data, the image processing apparatus has gradation correction means for correcting the gradation value of each color of the second bitmap data based on the gradation correction lookup table stored in the storage means. An image processing apparatus.
受信した印刷データに対して、色表現形式を変換する色変換処理を含む画像処理を施して、印刷可能なデータを生成し、当該データに基づいて印刷を実行する印刷装置であって、
前記色変換処理のための、予め生成された少なくとも1つの3次元ルックアップテーブルを記憶する記憶手段と、
前記印刷データがグレーデータである場合に、前記記憶手段に記憶された3次元ルックアップテーブルを用いて、1次元ルックアップテーブルを生成し、当該生成した1次元ルックアップテーブルを使用して前記色変換処理を実行し、1色の色情報を有するデータを生成するグレー色変換手段と、
前記印刷データがグレーデータでない場合に、前記記憶手段に記憶された3次元ルックアップテーブルを使用して前記色変換処理を実行し、複数色の色情報を有するデータを生成するカラー色変換手段とを有する
ことを特徴とする印刷装置。
A printing device that performs image processing including color conversion processing for converting a color expression format on received print data, generates printable data, and executes printing based on the data,
Storage means for storing at least one three-dimensional lookup table generated in advance for the color conversion processing;
When the print data is gray data, a one-dimensional lookup table is generated using a three-dimensional lookup table stored in the storage unit, and the color is generated using the generated one-dimensional lookup table. Gray color conversion means for executing conversion processing and generating data having color information of one color;
Color color conversion means for executing the color conversion processing using a three-dimensional lookup table stored in the storage means and generating data having color information of a plurality of colors when the print data is not gray data; A printing apparatus comprising:
請求項6において、
前記グレー色変換手段が前記1次元ルックアップテーブルの生成に用いる3次元ルックアップテーブルが、画像の種類が文字である画像用に生成されたルックアップテーブルである
ことを特徴とする印刷装置。
In claim 6,
The printing apparatus, wherein the three-dimensional lookup table used by the gray color conversion unit to generate the one-dimensional lookup table is a lookup table created for an image whose type is an image.
JP2003085769A 2003-03-26 2003-03-26 Image processing apparatus and printing apparatus Expired - Fee Related JP4075657B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003085769A JP4075657B2 (en) 2003-03-26 2003-03-26 Image processing apparatus and printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003085769A JP4075657B2 (en) 2003-03-26 2003-03-26 Image processing apparatus and printing apparatus

Publications (2)

Publication Number Publication Date
JP2004297360A JP2004297360A (en) 2004-10-21
JP4075657B2 true JP4075657B2 (en) 2008-04-16

Family

ID=33400602

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003085769A Expired - Fee Related JP4075657B2 (en) 2003-03-26 2003-03-26 Image processing apparatus and printing apparatus

Country Status (1)

Country Link
JP (1) JP4075657B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7479907B2 (en) 2020-04-03 2024-05-09 キヤノン株式会社 Information processing device, control method for information processing device, program, and storage medium

Also Published As

Publication number Publication date
JP2004297360A (en) 2004-10-21

Similar Documents

Publication Publication Date Title
JP4771538B2 (en) Color conversion table generation method, color conversion table, and color conversion table generation apparatus
JP5067276B2 (en) Color conversion method, color conversion table generated by the color conversion method, image processing apparatus, and color conversion program
US7692813B2 (en) Image processing apparatus and method, and storage medium
JP4618324B2 (en) Image processing apparatus and program
JPH07254988A (en) Color image processing system and its data correction method
US7679795B2 (en) Image processing apparatus and method thereof
JP4882626B2 (en) Image processing apparatus, image forming apparatus, and program
JPH111029A (en) Color print system, color printer, and computer readable recording medium storing computer executable program
JP2003348366A (en) Method and apparatus for image processing
JP2000165690A (en) Image processing method and image processing apparatus
JPH11105349A (en) PRINT PROCESSING SYSTEM, PRINT PROCESSING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING PRINT PROCESSING CONTROL PROGRAM
JP4929884B2 (en) Image processing apparatus and program
JP4075657B2 (en) Image processing apparatus and printing apparatus
JPH09326938A (en) Image processing unit and its method
JP4356953B2 (en) Image processing system, image processing apparatus, control method therefor, and storage medium
JP2010050832A (en) Device and method for processing image, program, and recording medium
KR20230055361A (en) Image processing apparatus, image processing method, and storage medium storing program
JP3581381B2 (en) Image processing method and image processing apparatus
JPH04107163A (en) Recording device
JP2006260532A (en) Image processing apparatus and image processing method
JP2006103045A (en) Image forming apparatus
JP2011239428A (en) Image processing device and its data conversion method
JP2006260533A (en) Image processing apparatus and image processing method
JP2004147301A (en) Color conversion processing method, color conversion processing apparatus, and color conversion processing program
JP2024008263A (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060203

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071108

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080108

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080121

R150 Certificate of patent or registration of utility model

Ref document number: 4075657

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees