JP3541668B2 - Printing apparatus, printing method, and recording medium - Google Patents

Printing apparatus, printing method, and recording medium Download PDF

Info

Publication number
JP3541668B2
JP3541668B2 JP08285498A JP8285498A JP3541668B2 JP 3541668 B2 JP3541668 B2 JP 3541668B2 JP 08285498 A JP08285498 A JP 08285498A JP 8285498 A JP8285498 A JP 8285498A JP 3541668 B2 JP3541668 B2 JP 3541668B2
Authority
JP
Japan
Prior art keywords
pixel
dot
pixels
formation
dots
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP08285498A
Other languages
Japanese (ja)
Other versions
JPH11254663A (en
Inventor
和充 嶋田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP08285498A priority Critical patent/JP3541668B2/en
Publication of JPH11254663A publication Critical patent/JPH11254663A/en
Application granted granted Critical
Publication of JP3541668B2 publication Critical patent/JP3541668B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Particle Formation And Scattering Control In Inkjet Printers (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Fax Reproducing Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、インクを吐出して画像を印刷する印刷装置および印刷方法並びにそのためのプログラムを記録した記録媒体に関し、詳しくは形成されるドットが相互に接触可能な径を有する場合の印刷装置等に関する。
【0002】
【従来の技術】
従来より、コンピュータの出力装置として、ヘッドと用紙とを相対的に往復動(以下、主走査という)しながら該ヘッドに備えられた複数のノズルから吐出される数色のインクによりドットを形成して画像を記録するインクジェットプリンタが提案されており、コンピュータ等が処理した画像を多色多階調で印刷するのに広く用いられている。インクジェットプリンタではベタ領域を形成する際、各ドット間に隙間が生じないようにドット径を設定する必要がある。かかる径の設定について図24を用いて説明する。
【0003】
図24は、インクジェットプリンタで印刷用紙にドットを記録した状態を示している。これらの図中に破線で示したマスはドットが形成されるべき場所を示している。理想的な場合には各ドットの中心はこれらのマスのほぼ中央に位置する。いわゆるベタ領域を形成可能にするためには、隣接するドット間に隙間ができないようにする必要があるから、少なくともドット径は図24中に示すd0以上である必要がある。d0は一辺aの正方形の対角線に相当するからd0=√2×aである。一方、ノズルの機械的な製作誤差等、種々の要因によりドットの形成位置にはズレが生じる。かかるズレが生じた場合でもベタ領域が形成されるようにするためには、ドット径は上記値に対し若干の余裕を見込む必要がある(図24の△d)。以上より、ドットの径dlはバンディングを防止しつつ、ベタ領域が形成可能な値として、d0+2×△dと設定される。かかる径からなるドットを形成した様子を図25に示す。このように隣接するドット同士が一部重なり合うことにより、隙間の発生を防ぐことができる。近年、2種類以上の異なる径でドットを形成可能なインクジェットプリンタも提案されているが、少なくとも1種類は上述した径に相当するドットを有しているのが通常である。
【0004】
【発明が解決しようとする課題】
一方、インクジェットプリンタでは用紙にインクを吐出してドットを形成するため、ドットが乾燥するまでにある程度の時間を要する。図25においてドットDot1が形成された後、該ドットが乾燥するよりも前に隣接するドットDot2が形成された場合には、両者の重複部分(図25のハッチング部分)でインクが滲む場合があった。また、かかる滲みが原因となって両者が一体となり場合によっては図26に示すような長楕円形の大きなドットを形成することもあった。こうした滲みや長楕円形の大きなドットの発生は画像の粒状感を目立たせ、画質を低下させる一因となっていた。このような現象を回避するために、ドットが形成される時間間隔を長くする方法も可能ではあるが、印刷速度の低下という別の問題を招くことになる。
【0005】
ドットの滲み等はドット同士が接触する場合に生じる。図25では隣接するドット同士が接触する場合を図示しているが、ドット径によっては1つ間をあけて隣接するドット同士が接触する場合もあった。また、比較的小さな径からなるドットについても同様の問題が生じていた。一般に径の小さいドットは図27に示すような楕円形になりやすく、図27に示す通り隣接するドットが接触しやすくなるからである。小さな径からなるドットは、比較的明るい領域を印刷する際に使用される。かかる領域ではドットがまばらに形成されており、一つ一つのドットが視認されやすいため、先に図26で説明したような大きなドットの発生は、画質を低下させることが考えられた。
【0006】
なお、かかる問題は主走査を行いつつドットを形成するインクジェットプリンタのみならず、ラスタ方向に複数のノズルを備えることにより、主走査を伴わずにラスタを形成するインクジェットプリンタでも同様に生じ得る。また、図25および図26では主走査方向を例に問題点を説明したが、主走査と交差する方向へのヘッドと印刷用紙の相対的な移動(以下、副走査という)方向についても同様の問題が生じ得る。さらに、いわゆるオーバラップ方式による記録により各ラスタを2回以上の主走査で形成する場合であっても同様の問題が生じ得る。
【0007】
この発明は、従来技術における上述の課題を解決するためになされたものであり、インクジェットプリンタにおいて、隣接するドットの接触に起因する滲み等を防止し、画質の向上を図ることを可能とする技術を提供することを目的とする。
【0008】
【課題を解決するための手段およびその作用・効果】
上述の課題の少なくとも一部を解決するため、本発明の印刷装置は、次の構成を採用した。
本発明の第1の印刷装置は、
ヘッドからインクを吐出して予め定めた所定の記録ピッチで一方向に並ぶドット列たるラスタを形成すると共に、該ラスタと交差する方向に印刷媒体を前記ヘッドに対して相対的に移動して、入力された画像データに応じた画像を前記印刷媒体に印刷する印刷装置であって、
前記画像データに対応した各画素について、ドットを形成すべき画素たる形成画素とするかドットを形成しない画素たる空白画素とするかを決定する画素判定手段と、
前記画素判定手段に作用して、前記形成画素の周辺の画素が該形成画素に形成されるドットと接触可能な径からなるドットを形成すべき形成画素となる決定を抑制する抑制手段と、
該画素判定手段により決定された結果に応じて、前記ヘッドを駆動してドットを形成するドット形成手段とを備えることを要旨とする。
【0009】
本発明の第1の印刷方法は、
ヘッドからインクを吐出して予め定めた所定の記録ピッチで一方向に並ぶドット列たるラスタを形成すると共に、該ラスタと交差する方向に印刷媒体を前記ヘッドに対して相対的に移動して、入力された画像データに応じた画像を前記印刷媒体に印刷する印刷方法であって、
(a)前記画像データに対応した各画素について、ドットを形成すべき画素たる形成画素とするかドットを形成しない画素たる空白画素とするかを決定する工程と、
(b)前記工程(a)において、前記形成画素の周辺の画素が該形成画素に形成されるドットと接触可能な径からなるドットを形成すべき形成画素となる決定を抑制する工程と、
(c)該工程(a)により決定された結果に応じて、前記ヘッドを駆動してドットを形成する工程とを備えることを要旨とする。
【0010】
かかる印刷装置および印刷方法によれば、前記画像データに対応した各画素について、ドットを形成すべき画素たる形成画素とするかドットを形成しない画素たる空白画素とするかを決定し、該決定に応じてドットを形成する過程において、前記形成画素の周辺の画素が該形成画素に形成されるドットと接触可能な径からなるドットを形成すべき形成画素となる決定を抑制することができる。この結果、互いに接触するドットの発生が抑制されるため、ドット同士の接触部分における滲み等を防止し画質の向上を図ることができる。
【0011】
上記発明では、一形成画素の周辺の画素に形成されるドットが、この形成画素に形成されるドットと接触し得ない径からなるドットである場合、その形成を抑制するか否かは不問である。なお、接触可能な径とは、ドットの形成位置のずれも考慮すれば接触するおそれがある画素という意味である。
【0012】
ここで「周辺の画素」には、必ずしもラスタが形成される方向に位置する画素のみならず、前記ラスタと交差する方向(以下、副走査方向という)に位置する画素も含まれる。但し、接触したドット同士に滲みが生じるか否かはインクが乾燥する時間内に両者が形成されるか否かと関係がある。従って、印刷装置の機構上あるいは用紙の種類によって、ドットが乾燥するまでの短時間内に副走査方向に隣接するドットが形成し得ない場合等には、前記周辺の画素をラスタが形成される方向に位置する画素に特定するものとしても構わない。なお、上述の発明は主走査を行う印刷装置および主走査を行わない印刷装置の双方に適用可能である。
【0013】
上記印刷装置において、
前記画素判定手段は、各画素ごとの画像データが所定の閾値よりも大きい場合に該画素を前記形成画素と判定する手段であり、
前記抑制手段は、前記接触可能な径からなるドットの形成を抑制すべき画素たる抑制画素については、そうでない画素よりも前記閾値を大きくする手段であるものとすることができる。
【0014】
かかる印刷装置によれば、抑制画素については、各画素を形成画素とすべきか否かの判断を左右する閾値を大きくするから、該画素におけるドットの形成を抑制することができる。印刷装置が複数の径からなるドットを形成可能である場合には、形成画素に形成されたドットと接触可能な径を有するドットの形成に関与する閾値のみを大きくするものとしてもよい。
【0015】
上記印刷装置において、
前記閾値を大きくする偏差量は、前記形成画素と前記抑制画素との距離が大きくなるにつれて減少する値であるものとすることもできる。
【0016】
かかる印刷装置によれば、形成画素に近い画素ほど、該形成画素と接触可能な径を有するドットの形成を抑制する確実性を増すことができる。ドット同士が接触する部分の面積は両者の距離が近い程大きくなるから、接触可能な径を有するドットの形成を距離の近い画素ほどより確実に抑制することができれば、ドットの接触に伴う滲み等の影響を更に小さくすることができ、画質を向上することができる。この結果、上記印刷装置はドットの記録密度が比較的高くなり、ドット同士の接触が不可避となった場合でも画質を向上することができる。
【0017】
上記印刷装置において、
前記画素判定手段は誤差拡散法により各画素が前記形成画素であるか否かを決定する手段であり、
前記抑制手段は、前記周辺の画素に対して誤差拡散における拡散誤差を大きく配分することにより前記接触可能な径からなるドットの形成を抑制する手段であるものとすることもできる。
【0018】
第1の印刷装置が、
前記ヘッドを印刷媒体に対して前記ラスタ方向に相対的に往復動する主走査により前記ラスタの形成を行うものであるときは、
前記周辺の画素は、前記形成画素に対し前記主走査方向に位置する画素であって、前記主走査において該形成画素に連続して形成される画素であるものとすることもできる。
【0019】
主走査によりラスタを形成する印刷装置においては、該主走査中に連続して形成される画素同士が接触した場合に滲み等を生じやすい。上記印刷装置ではかかる画素についてドットの接触を抑制するため、滲み等を抑制し画質を向上することができる。
【0020】
なお、連続して形成される画素とは、例えば1回の主走査でラスタの全ドットを形成する場合には隣接する画素になる。また、いわゆるオーバラップ方式による記録を行い2回の主走査でラスタを形成する場合には、その記録方法に応じて例えば形成画素に対し主走査方向に1つ間をあけて隣接する次の画素等が連続して形成される画素に対応する。これをさらに一般的な回数に拡張しても構わない。
【0021】
つまり、上記印刷装置において、
前記ドットの形成が抑制される前記周辺の画素は、ラスタを構成する全ドットが形成される間に行われる前記ラスタと交差する方向への前記ヘッドと印刷媒体との相対的な移動回数に応じた距離だけ前記形成画素から離れた画素であるものとすることもできる。
【0022】
主走査を伴う印刷装置の場合、ラスタを形成するのに必要な主走査の回数が増えるごとに、一形態画素と該形態画素に連続して形成される画素、即ち接触可能な径を有するドットの形成が抑制されるべき画素との距離は大きくなる。かかる関係は、主走査を伴わずにラスタを形成可能な印刷装置であっても同様である。ラスタを形成するのに要する一連の記録の回数は、各記録ごとに行われる副走査を単位として数えることができる。上記印刷装置ではこの移動回数に応じて、形態画素と接触可能な径を有する画素との距離を大きくしていくため、ドットの滲み等を適切に抑制することができ、画質を向上することができる。
【0023】
さらに、
前記抑制手段は、前記ドットの記録率が50%以下の領域において前記ドットの形成を抑制する手段であるものとすることもできる。
【0024】
ドットの滲み等はドットが比較的まばらに形成される領域において目立つ。上記印刷装置ではかかる領域においてドットの接触を抑制することができるため、画質を向上することができる。なお、上記記録率が50%以下の領域は、一つの目安であって厳密なものではないため、画質への影響を考慮して、これよりも広い範囲で前記ドットの形成を抑制するものとしても構わない。
【0025】
本発明の第2の印刷装置は、
ヘッドからインクを吐出して一方向に予め定めた所定の記録ピッチで並ぶドット列たるラスタを形成すると共に、該ラスタと交差する方向に印刷媒体を前記ヘッドに対して相対的に移動して、入力された画像データに応じた画像を前記印刷媒体に印刷する印刷装置であって、
前記画像データに対応した各画素について、ドットを形成すべき画素たる形成画素とするかドットを形成しない画素たる空白画素とするかを決定する画素判定手段と、
各形成画素について、該形成画素に形成されるべきドットと接触可能な径を有するドットの形成画素となっている画素たる接触画素の数を求める手段と、
前記接触画素の数の最大値に基づいて設定される分割数で分割して、各ラスタのドットを形成するドット形成手段とを備えることを要旨とする。
【0026】
本発明の第2の印刷方法は、
ヘッドからインクを吐出して一方向に予め定めた所定の記録ピッチで並ぶドット列たるラスタを形成すると共に、該ラスタと交差する方向に印刷媒体を前記ヘッドに対して相対的に移動して、入力された画像データに応じた画像を前記印刷媒体に印刷する印刷方法であって、
(A)前記画像データに対応した各画素について、ドットを形成すべき画素たる形成画素とするかドットを形成しない画素たる空白画素とするかを決定する工程と、
(B)各形成画素について、該形成画素に形成されるべきドットと接触可能な径を有するドットの形成画素となっている画素たる接触画素の数を求める工程と、
(C)前記接触画素の数の最大値に基づいて設定される分割数で分割して、各ラスタのドットを形成する工程とを備えることを要旨とする。
【0027】
かかる印刷装置および印刷方法によれば、接触可能なドットが形成される場合には、ラスタを分割して記録することにより、両者間に滲み等が生じることを抑制することができる。分割して記録することにより、先に形成されたドットが乾燥する時間的な余裕が生じるからである。例えば、ある形成画素に対し、隣接する画素に接触可能な径を有するドットが形成される場合には、ラスタを2回に分けて形成する。また、ある形態画素に対し、隣接する画素およびさらにその隣の画素に形成されたドットが接触可能である場合には、ラスタを3回に分けて形成する。このように上記印刷装置等では、形成画素に接触可能なドットが形成される画素の数の最大値に応じてラスタを何回に分けて形成するかを設定する。かかる手段を講じることにより、ドットの接触による滲み等を適切に抑制することができる。
【0028】
なお、本発明の第2の印刷装置および印刷方法は、主走査を伴ってラスタを形成する印刷装置のみならず、主走査を伴わずにラスタを形成する印刷装置においても適用可能である。また、以上で説明した本発明の印刷装置等は1種類の径からなるドットのみならず複数の異なる径からなるドットを形成可能な印刷装置においても適用可能である。
【0029】
以上で説明した本発明の印刷装置は、ドットの形成の決定等をコンピュータにより実現させることによっても構成することができるため、本発明は、かかるプログラムを記録した記録媒体としての態様を採ることもできる。
【0030】
本発明の第1の記録媒体は、
インクを吐出して入力された画像データに応じた画像を印刷媒体に印刷する印刷装置に共するデータを設定するためのプログラムをコンピュータ読みとり可能に記録した記録媒体であって、少なくとも
前記画像データに対応した各画素について、ドットを形成すべき画素たる形成画素とするかドットを形成しない画素たる空白画素とするかを決定する機能と、
前記決定する機能において、前記形成画素の周辺の画素が該形成画素に形成されるドットと接触可能な径からなるドットを形成すべき形成画素となる決定を抑制する機能とを実現するプログラムを記録した記録媒体である。
【0031】
本発明の第2の記録媒体は、
インクを吐出して入力された画像データに応じた画像を印刷媒体に印刷する印刷装置に共するデータを設定するためのプログラムを印刷方法であって、
前記画像データに対応する各画素について、ドットを形成すべき画素たる形成画素とするかドットを形成しない画素たる空白画素とするかを決定する機能と、
各形成画素について、該形成画素に形成されるべきドットと接触可能な径を有するドットの形成画素となっている画素たる接触画素の数を求める機能と、
各ラスタの形成に要する一連の記録回数を前記接触画素の数の最大値に基づいて設定する機能とを実現するプログラムを記録した記録媒体である。
【0032】
上記の各記録媒体に記録されたプログラムが、前記コンピュータに実行されることにより、先に説明した本発明の印刷装置および印刷方法を実現することができる。なお、記録媒体としては、フレキシブルディスクやCD−ROM、光磁気ディスク、ICカード、ROMカートリッジ、パンチカード、バーコードなどの符号が印刷された印刷物、コンピュータの内部記憶装置(RAMやROMなどのメモリ)および外部記憶装置等の、コンピュータが読取り可能な種々の媒体を利用できる。また、コンピュータに上記の印刷装置の制御機能を実現させるコンピュータプログラムを通信経路を介して供給するプログラム供給装置としての態様も含む。
【0033】
【発明の実施の形態】
以下、本発明の実施の形態について、実施例に基づき説明する。
(1)装置の構成
図1は、本発明の一実施例としての印刷装置の構成を示すブロック図である。図示するように、コンピュータ90にスキャナ12とカラープリンタ22とが接続されており、このコンピュータ90に所定のプログラムがロードされ実行されることにより、全体として印刷装置として機能する。このコンピュータ90は、プログラムに従って画像処理に関わる動作を制御するための各種演算処理を実行するCPU81を中心に、バス80により相互に接続された次の各部を備える。ROM82は、CPU81で各種演算処理を実行するのに必要なプログラムやデータを予め格納しており、RAM83は、同じくCPU81で各種演算処理を実行するのに必要な各種プログラムやデータが一時的に読み書きされるメモリである。入力インターフェイス84は、スキャナ12やキーボード14からの信号の入力を司り、出力インタフェース85は、プリンタ22へのデータの出力を司る。CRTC86は、カラー表示可能なCRT21への信号出力を制御し、ディスクコントローラ(DDC)87は、ハードディスク16やフレキシブルドライブ15あるいは図示しないCD−ROMドライブとの間のデータの授受を制御する。ハードディスク16には、RAM83にロードされて実行される各種プログラムやデバイスドライバの形式で提供される各種プログラムなどが記憶されている。このほか、バス80には、シリアル入出力インタフェース(SIO)88が接続されている。このSIO88は、モデム18に接続されており、モデム18を介して、公衆電話回線PNTに接続されている。コンピュータ90は、このSIO88およびモデム18を介して、外部のネットワークに接続されており、特定のサーバーSVに接続することにより、画像処理に必要なプログラムをハードディスク16にダウンロードすることも可能である。また、必要なプログラムをフレキシブルディスクFDやCD−ROMによりロードし、コンピュータ90に実行させることも可能である。
【0034】
図2は本印刷装置のソフトウェアの構成を示すブロック図である。コンピュータ90では、所定のオペレーティングシステムの下で、アプリケーションプログラム95が動作している。オペレーティングシステムには、ビデオドライバ91やプリンタドライバ96が組み込まれており、アプリケーションプログラム95からはこれらのドライバを介して、プリンタ22に転送するための最終的な画像データFNLが出力されることになる。画像のレタッチなどを行うアプリケーションプログラム95は、スキャナ12から画像を読み込み、これに対して所定の処理を行いつつビデオドライバ91を介してCRTディスプレイ21に画像を表示している。スキャナ12から供給されるデータORGは、カラー原稿から読みとられ、レッド(R),グリーン(G),ブルー(B)の3色の色成分からなる原カラー画像データORGである。
【0035】
このアプリケーションプログラム95が、印刷命令を発すると、コンピュータ90のプリンタドライバ96が、画像情報をアプリケーションプログラム95から受け取り、これをプリンタ22が印刷可能な信号(ここではシアン、マゼンダ、イエロー、ブラックの各色についての多値化された信号)に変換している。図2に示した例では、プリンタドライバ96の内部には、解像度変換モジュール97と、色補正モジュール98と、色補正テーブルLUTと、ハーフトーンモジュール99と、ラスタライザ100とが備えられている。
【0036】
解像度変換モジュール97は、アプリケーションプログラム95が扱っているカラー画像データの解像度、即ち単位長さ当たりの画素数をプリンタドライバ96が扱うことができる解像度に変換する役割を果たす。こうして解像度変換された画像データはまだRGBの3色からなる画像情報であるから、色補正モジュール98は色補正テーブルLUTを参照しつつ、各画素ごとにプリンタ22が使用するシアン(C)、マゼンダ(M)、イエロー(Y)、ブラック(K)の各色のデータに変換する。こうして色補正されたデータは例えば256階調等の幅で階調値を有している。ハーフトーンモジュール99は、プリンタ22でドットを分散して形成することによりかかる階調値を表現するためのハーフトーン処理を実行する。こうして処理された画像データは、ラスタライザ100によりプリンタ22に転送すべきデータ順に並べ替えられて、最終的な画像データFNLとして出力される。なお、ハーフトーンモジュール99が本発明における画素判定手段に相当する。
【0037】
本実施例では、プリンタ22は画像データFNLに従ってドットを形成する役割を果たすのみであり画像処理は行っていない。もっとも、上述の各モジュールをプリンタ22側に備え、プリンタ22により処理を行うものとしても差し支えない。
【0038】
次に、図3によりプリンタ22の概略構成を説明する。図示するように、このプリンタ22は、紙送りモータ23によって用紙Pを搬送する機構と、キャリッジモータ24によってキャリッジ31をプラテン26の軸方向に往復動させる機構と、キャリッジ31に搭載された印字ヘッド28を駆動してインクの吐出およびドット形成を行う機構と、これらの紙送りモータ23,キャリッジモータ24,印字ヘッド28および操作パネル32との信号のやり取りを司る制御回路40とから構成されている。
【0039】
キャリッジ31をプラテン26の軸方向に往復動させる機構は、プラテン26の軸と並行に架設されキャリッジ31を摺動可能に保持する摺動軸34と、キャリッジモータ24との間に無端の駆動ベルト36を張設するプーリ38と、キャリッジ31の原点位置を検出する位置検出センサ39等から構成されている。
【0040】
なお、このキャリッジ31には、黒インク(Bk)用のカートリッジ71とシアン(C1),ライトシアン(C2)、マゼンタ(M1),ライトマゼンダ(M2)、イエロ(Y)の5色のインクを収納したカラーインク用カートリッジ72が搭載可能である。シアンおよびマゼンダの2色については、濃淡2種類のインクを備えていることになる。キャリッジ31の下部の印字ヘッド28には計6個のインク吐出用ヘッド61ないし66が形成されており、キャリッジ31の底部には、この各色用ヘッドにインクタンクからのインクを導く導入管67(図4参照)が立設されている。キャリッジ31に黒(Bk)インク用のカートリッジ71およびカラーインク用カートリッジ72を上方から装着すると、各カートリッジに設けられた接続孔に導入管67が挿入され、各インクカートリッジから吐出用ヘッド61ないし66へのインクの供給が可能となる。
【0041】
インクの吐出およびドット形成を行う機構について説明する。図4はインク吐出用ヘッド28の内部の概略構成を示す説明図である。インク用カートリッジ71,72がキャリッジ31に装着されると、図4に示すように毛細管現象を利用してインク用カートリッジ内のインクが導入管67を介して吸い出され、キャリッジ31下部に設けられた印字ヘッド28の各色ヘッド61ないし66に導かれる。なお、初めてインクカートリッジが装着されたときには、専用のポンプによりインクを各色のヘッド61ないし66に吸引する動作が行われるが、本実施例では吸引のためのポンプ、吸引時に印字ヘッド28を覆うキャップ等の構成については図示および説明を省略する。
【0042】
各色のヘッド61ないし66には、後で説明する通り、各色毎に48個のノズルNzが設けられており(図6参照)、各ノズル毎に電歪素子の一つであって応答性に優れたピエゾ素子PEが配置されている。ピエゾ素子PEとノズルNzとの構造を詳細に示したのが、図5である。図5上段に図示するように、ピエゾ素子PEは、ノズルNzまでインクを導くインク通路68に接する位置に設置されている。ピエゾ素子PEは、周知のように、電圧の印加により結晶構造が歪み、極めて高速に電気−機械エネルギの変換を行う素子である。本実施例では、ピエゾ素子PEの両端に設けられた電極間に所定時間幅の電圧を印加することにより、図5下段に示すように、ピエゾ素子PEが電圧の印加時間だけ伸張し、インク通路68の一側壁を変形させる。この結果、インク通路68の体積はピエゾ素子PEの伸張に応じて収縮し、この収縮分に相当するインクが、粒子Ipとなって、ノズルNzの先端から高速に吐出される。このインク粒子Ipがプラテン26に装着された用紙Pに染み込むことにより印刷が行われる。
【0043】
図6は、インク吐出用ヘッド61〜66におけるインクジェットノズルNzの配列を示す説明図である。これらのノズルの配置は、各色ごとにインクを吐出する6組のノズルアレイから成っており、48個のノズルNzが一定のノズルピッチkで千鳥状に配列されている。各ノズルアレイの副走査方向の位置は互いに一致している。なお、各ノズルアレイに含まれる48個のノズルNzは、千鳥状に配列されている必要はなく、一直線上に配置されていてもよい。但し、図6に示すように千鳥状に配列すれば、製造上、ノズルピッチkを小さく設定し易いという利点がある。
【0044】
本発明のプリンタ22は、図6に示した通り一定の径からなるノズルNzを備えているが、かかるノズルNzを用いて径の異なる3種類のドットを形成することができる。この原理について説明する。図7は、インクが吐出される際のノズルNzの駆動波形と吐出されるインクIpとの関係を示した説明図である。図7において破線で示した駆動波形が通常のドットを吐出する際の波形である。区間d2において一旦、マイナスの電圧をピエゾ素子PEに印加すると、先に図5を用いて説明したのとは逆にインク通路68の断面積を増大する方向にピエゾ素子PEが変形するため、図7の状態Aに示した通り、メニスカスと呼ばれるインク界面Meは、ノズルNzの内側にへこんだ状態となる。一方、図7の実線で示す駆動波形を用い、区間d2に示すようにマイナス電圧を急激に印加すると、状態aで示す通りメニスカスは状態Aに比べて大きく内側にへこんだ状態となる。次に、ピエゾ素子PEへの印加電圧を正にすると(区間d3)、先に図5を用いて説明した原理に基づいてインクが吐出される。このとき、メニスカスがあまり内側にへこんでいない状態(状態A)からは状態Bおよび状態Cに示すごとく大きなインク滴が吐出され、メニスカスが大きく内側にへこんだ状態(状態a)からは状態bおよび状態cに示すごとく小さなインク滴が吐出される。
【0045】
以上に示した通り、駆動電圧を負にする際(区間d1,d2)の変化率に応じて、ドット径を変化させることができる。また、駆動波形のピーク電圧の大小によってもドット径を変化させることができることは容易に想像できるところである。本実施例では、駆動波形とドット径との間のこのような関係に基づいて、ドット径の小さい小ドットを形成するための駆動波形と、2番目のドット径からなるの中ドットを形成するための駆動波形の2種類を用意している。図8に本実施例において用いている駆動波形を示す。駆動波形W1が小ドットを形成するための波形であり、駆動波形W2が中ドットを形成するための波形である。両者を使い分けることにより、一定のノズル径からなるノズルNzからドット径が小中2種類のドットを形成することができる。
【0046】
また、図8の駆動波形W1,W2の双方を使ってドットを形成することにより、大ドットを形成することができる。この様子を図8の下段に示した。図8下段の図は、ノズルから吐出された小ドットおよび中ドットのインク滴IPs、IPmが吐出されてから用紙Pに至るまでの様子を示している。図8の駆動波形を用いて小中2種類のドットを形成する場合、中ドットの方がピエゾ素子PEの変化量が大きいため、インク滴IPが勢いよく吐出される。このようなインクの飛翔速度差があるため、キャリッジ31が主走査方向に移動しながら、最初に小ドットを吐出し、次に中ドットを吐出した場合、キャリッジ31の走査速度、両ドットの吐出タイミングをキャリッジ31と用紙Pの間の距離に応じて調整すれば、両インク滴を同じタイミングで用紙Pに到達させることができる。本実施例では、このようにして図8の2種類に駆動波形から最もドット径が最も大きい大ドットを形成しているのである。
【0047】
最後にプリンタ22の制御回路40の内部構成を説明するとともに、図6に示した複数のノズルNzからなるヘッド28を駆動する方法について説明する。図9は制御回路40の内部構成を示す説明図である。図9に示す通り、この制御回路40の内部には、CPU41,PROM42,RAM43の他、コンピュータ90とのデータのやりとりを行うPCインタフェース44と、紙送りモータ23、キャリッジモータ24および操作パネル32などとの信号をやりとりする周辺入出力部(PIO)45と、計時を行うタイマ46と、ヘッド61〜66にドットのオン・オフの信号を出力する駆動用バッファ47などが設けられており、これらの素子および回路はバス48で相互に接続されている。また、制御回路40には、所定周波数で駆動波形(図9参照)を出力する発信器51、および発信器51からの出力をヘッド61〜66に所定のタイミングで分配する分配器55も設けられている。制御回路40は、コンピュータ90で処理されたドットデータを受け取り、これを一時的にRAM43に蓄え、所定のタイミングで駆動用バッファ47に出力する。
【0048】
制御回路40がヘッド61〜66に対して信号を出力する形態について説明する。図10は、ヘッド61〜66の1つのノズル列を例にとって、その接続について示す説明図である。ヘッド61〜66の一つのノズル列は、駆動用バッファ47をソース側とし、分配出力器55をシンク側とする回路に介装されており、ノズル列を構成する各ピエゾ素子PEは、その電極の一方が駆動用バッファ47の各出力端子に、他方が一括して分配出力器55の出力端子に、それぞれ接続されている。分配出力器55からは図8に示す通り、発信器51の駆動波形が出力されている。CPU41から各ノズル毎にオン・オフを定め、駆動用バッファ47の各端子に信号を出力すると、駆動波形に応じて、駆動用バッファ47側からオン信号を受け取っていたピエゾ素子PEだけが駆動される。この結果、駆動用バッファ47からオン信号を受け取っていたピエゾ素子PEのノズルから一斉にインク粒子Ipが吐出される。
【0049】
図6に示す通り、ヘッド61〜66は、キャリッジ31の搬送方向に沿って配列されているから、それぞれのノズル列が用紙Pに対して同一の位置に至るタイミングはずれている。従って、CPU41は、このヘッド61〜66の各ノズルの位置のずれを勘案した上で、必要なタイミングで各ドットのオン・オフの信号を駆動用バッファ47を介して出力し、各色のドットを形成している。また、図6に示した通り、各ヘッド61〜66もノズルが2列に形成されている点も同様に考慮してオン・オフの信号の出力が制御されている。
【0050】
本実施例では、単一の発信器51から図8に示す駆動波形W1,W2を連続的に出力することにより径の異なるドットの形成を可能としているが、各駆動波形を出力する発信器をそれぞれ用意し、その使い分けによって径の異なるドットを形成するものとしてもよい。
【0051】
以上説明したハードウェア構成を有するプリンタ22は、紙送りモータ23により用紙Pを搬送しつつ(以下、副走査という)、キャリッジ31をキャリッジモータ24により往復動させ(以下、主走査という)、同時に印字ヘッド28の各色ヘッド61ないし66のピエゾ素子PEを駆動して、各色インクの吐出を行い、ドットを形成して用紙P上に多色の画像を形成する。
【0052】
なお、本実施例では、既に述べた通りピエゾ素子PEを用いてインクを吐出するヘッドを備えたプリンタ22を用いているが、他の方法によりインクを吐出するプリンタを用いるものとしてもよい。例えば、インク通路に配置したヒータに通電し、インク通路内に発生する泡(バブル)によりインクを吐出するタイプのプリンタに適用するものとしてもよい。
【0053】
(2)ドット形成制御
次に本実施例の印刷装置におけるドット形成の制御処理について説明する。ドット形成制御処理ルーチンの流れを図11に示す。これは、コンピュータ90のCPU81が実行する処理である。
【0054】
この処理が開始されると、CPU81は、画像データを入力する(ステップS100)。この画像データは、図2に示したアプリケションプログラム95から受け渡されるデータであり、画像を構成する各画素ごとにR,G,Bそれぞれの色について、値0〜255の256段階の階調値を有するデータである。この画像データの解像度は、原画像のデータORGの解像度等に応じて変化する。
【0055】
CPU81は、入力された画像データの解像度をプリンタ22が印刷するための解像度(以下、印刷解像度とよぶ)に変換する(ステップS105)。画像データが印刷解像度よりも低い場合には、線形補間により隣接する原画像データの間に新たなデータを生成することで解像度変換を行う。逆に画像データが印刷解像度よりも高い場合には、一定の割合でデータを間引くことにより解像度変換を行う。なお、解像度変換処理は本実施例において本質的なものではなく、かかる処理を行わずに印刷を実行するものとしても構わない。
【0056】
次に、CPU81は色補正処理を行う(ステップS110)。色補正処理とはR,G,Bの階調値からなる画像データをプリンタ22で使用するC,M,Y,Kの各色の階調値のデータに変換する処理である。この処理は、R,G,Bのそれぞれの組み合わせからなる色をプリンタ22で表現するためのC,M,Y,Kの組み合わせを記憶した色補正テーブルLUT(図2参照)を用いて行われる。色補正テーブルLUTを用いて色補正する処理自体については、公知の種々の技術が適用可能であり、例えば補間演算による処理(例えば、特開平4−144481記載の技術)が適用できる。
【0057】
こうして色補正された画像データに対して、CPU81は多値化処理を行う(ステップS120)。図2に示したハーフトーンモジュール99が処理を実行すると言い換えることもできる。多値化とは、原画像データの階調値(本実施例では256階調)をプリンタ22が各ドットごとに表現可能な階調値(本実施例では、「ドットの形成なし」「小ドットの形成」「中ドットの形成」「大ドットの形成」の4値)に変換することをいう。多値化処理は種々の方法により行うことができるが、本実施例では画質に優れる誤差拡散法を適用している。
【0058】
誤差拡散法による多値化処理について説明する。誤差拡散法による多値化処理の流れを図12に示す。この処理が開始されると、CPU81は画像データCdを入力する(ステップS122)。ここで入力される画像データCdとは、色補正処理(図11のステップS110)を施され、C.M,Y,Kの各色につき256階調を有するデータである。このデータに対し、拡散誤差補正データCdxの生成を行う(ステップS124)。誤差拡散処理は処理済みの画素について生じた階調表現の誤差をその画素の周りの画素に所定の重みを付けて予め配分しておくので、ステップS124では該当する誤差分を読み出し、これを今から処理しようと着目している画素に反映させるのである。
【0059】
着目している画素PPに対して周辺のどの画素にどの程度の重み付けで誤差を配分するかという設定について図13、図14に基づき説明する。図13は通常用いられることが多い誤差配分の設定である。着目している画素PPに対して、キャリッジ31の走査方向で数画素、および用紙Pの搬送方向後ろ側の隣接する数画素に対して、濃度誤差が所定の重み(1/4,1/8、1/16)を付けて配分される。図14は本実施例における設定である。着目している画素PPに対しキャリッジ走査方向に隣接する画素P1に配分される誤差の重みは、図13に示した例では値1/4であるのに対し、本実施例(図14)では値1/2として、重みを大きく設定してある。かかる設定の意義については後述する。なお、図14に示す配分が本発明における抑制手段の一つに相当する。
【0060】
こうして生成された拡散誤差補正データCdxと第1の閾値th1との大小を比較し(ステップS126)、データCdxが閾値th1よりも小さい場合には、多値化結果を表す値Cdrに、ドットを形成しないことを意味する値0を代入する(ステップS128)。閾値th1はこのようにドットを不形成とするか否かを判定する基準となる値である。この閾値th1は、いずれの値に設定することもできるが、本実施例では次の考え方に基づき設定した。
【0061】
図15に本実施例における大中小の各ドットの記録率と画像データの階調値との関係を示す。本実施例では図15に示すように、階調値0〜gr1では小ドットのみを形成し、gr1〜gr2では小ドットと中ドットを形成し、gr2以上では中ドットと大ドットを形成するように設定している。gr1以上の階調値では大中小いずれかのドットが形成され、ドットを不形成とする画素は生じないことになる。上記閾値th1は、階調値0〜gr1までの範囲で小ドットの形成または不形成が図18に示す設定通りに生じるように設定される。本実施例ではth1=gr1/2に設定している。
【0062】
補正データCdxが第1の閾値th1以上である場合には、次に補正データCdxと第2の閾値th2との大小を比較し(ステップS130)、補正データCdxが第2の閾値th2よりも小さい場合には、多値化結果を表す値Cdrに小ドットの形成を意味する値1を代入する(ステップS132)。閾値th2は閾値th1と同様、図18のドット記録率に基づいて設定されており、本実施例ではth2=(gr1+gr2)/2に設定している。
【0063】
補正データCdxが第2の閾値th2以上である場合には、次に補正データCdxと第3の閾値th3との大小を比較し(ステップS134)、補正データCdxが第3の閾値th3よりも小さい場合には、多値化結果を表す値Cdrに中ドットの形成を意味する値2を代入する(ステップS136)。閾値th3も閾値th1と同様、図18のドット記録率に基づいて設定されており、本実施例ではth3=(gr2+255)/2に設定している。補正データCdxが第3の閾値th3以上である場合には、多値化結果を表す値Cdrに大ドットの形成を意味する値3を代入する(ステップS138)。本実施例では以上の処理により4値化を行っているが、形成可能なドットの種類が増え、更に多くの多値化を行う必要がある場合には、上述の閾値を増やすことにより同様に処理可能である。
【0064】
次に、CPU81は、多値化により生じた誤差を計算し、その誤差を周辺の画素に拡散する処理を実行する(ステップS140)。誤差とは多値化後の各ドットにより表現される濃度の評価値から原画像データの階調値を引いた値をいう。例えば、原画像データにおける階調値255の画素を考え、大ドットの形成による濃度の評価値を階調値255相当、中ドットの形成による濃度の評価値を階調値gr2相当とする。この画素について、大ドットを形成するものと判定された場合は、原画像データの階調値と表現される濃度評価値は共に値255で一致しているため誤差は生じない。一方、中ドットを形成するものと判定された場合はErr=gr2−255相当の誤差を生じることになる。
【0065】
こうして演算された誤差は図14に示した割合で周辺の画素に拡散される。例えば、着目している画素PPにおいて階調値4に相当する誤差が算出された場合には、隣の画素P1には誤差の1/2である階調値2に相当する誤差が拡散されることになる。その他の画素についても同様に図14で示した割合で誤差が拡散される。こうして拡散された誤差が、先に説明したステップS124で画像データCdxに反映され、拡散誤差補正データCdxが生成されるのである。以上の繰り返しにより、全画素分の処理が終了すると(ステップS142)、CPU81は誤差拡散による多値化処理を一旦終了し、ドット形成制御処理ルーチン(図11)に戻る。
【0066】
以上の処理により、各画素について結果値Cdrに値0〜3までのいずれかが割り当てられる。このデータに基づいてプリンタ22は駆動波形のタイミングに合わせて各ノズルをオン・オフして、それぞれの径からなるドットを形成する。
【0067】
ここで、図14に示した誤差配分の重みの設定の意義について図16、図17により具体的に説明する。説明の容易のため、小ドットのみで記録される低階調領域を考え、この領域を階調値0〜85までとする(図15におけるgr1=85とする)。また、小ドットのオン・オフを判定する閾値(図12のth1)および小ドットの濃度評価値を値85とする。
【0068】
まず、一定の階調値55からなるベタ領域を形成する場合を考える。図16(a)にかかる画像データの一部を示す。着目画素PPの階調値55は閾値42よりも大きいため小ドットが形成される(図12のステップS132)。この結果、着目画素は本来表現すべき濃度よりも濃い状態(濃度評価値85)となるため、着目画素PPには値85−55=30の誤差Errが生じる。この誤差を図13に示す配分により周辺の画素に拡散すれば(図16(a)参照)、例えば隣接する画素P1に配分される誤差は値8となり、さらにその隣の画素P2に配分される誤差は値4となる。これらの誤差を反映すれば、画素P1の階調値は55−8=47、画素P2の階調値は55−4=51となる。画素P1は閾値42よりも大きい値を有しているため、小ドットが形成されることになる。図16(b)において、ドットが形成されるべき画素にはハッチングを施した。画素P2は画素P1からの誤差を考慮してドットの発生が決定されるため、図16(b)においてはハッチングを施していない。
【0069】
一方、図14の配分で誤差を拡散した場合の様子を図17に示す。図16と同様、着目画素PPには値30の誤差Errが生じる。この誤差を図14に示す配分により周辺の画素に拡散すれば(図17(a)参照)、例えば隣接する画素P1に配分される誤差は値15となり、さらにその隣の画素P2に配分される誤差は値4となる。これらの誤差を反映すれば、画素P1の階調値は55−15=40、画素P2の階調値は55−4=51となる。画素P1は閾値42よりも小さくなるため、ドットは形成されない。
【0070】
このように図14に示したような誤差配分により、着目している画素PPに隣接する画素P1への誤差配分を大きく設定すれば、着目している画素PPについてドットを形成すべき判断がなされた場合に、隣接する画素P1へのドットの形成が抑制されることになる。かかる意味で図14に示した誤差配分の設定は、着目している画素PPに隣接する画素P1についてドットの発生を抑制する手段の一つとして機能していると言える。このようにドットの発生を抑制する誤差配分は図14に示す配分に限定されるものではなく、前述の閾値th1やドットの濃度評価値に応じて種々設定することができる。
【0071】
次に、CPU81はラスタライズを行う(ステップS210)。これは、1ラスタ分のデータをプリンタ22のヘッドに転送する順序に並べ替えることをいう。プリンタ22がラスタを形成する記録方法には種々のモードがある。最も単純なのは、ヘッドの1回の往運動で各ラスタのドットを全て形成するモードである。この場合には1ラスタ分のデータを処理された順序でヘッドに出力すればよい。他のモードとしては、いわゆるオーバラップがある。例えば、1回目の主走査では各ラスタのドットを例えば1つおきに形成し、2回目の主走査で残りのドットを形成する記録方法である。この場合は各ラスタを2回の主走査で形成することになる。かかる記録方法を採用する場合には、各ラスタのドットを1つおきにピックアップしたデータをヘッドに転送する必要がある。さらに別の記録モードとしていわゆる双方向記録がある。これはヘッドの往運動のみならず復運動時にもドットを形成するものである。かかる記録モードを採用する場合には、往運動時用のデータと復運動時用のデータとは転送順序を逆転する必要が生じる。このようにプリンタ22が行う記録方法に応じてヘッドに転送すべきデータを作成するのが上記ステップS210での処理である。こうしてプリンタ22が印刷可能なデータが生成されると、CPU81は該データを出力し、プリンタ22に転送する(ステップS215)。
【0072】
以上で説明した印刷装置によれば、図16および図17を用いて説明した通り、ある画素についてドットが形成される場合に、主走査方向に隣接する画素についてはドットの形成が抑制されるように多値化を行うことができる。この結果、上記印刷装置によれば隣接するドットが接触し、滲み等が生じることを防止することができ、画質を向上することができる。
【0073】
なお、上述の実施例では、誤差拡散処理(図12のステップS140)において図14に示した配分を用いているため、大中小全てのドットについて同じ配分を用いることになる。先に説明した通り、図14に示した誤差配分の設定は、ドット同士の接触による滲み等を抑制する観点から、着目画素PPに隣接する画素P1におけるドットの形成を抑制するための設定である。いわゆる疑似輪郭の発生等、滲み等以外の画質に影響する要素を考えれば図13に示す配分の方が好ましいこともある。隣接する画素P1にドットが形成されてもドット同士が接触する可能性がないような径の小さいドット、またはドットが密に形成された高濃度領域でドット同士が接触して滲みが生じても画質に影響を与えないようなドットについては通常の誤差配分(例えば図13に示した配分)を用いることができる。このような場合には、誤差配分を示すテーブル(図13,図14等)を複数用意し、形成すべきと判定されたドットの種類に応じてテーブルを使い分けるものとしてもよい。こうすれば、図13のテーブルが有する特性を活かしつつ、ドット同士の接触を抑制することも可能となる。
【0074】
また、図14では着目画素PPに隣接する画素P1においてドットの発生を抑制するように誤差配分を設定していた。例えば、ドットの径が非常に大きいため着目する画素に対し1つ間をあけて隣接する画素P2(図14)に形成されたドットとも接触が生じるような場合には、かかる画素P2への配分誤差も大きくすることによりドットの形成を抑制することもできる。このように、図14の誤差配分の設定は、ドットの径やドットが記録されるピッチに応じて種々設定可能である。
【0075】
また、誤差配分の設定は、各ラスタを形成するために要する主走査の回数に応じて変化させてもよい。図14では着目画素PPに隣接する画素P1へのドットの形成を抑制した。これは、1回の主走査でラスタの全ドットを形成する場合には、このように隣接する画素が最も滲み等を生じやすい画素となるからである。
【0076】
一方、いわゆるオーバラップ方式でラスタを形成する場合には、隣接する画素P1についてドットの形成を抑制する必要性は低くなる。例えば、2回の主走査でラスタを完成するオーバラップ方式を考える。このとき、1回目の主走査ではラスタの各ドットを1つおきに形成し、2回目の主走査では残りのドットを形成することになる。従って、着目画素PPが形成されてから、隣接する画素P1が形成されるまでには時間を要する。このような場合には、着目画素PPに隣接する画素P1よりも、着目画素PPと同じ主走査において形成される画素である画素P2においてドットの形成を抑制した方が望ましい。かかる観点から設定した誤差配分の例を図18に示す。画素P2に配分される誤差の重みは、値1/4となっており、先に図13および図14に示した値1/8よりも大きく設定してある。なお、この値を図14の画素P1に配分される重み(値1/2)ほど大きな値としなかったのは、画素P2については画素P1についての多値化が行われた結果生じる誤差がさらに配分されることを考慮したものである。図18の配分もドットの発生を抑制する必要性に応じて種々設定可能である。
【0077】
同様の考え方により、3回以上の主走査でラスタを構成する場合も誤差の配分を種々設定することができる。また、主走査の回数に応じて設定された誤差配分のテーブルを複数用意しておき、印刷モードの指定に応じて各テーブルを使い分けるものとすることもできる。
【0078】
上述の実施例においては、画像データの全領域についてドット同士の接触を抑制するような多値化を実施していたが、これを画像の一部の領域についてのみ行うものとしてもよい。例えば、ドットの記録密度が低い領域、即ちドット同士が接触して形成された大きなドットが視認されやすく画質を損ねやすい領域においてのみドット同士の接触を抑制するような多値化を行うものとしてもよい。かかる領域として、例えば記録率が50%以下となる領域が挙げられる。このような多値化を実現する手段としては例えば、次のような方法が考えられる。
【0079】
図15に示した記録率と階調値との関係によれば、本実施例の場合、ドットの記録密度が低い領域は階調値が小さい領域に対応している。もちろん、ドットの記録率の設定に応じてその範囲は変化し得るが、それぞれ記録率と階調値との対応をとることができる。例えば、ドットの記録率が低い領域は階調値grl以下であるとする。この場合は、図12の多値化において画像データCdを入力した時点で各画像データCdとこの階調値grlとの大小を比較し、Cd<grlの場合のみ接触するドットの形成を抑制するようにすればよい。
【0080】
(3)第2実施例
次に、本発明の第2実施例としての印刷装置について説明する。第2実施例としての印刷装置は、ハードウェア構成としては先に説明した第1実施例の印刷装置(図1〜図10)と同じである。また、ドット形成制御処理ルーチン(図11)の流れも同様である。本実施例では、多値化処理の内容が第1実施例と相違する。第2実施例における多値化について説明する。
【0081】
図19は第2実施例における多値化処理の流れを示すフローチャートである。基本的な処理内容は第1実施例における多値化と同様である(図12参照)。第1実施例では拡散誤差補正データCdxと閾値th1,th2,th3との大小を比較して(図12のステップS126,130,S134)、各ドットの形成/非形成を判定していた。これに対し、第2実施例では、それぞれの閾値に閾値ノイズNsを加えた値と拡散誤差補正データCdxとの大小を比較して(図19のステップS125,S131,S135)、各ドットのオン・オフを判定する点で相違する。この閾値ノイズNsは各ドットのオン・オフの結果に応じて設定される(図19のステップS141)。第2実施例では拡散誤差の配分として、通常用いられる配分(図13)を用いている点でも第1実施例と相違する。なお、本実施例では、この閾値ノイズNsが本発明における抑制手段の一部に相当する。
【0082】
閾値ノイズNsの設定について説明する。閾値ノイズNsが正の値である場合には、各ドットのオン・オフに関与する閾値がそれぞれ大きくなることを意味しているため、図19のフローチャートより明らかな通り、各ドットの形成が抑制されることになる。第2実施例では、ある画素についてドットをオンにする判定がなされたときに閾値ノイズNsとして正の所定値を設定し、ドットをオフとする判定がなされたときは閾値ノイズNsを値0とする。このように設定すれば、ドットを形成すべき画素に隣接する画素ではドットの形成が抑制されることになり、ドット同士の接触を抑制することができる。第2実施例ではこのように閾値ノイズNsをドットの接触を抑制するための一手段として用いているのである。
【0083】
閾値ノイズNsに設定される値はドットの径や記録ピッチに基づき、ドットの接触を抑制する要求に応じて定めることができる。また、複数の画素についての多値化に反映される閾値ノイズNsを設定するものとしてもよい。かかる閾値ノイズNsの例を図20に示す。図20は、着目している画素PPに対し、主走査方向に順次隣接する画素P1,P2,P3について設定された閾値ノイズNsを示す説明図である。かかる設定では、画素P1についての多値化を行うときには閾値th1に閾値ノイズNs1を加えた値に基づいてドットのオン・オフが判定されることになるし、画素P2については閾値th1に閾値ノイズNs2を加えた値に基づいてドットのオン・オフが判定されることになる。画素P1のドットがオン・オフによっては、画素P2についてはさらに閾値ノイズNs1が加えられる場合もある。このように閾値ノイズNsを設定すれば、例えば着目している画素PPに対して1つ間をあけて隣接する画素P2でもドットの接触が生じる可能性があるほどドット径が大きい場合であっても、画素P2においてドットの発生を抑制することができる。
【0084】
閾値ノイズNsはドットの接触を抑制する要求に応じて種々設定可能な値であり、例えば図20に示すように複数の画素に影響する閾値ノイズNsを設定する場合は、着目している画素PPからの距離に応じて閾値ノイズNsを小さくするように設定することができる。一般に着目している画素PPに近い程、ドットの接触を回避する必要性が高いため、図20のように設定しておけば、ドット同士の接触のうち画質に与える影響が大きいものをより確実に抑制することができる。
【0085】
閾値ノイズNsはラスタを形成する主走査の回数に応じて設定することもできる。図21は2回の主走査でラスタを形成するオーバラップ方式の記録を行う場合の閾値ノイズNsの設定について示す説明図である。第1実施例において説明した通り、オーバラップ方式の記録を行う場合には、着目している画素PPに隣接する画素P1よりもさらにその隣の画素P2においてドットの発生を抑制することが望まれる。図21に示した閾値ノイズNsを用いれば、着目している画素PPに対し1つおいて隣接する画素P2で閾値ノイズNsを大きくしているため、該画素でのドットの発生を抑制することができる。ラスタを形成する主走査の回数に応じて閾値ノイズNsを大きく設定する画素を種々変えて設定可能である。閾値ノイズを複数用意し、ラスタを形成する主走査の回数に応じて使い分けるものとしてもよい。また、第2実施例においても第1実施例と同様、例えばドットの記録率が低い画像領域についてのみドットの形成を抑制するようにしてもよい。
【0086】
なお、第2実施例では、多値化手段として誤差拡散法を用いているが、他の代表的な手法であるディザ法を用いるものとしても構わない。ディザ法の具体的な処理については説明を省略するが、各画素の階調値がいわゆるディザマトリックスで与えられる閾値よりも大きい場合にドットを形成する多値化の手法である。第2実施例で設定される閾値ノイズNsをこのディザマトリックスで与えられる閾値に加えるようにすれば、それぞれドットの発生を抑制することが可能となる。但し、ディザマトリックスはこのような閾値ノイズNsを加えたことにより生じる明度誤差を自然に解消できる方法ではないため、いずれかの画素について閾値ノイズNsを加えた場合には別の画素について閾値ノイズNsを引くことで明度誤差を最小限に抑えるようにしておくことが望ましい。
【0087】
(4)第3実施例
次に本発明の第3実施例の印刷装置について説明する。第3実施例の印刷装置は、ハードウェア構成としては第1実施例(図1〜図10)と同じである。第3実施例ではドット形成制御処理ルーチンの流れが第1実施例(図11)とは相違する。該ルーチンについて説明する。
【0088】
図22は第3実施例のドット形成制御処理ルーチンの流れを示すフローチャートである。このルーチンにおいて、画像データの入力、解像度変換、色補正処理、多値化処理(ステップS100,S105,S110,S120)までは第1実施例におけるドット形成制御処理ルーチンと同じである。多値化処理の内容も第1実施例における処理(図12)と同じである。本実施例では誤差を拡散する配分として通常用いられる配分(図13)を用いている。
【0089】
多値化が終了した後、第3実施例のドット形成制御処理ルーチンでは接触画素数のカウントを行う(ステップS208)。接触画素数とは、ドットが形成される画素について、その画素に形成されたドットと接触可能なドットが形成される画素の数をいう。接触画素のカウントについて図23に基づいて具体的に説明する。図23は多値化により各画素に形成すべきドットが決定された様子を示す説明図である。図示の都合上、縦横それぞれ10画素ずつについて示した。以下の説明では各画素を表示するのに図23中に示した番号L1〜L10およびC1〜C10を用いて、例えば(L1,C1)のように表すものとする。
【0090】
今、画素(L2,C2)に着目する。この画素はドットを形成すべき画素となっている。しかし、このドットと接触可能なドットはいずれの画素にも形成されていない。従って、画素(L2,C2)に対する接触画素数は値0ということになる。
【0091】
次に、ドットを形成すべき画素となっている画素(L1,C4)に着目する。この画素に形成されたドットには、画素(L2,C5)に形成されたドットが接触している。本実施例のプリンタ22は先に説明した通り、キャリッジが主走査を行ってラスタを形成している。そして機構上、副走査方向に隣接するラスタを1回の主走査で形成することはできないようになっている。従って、本実施例のプリンタ22にとっては副走査方向に生じるドットの接触は滲み等を生じ得ず画質に影響を与えない。そこで、本実施例ではドットの接触が副走査方向に生じる場合には無視するものとしている。画素(L2,C5)は主走査方向にみれば、いずれのドットも接触していないため、接触画素数は値0となる。もちろん、副走査方向の接触が画質に影響を与えるようなプリンタである場合には、画素(L2,C5)の接触画素数を値1としてもよい。
【0092】
次に、画素(L2,C5)に着目すると、この画素のドットには、主走査方向に隣接する画素(L2,C6)に形成されたドットが接触しているため、接触画素数は値1となる。また、画素(L2,C6)については、主走査方向に隣接する画素(L2,C5)と(L2,C7)の双方に形成されたドットが接触しているため、接触画素数は値2となる。
【0093】
主走査方向に隣接する画素が必ずしも接触画素に該当するとは限らない。例えば主走査方向に並んだ画素(L5,C1)、(L5,C2)、(L5,C3)に着目すると、これらに形成されているのは小ドットであるため、いずれのドットも互いに非接触である。従って、これらの画素についての接触画素数は全て値0となる。
【0094】
また、主走査方向に隣接する画素以外にも接触画素となる場合がある。例えば、大ドットが形成された画素(L6,C5)、(L6,C7)、(L6,C9)に着目すれば、これらの画素は、主走査方向に隣接した画素ではないが、互いにドットが接触している。従って、接触画素数はそれぞれ値1または値2となる。さらに、画素(L8,C1)に着目すれば、画素(L8,C2)、(L8,C3)の双方に形成されたドットが接触しているため、接触画素数は値2となる。
【0095】
以上、具体例に基づいて説明した通り、接触画素数はドット径およびドットの記録位置に応じて判定することができる。本実施例の場合、大ドットであれば主走査方向に1つ間をあけて隣接する画素同士に形成された場合でも接触し得るが、これ以上離れた画素ではドットの接触は生じ得ない。従って、ドットが形成される各画素について主走査方向に左右2つずつの画素に形成されるドットの種類を調べれば接触画素数を求めることができる。図22のステップS208ではこのようにして各画素についての接触画素数を求め、その最大値を求めている。
【0096】
次に、CPU81は接触画素数の最大値に応じて、各ラスタを形成するために要する主走査の回数(以下、パス数という)を設定する。例えば、接触画素数が値0である場合には、いずれのドットも接触していないことを意味しているからパス数を値1に設定する。この場合は、各ラスタを1回の主走査で形成してもドット同士の接触による滲み等は生じないからである。
【0097】
接触画素数が値1である場合には、いずれかの箇所で2つのドットが接触していることを意味している。従って、この場合はパス数を値2に設定する。接触しているドットを2回の主走査に分けて形成すれば、ドット同士が接触していても滲み等は生じないからである。上述の例からパス数は「接触画素数の最大値+1」により設定することが可能である。もちろん、これ以上の値に設定するものとしても構わないし、ドット同士の接触による滲みを適切に回避可能なパス数が設定できればこれ以下の値であっても構わない。
【0098】
こうしてパス数を設定した後、CPU81はラスタライズを行い、データを出力する(ステップS210,S215)。これらの処理は第1実施例の場合と同様である。但し、ラスタライズにおいては、接触するドットを各主走査に適宜割り当てることが望ましい。例えば、パス数が値2である場合を考える。この場合は1回目の主走査でラスタの奇数番目のドットを形成し(図73のC1,C3,C5・・・等)、2回目の主走査でラスタの偶数番目のドット(C2,C4,C6・・・等)を形成するのが単純な方法である。しかし、この場合には図73の画素(L6,C5)、(L6,C7)、(L6,C9)が1回目の主走査で形成されることになり、接触部分で滲みが生じる。そこで、ラスタライズにおいては、例えば画素(L6,C5)と画素(L6,C9)が1回目の主走査で形成され、画素(L6,C7)が2回目の主走査で形成されるようにデータを設定することが望ましい。本実施例では、接触画素数をカウントする際に全画素についてドットの接触状態を検出する際に、各画素ごとに接触画素の位置を記憶しておくことで、上記割り当てを実現している。
【0099】
第3実施例の印刷装置によれば、接触するドットを複数回の主走査でそれぞれ形成することにより、該接触において滲み等が生じることを回避することができ、画質を向上することができる。なお、パス数の設定は通常、副走査方向の送り量とも密接な関係があるため、第3実施例では画像全体を一定のパス数で形成するものとして説明したが、画像の領域ごとにパス数を変化させるものとしても構わない。例えば、接触画素数が大きい画素付近の領域においてのみその他の領域よりも大きいパス数で画像を形成するものとしても構わない。こうすればパス数の増加による印刷速度の低下を最小限にとどめることができる。また、第1実施例等と同様にドットの記録率が低い領域についてのみ接触画素数をカウントしてパス数を決定することもできる。
【0100】
第3実施例では多値化の方法として誤差拡散法を用いているが、他の代表的な方法であるディザ法を用いて多値化を行うものとしてもよい。
【0101】
以上で説明した各実施例におけるドット形成制御処理は、コンピュータ90のCPU81が行っている。従って、上記実施例はそれぞれのドット形成制御処理の一部または全部を記録したコンピュータ読みとり可能な記録媒体としての態様を採ることもできる。このような記憶媒体としては、フレキシブルディスクやCD−ROM、光磁気ディスク、ICカード、ROMカートリッジ、パンチカード、バーコードなどの符号が印刷された印刷物、コンピュータの内部記憶装置(RAMやROMなどのメモリ)および外部記憶装置等の、コンピュータが読取り可能な種々の媒体を利用できる。また、コンピュータに上記で説明した多値化等を行うコンピュータプログラムを通信経路を介して供給するプログラム供給装置としての態様も可能である。
【0102】
以上で説明した各実施例は主走査を伴うプリンタ22を対象としているが、本発明はラスタ方向に複数のノズルを備えており、主走査を伴うことなくラスタを形成可能なプリンタにも適用可能である。また、以上で説明した各ドット形成制御処理ルーチンの一部を組み合わせて用いることもできる。
【0103】
また、上記各実施例では、多色のインクを備えたプリンタにおいて、各色のインクで形成されるドット同士の接触を回避するものとして説明しているが、単色のインクを備えたプリンタへも適用可能であるし、異なるインク(例えば、他の色または濃度のインク)で形成されるドットとの接触を回避するようにすることも可能である。
【0104】
以上、本発明の種々の実施例について説明してきたが、本発明はこれらに限定されるものではなく、その要旨を逸脱しない範囲で、種々の形態による実施が可能である。例えば、上記実施例で説明した種々の制御処理は、その一部または全部をハードウェアにより実現してもよい。
【図面の簡単な説明】
【図1】本発明の印刷装置の概略構成図である。
【図2】ソフトウェアの構成を示す説明図である。
【図3】本発明のプリンタの概略構成図である。
【図4】本発明のプリンタのドット記録ヘッドの概略構成を示す説明図である。
【図5】本発明のプリンタにおけるドット形成原理を示す説明図である。
【図6】本発明のプリンタにおけるノズル配置例を示す説明図である。
【図7】本発明のプリンタにおけるノズル配置の拡大図および形成されるドットとの関係を示す説明図である。
【図8】本発明のプリンタにより径の異なるドットを形成する原理を説明する説明図である。
【図9】プリンタの制御装置の内部構成を示す説明図である。
【図10】本発明のプリンタにおけるノズルの駆動波形および該駆動波形により形成されるドットの様子を示す説明図である。
【図11】第1実施例におけるドット形成制御ルーチンの流れを示すフローチャートである。
【図12】第1実施例における誤差拡散による多値化処理の流れを示すフローチャートである。
【図13】誤差拡散において通常用いられる誤差配分を示す説明図である。
【図14】第1実施例において誤差拡散で用いられる誤差配分を示す説明図である。
【図15】第1実施例におけるドットの記録率を示す説明図である。
【図16】通常の誤差拡散法における誤差配分とドットの形成との関係について示す説明図である。
【図17】第1実施例での誤差拡散法における誤差配分とドットの形成との関係について示す説明図である。
【図18】第1実施例において誤差拡散で用いられる第2の誤差配分を示す説明図である。
【図19】第2実施例における誤差拡散法による多値化処理の流れを示すフローチャートである。
【図20】閾値ノイズの設定を示す説明図である。
【図21】閾値ノイズの第2の設定を示す説明図である。
【図22】第3実施例におけるドット形成制御処理ルーチンの流れを示すフローチャートである。
【図23】接触画素数のカウントについて示す説明図である。
【図24】ドット径の設定について示す説明図である。
【図25】隣接した画素にドットを形成した状態を示す説明図である。
【図26】ドットの滲みが生じた場合のドットの様子を示す説明図である。
【図27】ドットが楕円形である場合のドットの様子を示す説明図である。
【符号の説明】
12…スキャナ
14…キーボード
15…フレキシブルドライブ
16…ハードディスク
18…モデム
21…カラーディスプレイ
22…カラープリンタ
23…紙送りモータ
24…キャリッジモータ
26…プラテン
28…印字ヘッド
31…キャリッジ
32…操作パネル
34…摺動軸
36…駆動ベルト
38…プーリ
39…位置検出センサ
40…制御回路
41…CPU
42…プログラマブルROM(PROM)
43…RAM
44…PCインタフェース
45…周辺入出力部(PIO)
46…タイマ
47…駆動用バッファ
48…バス
51…発信器
55…分配出力器
61、62、63、64、65、66…インク吐出用ヘッド
67…導入管
68…インク通路
71…黒インク用のカートリッジ
72…カラーインク用カートリッジ
80…バス
81…CPU
82…ROM
83…RAM
84…入力インターフェイス
85…出力インタフェース
86…CRTC
87…ディスクコントローラ(DDC)
88…シリアル入出力インタフェース(SIO)
90…パーソナルコンピュータ
91…ビデオドライバ
95…アプリケーションプログラム
96…プリンタドライバ
97…解像度変換モジュール
98…色補正モジュール
99…ハーフトーンモジュール
100…ラスタライザ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a printing apparatus and a printing method for printing an image by discharging ink, and a recording medium on which a program for the printing is recorded, and more particularly to a printing apparatus and the like in a case where dots to be formed have a diameter that allows mutual contact. .
[0002]
[Prior art]
2. Description of the Related Art Conventionally, as an output device of a computer, dots are formed by several colors of ink ejected from a plurality of nozzles provided on a head while relatively reciprocating a head and a sheet (hereinafter, referred to as main scanning). Inkjet printers that record images using a computer have been proposed, and are widely used for printing images processed by a computer or the like in multiple colors and multiple gradations. In an ink jet printer, when forming a solid area, it is necessary to set a dot diameter so that no gap is generated between dots. The setting of the diameter will be described with reference to FIG.
[0003]
FIG. 24 shows a state in which dots are recorded on printing paper by an inkjet printer. The squares indicated by broken lines in these figures indicate locations where dots should be formed. In the ideal case, the center of each dot is located approximately at the center of these squares. In order to be able to form a so-called solid area, it is necessary to make no gap between adjacent dots. Therefore, at least the dot diameter must be at least d0 shown in FIG. Since d0 corresponds to a diagonal line of a square with one side a, d0 = √2 × a. On the other hand, deviations occur in dot formation positions due to various factors such as mechanical manufacturing errors of the nozzles. In order to form a solid area even when such a deviation occurs, it is necessary to allow a margin for the dot diameter with respect to the above value (△ d in FIG. 24). As described above, the dot diameter dl is set to d0 + 2 × △ d as a value that can form a solid area while preventing banding. FIG. 25 shows how dots having such a diameter are formed. By partially overlapping the adjacent dots in this way, it is possible to prevent a gap from being generated. In recent years, an ink jet printer capable of forming dots with two or more types of different diameters has been proposed, but at least one type usually has dots corresponding to the above-described diameters.
[0004]
[Problems to be solved by the invention]
On the other hand, in an ink jet printer, dots are formed by ejecting ink onto paper, so that it takes a certain amount of time for the dots to dry. In FIG. 25, after the dot Dot1 is formed, if the adjacent dot Dot2 is formed before the dot is dried, the ink may bleed at the overlapping portion (the hatched portion in FIG. 25). Was. Also, due to such bleeding, the two may be united to form large elliptical dots as shown in FIG. 26 in some cases. The occurrence of such bleeding or large oval dots makes the graininess of the image conspicuous, and is one of the causes of lowering the image quality. In order to avoid such a phenomenon, it is possible to increase the time interval at which dots are formed, but another problem of lowering the printing speed is caused.
[0005]
Dot bleeding or the like occurs when the dots come into contact with each other. Although FIG. 25 illustrates a case where adjacent dots contact each other, depending on the dot diameter, there is a case where adjacent dots contact each other with one space therebetween. In addition, similar problems have occurred with dots having a relatively small diameter. In general, a dot having a small diameter tends to have an elliptical shape as shown in FIG. 27, and adjacent dots easily come into contact with each other as shown in FIG. Dots of small diameter are used when printing relatively bright areas. In such an area, dots are sparsely formed, and each dot is easily recognized. Therefore, generation of large dots as described above with reference to FIG. 26 is considered to degrade image quality.
[0006]
Such a problem can occur not only in an ink jet printer that forms dots while performing main scanning, but also in an ink jet printer that forms a raster without main scanning by providing a plurality of nozzles in the raster direction. In FIGS. 25 and 26, the problem has been described by taking the main scanning direction as an example, but the same applies to the relative movement (hereinafter referred to as sub-scanning) direction of the head and the printing paper in the direction intersecting with the main scanning. Problems can arise. Further, a similar problem may occur even when each raster is formed by two or more main scans by the so-called overlap recording.
[0007]
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems in the related art, and is a technology that can prevent bleeding or the like due to contact between adjacent dots and improve image quality in an ink jet printer. The purpose is to provide.
[0008]
[Means for Solving the Problems and Their Functions and Effects]
In order to solve at least a part of the problems described above, the printing apparatus of the present invention employs the following configuration.
A first printing apparatus according to the present invention includes:
Forming a raster as a dot row arranged in one direction at a predetermined recording pitch by discharging ink from the head, and moving the print medium relative to the head in a direction intersecting the raster, A printing device that prints an image corresponding to the input image data on the print medium,
For each pixel corresponding to the image data, a pixel determination unit that determines whether to be a formation pixel as a pixel to form a dot or a blank pixel as a pixel not forming a dot,
Suppressing means that acts on the pixel determining means, and suppresses the determination of a peripheral pixel of the forming pixel as a forming pixel on which a dot having a diameter that can be in contact with a dot formed on the forming pixel should be formed.
A dot forming means for driving the head to form dots in accordance with the result determined by the pixel determining means is provided.
[0009]
The first printing method according to the present invention includes:
Forming a raster as a dot row arranged in one direction at a predetermined recording pitch by discharging ink from the head, and moving the print medium relative to the head in a direction intersecting the raster, A printing method for printing an image corresponding to the input image data on the print medium,
(A) determining, for each pixel corresponding to the image data, whether to be a pixel to be formed with a dot or a blank pixel as a pixel not to form a dot;
(B) in the step (a), a step of suppressing a pixel around the formation pixel from being a formation pixel in which a dot having a diameter capable of contacting a dot formed in the formation pixel is to be formed;
(C) a step of driving the head to form dots in accordance with the result determined in the step (a).
[0010]
According to the printing apparatus and the printing method, for each pixel corresponding to the image data, it is determined whether the pixel is a pixel to be formed or a blank pixel is a pixel not forming a dot. In the process of forming dots accordingly, it is possible to suppress the determination of pixels around the formation pixel as formation pixels to form dots having a diameter that can be in contact with the dots formed in the formation pixel. As a result, the occurrence of dots that are in contact with each other is suppressed, so that bleeding or the like in the contact portion between the dots can be prevented, and the image quality can be improved.
[0011]
In the above invention, when the dots formed in the pixels around one formation pixel are dots having a diameter that cannot be in contact with the dots formed in this formation pixel, it does not matter whether the formation is suppressed or not. is there. Note that the diameter that can be contacted means a pixel that may be contacted in consideration of a shift in the dot formation position.
[0012]
Here, the “peripheral pixels” include not only pixels located in a direction in which a raster is formed, but also pixels located in a direction intersecting with the raster (hereinafter, referred to as a sub-scanning direction). However, whether or not bleeding occurs between the contacted dots is related to whether or not both are formed within the time for drying the ink. Therefore, when adjacent dots cannot be formed in the sub-scanning direction within a short time until the dots dry due to the mechanism of the printing apparatus or the type of paper, a raster is formed from the peripheral pixels. It may be specified to a pixel located in the direction. The above-described invention is applicable to both a printing apparatus that performs main scanning and a printing apparatus that does not perform main scanning.
[0013]
In the above printing apparatus,
The pixel determination unit is a unit that determines the pixel as the formation pixel when the image data of each pixel is larger than a predetermined threshold,
The suppression unit may be a unit that increases the threshold value for a suppression pixel that is a pixel that should suppress the formation of a dot having a contactable diameter than a pixel that does not.
[0014]
According to such a printing apparatus, for the suppression pixel, the threshold value that determines whether or not each pixel should be a formation pixel is increased, so that dot formation at the pixel can be suppressed. When the printing apparatus is capable of forming dots having a plurality of diameters, only the threshold value related to the formation of dots having a diameter that can contact the dots formed on the formed pixels may be increased.
[0015]
In the above printing apparatus,
The deviation amount that increases the threshold value may be a value that decreases as the distance between the formation pixel and the suppression pixel increases.
[0016]
According to such a printing apparatus, it is possible to increase the certainty that the formation of a dot having a diameter that allows contact with the formation pixel is suppressed as the pixel is closer to the formation pixel. Since the area of the portion where the dots contact each other increases as the distance between them decreases, formation of a dot having a diameter that can be touched can be more reliably suppressed for a pixel with a shorter distance. Can be further reduced, and the image quality can be improved. As a result, the printing apparatus has a relatively high dot recording density, and can improve image quality even when contact between dots becomes unavoidable.
[0017]
In the above printing apparatus,
The pixel determination unit is a unit that determines whether each pixel is the formation pixel by an error diffusion method,
The suppression means may be a means for suppressing the formation of a dot having a contactable diameter by allocating a large diffusion error in error diffusion to the peripheral pixels.
[0018]
The first printing device is
When the raster is formed by main scanning in which the head reciprocates relatively in the raster direction with respect to a print medium,
The peripheral pixels may be pixels located in the main scanning direction with respect to the formed pixels, and may be pixels formed continuously with the formed pixels in the main scanning.
[0019]
In a printing apparatus that forms a raster by main scanning, when pixels formed continuously during the main scanning come into contact with each other, bleeding or the like easily occurs. In the above-described printing apparatus, since contact of dots with such pixels is suppressed, bleeding and the like can be suppressed, and image quality can be improved.
[0020]
The pixels that are continuously formed are, for example, adjacent pixels when all the dots of the raster are formed by one main scan. When a raster is formed by two main scans by performing recording by a so-called overlap method, for example, the next pixel adjacent to a pixel to be formed is separated by one in the main scanning direction according to the recording method. And so on correspond to pixels formed continuously. This may be extended to a more general number.
[0021]
That is, in the printing device,
The peripheral pixels in which the formation of the dots is suppressed are determined according to the relative number of movements of the head and the print medium in a direction intersecting the raster performed while all the dots forming the raster are formed. The pixel may be a pixel separated from the formation pixel by a distance.
[0022]
In the case of a printing apparatus with a main scan, each time the number of main scans required to form a raster increases, one form pixel and a pixel formed continuously with the form pixel, that is, a dot having a contactable diameter The distance from the pixel where the formation of the pixel should be suppressed increases. This relationship is the same even in a printing apparatus capable of forming a raster without main scanning. The number of series of recordings required to form a raster can be counted in units of sub-scanning performed for each recording. In the printing apparatus, the distance between the morphological pixel and the pixel having a diameter that can be contacted is increased in accordance with the number of movements, so that dot bleeding and the like can be appropriately suppressed, and image quality can be improved. it can.
[0023]
further,
The suppression unit may be a unit that suppresses the formation of the dots in a region where the dot recording rate is 50% or less.
[0024]
The blurring of dots is conspicuous in an area where dots are formed relatively sparsely. In the printing apparatus, the contact of dots can be suppressed in such an area, so that the image quality can be improved. Note that the area where the recording rate is 50% or less is a guideline and not a strict one. Therefore, in consideration of the effect on image quality, it is assumed that the formation of the dots is suppressed in a wider range than this. No problem.
[0025]
A second printing apparatus according to the present invention includes:
Forming a raster as a dot row arranged at a predetermined recording pitch in one direction by discharging ink from the head, and moving the print medium relative to the head in a direction intersecting the raster, A printing device that prints an image corresponding to the input image data on the print medium,
For each pixel corresponding to the image data, a pixel determination unit that determines whether to be a formation pixel as a pixel to form a dot or a blank pixel as a pixel not forming a dot,
For each formed pixel, means for determining the number of contact pixels, which are pixels that are formed pixels of a dot having a diameter that can contact a dot to be formed in the formed pixel,
A dot forming unit that divides by a division number set based on the maximum value of the number of the contact pixels to form dots of each raster is provided.
[0026]
A second printing method according to the present invention includes:
Forming a raster as a dot row arranged at a predetermined recording pitch in one direction by discharging ink from the head, and moving the print medium relative to the head in a direction intersecting the raster, A printing method for printing an image corresponding to the input image data on the print medium,
(A) determining, for each pixel corresponding to the image data, whether to form a pixel to be formed with a dot or a blank pixel as a pixel not forming a dot;
(B) for each formation pixel, a step of calculating the number of contact pixels, which are pixels forming dots having a diameter that allows contact with the dots to be formed in the formation pixel;
(C) forming a dot of each raster by dividing by a division number set based on the maximum value of the number of contact pixels.
[0027]
According to the printing apparatus and the printing method, when a dot that can be contacted is formed, the raster is divided and recorded, so that occurrence of bleeding or the like between the two can be suppressed. This is because, by recording in a divided manner, there is a margin for drying the previously formed dots. For example, when a dot having a diameter that allows contact with an adjacent pixel is formed for a certain formed pixel, the raster is formed twice. In addition, in the case where an adjacent pixel and a dot formed on the adjacent pixel can be in contact with a certain form pixel, the raster is formed in three times. As described above, in the above-described printing apparatus and the like, the number of times of forming the raster is set according to the maximum value of the number of pixels in which the dots that can be formed on the pixels can be contacted. By taking such a measure, it is possible to appropriately suppress bleeding or the like due to contact of dots.
[0028]
Note that the second printing apparatus and printing method of the present invention are applicable not only to a printing apparatus that forms a raster with main scanning but also to a printing apparatus that forms a raster without main scanning. Further, the printing apparatus and the like of the present invention described above can be applied to a printing apparatus capable of forming not only dots having one kind of diameter but also dots having a plurality of different diameters.
[0029]
The printing apparatus of the present invention described above can also be configured by realizing the determination of dot formation and the like by a computer, and therefore, the present invention can also take an aspect as a recording medium on which such a program is recorded. it can.
[0030]
The first recording medium of the present invention comprises:
A computer-readable recording medium for recording a program for setting data in common with a printing apparatus that prints an image corresponding to input image data by ejecting ink on a print medium, at least,
For each pixel corresponding to the image data, a function of determining whether to be a formation pixel as a pixel to form a dot or a blank pixel as a pixel not forming a dot,
In the above-described function, a program for realizing a function of suppressing a determination that a pixel around the formation pixel is a formation pixel in which a dot having a diameter that can be in contact with a dot formed in the formation pixel is to be formed is recorded. This is a recording medium.
[0031]
The second recording medium of the present invention comprises:
A method for printing a program for setting data common to a printing apparatus that prints an image corresponding to input image data by ejecting ink on a print medium, comprising:
For each pixel corresponding to the image data, a function of determining whether to be a formation pixel as a pixel to form a dot or a blank pixel as a pixel not forming a dot,
For each formed pixel, a function of calculating the number of contact pixels that are pixels that are formed pixels of a dot having a diameter capable of contacting a dot to be formed in the formed pixel,
And a function of setting a series of recording times required for forming each raster based on the maximum value of the number of the contact pixels.
[0032]
The above-described printing apparatus and printing method of the present invention described above can be realized by executing the program recorded on each of the above-described recording media by the computer. Examples of the recording medium include a flexible disk, a CD-ROM, a magneto-optical disk, an IC card, a ROM cartridge, a punched card, a printed matter on which a code such as a barcode is printed, and an internal storage device of a computer (a memory such as a RAM or a ROM). ) And external storage devices, such as various computer readable media. The present invention also includes an aspect as a program supply device that supplies a computer program for realizing the control function of the printing apparatus to a computer via a communication path.
[0033]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described based on examples.
(1) Device configuration
FIG. 1 is a block diagram illustrating a configuration of a printing apparatus as one embodiment of the present invention. As shown in the figure, the scanner 12 and the color printer 22 are connected to a computer 90, and a predetermined program is loaded and executed on the computer 90 to function as a printing apparatus as a whole. The computer 90 includes the following units interconnected by a bus 80, centering on a CPU 81 that executes various arithmetic processes for controlling operations related to image processing according to a program. The ROM 82 previously stores programs and data necessary for the CPU 81 to execute various arithmetic processes, and the RAM 83 temporarily reads and writes various programs and data necessary for the CPU 81 to execute various arithmetic processes. Memory. The input interface 84 controls input of signals from the scanner 12 and the keyboard 14, and the output interface 85 controls output of data to the printer 22. The CRTC 86 controls signal output to the CRT 21 capable of color display, and the disk controller (DDC) 87 controls transmission and reception of data with the hard disk 16, the flexible drive 15, or a CD-ROM drive (not shown). The hard disk 16 stores various programs loaded and executed in the RAM 83 and various programs provided in the form of device drivers. In addition, a serial input / output interface (SIO) 88 is connected to the bus 80. The SIO 88 is connected to the modem 18, and is connected to the public telephone line PNT via the modem 18. The computer 90 is connected to an external network via the SIO 88 and the modem 18. By connecting to a specific server SV, it is also possible to download a program required for image processing to the hard disk 16. In addition, it is also possible to load a necessary program from a flexible disk FD or a CD-ROM and cause the computer 90 to execute the program.
[0034]
FIG. 2 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 final image data FNL to be transferred to the printer 22 is output from the application program 95 via these drivers. . An application program 95 for retouching an image reads an image from the scanner 12 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 scanner 12 is original color image data ORG read from a color original and composed of three color components of red (R), green (G), and blue (B).
[0035]
When 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 sends the image information to the printer 22 in a printable signal (here, each color of cyan, magenta, yellow, and black). Into a multi-valued signal). In the example shown in FIG. 2, the printer driver 96 includes a resolution conversion module 97, a color correction module 98, a color correction table LUT, a halftone module 99, and a rasterizer 100.
[0036]
The resolution conversion module 97 serves to convert the resolution of the color image data handled by the application program 95, that is, the number of pixels per unit length into a resolution that can be handled by the printer driver 96. Since the image data whose resolution has been converted in this way is still image information of three colors of RGB, the color correction module 98 refers to the color correction table LUT and uses the cyan (C) and magenta colors used by the printer 22 for each pixel. (M), yellow (Y) and black (K). The color-corrected data has a gradation value in a width of, for example, 256 gradations. The halftone module 99 executes a halftone process for expressing such gradation values by dispersing and forming dots by the printer 22. The image data processed in this manner is rearranged by the rasterizer 100 in the order of data to be transferred to the printer 22, and output as final image data FNL. Note that the halftone module 99 corresponds to a pixel determination unit in the present invention.
[0037]
In this embodiment, the printer 22 only plays a role of forming dots in accordance with the image data FNL, and does not perform image processing. However, the above-described modules may be provided in the printer 22 and the processing may be performed by the printer 22.
[0038]
Next, a schematic configuration of the printer 22 will be described with reference to FIG. As shown in the drawing, the printer 22 includes a mechanism for transporting a sheet P by a paper feed motor 23, a mechanism for reciprocating a carriage 31 in the axial direction of a platen 26 by a carriage motor 24, and a print head mounted on the carriage 31. The control circuit 40 controls the paper feed motor 23, the carriage motor 24, the print head 28, and the operation panel 32 to exchange signals with each other. .
[0039]
The mechanism for reciprocating the carriage 31 in the axial direction of the platen 26 includes an endless drive belt between a carriage shaft 24 and a slide shaft 34 laid parallel to the platen 26 and holding the carriage 31 in a slidable manner. A pulley 38 on which the carriage 36 is extended and a position detection sensor 39 for detecting the origin position of the carriage 31 are provided.
[0040]
The carriage 31 contains a cartridge 71 for black ink (Bk) and five color inks of cyan (C1), light cyan (C2), magenta (M1), light magenta (M2), and yellow (Y). The color ink cartridge 72 can be mounted. For two colors of cyan and magenta, two types of inks are provided. A total of six ink discharge heads 61 to 66 are formed on the print head 28 below the carriage 31. At the bottom of the carriage 31, an introduction pipe 67 (which guides ink from the ink tank to each color head). (See FIG. 4). When the cartridge 71 for black (Bk) ink and the cartridge 72 for color ink are mounted on the carriage 31 from above, the introduction pipe 67 is inserted into the connection hole provided in each cartridge, and the ejection heads 61 to 66 from each ink cartridge. Can be supplied to the printer.
[0041]
A mechanism for discharging ink and forming dots will be described. FIG. 4 is an explanatory diagram showing a schematic configuration inside the ink discharge head 28. When the ink cartridges 71 and 72 are mounted on the carriage 31, the ink in the ink cartridge is sucked out through the introduction pipe 67 by utilizing the capillary phenomenon as shown in FIG. The print head 28 is guided to each color head 61 to 66 of the print head 28. When the ink cartridge is first mounted, the operation of sucking ink into the heads 61 to 66 of the respective colors is performed by a dedicated pump. In this embodiment, a pump for suction and a cap for covering the print head 28 at the time of suction are provided. The illustration and description of such a configuration are omitted.
[0042]
As will be described later, the heads 61 to 66 for each color are provided with 48 nozzles Nz for each color (see FIG. 6). An excellent piezo element PE is arranged. FIG. 5 shows the structure of the piezo element PE and the nozzle Nz in detail. As shown in the upper part of FIG. 5, the piezo element PE is installed at a position in contact with the ink passage 68 that guides the ink to the nozzle Nz. As is well known, the piezo element PE is an element that distorts the crystal structure due to the application of a voltage and converts electro-mechanical energy very quickly. In the present embodiment, by applying a voltage having a predetermined time width between the electrodes provided at both ends of the piezo element PE, the piezo element PE expands by the voltage application time as shown in the lower part of FIG. One side wall 68 is deformed. As a result, the volume of the ink passage 68 contracts in accordance with the expansion of the piezo element PE, and the ink corresponding to the contraction is discharged as particles Ip at a high speed from the tip of the nozzle Nz. Printing is performed by the permeation of the ink particles Ip into the paper P mounted on the platen 26.
[0043]
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.
[0044]
Although the printer 22 of the present invention includes the nozzles Nz having a constant diameter as shown in FIG. 6, three types of dots having different diameters can be formed using the nozzles Nz. This principle will be described. FIG. 7 is an explanatory diagram showing the relationship between the driving waveform of the nozzle Nz when ink is ejected and the ink Ip ejected. The drive waveform indicated by a broken line in FIG. 7 is a waveform when a normal dot is ejected. In the section d2, once a negative voltage is applied to the piezo element PE, the piezo element PE is deformed in a direction in which the cross-sectional area of the ink passage 68 is increased, contrary to the above description with reference to FIG. As shown in the state A of FIG. 7, the ink interface Me called the meniscus is in a state in which it is depressed inside the nozzle Nz. On the other hand, when a negative voltage is suddenly applied as shown in a section d2 using the drive waveform shown by the solid line in FIG. 7, the meniscus is greatly depressed inward compared to the state A as shown in the state a. Next, when the voltage applied to the piezo element PE is made positive (section d3), ink is ejected based on the principle described above with reference to FIG. At this time, large ink droplets are ejected as shown in states B and C from the state where the meniscus is not much depressed inward (state A). As shown in state c, a small ink droplet is ejected.
[0045]
As described above, the dot diameter can be changed in accordance with the change rate when the drive voltage is made negative (section d1, d2). It is easy to imagine that the dot diameter can be changed depending on the magnitude of the peak voltage of the driving waveform. In this embodiment, based on such a relationship between the drive waveform and the dot diameter, a drive waveform for forming a small dot having a small dot diameter and a medium dot having the second dot diameter are formed. There are prepared two types of drive waveforms for this purpose. FIG. 8 shows a driving waveform used in this embodiment. The drive waveform W1 is a waveform for forming small dots, and the drive waveform W2 is a waveform for forming medium dots. By selectively using the two types, two types of small and medium dots can be formed from the nozzle Nz having a fixed nozzle diameter.
[0046]
In addition, a large dot can be formed by forming a dot using both the drive waveforms W1 and W2 in FIG. This situation is shown in the lower part of FIG. The lower part of FIG. 8 shows a state from the ejection of the small and medium dot ink droplets IPs and IPm ejected from the nozzles to the paper P. When two types of small and medium dots are formed using the driving waveform of FIG. 8, the ink droplet IP is ejected vigorously because the change amount of the piezo element PE is larger in the medium dot. Due to such a difference in the flying speed of the ink, when the carriage 31 moves in the main scanning direction, first ejects a small dot, and then ejects a medium dot. If the timing is adjusted according to the distance between the carriage 31 and the paper P, both ink droplets can reach the paper P at the same timing. In this embodiment, a large dot having the largest dot diameter is thus formed from the driving waveforms in the two types shown in FIG.
[0047]
Finally, the internal configuration of the control circuit 40 of the printer 22 will be described, and a method of driving the head 28 including a plurality of nozzles Nz shown in FIG. 6 will be described. FIG. 9 is an explanatory diagram showing the internal configuration of the control circuit 40. As shown in FIG. 9, inside the control circuit 40, in addition to the CPU 41, the PROM 42, and the RAM 43, a PC interface 44 for exchanging data with the computer 90, the paper feed motor 23, the carriage motor 24, the operation panel 32, and the like. A peripheral input / output unit (PIO) 45 for exchanging signals with the controller, a timer 46 for measuring time, and a driving buffer 47 for outputting dot on / off signals to the heads 61 to 66 are provided. Are interconnected by a bus 48. The control circuit 40 is also provided with a transmitter 51 that outputs a drive waveform (see FIG. 9) at a predetermined frequency, and a distributor 55 that distributes the output from the transmitter 51 to the heads 61 to 66 at a predetermined timing. ing. The control circuit 40 receives the dot data processed by the computer 90, temporarily stores the dot data in the RAM 43, and outputs the dot data to the driving buffer 47 at a predetermined timing.
[0048]
A mode in which the control circuit 40 outputs a signal to the heads 61 to 66 will be described. FIG. 10 is an explanatory diagram showing the connection of one nozzle row of the heads 61 to 66 as an example. One nozzle row of the heads 61 to 66 is interposed in a circuit in which the driving buffer 47 is on the source side and the distribution output unit 55 is on the sink side, and each piezo element PE constituting the nozzle row has its electrode Is connected to each output terminal of the driving buffer 47, and the other is connected to the output terminal of the distribution output device 55 collectively. As shown in FIG. 8, the drive waveform of the transmitter 51 is output from the distribution output unit 55. When ON / OFF is determined for each nozzle from the CPU 41 and a signal is output to each terminal of the driving buffer 47, only the piezo element PE that has received the ON signal from the driving buffer 47 side is driven according to the driving waveform. You. As a result, the ink particles Ip are simultaneously discharged from the nozzles of the piezo element PE that have received the ON signal from the driving buffer 47.
[0049]
As shown in FIG. 6, the heads 61 to 66 are arranged along the transport direction of the carriage 31, so that the timing at which each nozzle row reaches the same position with respect to the paper P is shifted. Therefore, the CPU 41 outputs the ON / OFF signal of each dot at a necessary timing via the driving buffer 47 in consideration of the displacement of each nozzle of the heads 61 to 66, and outputs the dot of each color. Has formed. Also, as shown in FIG. 6, the output of the on / off signal is controlled in consideration of the fact that each of the heads 61 to 66 also has two rows of nozzles.
[0050]
In the present embodiment, it is possible to form dots having different diameters by continuously outputting the driving waveforms W1 and W2 shown in FIG. 8 from a single transmitter 51. Each of them may be prepared, and dots having different diameters may be formed depending on their use.
[0051]
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 multi-color images on the paper P.
[0052]
In the present embodiment, as described above, the printer 22 having the head that discharges ink using the piezo element PE is used, but a printer that discharges ink by another method may be used. For example, the present invention may be applied to a printer of a type in which a heater arranged in an ink passage is energized and ink is ejected by bubbles generated in the ink passage.
[0053]
(2) Dot formation control
Next, control processing of dot formation in the printing apparatus of the present embodiment will be described. FIG. 11 shows the flow of the dot formation control processing routine. This is a process executed by the CPU 81 of the computer 90.
[0054]
When this process is started, the CPU 81 inputs image data (step S100). This image data is data passed from the application program 95 shown in FIG. 2 and includes 256 gradations of values 0 to 255 for each color of R, G, and B for each pixel constituting the image. This is data having a value. The resolution of this image data changes according to the resolution of the original image data ORG and the like.
[0055]
The CPU 81 converts the resolution of the input image data into a resolution for printing by the printer 22 (hereinafter, referred to as a printing resolution) (step S105). If the image data is lower than the print resolution, resolution conversion is performed by generating new data between adjacent original image data by linear interpolation. Conversely, if the image data is higher than the print resolution, resolution conversion is performed by thinning out the data at a fixed rate. Note that the resolution conversion processing is not essential in the present embodiment, and printing may be executed without performing such processing.
[0056]
Next, the CPU 81 performs a color correction process (step S110). The color correction process is a process of converting image data consisting of R, G, and B tone values into tone value data of each of the C, M, Y, and K colors used by the printer 22. This processing is performed by using a color correction table LUT (see FIG. 2) storing combinations of C, M, Y, and K for expressing colors composed of respective combinations of R, G, and B on the printer 22. . Various well-known techniques can be applied to the processing itself for color correction using the color correction table LUT, and for example, processing by interpolation calculation (for example, the technique described in JP-A-4-144481) can be applied.
[0057]
The CPU 81 performs a multi-value processing on the image data color-corrected in this manner (step S120). In other words, the halftone module 99 shown in FIG. 2 executes the processing. Multi-value conversion means that the gradation value (256 gradations in this embodiment) of the original image data can be expressed by the printer 22 for each dot (in this embodiment, “no dot formation”, “small dots” (4 values of dot formation), “medium dot formation” and “large dot formation”. The multi-value processing can be performed by various methods. In this embodiment, an error diffusion method which is excellent in image quality is applied.
[0058]
The multilevel processing by the error diffusion method will be described. FIG. 12 shows a flow of the multi-value processing by the error diffusion method. When this process is started, the CPU 81 inputs the image data Cd (Step S122). The input image data Cd is subjected to color correction processing (step S110 in FIG. 11), The data has 256 gradations for each of M, Y, and K colors. Diffusion error correction data Cdx is generated for this data (step S124). In the error diffusion process, an error of the gradation expression generated for the processed pixel is allocated in advance by assigning a predetermined weight to pixels around the pixel. Therefore, in step S124, the corresponding error is read out and this is read out. From the pixel to be processed.
[0059]
A description will be given of the setting of how much weight is assigned to the peripheral pixels and the weight of the error with respect to the target pixel PP with reference to FIGS. FIG. 13 shows an error distribution setting that is often used. The density error is given a predetermined weight (1 /, 8) for several pixels in the scanning direction of the carriage 31 with respect to the target pixel PP, and for several adjacent pixels behind the paper P in the conveyance direction. , 1/16). FIG. 14 shows settings in this embodiment. The weight of the error allocated to the pixel P1 adjacent to the pixel PP of interest in the carriage scanning direction is a value of 1/4 in the example shown in FIG. 13, whereas in the present embodiment (FIG. 14) The weight is set large with a value of 1/2. The significance of this setting will be described later. The distribution shown in FIG. 14 corresponds to one of the suppression means in the present invention.
[0060]
The diffusion error correction data Cdx generated in this way is compared with the first threshold th1 (step S126). If the data Cdx is smaller than the threshold th1, a dot is added to the value Cdr representing the multi-level quantization result. A value of 0, which means not to be formed, is substituted (step S128). The threshold value th1 is a value serving as a reference for determining whether or not to form a dot as described above. This threshold th1 can be set to any value, but in this embodiment, it is set based on the following concept.
[0061]
FIG. 15 shows the relationship between the recording ratio of each of the large, medium, and small dots and the gradation value of the image data in this embodiment. In this embodiment, as shown in FIG. 15, only small dots are formed at gradation values 0 to gr1, small dots and medium dots are formed at gr1 to gr2, and medium dots and large dots are formed at gr2 and higher. Is set to At a tone value of gr1 or more, a dot of any of large, medium, and small is formed, and a pixel that does not form a dot does not occur. The threshold value th1 is set so that formation or non-formation of small dots occurs as shown in FIG. 18 in the range of gradation values 0 to gr1. In this embodiment, th1 is set to gr1 / 2.
[0062]
If the correction data Cdx is equal to or greater than the first threshold th1, the magnitude of the correction data Cdx is compared with the second threshold th2 (step S130), and the correction data Cdx is smaller than the second threshold th2. In this case, the value 1 meaning the formation of a small dot is substituted for the value Cdr representing the multi-value quantization result (step S132). The threshold value th2 is set based on the dot recording rate in FIG. 18 similarly to the threshold value th1, and is set to th2 = (gr1 + gr2) / 2 in the present embodiment.
[0063]
If the correction data Cdx is greater than or equal to the second threshold th2, the magnitude of the correction data Cdx is compared with the third threshold th3 (step S134), and the correction data Cdx is smaller than the third threshold th3. In this case, the value 2 meaning the formation of a medium dot is substituted for the value Cdr representing the multi-value quantization result (step S136). Similarly to the threshold th1, the threshold th3 is set based on the dot recording rate in FIG. 18, and is set to th3 = (gr2 + 255) / 2 in the present embodiment. If the correction data Cdx is equal to or greater than the third threshold th3, the value 3 meaning the formation of a large dot is substituted for the value Cdr representing the multi-value quantization result (step S138). In the present embodiment, quaternary conversion is performed by the above processing. However, when the number of types of dots that can be formed increases and it is necessary to perform more multi-level conversion, the above-described threshold value is increased to increase the threshold. Can be processed.
[0064]
Next, the CPU 81 executes a process of calculating an error caused by the multi-value conversion and diffusing the error to peripheral pixels (step S140). The error refers to a value obtained by subtracting the tone value of the original image data from the evaluation value of the density represented by each dot after multi-value conversion. For example, considering a pixel having a gradation value of 255 in the original image data, the evaluation value of the density by forming a large dot is equivalent to the gradation value of 255, and the evaluation value of the density by forming a medium dot is equivalent to the gradation value of gr2. If it is determined that a large dot is to be formed for this pixel, no error occurs because the tone value of the original image data and the density evaluation value expressed are both equal to 255. On the other hand, if it is determined that a medium dot is to be formed, an error corresponding to Err = gr2-255 will occur.
[0065]
The error calculated in this way is diffused to peripheral pixels at the rate shown in FIG. For example, when an error corresponding to the gradation value 4 is calculated in the pixel PP of interest, an error corresponding to the gradation value 2 which is の of the error is diffused to the adjacent pixel P1. Will be. Similarly, errors are diffused for the other pixels at the ratio shown in FIG. The error diffused in this manner is reflected on the image data Cdx in step S124 described above, and diffusion error correction data Cdx is generated. When the processing for all the pixels is completed by the repetition of the above (step S142), the CPU 81 once ends the multi-value processing by error diffusion and returns to the dot formation control processing routine (FIG. 11).
[0066]
Through the above processing, any one of values 0 to 3 is assigned to the result value Cdr for each pixel. Based on this data, the printer 22 turns on / off each nozzle in accordance with the timing of the drive waveform to form dots having respective diameters.
[0067]
Here, the significance of setting the weight of the error distribution shown in FIG. 14 will be specifically described with reference to FIGS. For ease of explanation, consider a low gradation area recorded only with small dots, and set this area to gradation values 0 to 85 (gr1 = 85 in FIG. 15). Further, a threshold value (th1 in FIG. 12) for judging on / off of small dots and a density evaluation value of small dots are set to a value of 85.
[0068]
First, a case where a solid area having a constant gradation value 55 is formed will be considered. FIG. 16A shows a part of the image data. Since the tone value 55 of the target pixel PP is larger than the threshold value 42, a small dot is formed (Step S132 in FIG. 12). As a result, the target pixel is in a state (density evaluation value 85) darker than the density to be originally expressed, and therefore, an error Err having a value of 85−55 = 30 occurs in the target pixel PP. If this error is diffused to the surrounding pixels by the distribution shown in FIG. 13 (see FIG. 16A), for example, the error distributed to the adjacent pixel P1 becomes the value 8, and further distributed to the adjacent pixel P2. The error has a value of 4. If these errors are reflected, the gradation value of the pixel P1 is 55-8 = 47, and the gradation value of the pixel P2 is 55-4 = 51. Since the pixel P1 has a value larger than the threshold value 42, a small dot is formed. In FIG. 16B, pixels where dots are to be formed are hatched. The pixel P2 is not hatched in FIG. 16B because the dot generation is determined in consideration of the error from the pixel P1.
[0069]
On the other hand, FIG. 17 shows a state in which the error is diffused by the distribution of FIG. As in FIG. 16, an error Err having a value of 30 occurs in the target pixel PP. If this error is diffused to peripheral pixels by the distribution shown in FIG. 14 (see FIG. 17A), for example, the error distributed to the adjacent pixel P1 becomes the value 15, and further distributed to the adjacent pixel P2. The error has a value of 4. If these errors are reflected, the gradation value of the pixel P1 is 55−15 = 40, and the gradation value of the pixel P2 is 55−4 = 51. Since the pixel P1 is smaller than the threshold value 42, no dot is formed.
[0070]
As described above, if the error distribution to the pixel P1 adjacent to the pixel PP of interest is set to be large by the error distribution as shown in FIG. 14, it is determined that a dot should be formed for the pixel PP of interest. In this case, the formation of dots on the adjacent pixel P1 is suppressed. In this sense, it can be said that the setting of the error distribution shown in FIG. 14 functions as one of the means for suppressing the occurrence of dots in the pixel P1 adjacent to the pixel PP of interest. As described above, the error distribution for suppressing the occurrence of dots is not limited to the distribution shown in FIG. 14, but can be variously set according to the above-described threshold th1 and the dot density evaluation value.
[0071]
Next, the CPU 81 performs rasterization (step S210). This means that the data for one raster is rearranged in the order in which the data is transferred to the head of the printer 22. There are various modes in a recording method in which the printer 22 forms a raster. The simplest mode is one in which all dots of each raster are formed by one forward movement of the head. In this case, data for one raster may be output to the head in the processing order. Another mode is so-called overlap. For example, this is a recording method in which dots of each raster are formed every other dot in the first main scan, and the remaining dots are formed in the second main scan. In this case, each raster is formed by two main scans. When such a recording method is adopted, it is necessary to transfer data obtained by picking up every other dot of each raster to the head. There is a so-called bidirectional recording as another recording mode. This is to form dots not only during the forward movement of the head but also during the backward movement. When such a recording mode is adopted, it is necessary to reverse the transfer order of the data for the forward movement and the data for the backward movement. The process in step S210 creates data to be transferred to the head in accordance with the recording method performed by the printer 22. When the data that can be printed by the printer 22 is thus generated, the CPU 81 outputs the data and transfers the data to the printer 22 (step S215).
[0072]
According to the printing apparatus described above, as described with reference to FIGS. 16 and 17, when a dot is formed for a certain pixel, formation of a dot is suppressed for a pixel adjacent in the main scanning direction. Can be multivalued. As a result, according to the printing apparatus, it is possible to prevent the adjacent dots from coming into contact with each other and to prevent bleeding or the like, thereby improving the image quality.
[0073]
In the above-described embodiment, since the distribution shown in FIG. 14 is used in the error diffusion process (step S140 in FIG. 12), the same distribution is used for all the large, medium, and small dots. As described above, the setting of the error distribution shown in FIG. 14 is a setting for suppressing the formation of dots in the pixel P1 adjacent to the pixel of interest PP from the viewpoint of suppressing bleeding or the like due to contact between dots. . Considering factors that affect image quality other than bleeding, such as the occurrence of so-called false contours, the distribution shown in FIG. 13 may be more preferable. Even if dots are small in diameter such that there is no possibility that the dots will contact each other even when the dots are formed in the adjacent pixel P1, or even if the dots contact each other in a high density area where the dots are densely formed, bleeding may occur. For a dot that does not affect the image quality, a normal error distribution (for example, the distribution shown in FIG. 13) can be used. In such a case, a plurality of tables (for example, FIGS. 13 and 14) indicating the error distribution may be prepared, and the tables may be selectively used according to the types of dots determined to be formed. This makes it possible to suppress the contact between dots while utilizing the characteristics of the table shown in FIG.
[0074]
In FIG. 14, the error distribution is set so as to suppress the occurrence of dots in the pixel P1 adjacent to the target pixel PP. For example, if the diameter of the dot is so large that a dot formed on the pixel P2 (FIG. 14) adjacent to the pixel of interest with a gap therebetween may also be in contact with the pixel of interest, the distribution to the pixel P2 The dot formation can also be suppressed by increasing the error. As described above, the setting of the error distribution in FIG. 14 can be variously set in accordance with the dot diameter and the pitch at which the dots are recorded.
[0075]
Further, the setting of the error distribution may be changed according to the number of main scans required to form each raster. In FIG. 14, the formation of dots on the pixel P1 adjacent to the pixel of interest PP is suppressed. This is because, when all the dots of the raster are formed in one main scan, the adjacent pixels are the pixels which are most likely to cause bleeding or the like.
[0076]
On the other hand, when rasters are formed by the so-called overlap method, the necessity of suppressing the formation of dots for the adjacent pixel P1 decreases. For example, consider an overlap method in which a raster is completed by two main scans. At this time, every other dot of the raster is formed in the first main scan, and the remaining dots are formed in the second main scan. Therefore, it takes time from the formation of the target pixel PP to the formation of the adjacent pixel P1. In such a case, it is desirable to suppress the formation of dots in the pixel P2, which is a pixel formed in the same main scan as the target pixel PP, rather than the pixel P1 adjacent to the target pixel PP. FIG. 18 shows an example of error distribution set from such a viewpoint. The weight of the error distributed to the pixel P2 has a value of 1/4, and is set to be larger than the value 1/8 shown in FIGS. It should be noted that this value was not set to be as large as the weight (value 2) allocated to the pixel P1 in FIG. 14 because the error resulting from the multi-level conversion of the pixel P1 for the pixel P2 is further increased. This is in consideration of distribution. The distribution in FIG. 18 can also be variously set according to the necessity of suppressing the generation of dots.
[0077]
With the same concept, even when a raster is constituted by three or more main scans, various distributions of errors can be set. Alternatively, a plurality of error distribution tables set according to the number of main scans may be prepared, and each table may be used properly according to the designation of the print mode.
[0078]
In the above-described embodiment, the multi-value conversion is performed so as to suppress the contact between the dots in the entire area of the image data. However, this may be performed only in a part of the image. For example, it is also possible to perform multi-valued processing that suppresses contact between dots only in a region where the recording density of dots is low, that is, in a region where large dots formed by contact between dots are easily visible and image quality is easily impaired. Good. An example of such an area is an area where the recording rate is 50% or less. For example, the following method can be considered as means for realizing such multi-value processing.
[0079]
According to the relationship between the recording rate and the gradation value shown in FIG. 15, in the case of the present embodiment, the region where the dot recording density is low corresponds to the region where the gradation value is low. Of course, the range can be changed in accordance with the setting of the dot recording rate, but the correspondence between the recording rate and the gradation value can be obtained. For example, it is assumed that an area where the dot recording rate is low has a tone value grl or less. In this case, when the image data Cd is input in the multi-value conversion in FIG. 12, the magnitude of each image data Cd is compared with the gradation value grl, and the formation of the contacting dots is suppressed only when Cd <grl. What should I do?
[0080]
(3) Second embodiment
Next, a printing apparatus according to a second embodiment of the present invention will be described. The printing apparatus according to the second embodiment has the same hardware configuration as the printing apparatus according to the first embodiment (FIGS. 1 to 10) described above. The same applies to the flow of the dot formation control processing routine (FIG. 11). In the present embodiment, the contents of the multi-value processing are different from those of the first embodiment. A description will be given of multi-value conversion in the second embodiment.
[0081]
FIG. 19 is a flowchart showing the flow of the multi-value processing in the second embodiment. The basic processing contents are the same as those of the multi-value conversion in the first embodiment (see FIG. 12). In the first embodiment, the formation / non-formation of each dot is determined by comparing the magnitude of the diffusion error correction data Cdx with the thresholds th1, th2, and th3 (steps S126, S130, and S134 in FIG. 12). In contrast, in the second embodiment, the value obtained by adding the threshold noise Ns to each threshold value is compared with the diffusion error correction data Cdx (steps S125, S131, and S135 in FIG. 19), and each dot is turned on. -The difference is that it is determined to be off. This threshold noise Ns is set according to the result of turning on / off each dot (step S141 in FIG. 19). The second embodiment also differs from the first embodiment in that a commonly used distribution (FIG. 13) is used as the distribution of the diffusion error. In the present embodiment, the threshold noise Ns corresponds to a part of the suppression unit in the present invention.
[0082]
The setting of the threshold noise Ns will be described. When the threshold noise Ns is a positive value, it means that the threshold value involved in turning on / off each dot becomes large. Therefore, as is clear from the flowchart of FIG. 19, formation of each dot is suppressed. Will be done. In the second embodiment, a positive predetermined value is set as the threshold noise Ns when it is determined to turn on the dot for a certain pixel, and the threshold noise Ns is set to a value 0 when the determination is made to turn off the dot. I do. With this setting, dot formation is suppressed at a pixel adjacent to a pixel where a dot is to be formed, and contact between dots can be suppressed. In the second embodiment, the threshold noise Ns is used as one means for suppressing the contact of dots.
[0083]
The value set as the threshold noise Ns can be determined based on the diameter of the dot and the recording pitch in response to a request for suppressing the contact of the dot. Further, a threshold noise Ns that is reflected in multi-level conversion for a plurality of pixels may be set. FIG. 20 shows an example of the threshold noise Ns. FIG. 20 is an explanatory diagram illustrating threshold noise Ns set for pixels P1, P2, and P3 that are sequentially adjacent to the pixel of interest PP in the main scanning direction. In such a setting, when performing multi-valued processing for the pixel P1, dot on / off is determined based on a value obtained by adding the threshold noise Ns1 to the threshold th1, and the threshold noise is set to the threshold th1 for the pixel P2. On / off of the dot is determined based on the value obtained by adding Ns2. Depending on whether the dot of the pixel P1 is on or off, the threshold noise Ns1 may be further added to the pixel P2. If the threshold noise Ns is set in this manner, for example, there is a case where the dot diameter is so large that there is a possibility that a dot contact may occur even in a pixel P2 adjacent to the pixel PP of interest with a gap therebetween. Also, the occurrence of dots in the pixel P2 can be suppressed.
[0084]
The threshold noise Ns is a value that can be variously set according to a request to suppress the contact of dots. For example, when setting the threshold noise Ns affecting a plurality of pixels as shown in FIG. The threshold noise Ns can be set to be smaller in accordance with the distance from. In general, the closer to the pixel PP of interest, the higher the necessity of avoiding contact with the dots. Therefore, if the setting is made as shown in FIG. Can be suppressed.
[0085]
The threshold noise Ns can also be set according to the number of main scans for forming a raster. FIG. 21 is an explanatory diagram showing the setting of the threshold noise Ns in the case of performing the overlap type recording in which the raster is formed by two main scans. As described in the first embodiment, when performing the overlap recording, it is desired to suppress the occurrence of dots in the pixel P2 adjacent to the pixel PP of interest more than the pixel P1 adjacent to the pixel PP of interest. . If the threshold noise Ns shown in FIG. 21 is used, the threshold noise Ns is increased at the pixel P2 adjacent to one pixel PP of interest, so that the generation of dots at the pixel PP is suppressed. Can be. The threshold value noise Ns can be set by changing various pixels in accordance with the number of main scans for forming a raster. A plurality of threshold noises may be prepared and selectively used according to the number of main scans for forming a raster. Further, in the second embodiment, as in the first embodiment, for example, dot formation may be suppressed only in an image area having a low dot recording rate.
[0086]
In the second embodiment, the error diffusion method is used as the multi-level conversion means, but a dither method, which is another typical method, may be used. Although the specific processing of the dither method is not described, it is a multivalued method of forming dots when the tone value of each pixel is larger than a threshold value given by a so-called dither matrix. If the threshold noise Ns set in the second embodiment is added to the threshold given by the dither matrix, it is possible to suppress the occurrence of dots. However, since the dither matrix is not a method that can naturally eliminate the brightness error caused by adding such threshold noise Ns, when the threshold noise Ns is added to any pixel, the threshold noise Ns is added to another pixel. It is desirable to minimize the brightness error by subtracting.
[0087]
(4) Third embodiment
Next, a printing apparatus according to a third embodiment of the present invention will be described. The printing apparatus of the third embodiment has the same hardware configuration as that of the first embodiment (FIGS. 1 to 10). In the third embodiment, the flow of the dot formation control processing routine is different from that of the first embodiment (FIG. 11). The routine will be described.
[0088]
FIG. 22 is a flowchart showing the flow of the dot formation control processing routine of the third embodiment. This routine is the same as the dot formation control processing routine in the first embodiment up to the input of image data, resolution conversion, color correction processing, and multi-value processing (steps S100, S105, S110, S120). The content of the multi-value processing is the same as the processing in the first embodiment (FIG. 12). In this embodiment, a distribution (FIG. 13) that is generally used as a distribution for diffusing an error is used.
[0089]
After the multi-value conversion is completed, the number of contact pixels is counted in the dot formation control processing routine of the third embodiment (step S208). The number of contact pixels refers to the number of pixels in which dots that can be contacted with the dots formed in the pixels are formed. The contact pixel count will be specifically described with reference to FIG. FIG. 23 is an explanatory diagram showing a state in which dots to be formed in each pixel are determined by multileveling. For convenience of illustration, 10 pixels each in the vertical and horizontal directions are shown. In the following description, each pixel is represented by using the numbers L1 to L10 and C1 to C10 shown in FIG. 23, for example, as (L1, C1).
[0090]
Now, focus on the pixel (L2, C2). This pixel is a pixel on which a dot is to be formed. However, a dot that can contact this dot is not formed in any pixel. Therefore, the number of touching pixels for the pixel (L2, C2) has a value of 0.
[0091]
Next, attention is paid to the pixels (L1, C4) that are the pixels on which dots are to be formed. The dot formed in the pixel (L2, C5) is in contact with the dot formed in this pixel. As described above, in the printer 22 of the present embodiment, the carriage performs the main scanning to form the raster. Then, due to the mechanism, rasters adjacent in the sub-scanning direction cannot be formed by one main scanning. Therefore, for the printer 22 of the present embodiment, the contact of dots that occurs in the sub-scanning direction cannot cause bleeding or the like and does not affect the image quality. Therefore, in the present embodiment, when the contact of dots occurs in the sub-scanning direction, it is ignored. Since the pixels (L2, C5) do not touch any dots when viewed in the main scanning direction, the number of touching pixels is 0. Of course, in the case of a printer in which contact in the sub-scanning direction affects image quality, the number of contact pixels of the pixels (L2, C5) may be set to a value of one.
[0092]
Next, paying attention to the pixel (L2, C5), since the dot formed in the pixel (L2, C6) adjacent in the main scanning direction is in contact with the dot of this pixel, the number of contact pixels is 1 It becomes. As for the pixel (L2, C6), since the dots formed on both the pixels (L2, C5) and (L2, C7) adjacent in the main scanning direction are in contact with each other, the number of contact pixels is 2 Become.
[0093]
Pixels adjacent in the main scanning direction do not always correspond to contact pixels. For example, focusing on the pixels (L5, C1), (L5, C2), and (L5, C3) arranged in the main scanning direction, since small dots are formed in these pixels, none of the dots are in contact with each other. It is. Therefore, the number of contact pixels for these pixels is all zero.
[0094]
In addition, there may be cases where a pixel other than a pixel adjacent in the main scanning direction is a contact pixel. For example, focusing on the pixels (L6, C5), (L6, C7), and (L6, C9) on which the large dots are formed, these pixels are not pixels adjacent to each other in the main scanning direction. In contact. Therefore, the number of touching pixels becomes value 1 or value 2, respectively. Furthermore, paying attention to the pixel (L8, C1), since the dots formed in both the pixels (L8, C2) and (L8, C3) are in contact, the value of the number of contacted pixels is 2.
[0095]
As described above based on the specific example, the number of contact pixels can be determined according to the dot diameter and the dot recording position. In the case of the present embodiment, if a large dot is formed between adjacent pixels with one space therebetween in the main scanning direction, they can make contact with each other, but no dot contact can occur with a pixel further away. Therefore, the number of touching pixels can be obtained by examining the types of dots formed in two pixels on the left and right in the main scanning direction for each pixel on which dots are formed. In step S208 in FIG. 22, the number of contact pixels for each pixel is obtained in this manner, and the maximum value is obtained.
[0096]
Next, the CPU 81 sets the number of main scans (hereinafter referred to as the number of passes) required to form each raster according to the maximum value of the number of contact pixels. For example, if the number of touching pixels is 0, it means that none of the dots are touching, so the number of passes is set to 1. In this case, even if each raster is formed by one main scan, bleeding or the like due to contact between dots does not occur.
[0097]
If the number of touching pixels is 1, it means that two dots are touching at any point. Therefore, in this case, the number of passes is set to the value 2. This is because, if the dots that are in contact with each other are formed in two main scans, bleeding or the like does not occur even if the dots are in contact with each other. From the above example, the number of passes can be set by “the maximum value of the number of contact pixels + 1”. Of course, the value may be set to a value larger than this, or may be set to a value smaller than this as long as the number of passes that can appropriately avoid bleeding due to contact between dots can be set.
[0098]
After setting the number of passes in this way, the CPU 81 performs rasterization and outputs data (steps S210 and S215). These processes are the same as in the first embodiment. However, in the rasterization, it is desirable to appropriately assign a contacting dot to each main scan. For example, consider the case where the number of passes is the value 2. In this case, the odd-numbered dots of the raster are formed in the first main scan (C1, C3, C5, etc. in FIG. 73), and the even-numbered dots (C2, C4, C4) of the raster are formed in the second main scan. C6, etc.) is a simple method. However, in this case, the pixels (L6, C5), (L6, C7), and (L6, C9) in FIG. 73 are formed in the first main scan, and bleeding occurs at the contact portion. Therefore, in the rasterization, for example, the data is set such that the pixels (L6, C5) and the pixels (L6, C9) are formed in the first main scan, and the pixels (L6, C7) are formed in the second main scan. It is desirable to set. In the present embodiment, the above assignment is realized by storing the position of the contact pixel for each pixel when detecting the contact state of the dots for all the pixels when counting the number of contact pixels.
[0099]
According to the printing apparatus of the third embodiment, by forming the dots that are in contact with each other in a plurality of main scans, it is possible to avoid the occurrence of bleeding or the like in the contact and to improve the image quality. Since the setting of the number of passes is usually closely related to the feed amount in the sub-scanning direction, the third embodiment has been described on the assumption that the entire image is formed with a fixed number of passes. The number may be changed. For example, an image may be formed only in a region near a pixel having a large number of contact pixels with a larger number of passes than in other regions. In this way, it is possible to minimize a decrease in printing speed due to an increase in the number of passes. Further, as in the first embodiment, the number of contact pixels can be counted only in an area where the dot recording rate is low to determine the number of passes.
[0100]
In the third embodiment, the error diffusion method is used as a method of multi-value conversion, but multi-value conversion may be performed using a dither method, which is another typical method.
[0101]
The CPU 81 of the computer 90 performs the dot formation control processing in each embodiment described above. Therefore, the above-described embodiment can also take an aspect as a computer-readable recording medium that records a part or all of the respective dot formation control processes. Examples of such a storage medium include a flexible disk, a CD-ROM, a magneto-optical disk, an IC card, a ROM cartridge, a punched card, a printed matter on which a code such as a barcode is printed, and a computer internal storage device (such as a RAM or a ROM). Various computer readable media are available, such as memory and external storage. Further, an embodiment as a program supply device for supplying a computer program for performing the above-described multi-value conversion to a computer via a communication path is also possible.
[0102]
Although the embodiments described above are directed to the printer 22 with main scanning, the present invention has a plurality of nozzles in the raster direction and can be applied to a printer capable of forming a raster without main scanning. It is. Further, a part of each dot formation control processing routine described above can be used in combination.
[0103]
Further, in each of the above-described embodiments, a description has been made as to avoid contact between dots formed with each color ink in a printer equipped with multi-color inks. However, the present invention is also applicable to a printer equipped with a single color ink. It is possible, and it is possible to avoid contact with dots formed with different inks (eg, other colors or densities of ink).
[0104]
Although various embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various embodiments can be implemented without departing from the gist of the present invention. For example, various control processes described in the above embodiments may be partially or entirely realized by hardware.
[Brief description of the drawings]
FIG. 1 is a schematic configuration diagram of a printing apparatus according to the present invention.
FIG. 2 is an explanatory diagram illustrating a configuration of software.
FIG. 3 is a schematic configuration diagram of a printer of the present invention.
FIG. 4 is an explanatory diagram showing a schematic configuration of a dot recording head of the printer of the present invention.
FIG. 5 is an explanatory diagram showing a dot formation principle in the printer of the present invention.
FIG. 6 is an explanatory diagram showing an example of a nozzle arrangement in the printer of the present invention.
FIG. 7 is an enlarged view of a nozzle arrangement in the printer of the present invention and an explanatory diagram showing a relationship with a formed dot.
FIG. 8 is an explanatory diagram illustrating the principle of forming dots having different diameters by the printer of the present invention.
FIG. 9 is an explanatory diagram showing an internal configuration of a control device of the printer.
FIG. 10 is an explanatory diagram showing a nozzle driving waveform and a dot formed by the driving waveform in the printer of the present invention.
FIG. 11 is a flowchart illustrating a flow of a dot formation control routine according to the first embodiment.
FIG. 12 is a flowchart showing a flow of a multi-value processing by error diffusion in the first embodiment.
FIG. 13 is an explanatory diagram showing an error distribution normally used in error diffusion.
FIG. 14 is an explanatory diagram showing error distribution used in error diffusion in the first embodiment.
FIG. 15 is an explanatory diagram showing a dot recording rate in the first embodiment.
FIG. 16 is an explanatory diagram showing a relationship between error distribution and dot formation in a normal error diffusion method.
FIG. 17 is an explanatory diagram showing a relationship between error distribution and dot formation in the error diffusion method in the first embodiment.
FIG. 18 is an explanatory diagram showing a second error distribution used in error diffusion in the first embodiment.
FIG. 19 is a flowchart showing a flow of a multi-value processing by the error diffusion method in the second embodiment.
FIG. 20 is an explanatory diagram showing setting of threshold noise.
FIG. 21 is an explanatory diagram showing a second setting of threshold noise.
FIG. 22 is a flowchart illustrating a flow of a dot formation control processing routine according to the third embodiment.
FIG. 23 is an explanatory diagram illustrating counting of the number of contact pixels.
FIG. 24 is an explanatory diagram showing setting of a dot diameter.
FIG. 25 is an explanatory diagram showing a state where dots are formed in adjacent pixels.
FIG. 26 is an explanatory diagram showing a state of a dot when dot bleeding occurs.
FIG. 27 is an explanatory diagram showing a state of a dot when the dot is elliptical.
[Explanation of symbols]
12 ... Scanner
14 ... Keyboard
15… Flexible drive
16 ... Hard disk
18… Modem
21 ... Color display
22 ... Color printer
23 ... Paper feed motor
24 ... Carriage motor
26 ... Platen
28 ... Print head
31 ... carriage
32 Operation panel
34 ... Sliding shaft
36 ... Drive belt
38 ... Pulley
39 ... Position detection sensor
40 ... Control circuit
41 ... CPU
42 ... Programmable ROM (PROM)
43 ... RAM
44 PC interface
45: Peripheral input / output unit (PIO)
46 ... Timer
47 ... Drive buffer
48… Bus
51… Transmitter
55 ... distribution output device
61, 62, 63, 64, 65, 66 ... head for ink ejection
67… Introduction pipe
68 ... Ink passage
71: Cartridge for black ink
72 ... Color ink cartridge
80 ... Bus
81 ... CPU
82 ROM
83 ... RAM
84 input interface
85 Output interface
86 ... CRTC
87 ... Disk controller (DDC)
88: Serial input / output interface (SIO)
90 ... Personal computer
91 ... Video driver
95 ... Application program
96 ... Printer driver
97 ... Resolution conversion module
98 ... Color correction module
99 ... Halftone module
100 ... rasterizer

Claims (10)

ヘッドからインクを吐出して予め定めた所定の記録ピッチで一方向に並ぶドット列たるラスタを形成すると共に、該ラスタと交差する方向に印刷媒体を前記ヘッドに対して相対的に移動して、入力された画像データに応じた画像を前記印刷媒体に印刷する印刷装置であって、
前記画像データに対応した各画素について、各画素ごとの画像データが所定の閾値よりも大きい場合に該画素を前記形成画素と判定することにより、ドットを形成すべき画素たる形成画素とするかドットを形成しない画素たる空白画素とするかを決定する画素判定手段と、
前記決定結果に応じて前記決定の方法を切り換えるように画素判定手段に作用して、前記形成画素の周辺の画素が該形成画素に形成されるドットと接触可能な径からなるドットを形成すべき形成画素となる決定を抑制する抑制手段と、
該画素判定手段により決定された結果に応じて、前記ヘッドを駆動してドットを形成するドット形成手段とを備え、
前記抑制手段は、前記接触可能な径からなるドットの形成を抑制すべき画素たる抑制画素については、そうでない画素よりも前記閾値を大きくすることで前記決定の方法を切り換える手段である印刷装置。
Forming a raster as a dot row arranged in one direction at a predetermined recording pitch by discharging ink from the head, and moving the print medium relative to the head in a direction intersecting the raster, A printing device that prints an image corresponding to the input image data on the print medium,
For each pixel corresponding to the image data, when the image data for each pixel is larger than a predetermined threshold, the pixel is determined to be the formation pixel, thereby determining whether the pixel is a formation pixel as a pixel to be formed. Pixel determination means for determining whether to be a blank pixel as a pixel not forming
The pixel determining means is operated so as to switch the determination method according to the determination result, and a dot having a diameter such that pixels around the formation pixel can contact the dots formed in the formation pixel should be formed. Suppression means for suppressing the determination of forming pixels;
Dot forming means for driving the head to form dots in accordance with the result determined by the pixel determining means ,
The printing apparatus, wherein the suppression unit is a unit that switches the determination method by setting the threshold value larger for a suppression pixel that is a pixel that should suppress formation of a dot having a contactable diameter than for a pixel that does not.
請求項1記載の印刷装置であって、
前記閾値を大きくする偏差量は、前記形成画素と前記抑制画素との距離が大きくなるにつれて減少する値である印刷装置。
The printing device according to claim 1 ,
The printing apparatus, wherein the deviation amount that increases the threshold value is a value that decreases as the distance between the formation pixel and the suppression pixel increases.
前記ヘッドを印刷媒体に対して前記ラスタ方向に相対的に往復動する主走査により前記ラスタの形成を行い、
前記周辺の画素は、前記形成画素に対し前記主走査方向に位置する画素であって、前記主走査において該形成画素に連続して形成される画素である請求項1記載の印刷装置。
The raster is formed by main scanning that reciprocates the head relatively to the print medium in the raster direction,
2. The printing apparatus according to claim 1, wherein the peripheral pixels are pixels located in the main scanning direction with respect to the formation pixels, and are pixels formed continuously with the formation pixels in the main scanning. 3.
請求項1記載の印刷装置であって、
前記ドットの形成が抑制される前記周辺の画素は、ラスタを構成する全ドットが形成される間に行われる前記ラスタと交差する方向への前記ヘッドと印刷媒体との相対的な移動回数に応じた距離だけ前記形成画素から離れた画素である印刷装置。
The printing device according to claim 1,
The peripheral pixels in which the formation of the dots is suppressed are determined according to the relative number of movements of the head and the print medium in a direction intersecting the raster performed while all the dots forming the raster are formed. A printing device which is a pixel separated from the formation pixel by a distance.
請求項1記載の印刷装置であって、
前記抑制手段は、前記ドットの記録率が50%以下の領域において前記ドットの形成を抑制する手段である印刷装置。
The printing device according to claim 1,
The printing apparatus, wherein the suppression unit is a unit that suppresses the formation of the dots in an area where the dot recording rate is 50% or less.
ヘッドからインクを吐出して予め定めた所定の記録ピッチで一方向に並ぶドット列たるラスタを形成すると共に、該ラスタと交差する方向に印刷媒体を前記ヘッドに対して相対的に移動して、入力された画像データに応じた画像を前記印刷媒体に印刷する印刷装置であって、
前記画像データに対応した各画素について、ドットを形成すべき画素たる形成画素とするかドットを形成しない画素たる空白画素とするかを決定する画素判定手段と、
各形成画素について、該形成画素に形成されるべきドットと接触可能な径を有するドットの形成画素となっている画素たる接触画素の数を求める手段と、
前記接触画素の数の最大値に基づいて設定される分割数で分割して、各ラスタのドットを形成するドット形成手段とを備える印刷装置。
Forming a raster as a dot row arranged in one direction at a predetermined recording pitch by discharging ink from the head, and moving the print medium relative to the head in a direction intersecting the raster, A printing device that prints an image corresponding to the input image data on the print medium,
For each pixel corresponding to the image data, a pixel determination unit that determines whether to be a formation pixel as a pixel to form a dot or a blank pixel as a pixel not forming a dot,
For each formed pixel, means for determining the number of contact pixels, which are pixels that are formed pixels of a dot having a diameter that can contact a dot to be formed in the formed pixel,
A dot forming unit that divides by a division number set based on a maximum value of the number of contact pixels to form dots of each raster.
ヘッドからインクを吐出して予め定めた所定の記録ピッチで一方向に並ぶドット列たるラスタを形成すると共に、該ラスタと交差する方向に印刷媒体を前記ヘッドに対して相対的に移動して、入力された画像データに応じた画像を前記印刷媒体に印刷する印刷方法であって、
(a)前記画像データに対応した各画素について、各画素ごとの画像データが所定の閾値よりも大きい場合に該画素を前記形成画素と判定することにより、ドットを形成すべき画素たる形成画素とするかドットを形成しない画素たる空白画素とするかを決定する工程と、
(b)前記工程(a)において、決定結果に応じて前記決定の方法を切り換えることにより、前記形成画素の周辺の画素が該形成画素に形成されるドットと接触可能な径からなるドットを形成すべき形成画素となる決定を抑制する工程と、
(c)該工程(a)により決定された結果に応じて、前記ヘッドを駆動してドットを形成する工程とを備え、
前記行程(b)は、前記接触可能な径からなるドットの形成を抑制すべき画素たる抑制画素については、そうでない画素よりも前記閾値を大きくすることで前記決定の方法を切り換える工程である印刷方法。
Forming a raster as a dot row arranged in one direction at a predetermined recording pitch by discharging ink from the head, and moving the print medium relative to the head in a direction intersecting the raster, A printing method for printing an image corresponding to the input image data on the print medium,
(A) For each pixel corresponding to the image data, when the image data for each pixel is larger than a predetermined threshold, the pixel is determined to be the formation pixel, and a pixel to be formed as a dot is determined as a formation pixel. Determining whether to perform a blank pixel as a pixel that does not form a dot,
(B) In the step (a), by switching the determination method according to the determination result, a dot having a diameter that allows pixels around the formation pixel to come into contact with dots formed in the formation pixel is formed. Suppressing the determination of the formation pixel to be formed;
(C) driving the head according to the result determined in the step (a) to form dots .
The step (b) is a step of switching the method of the determination by setting the threshold value larger for the suppressed pixels, which are the pixels to be suppressed in forming the dots having the contactable diameters, than for the pixels that are not. Method.
ヘッドからインクを吐出して予め定めた所定の記録ピッチで一方向に並ぶドット列たるラスタを形成すると共に、該ラスタと交差する方向に印刷媒体を前記ヘッドに対して相対的に移動して、入力された画像データに応じた画像を前記印刷媒体に印刷する印刷方法であって、
(A)前記画像データに対応した各画素について、ドットを形成すべき画素たる形成画素とするかドットを形成しない画素たる空白画素とするかを決定する工程と、
(B)各形成画素について、該形成画素に形成されるべきドットと接触可能な径を有するドットの形成画素となっている画素たる接触画素の数を求める工程と、
(C)前記接触画素の数の最大値に基づいて設定される分割数で分割して、各ラスタのドットを形成する工程とを備える印刷方法。
Forming a raster as a dot row arranged in one direction at a predetermined recording pitch by discharging ink from the head, and moving the print medium relative to the head in a direction intersecting the raster, A printing method for printing an image corresponding to the input image data on the print medium,
(A) determining, for each pixel corresponding to the image data, whether to form a pixel to be formed with a dot or a blank pixel as a pixel not forming a dot;
(B) for each formation pixel, a step of calculating the number of contact pixels, which are pixels forming dots having a diameter that allows contact with the dots to be formed in the formation pixel;
(C) forming a dot of each raster by dividing by a division number set based on the maximum value of the number of contact pixels.
インクを吐出して入力された画像データに応じた画像を印刷媒体に印刷する印刷装置に共するデータを設定するためのプログラムをコンピュータ読みとり可能に記録した記録媒体であって、少なくとも
前記画像データに対応した各画素について、各画素ごとの画像データが所定の閾値よりも大きい場合に該画素を前記形成画素と判定することにより、ドットを形成すべき画素たる形成画素とするかドットを形成しない画素たる空白画素とするかを決定する機能と、
前記決定する機能において、前記接触可能な径からなるドットの形成を抑制すべき画素たる抑制画素については、そうでない画素よりも前記閾値を大きくすることで前記決定結果に応じて前記決定の方法を切り換えることにより、前記形成画素の周辺の画素が該形成画素に形成されるドットと接触可能な径からなるドットを形成すべき形成画素となる決定を抑制する機能とを実現するプログラムを記録した記録媒体。
A computer-readable recording medium for recording a program for setting data common to a printing apparatus that prints an image corresponding to input image data on a print medium by ejecting ink, wherein at least the image data For each corresponding pixel, when the image data for each pixel is larger than a predetermined threshold, the pixel is determined to be the formation pixel, so that the pixel to be formed as a pixel to be formed or a pixel not to form a dot A function to determine whether to be a blank pixel,
In the determining function, for the suppression pixel, which is a pixel that should suppress the formation of a dot having a contactable diameter, the determination method is performed according to the determination result by increasing the threshold value as compared with a pixel that does not have the diameter. By switching, a function of suppressing the determination of a pixel around the formation pixel to be a formation pixel on which a dot having a diameter that can be in contact with the dot formed on the formation pixel should be formed is recorded. Medium.
インクを吐出して入力された画像データに応じた画像を印刷媒体に印刷する印刷装置に共するデータを設定するためのプログラムをコンピュータ読みとり可能に記録した記録媒体であって、
前記画像データに対応する各画素について、ドットを形成すべき画素たる形成画素とするかドットを形成しない画素たる空白画素とするかを決定する機能と、
各形成画素について、該形成画素に形成されるべきドットと接触可能な径を有するドットの形成画素となっている画素たる接触画素の数を求める機能と、
各ラスタの形成に要する一連の記録回数を前記接触画素の数の最大値に基づいて設定する機能とを実現するプログラムを記録した記録媒体。
A computer-readable recording medium for recording a program for setting data in common with a printing apparatus that prints an image corresponding to input image data on a print medium by ejecting ink,
For each pixel corresponding to the image data, a function of determining whether to be a formation pixel as a pixel to form a dot or a blank pixel as a pixel not forming a dot,
For each formed pixel, a function of calculating the number of contact pixels that are pixels that are formed pixels of a dot having a diameter capable of contacting a dot to be formed in the formed pixel,
A recording medium on which a program for realizing a function of setting a series of recording times required for forming each raster based on the maximum value of the number of contact pixels is recorded.
JP08285498A 1998-03-13 1998-03-13 Printing apparatus, printing method, and recording medium Expired - Fee Related JP3541668B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08285498A JP3541668B2 (en) 1998-03-13 1998-03-13 Printing apparatus, printing method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08285498A JP3541668B2 (en) 1998-03-13 1998-03-13 Printing apparatus, printing method, and recording medium

Publications (2)

Publication Number Publication Date
JPH11254663A JPH11254663A (en) 1999-09-21
JP3541668B2 true JP3541668B2 (en) 2004-07-14

Family

ID=13785956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08285498A Expired - Fee Related JP3541668B2 (en) 1998-03-13 1998-03-13 Printing apparatus, printing method, and recording medium

Country Status (1)

Country Link
JP (1) JP3541668B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3539342B2 (en) * 2000-04-13 2004-07-07 セイコーエプソン株式会社 Ink jet recording method and ink jet recording apparatus
JP4556444B2 (en) * 2003-03-27 2010-10-06 コニカミノルタホールディングス株式会社 Image recording device
JP3979372B2 (en) 2003-09-26 2007-09-19 ブラザー工業株式会社 Image processing apparatus, image processing method, and image processing program
JP4293044B2 (en) 2004-04-21 2009-07-08 ブラザー工業株式会社 Image forming apparatus, image forming method, and image forming program
JP2010064347A (en) 2008-09-10 2010-03-25 Canon Inc Controller, control method, and computer program
JP5326756B2 (en) * 2009-04-08 2013-10-30 セイコーエプソン株式会社 Printing apparatus and printing method
JP5310208B2 (en) * 2009-04-08 2013-10-09 セイコーエプソン株式会社 Printing apparatus and printing method
JP5263101B2 (en) * 2009-09-17 2013-08-14 ブラザー工業株式会社 Print control apparatus and print control program
JP5703579B2 (en) * 2010-03-30 2015-04-22 セイコーエプソン株式会社 Printing apparatus, printing method, print data generation program, and dither mask generation method
JP5747658B2 (en) * 2011-05-27 2015-07-15 株式会社リコー Image forming apparatus, image forming method, and image forming program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06135015A (en) * 1992-10-30 1994-05-17 Canon Inc Ink jet reocrding method
JPH0965127A (en) * 1995-08-25 1997-03-07 Brother Ind Ltd Picture processor
JP3572748B2 (en) * 1995-10-18 2004-10-06 ブラザー工業株式会社 Image processing device
JPH1034979A (en) * 1996-07-22 1998-02-10 Matsushita Electric Ind Co Ltd Color ink jet recorder and recording method

Also Published As

Publication number Publication date
JPH11254663A (en) 1999-09-21

Similar Documents

Publication Publication Date Title
JP3414325B2 (en) Printing device and recording medium
JP4032490B2 (en) Printing apparatus, printing method, and recording medium
JP3819573B2 (en) Printing apparatus, printing method, and recording medium
JP3503511B2 (en) Printing apparatus, printing method, and printer
US7770993B2 (en) Printing device and print image processing device
JP3981480B2 (en) Printing apparatus and recording medium
JP3541668B2 (en) Printing apparatus, printing method, and recording medium
JPH11208029A (en) Printing apparatus, printing method and storage medium
JP2000006444A (en) Printer, printing method and recording medium
JP2006159698A (en) Recording method and recorder
JP2003094693A (en) Printer and recording medium
KR100423921B1 (en) Printer device and printer head
JP4240057B2 (en) Printing apparatus, printing method, and recording medium
JP2005161615A (en) Inkjet recording method
JP2003145738A (en) Print controller, print control method and medium recording print control program
WO2000019704A1 (en) Image processing device and method, and printer
JP2000118007A (en) Printing apparatus, printing method and recording medium
JP4154865B2 (en) Printing with multiple pixels as one unit of gradation reproduction
JP2016141102A (en) Printing control device and printing control method
JP2001063147A (en) Printer, printing method and recording medium
JP3772525B2 (en) Printing apparatus and printing method
JP2005161630A (en) Inkjet recording system and inkjet recording method
JP2004322374A (en) Image formation device and image formation method
JP4535081B2 (en) Printing apparatus and recording medium
JP2015143012A (en) Inkjet recording device and image processing device

Legal Events

Date Code Title Description
A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040128

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040309

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040322

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080409

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100409

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110409

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110409

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120409

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130409

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130409

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140409

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees