JP2004314432A - Method of printing by making tone jump inconspicuous - Google Patents

Method of printing by making tone jump inconspicuous Download PDF

Info

Publication number
JP2004314432A
JP2004314432A JP2003111510A JP2003111510A JP2004314432A JP 2004314432 A JP2004314432 A JP 2004314432A JP 2003111510 A JP2003111510 A JP 2003111510A JP 2003111510 A JP2003111510 A JP 2003111510A JP 2004314432 A JP2004314432 A JP 2004314432A
Authority
JP
Japan
Prior art keywords
frequency distribution
print
printing
image
evaluation value
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.)
Pending
Application number
JP2003111510A
Other languages
Japanese (ja)
Inventor
Susumu Murayama
進 村山
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 JP2003111510A priority Critical patent/JP2004314432A/en
Publication of JP2004314432A publication Critical patent/JP2004314432A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To perform printing by making pseudo-contour of an image occurring due to image data inconspicuous. <P>SOLUTION: Firstly, image data for representing an image by a plurality of pixels each substantially having a luminous is received (S2). A frequency distribution x of the number of pixels by each luminous is obtained (S4, S6). After that, a frequency distribution y is obtained by applying a smoothing treatment to the frequency distribution x (S8). An image estimation value α is determined based on the distributions x, y (S10). An image having the small value α hardly has a pseudo-contour. Therefore, the printing is performed by a third mode capable of accurately representing a precise image by using small dots (S14). An image having the large value α tends to have a pseudo-contour. Therefore, the printing is performed by using only large dots by a first mode capable of making the pseudo-contour inconspicuous in the printed result (S18). When the value α is in a medium level, the printing is performed by a second mode using large dots and small dots (S16). <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、ドットを記録して印刷を行う技術に関し、特に、画像データに起因して発生する疑似輪郭を目立ちにくくする印刷を行う技術に関する。
【0002】
【従来の技術】
従来より、デジタル画像における疑似輪郭を解消するための技術が存在する。たとえば、特許文献1においては、階段状に色が変化してゆく複数の図形であって、互いの色の境目が認識できる複数の図形からなるカラーステップ画像から、ビネット画像データを生成する方法が開示されている。ビネット画像データとは、連続的に色が変化するビネット画像を近似的に表す画像データである。特許文献1の技術によれば、ビネット画像を作成することができない画像処理プログラムにおいて、トーンジャンプの少ないビネット画像データを作成することができる。
【0003】
【特許文献1】
特許第2769673号公報
【0004】
【発明が解決しようとする課題】
近年、デジタル画像を加工する技術が専門家以外の一般のユーザにも普及した。その結果、たとえば、暗い写真の画像データを全体に明るくなるように加工して作った画像データや、明るい空の部分の青色から白色への変化を強調するように加工して作った画像データが、一般ユーザ同士で交換されることも多くなった。
【0005】
たとえば、トーンカーブを利用して画像データの明るさを操作した場合、操作前には画素の輝度が1階調ずつ異なる領域が互いに隣接していたグラデーション部分において、互いの領域の輝度の差が拡大され、トーンジャンプが生じることがある。すると、画像のグラデーション部分において、領域の境目が疑似輪郭として目立つようになる。このような疑似輪郭は、出力機器やアプリケーションプログラムの発色の性能に起因するものではなく、画像データそのものが、互いに隣接する領域であって輝度が大きく異なる領域のデータを含んでいることに起因するものである。このような画像データを印刷する際に、画像データに起因して発生する疑似輪郭が目立ちにくくなるような印刷を行う方法は、開発されていなかった。
【0006】
この発明は、従来技術における上述の課題を解決するためになされたものであり、画像データに起因して発生する画像の疑似輪郭が目立ちにくい印刷を行うことを目的とする。
【0007】
【課題を解決するための手段およびその作用・効果】
上述の課題の少なくとも一部を解決するため、本発明では、異なる大きさのドットを印刷媒体上に記録することができる印刷装置を用いて印刷を行う際に、所定の処理を行う。この印刷装置は、比較的小さいドットを印刷媒体上に記録せずに比較的大きいドットを印刷媒体上に記録して印刷を行う第1の印刷モードと、比較的小さいドットと比較的大きいドットとを印刷媒体上に記録して印刷を行う第2の印刷モードと、を有する。
【0008】
印刷の際には、まず、画素値をそれぞれ有する複数の画素によって画像を表現する画像データを準備する。そして、画像データについて、画素値ごとの画素数の分布である度数分布xを求める。その後、度数分布xに対して所定の平滑化処理を行った度数分布yを求める。そして、度数分布xと度数分布yとに基づいて、画像データについての画像評価値を決定する。その後、画像評価値に応じて第1および第2のいずれかの印刷モードを選択する。そして、選択された印刷モードで印刷を実行する。このような態様とすれば、画像データに起因して発生する画像の疑似輪郭を目立ちにくくする印刷を行うことができる。
【0009】
なお、第1と第2の印刷モードは、解像度が互いに等しい印刷モードであることが好ましい。このような態様とすれば、疑似輪郭が目立ちにくい印刷モードを実行しても、解像度が低下しない。
【0010】
なお、画像評価値を決定する際には、度数分布xと度数分布yとの差の絶対値を全画素値について合計した値に基づいて、画像評価値を決定することが好ましい。このような態様とすれば、度数分布xの変動の激しさに応じて増大する画像評価値を得ることができる。よって、画像評価値に基づいて、疑似輪郭が目に付きやすい画像であるか、疑似輪郭が目に付きにくい画像であるかを、適切に判断することができる。
【0011】
また、画像評価値を決定する際には、度数分布xと度数分布yとの差の度数分布gに対してフーリエ変換を行い、度数分布gの、所定の周波数についてのパワーの大きさに基づいて、画像評価値を決定することが好ましい。疑似輪郭が目立つ画像においては、度数分布xと度数分布yとの差の分布gが所定の周波数成分を多く含むことがある。よって、このような態様とすれば、疑似輪郭が目立つ度合いを反映して印刷モードを決定することができる。
【0012】
画像評価値を決定する際には、度数分布xと度数分布yとの差の分散に基づいて、画像評価値を決定する態様とすることもできる。疑似輪郭が目立つ画像においては、度数分布xと度数分布yとの差の変動が大きくなる。よって、このような態様とすれば、疑似輪郭が目立つ度合いを反映して印刷モードを決定することができる。
【0013】
なお、画素値は画素の輝度とすることができる。このような態様とすれば、印刷結果においてその画素値の変化が目に付きやすいような画素値に基づいて、印刷モードを決定することができる。
【0014】
なお、本発明の一態様として、異なる大きさのドットを印刷媒体上に記録することができる印刷部に供給すべき印刷データを生成する印刷制御装置がある。印刷データを供給する印刷部は、比較的小さいドットを印刷媒体上に記録せずに比較的大きいドットを印刷媒体上に記録して印刷を行う第1の印刷モードと、比較的小さいドットと比較的大きいドットとを印刷媒体上に記録して印刷を行う第2の印刷モードと、で印刷を行うことができる。
【0015】
この印刷制御装置は、画素値をそれぞれ有する複数の画素によって画像を表現する画像データを受け取る画像データ入力部と、画像データについて、画素値ごとの画素数の分布である度数分布xを求める評価値分布作成部と、度数分布xに対して所定の平滑化処理を行った度数分布yを求める平滑化分布作成部と、度数分布xと度数分布yとに基づいて、画像データについての画像評価値を決定する画像評価値決定部と、画像評価値に応じて第1および第2のいずれかの印刷モードを選択する印刷モード選択部と、選択された印刷モードに応じた印刷データを生成する印刷データ生成部と、を備えるものとすることができる。このような態様によっても、画像データに起因して発生する画像の疑似輪郭を目立ちにくくする印刷を行うことができる。
【0016】
さらに、本発明の一態様として、異なる大きさのドットを印刷媒体上に記録することができる印刷ヘッドと、印刷ヘッドを制御することができる制御部と、を有する印刷装置がある。この印刷装置の制御部は、比較的小さいドットを印刷媒体上に記録せずに比較的大きいドットを印刷媒体上に記録して印刷を行う第1の印刷モードと、比較的小さいドットと比較的大きいドットとを印刷媒体上に記録して印刷を行う第2の印刷モードと、で印刷を実行することができる印刷実行部を有する。
【0017】
さらに、この制御部は、画像データ入力部と、評価値分布作成部と、平滑化分布作成部と、画像評価値決定部と、印刷モード選択部と、を備える。印刷実行部は、印刷モード選択部によって選択された印刷モードで印刷を実行する。このような態様によっても、画像データに起因して発生する画像の疑似輪郭を目立ちにくくする印刷を行うことができる。
【0018】
なお、本発明は、以下に示すような種々の態様で実現することが可能である。
(1)印刷装置、印刷制御装置、印刷装置。印刷データ生成装置。画像処理装置。
(2)印刷方法、印刷制御方法。印刷データ生成方法。画像処理方法。
(3)上記の装置や方法を実現するためのコンピュータプログラム。
(4)上記の装置や方法を実現するためのコンピュータプログラムを記録した記録媒体。
(5)上記の装置や方法を実現するためのコンピュータプログラムを含み搬送波内に具現化されたデータ信号。
【0019】
【発明の実施の形態】
以下で、本発明の実施の形態を実施例に基づいて以下の順序で説明する。
A.実施形態の概要:
B.第1実施例:
B1.画像データに起因するトーンジャンプ:
B2.装置構成:
B3.ハーフトーン処理:
B4.画像データの印刷:
C.第2実施例:
D.第3実施例:
E.第4実施例:
F.第5実施例:
G.変形例:
【0020】
A.実施形態の概要:
図1は本発明の一態様である印刷方法の手順を示すフローチャートである。まず、それぞれ実質的に輝度を有する複数の画素によって画像を表現する画像データを読み込む(S2)。そして、輝度ごとの画素数の度数分布xを求める(S4,S6)。その後、度数分布xに対して所定の平滑化処理を行った度数分布yを求める(S8)。そして、分布xと分布yとから画像評価値αを決定する(S10)。
【0021】
画像評価値αがTh1以下であるときには、画像データの画像は疑似輪郭が出にくい画像である。よって、大ドット、中ドット、小ドットを使用し、細かい画像が正確に表現される第3の印刷モードで印刷を行う(S14)。画像評価値αがTh2以上であるときには、画像データの画像は疑似輪郭が出やすい画像である。よって、大ドットのみを使用し、印刷結果において疑似輪郭が目に付きにくい第1の印刷モードで印刷を行う(S18)。画像評価値αが中程度(Th1より大きくTh2より小さい)のときには、大ドットと中ドットを使用する第2の印刷モードで印刷を行う(S16)。
【0022】
B.第1実施例:
B1.画像データに起因するトーンジャンプ:
ここでは、まず、疑似輪郭を目立ちにくくする印刷について説明する前に、画像データに起因するトーンジャンプがどのようにして発生するかについて説明する。なお、「トーンジャンプ」とは、画像中の徐々に色が変化しているはずの部分において、隣接する領域同士の色が人間の目に付くほど違っている状態をいう。そして、「疑似輪郭」とは、画像中の徐々に色が変化しているはずであって輪郭線が存在しないはずの部分において、人間の目に付くほど色が違っている領域同士の境界に見える境界線のことをいう。
【0023】
図2は、デジタル画像の明るさを操作する際に用いられるトーンカーブを表す説明図である。横軸は操作前の輝度Lを表し、縦軸は操作後の輝度Lを表す。なお、輝度Lは整数値をとるものとする。直線C0は、明るさに関して何の操作も加えない状態を表す。もともと暗い写真の画像であった画像データを全体に明るくするように加工する場合には、トーンカーブC1で表されるような輝度の操作が行われる。このような操作を行うことで、輝度0〜L1の輝度の範囲R1にある各画素の輝度は、輝度0〜L2のより広い範囲R2の輝度に変換される。その結果、画像の暗い部分の色(明るさ)の違いが明確になる。
【0024】
また、画像中の明るい空の部分の青色から白色への変化を強調するように、画像データを加工する場合には、トーンカーブC2で表されるような輝度の操作が行われる。このような操作を行うことで、輝度L3〜Lmaxの輝度の範囲R3にある各画素の輝度は、輝度L4〜Lmaxのより広い範囲R4の輝度に変換される。その結果、画像の明るい部分の色(明るさ)の違いが明確になる。
【0025】
図3は、画像データに対して図2のトーンカーブC1で表される加工がされた場合の輝度の分布の変化を表す説明図である。横軸は輝度Lであり、縦軸はその輝度を有する画素の数x(L)である。画像データに対して図2のトーンカーブC1で表される加工がされると、前述のように、輝度0〜L1の輝度の範囲R1にある各画素の輝度は、輝度0〜L2のより広い範囲R2の輝度に変換される。
【0026】
いま、輝度の階調L1を階調4とし、階調L2を階調14であると仮定すると、トーンカーブC1で表される操作によって、たとえば、次にようにそれぞれの輝度の階調が変更されることになる。すなわち、図3に示すように、輝度0の画素の輝度は0に変換される。すなわち、この場合には輝度の変更は行われない。しかし、輝度1の画素の輝度は2に変換される。そして、輝度2の画素の輝度は5に変換され、輝度3の画素の輝度は9に変換される。さらに、輝度4の画素の輝度は14に変換される。
【0027】
このような操作が行われると、輝度の分布中に、画素が一つも存在しない輝度ができることになる。たとえば、図3下段の度数分布からわかるように、加工後の画像中には、輝度1,3,4,6〜8,10〜13の画素は一つも存在しない。
【0028】
いま、仮に、画像中に輝度0から輝度4まで徐々に明るくなっていく部分があるとする。そのような部分において、加工前の画像では、輝度3の画素からなる領域と輝度4の画素からなる領域が接していた部分は、加工後の画像では、輝度9の画素からなる領域と輝度14の画素からなる領域が接することになる。そのような輝度の離れた画素の領域が接している部分は、人間の目に付きやすく、領域の境界が疑似輪郭として認識されてしまうことがある。よって、印刷結果の品質を高めるためには、このような疑似輪郭が目立たなくなるような工夫を、印刷の際に行うことが望ましい。
【0029】
なお、ここでは、暗い部分の色の違いを強調するための、トーンカーブC1で表されるような加工を例にして説明したが、明るい部分の色の違いを強調するための、トーンカーブC2で表されるような加工についても同様の問題が生じる。また、図2および図3は説明のために用意した図であり、図3に示した輝度の数値は、図2のトーンカーブC1の形状から特定される操作を正確に反映するものではない。
【0030】
B2.装置構成:
図4は本印刷装置のソフトウェアの構成を示すブロック図である。コンピュータ90では、所定のオペレーティングシステムの下で、アプリケーションプログラム95が動作している。オペレーティングシステムには、ビデオドライバ91やプリンタドライバ96が組み込まれており、アプリケーションプログラム95からはこれらのドライバを介して、プリンタ22に転送するための中間画像データMIDが出力されることになる。画像のレタッチなどを行うアプリケーションプログラム95は、CD−R140から画像を読み込み、これに対して所定の処理を行いつつビデオドライバ91を介してCRTディスプレイ21に画像を表示している。CD−R240から供給されるデータORGは、レッド(R),グリーン(G),ブルー(B)の3色の色成分からなる原カラー画像データORGである。
【0031】
マウス130やキーボード120からユーザの指示が入力され、アプリケーションプログラム95が印刷命令を発すると、コンピュータ90のプリンタドライバ96が画像情報をアプリケーションプログラム95から受け取り、これをプリンタ22が処理可能な信号(ここではシアン、ライトシアン、マゼンダ、ライトマゼンタ、イエロー、ブラックの各色についての多値化された信号)に変換している。図4に示した例では、プリンタドライバ96の内部には、印刷モード決定モジュール101と、解像度変換モジュール97と、色変換モジュール98と、色変換テーブルLUTと、ハーフトーンモジュール99と、ディザマトリクスDMと、並べ替えモジュール100とが備えられている。
【0032】
印刷モード決定モジュール101は、アプリケーションプログラム95から受け取った中間画像データMIDにもとづいて、印刷の際に実行する印刷モードを決定し、決定した印刷モードの情報を印刷データに付加する。印刷モードが決定されることによって、印刷時の解像度(すなわち単位長さ当たりの画素数)および使用するドットの大きさが決定される。解像度変換モジュール97は、アプリケーションプログラム95が扱っているカラー画像データの解像度を、印刷モード決定モジュール101によって決定された印刷モードに応じた解像度に変換する役割を果たす。こうして解像度変換された画像データはまだRGBの3色からなる画像情報である。
【0033】
色変換モジュール98は色変換テーブルLUTを参照しつつ、画像データを、各画素ごとにプリンタ22が使用するシアン(C)、ライトシアン(LC)、マゼンダ(M)、ライトマゼンタ(LM)、イエロー(Y)、ブラック(K)の各色の階調値で表された画像データに変換する。こうして色変換されたデータは例えば256階調等の幅で階調値を有している。
【0034】
ハーフトーンモジュール99は、ドットを分散して形成することによりプリンタ22でかかる階調値を表現するためのハーフトーン処理を、ディザマトリクスDMを使用して実行する。ハーフトーン処理は、先に印刷モード決定モジュール101によって決定された印刷モードで使用するドットを使って階調値を表現できるように、行われる。ディザマトリクスDMは、コンピュータ90のメモリ内に格納されている。
【0035】
こうして処理された画像データは、並べ替えモジュール100によりプリンタ22に転送すべきデータ順に並べ替えられて、最終的な印刷画像データFNLとして出力される。プリンタ22の制御回路40は、印刷画像データFNLを受け取って印刷を実行する。
【0036】
解像度変換モジュール97と、色変換モジュール98と、ハーフトーンモジュール99と、並べ替えモジュール100とは、印刷モード決定モジュール101で印刷モードが決定された後、その印刷モードに応じて印刷画像データFNLを作成する。これら解像度変換モジュール97、色変換モジュール98、ハーフトーンモジュール99、および並べ替えモジュール100が、特許請求の範囲にいう「印刷データ生成部」に相当する。
【0037】
次に、図5によりプリンタ22の概略構成を説明する。図示するように、このプリンタ22は、紙送りモータ23によって用紙Pを搬送する機構と、キャリッジモータ24によってキャリッジ31を用紙Pの搬送方向と垂直な方向に往復動させる機構と、キャリッジ31に搭載された印刷ヘッド28を駆動してインクの吐出およびドット形成を行う機構と、これらの紙送りモータ23,キャリッジモータ24,印刷ヘッド28および操作パネル32を制御する制御回路40とから構成されている。なお、本明細書においては、「印刷装置」とは、狭義にはプリンタ22のみをさすが、広義にはコンピュータ90とプリンタ22とを含む印刷システム全体を表す。
【0038】
キャリッジ31を用紙Pの搬送方向と垂直な方向に往復動させる機構は、印刷用紙Pの搬送方向と垂直な方向に架設されキャリッジ31を摺動可能に保持する摺動軸34と、キャリッジ31とキャリッジモータ24との間に無端の駆動ベルト36を張設するプーリ38と、キャリッジ31の原点位置を検出する位置検出センサ39等から構成されている。
【0039】
なお、このキャリッジ31には、黒インク(K)用のカートリッジ71と、シアン(C),ライトシアン(LC)、マゼンタ(M),ライトマゼンダ(LM)、イエロ(Y)の6色のインクを収納したカラーインク用カートリッジ72と、が搭載可能である。
【0040】
キャリッジ31の下部の印刷ヘッド28には計6個のインク吐出用ヘッド61ないし66が形成されており、キャリッジ31の底部には、この各色用ヘッドにインクタンクからのインクを導く導入管67が立設されている。キャリッジ31にブラックインク用のカートリッジ71およびカラーインク用カートリッジ72を上方から装着すると、各カートリッジに設けられた接続孔に導入管67が挿入され、各インクカートリッジから吐出用ヘッド61ないし66へのインクの供給が可能となる。
【0041】
各ノズルからは、互いに量が異なる3種類インク滴を吐出することができる。各ノズルは、これら3種類のインク滴をそれぞれ印刷用紙上に着弾させることによって、印刷用紙上に大中小の3種類の大きさのドットを形成することができる。
【0042】
図6は、インク吐出用ヘッド61〜66におけるインクジェットノズルNzの配列を示す説明図である。これらのノズルの配置は、各色ごとにインクを吐出する6組のノズルアレイから成っており、48個のノズルNzが一定のノズルピッチkで千鳥状に配列されている。各ノズルアレイの副走査方向の位置は互いに一致している。なお、各ノズルアレイに含まれる48個のノズルNzは、千鳥状に配列されている必要はなく、一直線上に配置されていてもよい。但し、図6に示すように千鳥状に配列すれば、製造上、ノズルピッチkを小さく設定し易いという利点がある。
【0043】
以上説明したハードウェア構成を有するプリンタ22は、紙送りモータ23により用紙Pを搬送しつつ(以下、副走査という)、キャリッジ31をキャリッジモータ24により往復動させ(以下、主走査という)、同時に印刷ヘッド28の各色ヘッド61ないし66のピエゾ素子PEを駆動して、各色インクの吐出を行い、ドットを形成して用紙P上に多色の画像を形成する。
【0044】
なお、本実施例では、既に述べた通りピエゾ素子PEを用いてインクを吐出するヘッドを備えたプリンタ22を用いているが、吐出駆動素子としては、ピエゾ素子以外の種々のものを利用することが可能である。例えば、インク通路に配置したヒータに通電し、インク通路内に発生する泡(バブル)によりインクを吐出するタイプの吐出駆動素子を備えたプリンタに適用することも可能である。
【0045】
B3.ハーフトーン処理:
図7は、色変換(図4参照)が行われた画像データの一部の画素が有するシアンの階調値を示す説明図である。色変換が行われた画像データは、各画素について、シアン、マゼンタ、イエロ、ライトシアン、ライトマゼンタ、ブラックの各色について、0から255までの階調値を有している。ここでは、図の左上部分の各画素は、シアンの階調値として56を有し、右下の部分の各画素は、シアンの階調値として64を有するものとする。図7において、異なる階調値を有する画素の境界を破線で示す。
【0046】
図8は、ハーフトーン処理の中のドットデータ生成ルーチンを示すフローチャートである。ハーフトーン処理(図4参照)によって、各画素の階調値はドットの形成の有無を表すドットデータに変換される。第1実施例では、ハーフトーン処理は、ディザ法で行われる。まず、ステップS102で、データ変換の対象となる対象画素グループが選択される。例えば、図7では、左上の枠PGで囲っている4行×4列の16個の画素が、データ変換の対象画素として選択されたものとする。そして、対象画素グループについて、ステップS104で、ディザマトリクスDMを用いたデータ変換が行われる。その後、ステップS106で、全ての画素についてドットデータを生成したか否かの判定が行われる。判定結果がNoである場合には、再びステップS102で、対象画素グループが選択される。例えば、図7の例では、左側の第5から第8列、第1から第4行の画素を選択するものとしてもよい。以下、同様に画像データ中の全画素についてデータ変換が行われるまで、ステップS102,S104が繰り返される。
【0047】
図9は、ステップS104において使用されるディザマトリクスDM(図4参照)を示す説明図である。図9に示すように、第1実施例では、4行×4列のディザマトリクスDMを用いる。図7において、一つのディザマトリクスDMに対応する画素の集合が、枠PGで示す画素の集合である。
【0048】
図9に示したディザマトリクスDMは、ドットを形成するか否かの判断を行うためのしきい値を要素ごとに有している。各しきい値は、15から255まで、階調値の範囲0から255を均等に16分割する値である。図9においては、階調値の最大値の半分以下のしきい値が割り当てられている要素に、破線で丸を示す。これらの要素に対応する画素は、他の要素に割り当てられている画素に比べてドットが形成されやすい。
【0049】
図10は、図7の第1から第4列、第1から第4行の16個の画素にディザ法を適用してデータ変換を行う方法を示す説明図である。ディザ法においては、各画素の階調値とディザマトリクスのしきい値との比較が行われ、階調値がしきい値よりも大きいときにドットを記録する旨のドットデータが生成される。たとえば、図10の左端に示した各画素のレベルデータLd中、左上角の画素については、階調値が56である。これに対してディザマトリクスの対応する左上角の要素のしきい値は175である。よって、階調値がしきい値よりも小さいため、ドットが形成されないことを表すドットデータが形成される。一方、その右隣の画素については、階調値が56であるのに対して対応する要素のしきい値は15である。よって、階調値がしきい値よりも大きいため、ドットが形成されることを表すドットデータが形成される。ドットが形成される画素については、ドットのオン・オフを示す図において、画素を表す升目に丸を記す。
【0050】
前述のように、プリンタ22は、各ノズルから3種類の重量のインク滴を吐出して、印刷用紙上に大中小の3種類のドットを形成することができる。プリンタ22の制御回路40は、大ドットのみを使用して印刷を行う第1の印刷モード、大ドットと中ドットを使用して印刷を行う第2の印刷モード、さらに大中小の3種類のドットを使用して印刷を行う第3の印刷モードの、3つの印刷モードで印刷を実行することができる。
【0051】
図11は、第1の印刷モードにおける階調値とドットの存在割合を示す図である。図11において、左下の原点と、右上の階調値255かつドット記録率100%の点を結ぶ線は、大ドットのみで色の濃淡を表現する場合の、階調値とドット記録率の関係を示す線である。すなわち、表現すべき階調値と、ドット記録率は正比例の関係にあり、階調値が最高値255であるときに、ドット記録率は100%となる。
【0052】
図12は、第2の印刷モードにおける階調値とドットの存在割合を示す図である。第2の印刷モードにおいては、大ドットのほかに中ドットを使用して色の濃淡を表現する。第2の印刷モードにおいては、表現すべき階調値に対する中ドットと大ドットの記録率は、図12において、それぞれ二点差線と実線で表されたようになる。たとえば、階調値が56である領域を表現するときには、中ドットのみをその領域の43.8%の画素に記録する。また、階調値が128である領域を表現するときには、中ドットのみをその領域の100%の画素に記録する。さらに、階調値が128から192の間であるときには、その領域には大ドットと中ドットの両方を記録する。すなわち、その領域では、それぞれ所定の割合の画素に中ドットと大ドットを記録する。そして、階調値が192以上である領域を表現するときには、大ドットのみをその領域の所定の割合の画素に記録する。
【0053】
図13は、中ドットに関してディザ法を適用してデータ変換を行う方法を示す説明図である。図12にしたがってドットを記録する際には、中ドット用のレベルデータLdm、大ドット用のレベルデータLdlを作成する。たとえば、図13の左端のレベルデータLdに示すように、階調値が56である領域においては、前述のように、中ドットのみをその領域の43.8%の画素に記録する(図12参照)。図13において、中ドットのドット記録率を左から2番目のパネルに示す。新たに作成する中ドット用のレベルデータLdmにおいては、階調値は、最大値255の43.8%である112とされる。中ドット用のレベルデータLdmを図13の中央に示す。
【0054】
そして、上記のようにして作成された中ドット用のレベルデータLdmに対してディザマトリクスが適用される。その結果、各画素へのドットの形成状態は、図13の右端に示すようになる。大ドットに関してディザ法を適用する際にも同様の手続きがとられる。ただし、階調値が56である領域においては、中ドットのみが記録され大ドットは記録されない(図12参照)。よって、ドット記録率は0となり、大ドット用のレベルデータLdlの階調値もすべて0となる。その結果、大ドットは一つも記録されない。なお、上記のように大中小各ドットのドット記録率に基づいて決定された各レベルデータLdl、Ldm、Ldsの階調値を、本明細書では「換算された階調値」と呼ぶことがある。
【0055】
図14は、第3の印刷モードにおける階調値とドットの存在割合を示す図である。第3の印刷モードにおいては、大ドットのほかに中ドットと小ドットを使用して、色の濃淡を表現する。第3の印刷モードにおいては、表現すべき階調値に対する小ドット、中ドット、大ドットの記録率は、それぞれ一点鎖線、二点差線、実線で表されたようになる。たとえば、階調値が64である領域を表現するときには、小ドットのみをその領域の100%の画素に記録する。階調値が128である領域を表現するときには、中ドットのみをその領域の100%の画素に記録する。そして、階調値が96であるときには、その領域の50%の画素に小ドットを記録し、50%の画素に中ドットを記録する。
【0056】
なお、第1から第3の各印刷モードは、互いに解像度が等しい。よって、第1から第3の印刷モードのうちトーンジャンプの目立ちにくい印刷モードが選択された場合にも、印刷結果の解像度が低くなって印刷結果の品質が大きく低下することがない。また、第1から第3の各印刷モードは、いずれも各モード中で使用する最大のドットの大きさが等しい。このため、画像中の、最大の階調値(ここでは255)を有する領域を印刷する際、その印刷結果の品質が互いに等しくなる。すなわち、いずれの印刷モードにおいても大ドットでその領域を塗りつぶすこととなり、印刷結果の品質が等しくなる。そして、いずれの印刷モードにおいても領域中に塗り残しが生じない。
【0057】
図15は、階調値が64と56のそれぞれの場合について、第1から第3の各印刷モードにおいてどのようにドットが記録されるかを表す説明図である。左側に表現すべき階調値64と56を示す。そして、左から順に第1、第2、第3の印刷モードにおけるドット記録状態を示す。大ドットのみを使用する第1の印刷モードにおいては、図10に示したように、レベルデータLdの階調値に対してそのままディザマトリクスが適用される。その結果、階調値が64の領域においては、4×4の16画素中、4個の画素に大ドットが記録される。ドット記録率は25%である。そして、階調値が56の領域においては、4×4の16画素中、3個の画素に大ドットが記録される。ドット記録率は21.9%である。各画素領域の下に、ドット記録率と大中小各ドットの換算された階調値を示す。なお、第1の印刷モードにおいては、大ドットのみが使用されるので、換算されたレベルデータLdlの階調値は、換算される前のレベルデータLdの階調値と同じである。
【0058】
一方、大ドットと中ドットを使用する第2の印刷モードにおいては、階調値が64の領域においては、4×4の16画素中、8個の画素に中ドットが記録される。すなわち、中ドットのドット記録率は50%である。そして、中ドット用に換算された階調値は127である。階調値が64の領域においては、大ドットは記録されない(図12参照)。一方、階調値が56の領域においては、4×4の16画素中、7個の画素に中ドットが記録される。中ドットのドット記録率は43.8%である。そして、中ドット用に換算された階調値は112である。階調値が56の領域においても、大ドットは記録されない(図12参照)。
【0059】
大中小のドットを使用する第3の印刷モードにおいては、階調値が64の領域においては、4×4の16画素中、全画素に小ドットが記録される。すなわち、中ドットのドット記録率は100%であり、小ドット用に換算された階調値は255である。そして、階調値が64の領域においては、中ドットおよび大ドットは記録されない(図14参照)。一方、階調値が56の領域においては、4×4の16画素中、14個の画素に中ドットが記録される。小ドットのドット記録率は87.5%であり、中ドット用に換算された階調値は223である。そして、階調値が56の領域においては、中ドットおよび大ドットは記録されない(図14参照)。
【0060】
図16は、24画素×24画素の正方形の画像であって、シアンの階調値が56である左上側の領域A1と、シアンの階調値が64である右下側の領域A2と、の二つの領域を有する画像の例Asを示す説明図である。この画像Asは、左下から右上にかけてのジグザグの線で仕切られ、互いに異なる2種類の階調値を有するシアンの領域A1,A2に塗り分けられているものとする。なお、24画素×24画素の正方形の画像領域は、実際の印刷においては、非常に小さいものとなる。たとえば、1200dpiの印刷を行うとすると、24画素×24画素の正方形の画像領域は0.02インチ×0.02インチの領域となる。
【0061】
図17は、第1から第3の印刷モードで、画像Asを印刷した場合の印刷結果を示す拡大図である。図17の上段には、各印刷モードによる画像Asの印刷結果が示され、下段には、各印刷モードにおけるドットの記録のし方が示されている。すなわち、下段の記載のうち、斜線で仕切られている左上の側には、階調値が64のときのドットの記録のし方と、使用されるドットの種類および記録率が示されている。そして、斜線で仕切られている右下の側には、階調値が56のときのドットの記録のし方と、使用されるドットの記録率が示されている。
【0062】
各印刷モードにおける、階調値が64のときのドットの記録のし方と、階調値が56のときのドットの記録のし方とは、先に図15に示したようなものとなる。よって、画像Asを印刷した場合の各印刷モードによる印刷結果は、図17に示すようなものとなる。図17から分かるように、画像Asの領域A1と領域A2との境界(図16参照)は、第1の印刷モードの印刷結果P1においてはわかりにくく、第3の印刷モードの印刷結果P3においてはわかりやすい。そして、第2の印刷モードの印刷結果P2は、その中間である。
【0063】
なお、ここでは、シアンインクについて説明したが、他のインクについても同様のことがいえる。その結果、各色のインクのドットで画像を表現するカラープリンタにおいては、各インクについて小さいドットを使用しない印刷モードの方が、画像の印刷結果全体としてトーンジャンプが目に付きにくくなる。ここで、印刷の際に、ある大きさのドットを「使用しない」とは、1枚の画像を印刷する際に一つもその大きさのドットを使用しないことを意味する。同様に、印刷の際に、ある大きさのドットを「記録しない」とは、1枚の画像を印刷する際に一つもその大きさのドットを記録しないことを意味する。
【0064】
よって、第1実施例においては、画像データが疑似輪郭が目立ちやすいものである場合には、小ドットおよび中ドットを使用しない第1の印刷モードで印刷を行うことが好ましく、疑似輪郭が目立ちにくいものである場合には、小ドットおよび中ドットを使用する第3の印刷モードで印刷を行うことが好ましい。そして、疑似輪郭の目立ち方がそれほど激しくない場合には、第2の印刷モードで印刷を行うことが好ましい。
【0065】
なお、疑似輪郭が目立ちにくい画像について第3の印刷モードで印刷を行うことが好ましいのは、小ドットを使用する第3の印刷モードは、細かい画像を詳細に記録することができるからである。疑似輪郭の目立ち方がそれほど激しくない場合について、中ドットと大ドットを使用する第2の印刷モードで印刷を行うことが好ましいのは、細かい画像を詳細に記録することについての要請と、疑似輪郭を目立ちにくくすることについての要請を、ともに満たすことができるからである。
【0066】
B4.画像データの印刷:
図18は、本発明の実施例である印刷装置の概略構成を示す説明図である。プリンタドライバ96が実行されることで、コンピュータ90のCPU102は様々な機能を実現する。それらの機能を図18において機能部102n〜tとして示す。各機能部は、印刷モード決定モジュール101(図18参照)の機能を表したものである。これらの各機能部の機能によって、トーンジャンプが目立たない印刷が実現される。これらの各機能部が果たす機能については以下で説明する。画像データに対して、トーンジャンプを目立たなくする印刷を行う際には、図1に示したような手順を実行する。
【0067】
図1は本発明の一態様である印刷方法の手順を示すフローチャートである。図19は、トーンジャンプが生じている画像の一例を示す説明図である。トーンジャンプを目立たなくする印刷を行う際には、まず、図1のステップS2で、印刷の対象である画像データを、アプリケーションプログラム95から受け取る。たとえば、図19のような画像を受け取る。図19の画像においては、右上の空の部分においてトーンジャンプによる疑似輪郭が生じている。ステップS2で読み込む画像データは、それぞれがRGB(レッド、グリーン、ブルー)の色の情報を有している画素の集合によって画像を表す画像データである。なお、画像データの受け取りは、CPU102の機能部としての画像データ入力部102n(図18参照)によって実現される。
【0068】
ステップS4では、画像データの各画素の輝度を求める。この機能は、輝度演算部102o(図18参照)によって実現される。各画素の輝度Lは、たとえば、以下の式(1)で求められる。なお、Vr、Vg、Vbは、レッド、グリーン、ブルーのそれぞれの色の濃淡を表す階調値である。Ar、Ag、Abは、所定の係数である。Vr、Vg、Vb、Ar、Ag、AbおよびLは、0以上の整数である。
【0069】
L=(Ar×Vr)+(Ag×Vg)+(Ag×Vg) ・・・ (1)
【0070】
なお、輝度Lが0〜255の値となるようにAr、Ag、Abを定めることができる。そして、上記式(1)で得られる値を、その値に最も近い整数に置き換えたものを輝度Lとすることが好ましい。
【0071】
図20は、ステップS4で得られた画像データの各画素の輝度Lの分布x(L)のヒストグラムの説明図である。ステップS6では、ステップS4で得た各画素の輝度Lをもとに、輝度ごとの画素数x(L)のヒストグラムを求める。このヒストグラムを作成する機能は、輝度分布作成部102p(図18参照)によって実現される。なお、図20に示したヒストグラムは、説明のための例として用意したヒストグラムであり、図19の画像の輝度の分布を正確に表すものではない。図20のヒストグラムでは、説明を分かりやすくするために、1階調おきの輝度について度数を0としている。
【0072】
図21は、図20の分布x(L)を平滑化して得た平滑化度数分布y(L)のヒストグラムである。図1のステップS8では、輝度の分布x(L)から平滑化度数分布y(L)を求める。y(L)は、分布x(L)に対して平滑化処理を行った分布である。この平滑化分布を求める機能は、平滑化分布作成部102q(図18参照)によって実現される。平滑化度数分布y(L)は、以下の式(2)によって求められる。
【0073】
y(L)={x(L−1)+x(L)+x(L+1)}/3 ・・・ (2)
【0074】
その後、図1のステップS10では、以下の式(3)で表される画像評価値αを求める。ここで、PNは、画像データの全画素数である。Σは、各輝度Lについて、|x(L)−y(L)|の値を足し合わせる演算を意味する。
【0075】
α={Σ|x(L)−y(L)|}/PN ・・・ (3)
【0076】
このαは、輝度の分布x(L)の変動の激しさを表しており、画像全体のトーンジャンプの出やすさの評価値としての機能を有する。αを求める機能は、画像評価値決定部102r(図18参照)によって実現される。
【0077】
図22は、{x(L)−y(L)}の分布を表すヒストグラムである。{x(L)−y(L)}のヒストグラムは、輝度の分布x(L)が、平滑化度数分布y(L)からどれだけずれているかを表す。
【0078】
図23は、|x(L)−y(L)|の分布を表すヒストグラムである。この|x(L)−y(L)|の分布を表すヒストグラムの面積{Σ|x(L)−y(L)|}は、輝度の分布x(L)の変動の激しさを表している。αは、このヒストグラムの面積を、全画素数PNで割ったものである。αも、やはり、画素中の画素についての輝度の分布x(L)の変動の激しさを表している。しかし、αは、ヒストグラムの面積{Σ|x(L)−y(L)|}を全画素数PNで割っているので、画像データの画素数に左右されない値である。
【0079】
図1のステップS12では、αの大きさを判定する。αが所定のしきい値Th1以下である場合は、ステップS14において、第3の印刷モードが選択される。αが小さい場合には、画像のトーンジャンプは目立ちにくいと判断できる。よって、トーンジャンプが目立ちにくい画像については、より詳細な印刷を行うことができる第3の印刷モードで印刷が行われる。その結果、印刷結果の品質が高くなる。
【0080】
ステップS12において、αが所定のしきい値Th2以上であると判断された場合は、ステップS18において、第1の印刷モードが選択される。αが大きい場合には、画像のトーンジャンプが目立ちやすいと判断できる。よって、そのような画像については、トーンジャンプが目立ちにくい第1の印刷モード(図17参照)が選択され、第1の印刷モードで印刷が行われる。その結果、印刷結果の品質が高くなる。
【0081】
そして、ステップS12において、αがしきい値Th1としきい値のTh2の間にあると判断された場合は、ステップS16において、第2の印刷モードが選択される。αがしきい値Th1としきい値のTh2の間にある場合には、αがしきい値Th2以上である場合ほどではないにしても、画像のトーンジャンプが目立ちやすいと判断できる。そのような画像については、第3の印刷モードに比べてトーンジャンプが目立ちにくい第2の印刷モード(図17参照)が選択され、第2の印刷モードで印刷が行われる。このような選択を行うことで、中程度にトーンジャンプが目に付く画像については、第3のモードで印刷する場合に比べてトーンジャンプが目立たず、かつ、第1のモードで印刷する場合に比べて詳細な形状まで再現できる印刷を行うことができる。この印刷モードを選択する機能は、印刷モード選択部102s(図18参照)によって実現される。
【0082】
その後、印刷モード決定モジュールは、決定した印刷モードの情報を印刷データに付加して、解像度変換モジュール97に送る(図4参照)。
【0083】
図24は、図1の処理を行って第1の印刷モードで印刷した画像の一例を示す説明図である。図19の画像データを第1の印刷モードで印刷すると、その印刷結果は、図24に示したようになる。図19では、左上の空の部分において目立っていたトーンジャンプによる縞模様が、図24では、目立ちにくくなっている。すなわち、疑似輪郭が目立ちにくくなっている。なお、図19および図24は、説明のために用意した画像であり、実際の画像の状態を正確に反映しない場合がある。
【0084】
第1実施例では、画像全体の評価値であるαの値に基づいて、印刷モードを決定している。αは、輝度の分布x(L)の変動の激しさを表している。よって、第1実施例では、輝度の分布x(L)の変動が激しいほど、トーンジャンプが目立ちにくい印刷モードを選択して印刷を行っている。
【0085】
全体に暗い画像を明るくするなどの画像の加工によって、所定の画素数を有する輝度の間に画素数0の輝度ができた場合には、その両側の輝度の画素からなる領域が接している箇所において、トーンジャンプが目につく。このため、加工によって度数0の輝度ができた画像データは、画像評価値αの値が大きくなる。
【0086】
よって、第1実施例のように、輝度の分布x(L)の変動の激しさを表す評価値の値に応じて印刷モードを選択すれば、画像のトーンジャンプの目立ちやすさに応じて、適切な印刷モードを選択することができる。そして、トーンジャンプが目立たない画像に対して、詳細な形状を再現できない印刷モードを選択して、印刷結果において画像内の図形をぼやけさせてしまうのを防止できる。
【0087】
C.第2実施例:
第2実施例は、画像評価値αの計算のしかたが第1実施例とは異なる。他の点は、第1実施例の印刷と同じである。また、装置のハードウェア構成も第1実施例と同じである。
【0088】
第2実施例では、以下の式(4)で定められるg(L)に対してフーリエ変換を行い、所定の周波数帯域f1〜f2におけるパワーの平均を、画像評価値αとする。なお、分布g(L)の例は、図22に示すとおりである。
【0089】
g(L)=x(L)−y(L) ・・・ (4)
【0090】
いま、輝度Lが0から(N−1)までのN階調あるとすると、g(L)は、以下の式(5)のように複素フーリエ級数表示できる。ここで、kは0以上の整数である。
【0091】
【数1】

Figure 2004314432
【0092】
G(k/N)は、以下の式(6)で与えられる。本明細書では、式(6)で与えられるG(k/N)を、周波数(k/N)における「パワー」と呼ぶ。
【0093】
【数2】
Figure 2004314432
【0094】
第2実施例では、周波数(k/N)が所定の周波数帯域f1〜f2内にあるG(k/N)について平均を求めて、その平均値を画像評価値αとする。
【0095】
画像においてトーンジャンプが目につく場合には、その画像の輝度のヒストグラムx(L)から得たg(L)(式(4)参照)が、所定の周波数成分を多く含むことがある。第2実施例では、このg(L)をフーリエ変換して得たパワースペクトルのうち、目に付きやすいトーンジャンプが生じる所定の周波数帯域のパワーの平均を画像評価値としている。このため、目に付きやすいトーンジャンプが生じている画像に対して、トーンジャンプが目立ちにくくなる印刷モードを選択して、印刷を行うことができる。そして、トーンジャンプが目に付きにくい画像に対して、画像を詳細に再現しにくい印刷モードを選択して、画像の輪郭をぼやけさせてしまうことがない。
【0096】
D.第3実施例:
第3実施例も、画像評価値αの計算のしかたが第1実施例とは異なる。他の点は、第1実施例の印刷と同じである。また、装置のハードウェア構成も第1実施例と同じである。
【0097】
第3実施例では、上記の式(4)で定められるg(L)に基づいて、以下の式(7)でσを計算し、そのσを画像評価値αとする。ここで、輝度の階調は0〜(N−1)のN階調であるものとする。なお、gaveは、全階調の輝度についてのg(L)の画素数の平均値である。
【0098】
【数3】
Figure 2004314432
【0099】
式(7)で得られるσは、g(L)の度数方向についての分散に相当する。すなわち、平滑化分布y(L)と比べてx(L)の変化が激しいほど、g(L)の変動幅が大きくなるので、σは大きくなる。よって、式(7)で得られるσ、すなわちαは、画像においてトーンジャンプが発生するか否かの目安となりうる。このため、このような計算式で画像評価値αを決定して、その値に応じて印刷モードを選択することとしても、トーンジャンプの目立ち易さに応じて適切な印刷を行うことができる。
【0100】
E.第4実施例:
第4実施例の印刷方法は、平滑化度数分布y(L)の求め方が第1実施例の方法とは異なる。他の点は、第1実施例の印刷と同じである。また、装置のハードウェア構成も第1実施例と同じである。
【0101】
第4実施例では、度数分布x(L)に対して、ローパスフィルタを適用して、高周波成分を除いたものを平滑化度数分布y(L)とする。すなわち、度数分布x(L)に対して、フーリエ変換を行い、高周波成分を除いたものを平滑化度数分布y(L)とする。
【0102】
いま、輝度Lが0から(N−1)までのN階調あるとすると、x(L)は、以下の式(8)のように複素フーリエ級数表示できる。ここで、kは0以上の整数である。
【0103】
【数4】
Figure 2004314432
【0104】
X(k/N)は、以下の式(9)で与えられる。
【0105】
【数5】
Figure 2004314432
【0106】
第4実施例においては、式(8)の形で表されたx(L)において、kが10以上の項を除いたものをy(L)とする。y(L)は以下の式(10)で表すことができる。
【0107】
【数6】
Figure 2004314432
【0108】
このようにして平滑化分布y(L)を求めても、第1実施例と同様、トーンジャンプを目立たなくする印刷を行うことができる。なお、各実施例において、画像評価値αの計算方法が第1実施例とは異なる場合には、画像評価値αのしきい値Th1,Th2もそれぞれの実施例に適した値とする必要がある。
【0109】
F.第5実施例:
第1実施例では、印刷モードの決定はプリンタドライバ96が行っていた。しかし、第5実施例では、印刷モードの決定をプリンタ22のCPU41が行う。すなわち、第5実施例では、プリンタ22は、RGBの3色からなる画像データORGをそのまま受け取って、CPU41で所定の画像処理を行い、その後、印刷を実行する。他の点は第1実施例と同じである。
【0110】
図25は、第5実施例の印刷装置の概略構成を示す説明図である。第5実施例においては、PROM42(図5参照)内に格納されている印刷プログラムがCPU41において実行され、CPU41が、図25に示した各機能部の機能を果たす。すなわち、CPU41が、画像データ入力部41n、輝度演算部41o、輝度分布作成部41p、平滑化分布作成部41q、画像評価値決定部41r、印刷モード選択部41s、そして、印刷実行部41tとしての機能を果たす。
【0111】
画像データ入力部41n、輝度演算部41o、輝度分布作成部41p、平滑化分布作成部41q、画像評価値決定部41r、および印刷モード選択部41sの機能は、それぞれ画像データ入力部102n、輝度演算部102o、輝度分布作成部102p、平滑化分布作成部102q、画像評価値決定部102r、印刷モード選択部102sと同じである。これらの機能部をまとめて印刷モード決定モジュール41aと呼ぶ。
【0112】
印刷実行部41tは、印刷モード決定モジュール41aによって決定された印刷モードに従って、印刷を実行する。すなわち、画像データORGの解像度変換を行い、色変換を行う。そして、ハーフトーン処理を行い、データの並べ替えを行う。各処理は、第1実施例において解像度変換モジュール97と、色変換モジュール98と、ハーフトーンモジュール99と、並べ替えモジュール100と、が行っていた処理と同じである。その後、生成した印刷画像データFNLにしたがって、印刷を実行する。
【0113】
このような態様としても、トーンジャンプが目立ちにくい印刷を行うことができる。すなわち、印刷モードを決定する手続きは、コンピュータ90とプリンタ22とを含む印刷システムにおいて、コンピュータ90側で実行されてもよいし、プリンタ22側で実行されてもよい。印刷モードの決定がCPU上で実行されるプログラムによって行われる場合は、その印刷モードを決定するプログラムは、コンピュータ90側のCPU102で実行されてもよいし、プリンタ22側のCPU41で実行されてもよい。
【0114】
G.変形例:
なお、この発明は上記の実施例や実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様において実施することが可能であり、例えば次のような変形も可能である。
【0115】
(1)上記第1実施例では、式(2)によって平滑化度数分布y(L)を定めていた。しかし、第4実施例にも示したように、他の方法で平滑化度数分布y(L)を定めてもよい。たとえば、度数分布x(L)の各輝度について、対象とする輝度の前後の2個ずつの輝度の度数と、対象としている輝度の度数との合計5階調の輝度の度数の平均値を求めて、その平均値を、度数分布yの対象とする輝度の度数としてもよい。さらに、対象とする輝度の前後の3個以上の輝度の画素数を含む平均値を、度数分布yの対象とする輝度の度数としてもよい。
【0116】
また、第4実施例ではx(L)に対してフーリエ変換を行い、kが10以上の高周波成分を落として平滑化分布y(L)を求めていた。しかし、y(L)を求める際には、kが5以上の高周波成分を落としてもよいし、kが15以上の高周波成分を落としてもよい。すなわち、平滑化分布yは、度数分布xに対して所定の平滑化処理を行ったものであればよい。なお、本明細書において「平滑化」とは、移動平均のみを意味するのではなく、形状を平滑にすること一般を意味する。
【0117】
(2)上記各実施例では、各画素の輝度Lの分布をもとに画像評価値を定めていた。しかし、画素についての他の評価値に基づいて画像評価値を定めてもよい。たとえば、画像データが、RGB(レッド、グリーン、ブルー)の色の情報を有している画素の集合によって画像を表す画像データである場合には、各色の濃淡を表す階調値について、画素数の度数分布を求めて、その度数分布とその度数分布の平滑化分布とに基づいて、画像評価値を定めてもよい。また、様々な色空間座標の値について、画素数の分布を求め、その度数分布とその度数分布の平滑化分布とに基づいて、画像評価値を定めてもよい。すなわち、度数分布xは、各画素についての所定の評価値の度数分布であればよい。
【0118】
そして、画像データは、画素値をそれぞれ有する複数の画素によって画像を表現する画像データであればよい。また、各画素値は、あらかじめ画像データ中にその値自体が含まれているものには限られない。第1実施例で示したように、画像データ中に含まれる各画素に対応する数値(たとえば、RGB各色の階調値)から演算によって得られる値でもよい。すなわち、各画素に対応する値として実質的に画素値が画像データに含まれていればよい。そのような場合には、画像データ中の各画素は「画素値をそれぞれ有する」画素に該当するものとする。
【0119】
(3)第3実施例においては、g(L)の度数方向についての分散に相当するσを画像評価値αとした。しかし、αは、以下の式(11)で得られる値σとしてもよい。
【0120】
【数7】
Figure 2004314432
【0121】
式(11)で得られるσは、g(L)の度数方向についての標準偏差に相当するものである。よって、式(11)でσを計算し、そのσを画像評価値αとして、その値に応じて印刷モードを選択することとしても、トーンジャンプの目立ち易さに応じて適切な印刷モードを選択して、印刷結果においてトーンジャンプを目立たなくすることができる。すなわち、画像評価値αは、画像についての所定の評価値であって、度数分布xと平滑化分布yとに基づいて得られる評価値であればよい。
【0122】
(4)上記実施例では、ハーフトーン処理はディザ法で行われていた。しかし、誤差拡散法を用いてハーフトーン処理を行うこととしてもよい。誤差拡散法を使用しても、異なる大きさのドットを印刷媒体上に記録して画像の印刷を行うことができる。そして、プリンタにおいて、大きさの異なるドットのうち、小さいドットを使用する印刷モードと、小さいドットを使用しない印刷モードと、を実現することができる。
【0123】
すなわち、本発明は、比較的小さいドットを印刷媒体上に記録せずに比較的大きいドットを印刷媒体上に記録して印刷を行う第1の印刷モードと、比較的小さいドットと比較的大きいドットとを印刷媒体上に記録して印刷を行う第2の印刷モードと、を有する印刷であれば、適用することができる。
【0124】
(5)上記実施例では、画像全体に対して画像評価値αを決定し、その画像評価値αに基づいて印刷モードを決定していた。しかし、画像全体をいくつかの領域に分けて、それぞれの領域について画像評価値を決定し、それぞれの領域ごとにその領域を印刷する印刷モードを決定してもよい。なお、その際、各領域を印刷する印刷モードは、解像度が互いに等しいものであることが好ましい。そのような態様とすれば、画像全体で統一の解像度で印刷を行うことができる。よって、領域ごとに解像度が異なる場合に比べて印刷結果の品質が高くなる。
【0125】
(6)上記実施例では、第1から第3の各印刷モードは、互いに解像度が等しい印刷モードであった。しかし、画像評価値に基づいて選択する印刷モードは、互いに解像度が異なる印刷モードの中から選択されてもよい。
【0126】
(7)上記実施例においては、プリンタドライバが自動的に画像データに基づいて印刷モードを選択していた。しかし、通常はユーザが指定したとおりの印刷モードで印刷を行い、ユーザがマウスやキーボードなどの入力機器を通じて、印刷装置に「トーンジャンプ(疑似輪郭)発生防止を希望する」旨を入力した場合のみ、印刷モードの選択を行う態様としてもよい。また、印刷装置に「トーンジャンプ(疑似輪郭)発生防止を希望する」旨を入力していない場合に、プリンタドライバ96やプリンタ22のが、画像データから画像評価値を計算し、その画像評価値に応じてユーザに印刷モードの変更を促す表示をする態様としてもよい。
【0127】
(8)上記実施例では、インクジェットプリンタの例について説明した。しかし、本発明は他の画像形成装置に適用することもできる。たとえば、ドットを記録する方法の種類としては、バブルジェット(登録商標)プリンタや熱転写プリンタであってもよい。すなわち、異なる大きさのドットを印刷媒体上に記録することができる印刷装置であれば、本発明を適用することが可能である。
【0128】
(9)上記実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部をハードウェアに置き換えるようにしてもよい。例えば、図18に示したような輝度演算部、輝度分布作成部、平滑化分布作成部による処理をハードウェア回路で行うこととしてもよい。
【図面の簡単な説明】
【図1】本発明の一態様である印刷方法の手順を示すフローチャート。
【図2】デジタル画像の明るさを操作する際に用いられるトーンカーブを表す説明図
【図3】画像データに対して図2のトーンカーブC1で表される加工がされた場合の輝度の分布の変化を表す説明図。
【図4】本印刷装置のソフトウェアの構成を示すブロック図。
【図5】プリンタ22の概略構成を示す説明図。
【図6】インク吐出用ヘッド61〜66におけるインクジェットノズルNzの配列を示す説明図。
【図7】色変換が行われた画像データの一部の画素が有する、シアンの階調値を示す説明図。
【図8】ハーフトーン処理の中のドットデータ生成ルーチンを示すフローチャート。
【図9】ステップS104において使用されるディザマトリクスDMを示す説明図。
【図10】図7の第1から第4列、第1から第4行の16個の画素にディザ法を適用してデータ変換を行う方法を示す説明図。
【図11】第1の印刷モードにおける階調値とドットの存在割合を示す図。
【図12】第2の印刷モードにおける階調値とドットの存在割合を示す図。
【図13】中ドットに関してディザ法を適用してデータ変換を行う方法を示す説明図。
【図14】第3の印刷モードにおける階調値とドットの存在割合を示す図。
【図15】階調値が64と56のそれぞれの場合について、第1から第3の各印刷モードにおいてどのようにドットが記録されるかを表す説明図。
【図16】24画素×24画素の正方形の画像であって、階調値が56と64である二つの領域を有する画像の例Asを示す説明図。
【図17】第1から第3の印刷モードで、画像Asを印刷した場合の印刷結果を示す拡大図。
【図18】本発明の実施例である印刷装置の概略構成を示す説明図。
【図19】トーンジャンプが生じている画像の一例を示す説明図。
【図20】ステップS4で得られた画像データの各画素の輝度Lの分布x(L)のヒストグラムの説明図。
【図21】図20の分布x(L)を平滑化して得た平滑化度数分布y(L)のヒストグラム。
【図22】{x(L)−y(L)}の分布を表すヒストグラム。
【図23】|x(L)−y(L)|の分布を表すヒストグラム。
【図24】図1の処理を行って第1の印刷モードで印刷した画像の一例を示す説明図。
【図25】第5実施例の印刷装置の概略構成を示す説明図。
【符号の説明】
21…CRTディスプレイ
22…プリンタ
23…紙送りモータ
24…キャリッジモータ
28…印刷ヘッド
31…キャリッジ
32…操作パネル
34…摺動軸
36…駆動ベルト
38…プーリ
39…位置検出センサ
40…制御回路
61〜66…インク吐出用ヘッド
67…導入管
71…ブラックインク用カートリッジ
72…カラーインク用カートリッジ
90…コンピュータ
91…ビデオドライバ
95…アプリケーションプログラム
96…プリンタドライバ
97…解像度変換モジュール
98…色変換モジュール
99…ハーフトーンモジュール
100…並べ替えモジュール
101…印刷モード決定モジュール
102…CPU
102n…画像データ入力部
102o…輝度演算部
102p…輝度分布作成部
102q…平滑化分布作成部
102r…決定部
102s…印刷モード選択部
120…キーボード
130…マウス
A1…シアンの階調値が56である領域
A2…シアンの階調値が64である領域
As…画像
C0…明るさについての操作をしない場合の輝度の対応を表す直線
C1…明るさについての操作の内容を表すトーンカーブ
C2…明るさについての操作の内容を表すトーンカーブ
DM…ディザマトリクス
FNL…印刷画像データ
L…輝度
L1〜L4…輝度の階調
LUT…色変換テーブル
Ld…レベルデータ
Ldl…大ドット用のレベルデータ
Ldm…中ドット用のレベルデータ
Lds…小ドット用のレベルデータ
MID…中間画像データ
Nz…インクジェットノズル
ORG…原カラー画像データ
P…印刷用紙
P1〜P3…第1〜第3の印刷モードによる画像Asの印刷結果
PN…画像中の全画素数
PE…ピエゾ素子
PG…データ変換の対象画素として選択された画素
R1〜R4…輝度の範囲
g(L)…輝度の度数分布x(L)と平滑化度数分布y(L)の差の度数分布
Th1〜Th4…画像評価値についてのしきい値
k…ノズルピッチ
x(L)…輝度の度数分布
y…輝度の度数分布x(L)をなだらかにしてた平滑化度数分布[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a technique for printing by recording dots, and more particularly to a technique for performing printing in which pseudo contours generated due to image data are made inconspicuous.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, there is a technique for eliminating a false contour in a digital image. For example, Patent Literature 1 discloses a method of generating vignette image data from a plurality of figures whose colors change in a stepwise manner, and a plurality of figures in which boundaries between the colors can be recognized. It has been disclosed. The vignette image data is image data that approximately represents a vignette image whose color continuously changes. According to the technique of Patent Document 1, in an image processing program that cannot create a vignette image, it is possible to create vignette image data with few tone jumps.
[0003]
[Patent Document 1]
Japanese Patent No. 2769673
[0004]
[Problems to be solved by the invention]
2. Description of the Related Art In recent years, techniques for processing digital images have been widely used by general users other than specialists. As a result, for example, image data created by processing the image data of a dark photograph to make it brighter overall, or image data created by enhancing the change of the bright sky from blue to white, In addition, exchanges between general users have increased.
[0005]
For example, when the brightness of the image data is operated using the tone curve, the difference in the brightness between the areas in the gradation part where the areas in which the brightness of the pixels is different by one gradation before the operation are adjacent to each other is obtained. It may be enlarged and cause a tone jump. Then, in the gradation part of the image, the boundary between the regions becomes conspicuous as a pseudo contour. Such a false contour is not caused by the coloring performance of the output device or the application program, but is caused by the fact that the image data itself includes data of areas that are adjacent to each other and have significantly different luminances. Things. When printing such image data, no method has been developed for performing printing in which pseudo contours generated due to the image data become less noticeable.
[0006]
The present invention has been made to solve the above-described problem in the related art, and has as its object to perform printing in which a pseudo contour of an image generated due to image data is less noticeable.
[0007]
[Means for Solving the Problems and Their Functions and Effects]
In order to solve at least a part of the above-described problems, in the present invention, a predetermined process is performed when printing is performed using a printing apparatus capable of recording dots of different sizes on a print medium. This printing apparatus includes a first print mode in which relatively large dots are recorded on a print medium without printing relatively small dots on the print medium, and printing is performed. And a second print mode in which is recorded on a print medium and printing is performed.
[0008]
At the time of printing, first, image data for expressing an image by a plurality of pixels each having a pixel value is prepared. Then, a frequency distribution x, which is a distribution of the number of pixels for each pixel value, is obtained for the image data. Thereafter, a frequency distribution y obtained by performing a predetermined smoothing process on the frequency distribution x is obtained. Then, an image evaluation value for the image data is determined based on the frequency distribution x and the frequency distribution y. Thereafter, one of the first and second print modes is selected according to the image evaluation value. Then, printing is performed in the selected print mode. According to such an embodiment, it is possible to perform printing in which pseudo contours of an image generated due to image data are made inconspicuous.
[0009]
Preferably, the first and second print modes are print modes having the same resolution. With such an embodiment, the resolution does not decrease even when the print mode in which the pseudo contour is less noticeable is executed.
[0010]
When determining the image evaluation value, it is preferable to determine the image evaluation value based on the sum of the absolute values of the differences between the frequency distribution x and the frequency distribution y for all pixel values. With such an embodiment, it is possible to obtain an image evaluation value that increases in accordance with the degree of fluctuation of the frequency distribution x. Therefore, based on the image evaluation value, it can be appropriately determined whether the pseudo contour is an image that is easily noticeable or the pseudo contour is an image that is not easily noticeable.
[0011]
Further, when determining the image evaluation value, a Fourier transform is performed on a frequency distribution g of a difference between the frequency distribution x and the frequency distribution y, and based on the magnitude of the power of the frequency distribution g at a predetermined frequency. It is preferable to determine the image evaluation value. In an image in which a pseudo contour is conspicuous, a distribution g of a difference between the frequency distribution x and the frequency distribution y may include many predetermined frequency components. Therefore, according to such an embodiment, the print mode can be determined by reflecting the degree to which the false contour is conspicuous.
[0012]
When the image evaluation value is determined, the image evaluation value may be determined based on the variance of the difference between the frequency distribution x and the frequency distribution y. In an image in which the pseudo contour is conspicuous, the difference between the frequency distribution x and the frequency distribution y greatly fluctuates. Therefore, according to such an embodiment, the print mode can be determined by reflecting the degree to which the false contour is conspicuous.
[0013]
Note that the pixel value can be the luminance of the pixel. According to such an embodiment, the print mode can be determined based on a pixel value whose change in the pixel value is conspicuous in the print result.
[0014]
Note that as one embodiment of the present invention, there is a print control apparatus that generates print data to be supplied to a printing unit that can record dots of different sizes on a print medium. The printing unit that supplies print data compares the first print mode, in which relatively large dots are recorded on the print medium without printing relatively small dots on the print medium, and printing is performed, with the relatively small dots. Printing can be performed in a second printing mode in which a target dot is recorded on a printing medium and printing is performed.
[0015]
The print control apparatus includes: an image data input unit that receives image data representing an image by a plurality of pixels each having a pixel value; A distribution creating unit, a smoothed distribution creating unit that obtains a frequency distribution y obtained by performing a predetermined smoothing process on the frequency distribution x, and an image evaluation value of the image data based on the frequency distribution x and the frequency distribution y , A print mode selection unit that selects one of the first and second print modes according to the image evaluation value, and printing that generates print data according to the selected print mode. And a data generation unit. According to such an embodiment, it is possible to perform printing in which the pseudo contour of the image generated due to the image data is made inconspicuous.
[0016]
Further, as one embodiment of the present invention, there is a printing apparatus including a print head capable of recording dots of different sizes on a print medium, and a control unit capable of controlling the print head. The control unit of the printing apparatus includes a first print mode in which a relatively large dot is recorded on a print medium without printing a relatively small dot on the print medium and printing is performed. A print execution unit that can execute printing in a second print mode in which printing is performed by recording large dots on a print medium.
[0017]
Further, the control unit includes an image data input unit, an evaluation value distribution creating unit, a smoothing distribution creating unit, an image evaluation value determining unit, and a print mode selecting unit. The print execution unit executes printing in the print mode selected by the print mode selection unit. According to such an embodiment, it is possible to perform printing in which the pseudo contour of the image generated due to the image data is made inconspicuous.
[0018]
The present invention can be realized in various modes as described below.
(1) Printing device, printing control device, printing device. Print data generation device. Image processing device.
(2) Printing method and printing control method. Print data generation method. Image processing method.
(3) Computer programs for realizing the above devices and methods.
(4) A recording medium on which a computer program for realizing the above apparatus and method is recorded.
(5) A data signal embodied in a carrier wave, including a computer program for realizing the above apparatus and method.
[0019]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in the following order based on examples.
A. Overview of the embodiment:
B. First embodiment:
B1. Tone jump caused by image data:
B2. Device configuration:
B3. Halftone processing:
B4. Printing image data:
C. Second embodiment:
D. Third embodiment:
E. FIG. Fourth embodiment:
F. Fifth embodiment:
G. FIG. Modification:
[0020]
A. Overview of the embodiment:
FIG. 1 is a flowchart illustrating a procedure of a printing method according to one embodiment of the present invention. First, image data expressing an image by a plurality of pixels each having substantially a luminance is read (S2). Then, a frequency distribution x of the number of pixels for each luminance is obtained (S4, S6). Thereafter, a frequency distribution y obtained by performing a predetermined smoothing process on the frequency distribution x is obtained (S8). Then, the image evaluation value α is determined from the distribution x and the distribution y (S10).
[0021]
When the image evaluation value α is equal to or smaller than Th1, the image of the image data is an image in which a pseudo contour is difficult to appear. Therefore, printing is performed in the third print mode in which a fine image is accurately represented using large dots, medium dots, and small dots (S14). When the image evaluation value α is equal to or greater than Th2, the image of the image data is an image in which a pseudo contour is likely to appear. Therefore, printing is performed in the first print mode using only large dots and in which pseudo contours are hardly noticeable in the print result (S18). When the image evaluation value α is medium (larger than Th1 and smaller than Th2), printing is performed in the second print mode using large dots and medium dots (S16).
[0022]
B. First embodiment:
B1. Tone jump caused by image data:
Here, first, before describing the printing for making the false contour less noticeable, how the tone jump caused by the image data occurs will be described. Note that "tone jump" refers to a state in which the color of an adjacent region is so different that it is noticeable to human eyes in a portion of the image where the color should be gradually changed. The “pseudo-contour” is defined as the boundary between regions where the color should change gradually and the contour should not exist in the image, so that the color is different enough to be noticeable to human eyes. Refers to the visible border.
[0023]
FIG. 2 is an explanatory diagram showing a tone curve used when operating the brightness of a digital image. The horizontal axis represents the luminance L before the operation, and the vertical axis represents the luminance L after the operation. Note that the luminance L takes an integer value. The straight line C0 represents a state in which no operation is performed on the brightness. When processing image data that was originally a dark photographic image so as to make it brighter as a whole, a luminance operation represented by a tone curve C1 is performed. By performing such an operation, the luminance of each pixel in the luminance range R1 of luminance 0 to L1 is converted into the luminance of a wider range R2 of luminance 0 to L2. As a result, the difference in color (brightness) in the dark part of the image becomes clear.
[0024]
Further, when processing image data so as to emphasize a change from blue to white in a bright sky portion in an image, a luminance operation represented by a tone curve C2 is performed. By performing such an operation, the luminance of each pixel in the luminance range R3 of the luminance L3 to Lmax is converted into the luminance of the wider range R4 of the luminance L4 to Lmax. As a result, the difference in color (brightness) of a bright part of the image becomes clear.
[0025]
FIG. 3 is an explanatory diagram illustrating a change in luminance distribution when image data is processed by a process represented by a tone curve C1 in FIG. The horizontal axis is the luminance L, and the vertical axis is the number x (L) of pixels having the luminance. When the image data is processed by the tone curve C1 shown in FIG. 2, as described above, the luminance of each pixel in the luminance range R1 of luminance 0 to L1 is wider than the luminance 0 to L2. It is converted into the luminance of the range R2.
[0026]
Now, assuming that the luminance gradation L1 is gradation 4 and the gradation L2 is gradation 14, the operation represented by the tone curve C1, for example, changes the gradation of each luminance as follows. Will be done. That is, as shown in FIG. 3, the luminance of a pixel having a luminance of 0 is converted to 0. That is, in this case, the luminance is not changed. However, the luminance of a pixel of luminance 1 is converted to 2. Then, the luminance of the pixel of luminance 2 is converted to 5, and the luminance of the pixel of luminance 3 is converted to 9. Further, the luminance of the pixel of luminance 4 is converted to 14.
[0027]
When such an operation is performed, a luminance in which no pixel exists in the luminance distribution is generated. For example, as can be seen from the frequency distribution in the lower part of FIG. 3, no pixel having a luminance of 1, 3, 4, 6 to 8, or 10 to 13 exists in the processed image.
[0028]
Now, it is assumed that there is a portion that gradually becomes brighter from the luminance 0 to the luminance 4 in the image. In such a portion, in the image before processing, the area where the area composed of the pixels of luminance 3 and the area composed of the pixels of luminance 4 are in contact is the area where the area composed of the pixels of luminance 9 and the area where the luminance is 14 Are in contact with each other. A portion where such pixel regions having different luminances are in contact is easily noticeable to human eyes, and the boundary of the region may be recognized as a pseudo contour. Therefore, in order to improve the quality of the printing result, it is desirable to make a contrivance at the time of printing such that such a false contour becomes inconspicuous.
[0029]
Here, the processing represented by the tone curve C1 for emphasizing the color difference in the dark portion has been described as an example, but the tone curve C2 for emphasizing the color difference in the bright portion has been described. A similar problem occurs in the processing represented by 2 and 3 are prepared for the purpose of explanation, and the numerical values of the luminance shown in FIG. 3 do not accurately reflect the operation specified from the shape of the tone curve C1 in FIG.
[0030]
B2. Device configuration:
FIG. 4 is a block diagram illustrating a software configuration of the printing apparatus. In the computer 90, an application program 95 operates under a predetermined operating system. A video driver 91 and a printer driver 96 are incorporated in the operating system, and the application program 95 outputs intermediate image data MID to be transferred to the printer 22 via these drivers. The application program 95 for performing image retouching and the like reads an image from the CD-R 140 and displays the image on the CRT display 21 via the video driver 91 while performing predetermined processing on the image. The data ORG supplied from the CD-R 240 is original color image data ORG including three color components of red (R), green (G), and blue (B).
[0031]
When a user's instruction is input from the mouse 130 or the keyboard 120 and the application program 95 issues a print command, the printer driver 96 of the computer 90 receives the image information from the application program 95, and receives a signal that can be processed by the printer 22 (here, , The signals are converted into multi-valued signals for each color of cyan, light cyan, magenta, light magenta, yellow, and black. In the example shown in FIG. 4, inside the printer driver 96, a print mode determination module 101, a resolution conversion module 97, a color conversion module 98, a color conversion table LUT, a halftone module 99, a dither matrix DM And a sorting module 100.
[0032]
The print mode determination module 101 determines a print mode to be executed at the time of printing based on the intermediate image data MID received from the application program 95, and adds information on the determined print mode to the print data. By determining the print mode, the resolution at the time of printing (that is, the number of pixels per unit length) and the size of the dot to be used are determined. The resolution conversion module 97 plays a role of converting the resolution of the color image data handled by the application program 95 into a resolution corresponding to the print mode determined by the print mode determination module 101. The image data whose resolution has been converted in this way is still image information consisting of three colors of RGB.
[0033]
The color conversion module 98 refers to the color conversion table LUT and converts the image data into cyan (C), light cyan (LC), magenta (M), light magenta (LM), and yellow ( Y) and black (K) are converted into image data represented by gradation values of each color. The color-converted data has a gradation value with a width of, for example, 256 gradations.
[0034]
The halftone module 99 uses the dither matrix DM to perform halftone processing for expressing such gradation values in the printer 22 by forming dots in a dispersed manner. The halftone process is performed so that a tone value can be expressed using dots used in the print mode determined by the print mode determination module 101 first. The dither matrix DM is stored in the memory of the computer 90.
[0035]
The image data processed in this manner is rearranged by the rearrangement module 100 in the order of data to be transferred to the printer 22, and output as final print image data FNL. The control circuit 40 of the printer 22 receives the print image data FNL and executes printing.
[0036]
After the print mode is determined by the print mode determination module 101, the resolution conversion module 97, the color conversion module 98, the halftone module 99, and the rearrangement module 100 convert the print image data FNL according to the print mode. create. The resolution conversion module 97, the color conversion module 98, the halftone module 99, and the rearrangement module 100 correspond to a “print data generation unit” in the claims.
[0037]
Next, a schematic configuration of the printer 22 will be described with reference to FIG. As shown in the figure, the printer 22 has a mechanism for transporting the paper P by a paper feed motor 23, a mechanism for reciprocating the carriage 31 in a direction perpendicular to the transport direction of the paper P by a carriage motor 24, and a mechanism mounted on the carriage 31. And a control circuit 40 for controlling the paper feed motor 23, the carriage motor 24, the print head 28 and the operation panel 32. . In this specification, the term “printing device” refers only to the printer 22 in a narrow sense, but refers to the entire printing system including the computer 90 and the printer 22 in a broad sense.
[0038]
The mechanism for reciprocating the carriage 31 in a direction perpendicular to the transport direction of the paper P includes a sliding shaft 34 erected in a direction perpendicular to the transport direction of the printing paper P and slidably holding the carriage 31; It is composed of a pulley 38 for extending an endless drive belt 36 between the carriage motor 24 and a position detection sensor 39 for detecting the origin position of the carriage 31.
[0039]
The carriage 31 includes a cartridge 71 for black ink (K) and inks of six colors of cyan (C), light cyan (LC), magenta (M), light magenta (LM), and yellow (Y). The stored color ink cartridge 72 can be mounted.
[0040]
A total of six ink discharge heads 61 to 66 are formed on the print head 28 below the carriage 31, and an introduction pipe 67 for guiding ink from the ink tank to each color head is formed at the bottom of the carriage 31. It is erected. When the black ink cartridge 71 and the color ink cartridge 72 are mounted on the carriage 31 from above, the introduction pipes 67 are inserted into the connection holes provided in each cartridge, and the ink from each ink cartridge to the ejection heads 61 to 66 is discharged. Can be supplied.
[0041]
From each nozzle, three types of ink droplets having different amounts can be ejected. Each nozzle can form three types of large, medium, and small dots on the printing paper by landing these three types of ink droplets on the printing paper.
[0042]
FIG. 6 is an explanatory diagram showing the arrangement of the inkjet nozzles Nz in the ink ejection heads 61 to 66. The arrangement of these nozzles is composed of six sets of nozzle arrays that eject ink for each color, and 48 nozzles Nz are arranged in a staggered manner at a constant nozzle pitch k. The positions of the nozzle arrays in the sub-scanning direction coincide with each other. Note that the 48 nozzles Nz included in each nozzle array need not be arranged in a staggered manner, and may be arranged on a straight line. However, the arrangement in a staggered manner as shown in FIG. 6 has the advantage that the nozzle pitch k can be easily set small in manufacturing.
[0043]
In the printer 22 having the hardware configuration described above, the carriage 31 is reciprocated by the carriage motor 24 (hereinafter, referred to as main scanning) while the paper P is transported by the paper feed motor 23 (hereinafter, referred to as sub-scanning). The piezo elements PE of the respective color heads 61 to 66 of the print head 28 are driven to discharge the respective color inks, thereby forming dots to form multicolor images on the paper P.
[0044]
In the present embodiment, as described above, the printer 22 having the head that ejects ink using the piezo element PE is used. However, various types of ejection drive elements other than the piezo element may be used. Is possible. For example, the present invention can be applied to a printer having a discharge drive element of a type in which a heater disposed in an ink passage is energized and ink is discharged by bubbles generated in the ink passage.
[0045]
B3. Halftone processing:
FIG. 7 is an explanatory diagram showing the tone values of cyan of some of the pixels of the image data on which the color conversion (see FIG. 4) has been performed. The color-converted image data has gradation values from 0 to 255 for each color of cyan, magenta, yellow, light cyan, light magenta, and black for each pixel. Here, it is assumed that each pixel in the upper left part of the drawing has 56 as a cyan gradation value, and each pixel in the lower right part has 64 as a cyan gradation value. In FIG. 7, the boundaries between pixels having different gradation values are indicated by broken lines.
[0046]
FIG. 8 is a flowchart showing a dot data generation routine in the halftone processing. By the halftone process (see FIG. 4), the tone value of each pixel is converted into dot data indicating whether or not a dot is formed. In the first embodiment, the halftone processing is performed by a dither method. First, in step S102, a target pixel group to be subjected to data conversion is selected. For example, in FIG. 7, it is assumed that 16 pixels of 4 rows × 4 columns surrounded by the upper left frame PG have been selected as target pixels for data conversion. Then, data conversion using the dither matrix DM is performed on the target pixel group in step S104. Thereafter, in step S106, it is determined whether or not dot data has been generated for all pixels. If the determination result is No, the target pixel group is selected again in step S102. For example, in the example of FIG. 7, the pixels in the fifth to eighth columns and the first to fourth rows on the left side may be selected. Hereinafter, steps S102 and S104 are repeated until data conversion is performed for all the pixels in the image data.
[0047]
FIG. 9 is an explanatory diagram showing the dither matrix DM (see FIG. 4) used in step S104. As shown in FIG. 9, in the first embodiment, a dither matrix DM of 4 rows × 4 columns is used. In FIG. 7, a set of pixels corresponding to one dither matrix DM is a set of pixels indicated by a frame PG.
[0048]
The dither matrix DM shown in FIG. 9 has a threshold for determining whether or not to form a dot for each element. Each threshold value is a value that equally divides the gradation value range 0 to 255 into 16 from 15 to 255. In FIG. 9, circles are indicated by broken lines for elements to which a threshold value equal to or less than half the maximum value of the gradation value is assigned. Pixels corresponding to these elements are more likely to form dots than pixels assigned to other elements.
[0049]
FIG. 10 is an explanatory diagram showing a method of performing data conversion by applying the dither method to 16 pixels in the first to fourth columns and the first to fourth rows in FIG. In the dither method, the gradation value of each pixel is compared with a threshold value of a dither matrix, and dot data for recording a dot when the gradation value is larger than the threshold value is generated. For example, in the level data Ld of each pixel shown at the left end in FIG. 10, the pixel at the upper left corner has a gradation value of 56. In contrast, the threshold value of the corresponding upper left corner element of the dither matrix is 175. Accordingly, dot data indicating that no dot is formed is formed because the tone value is smaller than the threshold value. On the other hand, the threshold value of the corresponding element is 15 while the gradation value of the pixel on the right is 56. Therefore, since the tone value is larger than the threshold value, dot data indicating that a dot is to be formed is formed. Regarding the pixels on which dots are formed, circles are drawn on the squares representing the pixels in the diagram showing the ON / OFF of the dots.
[0050]
As described above, the printer 22 can form three types of large, medium, and small dots on printing paper by ejecting three types of ink droplets from each nozzle. The control circuit 40 of the printer 22 includes a first print mode in which printing is performed using only large dots, a second printing mode in which printing is performed using large dots and medium dots, and three types of large, medium, and small dots. The printing can be executed in three printing modes, that is, a third printing mode in which printing is performed by using.
[0051]
FIG. 11 is a diagram illustrating the gradation value and the dot existence ratio in the first print mode. In FIG. 11, a line connecting the origin at the lower left and the point at the upper right with a gradation value of 255 and a dot recording rate of 100% is a relation between the gradation value and the dot recording rate when only a large dot expresses the shading of the color. Is a line indicating That is, the gradation value to be expressed and the dot recording rate are directly proportional, and when the gradation value is the maximum value 255, the dot recording rate becomes 100%.
[0052]
FIG. 12 is a diagram showing the gradation value and the dot existence ratio in the second print mode. In the second print mode, medium and dark dots are used in addition to the large dots to express the shade of color. In the second print mode, the recording rates of the medium dot and the large dot with respect to the gradation value to be expressed are represented by the two-dot line and the solid line in FIG. 12, respectively. For example, when expressing an area having a tone value of 56, only medium dots are recorded in 43.8% of the pixels of the area. Further, when expressing an area having a gradation value of 128, only the medium dot is recorded in 100% of the pixels of the area. Further, when the gradation value is between 128 and 192, both large dots and medium dots are recorded in that area. That is, in that area, medium dots and large dots are recorded on a predetermined percentage of pixels, respectively. Then, when expressing an area having a gradation value of 192 or more, only large dots are recorded on a predetermined percentage of pixels in the area.
[0053]
FIG. 13 is an explanatory diagram illustrating a method for performing data conversion by applying the dither method to medium dots. When printing dots in accordance with FIG. 12, medium dot level data Ldm and large dot level data Ldl are created. For example, as shown in the level data Ld at the left end of FIG. 13, in a region where the gradation value is 56, only the medium dot is recorded in 43.8% of the pixels of the region as described above (FIG. 12). reference). In FIG. 13, the dot recording rate of medium dots is shown in the second panel from the left. In the newly created medium dot level data Ldm, the gradation value is 112, which is 43.8% of the maximum value 255. The middle dot level data Ldm is shown in the center of FIG.
[0054]
Then, a dither matrix is applied to the medium dot level data Ldm created as described above. As a result, the state of dot formation on each pixel is as shown at the right end of FIG. A similar procedure is taken when applying the dither method for large dots. However, in the area where the gradation value is 56, only the medium dot is recorded and the large dot is not recorded (see FIG. 12). Therefore, the dot recording rate becomes 0, and all the gradation values of the level data Ldl for large dots also become 0. As a result, no large dot is recorded. Note that the tone values of the level data Ldl, Ldm, and Lds determined based on the dot recording rates of the large, medium, and small dots as described above may be referred to as “converted tone values” in this specification. is there.
[0055]
FIG. 14 is a diagram showing the gradation values and the dot existence ratio in the third print mode. In the third printing mode, medium and small dots are used in addition to the large dots to express the color shading. In the third print mode, the recording rates of the small dot, the medium dot, and the large dot with respect to the gradation value to be expressed are represented by the one-dot chain line, the two-dot difference line, and the solid line, respectively. For example, when expressing an area having a gradation value of 64, only small dots are recorded in 100% of the pixels in the area. When expressing an area having a gradation value of 128, only medium dots are recorded in 100% of the pixels in the area. When the gradation value is 96, a small dot is recorded in 50% of the pixels in the area, and a medium dot is recorded in 50% of the pixels.
[0056]
The first to third print modes have the same resolution. Therefore, even when the print mode in which the tone jump is less noticeable among the first to third print modes is selected, the resolution of the print result is not reduced, and the quality of the print result is not significantly reduced. In each of the first to third printing modes, the maximum dot size used in each mode is equal. For this reason, when printing the area | region which has the largest gradation value (255 here) in an image, the quality of the printing result becomes mutually equal. That is, in any of the print modes, the area is filled with a large dot, and the quality of the print result becomes equal. Then, in any of the print modes, there is no unpainted area.
[0057]
FIG. 15 is an explanatory diagram showing how dots are printed in each of the first to third printing modes for gradation values of 64 and 56, respectively. The gradation values 64 and 56 to be expressed are shown on the left side. The dot recording states in the first, second, and third print modes are shown in order from the left. In the first print mode using only large dots, as shown in FIG. 10, the dither matrix is directly applied to the gradation value of the level data Ld. As a result, in an area having a gradation value of 64, a large dot is recorded in four pixels out of 16 pixels of 4 × 4. The dot recording rate is 25%. Then, in an area having a gradation value of 56, a large dot is recorded in three of the 4 × 4 16 pixels. The dot recording rate is 21.9%. Below each pixel area, the dot recording rate and the converted tone values of the large, medium, and small dots are shown. Since only large dots are used in the first print mode, the converted tone values of the level data Ldl are the same as the tone values of the level data Ld before the conversion.
[0058]
On the other hand, in the second print mode using the large dot and the medium dot, in the area where the gradation value is 64, the medium dot is recorded in eight of 16 pixels of 4 × 4. That is, the dot recording rate for medium dots is 50%. The tone value converted for medium dots is 127. Large dots are not printed in the area where the gradation value is 64 (see FIG. 12). On the other hand, in the area where the gradation value is 56, medium dots are recorded in 7 of the 4 × 4 16 pixels. The dot recording rate of medium dots is 43.8%. The tone value converted for medium dots is 112. Even in the area where the tone value is 56, a large dot is not printed (see FIG. 12).
[0059]
In the third print mode using large, medium, and small dots, in an area with a gradation value of 64, small dots are recorded in all pixels out of 16 4 × 4 pixels. That is, the dot recording rate for medium dots is 100%, and the tone value converted for small dots is 255. Then, in the area where the gradation value is 64, the medium dot and the large dot are not printed (see FIG. 14). On the other hand, in the area where the gradation value is 56, medium dots are recorded in 14 of the 4 × 4 16 pixels. The dot recording rate of small dots is 87.5%, and the gradation value converted for medium dots is 223. Then, in the area where the gradation value is 56, the medium dot and the large dot are not recorded (see FIG. 14).
[0060]
FIG. 16 is a square image of 24 pixels × 24 pixels, an upper left area A1 having a cyan gradation value of 56, and a lower right area A2 having a cyan gradation value of 64; It is explanatory drawing which shows example As of the image which has two area | regions. It is assumed that this image As is partitioned by zigzag lines from the lower left to the upper right, and is separately applied to cyan areas A1 and A2 having two different tone values. Note that a square image area of 24 × 24 pixels is very small in actual printing. For example, when printing at 1200 dpi, a square image area of 24 pixels × 24 pixels is an area of 0.02 inches × 0.02 inches.
[0061]
FIG. 17 is an enlarged view showing a print result when the image As is printed in the first to third print modes. The upper part of FIG. 17 shows a print result of the image As in each print mode, and the lower part shows how dots are recorded in each print mode. That is, in the lower part of the description, the upper left side, which is divided by diagonal lines, shows how to print dots when the gradation value is 64, and the types and recording rates of the dots used. . On the lower right side, which is divided by diagonal lines, how to print dots when the tone value is 56 and the printing rate of the dots used are shown.
[0062]
In each print mode, the method of recording dots when the gradation value is 64 and the method of recording dots when the gradation value is 56 are as shown in FIG. . Therefore, the print result in each print mode when the image As is printed is as shown in FIG. As can be seen from FIG. 17, the boundary between the area A1 and the area A2 of the image As (see FIG. 16) is difficult to understand in the print result P1 in the first print mode, and is not clear in the print result P3 in the third print mode. Easy to understand. The print result P2 in the second print mode is in the middle.
[0063]
Although the description has been given of the cyan ink here, the same applies to other inks. As a result, in a color printer in which an image is represented by dots of each color ink, in a print mode in which a small dot is not used for each ink, tone jumps are less noticeable in the overall print result of the image. Here, “do not use” a dot of a certain size during printing means that no dot of that size is used when printing one image. Similarly, “not printing” a dot of a certain size during printing means that no dot of that size is printed when printing one image.
[0064]
Therefore, in the first embodiment, when the image data is such that the pseudo outline is conspicuous, it is preferable to perform printing in the first print mode that does not use small dots and medium dots, and the pseudo outline is less conspicuous. If it is the case, it is preferable to perform printing in the third print mode using small dots and medium dots. When the pseudo contour is not so noticeable, it is preferable to perform printing in the second print mode.
[0065]
The reason why it is preferable to perform printing in the third print mode on an image in which pseudo contours are not conspicuous is that the third print mode using small dots can record a detailed image in detail. In the case where the pseudo contour is not so noticeable, it is preferable to perform printing in the second print mode using medium dots and large dots because of the request for recording a detailed image in detail and the pseudo contour. This makes it possible to satisfy both the requirements of making the information less noticeable.
[0066]
B4. Printing image data:
FIG. 18 is an explanatory diagram illustrating a schematic configuration of a printing apparatus according to an embodiment of the present invention. When the printer driver 96 is executed, the CPU 102 of the computer 90 realizes various functions. These functions are shown as functional units 102n to 102t in FIG. Each functional unit represents a function of the print mode determination module 101 (see FIG. 18). By the functions of these functional units, printing in which the tone jump is inconspicuous is realized. The functions performed by these functional units will be described below. When performing printing for making the tone jump inconspicuous on the image data, a procedure as shown in FIG. 1 is executed.
[0067]
FIG. 1 is a flowchart illustrating a procedure of a printing method according to one embodiment of the present invention. FIG. 19 is an explanatory diagram illustrating an example of an image in which a tone jump has occurred. When performing printing that makes tone jump inconspicuous, first, image data to be printed is received from the application program 95 in step S2 in FIG. For example, an image as shown in FIG. 19 is received. In the image of FIG. 19, a false contour due to a tone jump occurs in the upper right sky portion. The image data read in step S2 is image data representing an image by a set of pixels each having RGB (red, green, blue) color information. The reception of the image data is realized by an image data input unit 102n (see FIG. 18) as a functional unit of the CPU 102.
[0068]
In step S4, the luminance of each pixel of the image data is obtained. This function is realized by the luminance calculation unit 102o (see FIG. 18). The luminance L of each pixel is obtained, for example, by the following equation (1). Note that Vr, Vg, and Vb are gradation values representing the shades of the red, green, and blue colors. Ar, Ag, and Ab are predetermined coefficients. Vr, Vg, Vb, Ar, Ag, Ab and L are integers of 0 or more.
[0069]
L = (Ar × Vr) + (Ag × Vg) + (Ag × Vg) (1)
[0070]
Note that Ar, Ag, and Ab can be determined so that the luminance L has a value of 0 to 255. Then, it is preferable that a value obtained by replacing the value obtained by the above equation (1) with an integer closest to the value be the luminance L.
[0071]
FIG. 20 is an explanatory diagram of a histogram of the distribution x (L) of the luminance L of each pixel of the image data obtained in step S4. In step S6, a histogram of the number of pixels x (L) for each luminance is obtained based on the luminance L of each pixel obtained in step S4. The function of creating the histogram is realized by the luminance distribution creating unit 102p (see FIG. 18). Note that the histogram shown in FIG. 20 is a histogram prepared as an example for explanation, and does not accurately represent the luminance distribution of the image in FIG. In the histogram of FIG. 20, the frequency is set to 0 for the luminance of every other gradation for easy understanding.
[0072]
FIG. 21 is a histogram of the smoothed frequency distribution y (L) obtained by smoothing the distribution x (L) of FIG. In step S8 in FIG. 1, a smoothed frequency distribution y (L) is obtained from the luminance distribution x (L). y (L) is a distribution obtained by performing a smoothing process on the distribution x (L). The function of obtaining the smoothed distribution is realized by the smoothed distribution creating unit 102q (see FIG. 18). The smoothed frequency distribution y (L) is obtained by the following equation (2).
[0073]
y (L) = {x (L-1) + x (L) + x (L + 1)} / 3 (2)
[0074]
Thereafter, in step S10 of FIG. 1, an image evaluation value α represented by the following equation (3) is obtained. Here, PN is the total number of pixels of the image data. Σ means an operation of adding the value of | x (L) −y (L) | for each luminance L.
[0075]
α = {Σ | x (L) −y (L) |} / PN (3)
[0076]
This α indicates the degree of fluctuation of the luminance distribution x (L), and has a function as an evaluation value of the likelihood of tone jumping of the entire image. The function of obtaining α is realized by the image evaluation value determination unit 102r (see FIG. 18).
[0077]
FIG. 22 is a histogram showing the distribution of {x (L) -y (L)}. The histogram of {x (L) -y (L)} indicates how much the luminance distribution x (L) deviates from the smoothed frequency distribution y (L).
[0078]
FIG. 23 is a histogram showing the distribution of | x (L) −y (L) |. The area {| x (L) -y (L) |} of the histogram representing the distribution of | x (L) -y (L) | represents the degree of fluctuation of the luminance distribution x (L). I have. α is obtained by dividing the area of the histogram by the total number of pixels PN. α also represents the degree of fluctuation of the luminance distribution x (L) of the pixels among the pixels. However, α is a value that is not affected by the number of pixels of the image data because the area {| x (L) −y (L) |} of the histogram is divided by the total number of pixels PN.
[0079]
In step S12 of FIG. 1, the magnitude of α is determined. If α is equal to or smaller than the predetermined threshold value Th1, the third print mode is selected in step S14. When α is small, it can be determined that the tone jump of the image is not conspicuous. Therefore, for an image in which tone jump is not conspicuous, printing is performed in the third print mode in which more detailed printing can be performed. As a result, the quality of the print result increases.
[0080]
If it is determined in step S12 that α is equal to or greater than the predetermined threshold Th2, the first print mode is selected in step S18. When α is large, it can be determined that the tone jump of the image is conspicuous. Therefore, for such an image, the first print mode (see FIG. 17) in which the tone jump is less noticeable is selected, and printing is performed in the first print mode. As a result, the quality of the print result increases.
[0081]
If it is determined in step S12 that α is between the threshold value Th1 and the threshold value Th2, the second print mode is selected in step S16. When α is between the threshold value Th1 and the threshold value Th2, it can be determined that the tone jump of the image is conspicuous even though α is not more than the threshold value Th2. For such an image, the second print mode (see FIG. 17) in which tone jump is less noticeable than in the third print mode is selected, and printing is performed in the second print mode. By making such a selection, for an image in which a tone jump is conspicuous to a moderate degree, the tone jump is less conspicuous than when the image is printed in the third mode, and the image is printed in the first mode. It is possible to perform printing that can reproduce even a detailed shape as compared with the above. The function of selecting the print mode is realized by the print mode selection unit 102s (see FIG. 18).
[0082]
Thereafter, the print mode determination module adds information of the determined print mode to the print data and sends the print data to the resolution conversion module 97 (see FIG. 4).
[0083]
FIG. 24 is an explanatory diagram illustrating an example of an image printed in the first print mode by performing the processing in FIG. 1. When the image data of FIG. 19 is printed in the first print mode, the print result is as shown in FIG. In FIG. 19, the stripe pattern due to the tone jump, which is conspicuous in the upper left sky portion, is less conspicuous in FIG. That is, the pseudo contour is less noticeable. FIGS. 19 and 24 are images prepared for explanation, and may not accurately reflect the actual image state.
[0084]
In the first embodiment, the print mode is determined based on the value of α which is the evaluation value of the entire image. α represents the degree of fluctuation of the luminance distribution x (L). Therefore, in the first embodiment, printing is performed by selecting a print mode in which the tone jump is less noticeable as the luminance distribution x (L) fluctuates more drastically.
[0085]
When the brightness of the pixel having a predetermined number of pixels is reduced to 0 by processing the image such as brightening a dark image as a whole, a portion where the area including the pixels of the brightness on both sides thereof is in contact , A tone jump is noticeable. For this reason, the image data having the luminance of frequency 0 generated by the processing has a large image evaluation value α.
[0086]
Therefore, as in the first embodiment, if the print mode is selected in accordance with the evaluation value indicating the degree of fluctuation of the luminance distribution x (L), the tone jump of the image can be made more conspicuous. An appropriate print mode can be selected. Then, for an image in which tone jump is not conspicuous, a print mode in which a detailed shape cannot be reproduced is selected, and it is possible to prevent a figure in the image from being blurred in a print result.
[0087]
C. Second embodiment:
The second embodiment differs from the first embodiment in how to calculate the image evaluation value α. Other points are the same as the printing of the first embodiment. The hardware configuration of the device is the same as that of the first embodiment.
[0088]
In the second embodiment, Fourier transform is performed on g (L) defined by the following equation (4), and the average of the power in predetermined frequency bands f1 to f2 is set as an image evaluation value α. An example of the distribution g (L) is as shown in FIG.
[0089]
g (L) = x (L) -y (L) (4)
[0090]
Now, assuming that the luminance L has N gradations from 0 to (N-1), g (L) can be represented as a complex Fourier series as in the following equation (5). Here, k is an integer of 0 or more.
[0091]
(Equation 1)
Figure 2004314432
[0092]
G (k / N) is given by the following equation (6). In this specification, G (k / N) given by Expression (6) is referred to as “power” at a frequency (k / N).
[0093]
(Equation 2)
Figure 2004314432
[0094]
In the second embodiment, an average is obtained for G (k / N) whose frequency (k / N) is within predetermined frequency bands f1 to f2, and the average value is set as an image evaluation value α.
[0095]
When a tone jump is conspicuous in an image, g (L) (see Expression (4)) obtained from a luminance histogram x (L) of the image may include many predetermined frequency components. In the second embodiment, the average of the power in a predetermined frequency band where a noticeable tone jump occurs in the power spectrum obtained by Fourier transforming g (L) is used as the image evaluation value. For this reason, it is possible to perform printing by selecting a print mode in which the tone jump is less conspicuous for an image in which the tone jump is easily noticeable. Then, for an image in which tone jump is hardly noticeable, a print mode in which it is difficult to reproduce the image in detail is not selected, and the outline of the image is not blurred.
[0096]
D. Third embodiment:
The third embodiment also differs from the first embodiment in how to calculate the image evaluation value α. Other points are the same as the printing of the first embodiment. The hardware configuration of the device is the same as that of the first embodiment.
[0097]
In the third embodiment, based on g (L) determined by the above equation (4), σ is calculated by the following equation (7). 2 And calculate its σ 2 Is an image evaluation value α. Here, it is assumed that the luminance gradation is N gradations of 0 to (N-1). Note that g ave Is the average value of the number of pixels of g (L) for the luminance of all gradations.
[0098]
[Equation 3]
Figure 2004314432
[0099]
Σ obtained by equation (7) 2 Corresponds to the variance of g (L) in the frequency direction. That is, the greater the change in x (L) as compared to the smoothed distribution y (L), the larger the range of change in g (L). 2 Becomes larger. Therefore, σ obtained by equation (7) 2 That is, α can be a measure of whether a tone jump occurs in an image. Therefore, even if the image evaluation value α is determined by such a calculation formula and the print mode is selected according to the value, it is possible to perform appropriate printing in accordance with the conspicuousness of the tone jump.
[0100]
E. FIG. Fourth embodiment:
The printing method of the fourth embodiment differs from the printing method of the first embodiment in the method of obtaining the smoothed frequency distribution y (L). Other points are the same as the printing of the first embodiment. The hardware configuration of the device is the same as that of the first embodiment.
[0101]
In the fourth embodiment, a low-pass filter is applied to the frequency distribution x (L) to remove a high-frequency component to obtain a smoothed frequency distribution y (L). That is, Fourier transform is performed on the frequency distribution x (L), and the frequency distribution excluding high frequency components is defined as a smoothed frequency distribution y (L).
[0102]
Now, assuming that the luminance L has N gradations from 0 to (N-1), x (L) can be represented by a complex Fourier series as in the following equation (8). Here, k is an integer of 0 or more.
[0103]
(Equation 4)
Figure 2004314432
[0104]
X (k / N) is given by the following equation (9).
[0105]
(Equation 5)
Figure 2004314432
[0106]
In the fourth embodiment, x (L) expressed in the form of the equation (8) excluding a term where k is 10 or more is defined as y (L). y (L) can be represented by the following equation (10).
[0107]
(Equation 6)
Figure 2004314432
[0108]
Even when the smoothed distribution y (L) is obtained in this manner, it is possible to perform printing in which tone jumps are inconspicuous, as in the first embodiment. In each embodiment, when the calculation method of the image evaluation value α is different from that of the first embodiment, the threshold values Th1 and Th2 of the image evaluation value α need to be values suitable for each embodiment. is there.
[0109]
F. Fifth embodiment:
In the first embodiment, the print mode is determined by the printer driver 96. However, in the fifth embodiment, the CPU 41 of the printer 22 determines the print mode. That is, in the fifth embodiment, the printer 22 receives the image data ORG of three colors of RGB as it is, performs predetermined image processing by the CPU 41, and thereafter executes printing. Other points are the same as the first embodiment.
[0110]
FIG. 25 is an explanatory diagram illustrating a schematic configuration of a printing apparatus according to the fifth embodiment. In the fifth embodiment, the print program stored in the PROM 42 (see FIG. 5) is executed by the CPU 41, and the CPU 41 fulfills the function of each functional unit shown in FIG. That is, the CPU 41 operates as an image data input unit 41n, a brightness calculation unit 41o, a brightness distribution creation unit 41p, a smoothed distribution creation unit 41q, an image evaluation value determination unit 41r, a print mode selection unit 41s, and a print execution unit 41t. Perform the function.
[0111]
The functions of the image data input unit 41n, the brightness calculation unit 41o, the brightness distribution creation unit 41p, the smoothed distribution creation unit 41q, the image evaluation value determination unit 41r, and the print mode selection unit 41s are respectively the functions of the image data input unit 102n and the brightness calculation This is the same as the section 102o, the luminance distribution creating section 102p, the smoothing distribution creating section 102q, the image evaluation value determining section 102r, and the print mode selecting section 102s. These functional units are collectively called a print mode determination module 41a.
[0112]
The print execution unit 41t executes printing according to the print mode determined by the print mode determination module 41a. That is, resolution conversion of the image data ORG is performed, and color conversion is performed. Then, a halftone process is performed to rearrange the data. Each process is the same as the process performed by the resolution conversion module 97, the color conversion module 98, the halftone module 99, and the rearrangement module 100 in the first embodiment. After that, printing is performed according to the generated print image data FNL.
[0113]
Even in such an embodiment, it is possible to perform printing in which the tone jump is less noticeable. That is, the procedure for determining the print mode may be executed on the computer 90 side or on the printer 22 side in a printing system including the computer 90 and the printer 22. When the print mode is determined by a program executed on the CPU, the program for determining the print mode may be executed by the CPU 102 of the computer 90 or may be executed by the CPU 41 of the printer 22. Good.
[0114]
G. FIG. Modification:
The present invention is not limited to the above-described examples and embodiments, but can be implemented in various modes without departing from the gist of the invention, and for example, the following modifications are possible.
[0115]
(1) In the first embodiment, the smoothing frequency distribution y (L) is determined by Expression (2). However, as shown in the fourth embodiment, the smoothing frequency distribution y (L) may be determined by another method. For example, with respect to each luminance of the frequency distribution x (L), an average value of luminance frequencies of a total of five gradations of two luminance frequencies before and after the target luminance and the luminance of the target luminance is obtained. Then, the average value may be used as the frequency of the luminance to be the object of the frequency distribution y. Further, an average value including the number of pixels of three or more luminance values before and after the target luminance may be set as the frequency of the target luminance of the frequency distribution y.
[0116]
In the fourth embodiment, Fourier transform is performed on x (L), and a smoothed distribution y (L) is obtained by dropping high-frequency components where k is 10 or more. However, when obtaining y (L), high-frequency components with k of 5 or more may be dropped, or high-frequency components with k of 15 or more may be dropped. In other words, the smoothed distribution y may be one obtained by performing a predetermined smoothing process on the frequency distribution x. In this specification, “smoothing” does not mean only a moving average but generally means smoothing a shape.
[0117]
(2) In each of the above embodiments, the image evaluation value is determined based on the distribution of the luminance L of each pixel. However, the image evaluation value may be determined based on another evaluation value for the pixel. For example, when the image data is image data representing an image by a set of pixels having information of RGB (red, green, blue) colors, the number of pixels for the gradation value representing the shade of each color And the image evaluation value may be determined based on the frequency distribution and the smoothed distribution of the frequency distribution. Further, a distribution of the number of pixels may be obtained for various values of color space coordinates, and an image evaluation value may be determined based on the frequency distribution and the smoothed distribution of the frequency distribution. That is, the frequency distribution x may be a frequency distribution of a predetermined evaluation value for each pixel.
[0118]
The image data may be any image data that expresses an image with a plurality of pixels each having a pixel value. Further, each pixel value is not limited to a value in which the value itself is included in the image data in advance. As shown in the first embodiment, a value obtained by calculation from a numerical value (for example, a gradation value of each color of RGB) corresponding to each pixel included in the image data may be used. That is, it is sufficient that the pixel value is substantially included in the image data as a value corresponding to each pixel. In such a case, it is assumed that each pixel in the image data corresponds to a pixel “having a pixel value”.
[0119]
(3) In the third embodiment, σ corresponding to the variance of g (L) in the frequency direction 2 Was taken as the image evaluation value α. However, α may be a value σ obtained by the following equation (11).
[0120]
(Equation 7)
Figure 2004314432
[0121]
Σ obtained by the equation (11) corresponds to a standard deviation of g (L) in the frequency direction. Therefore, it is possible to calculate σ by Expression (11) and use σ as the image evaluation value α to select a print mode according to the value. Alternatively, select an appropriate print mode according to the conspicuousness of the tone jump. Thus, the tone jump in the print result can be made inconspicuous. That is, the image evaluation value α is a predetermined evaluation value for the image, and may be any evaluation value obtained based on the frequency distribution x and the smoothed distribution y.
[0122]
(4) In the above embodiment, the halftone processing was performed by the dither method. However, halftone processing may be performed using an error diffusion method. Even if the error diffusion method is used, dots of different sizes can be recorded on a print medium and an image can be printed. In the printer, a print mode using small dots among dots having different sizes and a print mode not using small dots can be realized.
[0123]
That is, the present invention provides a first print mode in which a relatively large dot is recorded on a print medium without printing a relatively small dot on the print medium, and printing is performed. And a second print mode in which printing is performed on a print medium by performing printing on a print medium.
[0124]
(5) In the above embodiment, the image evaluation value α is determined for the entire image, and the print mode is determined based on the image evaluation value α. However, the entire image may be divided into several regions, the image evaluation value may be determined for each region, and a print mode for printing the region may be determined for each region. In this case, it is preferable that the print modes for printing the respective areas have the same resolution. With such an embodiment, printing can be performed at a uniform resolution for the entire image. Therefore, the quality of the print result is higher than when the resolution is different for each area.
[0125]
(6) In the above embodiment, the first to third print modes are print modes having the same resolution. However, the print mode selected based on the image evaluation value may be selected from print modes having different resolutions.
[0126]
(7) In the above embodiment, the printer driver automatically selects the print mode based on the image data. However, usually, printing is performed in the print mode specified by the user, and only when the user inputs "I want to prevent the occurrence of a tone jump (pseudo contour)" to the printing device via an input device such as a mouse or a keyboard. Alternatively, the print mode may be selected. If the user does not input "I want to prevent the occurrence of tone jump (pseudo contour)," the printer driver 96 or the printer 22 calculates an image evaluation value from the image data and outputs the image evaluation value. May be displayed to prompt the user to change the print mode.
[0127]
(8) In the above embodiment, the example of the ink jet printer has been described. However, the present invention can be applied to other image forming apparatuses. For example, as a type of a method of recording dots, a bubble jet (registered trademark) printer or a thermal transfer printer may be used. That is, the present invention can be applied to any printing apparatus that can record dots of different sizes on a print medium.
[0128]
(9) In the above embodiment, a part of the configuration realized by hardware may be replaced with software, and conversely, a part of the configuration realized by software may be replaced with hardware. Is also good. For example, the processing by the luminance calculator, the luminance distribution generator, and the smoothed distribution generator as shown in FIG. 18 may be performed by a hardware circuit.
[Brief description of the drawings]
FIG. 1 is a flowchart illustrating a procedure of a printing method according to one embodiment of the present invention.
FIG. 2 is an explanatory diagram showing a tone curve used when manipulating the brightness of a digital image.
FIG. 3 is an explanatory diagram showing a change in luminance distribution when image data is processed by a tone curve C1 shown in FIG. 2;
FIG. 4 is a block diagram illustrating a software configuration of the printing apparatus.
FIG. 5 is an explanatory diagram showing a schematic configuration of a printer 22.
FIG. 6 is an explanatory diagram showing an arrangement of inkjet nozzles Nz in the ink ejection heads 61 to 66.
FIG. 7 is an explanatory diagram showing cyan gradation values of some pixels of image data subjected to color conversion.
FIG. 8 is a flowchart showing a dot data generation routine in halftone processing.
FIG. 9 is an explanatory diagram showing a dither matrix DM used in step S104.
FIG. 10 is an explanatory diagram showing a method of performing data conversion by applying a dither method to 16 pixels in first to fourth columns and first to fourth rows in FIG. 7;
FIG. 11 is a diagram showing a gradation value and a dot existence ratio in a first print mode.
FIG. 12 is a diagram illustrating a gradation value and a dot existence ratio in a second print mode.
FIG. 13 is an explanatory diagram showing a method of performing data conversion by applying a dither method to medium dots.
FIG. 14 is a diagram showing a gradation value and a dot existence ratio in a third print mode.
FIG. 15 is an explanatory diagram showing how dots are printed in each of the first to third print modes for gradation values of 64 and 56, respectively.
FIG. 16 is an explanatory diagram showing an example As of an image which is a square image of 24 pixels × 24 pixels and has two regions whose gradation values are 56 and 64;
FIG. 17 is an enlarged view showing a print result when an image As is printed in the first to third print modes.
FIG. 18 is an explanatory diagram illustrating a schematic configuration of a printing apparatus according to an embodiment of the invention.
FIG. 19 is an explanatory diagram illustrating an example of an image in which a tone jump has occurred.
FIG. 20 is an explanatory diagram of a histogram of a distribution x (L) of luminance L of each pixel of the image data obtained in step S4.
21 is a histogram of a smoothed frequency distribution y (L) obtained by smoothing the distribution x (L) of FIG.
FIG. 22 is a histogram showing a distribution of {x (L) −y (L)}.
FIG. 23 is a histogram showing the distribution of | x (L) −y (L) |.
FIG. 24 is an explanatory diagram showing an example of an image printed in the first print mode by performing the processing of FIG. 1;
FIG. 25 is an explanatory diagram illustrating a schematic configuration of a printing apparatus according to a fifth embodiment.
[Explanation of symbols]
21 ... CRT display
22 ... Printer
23 ... Paper feed motor
24 ... Carriage motor
28 ... Print head
31 ... carriage
32 Operation panel
34 ... Sliding shaft
36 ... Drive belt
38 ... Pulley
39 ... Position detection sensor
40 ... Control circuit
61 to 66: ink discharge head
67… Introduction pipe
71 ... Black ink cartridge
72 ... Color ink cartridge
90 ... Computer
91 ... Video driver
95 ... Application program
96 ... Printer driver
97 ... Resolution conversion module
98 ... Color conversion module
99 ... Halftone module
100… Sort module
101 print mode determination module
102 ... CPU
102n: Image data input unit
102o: luminance calculation unit
102p: luminance distribution creating unit
102q: Smoothing distribution creating unit
102r ... decision unit
102s ... print mode selection section
120 ... Keyboard
130 ... mouse
A1 ... Area where the tone value of cyan is 56
A2: Area where the tone value of cyan is 64
As ... Image
C0: a straight line representing the correspondence of luminance when no operation is performed for brightness
C1: tone curve representing the content of the operation for brightness
C2: tone curve representing the content of the operation for brightness
DM: dither matrix
FNL: Print image data
L: luminance
L1 to L4: gradation of luminance
LUT: color conversion table
Ld: Level data
Ldl: Level data for large dots
Ldm: level data for medium dots
Lds: Level data for small dots
MID: Intermediate image data
Nz: Inkjet nozzle
ORG: Original color image data
P… Printing paper
P1 to P3: print results of the image As in the first to third print modes
PN: total number of pixels in the image
PE: Piezo element
PG: pixel selected as a target pixel for data conversion
R1 to R4: range of luminance
g (L): frequency distribution of difference between luminance frequency distribution x (L) and smoothed frequency distribution y (L)
Th1 to Th4: threshold values for image evaluation values
k: Nozzle pitch
x (L): frequency distribution of luminance
y: smoothed frequency distribution obtained by making luminance frequency distribution x (L) gentle

Claims (24)

異なる大きさのドットを印刷媒体上に記録することができる印刷装置を用いて印刷を行う方法であって、
前記印刷装置は、
比較的小さいドットを印刷媒体上に記録せずに比較的大きいドットを前記印刷媒体上に記録して印刷を行う第1の印刷モードと、
比較的小さいドットと比較的大きいドットとを印刷媒体上に記録して印刷を行う第2の印刷モードと、を有し、
前記方法は、
(a)画素値をそれぞれ有する複数の画素によって画像を表現する画像データを準備する工程と、
(b)前記画像データについて、前記画素値ごとの画素数の分布である度数分布xを求める工程と、
(c)前記度数分布xに対して所定の平滑化処理を行った度数分布yを求める工程と、
(d)前記度数分布xと前記度数分布yとに基づいて、前記画像データについての画像評価値を決定する工程と、
(e)前記画像評価値に応じて前記第1および第2のいずれかの印刷モードを選択する工程と、
(f)前記選択された印刷モードで印刷を実行する工程と、を備える、印刷方法。
A method of performing printing using a printing apparatus capable of recording dots of different sizes on a print medium,
The printing device,
A first print mode in which relatively large dots are recorded on the print medium and printed without recording relatively small dots on the print medium;
A second print mode in which relatively small dots and relatively large dots are recorded on a print medium and printed.
The method comprises:
(A) preparing image data representing an image by a plurality of pixels each having a pixel value;
(B) obtaining a frequency distribution x, which is a distribution of the number of pixels for each of the pixel values, for the image data;
(C) obtaining a frequency distribution y obtained by performing a predetermined smoothing process on the frequency distribution x;
(D) determining an image evaluation value for the image data based on the frequency distribution x and the frequency distribution y;
(E) selecting one of the first and second print modes according to the image evaluation value;
(F) performing printing in the selected print mode.
請求項1記載の印刷方法であって、
前記第1と第2の印刷モードは、解像度が互いに等しい印刷モードである、印刷方法。
The printing method according to claim 1, wherein
The printing method, wherein the first and second print modes are print modes having the same resolution.
請求項1記載の印刷方法であって、
前記工程(d)は、
前記度数分布xと前記度数分布yとの差の絶対値を前記全画素値について合計した値に基づいて、前記画像評価値を決定する工程を含む、印刷方法。
The printing method according to claim 1, wherein
The step (d) includes:
A printing method comprising: determining the image evaluation value based on a sum of absolute values of a difference between the frequency distribution x and the frequency distribution y with respect to all the pixel values.
請求項1記載の印刷方法であって、
前記工程(d)は、
(d1)前記度数分布xと前記度数分布yとの差の度数分布gに対してフーリエ変換を行う工程と、
(d2)前記度数分布gの、所定の周波数についてのパワーの大きさに基づいて、前記画像評価値を決定する工程を含む、印刷方法。
The printing method according to claim 1, wherein
The step (d) includes:
(D1) performing a Fourier transform on a frequency distribution g of a difference between the frequency distribution x and the frequency distribution y;
(D2) A printing method including a step of determining the image evaluation value based on the magnitude of the power of the frequency distribution g at a predetermined frequency.
請求項1記載の印刷方法であって、
前記工程(d)は、
度数分布xと前記度数分布yとの差の分散に基づいて、前記画像評価値を決定する工程を含む、印刷方法。
The printing method according to claim 1, wherein
The step (d) includes:
A printing method, comprising: determining the image evaluation value based on a variance of a difference between a frequency distribution x and the frequency distribution y.
請求項1記載の印刷方法であって、
前記画素値は画素の輝度である印刷方法。
The printing method according to claim 1, wherein
The printing method, wherein the pixel value is a luminance of a pixel.
異なる大きさのドットを印刷媒体上に記録することができる印刷部に供給すべき印刷データを生成する印刷制御装置であって、
前記印刷部は、
比較的小さいドットを印刷媒体上に記録せずに比較的大きいドットを前記印刷媒体上に記録して印刷を行う第1の印刷モードと、
比較的小さいドットと比較的大きいドットとを印刷媒体上に記録して印刷を行う第2の印刷モードと、で印刷を行うことができ、
前記印刷制御装置は、
画素値をそれぞれ有する複数の画素によって画像を表現する画像データを受け取る画像データ入力部と、
前記画像データについて、前記画素値ごとの画素数の分布である度数分布xを求める評価値分布作成部と、
前記度数分布xに対して所定の平滑化処理を行った度数分布yを求める平滑化分布作成部と、
前記度数分布xと前記度数分布yとに基づいて、前記画像データについての画像評価値を決定する画像評価値決定部と、
前記画像評価値に応じて前記第1および第2のいずれかの印刷モードを選択する印刷モード選択部と、
前記選択された印刷モードに応じた印刷データを生成する印刷データ生成部と、を備える、印刷制御装置。
A print control device that generates print data to be supplied to a printing unit capable of recording dots of different sizes on a print medium,
The printing unit,
A first print mode in which relatively large dots are recorded on the print medium and printed without recording relatively small dots on the print medium;
Printing can be performed in a second print mode in which relatively small dots and relatively large dots are recorded on a print medium and printed.
The print control device includes:
An image data input unit that receives image data representing an image by a plurality of pixels each having a pixel value,
For the image data, an evaluation value distribution creating unit that determines a frequency distribution x that is a distribution of the number of pixels for each of the pixel values,
A smoothing distribution creating unit for obtaining a frequency distribution y obtained by performing a predetermined smoothing process on the frequency distribution x,
An image evaluation value determination unit that determines an image evaluation value for the image data based on the frequency distribution x and the frequency distribution y;
A print mode selection unit that selects one of the first and second print modes according to the image evaluation value;
A print data generation unit that generates print data according to the selected print mode.
請求項7記載の印刷制御装置であって、
前記第1と第2の印刷モードは、解像度が互いに等しい印刷モードである、印刷制御装置。
The print control device according to claim 7, wherein
The print control device, wherein the first and second print modes are print modes having the same resolution.
請求項7記載の印刷制御装置であって、
前記画像評価値決定部は、前記度数分布xと前記度数分布yとの差の絶対値を前記全画素値について合計した値に基づいて、前記画像評価値を決定する、印刷制御装置。
The print control device according to claim 7, wherein
The print control device, wherein the image evaluation value determination unit determines the image evaluation value based on a sum of absolute values of a difference between the frequency distribution x and the frequency distribution y for all pixel values.
請求項7記載の印刷制御装置であって、
前記画像評価値決定部は、
前記度数分布xと前記度数分布yとの差の度数分布gに対してフーリエ変換を行い、
前記度数分布gの、所定の周波数についてのパワーの大きさに基づいて、前記画像評価値を決定する、印刷制御装置。
The print control device according to claim 7, wherein
The image evaluation value determination unit,
Perform a Fourier transform on a frequency distribution g of a difference between the frequency distribution x and the frequency distribution y,
A print control device that determines the image evaluation value based on the magnitude of power at a predetermined frequency in the frequency distribution g.
請求項7記載の印刷制御装置であって、
前記画像評価値決定部は、度数分布xと前記度数分布yとの差の分散に基づいて、前記画像評価値を決定する、印刷制御装置。
The print control device according to claim 7, wherein
The print control device, wherein the image evaluation value determination unit determines the image evaluation value based on a variance of a difference between the frequency distribution x and the frequency distribution y.
請求項7記載の印刷制御装置であって、
前記画素値は画素の輝度である印刷制御装置。
The print control device according to claim 7, wherein
The printing control device, wherein the pixel value is a luminance of a pixel.
異なる大きさのドットを印刷媒体上に記録することができる印刷ヘッドと、
前記印刷ヘッドを制御することができる制御部と、を有する印刷装置であって、
前記制御部は、
比較的小さいドットを印刷媒体上に記録せずに比較的大きいドットを前記印刷媒体上に記録して印刷を行う第1の印刷モードと、比較的小さいドットと比較的大きいドットとを印刷媒体上に記録して印刷を行う第2の印刷モードと、で印刷を実行することができる印刷実行部と、
画素値をそれぞれ有する複数の画素によって画像を表現する画像データを受け取る画像データ入力部と、
前記画像データについて、前記画素値ごとの画素数の分布である度数分布xを求める評価値分布作成部と、
前記度数分布xに対して所定の平滑化処理を行った度数分布yを求める平滑化分布作成部と、
前記度数分布xと前記度数分布yとに基づいて、前記画像データについての画像評価値を決定する画像評価値決定部と、
前記画像評価値に応じて前記第1および第2のいずれかの印刷モードを選択する印刷モード選択部と、を備え、
前記印刷実行部は、前記選択された印刷モードで印刷を実行する、印刷装置。
A print head capable of recording dots of different sizes on a print medium,
And a control unit capable of controlling the print head, comprising:
The control unit includes:
A first print mode in which a relatively large dot is recorded on the print medium without printing a relatively small dot on the print medium and printing is performed, and a relatively small dot and a relatively large dot are printed on the print medium. A print execution unit that can execute printing in a second print mode in which printing is performed in a second printing mode.
An image data input unit that receives image data representing an image by a plurality of pixels each having a pixel value,
For the image data, an evaluation value distribution creating unit that determines a frequency distribution x that is a distribution of the number of pixels for each of the pixel values,
A smoothing distribution creating unit for obtaining a frequency distribution y obtained by performing a predetermined smoothing process on the frequency distribution x,
An image evaluation value determination unit that determines an image evaluation value for the image data based on the frequency distribution x and the frequency distribution y;
A print mode selection unit that selects one of the first and second print modes according to the image evaluation value,
The printing apparatus, wherein the print execution unit executes printing in the selected print mode.
請求項13記載の印刷装置であって、
前記第1と第2の印刷モードは、解像度が互いに等しい印刷モードである、印刷装置。
The printing device according to claim 13,
The printing apparatus, wherein the first and second print modes are print modes having the same resolution.
請求項13記載の印刷装置であって、
前記画像評価値決定部は、前記度数分布xと前記度数分布yとの差の絶対値を前記全画素値について合計した値に基づいて、前記画像評価値を決定する、印刷装置。
The printing device according to claim 13,
The printing apparatus, wherein the image evaluation value determination unit determines the image evaluation value based on a sum of absolute values of a difference between the frequency distribution x and the frequency distribution y for all the pixel values.
請求項13記載の印刷装置であって、
前記画像評価値決定部は、
前記度数分布xと前記度数分布yとの差の度数分布gに対してフーリエ変換を行い、
前記度数分布gの、所定の周波数についてのパワーの大きさに基づいて、前記画像評価値を決定する、印刷装置。
The printing device according to claim 13,
The image evaluation value determination unit,
Perform a Fourier transform on a frequency distribution g of a difference between the frequency distribution x and the frequency distribution y,
A printing apparatus for determining the image evaluation value based on the magnitude of power at a predetermined frequency in the frequency distribution g.
請求項13記載の印刷装置であって、
前記画像評価値決定部は、度数分布xと前記度数分布yとの差の分散に基づいて、前記画像評価値を決定する、印刷装置。
The printing device according to claim 13,
The printing apparatus, wherein the image evaluation value determination unit determines the image evaluation value based on a variance of a difference between the frequency distribution x and the frequency distribution y.
請求項13記載の印刷装置であって、
前記画素値は画素の輝度である印刷装置。
The printing device according to claim 13,
The printing device, wherein the pixel value is a luminance of a pixel.
異なる大きさのドットを印刷媒体上に記録することができる印刷装置を用いて印刷を行うプログラムであって、
前記印刷装置は、
比較的小さいドットを印刷媒体上に記録せずに比較的大きいドットを前記印刷媒体上に記録して印刷を行う第1の印刷モードと、
比較的小さいドットと比較的大きいドットとを印刷媒体上に記録して印刷を行う第2の印刷モードと、を有し、
前記プログラムは、
画素値をそれぞれ有する複数の画素によって画像を表現する画像データを読み込む第1のサブプログラムと、
前記画像データについて、前記画素値ごとの画素数の分布である度数分布xを求める第2のサブプログラムと、
前記度数分布xに対して所定の平滑化処理を行った度数分布yを求める第3のサブプログラムと、
前記度数分布xと前記度数分布yとに基づいて、前記画像データについての画像評価値を決定する第4のサブプログラムと、
前記画像評価値に応じて前記第1および第2のいずれかの印刷モードを選択する第5のサブプログラムと、を備えるプログラム。
A program for printing using a printing device capable of recording dots of different sizes on a print medium,
The printing device,
A first print mode in which relatively large dots are recorded on the print medium and printed without recording relatively small dots on the print medium;
A second print mode in which relatively small dots and relatively large dots are recorded on a print medium and printed.
The program is
A first subprogram for reading image data representing an image by a plurality of pixels each having a pixel value;
A second subprogram for obtaining a frequency distribution x, which is a distribution of the number of pixels for each of the pixel values, for the image data;
A third subprogram for obtaining a frequency distribution y obtained by performing a predetermined smoothing process on the frequency distribution x;
A fourth subprogram for determining an image evaluation value for the image data based on the frequency distribution x and the frequency distribution y;
A fifth sub-program for selecting one of the first and second print modes according to the image evaluation value.
請求項19記載のプログラムであって、
前記第1と第2の印刷モードは、解像度が互いに等しい印刷モードである、プログラム。
The program according to claim 19,
The program, wherein the first and second print modes are print modes having the same resolution.
請求項19記載のプログラムであって、
前記第4のサブプログラムは、前記度数分布xと前記度数分布yとの差の絶対値を前記全画素値について合計した値に基づいて、前記画像評価値を決定する、プログラム。
The program according to claim 19,
The fourth subprogram is a program that determines the image evaluation value based on a sum of absolute values of a difference between the frequency distribution x and the frequency distribution y for all the pixel values.
請求項19記載のプログラムであって、
前記第4のサブプログラムは、
前記度数分布xと前記度数分布yとの差の度数分布gに対してフーリエ変換を行う第6のサブプログラムと、
前記度数分布gの、所定の周波数についてのパワーの大きさに基づいて、前記画像評価値を決定する第7のサブプログラムと、を含む、プログラム。
The program according to claim 19,
The fourth subprogram includes:
A sixth sub-program for performing a Fourier transform on a frequency distribution g of a difference between the frequency distribution x and the frequency distribution y;
And a seventh sub-program for determining the image evaluation value based on the magnitude of the power of the frequency distribution g at a predetermined frequency.
請求項19記載のプログラムであって、
前記第4のサブプログラムは、度数分布xと前記度数分布yとの差の分散に基づいて、前記画像評価値を決定する、プログラム。
The program according to claim 19,
The fourth subprogram is a program that determines the image evaluation value based on a variance of a difference between the frequency distribution x and the frequency distribution y.
請求項19記載のプログラムであって、
前記画素値は画素の輝度であるプログラム。
The program according to claim 19,
The program wherein the pixel value is a luminance of a pixel.
JP2003111510A 2003-04-16 2003-04-16 Method of printing by making tone jump inconspicuous Pending JP2004314432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003111510A JP2004314432A (en) 2003-04-16 2003-04-16 Method of printing by making tone jump inconspicuous

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003111510A JP2004314432A (en) 2003-04-16 2003-04-16 Method of printing by making tone jump inconspicuous

Publications (1)

Publication Number Publication Date
JP2004314432A true JP2004314432A (en) 2004-11-11

Family

ID=33472037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003111510A Pending JP2004314432A (en) 2003-04-16 2003-04-16 Method of printing by making tone jump inconspicuous

Country Status (1)

Country Link
JP (1) JP2004314432A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010221584A (en) * 2009-03-24 2010-10-07 Dainippon Screen Mfg Co Ltd Inkjet printer and printing method
JP2014180801A (en) * 2013-03-19 2014-09-29 Seiko Epson Corp Printing apparatus and printing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010221584A (en) * 2009-03-24 2010-10-07 Dainippon Screen Mfg Co Ltd Inkjet printer and printing method
JP2014180801A (en) * 2013-03-19 2014-09-29 Seiko Epson Corp Printing apparatus and printing method

Similar Documents

Publication Publication Date Title
US6215561B1 (en) Image processing apparatus and image processing method
US11610087B2 (en) Image processing apparatus, image processing method, and storage medium for determining dot arrangement for colorants for forming an image on a print medium
US9007655B2 (en) Image processing apparatus, printing apparatus, and image processing method
US8363251B2 (en) Image forming apparatus, print data generation method and computer program for forming an image with halftone processing that uses constraint data
JP2012051211A (en) Inkjet recording apparatus and inkjet recording method
US11948026B2 (en) Dither pattern forming method, image processing apparatus, and image processing method
JP2002185789A (en) Image processing unit, print controller, image processing method, and recording medium
US10005289B2 (en) Printing apparatus, printing method, and non-transitory computer readable medium for storing program
JP2006264301A (en) Printing apparatus, printing program, printing method, image processing apparatus, image processing program, image processing method, and recording medium with programs recorded thereon
US6760127B1 (en) Multi-level semi-vector error diffusion
US20150015914A1 (en) Printing apparatus, printing method, image processing apparatus, and program
US20030072035A1 (en) Image processing device
US7315398B2 (en) Multi-level error diffusion with color image data
US20160173724A1 (en) Printing apparatus, printing method, program, and image processing apparatus
US7710603B2 (en) Image forming apparatus and image forming method
JP2005103921A (en) Apparatus for processing image, method for processing image, program for processing image and apparatus for controlling printing
JP2023052886A (en) Image processing device, image processing method, and program
JP2007068202A (en) Printing device, printing program, printing method, image processing device, image processing program, image processing method, and recording medium with the programs recorded thereon
JP2000050070A (en) Image processing method and image processor
US7295347B2 (en) Image processing method for generating multi-level data
JP2010120185A (en) Image processing apparatus and image processing method
JP2016127479A (en) Image processor, image forming apparatus, image processing method and program
JP2004314432A (en) Method of printing by making tone jump inconspicuous
JP4315051B2 (en) Image processing apparatus, image processing method, and image processing program
JP2000099716A (en) Picture data processor and its color correction method