JP4743817B2 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP4743817B2
JP4743817B2 JP2001297446A JP2001297446A JP4743817B2 JP 4743817 B2 JP4743817 B2 JP 4743817B2 JP 2001297446 A JP2001297446 A JP 2001297446A JP 2001297446 A JP2001297446 A JP 2001297446A JP 4743817 B2 JP4743817 B2 JP 4743817B2
Authority
JP
Japan
Prior art keywords
recording
data
image processing
pixel
input
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
JP2001297446A
Other languages
Japanese (ja)
Other versions
JP2003103768A (en
JP2003103768A5 (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2001297446A priority Critical patent/JP4743817B2/en
Priority to US10/252,562 priority patent/US6652059B2/en
Publication of JP2003103768A publication Critical patent/JP2003103768A/en
Publication of JP2003103768A5 publication Critical patent/JP2003103768A5/ja
Application granted granted Critical
Publication of JP4743817B2 publication Critical patent/JP4743817B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は画像処理装置及び画像処理方法に関し、特に、所定方向に配列された複数の記録素子を有する記録ヘッドを記録媒体に対して相対的に移動させて記録を行う記録装置において各画素のデータを入力階調数よりも少ない階調数のデータに変換する画像処理に関するものである。
【0002】
【従来の技術】
例えばワードプロセッサ、パーソナルコンピュータ、ファクシミリ等に於ける情報出力装置として、所望される文字や画像等の情報を用紙やフィルム等シート状の記録媒体に記録を行う記録装置には様々な方式のものがあるが、その中で、記録媒体に記録剤を付着することで記録媒体上にテキストや画像を形成する方式が実用化されており、このような方式の代表例として、インクジェット記録装置がある。近年、インクジェット記録装置の性能が向上し、テキストばかりでなく、画像も記録されるようになってきた。
【0003】
インクジェット記録装置では、記録速度の向上や高画質化等のために、同一色同一濃度のインクを吐出可能な複数のインク吐出口(ノズル)を集積配列したノズル群を用い、さらに、このようなノズル群が、同一色で濃度の異なるインクや、異なる色のインクについてそれぞれ設けられているのが通例である。また、同一色で同一濃度のインクの吐出量を何段階かに変えて吐出可能としたものもある。
【0004】
そして、これらのノズル群を設けた記録ヘッドを、記録媒体に対して相対的に移動させつつノズルからインクを吐出させ、記録を行なう。
【0005】
画像を記録する場合、画像情報の階調を忠実に再現する方法として、ディザ法、誤差拡散法などの中間調処理法が用いられる。例えば、多値画像データを二値画像(または二値以上で入力階調数より少ない階調数を有する画像)に変換する手法として知られている、R.Floydらによる誤差拡散法("An adaptive algorithm for spatial gray scale", SID International Symposium Digest of Technical Papers, vol4.3, 1975, pp.36-37)は、ある画素で生じた二値化誤差を以降の複数画素へ拡散することにより、擬似的に階調表現を行うものである。
【0006】
誤差拡散法は、階調再現性の高い擬似中間調処理方法として、プリンタ、複写機、ファクシミリ等の画像処理装置において広く用いられている。
【0007】
【発明が解決しようとする課題】
しかしながら、上記のような誤差拡散法を用いて記録を行う際に、以下のような問題が生じる。
【0008】
ここでは、所定方向に配列された複数のノズルを有する記録ヘッドをノズルの配列方向と交差する方向に記録媒体上で走査させて、記録媒体にインクを吐出することで画像を形成する、インクジェットプリンタのようなシリアルプリンタで画像を記録する場合を例に挙げて説明する。
【0009】
インク滴(ドット)を吐出する複数のノズルの中には、何らかの影響を受けてドットを吐出できない(不吐出)ノズル、或いは、吐出されるドット体積が規定値に満たないノズルが発生する。特に、ノズル列が長尺となり多数のノズルが具備される場合には、そのような正常な記録ができないノズルが存在する確率が高くなる。
【0010】
図6は、1つのノズル列を使用して、1ラインの画像列(ラスタ)を1回の走査により画像を形成する過程を示す図である。60は吐出状態が良好なノズル、61はドットを吐出できない非記録状態にあるノズル、62は誤差拡散法による二値化結果、63はドット記録状態を示している。
【0011】
図6に示されるように、1回の走査によって画像を形成する場合、非記録ノズルに対応するラスタにはドットを記録媒体に記録することができない。従って、従来の誤差拡散法を実施した二値化処理によって、非記録ノズルに対応するラスタにドットを形成する必要が発生した場合には、当該ドット付近では、実際に記録されなければならないドット数よりも少ないドット数にて画像が形成されることになる。すなわち、誤差拡散法の利点の1つである濃度保存が十分に行われず、記録画像の品位が著しく低下してしまう。
【0012】
本発明は、以上のような状況に鑑みてなされたものであり、正常な記録が出来ない記録素子を有する記録ヘッドを用いて記録を行う際にも、高品位な画像記録が行える画像処理装置及び画像処理方法を提供することを目的とする。
【0013】
【課題を解決するための手段】
上記目的を達成するため、本発明の画像処理装置は、所定方向に配列された複数の記録素子を有する記録ヘッドを記録媒体に対して相対的に移動させて記録を行う記録装置の画像処理装置であって、
入力された画素データが、正常な記録が行えない記録素子によって記録される画素のデータであるか否かを判定する判定手段と、
入力された各画素の多階調のデータを、入力階調数よりも少ない階調数のデータに変換する量子化手段と、
着目画素の入力データと前記量子化手段によって量子化されたデータとの差を、該着目画素周辺の画素に拡散する誤差拡散手段と、を備えており、
前記判定手段によって前記正常な記録が行えない記録素子によって記録されると判定された画素のデータを、非記録を表わすデータに変換することを特徴とする。
【0014】
また、上記目的を達成する本発明の画像処理方法は、所定方向に配列された複数の記録素子を有する記録ヘッドを記録媒体に対して相対的に移動させて記録を行う記録装置の画像処理方法であって、
入力された画素データが、正常な記録が行えない記録素子によって記録される画素のデータであるか否かを判定する判定工程と、
入力された各画素の多階調のデータを、入力階調数よりも少ない階調数のデータに変換する量子化工程と、
着目画素の入力データと前記量子化手段によって量子化されたデータとの差を、該着目画素周辺の画素に拡散する誤差拡散工程と、を備えており、
前記判定工程において前記正常な記録が行えない記録素子によって記録されると判定された画素のデータを、非記録を表わすデータに変換することを特徴とする。
【0015】
更に、上記目的は前記の画像処理方法をコンピュータによって実行させるコンピュータプログラム、及び該プログラムを格納した記憶媒体によっても達成される。
【0016】
すなわち、本発明では、所定方向に配列された複数の記録素子を有する記録ヘッドを記録媒体に対して相対的に移動させて記録を行う記録装置において、入力された画素データが、正常な記録が行えない記録素子によって記録される画素のデータであるか否かを判定し、入力された各画素の多階調のデータを、入力階調数よりも少ない階調数のデータに変換し、着目画素の入力データと量子化されたデータとの差を、該着目画素周辺の画素に拡散するようにし、量子化において、正常な記録が行えない記録素子によって記録されると判定された画素のデータに対して、それ以外の画素のデータとは異なった量子化処理を行う。
【0017】
このようにすると、正常な記録が行えない記録素子によって記録されると判定された画素のデータに対して、それ以外の画素データとは異なる処理、例えば、周囲の画素に与えられる誤差に含めるような処理を行うことにより、該画素のデータを周囲の画素に分散されるようにすることが可能となる。
【0018】
従って、正常な記録が出来ない記録素子を有する記録ヘッドを用いて記録を行う際にも、それぞれの着目画素周囲の画素データの合計値は入力データと同じとなり、入力画像に含まれる情報が維持された高品位な画像記録が行える。
【0019】
量子化手段が、判定手段によって正常な記録が行えない記録素子によって記録されると判定された画素のデータを、非記録を表わすデータに変換するようにすると、この画素のデータ全てが周囲の画素に誤差として分散されるので、入力画像に含まれる情報が正確に維持される。
【0020】
また、量子化手段への入力の前に、入力された画素データに対して所定のフィルタ処理を施すフィルタ手段を更に備えるようにすると、正常な記録が行えない記録素子によって記録されると判定された画素のデータを周囲の画素により適切に分散することが可能となるので好ましい。
【0021】
この場合、所定のフィルタ処理を、複数のフィルタ処理からユーザインタフェースを介してユーザが選択するようにするのが好適である。
【0022】
フィルタ手段は、正常な記録が行えない記録素子によって記録される判定された画素の周辺の画素に対して所定のフィルタ処理を施すようにするのがよい。
【0023】
また、複数のフィルタ処理は、所定のフィルタ処理を施す範囲及びフィルタ特性の少なくとも一方がそれぞれ異なるものであると、各フィルタによる効果が異なり、記録する画像に適したフィルタ処理の選択が可能となるので好ましい。
【0024】
この場合、複数のフィルタ処理のパラメータを格納するフィルタ格納手段を更に備えるようにするのが便利である。
【0025】
画像処理装置に、正常な記録が行えない記録素子を検知する検知手段を更に備えるように構成するのが好ましい。
【0026】
この場合、検知手段は、各記録素子の駆動結果、あるいは各記録素子による記録媒体への記録結果に基づいて、正常な記録が行えない記録素子を検知するようにするのが好適である。
【0027】
【発明の実施の形態】
以下、本発明の好適な実施形態について添付図面を参照して詳細に説明する。
【0028】
なお、以下に説明する実施形態では、所定方向に配列された複数のノズルを有する記録ヘッドをノズルの配列方向と交差する方向に記録媒体上で走査させて、記録媒体にインクを吐出することで画像を形成する、インクジェット記録方式を用いたシリアル型の記録装置に係る画像処理装置を例に挙げ説明する。
【0029】
(第1の実施形態)
図1は、本発明の第1の実施形態である画像処理装置の構成を示したブロック図である。100は吐出状態検知部、101は非記録ラスタ判定部、102はアドレス入力端子、103は画素データの入力端子、104は累積誤差加算部、105は量子化閾値を設定する閾値設定端子、106は量子化部、107は量子化誤差を演算する誤差演算部、108は量子化誤差を拡散する誤差拡散部、109は累積誤差メモリ、110は一連の処理によって形成された画像データの出力端子である。
【0030】
以下、図1の画像処理装置の動作について、図2のフローチャートに従って説明する。
【0031】
まず、吐出状態検知部において各ノズルの吐出状態を検知する(ステップS200)。ここでは、各ノズルにおけるインク滴の吐出量が規定値に満たない非記録状態のノズルを検知する。次に、図示しない画像走査部により入力画像が順次走査され各画素データが入力端子103より入力される(ステップS201)。
【0032】
図3は入力画像の走査の様子を示す図である。300は入力画像の左上端の画素、301は入力画像の右下端の画素である。画像の走査は、画像領域の左上端の画素300から開始し、右方向に1画素ごとに進む。そして、画像データ列の右端に達したら1画素下の画像データ列の左端画素に移る。このようにして処理を繰り返し行い右下端の画素301まで到達すると、画像の走査処理は完了する。
【0033】
次に、累積誤差加算部104において入力された画素データに累積誤差メモリの画素位置に対応する累積誤差値が加算される(ステップS202)。累積誤差メモリは1個の記憶領域E0と入力画像の横画素数Wと同数の記憶領域E(x)があり、後述する方法により量子化誤差が格納されている。なお、累積誤差メモリは処理開始前に全て初期値0で初期化されているものとする。
【0034】
図4は累積誤差メモリに格納される内容の詳細を示す図である。累積誤差加算部104では、入力画素データの横画素位置xに対応した誤差メモリE(x)の値が加算される。すなわち、入力画素データIに対し、累積誤差加算後の画素データをI’の値は、
I’=I+E(x)
となる。
【0035】
次に、非記録ラスタ判定部101において、アドレス入力端子102から入力される入力画像のラスタ番号を参照し、着目ラスタが画像形成可能なラスタか否かを判定する(ステップS203)。ここでは、注目ラスタのラスタ番号をL、ノズル列に具備されたノズル数をN、非記録状態にあるノズル番号をPiとした時に式、
L % N = Pi
を満たすラスタは画像形成を実施しないと判定される。なお、%はモジュロ(剰余)を表す演算子である。
【0036】
図5は、ノズル数N=16、非記録状態にあるノズルの番号がP0=3、P1=11であるノズル列を使用した場合の画像形成過程を示す図である。図5に示すように、出力画像のラスタ番号L=3、11、19、…におけるラスタが画像形成を実施しないラスタと判定される。
【0037】
次に、着目ラスタが画像形成可能なラスタであると判定されると、量子化部106において第1の量子化処理Aを行い(ステップS204)、同ラスタが画像形成を実施しないラスタであると判定されると、量子化部106において第2の量子化処理Bを行う(ステップS205)。
【0038】
ここで、個々の量子化処理について詳しく述べる。まず、第1の量子化処理Aでは、累積誤差加算後の画素データI’と閾値設定端子105により定められた閾値とを比較し出力画素値を決定する。本実施形態では、量子化後の出力値を二値とし、1つの閾値と累積誤差加算後の画素データI’との比較により出力画素値を決定するものとする。すなわち、入力画素値が0から255の範囲の整数値とすれば、出力階調値Oは式、
O=0 (I’< 128)
O=255 (I’≧ 128)
により決定される。
【0039】
一方、第2の量子化処理Bでは、如何なる入力画素値に対しても出力階調値Oが非記録の状態となるように、
O=255
とする。なお、本実施形態では、出力値が0の画素位置にはドットを記録し、出力値が255の画素位置にはドットを記録しない。
【0040】
次に、誤差演算部107において、累積誤差加算後の画素データI’と出力画素値Oとの差分、すなわち量子化誤差Errを、
Err=I’−O
によって計算する(ステップS206)。
【0041】
次に、誤差拡散部108において、着目している画素の横方向位置xに応じて、
E(x+1)←E(x+1)+E×7/16 (x<W)
E(x−1)←E(x−1)+E×3/16 (x>1)
E(x)←E0+E×5/16 (1<x<W)
E(x)←E0+E×8/16 (x=1)
E(x)←E0+E×13/16 (x=W)
E0←E×1/16 (x<W)
E0←0 (x=W)
となるように誤差の拡散処理が行われる(ステップS207)。
【0042】
以上で、入力画像1画素に対する誤差拡散処理が完了する。この誤差拡散処理を入力画像の全画素に対して施されたか否かを判定し(ステップS208)、全画素に対して以上の処理が行われたと判定された場合、入力画像の擬似中間調処理が完了する。
【0043】
なお、第1の実施形態では、吐出状態検知部は各ノズルにおけるインク滴の吐出量を検知して非記録状態のノズルを検知したが、吐出状態検知部は、各ノズルから吐出されたインク滴の記録媒体上における記録面積に着目して非記録状態のノズルを検知してもよい。
【0044】
以上説明したように、第1の実施形態によれば、非記録状態にあるノズルの影響を受けて画像形成を実施できないラスタに対して強制的にドットを非記録にすることで、誤差拡散法の利点である入力画像データの濃度保存特性を損なうことなく高品位な出力画像を提供することが可能である。
【0045】
(第2の実施形態)
以下、本発明に係る画像処理装置の第2の実施形態について説明する。なお、以下の説明においては、上記第1の実施形態と同様な部分については説明を省略し、本実施形態の特徴的部分を中心に説明する。
【0046】
図7は、本発明の画像処理装置の第2の実施形態の構成を示すブロック図である。図1に示した第1の実施形態の構成に対して、ユーザによりフィルタリング設定を行うフィルタリング設定部701、フィルタリング設定に応じて入力画像にフィルタリング処理を行うフィルタリング部702、フィルタリングに用いるフィルタを格納するフィルタ格納メモリ703、フィルタリング設定を行うためのモニタ704が追加されており、入力画像として画素当たり8ビットの階調情報を持つ入力画像700が入力される点が異なっている。
【0047】
以下、図7の画像処理装置の動作について、図8のフローチャートに従って説明する。
【0048】
まず、吐出状態検知部において各ノズルの吐出状態を検知する(ステップS800)。ここでは、各ノズルにおけるインク滴の吐出量が規定値に満たない非記録状態のノズルを検知する。次に、フィルタリング設定部701において入力画像に対して施されるフィルタリング処理の強度、対象領域のサイズ、フィルタ特性がユーザによって指定される(ステップS801)。
【0049】
図11は、これらの設定パラメータを指定する際のユーザインターフェイス画面の一例を示している。なお、このユーザインターフェイス画面はモニタ704に表示される。1100はフィルタ強度指定部、1101はフィルタリング処理領域指定部、1102はフィルタ特性指定部、1103はフィルタリング設定決定部、1104はフィルタリング設定の再実行決定部である。このようなユーザインターフェイス画面によってユーザが指定したフィルタリングの強度及びフィルタ特性に従って、フィルタ格納メモリから使用するフィルタが決定される。
【0050】
次に、後述する非記録ラスタ判定部が指定した画像記録を行わない画像列の近傍ラスタにおいて、ユーザが指定したフィルタリング処理領域に対してのみフィルタリング処理を行う(ステップS802)。
【0051】
図9は、図11のユーザインターフェイス画面に例示した各種強度に対応したフィルタの一例を示している。いずれも、中心が処理対象画素位置に対応し、各マス目に記入した値が補正係数である。900はフィルタサイズが1×1画素の強度1のフィルタ、901はフィルタサイズが1×3画素の強度2のフィルタ、902はフィルタサイズが1×5画素の強度3のフィルタ、903はフィルタサイズが3×3画素の強度3のフィルタ、904はフィルタサイズが5×5画素の強度4のフィルタである。フィルタ900が最もフィルタリング作用が弱く(作用がなく)、901から904の順番にフィルタリングの作用が増加する。
【0052】
例えば、補正強度3のフィルタ903が選択され、フィルタリングの方法としては処理対象画素の周囲の8画素と処理対象画素の平均値とする場合、画素位置(x,y)の画素値をG(x,y)とすれば、処理対象画素位置(i,j)に対するフィルタ補正後の画素値G’(i,j)は、
G’(i,j)=
{G(i−1,j−1)+G(i,j−1)+G(i+1,j−1)
+G(i−1,j)+G(i,j)+G(i+1,j)
+G(i−1,j+1)+G(i,j+1)+G(i+1,j+1)}/9
で与えられる。
【0053】
本実施形態では、フィルタリング設定部701によって指定された処理領域サイズに従い、補正処理は、画像記録を行わない画像列の前後±3ラスタに対してのみ実施する。これに該当しない画像列に対してはフィルタリング処理を実施しない。
【0054】
次に、累積誤差加算部104において入力された画素データに、累積誤差メモリの画素位置に対応する累積誤差値が加算される(ステップS803)。累積誤差メモリは1個の記憶領域E0と入力画像の横画素数Wと同数の記憶領域E(x)があり、後述する方法により量子化誤差が格納されている。なお、累積誤差メモリに格納される内容の詳細は、図4に関して説明した第1の実施形態と同様であり、累積誤差メモリは処理開始前に全て初期値0で初期化されているものとする。
【0055】
累積誤差加算部104では、入力画素データの横画素位置xに対応した誤差メモリE(x)の値が加算される。すなわち、入力画素データIは、累積誤差加算後の画素データをI’とすると、
I’=I+E(x)
となる。
【0056】
次に、非記録ラスタ判定部101において、アドレス入力端子102から入力される入力画像のラスタ番号を参照し、着目ラスタが画像形成可能なラスタか否かを判定する(ステップS804)。注目ラスタのラスタ番号をL、ノズル列に具備されたノズル数をN、非記録状態にあるノズル番号をPiとした時に式、
L % N = Pi
を満たすラスタは画像形成を実施しないラスタと判定される。なお、%はモジュロ(剰余)を表す演算子である。画像形成過程の例としては、第1の実施形態に関して説明した図5と同様である。
【0057】
次に、着目ラスタが画像形成可能なラスタであると判定されると、量子化部106において第1の量子化処理Aを行い(ステップS805)、同ラスタが画像形成を実施しないラスタであると判定されると、量子化部106において第2の量子化処理Bを行う(ステップS806)。第1の量子化処理A及び第2の量子化処理Bで行われる処理の内容は、第1の実施形態と同様であるのでここでは詳述しない。
【0058】
次に、誤差演算部107において、累積誤差加算後の画素データI’と出力画素値Oとの差分、すなわち量子化誤差Errを計算する(ステップS807)。ここで行われる処理は、第1の実施形態のステップS206で行われる処理と同様である。
【0059】
次に、誤差拡散部108において、着目している画素の横方向位置xに応じて誤差の拡散処理が行われる(ステップS808)。ここで行われる処理は、第1の実施形態のステップSS207で行われる処理と同様である。
【0060】
以上のようにして、入力画像1画素分の誤差拡散処理が完了する。このような誤差拡散処理が入力画像の全画素に対して施されたか否かを判定し(ステップS809)、全画素に対して以上の処理が行われたと判定された場合、入力画像の擬似中間調処理が完了する。
【0061】
なお、本実施形態において、吐出状態検知部は各ノズルにおけるインク滴の吐出量を検知して非記録状態のノズルを検知したが、吐出状態検知部は、各ノズルから吐出されたインク滴の記録媒体上における記録面積に着目して非記録状態のノズルを検知してもよい。
【0062】
また、本実施形態では、処理対象画素の周囲の8画素と処理対象画素の平均値としたフィルタリング処理を行ったが、これを処理対象画素周囲の重み付けした平均値としてもよい。重み付けのフィルタとしては、例えば図10に示すような値を用いることができる。いずれも、中心の画素が処理対象画素に対応し、各マス目に記入した値が補正係数である。1000はフィルタサイズが1×3画素のフィルタ、1001はフィルタサイズが1×5画素のフィルタ、1002はフィルタサイズが3×3画素のフィルタ、1003はフィルタサイズが5×5画素のフィルタである。
【0063】
以上説明したように、第2の実施形態によれば、入力画像において画像記録を実施しないラスタ近傍に対してユーザが指定したフィルタリング処理を施すことができ、画像記録できないラスタ付近の出力画像品位をユーザの好みに応じて変化させることが可能である。
【0064】
(他の実施形態)
以上説明した実施形態は、所定方向に配列された複数のノズルを有する記録ヘッドをノズルの配列方向と交差する方向に記録媒体上で走査させて、記録媒体にインクを吐出することで画像を形成する、インクジェット記録方式を用いた記録装置に係る画像処理装置を例に挙げて説明したが、本発明は、インクジェット方式以外の他の方式に従って記録を行う記録装置に対しても適用できる。この場合、インク滴を吐出するノズルはドットを記録する記録素子に対応することとなる。
【0065】
また、本発明は、例えば記録媒体の記録幅に対応する長さの記録ヘッドを有し、記録ヘッドに対して記録媒体を移動させて記録を行う、いわゆるフルライン型の記録装置などの、シリアル型の記録装置(プリンタ)以外の、記録ヘッドを記録媒体に対して相対的に移動させて記録を行う記録装置に対しても適用することができる。
【0066】
更に、上述の実施形態では、画像処理装置が記録ヘッドの各ノズルの吐出状態を検知する吐出状態検知部を備えるものとして説明したが、この吐出状態の検知は、正常な記録が出来ないノズルの位置(番号)が画像処理装置に認識されれば別の装置によって行われてもよい。この場合には、吐出状態を検知した別の装置から、正常な記録が出来ないノズルの位置や番号のデータが画像処理装置に送信され、画像処理装置内の所定のメモリ位置に格納されることとなる。
【0067】
また、上述の実施形態においては、1つのノズル列を有する記録ヘッドを有する構成に関して説明するが、インクの種類に対応した数のノズル列が使用されてカラー記録を行う構成においては、各ノズル列それぞれで記録するデータに対して各実施形態で説明した処理が行われることとなる。
【0068】
なお、本発明は、複数の機器(例えばホストコンピュータ,インターフェース機器,リーダ,プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機,ファクシミリ装置など)に適用してもよい。
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成されることは言うまでもない。
【0069】
この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0070】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROMなどを用いることができる。
【0071】
また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0072】
さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0073】
本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明した(図2および/または図8に示す)フローチャートに対応するプログラムコードが格納されることになる。
【0074】
【発明の効果】
以上説明したように、本発明によれば、正常な記録が行えない記録素子によって記録されると判定された画素のデータに対して、それ以外の画素データとは異なる処理、例えば、周囲の画素に与えられる誤差に含めるような処理を行うことにより、該画素のデータを周囲の画素に分散されるようにすることが可能となる。
【0075】
従って、正常な記録が出来ない記録素子を有する記録ヘッドを用いて記録を行う際にも、それぞれの着目画素周囲の画素データの合計値は入力データと同じとなり、入力画像に含まれる情報が維持された高品位な画像記録が行える。
【図面の簡単な説明】
【図1】本発明の第1の実施形態としての画像処理装置の構成を示すブロック図である。
【図2】図1の画像処理装置における処理を示すフローチャートである。
【図3】入力画像の走査の様子を示す図である。
【図4】累積誤差メモリに格納される内容の詳細を示す図である。
【図5】非記録状態のノズルを含むノズル列を使用した場合の画像形成過程を示す図である。
【図6】1つのノズル列を使用して、1ラインの画像列を1回の走査により画像を形成する過程を示す図である。
【図7】本発明の画像処理装置の第2の実施形態の構成を示すブロック図である。
【図8】図7の画像処理装置における処理を示すフローチャートである。
【図9】フィルタリングを行うためのフィルタの例を示す図である。
【図10】フィルタリングを行うための別のフィルタの例を示す図である。
【図11】フィルタリング設定を行うためのユーザインターフェイス画面を示す図である。
【符号の説明】
100 吐出状態検知部
101 非記録ラスタ判定部
102 アドレス入力端子
103 画像データ入力端子
104 累積誤差加算部
105 閾値設定端子
106 量子化部
107 誤差演算部
108 誤差拡散部
109 累積誤差メモリ
110 画像データ出力端子
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus and an image processing method, and in particular, data of each pixel in a recording apparatus that performs recording by moving a recording head having a plurality of recording elements arranged in a predetermined direction relative to a recording medium. The present invention relates to image processing for converting data into data having a smaller number of gradations than the number of input gradations.
[0002]
[Prior art]
For example, as information output devices in word processors, personal computers, facsimiles, etc., there are various types of recording devices that record information such as desired characters and images on a sheet-like recording medium such as paper or film. However, among them, a method of forming a text or an image on a recording medium by attaching a recording agent to the recording medium has been put into practical use, and a representative example of such a method is an ink jet recording apparatus. In recent years, the performance of ink jet recording apparatuses has improved, and not only text but also images have been recorded.
[0003]
The ink jet recording apparatus uses a nozzle group in which a plurality of ink discharge ports (nozzles) capable of discharging ink of the same color and the same density are arranged in order to improve the recording speed and improve the image quality. Typically, nozzle groups are provided for inks of the same color and different densities and inks of different colors. In addition, there are some ink jets that can be ejected by changing the ejection amount of the same color and the same density in several steps.
[0004]
Then, recording is performed by ejecting ink from the nozzles while moving the recording head provided with these nozzle groups relative to the recording medium.
[0005]
When an image is recorded, a halftone processing method such as a dither method or an error diffusion method is used as a method for faithfully reproducing the gradation of image information. For example, an error diffusion method ("An" by R. Floyd et al.) Is known as a technique for converting multi-valued image data into a binary image (or an image having a binary number or more and a gradation number smaller than the input gradation number). adaptive algorithm for spatial gray scale ", SID International Symposium Digest of Technical Papers, vol4.3, 1975, pp.36-37), by diffusing the binarization error generated in a pixel to the subsequent multiple pixels, This is a pseudo gradation expression.
[0006]
The error diffusion method is widely used in image processing apparatuses such as printers, copying machines, and facsimiles as a pseudo halftone processing method with high gradation reproducibility.
[0007]
[Problems to be solved by the invention]
However, the following problems occur when recording is performed using the error diffusion method as described above.
[0008]
Here, an ink jet printer that forms an image by causing a recording head having a plurality of nozzles arranged in a predetermined direction to scan on the recording medium in a direction intersecting the nozzle arrangement direction and ejecting ink onto the recording medium A case where an image is recorded by a serial printer as described above will be described as an example.
[0009]
Among a plurality of nozzles that eject ink droplets (dots), there are nozzles that cannot eject dots due to some influence (non-ejection), or nozzles whose ejected dot volume is less than a specified value. In particular, when the nozzle row is long and includes a large number of nozzles, there is a high probability that there are nozzles that cannot perform such normal recording.
[0010]
FIG. 6 is a diagram showing a process of forming an image by scanning one line of an image row (raster) using one nozzle row. Reference numeral 60 denotes a nozzle having a good ejection state, 61 denotes a nozzle in a non-recording state where dots cannot be ejected, 62 denotes a binarization result by an error diffusion method, and 63 denotes a dot recording state.
[0011]
As shown in FIG. 6, when an image is formed by a single scan, dots cannot be recorded on a recording medium in rasters corresponding to non-recording nozzles. Therefore, when it is necessary to form dots on the raster corresponding to the non-recording nozzles by the binarization processing using the conventional error diffusion method, the number of dots that must actually be recorded in the vicinity of the dots. An image is formed with a smaller number of dots. That is, the density storage, which is one of the advantages of the error diffusion method, is not sufficiently performed, and the quality of the recorded image is significantly deteriorated.
[0012]
The present invention has been made in view of the above situation, and an image processing apparatus capable of performing high-quality image recording even when recording is performed using a recording head having a recording element that cannot perform normal recording. And an image processing method.
[0013]
[Means for Solving the Problems]
In order to achieve the above object, an image processing apparatus of the present invention is an image processing apparatus of a recording apparatus that performs recording by moving a recording head having a plurality of recording elements arranged in a predetermined direction relative to a recording medium. Because
Determining means for determining whether or not the input pixel data is pixel data recorded by a recording element that cannot perform normal recording;
Quantization means for converting the input multi-gradation data of each pixel into data having a smaller number of gradations than the number of input gradations;
Error diffusion means for diffusing the difference between the input data of the pixel of interest and the data quantized by the quantization means to pixels around the pixel of interest;
Pixel data determined to be recorded by a recording element that cannot perform normal recording by the determination means Is converted to data representing non-recording It is characterized by that.
[0014]
Also, the image processing method of the present invention that achieves the above object provides an image processing method for a recording apparatus that performs recording by moving a recording head having a plurality of recording elements arranged in a predetermined direction relative to the recording medium. Because
A determination step of determining whether the input pixel data is pixel data recorded by a recording element that cannot perform normal recording;
A quantization process for converting the input multi-gradation data of each pixel into data having a smaller number of gradations than the number of input gradations;
An error diffusion step of diffusing the difference between the input data of the pixel of interest and the data quantized by the quantization means to pixels around the pixel of interest,
Data of pixels determined to be recorded by a recording element that cannot perform normal recording in the determination step Is converted to data representing non-recording It is characterized by that.
[0015]
Further, the above object can be achieved by a computer program for causing the image processing method to be executed by a computer and a storage medium storing the program.
[0016]
That is, according to the present invention, in a recording apparatus that performs recording by moving a recording head having a plurality of recording elements arranged in a predetermined direction relative to a recording medium, the input pixel data is recorded normally. It is determined whether or not the pixel data is recorded by a recording element that cannot be used, and the input multi-gradation data of each pixel is converted into data having a smaller number of gradations than the number of input gradations. Data of pixels determined to be recorded by a recording element that cannot perform normal recording in quantization by diffusing a difference between pixel input data and quantized data to pixels around the pixel of interest. On the other hand, a quantization process different from that of other pixel data is performed.
[0017]
In this way, pixel data determined to be recorded by a recording element that cannot perform normal recording is included in processing different from other pixel data, for example, an error given to surrounding pixels. By performing this process, the pixel data can be distributed to surrounding pixels.
[0018]
Therefore, even when recording is performed using a recording head having a recording element that cannot perform normal recording, the total value of pixel data around each pixel of interest is the same as the input data, and the information included in the input image is maintained. Recorded high-quality images.
[0019]
When the quantizing means converts the pixel data determined to be recorded by the recording element that cannot perform normal recording by the determining means into data representing non-recording, all the data of this pixel is the surrounding pixels. Therefore, information included in the input image is accurately maintained.
[0020]
Further, if it is further provided with filter means for performing a predetermined filter process on the input pixel data before input to the quantization means, it is determined that the recording is performed by a recording element that cannot perform normal recording. It is preferable because the data of each pixel can be appropriately distributed by surrounding pixels.
[0021]
In this case, it is preferable that the user selects a predetermined filter process from a plurality of filter processes via the user interface.
[0022]
The filter means may perform a predetermined filter process on pixels around the determined pixel recorded by a recording element that cannot perform normal recording.
[0023]
In addition, if the plurality of filter processes are different from each other in at least one of the range in which the predetermined filter process is performed and the filter characteristics, the effect of each filter is different, and the filter process suitable for the image to be recorded can be selected. Therefore, it is preferable.
[0024]
In this case, it is convenient to further include filter storage means for storing a plurality of filter processing parameters.
[0025]
It is preferable that the image processing apparatus further includes a detection unit that detects a recording element that cannot perform normal recording.
[0026]
In this case, it is preferable that the detection means detect a recording element that cannot perform normal recording based on a driving result of each recording element or a recording result of each recording element onto a recording medium.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0028]
In the embodiment described below, a recording head having a plurality of nozzles arranged in a predetermined direction is scanned on a recording medium in a direction intersecting the nozzle arrangement direction, and ink is ejected onto the recording medium. An image processing apparatus according to a serial type recording apparatus using an inkjet recording method for forming an image will be described as an example.
[0029]
(First embodiment)
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to the first embodiment of the present invention. Reference numeral 100 denotes an ejection state detection unit, 101 denotes a non-recording raster determination unit, 102 denotes an address input terminal, 103 denotes an input terminal for pixel data, 104 denotes an accumulated error addition unit, 105 denotes a threshold setting terminal for setting a quantization threshold, and 106 denotes Quantization unit 107 is an error calculation unit that calculates a quantization error, 108 is an error diffusion unit that diffuses the quantization error, 109 is an accumulated error memory, and 110 is an output terminal for image data formed by a series of processing. .
[0030]
Hereinafter, the operation of the image processing apparatus of FIG. 1 will be described with reference to the flowchart of FIG.
[0031]
First, the discharge state detection unit detects the discharge state of each nozzle (step S200). Here, a nozzle in a non-recording state in which the ejection amount of ink droplets at each nozzle is less than a specified value is detected. Next, the input image is sequentially scanned by an image scanning unit (not shown), and each pixel data is input from the input terminal 103 (step S201).
[0032]
FIG. 3 is a diagram showing how the input image is scanned. Reference numeral 300 denotes an upper left pixel of the input image, and reference numeral 301 denotes a lower right pixel of the input image. The scanning of the image starts from the pixel 300 at the upper left corner of the image area and proceeds in the right direction for each pixel. When the right end of the image data sequence is reached, the process proceeds to the left end pixel of the image data sequence one pixel below. When the process is repeated in this manner and the pixel reaches the lower right pixel 301, the image scanning process is completed.
[0033]
Next, the accumulated error value corresponding to the pixel position of the accumulated error memory is added to the pixel data input by the accumulated error adding unit 104 (step S202). The cumulative error memory has one storage area E0 and the same number of storage areas E (x) as the number of horizontal pixels W of the input image, and stores quantization errors by a method described later. It is assumed that the accumulated error memory has been initialized with an initial value of 0 before starting the processing.
[0034]
FIG. 4 is a diagram showing details of the contents stored in the cumulative error memory. In the accumulated error adding unit 104, the value of the error memory E (x) corresponding to the horizontal pixel position x of the input pixel data is added. That is, with respect to the input pixel data I, the pixel data after addition of the accumulated error has a value of I ′
I ′ = I + E (x)
It becomes.
[0035]
Next, the non-recording raster determination unit 101 refers to the raster number of the input image input from the address input terminal 102 to determine whether or not the raster of interest is a raster capable of image formation (step S203). Here, when the raster number of the raster of interest is L, the number of nozzles provided in the nozzle row is N, and the nozzle number in the non-printing state is Pi,
L% N = Pi
A raster that satisfies the condition is determined not to perform image formation. Note that% is an operator representing modulo (remainder).
[0036]
FIG. 5 is a diagram showing an image forming process in the case where a nozzle row in which the number of nozzles N = 16, the number of nozzles in a non-printing state is P0 = 3, and P1 = 11 is used. As shown in FIG. 5, it is determined that the raster of the output image with the raster number L = 3, 11, 19,...
[0037]
Next, if it is determined that the raster of interest is a raster capable of image formation, the quantization unit 106 performs the first quantization process A (step S204), and the raster is a raster that does not perform image formation. If determined, the quantization unit 106 performs the second quantization process B (step S205).
[0038]
Here, each quantization process will be described in detail. First, in the first quantization process A, the pixel data I ′ after the cumulative error addition is compared with the threshold value determined by the threshold value setting terminal 105 to determine the output pixel value. In the present embodiment, the output value after quantization is binary, and the output pixel value is determined by comparing one threshold value with the pixel data I ′ after adding the cumulative error. That is, if the input pixel value is an integer value in the range of 0 to 255, the output gradation value O is an expression:
O = 0 (I ′ <128)
O = 255 (I ′ ≧ 128)
Determined by.
[0039]
On the other hand, in the second quantization process B, the output gradation value O is not recorded for any input pixel value.
O = 255
And In this embodiment, dots are recorded at pixel positions where the output value is 0, and dots are not recorded at pixel positions where the output value is 255.
[0040]
Next, in the error calculation unit 107, the difference between the pixel data I ′ after the cumulative error addition and the output pixel value O, that is, the quantization error Err is
Err = I'-O
(Step S206).
[0041]
Next, in the error diffusion unit 108, according to the horizontal position x of the pixel of interest,
E (x + 1) ← E (x + 1) + E × 7/16 (x <W)
E (x-1) ← E (x-1) + E × 3/16 (x> 1)
E (x) ← E0 + E × 5/16 (1 <x <W)
E (x) ← E0 + E × 8/16 (x = 1)
E (x) ← E0 + E × 13/16 (x = W)
E0 ← E × 1/16 (x <W)
E0 ← 0 (x = W)
An error diffusion process is performed so as to satisfy (Step S207).
[0042]
This completes the error diffusion processing for one pixel of the input image. It is determined whether or not this error diffusion processing has been performed on all the pixels of the input image (step S208), and if it is determined that the above processing has been performed on all the pixels, the pseudo halftone processing of the input image Is completed.
[0043]
In the first embodiment, the ejection state detection unit detects the ejection amount of the ink droplets at each nozzle to detect the non-recording nozzles. However, the ejection state detection unit detects the ink droplets ejected from each nozzle. The non-recording nozzles may be detected by paying attention to the recording area on the recording medium.
[0044]
As described above, according to the first embodiment, the error diffusion method is performed by forcibly non-printing dots with respect to a raster that cannot perform image formation due to the influence of nozzles in a non-printing state. It is possible to provide a high-quality output image without impairing the density storage characteristics of the input image data, which is an advantage of the above.
[0045]
(Second Embodiment)
Hereinafter, a second embodiment of the image processing apparatus according to the present invention will be described. In the following description, description of the same parts as those in the first embodiment will be omitted, and description will be made focusing on characteristic parts of the present embodiment.
[0046]
FIG. 7 is a block diagram showing the configuration of the second embodiment of the image processing apparatus of the present invention. In contrast to the configuration of the first embodiment illustrated in FIG. 1, a filtering setting unit 701 that performs filtering setting by a user, a filtering unit 702 that performs filtering processing on an input image according to the filtering setting, and a filter used for filtering are stored. A filter storage memory 703 and a monitor 704 for performing filtering settings are added, and an input image 700 having 8-bit gradation information per pixel is input as an input image.
[0047]
Hereinafter, the operation of the image processing apparatus of FIG. 7 will be described with reference to the flowchart of FIG.
[0048]
First, the discharge state detection unit detects the discharge state of each nozzle (step S800). Here, a nozzle in a non-recording state in which the ejection amount of ink droplets at each nozzle is less than a specified value is detected. Next, the strength of the filtering process performed on the input image in the filtering setting unit 701, the size of the target region, and the filter characteristics are specified by the user (step S801).
[0049]
FIG. 11 shows an example of a user interface screen when designating these setting parameters. This user interface screen is displayed on the monitor 704. Reference numeral 1100 denotes a filter strength designation unit, 1101 denotes a filtering process area designation unit, 1102 denotes a filter characteristic designation unit, 1103 denotes a filtering setting determination unit, and 1104 denotes a filtering setting re-execution determination unit. A filter to be used is determined from the filter storage memory in accordance with the filtering strength and filter characteristics specified by the user through such a user interface screen.
[0050]
Next, the filtering process is performed only on the filtering process area designated by the user in the neighboring raster of the image sequence not subjected to the image recording designated by the non-recording raster determination unit described later (step S802).
[0051]
FIG. 9 shows an example of filters corresponding to various strengths exemplified in the user interface screen of FIG. In both cases, the center corresponds to the pixel position to be processed, and the value entered in each square is the correction coefficient. 900 is a 1 × 1 pixel intensity 1 filter, 901 is a 1 × 3 pixel intensity 2 filter, 902 is a 1 × 5 pixel intensity 3 filter, and 903 is a filter size. A 3 × 3 pixel strength 3 filter 904 is a filter size of 5 × 5 pixel strength 4 filter. The filter 900 has the weakest filtering action (no action), and the filtering action increases in the order of 901 to 904.
[0052]
For example, when the filter 903 having the correction intensity 3 is selected and the filtering method is an average value of the eight pixels around the processing target pixel and the processing target pixel, the pixel value at the pixel position (x, y) is set to G (x , Y), the pixel value G ′ (i, j) after the filter correction for the processing target pixel position (i, j) is
G ′ (i, j) =
{G (i-1, j-1) + G (i, j-1) + G (i + 1, j-1)
+ G (i-1, j) + G (i, j) + G (i + 1, j)
+ G (i-1, j + 1) + G (i, j + 1) + G (i + 1, j + 1)} / 9
Given in.
[0053]
In the present embodiment, according to the processing area size specified by the filtering setting unit 701, the correction processing is performed only for ± 3 rasters before and after the image sequence on which image recording is not performed. Filtering processing is not performed for image sequences not corresponding to this.
[0054]
Next, the accumulated error value corresponding to the pixel position of the accumulated error memory is added to the pixel data input in the accumulated error adding unit 104 (step S803). The cumulative error memory has one storage area E0 and the same number of storage areas E (x) as the number of horizontal pixels W of the input image, and stores quantization errors by a method described later. The details of the contents stored in the accumulated error memory are the same as those in the first embodiment described with reference to FIG. 4, and the accumulated error memory is all initialized to the initial value 0 before the processing is started. .
[0055]
In the accumulated error adding unit 104, the value of the error memory E (x) corresponding to the horizontal pixel position x of the input pixel data is added. That is, the input pixel data I is defined as I ′ after the cumulative error addition.
I ′ = I + E (x)
It becomes.
[0056]
Next, the non-recording raster determination unit 101 refers to the raster number of the input image input from the address input terminal 102 to determine whether or not the raster of interest is a raster capable of image formation (step S804). When the raster number of the raster of interest is L, the number of nozzles provided in the nozzle row is N, and the nozzle number in the non-printing state is Pi,
L% N = Pi
A raster that satisfies the condition is determined as a raster that does not perform image formation. Note that% is an operator representing modulo (remainder). An example of the image forming process is the same as that in FIG. 5 described with respect to the first embodiment.
[0057]
Next, when it is determined that the raster of interest is a raster capable of image formation, the quantization unit 106 performs the first quantization processing A (step S805), and the raster is a raster that does not perform image formation. If determined, the quantization unit 106 performs the second quantization process B (step S806). The contents of the processes performed in the first quantization process A and the second quantization process B are the same as those in the first embodiment, and therefore will not be described in detail here.
[0058]
Next, the error calculation unit 107 calculates the difference between the pixel data I ′ after the accumulated error addition and the output pixel value O, that is, the quantization error Err (step S807). The process performed here is the same as the process performed in step S206 of the first embodiment.
[0059]
Next, the error diffusion unit 108 performs error diffusion processing according to the horizontal position x of the pixel of interest (step S808). The process performed here is the same as the process performed in step SS207 of the first embodiment.
[0060]
As described above, the error diffusion process for one pixel of the input image is completed. It is determined whether or not such error diffusion processing has been performed for all the pixels of the input image (step S809), and if it is determined that the above processing has been performed for all the pixels, the pseudo intermediate of the input image The key processing is completed.
[0061]
In this embodiment, the ejection state detection unit detects the ejection amount of the ink droplets at each nozzle to detect the non-recording nozzles, but the ejection state detection unit records the ink droplets ejected from each nozzle. You may detect the nozzle of a non-recording state paying attention to the recording area on a medium.
[0062]
Further, in the present embodiment, the filtering process is performed with the average value of the eight pixels around the processing target pixel and the processing target pixel, but this may be a weighted average value around the processing target pixel. As the weighting filter, for example, values as shown in FIG. 10 can be used. In both cases, the center pixel corresponds to the processing target pixel, and the value entered in each square is the correction coefficient. 1000 is a filter having a filter size of 1 × 3 pixels, 1001 is a filter having a filter size of 1 × 5 pixels, 1002 is a filter having a filter size of 3 × 3 pixels, and 1003 is a filter having a filter size of 5 × 5 pixels.
[0063]
As described above, according to the second embodiment, the filtering process specified by the user can be performed on the vicinity of the raster where the image is not recorded in the input image, and the output image quality in the vicinity of the raster where the image cannot be recorded is obtained. It can be changed according to the user's preference.
[0064]
(Other embodiments)
In the embodiment described above, an image is formed by causing a recording head having a plurality of nozzles arranged in a predetermined direction to scan on the recording medium in a direction intersecting the nozzle arrangement direction and ejecting ink onto the recording medium. The image processing apparatus according to the recording apparatus using the ink jet recording system has been described as an example, but the present invention can also be applied to a recording apparatus that performs recording according to a system other than the ink jet system. In this case, the nozzle that ejects ink droplets corresponds to a recording element that records dots.
[0065]
The present invention also provides a serial line such as a so-called full-line type recording apparatus that has a recording head having a length corresponding to the recording width of the recording medium and performs recording by moving the recording medium relative to the recording head. The present invention can also be applied to a recording apparatus that performs recording by moving a recording head relative to a recording medium, other than the type of recording apparatus (printer).
[0066]
Furthermore, in the above-described embodiment, the image processing apparatus has been described as including a discharge state detection unit that detects the discharge state of each nozzle of the recording head. However, the detection of the discharge state is performed for nozzles that cannot perform normal recording. If the position (number) is recognized by the image processing apparatus, it may be performed by another apparatus. In this case, the nozzle position and number data for which normal recording cannot be performed is transmitted to the image processing apparatus from another apparatus that has detected the ejection state, and stored in a predetermined memory location in the image processing apparatus. It becomes.
[0067]
In the above-described embodiment, a configuration having a recording head having one nozzle row will be described. However, in a configuration in which the number of nozzle rows corresponding to the type of ink is used to perform color printing, each nozzle row The processing described in each embodiment is performed on the data recorded in each.
[0068]
Note that the present invention can be applied to a system (for example, a copier, a facsimile machine, etc.) consisting of a single device even when applied to a system composed of a plurality of devices (for example, a host computer, interface device, reader, printer, etc.). You may apply.
Another object of the present invention is to supply a storage medium storing software program codes for implementing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in the.
[0069]
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.
[0070]
As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
[0071]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0072]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
[0073]
When the present invention is applied to the above-described storage medium, the storage medium stores program codes corresponding to the flowcharts described above (shown in FIG. 2 and / or FIG. 8).
[0074]
【The invention's effect】
As described above, according to the present invention, the pixel data determined to be recorded by a recording element that cannot perform normal recording is processed differently from other pixel data, for example, surrounding pixels. By performing such processing as to be included in the error given to the pixel data, the pixel data can be distributed to surrounding pixels.
[0075]
Therefore, even when recording is performed using a recording head having a recording element that cannot perform normal recording, the total value of pixel data around each pixel of interest is the same as the input data, and the information included in the input image is maintained. Recorded high-quality images.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an image processing apparatus according to a first embodiment of the present invention.
FIG. 2 is a flowchart showing processing in the image processing apparatus of FIG. 1;
FIG. 3 is a diagram illustrating a state of scanning an input image.
FIG. 4 is a diagram showing details of contents stored in an accumulated error memory.
FIG. 5 is a diagram illustrating an image forming process when a nozzle row including nozzles in a non-recording state is used.
FIG. 6 is a diagram illustrating a process of forming an image by scanning one line of an image row using one nozzle row.
FIG. 7 is a block diagram showing a configuration of a second embodiment of the image processing apparatus of the present invention.
8 is a flowchart showing processing in the image processing apparatus of FIG.
FIG. 9 is a diagram illustrating an example of a filter for performing filtering.
FIG. 10 is a diagram illustrating an example of another filter for performing filtering.
FIG. 11 is a diagram showing a user interface screen for performing filtering setting.
[Explanation of symbols]
100 Discharge state detector
101 Non-recording raster determination unit
102 Address input terminal
103 Image data input terminal
104 Cumulative error adder
105 Threshold setting terminal
106 Quantization unit
107 Error calculator
108 Error diffusion section
109 Cumulative error memory
110 Image data output terminal

Claims (19)

所定方向に配列された複数の記録素子を有する記録ヘッドを記録媒体に対して相対的に移動させて記録を行う記録装置の画像処理装置であって、
入力された画素データが、正常な記録が行えない記録素子によって記録される画素のデータであるか否かを判定する判定手段と、
入力された各画素の多階調のデータを、入力階調数よりも少ない階調数のデータに変換する量子化手段と、
着目画素の入力データと前記量子化手段によって量子化されたデータとの差を、該着目画素周辺の画素に拡散する誤差拡散手段と、を備えており
記判定手段によって前記正常な記録が行えない記録素子によって記録されると判定された画素のデータを、非記録を表わすデータに変換することを特徴とする画像処理装置。
An image processing apparatus of a recording apparatus that performs recording by moving a recording head having a plurality of recording elements arranged in a predetermined direction relative to a recording medium,
Determining means for determining whether or not the input pixel data is pixel data recorded by a recording element that cannot perform normal recording;
Quantization means for converting the input multi-gradation data of each pixel into data having a smaller number of gradations than the number of input gradations;
Error diffusion means for diffusing the difference between the input data of the pixel of interest and the data quantized by the quantization means to pixels around the pixel of interest ;
The image processing apparatus characterized by converting the data of pixels determined to be recorded by the recording element which does not perform the normal recording, the data representing the non-recorded by the pre-Symbol judging means.
前記量子化手段への入力の前に、入力された画素データに対して所定のフィルタ処理を施すフィルタ手段を更に備えていることを特徴とする請求項1に記載の画像処理装置。The image processing apparatus according to claim 1, further comprising a filter unit that performs a predetermined filter process on the input pixel data before input to the quantization unit. 前記所定のフィルタ処理を、複数のフィルタ処理からユーザが選択するためのユーザインタフェースを更に備えていることを特徴とする請求項に記載の画像処理装置。The image processing apparatus according to claim 2 , further comprising a user interface for a user to select the predetermined filter process from a plurality of filter processes. 前記フィルタ手段は、前記正常な記録が行えない記録素子によって記録されると判定された画素の周辺の画素に対して前記所定のフィルタ処理を施すことを特徴とする請求項又はに記載の画像処理装置。The filter means of claim 2 or 3, characterized by applying predetermined filtering process on pixels around the pixels which are determined to be recorded by a recording element in which the normal recording can not be performed Image processing device. 前記複数のフィルタ処理は、前記所定のフィルタ処理を施す範囲及びフィルタ特性の少なくとも一方がそれぞれ異なることを特徴とする請求項又はに記載の画像処理装置。Wherein the plurality of filter processing, the image processing apparatus according to claim 3 or 4 at least one of the ranges and the filter characteristic is subjected to the predetermined filtering process is characterized in different possible. 前記複数のフィルタ処理のパラメータを格納するフィルタ格納手段を更に備えることを特徴とする請求項に記載の画像処理装置。The image processing apparatus according to claim 3 , further comprising a filter storage unit that stores parameters of the plurality of filter processes. 前記正常な記録が行えない記録素子を検知する検知手段を更に備えることを特徴とする請求項1からのいずれか1項に記載の画像処理装置。The image processing apparatus according to any one of 6 claim 1, characterized by further comprising a detection means for detecting a recording element in which the normal recording can not be performed. 前記検知手段は、各記録素子の駆動結果に基づいて、前記正常な記録が行えない記録素子を検知することを特徴とする請求項に記載の画像処理装置。The image processing apparatus according to claim 7 , wherein the detection unit detects a recording element that cannot perform the normal recording based on a driving result of each recording element. 前記検知手段は、各記録素子による記録媒体への記録結果に基づいて、前記正常な記録が行えない記録素子を検知することを特徴とする請求項に記載の画像処理装置。The image processing apparatus according to claim 7 , wherein the detection unit detects a recording element that cannot perform the normal recording based on a recording result of each recording element on a recording medium. 前記記録装置が、前記記録素子の配列方向と交差する方向に前記記録ヘッドを記録媒体上で走査させて記録を行う記録装置であることを特徴とする請求項1からのいずれか1項に記載の画像処理装置。The recording apparatus, in any one of claims 1 to 9, wherein said that the recording head in a direction intersecting the array direction of the recording element is a printing apparatus for printing by scanning on the recording medium The image processing apparatus described. 前記記録ヘッドは、インクを吐出して記録を行うインクジェット記録ヘッドであることを特徴とする請求項1から10のいずれか1項に記載の画像処理装置。The recording head, an image processing apparatus according to any one of claims 1 to 10, characterized in that the ink jet recording head for recording by discharging ink. 所定方向に配列された複数の記録素子を有する記録ヘッドを記録媒体に対して相対的に移動させて記録を行う記録装置の画像処理方法であって、
入力された画素データが、正常な記録が行えない記録素子によって記録される画素のデータであるか否かを判定する判定工程と、
入力された各画素の多階調のデータを、入力階調数よりも少ない階調数のデータに変換する量子化工程と、
着目画素の入力データと前記量子化手段によって量子化されたデータとの差を、該着目画素周辺の画素に拡散する誤差拡散工程と、を備えており
記判定工程において前記正常な記録が行えない記録素子によって記録されると判定された画素のデータを、非記録を表わすデータに変換することを特徴とする画像処理方法。
An image processing method of a recording apparatus that performs recording by moving a recording head having a plurality of recording elements arranged in a predetermined direction relative to a recording medium,
A determination step of determining whether the input pixel data is pixel data recorded by a recording element that cannot perform normal recording;
A quantization process for converting the input multi-gradation data of each pixel into data having a smaller number of gradations than the number of input gradations;
An error diffusion step of diffusing the difference between the input data of the pixel of interest and the data quantized by the quantization means to pixels around the pixel of interest ,
An image processing method characterized by the pre-conversion Symbol data of pixels determined to be recorded by a recording element in which the normal recording can not be performed in the determination step, the data representing the non-recording.
前記量子化工程の前に、入力された画素データに対して所定のフィルタ処理を施すフィルタ工程を更に備えていることを特徴とする請求項12に記載の画像処理方法。The image processing method according to claim 12 , further comprising a filtering step of performing a predetermined filtering process on the input pixel data before the quantization step. 前記所定のフィルタ処理を、複数のフィルタ処理からユーザインタフェースを介してユーザが選択する選択工程を更に備えていることを特徴とする請求項13に記載の画像処理方法。The image processing method according to claim 13 , further comprising a selection step in which the user selects the predetermined filtering process from a plurality of filtering processes via a user interface. 前記フィルタ工程で、前記正常な記録が行えない記録素子によって記録されると判定された画素の周辺の画素に対して前記所定のフィルタ処理を施すことを特徴とする請求項13又は14に記載の画像処理方法。In the filter process, as claimed in claim 13 or 14, characterized by applying predetermined filtering process on pixels around the pixels which are determined to be recorded by a recording element in which the normal recording can not be performed Image processing method. 前記複数のフィルタ処理は、前記所定のフィルタ処理を施す範囲及びフィルタ特性の少なくとも一方がそれぞれ異なることを特徴とする請求項14又は15に記載の画像処理方法。Wherein the plurality of filter processing, image processing method according to claim 14 or 15, at least one of the ranges and the filter characteristic is subjected to the predetermined filtering process are different from each other, respectively. 前記正常な記録が行えない記録素子を検知する検知工程を更に備えることを特徴とする請求項12から16のいずれか1項に記載の画像処理方法。The image processing method according to any one of claims 12 to 16, characterized in that it comprises further a detection step of detecting a recording element in which the normal recording can not be performed. 所定方向に配列された複数の記録素子を有する記録ヘッドを記録媒体に対して相対的に移動させて記録を行う記録装置の画像処理方法をコンピュータによって実行させるコンピュータプログラムであって、
前記画像処理方法は、
入力された画素データが、正常な記録が行えない記録素子によって記録される画素のデータであるか否かを判定する判定工程と、
入力された各画素の多階調のデータを、入力階調数よりも少ない階調数のデータに変換する量子化工程と、
着目画素の入力データと前記量子化手段によって量子化されたデータとの差を、該着目画素周辺の画素に拡散する誤差拡散工程とを有し
記判定工程において前記正常な記録が行えない記録素子によって記録されると判定された画素のデータを、非記録を表わすデータに変換することを特徴とするコンピュータプログラム。
A computer program that causes a computer to execute an image processing method of a recording apparatus that performs recording by moving a recording head having a plurality of recording elements arranged in a predetermined direction relative to a recording medium,
The image processing method includes:
A determination step of determining whether the input pixel data is pixel data recorded by a recording element that cannot perform normal recording;
A quantization process for converting the input multi-gradation data of each pixel into data having a smaller number of gradations than the number of input gradations;
An error diffusion step of diffusing the difference between the input data of the pixel of interest and the data quantized by the quantization means to pixels around the pixel of interest ;
Before SL determination data of pixels determined to be recorded by a recording element in which the normal recording can not be performed in the step, a computer program and converting the data representing the non-recording.
所定方向に配列された複数の記録素子を有する記録ヘッドを記録媒体に対して相対的に移動させて記録を行う記録装置の画像処理方法をコンピュータによって実行させるコンピュータプログラムを格納する記憶媒体であって、
前記画像処理方法は、
入力された画素データが、正常な記録が行えない記録素子によって記録される画素のデータであるか否かを判定する判定工程と、
入力された各画素の多階調のデータを、入力階調数よりも少ない階調数のデータに変換する量子化工程と、
着目画素の入力データと前記量子化手段によって量子化されたデータとの差を、該着目画素周辺の画素に拡散する誤差拡散工程とを有し
記判定工程において前記正常な記録が行えない記録素子によって記録されると判定された画素のデータを、非記録を表わすデータに変換することを特徴とする記憶媒体。
A storage medium for storing a computer program that causes a computer to execute an image processing method of a recording apparatus that performs recording by moving a recording head having a plurality of recording elements arranged in a predetermined direction relative to the recording medium. ,
The image processing method includes:
A determination step of determining whether the input pixel data is pixel data recorded by a recording element that cannot perform normal recording;
A quantization process for converting the input multi-gradation data of each pixel into data having a smaller number of gradations than the number of input gradations;
An error diffusion step of diffusing the difference between the input data of the pixel of interest and the data quantized by the quantization means to pixels around the pixel of interest ;
Before SL determination data of pixels determined to be recorded by a recording element in which the normal recording can not be performed in the process, storage medium and converting the data representing the non-recording.
JP2001297446A 2001-09-27 2001-09-27 Image processing apparatus and image processing method Expired - Fee Related JP4743817B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2001297446A JP4743817B2 (en) 2001-09-27 2001-09-27 Image processing apparatus and image processing method
US10/252,562 US6652059B2 (en) 2001-09-27 2002-09-24 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001297446A JP4743817B2 (en) 2001-09-27 2001-09-27 Image processing apparatus and image processing method

Publications (3)

Publication Number Publication Date
JP2003103768A JP2003103768A (en) 2003-04-09
JP2003103768A5 JP2003103768A5 (en) 2008-10-30
JP4743817B2 true JP4743817B2 (en) 2011-08-10

Family

ID=19118526

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001297446A Expired - Fee Related JP4743817B2 (en) 2001-09-27 2001-09-27 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP4743817B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9073343B2 (en) 2013-02-20 2015-07-07 Fuji Xerox Co., Ltd. Image forming apparatus, image forming method, and non-transitory computer readable medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4954494B2 (en) * 2004-05-06 2012-06-13 オセ−テクノロジーズ ビーブイ Printing method using camouflage of defective printing element
JP4561257B2 (en) * 2004-09-07 2010-10-13 富士ゼロックス株式会社 Inkjet recording apparatus and inkjet recording method
JP2006212793A (en) * 2005-02-01 2006-08-17 Seiko Epson Corp Image processor, image processing method, program, recording medium, and recorder
JP4670696B2 (en) * 2005-03-25 2011-04-13 富士フイルム株式会社 Image processing method and apparatus, threshold matrix creating method, image forming apparatus, sub-matrix creating method, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3176124B2 (en) * 1991-06-07 2001-06-11 キヤノン株式会社 Ink jet recording apparatus and recording method of the apparatus
JP3205573B2 (en) * 1991-08-09 2001-09-04 キヤノン株式会社 Ink jet recording device
JP2001195213A (en) * 1999-11-05 2001-07-19 Seiko Epson Corp Medium for recording picture processing control program and picture processing controller and picture processing control method
AUPQ766300A0 (en) * 2000-05-22 2000-06-15 Canon Kabushiki Kaisha Defective nozzle compensation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9073343B2 (en) 2013-02-20 2015-07-07 Fuji Xerox Co., Ltd. Image forming apparatus, image forming method, and non-transitory computer readable medium

Also Published As

Publication number Publication date
JP2003103768A (en) 2003-04-09

Similar Documents

Publication Publication Date Title
JP4954494B2 (en) Printing method using camouflage of defective printing element
JP2001030521A5 (en)
US7393070B2 (en) Printing device, printing device control, program and method, and printing data generation device, program and method
JP2008194855A (en) Image forming apparatus, image processing apparatus, and its controlling method
JP2021024275A (en) Image processing device, recording device, image processing method and program
JP2005041041A (en) Edge treatment for inkjet printing
JP4743817B2 (en) Image processing apparatus and image processing method
JP3398301B2 (en) Edge interpolation method and edge interpolation device for image forming apparatus
JP2004202795A (en) Image processor and its method
JP2021084297A (en) Image processing device, image processing method and program
JP2000118007A (en) Printing apparatus, printing method and recording medium
JP4979509B2 (en) Data conversion apparatus, recording apparatus equipped with the apparatus, and data conversion method
US6652059B2 (en) Image processing apparatus and image processing method
JP2004042350A (en) Image processor and image processing method
JP4746005B2 (en) Image processing apparatus, image processing method, and program
JP2001008033A (en) Image processor and image processing method
JP2012050062A (en) Image processor, image processing method and program
US6231149B1 (en) Method and apparatus for image processing and image forming apparatus
JP2004255700A5 (en)
JP4272843B2 (en) Image processing apparatus and image processing method
JP2006264097A (en) Printer and printing method
JP3780120B2 (en) Recording method and recording apparatus
JP3757650B2 (en) Image processing device
JP2000307853A (en) Quantizing method and recording system using the same
JP2012126040A (en) Image forming apparatus

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080912

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080912

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110322

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110325

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110413

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110509

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

Free format text: PAYMENT UNTIL: 20140520

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees