JP4092983B2 - Image processing apparatus for performing filter processing according to output resolution - Google Patents

Image processing apparatus for performing filter processing according to output resolution Download PDF

Info

Publication number
JP4092983B2
JP4092983B2 JP2002246562A JP2002246562A JP4092983B2 JP 4092983 B2 JP4092983 B2 JP 4092983B2 JP 2002246562 A JP2002246562 A JP 2002246562A JP 2002246562 A JP2002246562 A JP 2002246562A JP 4092983 B2 JP4092983 B2 JP 4092983B2
Authority
JP
Japan
Prior art keywords
image data
color system
smoothing
color
output
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
JP2002246562A
Other languages
Japanese (ja)
Other versions
JP2004088407A5 (en
JP2004088407A (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 JP2002246562A priority Critical patent/JP4092983B2/en
Publication of JP2004088407A publication Critical patent/JP2004088407A/en
Publication of JP2004088407A5 publication Critical patent/JP2004088407A5/ja
Application granted granted Critical
Publication of JP4092983B2 publication Critical patent/JP4092983B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、カラー画像データを変換する技術に関し、詳しくは第1の表色系により表現された画像データを、第2の表色系による画像データに迅速に変換する技術に関する。
【0002】
【従来の技術】
カラー原稿をスキャナなどの画像入力部を用いて読み取ったり、コンピュータを用いて作成したカラー画像を、例えばCRTなどのディスプレイやカラープリンタなどを用いて再生表示させる画像処理装置が知られている。
【0003】
これらディスプレイやカラープリンタなどの画像出力装置は、それぞれに特有の色再現特性を有していることから、スキャナなどを用いて入力したカラー画像の色を、画像出力装置の特性によらず良好に再現するためは、使用する画像出力装置の色再現特性に合わせて変換処理を行うことが必要となる。こうした変換は色変換と呼ばれる。色変換を行うための代表的な手法としては、変換テーブルを用いる技術が提案されている(特開平4−185075号など)。変換テーブルとは、カラー画像データと色変換済みの画像データとを対応付けて記憶した数表である。例えば、カラー画像データがレッド(以下、Rと記す)、グリーン(以下、Gと記す)、ブルー(以下、Bと記す)の3色成分で表現可能なことに着目すると、これら各色成分を直交3軸に取った色空間を考えることができ、この色空間を格子状に分割して、各格子点に色変換済みのカラー画像データを予め記憶した3次元の数表を作成することができる。カラー画像データを色変換するときには、色空間上でカラー画像データに対応する座標点と該座標点の周囲にある格子点とを検出し、周囲の格子点に記憶されている画像データから補間演算を行うことによって、カラー画像データに対応する色変換済みの画像データを算出することができる。
【0004】
また、本願出願人は、変換テーブルを参照しながらも、補間演算を行うことなく色変換処理を行うことによって迅速に処理可能な手法を開発し、既に出願済みである(特開平9−294212号)。この手法では、カラー画像データにノイズを作用させることによって、カラー画像データを、該画像データに対応する座標点の周辺にあるいずれかの格子点に割り付ける処理を行う。この結果、カラー画像データは、色変換テーブルのいずれかの格子点に量子化されることになる。変換テーブルの各格子点には、色変換補正済みの画像データが予め記憶されているから、カラー画像データをいずれかの格子点に量子化してしまえば、補間演算を行うことなく、カラー画像データを色変換済みの画像データに迅速に色変換することができる。本明細書では、このようにカラー画像データを、変換テーブルの格子点のいずれかに量子化する処理を「プレ変換処理」と呼ぶ。
【0005】
このように、プレ変換処理を行って得られた色変換済みの画像データには、画像データを量子化するために加えたことに起因するノイズが混入している。本明細書では、このようなノイズを「プレ変換ノイズ」と呼ぶ。一般にノイズは、平均すると互いに打ち消し合う性質があるので、色変換済みの画像データに含まれるプレ変換ノイズも、ある広さの領域で見れば互いに打ち消し合うこととなって、変換精度を大きく損なうことはない。とは言え、プレ変換ノイズが含まれていることは、少なくとも好ましいことではない。そこで、色変換済みの画像データに移動平均法などのローパスフィルタを作用させてプレ変換ノイズを除去することにより、カラー画像データを迅速にかつ精度良く変換することが可能となる。本明細書では、ローパスフィルタを作用させてプレ変換ノイズを除去する処理を「フィルタ処理」と呼ぶ。
【0006】
【発明が解決しようとする課題】
しかし、色変換後の画像データにフィルタ処理を行ってプレ変換ノイズを除去しているにも関わらず、カラー画像データによっては、得られた画像が十分に高画質な画像とならない場合があった。
【0007】
本発明は、従来技術における上述の課題を解決するためになされたものであり、プレ変換処理を行ってカラー画像データを迅速に色変換しながら、カラー画像データによらず、常に高画質な画像を表現可能な技術の提供を目的とする。
【0008】
【課題を解決するための手段およびその作用・効果】
上述の課題の少なくとも一部を解決するため、本発明の画像処理装置は、次の構成を採用した。すなわち、
第1の表色系によって表現された入力画像データを、所定の大きさの画素により構成されて第2の表色系により表現された出力画像データに変換する画像処理装置であって、
前記第1の表色系によって表現され且つ予め選択された複数の画像データを、前記第2の表色系による画像データに対応付けて記憶している変換テーブルと、
前記各々の入力画像データを、前記変換テーブルに記憶されている第1の表色系による画像データのいずれかに変換することにより、該入力画像データの量子化を行う画像データ量子化手段と、
前記量子化した入力画像データを、前記変換テーブルを参照することにより前記第2の表色系による画像データに変換する表色系変換手段と、
前記変換された第2の表色系による画像データを平滑化する画像データ平滑化手段と、
前記平滑化された画像データを前記出力画像データとして出力する画像データ出力手段と
を備えることを要旨とする。
【0009】
また、上記の画像処理装置に対応する本発明の画像処理方法は、
第1の表色系によって表現された入力画像データを、所定の大きさの画素により構成されて第2の表色系により表現された出力画像データに変換する画像処理方法であって、
前記第1の表色系によって表現され且つ予め選択された複数の画像データを、前記第2の表色系による画像データに対応付けて、変換テーブルに記憶しておく工程と、
前記各々の入力画像データを、前記変換テーブルに記憶されている第1の表色系による画像データのいずれかに変換することにより、該入力画像データの量子化を行う工程と、
前記量子化した入力画像データを、前記変換テーブルを参照することにより前記第2の表色系による画像データに変換する工程と、
前記変換された第2の表色系による画像データを平滑化する工程と、
前記平滑化された画像データを前記出力画像データとして出力する工程と
を備えることを要旨とする。
【0010】
かかる画像処理装置および画像処理方法においては、前記第1の表色系で表現された入力画像データを量子化した後、前記変換テーブルを参照することによって、前記第2の表色系で表現された画像データに変換する。このとき、変換によって得られた画像データには、入力画像データを量子化したことに起因するノイズが重畳している。そこで、該第2の表色系による画像データを平滑化することにより該ノイズを減少させてから、出力画像データとして出力する。
【0011】
こうすれば、適切な度合いで平滑化することができるので、プレ変換ノイズを効果的に除去しながら常に高画質な画像を表現することができる。
【0012】
尚、画像処理装置から出力された出力画像データを第2の画像処理装置に入力して、解像度が変換された新たな出力画像データにとして出力する場合も起こり得る。この様な場合の出力解像度とは、第2の画像処理装置から出力される画像データの解像度ではなく、第2の画像処理装置に向かって出力される出力画像データの解像度であることは言うまでもない。
【0013】
こうした画像処理装置において画像データを平滑化するに際しては、出力解像度が高くなるほど、平滑化の度合いを強くすることとしても良い。
【0014】
詳細には後述するが、平滑化の度合いを強くするほど、量子化に伴って発生するノイズを効果的に除去することができるが、その一方で、画像データがある階調値から他の階調値に急激に変化している部分で、変化が鈍ってしまい、全体としてぼやけた感じの画像になってしまうおそれがある。これに対して、出力解像度が高くなれば、隣接する画素間では階調値がゆっくり変化していても、画像全体として見れば階調値が依然として速やかに変化しているように見えるので、画質の悪化を引き起こすことはない。このことから、出力解像度が高くなるほど平滑化の度合いを強くしてやれば、画像データに含まれるノイズを効果的に除去しながら、ぼやけた感じの画像になってしまうことを回避することが可能となるので好適である。
【0015】
あるいは、上述した画像処理装置においては、入力画像データが所定値以上変化する画素位置たるエッジ位置を検出することとして、該エッジ位置の検出結果に応じた度合いで、画像データの平滑化を行うこととしてもよい。
【0016】
一般に平滑化の度合いを強くすると、画像データに含まれる空間周波数の高い成分が除去されてしまい、全体としてぼやけた感じの画像となってしまう。特に、画像データの階調値が大きく変化するエッジ位置では、高い空間周波数を除去したことによる影響が顕著に現れ易い。このことから、画像データ中のエッジ位置を検出して、エッジの検出結果と出力解像度とに応じた度合いで平滑化を行うこととすれば、平滑化によってぼやけた感じの画像になってしまうことを効果的に回避することが可能になる。
【0017】
こうした画像処理装置においては、エッジ位置では、平滑化の度合いを小さくしたり、あるいはエッジ位置を除いた部分を平滑化することとしても良い。
【0018】
前述したように、画像データを平滑化する度合いが強くなるほど、輪郭のぼやけた感じの画像になってしまうので、エッジ位置では、平滑化の度合いを小さくしたり、あるいはエッジ位置については平滑化を行わないこととすることで、画像データに含まれるノイズを除去しつつ、ぼやけた感じの画像となってしまうことを効果的に回避することが可能となる。
【0019】
上述した画像処理装置においては、出力画像データの平滑化度合いの修正に関する修正情報を設定可能として、画像データの平滑化に際しては、前記出力解像度と前記設定された修正情報とに応じた度合いで平滑化することとしてもよい。
【0020】
こうすれば、画像に応じて平滑化の度合いを適宜調整することができるので、より高画質な画像を得ることが可能となって好ましい。
【0021】
また、上述した画像処理装置と、印刷媒体上に各色インクによるインクドットを形成することによって画像を印刷する印刷装置とを組み合わせることとしても良い。
【0022】
上述した画像処理装置を用いて、印刷しようとする入力画像データを、第2の表色系の画像データに変換し、印刷装置は該第2の表色系を構成する各色インクを用いて、印刷媒体上にインクドットを形成する。こうすれば、入力画像データを量子化することで画像データを迅速に変換しつつ、量子化に伴って混入するノイズを効果的に除去して、高画質な画像を迅速に印刷することが可能となるので好ましい。
【0023】
更に本発明は、上述した画像処理方法を実現するプログラムをコンピュータに読み込ませ、コンピュータを用いて実現することも可能である。従って、本発明は次のようなプログラム、あるいは該プログラムを記憶した記録媒体としての態様も含んでいる。すなわち、上述の画像処理方法に対応する本発明のプログラムは、
第1の表色系によって表現された入力画像データを、所定の大きさの画素により構成されて第2の表色系により表現された出力画像データに変換する画像処理方法を実現するためのコンピュータプログラムであって、
前記第1の表色系によって表現され且つ予め選択された複数の画像データを、前記第2の表色系による画像データに対応付けて、変換テーブルに記憶しておく機能と、
前記各々の入力画像データを、前記変換テーブルに記憶されている第1の表色系による画像データのいずれかに変換することにより、該入力画像データの量子化を行う機能と、
前記量子化した入力画像データを、前記変換テーブルを参照することにより前記第2の表色系による画像データに変換する機能と、
前記変換された第2の表色系による画像データを平滑化する機能と、
前記平滑化された画像データを前記出力画像データとして出力する機能と
をコンピュータによって実現させることを要旨とする。
【0024】
また、上述の画像処理方法に対応する本発明の記録媒体は、
第1の表色系によって表現された入力画像データを、所定の大きさの画素により構成されて第2の表色系により表現された出力画像データに変換する画像処理方法を、コンピュータを用いて実現するためのプログラムを記録した記録媒体であって、
前記第1の表色系によって表現され且つ予め選択された複数の画像データを、前記第2の表色系による画像データに対応付けて、変換テーブルに記憶しておく機能と、
前記各々の入力画像データを、前記変換テーブルに記憶されている第1の表色系による画像データのいずれかに変換することにより、該入力画像データの量子化を行う機能と、
前記量子化した入力画像データを、前記変換テーブルを参照することにより前記第2の表色系による画像データに変換する機能と、
前記変換された第2の表色系による画像データを平滑化する機能と、
前記平滑化された画像データを前記出力画像データとして出力する機能と
を実現するプログラムをコンピュータで読みとり可能に記録していることを要旨とする。
【0025】
こうしたプログラム、あるいは記録媒体に記録されているプログラムをコンピュータに読み込ませ、該コンピュータを用いて上述の各種機能を実現すれば、画像データを常に適切に変換して高画質な画像を得ることが可能となる。
【0026】
【発明の実施の形態】
本発明の作用・効果をより明確に説明するために、本発明の実施の形態を、次のような順序に従って以下に説明する。
A.発明の概要:
B.装置構成:
C.画像データ変換処理の概要:
D.第1実施例のフィルタ処理:
E.第2実施例のフィルタ処理:
F.変形例:
【0027】
A.発明の概要:
実施例の詳細な説明に先立って、理解の便宜を図るために、図1を参照しながら本発明の概要について説明する。図1は、印刷システムを例にとって、本発明の概要を概念的に示した説明図である。図示した印刷システムは、画像処理装置としてのコンピュータ10と、カラープリンタ20などから構成されている。コンピュータ10は、デジタルカメラやカラースキャナなどの画像機器から、RGB各色階調値によって表現されたカラー画像データを受け取ると、該カラー画像データを、カラープリンタ20で印刷可能な各色ドットの形成有無によって表現された印刷データに変換する。こうしたカラー画像データの変換は、プリンタドライバ12と呼ばれる専用のプログラムを用いて行われる。尚、RGB各色階調値によるカラー画像データは、各種アプリケーションプログラムを用いてコンピュータ10上で作成することもできる。
【0028】
プリンタドライバ12は、解像度変換モジュール、プレ変換モジュール、色変換モジュール14、フィルタモジュール18、階調数変換モジュール、インターレースモジュールといった複数のモジュールから構成されている。詳細には後述するが、プリンタドライバ12はカラー画像データを受け取ると、順次これらモジュールで画像処理を施すことによって、受け取ったカラー画像データを印刷データに変換する。また、プリンタドライバ12には、カラープリンタ20へ出力する印刷データの出力解像度を検出するモジュール(出力解像度検出モジュール)も設けられている。
【0029】
色変換モジュール14では、色変換テーブル(LUT)16を参照することによって、RGB各色階調値で表現された画像データを、カラープリンタ20に搭載されたインクの色、すなわちシアン(C)、マゼンタ(M)、イエロ(Y)などの各色についての階調値で表された画像データに色変換する。LUT(色変換テーブル)16には、RGB色空間を格子状に分割したそれぞれの格子点に対応付けて、各格子点のRGB画像データに対応するCMYなど各色の階調値が記憶されている。尚、以下では、説明の煩雑化を避けるために、カラープリンタ20に備えられているインクは、C,M,Y各色のインクのみであるものとして説明するが、もちろん黒(K)色や、淡シアン(LC)色、淡マゼンタ(LM)色などの他のインクが備えられたカラープリンタにも同様の説明を適用することができる。
【0030】
プレ変換モジュールは、色変換処理に先立って、RGB各色の階調値で表されたRGB画像データにノイズを作用させて、RGB画像データを、LUT(色変換テーブル)16のいずれかの格子点の画像データに量子化する処理を行う。色変換処理に先立って、こうしてRGB画像データをプレ変換モジュールでLUTの格子点のデータにプレ変換してしまえば、色変換モジュール14ではLUTの格子点に記憶されているデータを読み出すだけで、補間演算を行うことなく迅速に色変換することができる。
【0031】
こうして色変換した画像データにはプレ変換ノイズが含まれているので、フィルタモジュール18では、画像データにローパスフィルタを作用させてプレ変換ノイズを除去する処理を行う。ノイズは高い空間周波数を有することから、画像データ中の高周波成分を通しにくいフィルタを使用するほど、プレ変換ノイズを効果的に除去することができる。
【0032】
しかし、画像データの高周波成分には、プレ変換ノイズだけではなく画像データが元々持っている画像成分も含まれている。例えば、画像中で、物の輪郭のように明度や色彩が急に変わる部分には高周波成分が含まれている。従って、プレ変換ノイズを完全に取り除いてしまうと、画像に元々含まれているこれら高周波成分まで除去されてしまい、ぼやけた感じの画像になってしまう場合がある。かといって、高周波成分を通してしまったのではプレ変換ノイズを除去することはできない。そこで、フィルタ処理に際しては、カラープリンタ20へ出力する印刷データの出力解像度を検出し、出力解像度に応じたフィルタを使用してプレ変換ノイズを除去してやる。出力解像度検出モジュールには、プリンタドライバ12に設定されている出力解像度が検出されて予め記憶されている。詳細には後述するが、こうして出力解像度に応じたローパスフィルタを用いれば、画像データに関わらずプレ変換ノイズを効果的に除去して高画質な画像を得ることができる。プリンタドライバ12が行うこうした画像処理にも種々の態様が存在している。以下では、実施例に基づいて、これら各種態様について説明する。
【0033】
B.装置構成:
図2は、本実施例の画像処理装置としてのコンピュータ100の構成を示す説明図である。コンピュータ100は、CPU102を中心に、ROM104やRAM106などを、バス116で互いに接続して構成された周知のコンピュータである。
【0034】
コンピュータ100には、フレキシブルディスク124やコンパクトディスク126などからデータを読み込むためのディスクコントローラDDC109や、周辺機器とデータの授受を行うための周辺機器インターフェースPIF108、CRT114を駆動するためのビデオインターフェースVIF112等が接続されている。PIF108には、後述するカラープリンタ200や、ハードディスク118等が接続されている。また、デジタルカメラ120や、カラースキャナ122等をPIF108に接続すれば、デジタルカメラ120やカラースキャナ122で取り込んだ画像を印刷することも可能である。また、ネットワークインターフェースカードNIC110を装着すれば、コンピュータ100を通信回線300に接続して、通信回線に接続された記憶装置310に記憶されているデータを取得することもできる。
【0035】
図3は、第1実施例のカラープリンタ200の概略構成を示す説明図である。カラープリンタ200はシアン,マゼンタ,イエロ,ブラックの4色インクのドットを形成可能なインクジェットプリンタである。もちろん、これら4色のインクに加えて、染料濃度の低いシアン(淡シアン)インクと染料濃度の低いマゼンタ(淡マゼンタ)インクとを含めた合計6色のインクドットを形成可能なインクジェットプリンタを用いることもできる。尚、以下では場合によって、シアンインク,マゼンタインク,イエロインク,ブラックインク,淡シアンインク,淡マゼンタインクのそれぞれを、Cインク,Mインク,Yインク,Kインク,LCインク,LMインクと略称するものとする。
【0036】
カラープリンタ200は、図示するように、キャリッジ240に搭載された印字ヘッド241を駆動してインクの吐出およびドット形成を行う機構と、このキャリッジ240をキャリッジモータ230によってプラテン236の軸方向に往復動させる機構と、紙送りモータ235によって印刷用紙Pを搬送する機構と、ドットの形成やキャリッジ240の移動および印刷用紙の搬送を制御する制御回路260とから構成されている。
【0037】
キャリッジ240には、Kインクを収納するインクカートリッジ242と、Cインク,Mインク,Yインクの各種インクを収納するインクカートリッジ243とが装着されている。キャリッジ240にインクカートリッジ242,243を装着すると、カートリッジ内の各インクは図示しない導入管を通じて、印字ヘッド241の下面に設けられた各色毎のインク吐出用ヘッド244ないし247に供給される。各色毎のインク吐出用ヘッド244ないし247は、こうして供給されたインクを用いてインク滴を吐出して、印刷媒体上にインクドットを形成する。
【0038】
制御回路260は、CPU261とROM262とRAM263等から構成されており、キャリッジモータ230および紙送りモータ235の動作を制御することによってキャリッジ240の主走査と副走査とを制御する。また、各色毎のインク吐出用ヘッド244ないし247の各ノズルからインク滴が適切なタイミングで吐出されるように、コンピュータ100から供給される印刷データに基づいてノズルの駆動タイミングを制御する処理も司っている。こうして、制御回路260の制御の下、印刷媒体上の適切な位置に各色のインクドットを形成することによって、カラープリンタ200はカラー画像を印刷することができる。
【0039】
尚、各色のインク吐出ヘッドからインク滴を吐出する方法には、種々の方法を適用することができる。すなわち、ピエゾ素子を用いてインクを吐出する方式や、インク通路に配置したヒータでインク通路内に泡(バブル)を発生させてインク滴を吐出する方法などを用いることができる。また、インクを吐出する代わりに、熱転写などの現象を利用して印刷用紙上にインクドットを形成する方式や、静電気を利用して各色のトナー粉を印刷媒体上に付着させる方式のプリンタを使用することも可能である。
【0040】
図4は、各色のインク吐出用ヘッド244ないし247の底面に、インク滴を吐出するノズルが形成されている様子を示した説明図である。図示するように、各色のインク吐出用ヘッドの底面には、各色毎のインク滴を吐出する4組のノズル列が形成されており、1組のノズル列は、48個のノズルがノズルピッチkの間隔を空けて千鳥状に配列されている。
【0041】
以上のようなハードウェア構成を有するカラープリンタ200は、キャリッジモータ230を駆動することによって、各色のインク吐出用ヘッド244ないし247を印刷用紙Pに対して主走査方向に移動させ、また紙送りモータ235を駆動することによって、印刷用紙Pを副走査方向に移動させる。制御回路260は、印刷データに従って、キャリッジ240の主走査および副走査を繰り返しながら、適切なタイミングでノズルを駆動してインク滴を吐出する。こうして、各色インクのドットを、印刷用紙上の適切な位置に形成することによって、カラープリンタ200は印刷用紙上にカラー画像を印刷している。
【0042】
C.画像データ変換処理の概要:
図6は、本実施例の画像処理装置としてのコンピュータ100が、受け取った画像データに所定の画像処理を加えることにより、印刷データに変換する処理の流れを示すフローチャートである。かかる処理は、コンピュータ100のオペレーティングシステムがプリンタドライバ12を起動することによって開始される。以下、図6に従って、本実施例のプリンタドライバ12が行う画像データ変換処理について簡単に説明する。
【0043】
プリンタドライバ12は、画像データ変換処理を開始すると、先ず初めに、変換すべきRGBカラー画像データの読み込みを開始する(ステップS100)。次いで、取り込んだ画像データの解像度を、カラープリンタ200に出力するための出力解像度に変換する(ステップS102)。読み込んだカラー画像データの解像度が出力解像度よりも低い場合は、線形補間を行うことで隣接画像データ間に新たなデータを生成し、逆に出力解像度よりも高い場合は、一定の割合でデータを間引くことによって画像データの解像度を出力解像度に一致させる。
【0044】
こうして解像度を変換すると、プレ変換処理を開始する(ステップS104)。プレ変換処理は、出力解像度に変換されたRGB画像データを、後述する変換テーブルのいずれかの格子点のデータに割り付ける処理である。具体的には、RGB画像データにノイズを作用させて、該変換テーブルに含まれる複数の格子点の中の最も近い格子点のデータに変換する。その結果、RGB画像データは、変換テーブルの格子点に対応したいずれかのデータに量子化されることになる。
【0045】
こうしてプレ変換処理を行ったら、変換テーブルを参照することにより色変換処理を行う(ステップS106)。図6には、色変換処理中で参照される変換テーブルを概念的に示している。RGB画像データは、直交3軸をR軸、G軸、B軸とする色立体内の座標値として表すことができる。変換テーブルは、色立体を細分した各格子点に、該格子点の画像データを色変換して得られる画像データを対応づけて記憶した3次元の数表である。ここでは、各格子点には、C、M、Y各色の階調値の組み合わせが記憶されているものとして説明するが、もちろん、CMYK各色の階調値や、これに加えてLCやLMなどの階調値を記憶しておくことも可能である。本実施例のプリンタドライバ12では、ステップS104のプレ変換処理によって、RGB画像データが変換テーブルの格子点のデータに変換されているので、対応する格子点に記憶されている画像データを読み出すだけで、迅速に色変換処理を行うことができる。
【0046】
こうして色変換に先立ちプレ変換処理を施すことによって、色変換処理は迅速に行うことが可能となるが、得られた画像データにはプレ変換ノイズが重畳する。すなわち、プレ変換処理では元々のRGB画像データが変換テーブルの格子点の画像データに変更されるので、得られたCMY画像データは、元々のRGB画像データを色変換して得られるCMY画像データとは異なったデータとなっている。従って、この差がプレ変換ノイズとして、色変換後の画像データに重畳することになる。
【0047】
もとより、プレ変換ノイズはランダムに発生するので、ある大きさの領域で見ればプレ変換ノイズが互いに打ち消し合って画質を大きく悪化させることはない。しかし、画像データにこうしたノイズが重畳していることは画質上好ましいことではない。そこで、本実施例のプリンタドライバ12では、色変換処理後の画像データにフィルタ処理を行って、プレ変換ノイズを除去する処理を行う(ステップS108)。フィルタ処理の詳細については後述する。
【0048】
フィルタ処理を終了すると、続いて階調数変換処理を開始する(ステップS110)。階調数変換処理とは次のような処理である。色変換後の画像データは、階調値0から255の256階調を有するデータとして表現されているが、実際にはカラープリンタ200は、印刷用紙上に「ドットを形成する」か「ドットを形成しないか」のいずれかの状態しか取り得ない。そこで、256階調を有する画像データを、ドットの形成有無に対応したデータに変換する必要がある。このように階調数変換処理とは、256階調の画像データをドットの形成有無に対応した2階調の画像データに変換する処理である。階調数変換処理を行う手法としては、誤差拡散法やディザ法などの周知の種々の方法を適用することができる。
【0049】
続いてプリンタドライバ12は、インターレース処理を開始する(ステップS112)。インターレース処理とは、ドットの形成有無を表す形式に変換された画像データを、ドットの形成順序を考慮しながらカラープリンタ200に転送すべき順序に並べ替える処理である。こうして最終的に得られたデータを、プリンタドライバは、印刷データとしてカラープリンタ200に出力する(ステップS114)。カラープリンタ200は、印刷データに従って、各色のインクドットを印刷媒体上に形成する。その結果、画像データに対応したカラー画像が印刷用紙上に印刷されることになる。
【0050】
D.第1実施例のフィルタ処理:
図7は、第1実施例のフィルタ処理の流れを示したフローチャートである。かかる処理は、図5に示した画像データ変換処理中で、コンピュータ100のCPU102が行う処理である。また、フィルタ処理は画像データの各色毎に行われるが、説明の煩雑化を避けるために、ここでは色を特定することなく説明する。以下、図7のフローチャートに従って説明する。
【0051】
フィルタ処理を開始すると、先ず初めにCPU102は、印刷用紙の大きさと出力解像度とを取得する(S200)。これらの値は、カラープリンタ200の操作者によってプリンタドライバ12に予め設定されている。
【0052】
次いで、印刷用紙の大きさと出力解像度とに基づいて、画像データのラスタ数とラスタあたりの画素数nend とを算出する(ステップS202)。ラスタとは、主走査方向に並んだ画素の列を言う。各ラスタは同じ数の画素によって構成されていて、これらラスタを副走査方向に並べることによって1枚の画像が構成されている。1枚の画像を構成するラスタ数およびラスタあたりの画素数は、印刷用紙の大きさが大きくなるほど、そして出力解像度が高くなるほど大きくなる。そこで、ステップS202では、処理しようとする画像データを構成するラスタ数とラスタあたりの画素数nend とを、印刷用紙の大きさおよび出力解像度に基づいて算出する。
【0053】
尚、ここで言うラスタ数、およびラスタあたりの画素数とは、あくまでもフィルタ処理が施される画像データについてのラスタ数および画素数であって、カラープリンタ200が印刷するときの最終的なラスタ数あるいは画素数と一致しているとは限らない。
【0054】
次いで、出力解像度あるいは算出した画素数に基づいて、フィルタサイズNを決定する(ステップS204)。フィルタサイズNの意味するところ、およびフィルタサイズNの決め方については後述する。
【0055】
フィルタサイズNを決定したら、ラスタ中で画素位置を示す変数nを初期化して(ステップS206)、ラスタの先頭画素についての画像データData(n)を読み込む(ステップS208)。次いで、読み込んだ画素がラスタの先頭画素か否か、すなわち「n=1」が成り立つか否かを判断する(ステップS210)。そして、「n=1」が成り立たない場合はラスタの先頭画素ではないと判断して、次の(1)式によってフィルタ後の画像データを算出し、得られた値をData'(n) に書き込む(ステップS214)。
Data'(n) =((Data(n)+N*Data'(n-1) )/(N+1) …(1)
ここで、Data'は、フィルタ処理後の画像データであり、Data'(n)は、ラスタの先頭からn番目の画素の画像データであることを示している。
【0056】
一方、ステップS208で読み込んだ画素がラスタの先頭画素でない場合、すなわちステップS210において「n=1」が成り立つと判断された場合は、読み込んだ画像データData(1)の値をData'(0) に代入した後(ステップS212)、フィルタ後の画像データを算出して、得られた値をData'(1) に記憶する(ステップS214)。
【0057】
次いで画素位置を示す変数nを1つ増加させた後(ステップS216)、変数nがラスタあたりの画素数nend を越えたか否か、すなわちn>nend となったか否かを判断する(ステップS218)。画素位置を示す変数nがラスタあたりの画素数nend を越えていない場合は(ステップS218:no)、ステップS208に戻って次の画素の画像データを読み込んだ後、上述した一連の処理を行う。画素位置を示す変数nがラスタあたりの画素数nend を越えている場合は(ステップS218:yes)、処理したラスタが最終ラスタか否かを判断する(ステップS220)。最終ラスタではない場合は(ステップS220:no)、処理するラスタ位置を1つずらした後(ステップS222)、ステップS206に戻って続く一連の処理を繰り返す。こうして画像データを構成する全てのラスタについて処理を終了したら、図7に示すフィルタ処理を終了して図5に示した画像データ変換処理に復帰する。
【0058】
尚、ここでは、フィルタ後の画像データは(1)式を用いて算出されるものとして説明しているが、必要に応じて他の算出式を用いることができることは言うまでもない。例えば、次のように、フィルタ処理前の画像データを用いた(2)式、(3)式、あるいは(4)式などの算出式を用いて算出することとしてもよい。

Figure 0004092983
これらの算出式は、それぞれフィルタの強さが異なっており、後の算出式を用いるほど強いフィルタをかけることができる。従って、画質上の要請から適切な強さのフィルタがかかる算出式を、適宜選択して用いることができる。
【0059】
図8は、フィルタ処理による効果のシミュレーション計算を行った結果を示す説明図である。シミュレーション計算では、階調値がステップ状に変化する画像データを想定し、この画像データに種々のフィルタを作用させることによって、フィルタ処理の効果を調べている。図中で細い実線で示しているのは、フィルタ処理前の画像データである。ここでは、ラスタの先頭画素から44番目までの画素には階調値「5」が設定されており、45番目以降の画素には階調値「40」が設定されているような画像データを想定し、この画像データにプレ変換ノイズとして適当なノイズを加えたデータを用いている。
【0060】
図8で、フィルタAと示されているのは、フィルタサイズN=1の場合、すなわち、次式を用いてフィルタ処理を行った場合を示している。
Data'(n) =((Data(n)+Data'(n-1) )/2
また、図8でフィルタBと示されているのは、フィルタサイズN=2の場合、すなわち、次式を用いてフィルタ処理を行った場合を示している。
Data'(n) =((Data(n)+2*Data'(n-1) )/3
図8に示した2つのシミュレーション結果を比較すれば明らかなように、先頭画素から画素位置44番の画素までの範囲、あるいは画素位置45番以降の範囲に着目すれば、フィルタAよりもフィルタBの方がプレ変換ノイズを効果的に除去することができる。しかし、画像データの階調値がステップ状に変化している部分(画素位置45付近)に着目すると、フィルタAを用いた場合は階調値は2画素程度で階調値「5」から階調値「40」に切り換わっているが、フィルタBを用いた場合は階調値が切り換わるまでに5画素程度必要となる。このことから、フィルタサイズNの値が大きくなるほど、プレ変換ノイズを効果的に除去可能であるが、反面、画像データに含まれる階調値の変化を鈍らせてしまうことが分かる。
【0061】
このように、フィルタサイズNは、画像データを平滑化する度合いを示す値と考えることができる。また、(1)式に示されているように、着目している画素のフィルタ処理後の画像データData'(n) は、その画素のフィルタ処理前の画像データData(n)と、1つ前の画素についてのフィルタ処理後の画像データData'(n-1) とに基づいて算出しており、これら2つの画像データからフィルタ処理後の画像データを算出するときの重みを示していると考えることもできる。
【0062】
更には、フィルタサイズNが大きくなるほど、1つ前の画素についてのフィルタ処理後の画像データの重みが大きくなる。1つ前の画素のフィルタ処理後の画像データは、更にその前の画素の画像データに基づいて算出されるから、フィルタサイズNを大きくすると、より遠くの画素(例えば5つ前の画素)の影響も強く受けるようになる。このことから、フィルタサイズNは、フィルタ処理を行うにあたって、どの程度前の画素まで遡るか、換言すれば画像データの平滑化を行う画素範囲を示す値であると考えることもできる。
【0063】
上述したように、フィルタサイズNの値を大きくすれば、プレ変換ノイズを効果的に除去することが可能となるが、反面、画像中で階調値が変化している部分を鈍らせてしまう。このことから、フィルタサイズNには最適値が存在している。フィルタサイズNの最適値は、出力解像度に応じて異なった値を取る。この理由を、再び図8を参照しながら説明する。図8に示したように、フィルタBを用いた場合は画像データの階調値が切り換わるために約5画素程度必要となる。仮に、カラープリンタの印刷解像度が720dpi(1インチに720画素)の場合に、階調値の切り換えに5画素も要したのでは輪郭のぼやけた画像になってしまう。すなわち、印刷解像度720dpiの場合は、プレ変換ノイズを効果的に除去可能なフィルタBを用いるよりも、プレ変換ノイズを除去する能力は劣るものの画像データの階調値を速やかに切り換わるフィルタAを用いた方が、輪郭のぼやけない良好な画質が得られることになる。従って、この場合は、フィルタサイズNの最適値は「1」になる。
【0064】
ところが、カラープリンタ200の印刷解像度が1440dpi(1インチに1440画素)であるとすると、解像度が720dpiの場合に比べて1インチあたりの画素数が2倍になるので、画像データの切り換わりに5画素を要するフィルタBを用いた場合でも、人間の目には解像度720dpiのときにフィルタAを用いた場合とほぼ同程度に、速やかに切り換わっているように見える。従って、解像度1440dpiの場合は、プレ変換ノイズを効果的に除去可能はフィルタBを用いた方が良好な画質が得られることになり、フィルタサイズの最適値は「2」となる。
【0065】
このように、フィルタサイズNの最適値は、プレ変換ノイズを除去する観点と、画像データを速やかに切り換えて画像の輪郭がぼやけないようにする観点とによって定まる値である。プレ変換ノイズの除去に関しては、フィルタサイズNの値は、もちろん必要以上に大きくする必要は無いものの、大きな値とする方が好ましい。一方、画像データの階調値を速やかに切り換えて、画像の輪郭がぼやけないようにする観点からは、フィルタサイズNの値は小さい方が望ましく、フィルタサイズNが大きくなるほど画像データの階調値の切り換えに要する画素数が多くなる。画像の輪郭がぼやけないためには、階調値の切り変わるために要する画素数をどの程度まで許容できるかは、印刷解像度によって異なり、解像度が高くなるほど許容可能な画素数は大きくなる。従って、印刷解像度が高くなるほど、画質上許容可能なフィルタサイズNの値は大きくなる。これに対してプレ変換ノイズは、解像度とは全く無関係に生じるから、印刷解像度が高くなってもプレ変換ノイズが増えるようなことはない。結局、フィルタサイズNの最適値は印刷解像度に応じて定まり、解像度が高くなるほど最適値は大きくなるのである。
【0066】
尚、プリンタでの印刷解像度と、画像データ処理での処理解像度とが一致しない場合がある。例えば、画像印刷の迅速化の要請から、画像データ変換処理に要する時間を短縮化するために、プリンタの印刷解像度は1440dpiであるにもかかわらず画像処理は720dpiで行って、プリンタへ出力する前に1440dpiに変換する場合がある。このような場合は、フィルタBを用いたのでは、解像度720dpiの画像データにフィルタ処理を行うことになり、輪郭のぼやけた画像となってしまう。従って、フィルタサイズNの最適値は、画像処理の解像度720dpiに合わせて「1」となる。上述の説明では、煩雑化を避けるために、画像処理の解像度と印刷解像度とは一致しているものとして説明したが、これらが一致していない場合は、画像処理の解像度に応じてフィルタサイズNの最適値が決まることは言うまでもない。
【0067】
図9は、印刷解像度(あるいは画像処理の解像度)に対応づけて、フィルタサイズNの値が設定されている様子を概念的に例示した説明図である。図示した例では、印刷解像度360dpiではフィルタサイズNは「0」に設定され、解像度720dpiではフィルタサイズNは「1」が、解像度1440dpiではフィルタサイズNは「2」が設定されている。図2に示したコンピュータ100のROM104には、こうした対応表が予め記憶されている。図7を用いて前述したフィルタ処理中のステップS204では、こうした対応表を参照することにより、印刷解像度(あるいは画像処理の解像度)に応じた最適なフィルタサイズNを決定している。
【0068】
以上に説明したように、第1実施例のフィルタ処理では、印刷解像度(あるいは画像処理の解像度)に応じた適切なフィルタサイズNを用いてフィルタ処理を行う。前述したように、フィルタサイズNは画像データを平滑化する度合いを示す指標と考えることができるから、第1実施例のフィルタ処理では、解像度に応じて平滑化の度合いを最適に制御していることになる。このため、どのような画像データに対しても、プレ変換ノイズを効果的に除去しながら、画像の輪郭のぼやけない良好な画質が得られるように、適切に画像処理を行うことが可能となる。
【0069】
E.第2実施例のフィルタ処理:
上述した第1実施例のフィルタ処理では、印刷解像度に応じて適切なフィルタサイズNを用いてフィルタ処理を行ったが、画像中で物体の輪郭などのように、画像データの階調値が大きく変化している部分では、フィルタ処理を行わないようにすることとしても良い。以下、こうした第2実施例のフィルタ処理について説明する。
【0070】
図10および図11は、第2実施例のフィルタ処理の流れを示したフローチャートである。かかるフローチャートは、図7に示した第1実施例のフィルタ処理に対して、画像データが大きく変化している部分(エッジ部分)を検出して、かかる部分ではフィルタ処理を行わないこととしている点が大きく異なっている。以下、図10および図11のフローチャートに従って説明する。
【0071】
第2実施例のフィルタ処理においても第1実施例と同様に、先ず初めにCPU102は、印刷用紙の大きさと出力解像度とを取得し(S300)、印刷用紙の大きさと出力解像度とに基づいて、画像データのラスタ数とラスタあたりの画素数nend とを算出する(ステップS302)。
【0072】
次いで、出力解像度あるいは算出した画素数に基づいて、フィルタサイズNを決定する(ステップS304)。フィルタサイズNは、第2実施例のフィルタ処理においても第1実施例と同様に、コンピュータ100のROM104に記憶されている対応表を参照することによって、フィルタサイズNを決定する。尚、第2実施例のフィルタ処理で参照する対応表には、第1実施例で参照される対応表よりも大きなフィルタサイズNが設定されている。この理由については後述する。
【0073】
フィルタサイズNを決定したら、ラスタ中で画素位置を示す変数nを初期化して(ステップS306)、フィルタ処理前の画像データData(0)およびフィルタ処理後の画像データData'(0) の値も初期化しておく(ステップS308)。
【0074】
次いで、画素位置を示す変数nを1つ増加させた後(ステップS310)、画素位置nの画素についての画像データData(n)を読み込む(ステップS312)。初期化直後の場合は、画素位置を示す変数nの値は「1」に設定されているから、ステップS312では、ラスタの先頭画素の画像データData(1)を読み込むことになる。
【0075】
次いで、読み込んだ画像データData(n)と、1つ前に読み込んだ画像データData(n-1)との差の絶対値が、所定の閾値thより大きいか否かを判断する(ステップS314)。すなわち、処理中の画素の画像データが、1つ前に処理した画素の画像データと比較して大きく変わっていれば、処理中の画素はエッジの部分に相当していると考えられる。そこで、2つの画像データの差の絶対値が所定の閾値thよりも大きい場合は(ステップS314:yes)、フィルタ処理を行うことなく、読み込んだ画像データData(n)をそのままフィルタ処理後の画像データData'(n) として記憶する。逆に、処理中の画像データData(n)と1つ前に読み込んだ画像データData(n-1)の差の絶対値が、所定の閾値thより小さい場合は、上述した(1)式を用いてフィルタ処理を行い、得られた値をフィルタ処理後の画像データData'(n) に記憶する。
【0076】
また、処理画素がラスタの先頭位置の画素である場合は、先頭位置の画像データData(1)と、初期化時に設定しておいた画像データData(0)との差の絶対値を所定の閾値thと比較することにより、エッジ部分に相当するか否かの判断を行う。
【0077】
こうして処理画素についてのフィルタ処理を終了したら、画素位置を示す変数nがラスタ値の画素数nend に達したか否かを判断する(ステップS320)。そして、変数nがnend に達していない場合は(ステップS320:no)、ラスタの処理を完了していないと判断し、ステップS310に戻って、画素位置を示す変数nを1つ増やした後、続く一連の処理を繰り返す。逆に、画素位置を示す変数nがラスタあたりの画素数nend に達した場合は(ステップS320:yes)、処理中のラスタが最終ラスタか否かを判断する(ステップS322)。最終ラスタでない場合は、処理するラスタの位置を1つずらしてから(ステップS324)、ステップS306に戻って、続く一連の処理を繰り返す。こうして最終ラスタの処理が完了したら(ステップS322:yes)、第2実施例のフィルタ処理を終了して、図5に示す画像データ変換処理に復帰する。
【0078】
以上に説明した第2実施例のフィルタ処理では、画像中のエッジの部分はフィルタ処理を行わないので、第1実施例のフィルタ処理に比べてフィルタサイズNを大きな値としても、画像の輪郭がぼやけるといった問題が生じることがない。このことから、第2実施例のフィルタ処理を用いれば、フィルタサイズNを大きな値に設定することにより、プレ変換ノイズを充分に除去して良好な画質の画像を得ることができる。
【0079】
もっとも、如何にエッジ部分で画像の輪郭がぼやけることがないと言っても、フィルタサイズNをあまりに大きくしたのでは、画像データに含まれる空間周波数の高い成分まで除去してしまうことになるので、フィルタサイズNには自ずから制限がある。人間が視覚によって把握可能は空間周波数には限界があるから、画像中に含まれる空間周波数は、基本的には印刷解像度に依存しないと考えられる。このことから、印刷解像度が高くなるほど、画像データを広い画素範囲に亘って平滑化しても(すなわち、大きな値のフィルタサイズNを用いても)、画像データに含まれる高い周波数成分は損なわれ難くなる。すなわち、第2実施例のフィルタ処理においても、印刷解像度(あるいは処理解像度)に応じて適切な値が存在している。そこで、図10のステップS304においては、ROM104に記憶されている対応表を参照することにより、印刷解像度に応じた適切なフィルタサイズNを決定するのである。
【0080】
尚、以上の説明においては、エッジの部分ではフィルタ処理を行わないものとして説明したが、エッジ部分でフィルタ処理を中止するのではなく、平滑化の程度を、エッジでない部分よりも小さくしても良いのはもちろんである。
【0081】
また、上述した第2実施例では、エッジ部分を検出する処理は、フィルタ処理内で、すなわちプレ変換処理および色変換処理を行った画像データに対して行うものとして説明した。もっとも、エッジを検出する処理は、プレ変換処理前の画像データに対して行うこととしても良い。当然、プレ変換処理前の画像データは、RGB各色の階調データとなっているが、この様な場合、これら各色の階調データの中の1色でも階調値が大きく変化している場合には、エッジ部分と判断すればよい。こうしてプレ変換前にエッジ部分を検出しておけば、プレ変換処理によって生じるノイズの影響を受けることなく、エッジ部分を検出することが可能となる。
【0082】
F.変形例:
上述した各実施例には、いくつかの変形例が存在している。以下では、これら変形例について簡単に説明する。
【0083】
(1)第1の変形例:
印刷解像度(あるいは処理解像度)に基づいて設定されたフィルタサイズNを、コンピュータ100の画面上で修正可能として、修正されたフィルタサイズを用いてフィルタ処理を行うこととしてもよい。フィルタサイズNの修正度合いは、印刷開始に先立って、プリンタドライバ12に対して予め設定しておく。図12は、コンピュータ100の画面上で、プリンタドライバ12に対してフィルタサイズNの修正度合いを設定している様子を例示する説明図である。画面上でノブ130を移動させることにより、出力解像度に基づいて設定されたフィルタサイズNを修正することができる。例えば、ノブ130を「くっきり」と表示されている側に移動させれば、フィルタサイズNは小さめの値に修正されて、画像の輪郭のぼやけないくっきりした画像を得ることが可能となる。逆に、ノブ130を「なめらか」と表示されている側に移動させれば、フィルタサイズNが大きめの値に修正されて、ノイズがより効果的に除去されたなめらかな画像を得ることが可能となる。
【0084】
(2)第2の変形例:
上述した各種実施例では、(1)式ないし(4)式で示されるようなフィルタを用いて平滑化を行うものとしたが、これに限らず、例えば、移動平均法や、いわゆる各種のデジタルフィルタを用いて平滑化処理を行うこととしてもよい。移動平均法では、有限数の画素範囲で平滑化が行われるので、平滑化の対象となる画素範囲が明確になる分だけ処理結果を予測しやすいという利点がある。また、いわゆるデジタルフィルタを用いれば、画像データの中から除去しようとする周波数範囲をより柔軟に設定することが可能であり、その分だけ画質を改善させることが可能となるので好ましい。
【0085】
以上、各種の実施例について説明してきたが、本発明は上記すべての実施例に限られるものではなく、その要旨を逸脱しない範囲において種々の態様で実施することができる。例えば、上述の機能を実現するソフトウェアプログラム(アプリケーションプログラム)を、通信回線を介してコンピュータシステムのメインメモリまたは外部記憶装置に供給し実行するものであってもよい。もちろん、CD−ROMやフレキシブルディスクに記憶されたソフトウェアプログラムを読み込んで実行するものであっても構わない。
【0086】
また、上述した各種実施例では、画像データ変換処理はコンピュータ内で実行されるものとして説明したが、画像データ変換処理の一部あるいは全部をプリンタ側、あるいは専用の画像処理装置を用いて実行するものであっても構わない。
【0087】
更には、画像表示装置は、必ずしも印刷媒体上にインクドットを形成して画像を印刷する印刷装置に限定されるものではなく、例えば、液晶表示画面上で輝点を適切な密度で分散させることにより、階調が連続的に変化する画像を表現する液晶表示装置であっても構わない。
【図面の簡単な説明】
【図1】本発明の概要を例示した印刷システムの概略構成図である。
【図2】本実施例の画像処理装置としてのコンピュータの構成を示す説明図である。
【図3】本実施例の画像表示装置としてのプリンタの概略構成図である。
【図4】インク吐出用ヘッドの底面にノズルが配置されている様子を示した説明図である。
【図5】本実施例の画像処理装置で行われる画像データ変換処理の流れを示すフローチャートである。
【図6】画像データ変換処理中で参照される変換テーブルを概念的に示した説明図である。
【図7】第1実施例のフィルタ処理の流れを示すフローチャートである。
【図8】シミュレーション結果を用いてフィルタ処理の効果を示す説明図である。
【図9】出力解像度に応じて適切なフィルタサイズが設定されている様子を例示した説明図である。
【図10】第2実施例のフィルタ処理の前半部分の流れを示すフローチャートである。
【図11】第2実施例のフィルタ処理の後半部分の流れを示すフローチャートである。
【図12】フィルタサイズの修正をプリンタドライバに対して設定している様子を例示する説明図である。
【符号の説明】
10…コンピュータ
12…プリンタドライバ
14…色変換モジュール
20…カラープリンタ
100…コンピュータ
102…CPU
104…ROM
106…RAM
108…周辺機器インターフェースPIF
109…ディスクコントローラDDC
110…ネットワークインターフェースカードNIC
112…ビデオインターフェースVIF
114…CRT
116…バス
118…ハードディスク
120…デジタルカメラ
122…カラースキャナ
124…フレキシブルディスク
126…コンパクトディスク
200…カラープリンタ
230…キャリッジモータ
235…紙送りモータ
236…プラテン
240…キャリッジ
241…印字ヘッド
242,243…インクカートリッジ
244…インク吐出用ヘッド
260…制御回路
261…CPU
262…ROM
263…RAM
300…通信回線
310…記憶装置[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique for converting color image data, and more particularly, to a technique for quickly converting image data expressed by a first color system to image data using a second color system.
[0002]
[Prior art]
There is known an image processing apparatus that reads a color original using an image input unit such as a scanner or reproduces and displays a color image created using a computer using a display such as a CRT or a color printer.
[0003]
Since these image output devices such as displays and color printers have unique color reproduction characteristics, the color of the color image input by using a scanner or the like is excellent regardless of the characteristics of the image output device. In order to reproduce, it is necessary to perform conversion processing in accordance with the color reproduction characteristics of the image output apparatus to be used. Such conversion is called color conversion. As a typical technique for performing color conversion, a technique using a conversion table has been proposed (Japanese Patent Laid-Open No. 4-185075, etc.). The conversion table is a numerical table in which color image data and color-converted image data are stored in association with each other. For example, focusing on the fact that color image data can be represented by three color components of red (hereinafter referred to as R), green (hereinafter referred to as G), and blue (hereinafter referred to as B), these color components are orthogonally crossed. A color space with three axes can be considered, and this color space can be divided into a grid, and a three-dimensional number table can be created in which color image data having undergone color conversion is stored in advance at each grid point. . When color conversion is performed on color image data, coordinate points corresponding to the color image data in the color space and grid points around the coordinate points are detected, and interpolation is performed from the image data stored in the surrounding grid points. By performing the above, it is possible to calculate color-converted image data corresponding to the color image data.
[0004]
Further, the applicant of the present application has developed a technique that can be quickly processed by performing color conversion processing without performing interpolation calculation while referring to the conversion table, and has already been filed (Japanese Patent Laid-Open No. 9-294212). ). In this method, noise is applied to the color image data to perform processing for assigning the color image data to any grid point around the coordinate point corresponding to the image data. As a result, the color image data is quantized to any grid point in the color conversion table. Each grid point in the conversion table stores image data that has undergone color conversion correction in advance, so if the color image data is quantized to one of the grid points, the color image data is not subjected to interpolation. Can be quickly converted to color-converted image data. In this specification, the process of quantizing the color image data into one of the lattice points of the conversion table is referred to as “pre-conversion process”.
[0005]
As described above, the color-converted image data obtained by performing the pre-conversion processing is mixed with noise resulting from the addition of the image data for quantization. In the present specification, such noise is referred to as “pre-conversion noise”. In general, noises cancel each other out on average, so pre-conversion noise included in color-converted image data also cancels each other out in a certain area, greatly impairing conversion accuracy. There is no. However, it is at least not preferable that pre-conversion noise is included. Thus, color image data can be quickly and accurately converted by removing pre-conversion noise by applying a low-pass filter such as a moving average method to the color-converted image data. In this specification, the process of removing pre-conversion noise by applying a low-pass filter is referred to as “filter process”.
[0006]
[Problems to be solved by the invention]
However, although the pre-conversion noise is removed by filtering the image data after color conversion, the obtained image may not be a sufficiently high quality image depending on the color image data. .
[0007]
The present invention has been made in order to solve the above-described problems in the prior art, and performs a pre-conversion process to quickly color-convert color image data, and always provides a high-quality image regardless of color image data. The purpose is to provide technology that can express
[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,
An image processing apparatus that converts input image data expressed by a first color system into output image data composed of pixels of a predetermined size and expressed by a second color system,
A conversion table that stores a plurality of pre-selected image data expressed by the first color system and associated with image data by the second color system;
Image data quantization means for quantizing the input image data by converting each of the input image data into any of the image data of the first color system stored in the conversion table;
A color system conversion means for converting the quantized input image data into image data of the second color system by referring to the conversion table;
Image data smoothing means for smoothing the converted image data of the second color system;
Image data output means for outputting the smoothed image data as the output image data;
It is a summary to provide.
[0009]
The image processing method of the present invention corresponding to the above image processing apparatus is
An image processing method for converting input image data expressed by a first color system to output image data composed of pixels of a predetermined size and expressed by a second color system,
Storing a plurality of pre-selected image data expressed by the first color system in association with image data by the second color system in a conversion table;
A step of quantizing the input image data by converting each of the input image data into any of the image data of the first color system stored in the conversion table;
Converting the quantized input image data into image data of the second color system by referring to the conversion table;
Smoothing the converted image data of the second color system;
Outputting the smoothed image data as the output image data;
It is a summary to provide.
[0010]
In such an image processing apparatus and image processing method, the input image data expressed in the first color system is quantized and then expressed in the second color system by referring to the conversion table. Convert the image data. At this time, noise resulting from quantizing the input image data is superimposed on the image data obtained by the conversion. Therefore, the noise is reduced by smoothing the image data based on the second color system, and then output as output image data.
[0011]
By so doing, smoothing can be performed to an appropriate degree, so that a high-quality image can always be expressed while effectively removing pre-conversion noise.
[0012]
In some cases, the output image data output from the image processing apparatus may be input to the second image processing apparatus and output as new output image data whose resolution has been converted. Needless to say, the output resolution in such a case is not the resolution of the image data output from the second image processing apparatus, but the resolution of the output image data output toward the second image processing apparatus. .
[0013]
When smoothing image data in such an image processing apparatus, the degree of smoothing may be increased as the output resolution increases.
[0014]
As will be described in detail later, the higher the degree of smoothing, the more effectively the noise generated with the quantization can be removed. At the portion where the tone value is rapidly changed, the change becomes dull, and there is a possibility that the image becomes blurred as a whole. On the other hand, if the output resolution is high, even if the tone value changes slowly between adjacent pixels, the tone value still appears to change rapidly when viewed as an entire image. Does not cause any deterioration. For this reason, if the degree of smoothing is increased as the output resolution becomes higher, it becomes possible to avoid a blurry image while effectively removing noise contained in the image data. Therefore, it is preferable.
[0015]
Alternatively, in the above-described image processing device, the edge position, which is a pixel position where the input image data changes by a predetermined value or more, is detected, and the image data is smoothed to a degree corresponding to the detection result of the edge position. It is good.
[0016]
In general, when the degree of smoothing is increased, components having a high spatial frequency included in the image data are removed, resulting in an image with a blurred feeling as a whole. In particular, at the edge position where the gradation value of the image data changes greatly, the effect of removing a high spatial frequency is likely to appear significantly. Therefore, if the edge position in the image data is detected and smoothed at a degree corresponding to the edge detection result and the output resolution, the image becomes blurred by the smoothing. Can be effectively avoided.
[0017]
In such an image processing apparatus, at the edge position, the degree of smoothing may be reduced, or the portion excluding the edge position may be smoothed.
[0018]
As described above, the higher the degree of smoothing of the image data, the more the image becomes blurred. Therefore, at the edge position, the degree of smoothing is reduced or the edge position is smoothed. By not performing it, it becomes possible to effectively avoid the image having a blurred feeling while removing the noise included in the image data.
[0019]
In the above-described image processing apparatus, it is possible to set correction information relating to correction of the smoothing degree of output image data. When smoothing image data, smoothing is performed at a degree according to the output resolution and the set correction information. It is good also as making it.
[0020]
This is preferable because the degree of smoothing can be adjusted as appropriate according to the image, so that a higher quality image can be obtained.
[0021]
The image processing apparatus described above may be combined with a printing apparatus that prints an image by forming ink dots of each color ink on a print medium.
[0022]
Using the above-described image processing apparatus, input image data to be printed is converted into image data of the second color system, and the printing apparatus uses each color ink constituting the second color system, Ink dots are formed on the print medium. In this way, the input image data can be quickly converted by quantizing the input image data, and the noise mixed with the quantization can be effectively removed to quickly print a high-quality image. Therefore, it is preferable.
[0023]
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
Computer for realizing an image processing method for converting input image data expressed by a first color system into output image data constituted by pixels of a predetermined size and expressed by a second color system A program,
A function of storing a plurality of pre-selected image data expressed by the first color system and associated with the image data by the second color system in a conversion table;
A function of quantizing the input image data by converting each of the input image data into any of the image data of the first color system stored in the conversion table;
A function of converting the quantized input image data into image data based on the second color system by referring to the conversion table;
A function of smoothing the converted image data of the second color system;
A function of outputting the smoothed image data as the output image data;
The gist of this is to be realized by a computer.
[0024]
The recording medium of the present invention corresponding to the above-described image processing method is
An image processing method for converting input image data expressed by a first color system into output image data composed of pixels of a predetermined size and expressed by a second color system using a computer A recording medium on which a program for realizing is recorded,
A function of storing a plurality of pre-selected image data expressed by the first color system and associated with the image data by the second color system in a conversion table;
A function of quantizing the input image data by converting each of the input image data into any of the image data of the first color system stored in the conversion table;
A function of converting the quantized input image data into image data based on the second color system by referring to the conversion table;
A function of smoothing the converted image data of the second color system;
A function of outputting the smoothed image data as the output image data;
The gist is that a program for realizing the above is recorded in a computer-readable manner.
[0025]
If 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, it is possible to always properly convert image data and obtain a high-quality image. It becomes.
[0026]
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. Overview of image data conversion process:
D. Filter processing of the first embodiment:
E. Filter processing of the second embodiment:
F. Variation:
[0027]
A. Summary of the invention:
Prior to the detailed description of the embodiment, the outline of the present invention will be described with reference to FIG. FIG. 1 is an explanatory diagram conceptually showing an outline of the present invention, taking a printing system as an example. The illustrated printing system includes a computer 10 as an image processing apparatus, a color printer 20, and the like. When the computer 10 receives color image data expressed by RGB color gradation values from an image device such as a digital camera or a color scanner, the computer 10 determines the color image data depending on whether or not each color dot that can be printed by the color printer 20 is formed. Convert to expressed print data. Such conversion of color image data is performed using a dedicated program called the printer driver 12. Note that color image data based on RGB color gradation values can also be created on the computer 10 using various application programs.
[0028]
The printer driver 12 includes a plurality of modules such as a resolution conversion module, a pre-conversion module, a color conversion module 14, a filter module 18, a gradation number conversion module, and an interlace module. As will be described in detail later, when receiving the color image data, the printer driver 12 sequentially performs image processing by these modules, thereby converting the received color image data into print data. The printer driver 12 is also provided with a module for detecting the output resolution of print data to be output to the color printer 20 (output resolution detection module).
[0029]
The color conversion module 14 refers to the color conversion table (LUT) 16 to convert image data expressed by RGB color gradation values into the color of ink mounted on the color printer 20, that is, cyan (C), magenta. (M), color conversion to image data represented by gradation values for each color such as yellow (Y). The LUT (color conversion table) 16 stores gradation values of each color such as CMY corresponding to the RGB image data of each grid point in association with each grid point obtained by dividing the RGB color space into a grid. . In the following, in order to avoid complication of explanation, it is assumed that the ink provided in the color printer 20 is only C, M, Y ink, but of course black (K) color, The same description can be applied to a color printer provided with other inks such as light cyan (LC) and light magenta (LM).
[0030]
Prior to the color conversion process, the pre-conversion module applies noise to the RGB image data represented by the gradation values of each RGB color, and converts the RGB image data into one of the grid points of the LUT (color conversion table) 16. To quantize the image data. Prior to the color conversion process, if the RGB image data is pre-converted into LUT lattice point data by the pre-conversion module, the color conversion module 14 simply reads out the data stored in the LUT lattice points. Color conversion can be performed quickly without performing interpolation calculation.
[0031]
Since the pre-conversion noise is included in the color-converted image data, the filter module 18 performs a process of removing the pre-conversion noise by applying a low-pass filter to the image data. Since the noise has a high spatial frequency, the pre-conversion noise can be effectively removed as a filter that hardly passes high-frequency components in the image data is used.
[0032]
However, the high-frequency component of the image data includes not only the pre-conversion noise but also the image component that the image data originally has. For example, high-frequency components are included in portions of the image where the brightness and color change suddenly, such as the outline of an object. Accordingly, if the pre-conversion noise is completely removed, these high-frequency components originally included in the image may be removed, resulting in a blurred image. However, pre-conversion noise cannot be removed by passing through high-frequency components. Therefore, in the filtering process, the output resolution of the print data output to the color printer 20 is detected, and the pre-conversion noise is removed using a filter according to the output resolution. In the output resolution detection module, the output resolution set in the printer driver 12 is detected and stored in advance. As will be described in detail later, by using a low-pass filter corresponding to the output resolution in this way, it is possible to effectively remove pre-conversion noise and obtain a high-quality image regardless of the image data. There are various modes for such image processing performed by the printer driver 12. Below, these various aspects are demonstrated based on an Example.
[0033]
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.
[0034]
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.
[0035]
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.
[0036]
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.
[0037]
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.
[0038]
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.
[0039]
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 piezo 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.
[0040]
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.
[0041]
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.
[0042]
C. Overview of image data conversion process:
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 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. Hereinafter, the image data conversion process performed by the printer driver 12 of this embodiment will be briefly described with reference to FIG.
[0043]
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 into an output resolution for output to the color printer 200 (step S102). When the resolution of the read color image data is lower than the output resolution, new data is generated between the adjacent image data by performing linear interpolation. Conversely, when the resolution is higher than the output resolution, the data is transferred at a certain rate. The resolution of the image data is matched with the output resolution by thinning out.
[0044]
When the resolution is converted in this way, pre-conversion processing is started (step S104). The pre-conversion process is a process of assigning RGB image data converted to the output resolution to data at any grid point in a conversion table described later. Specifically, noise is applied to the RGB image data to convert the data to the closest lattice point among the plurality of lattice points included in the conversion table. As a result, the RGB image data is quantized into any data corresponding to the lattice points of the conversion table.
[0045]
After performing the pre-conversion process in this way, the color conversion process is performed by referring to the conversion table (step S106). FIG. 6 conceptually shows a conversion table referred to during the color conversion process. The RGB image data can be expressed as coordinate values in a color solid with the three orthogonal axes as the R axis, the G axis, and the B axis. The conversion table is a three-dimensional number table in which image data obtained by color-converting image data of the grid points are stored in association with the grid points obtained by subdividing the color solid. Here, a description will be given on the assumption that each grid point stores a combination of gradation values of C, M, and Y colors. Of course, gradation values of each color of CMYK, in addition to this, LC and LM, etc. It is also possible to store the gradation values. In the printer driver 12 of this embodiment, the RGB image data is converted into the data of the grid points in the conversion table by the pre-conversion process in step S104, so that only the image data stored in the corresponding grid points is read out. Color conversion processing can be performed quickly.
[0046]
By performing the pre-conversion processing prior to color conversion in this way, the color conversion processing can be performed quickly, but pre-conversion noise is superimposed on the obtained image data. That is, in the pre-conversion process, the original RGB image data is changed to the image data of the grid points of the conversion table, so that the obtained CMY image data is the same as the CMY image data obtained by color-converting the original RGB image data. Are different data. Therefore, this difference is superimposed on the image data after color conversion as pre-conversion noise.
[0047]
Of course, since pre-conversion noise is generated randomly, the pre-conversion noise does not cancel each other and the image quality is not greatly deteriorated when viewed in a certain size region. However, it is not preferable in terms of image quality that such noise is superimposed on the image data. Therefore, the printer driver 12 according to the present embodiment performs a filtering process on the image data after the color conversion process to perform a process of removing pre-conversion noise (step S108). Details of the filter processing will be described later.
[0048]
When the filter process is finished, the tone number conversion process is started (step S110). The gradation number conversion process is the following process. The image data after color conversion is expressed as data having 256 gradations of gradation values 0 to 255, but in actuality, the color printer 200 does not “create dots” or “dots” on the printing paper. Can only take one of the states "Do not form". Therefore, it is necessary to convert image data having 256 gradations into data corresponding to the presence / absence of dot formation. In this way, the gradation number conversion process is a process of converting image data of 256 gradations to image data of two gradations corresponding to the presence or absence of dot formation. Various known methods such as an error diffusion method and a dither method can be applied as a method for performing the gradation number conversion process.
[0049]
Subsequently, the printer driver 12 starts an interlace process (step S112). The interlace process is a process of rearranging the image data converted into a format representing the presence / absence of dot formation into an order to be transferred to the color printer 200 in consideration of the dot formation order. The printer driver outputs the data finally obtained in this manner as print data to the color printer 200 (step S114). 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.
[0050]
D. Filter processing of the first embodiment:
FIG. 7 is a flowchart showing the flow of the filter processing of the first embodiment. Such processing is processing performed by the CPU 102 of the computer 100 during the image data conversion processing shown in FIG. In addition, the filtering process is performed for each color of the image data. However, in order to avoid complication of the description, the description is given here without specifying the color. Hereinafter, description will be given with reference to the flowchart of FIG.
[0051]
When the filter process is started, first, the CPU 102 acquires the size of the printing paper and the output resolution (S200). These values are preset in the printer driver 12 by the operator of the color printer 200.
[0052]
Next, the number of rasters of the image data and the number of pixels per raster nend are calculated based on the size of the printing paper and the output resolution (step S202). A raster is a row of pixels arranged in the main scanning direction. Each raster is constituted by the same number of pixels, and one image is constituted by arranging these rasters in the sub-scanning direction. The number of rasters constituting one image and the number of pixels per raster increase as the size of the printing paper increases and the output resolution increases. In step S202, the number of rasters constituting the image data to be processed and the number of pixels per raster nend are calculated based on the size of the printing paper and the output resolution.
[0053]
Note that the number of rasters and the number of pixels per raster mentioned here are the number of rasters and the number of pixels for the image data to be subjected to the filtering process, and the final number of rasters when the color printer 200 performs printing. Or it does not necessarily correspond with the number of pixels.
[0054]
Next, the filter size N is determined based on the output resolution or the calculated number of pixels (step S204). The meaning of the filter size N and how to determine the filter size N will be described later.
[0055]
When the filter size N is determined, a variable n indicating the pixel position in the raster is initialized (step S206), and image data Data (n) for the first pixel of the raster is read (step S208). Next, it is determined whether or not the read pixel is the first pixel of the raster, that is, whether or not “n = 1” is satisfied (step S210). If “n = 1” does not hold, it is determined that the pixel is not the first pixel of the raster, the image data after filtering is calculated by the following equation (1), and the obtained value is converted to Data ′ (n). Writing is performed (step S214).
Data '(n) = ((Data (n) + N * Data' (n-1)) / (N + 1) (1)
Here, Data ′ is image data after filtering, and Data ′ (n) indicates that it is image data of the nth pixel from the head of the raster.
[0056]
On the other hand, if the pixel read in step S208 is not the first pixel of the raster, that is, if it is determined in step S210 that “n = 1” holds, the value of the read image data Data (1) is set to Data ′ (0). (Step S212), the image data after filtering is calculated, and the obtained value is stored in Data ′ (1) (Step S214).
[0057]
Next, after increasing the variable n indicating the pixel position by one (step S216), it is determined whether or not the variable n exceeds the number nend of pixels per raster, that is, whether n> nend (step S218). . If the variable n indicating the pixel position does not exceed the pixel number nend per raster (step S218: no), the process returns to step S208 to read the image data of the next pixel, and then the above-described series of processing is performed. If the variable n indicating the pixel position exceeds the number nend of pixels per raster (step S218: yes), it is determined whether or not the processed raster is the final raster (step S220). If it is not the final raster (step S220: no), after shifting the raster position to be processed by one (step S222), the process returns to step S206 and the series of subsequent processes is repeated. When the process is completed for all rasters constituting the image data in this way, the filter process shown in FIG. 7 is ended and the process returns to the image data conversion process shown in FIG.
[0058]
Here, the image data after filtering has been described as being calculated using equation (1), but it goes without saying that other calculation equations can be used as necessary. For example, the calculation may be performed using a calculation expression such as Expression (2), Expression (3), or Expression (4) using image data before filter processing as follows.
Figure 0004092983
These calculation formulas have different filter strengths, and a stronger filter can be applied as a later calculation formula is used. Therefore, a calculation formula that requires a filter having an appropriate strength can be selected and used according to the image quality requirement.
[0059]
FIG. 8 is an explanatory diagram showing the result of the simulation calculation of the effect of the filter processing. In the simulation calculation, image data whose gradation value changes stepwise is assumed, and the effect of the filter processing is examined by applying various filters to the image data. In the drawing, thin solid lines indicate image data before filtering. Here, image data in which the gradation value “5” is set for the pixels from the first pixel of the raster to the 44th pixel, and the gradation value “40” is set for the 45th and subsequent pixels. It is assumed that data obtained by adding appropriate noise to the image data as pre-conversion noise is used.
[0060]
In FIG. 8, the filter A indicates the case where the filter size N = 1, that is, the case where the filter processing is performed using the following equation.
Data '(n) = ((Data (n) + Data' (n-1)) / 2
8 indicates that the filter size is N = 2, that is, the filter processing is performed using the following equation.
Data '(n) = ((Data (n) + 2 * Data' (n-1)) / 3
As is clear from the comparison of the two simulation results shown in FIG. 8, if attention is paid to the range from the first pixel to the pixel at the pixel position 44, or the range after the pixel position 45, the filter B rather than the filter A. Can effectively remove the pre-conversion noise. However, paying attention to the portion where the gradation value of the image data changes in a step-like manner (near the pixel position 45), when the filter A is used, the gradation value is about 2 pixels, and the gradation value is from “5” to Although the tone value is switched to “40”, when the filter B is used, about 5 pixels are required until the tone value is switched. From this, it can be seen that as the value of the filter size N increases, the pre-conversion noise can be effectively removed, but on the other hand, the change in the gradation value included in the image data is dulled.
[0061]
Thus, the filter size N can be considered as a value indicating the degree of smoothing of the image data. Further, as shown in the equation (1), the image data Data ′ (n) after the filtering process of the pixel of interest is the same as the image data Data (n) before the filtering process of the pixel. It is calculated based on the image data Data ′ (n−1) after the filtering process for the previous pixel, and indicates the weight when calculating the image data after the filtering process from these two image data. You can also think about it.
[0062]
Furthermore, as the filter size N increases, the weight of the image data after the filter processing for the previous pixel increases. Since the image data after the filter processing of the previous pixel is further calculated based on the image data of the previous pixel, if the filter size N is increased, the farther pixel (for example, the previous five pixels) It will be strongly influenced. From this, the filter size N can be considered to be a value indicating how far the previous pixel goes back to the filter processing, in other words, a pixel range in which the image data is smoothed.
[0063]
As described above, if the value of the filter size N is increased, the pre-conversion noise can be effectively removed, but on the other hand, the portion where the gradation value changes in the image is dulled. . Therefore, an optimum value exists for the filter size N. The optimum value of the filter size N takes a different value depending on the output resolution. The reason for this will be described again with reference to FIG. As shown in FIG. 8, when the filter B is used, about 5 pixels are required because the gradation value of the image data is switched. If the printing resolution of the color printer is 720 dpi (720 pixels per inch), if 5 pixels are required to switch the gradation value, an image with a blurred outline will result. That is, in the case of a print resolution of 720 dpi, the filter A that switches the gradation value of image data quickly is used although the ability to remove the pre-conversion noise is inferior to the filter B that can effectively remove the pre-conversion noise. When it is used, good image quality without blurring of the outline can be obtained. Accordingly, in this case, the optimum value of the filter size N is “1”.
[0064]
However, assuming that the printing resolution of the color printer 200 is 1440 dpi (1440 pixels per inch), the number of pixels per inch is doubled compared to the case where the resolution is 720 dpi. Even when the filter B that requires pixels is used, it appears to the human eye as quickly as when the filter A is used at a resolution of 720 dpi. Therefore, in the case of resolution 1440 dpi, it is possible to effectively remove the pre-conversion noise, and better image quality can be obtained by using the filter B, and the optimum value of the filter size is “2”.
[0065]
As described above, the optimum value of the filter size N is a value determined by the viewpoint of removing the pre-conversion noise and the viewpoint of quickly switching the image data so that the contour of the image is not blurred. Regarding the removal of the pre-conversion noise, the value of the filter size N need not be made larger than necessary, but is preferably set to a large value. On the other hand, from the viewpoint of promptly switching the gradation value of the image data so that the contour of the image does not blur, the smaller the filter size N is desirable, and the larger the filter size N, the larger the gradation value of the image data. The number of pixels required for switching is increased. In order to prevent the outline of the image from blurring, the allowable number of pixels required to switch the gradation value depends on the printing resolution, and the allowable number of pixels increases as the resolution increases. Therefore, the higher the print resolution, the larger the value of the filter size N that is acceptable in image quality. On the other hand, since pre-conversion noise is generated regardless of the resolution, the pre-conversion noise does not increase even when the printing resolution is increased. Eventually, the optimum value of the filter size N is determined according to the printing resolution, and the optimum value increases as the resolution increases.
[0066]
In some cases, the print resolution in the printer does not match the processing resolution in the image data processing. For example, in order to shorten the time required for the image data conversion process in response to a request for speeding up image printing, the image processing is performed at 720 dpi even though the printing resolution of the printer is 1440 dpi and before output to the printer. May be converted to 1440 dpi. In such a case, if the filter B is used, filter processing is performed on image data with a resolution of 720 dpi, resulting in an image with a blurred outline. Therefore, the optimum value of the filter size N is “1” in accordance with the resolution 720 dpi of the image processing. In the above description, in order to avoid complication, it has been described that the resolution of the image processing and the printing resolution are the same. However, if they do not match, the filter size N is determined according to the resolution of the image processing. Needless to say, the optimum value of is determined.
[0067]
FIG. 9 is an explanatory diagram conceptually illustrating a state in which the value of the filter size N is set in association with the print resolution (or image processing resolution). In the illustrated example, the filter size N is set to “0” at a print resolution of 360 dpi, the filter size N is set to “1” at a resolution of 720 dpi, and the filter size N is set to “2” at a resolution of 1440 dpi. Such a correspondence table is stored in advance in the ROM 104 of the computer 100 shown in FIG. In step S204 during the filter processing described above with reference to FIG. 7, the optimum filter size N corresponding to the print resolution (or image processing resolution) is determined by referring to such a correspondence table.
[0068]
As described above, in the filter processing of the first embodiment, the filter processing is performed using an appropriate filter size N corresponding to the printing resolution (or image processing resolution). As described above, since the filter size N can be considered as an index indicating the degree of smoothing of the image data, the degree of smoothing is optimally controlled according to the resolution in the filter processing of the first embodiment. It will be. For this reason, it is possible to appropriately perform image processing on any image data so as to obtain a good image quality without blurring of the image outline while effectively removing the pre-conversion noise. .
[0069]
E. Filter processing of the second embodiment:
In the filter processing of the first embodiment described above, the filter processing is performed using an appropriate filter size N according to the print resolution, but the gradation value of the image data is large, such as the contour of an object in the image. It is good also as not performing a filter process in the part which has changed. Hereinafter, the filter processing of the second embodiment will be described.
[0070]
10 and 11 are flowcharts showing the flow of the filter processing of the second embodiment. In this flowchart, a part (edge part) in which the image data is greatly changed is detected with respect to the filter process of the first embodiment shown in FIG. 7, and the filter process is not performed in such a part. Are very different. Hereinafter, a description will be given according to the flowcharts of FIGS. 10 and 11.
[0071]
Also in the filter processing of the second embodiment, as in the first embodiment, first, the CPU 102 acquires the size of the printing paper and the output resolution (S300), and based on the size of the printing paper and the output resolution, The number of rasters of the image data and the number of pixels per raster nend are calculated (step S302).
[0072]
Next, the filter size N is determined based on the output resolution or the calculated number of pixels (step S304). Similarly to the first embodiment, the filter size N is determined by referring to the correspondence table stored in the ROM 104 of the computer 100 in the filter processing of the second embodiment. In the correspondence table referred to in the filter processing of the second embodiment, a filter size N larger than that of the correspondence table referred to in the first embodiment is set. The reason for this will be described later.
[0073]
When the filter size N is determined, the variable n indicating the pixel position in the raster is initialized (step S306), and the values of the image data Data (0) before the filtering process and the image data Data ′ (0) after the filtering process are also determined. Initialization is performed (step S308).
[0074]
Next, after increasing the variable n indicating the pixel position by one (step S310), the image data Data (n) for the pixel at the pixel position n is read (step S312). In the case of immediately after initialization, the value of the variable n indicating the pixel position is set to “1”, so in step S312, the image data Data (1) of the first pixel of the raster is read.
[0075]
Next, it is determined whether or not the absolute value of the difference between the read image data Data (n) and the previous read image data Data (n-1) is greater than a predetermined threshold th (step S314). . In other words, if the image data of the pixel being processed changes significantly compared to the image data of the pixel that was processed immediately before, the pixel being processed corresponds to the edge portion. Therefore, when the absolute value of the difference between the two image data is larger than the predetermined threshold th (step S314: yes), the image data Data (n) that has been read is directly subjected to the filtering process without performing the filtering process. Store as data Data '(n). On the contrary, when the absolute value of the difference between the image data Data (n) being processed and the image data Data (n−1) read immediately before is smaller than the predetermined threshold th, the above equation (1) is used. Filtering is performed, and the obtained value is stored in the filtered image data Data ′ (n).
[0076]
If the processing pixel is a pixel at the head position of the raster, the absolute value of the difference between the image data Data (1) at the head position and the image data Data (0) set at the initialization is set to a predetermined value. By comparing with the threshold th, it is determined whether or not it corresponds to the edge portion.
[0077]
When the filtering process for the processing pixel is thus completed, it is determined whether or not the variable n indicating the pixel position has reached the number of pixels nend of the raster value (step S320). If the variable n has not reached nend (step S320: no), it is determined that the raster processing has not been completed, the process returns to step S310, and the variable n indicating the pixel position is incremented by one. The following series of processes is repeated. Conversely, when the variable n indicating the pixel position has reached the number nend of pixels per raster (step S320: yes), it is determined whether or not the raster being processed is the final raster (step S322). If it is not the final raster, the position of the raster to be processed is shifted by one (step S324), and the process returns to step S306 to repeat the following series of processes. When the final raster processing is completed in this way (step S322: yes), the filter processing of the second embodiment is finished, and the process returns to the image data conversion processing shown in FIG.
[0078]
In the filtering process of the second embodiment described above, the edge portion in the image is not filtered. Therefore, even if the filter size N is larger than that of the filtering process of the first embodiment, the contour of the image is There is no problem of blurring. For this reason, if the filter processing of the second embodiment is used, an image with good image quality can be obtained by sufficiently removing the pre-conversion noise by setting the filter size N to a large value.
[0079]
However, even if the edge of the image does not blur the edge of the image, if the filter size N is too large, components with high spatial frequency included in the image data will be removed. The filter size N is naturally limited. Since there is a limit to the spatial frequency that humans can visually grasp, the spatial frequency included in the image is considered to be basically independent of the printing resolution. For this reason, as the printing resolution increases, even if the image data is smoothed over a wide pixel range (that is, even when a large filter size N is used), the high frequency components included in the image data are less likely to be impaired. Become. That is, also in the filter processing of the second embodiment, an appropriate value exists according to the print resolution (or processing resolution). Therefore, in step S304 in FIG. 10, an appropriate filter size N corresponding to the print resolution is determined by referring to the correspondence table stored in the ROM 104.
[0080]
In the above description, the filtering process is not performed on the edge portion. However, the filtering process is not stopped on the edge portion, and the smoothing level may be made smaller than that on the non-edge portion. Of course it is good.
[0081]
In the second embodiment described above, the processing for detecting the edge portion is described as being performed within the filter processing, that is, for the image data that has been subjected to the pre-conversion processing and the color conversion processing. However, the edge detection process may be performed on the image data before the pre-conversion process. Naturally, the image data before the pre-conversion processing is the gradation data of each RGB color. In such a case, the gradation value is greatly changed even in one of the gradation data of each color. The edge portion may be determined. If the edge portion is detected before the pre-conversion in this way, the edge portion can be detected without being affected by noise generated by the pre-conversion process.
[0082]
F. Variation:
There are several modifications in each of the above-described embodiments. Hereinafter, these modified examples will be briefly described.
[0083]
(1) First modification:
The filter size N set based on the print resolution (or processing resolution) may be corrected on the screen of the computer 100, and the filter processing may be performed using the corrected filter size. The degree of correction of the filter size N is set in advance for the printer driver 12 prior to the start of printing. FIG. 12 is an explanatory diagram illustrating a state in which the degree of correction of the filter size N is set for the printer driver 12 on the screen of the computer 100. By moving the knob 130 on the screen, the filter size N set based on the output resolution can be corrected. For example, if the knob 130 is moved to the side where “clear” is displayed, the filter size N is corrected to a smaller value, and a clear image without blurring of the image outline can be obtained. Conversely, if the knob 130 is moved to the side where “smooth” is displayed, the filter size N is corrected to a larger value, and a smooth image from which noise is more effectively removed can be obtained. It becomes.
[0084]
(2) Second modification:
In the various embodiments described above, the smoothing is performed using the filters shown in the equations (1) to (4). However, the present invention is not limited to this. Smoothing processing may be performed using a filter. In the moving average method, since smoothing is performed in a finite number of pixel ranges, there is an advantage that it is easy to predict the processing result as much as the pixel range to be smoothed becomes clear. Further, it is preferable to use a so-called digital filter because the frequency range to be removed from the image data can be set more flexibly, and the image quality can be improved accordingly.
[0085]
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.
[0086]
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.
[0087]
Further, the image display device is not necessarily limited to a printing device that prints an image by forming ink dots on a print medium. For example, bright spots are dispersed at an appropriate density on a liquid crystal display screen. Thus, a liquid crystal display device that expresses an image whose gradation changes continuously may be used.
[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 a flowchart illustrating a flow of image data conversion processing performed by the image processing apparatus according to the present exemplary embodiment.
FIG. 6 is an explanatory diagram conceptually showing a conversion table referred to during image data conversion processing.
FIG. 7 is a flowchart showing a flow of filter processing of the first embodiment.
FIG. 8 is an explanatory diagram showing the effect of filter processing using a simulation result.
FIG. 9 is an explanatory diagram illustrating a state in which an appropriate filter size is set according to the output resolution.
FIG. 10 is a flowchart showing the flow of the first half of the filter processing of the second embodiment.
FIG. 11 is a flowchart showing the flow of the latter half of the filtering process of the second embodiment.
FIG. 12 is an explanatory diagram illustrating a state in which correction of the filter size is set for the printer driver.
[Explanation of symbols]
10 ... Computer
12. Printer driver
14 ... Color conversion module
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
200 ... Color printer
230 ... Carriage motor
235 ... Paper feed motor
236 ... Platen
240 ... carriage
241 ... Print head
242, 243 ... Ink cartridge
244 ... Ink ejection head
260 ... control circuit
261 ... CPU
262 ... ROM
263 ... RAM
300 ... communication line
310 ... Storage device

Claims (9)

第1の表色系によって表現された入力画像データを、所定の大きさの画素により構成されて第2の表色系により表現された出力画像データに変換する画像処理装置であって、
前記第1の表色系によって表現され且つ予め選択された複数の画像データを、前記第2の表色系による画像データに対応付けて記憶している変換テーブルと、
前記各々の入力画像データを、前記変換テーブルに記憶されている第1の表色系による画像データのいずれかに変換することにより、該入力画像データの量子化を行う画像データ量子化手段と、
前記量子化した入力画像データを、前記変換テーブルを参照することにより前記第2の表色系による画像データに変換する表色系変換手段と、
前記出力画像データの画素の大きさに関わる出力解像度を検出する出力解像度検出手段と、
前記変換された第2の表色系による画像データを、前記検出した出力解像度に応じて設定した度合いで平滑化する画像データ平滑化手段と、
前記平滑化された画像データを前記出力画像データとして出力する画像データ出力手段と
前記設定された平滑化の度合いの修正に関する修正情報を設定する修正情報設定手段とを備え、
前記画像データ平滑化手段は、前記設定された度合いを前記修正情報に基づいて修正した上で、前記平滑化を行う
像処理装置。
An image processing apparatus that converts input image data expressed by a first color system into output image data composed of pixels of a predetermined size and expressed by a second color system,
A conversion table that stores a plurality of pre-selected image data expressed by the first color system and associated with image data by the second color system;
Image data quantization means for quantizing the input image data by converting each of the input image data into any of the image data of the first color system stored in the conversion table;
A color system conversion means for converting the quantized input image data into image data of the second color system by referring to the conversion table;
Output resolution detecting means for detecting an output resolution related to a pixel size of the output image data;
Image data smoothing means for smoothing the converted image data of the second color system at a degree set according to the detected output resolution ;
Image data output means for outputting the smoothed image data as the output image data ;
Correction information setting means for setting correction information relating to the correction of the set smoothing degree,
The image data smoothing means performs the smoothing after correcting the set degree based on the correction information.
Images processing device.
請求項1記載の画像処理装置であって、
前記画像データ平滑化手段は、前記検出した出力解像度が高くなるほど、平滑化の度合いを強くする手段である画像処理装置。
The image processing apparatus according to claim 1,
The image processing apparatus according to claim 1, wherein the image data smoothing means is means for increasing the degree of smoothing as the detected output resolution increases.
請求項1記載の画像処理装置であって、
前記入力画像データが所定値以上変化する画素位置たるエッジ位置を検出するエッジ検出手段を備え、
前記画像データ平滑化手段は、前記エッジ位置の検出結果に応じた度合いで、前記画像データの平滑化を行う手段である画像処理装置。
The image processing apparatus according to claim 1,
Edge detection means for detecting an edge position as a pixel position where the input image data changes by a predetermined value or more;
The image data smoothing means is an image processing apparatus which is means for smoothing the image data to a degree corresponding to the detection result of the edge position.
請求項3記載の画像処理装置であって、
前記画像データ平滑化手段は、前記検出したエッジ位置では前記平滑化の度合いを小さくして、前記画像データを平滑化する手段である画像処理装置。
The image processing apparatus according to claim 3,
The image data smoothing means is means for smoothing the image data by reducing the degree of smoothing at the detected edge position.
請求項3記載の画像処理装置であって、
前記画像データ平滑化手段は、前記検出したエッジ位置を除いて前記画像データを平滑化する手段である画像処理装置。
The image processing apparatus according to claim 3,
The image data smoothing means is means for smoothing the image data excluding the detected edge position.
第1の表色系によって表現された入力画像データを受け取り、第2の表色系を構成する各色インクを用いて、画素毎にインクドットを形成することにより画像を印刷する印刷装置であって、
前記第1の表色系によって表現され且つ予め選択された複数の画像データを、前記第2の表色系による画像データに対応付けて記憶している変換テーブルと、
前記各々の入力画像データを、前記変換テーブルに記憶されている第1の表色系による画像データのいずれかに変換することにより、該入力画像データの量子化を行う画像データ量子化手段と、
前記量子化した入力画像データを、前記変換テーブルを参照することにより前記第2の表色系による画像データに変換する表色系変換手段と、
前記出力画像データの画素の大きさに関わる出力解像度を検出する出力解像度検出手段と、
前記変換された第2の表色系による画像データを、前記検出した出力解像度に応じて設定した度合いで平滑化する画像データ平滑化手段と、
前記平滑化された画像データに基づいて、前記各色インクによるインクドットを印刷媒体上に形成するドット形成手段と、
前記設定された平滑化の度合いの修正に関する修正情報を設定する修正情報設定手段とを備え、
前記画像データ平滑化手段は、前記設定された度合いを前記修正情報に基づいて修正した上で、前記平滑化を行う
刷装置。
A printing apparatus that receives input image data expressed by a first color system and prints an image by forming ink dots for each pixel using each color ink constituting the second color system. ,
A conversion table that stores a plurality of pre-selected image data expressed by the first color system and associated with image data by the second color system;
Image data quantization means for quantizing the input image data by converting each of the input image data into any of the image data of the first color system stored in the conversion table;
A color system conversion means for converting the quantized input image data into image data of the second color system by referring to the conversion table;
Output resolution detecting means for detecting an output resolution related to a pixel size of the output image data;
Image data smoothing means for smoothing the converted image data of the second color system at a degree set according to the detected output resolution ;
Based on the smoothed image data, dot forming means for forming ink dots of the respective color inks on a print medium;
Correction information setting means for setting correction information relating to the correction of the set smoothing degree,
The image data smoothing means performs the smoothing after correcting the set degree based on the correction information.
Printing apparatus.
第1の表色系によって表現された入力画像データを、所定の大きさの画素により構成されて第2の表色系により表現された出力画像データに変換する画像処理方法であって、
前記第1の表色系によって表現され且つ予め選択された複数の画像データを、前記第2の表色系による画像データに対応付けて、変換テーブルに記憶しておく工程と、
前記各々の入力画像データを、前記変換テーブルに記憶されている第1の表色系による画像データのいずれかに変換することにより、該入力画像データの量子化を行う工程と、
前記量子化した入力画像データを、前記変換テーブルを参照することにより前記第2の表色系による画像データに変換する工程と、
前記出力画像データの画素の大きさに関わる出力解像度を検出する工程と、
前記変換された第2の表色系による画像データを、前記検出した出力解像度に応じて設定した度合いで平滑化する工程と、
前記平滑化された画像データを前記出力画像データとして出力する工程と
前記設定された平滑化の度合いの修正に関する修正情報を設定する工程とを備え、
前記第2の表色系による画像データを平滑化する工程では、前記設定された度合いを前記修正情報に基づいて修正した上で、前記平滑化を行う
像処理方法。
An image processing method for converting input image data expressed by a first color system to output image data composed of pixels of a predetermined size and expressed by a second color system,
Storing a plurality of pre-selected image data expressed by the first color system in association with image data by the second color system in a conversion table;
A step of quantizing the input image data by converting each of the input image data into any of the image data of the first color system stored in the conversion table;
Converting the quantized input image data into image data of the second color system by referring to the conversion table;
Detecting an output resolution related to a pixel size of the output image data;
Smoothing the converted image data of the second color system at a degree set according to the detected output resolution ;
Outputting the smoothed image data as the output image data;
Setting correction information relating to the correction of the set smoothing degree,
In the step of smoothing the image data based on the second color system, the smoothing is performed after the set degree is corrected based on the correction information.
Images processing method.
第1の表色系によって表現された入力画像データを、所定の大きさの画素により構成されて第2の表色系により表現された出力画像データに変換する画像処理方法を、コンピュータを用いて実現するためのプログラムを記録した記録媒体であって、
前記第1の表色系によって表現され且つ予め選択された複数の画像データを、前記第2の表色系による画像データに対応付けて、変換テーブルに記憶しておく機能と、
前記各々の入力画像データを、前記変換テーブルに記憶されている第1の表色系による画像データのいずれかに変換することにより、該入力画像データの量子化を行う機能と、
前記量子化した入力画像データを、前記変換テーブルを参照することにより前記第2の表色系による画像データに変換する機能と、
前記出力画像データの画素の大きさに関わる出力解像度を検出する機能と、
前記変換された第2の表色系による画像データを、前記検出した出力解像度に応じて設定した度合いで平滑化する機能と、
前記平滑化された画像データを前記出力画像データとして出力する機能と
前記設定された平滑化の度合いの修正に関する修正情報を設定する機能とを実現するプログラムをコンピュータで読みとり可能に記録した記録媒体であり、
前記第2の表色系による画像データを平滑化する機能は、前記設定された度合いを前記修正情報に基づいて修正した上で、前記平滑化を行う
録媒体。
An image processing method for converting input image data expressed by a first color system into output image data composed of pixels of a predetermined size and expressed by a second color system using a computer A recording medium on which a program for realizing is recorded,
A function of storing a plurality of pre-selected image data expressed by the first color system and associated with the image data by the second color system in a conversion table;
A function of quantizing the input image data by converting each of the input image data into any of the image data of the first color system stored in the conversion table;
A function of converting the quantized input image data into image data based on the second color system by referring to the conversion table;
A function of detecting an output resolution related to a pixel size of the output image data;
A function of smoothing the converted image data of the second color system at a degree set in accordance with the detected output resolution ;
A function of outputting the smoothed image data as the output image data ;
A recording medium in which a program that realizes a function for setting correction information regarding correction of the set smoothing degree is recorded so as to be readable by a computer;
The function of smoothing the image data based on the second color system performs the smoothing after correcting the set degree based on the correction information.
Record media.
第1の表色系によって表現された入力画像データを、所定の大きさの画素により構成されて第2の表色系により表現された出力画像データに変換する画像処理方法を実現するためのコンピュータプログラムであって、
前記第1の表色系によって表現され且つ予め選択された複数の画像データを、前記第2の表色系による画像データに対応付けて、変換テーブルに記憶しておく機能と、
前記各々の入力画像データを、前記変換テーブルに記憶されている第1の表色系による画像データのいずれかに変換することにより、該入力画像データの量子化を行う機能と、
前記量子化した入力画像データを、前記変換テーブルを参照することにより前記第2の表色系による画像データに変換する機能と、
前記出力画像データの画素の大きさに関わる出力解像度を検出する機能と、
前記変換された第2の表色系による画像データを、前記検出した出力解像度に応じて設定した度合いで平滑化する機能と、
前記平滑化された画像データを前記出力画像データとして出力する機能と
前記設定された平滑化の度合いの修正に関する修正情報を設定する機能とをコンピュータによって実現させるコンピュータプログラムであり、
前記第2の表色系による画像データを平滑化する機能は、前記設定された度合いを前記修正情報に基づいて修正した上で、前記平滑化を行う
ンピュータプログラム。
Computer for realizing an image processing method for converting input image data expressed by a first color system into output image data constituted by pixels of a predetermined size and expressed by a second color system A program,
A function of storing a plurality of pre-selected image data expressed by the first color system and associated with the image data by the second color system in a conversion table;
A function of quantizing the input image data by converting each of the input image data into any of the image data of the first color system stored in the conversion table;
A function of converting the quantized input image data into image data based on the second color system by referring to the conversion table;
A function of detecting an output resolution related to a pixel size of the output image data;
A function of smoothing the converted image data of the second color system at a degree set in accordance with the detected output resolution ;
A function of outputting the smoothed image data as the output image data ;
A computer program for realizing a function of setting correction information related to the correction of the set smoothing degree by a computer;
The function of smoothing the image data based on the second color system performs the smoothing after correcting the set degree based on the correction information.
Computer program.
JP2002246562A 2002-08-27 2002-08-27 Image processing apparatus for performing filter processing according to output resolution Expired - Fee Related JP4092983B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002246562A JP4092983B2 (en) 2002-08-27 2002-08-27 Image processing apparatus for performing filter processing according to output resolution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002246562A JP4092983B2 (en) 2002-08-27 2002-08-27 Image processing apparatus for performing filter processing according to output resolution

Publications (3)

Publication Number Publication Date
JP2004088407A JP2004088407A (en) 2004-03-18
JP2004088407A5 JP2004088407A5 (en) 2005-10-27
JP4092983B2 true JP4092983B2 (en) 2008-05-28

Family

ID=32054434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002246562A Expired - Fee Related JP4092983B2 (en) 2002-08-27 2002-08-27 Image processing apparatus for performing filter processing according to output resolution

Country Status (1)

Country Link
JP (1) JP4092983B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6128319B2 (en) * 2013-07-10 2017-05-17 富士ゼロックス株式会社 Image processing apparatus and program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04185075A (en) * 1990-11-20 1992-07-01 Canon Inc Color picture processor
JPH0898027A (en) * 1994-09-28 1996-04-12 Canon Inc Image reader
JP3823424B2 (en) * 1996-02-29 2006-09-20 セイコーエプソン株式会社 Image processing apparatus and image processing method
JP2000108384A (en) * 1998-10-05 2000-04-18 Seiko Epson Corp Method for processing image, recording medium and image- processing apparatus
JP2001167265A (en) * 1999-12-07 2001-06-22 Seiko Epson Corp Medium with recorded image processing program, device and method for processing image
JP2002044456A (en) * 2000-07-21 2002-02-08 Canon Inc Image processor, system, method and medium
JP4099936B2 (en) * 2000-09-07 2008-06-11 富士ゼロックス株式会社 Image processing apparatus, image processing method, and recording medium storing image processing program

Also Published As

Publication number Publication date
JP2004088407A (en) 2004-03-18

Similar Documents

Publication Publication Date Title
JP3912055B2 (en) Image processing apparatus, print control apparatus, image processing method, and recording medium
JP5072349B2 (en) Image forming apparatus and control method thereof
JP2001138555A (en) Print controller, printer, print control method, printing method, recording medium, and method for setting color conversion table
JP6390405B2 (en) Printing apparatus, printing method, program, and image processing apparatus
JP3666427B2 (en) Image processing apparatus, print control apparatus, image processing method, and recording medium
JP2023052886A (en) Image processing device, image processing method, and program
JP6192327B2 (en) Image processing apparatus, image processing method, and program
EP1608143A1 (en) Image output control system, image processing apparatus, and method thereof
JP4092983B2 (en) Image processing apparatus for performing filter processing according to output resolution
JP3858802B2 (en) Image processing apparatus for performing color conversion while referring to reconstructed color conversion table, and image processing method therefor
JP4183167B2 (en) Image processing apparatus for printing a monochrome image
JP4096846B2 (en) Image processing apparatus for performing filter processing according to output resolution
JP4623029B2 (en) Print control device, image processing device
JP4107302B2 (en) Printing apparatus, image processing apparatus, printing method, image processing method, and conversion table creation method
JP5072350B2 (en) Image forming apparatus and control method thereof
JP3959974B2 (en) Print control device, image processing device
JP4259254B2 (en) Image data processing apparatus, print data creation apparatus including the same, ink jet recording apparatus, image data processing program, and image data processing method
JP2005014488A (en) Method of controlling ejection of improvement ink
JP4433140B2 (en) Print control apparatus, print control method, print control program, color conversion table, and ink amount determination method
JP2006263938A (en) Printing device, image processing device, printing method, and image processing method
JP4300742B2 (en) Image processing apparatus for converting the number of gradations of image data
JP4456823B2 (en) Printing device that prints an image while grouping and storing the determination result of dot formation, and print control device therefor
JP2005028661A (en) Image processor for printing variable-density image
US20230385584A1 (en) Printing apparatus, method of controlling printing apparatus, and storage medium
JP4561414B2 (en) Print control apparatus, print control method, and print control program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050825

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050825

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070502

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071002

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071129

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080225

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

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130314

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140314

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees