JP6531484B2 - Device for discharging liquid, method for processing image data, program - Google Patents

Device for discharging liquid, method for processing image data, program Download PDF

Info

Publication number
JP6531484B2
JP6531484B2 JP2015099471A JP2015099471A JP6531484B2 JP 6531484 B2 JP6531484 B2 JP 6531484B2 JP 2015099471 A JP2015099471 A JP 2015099471A JP 2015099471 A JP2015099471 A JP 2015099471A JP 6531484 B2 JP6531484 B2 JP 6531484B2
Authority
JP
Japan
Prior art keywords
threshold
value
dots
discharge nozzle
defective
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.)
Active
Application number
JP2015099471A
Other languages
Japanese (ja)
Other versions
JP2016215395A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2015099471A priority Critical patent/JP6531484B2/en
Publication of JP2016215395A publication Critical patent/JP2016215395A/en
Application granted granted Critical
Publication of JP6531484B2 publication Critical patent/JP6531484B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Particle Formation And Scattering Control In Inkjet Printers (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は液体を吐出する装置、画像データを処理する方法、プログラムに関する。   The present invention relates to an apparatus for ejecting liquid, a method for processing image data, and a program.

液体を吐出する装置においては、ノズルが目詰まりなどによって吐出不良が発生すると、画像品質が低下することになる。   In an apparatus for discharging a liquid, when discharge failure occurs due to clogging of a nozzle or the like, the image quality is degraded.

そこで、従来、入力画像の多値データをn値(n≧2の整数)に対応した多値誤差拡散処理によりn値のドットパターンに変換するとき、吐出不良を生じたノズル(これを「不良吐出ノズル」という。)に対応する画素位置に滴を吐出しないこととする一方、多値誤差拡散処理による量子化誤差はそのまま周囲の画素に展開し、展開先の画素でベタ印字に必要な滴サイズ以上の滴を形成することになった場合、滴を間引く、あるいは、滴サイズを小さいサイズへ変更する処理を行うことで、不良吐出ノズルによる画像劣化を補償しようとするものが知られている(特許文献1)。   Therefore, conventionally, when converting multi-value data of an input image into an n-value dot pattern by multi-value error diffusion processing corresponding to n values (n ≧ 2 integers), a nozzle having an ejection failure (this is ), While quantizing error due to multi-level error diffusion processing is developed as it is to surrounding pixels, and drops required for solid printing in the development destination pixel It is known to compensate for image deterioration due to a defective discharge nozzle by performing processing of thinning the droplet or changing the droplet size to a smaller size when it is necessary to form a droplet larger than the size. (Patent Document 1).

特開2010−17918号公報JP, 2010-17918, A

しかしながら、特許文献1に開示の構成にあっては、例えばヘッドを走査する装置に適用した場合、不良吐出ノズルの走査方向下流側の画素にしか量子化誤差を展開できないため、画質劣化の補償が十分でないという課題がある。   However, in the configuration disclosed in Patent Document 1, for example, when applied to an apparatus for scanning a head, quantization errors can only be developed in pixels downstream of the defective discharge nozzle in the scanning direction, so compensation for image quality deterioration is There is a problem that it is not enough.

本発明は上記の課題に鑑みてなされたものであり、不良吐出ノズルによる画像劣化を低減することを目的とする。   The present invention has been made in view of the above problems, and has as its object to reduce image deterioration due to a defective discharge nozzle.

上記の課題を解決するため、本発明に係る液体を吐出する装置は、
液体を吐出する複数のノズルを有する液体吐出ヘッドを備える装置であって、
入力画像の多値データをn値(n≧2の整数)に対応した多値誤差拡散処理によりn値のドットパターンに変換するとき、
不良吐出ノズルに対応する画素値が予め定めた第1の閾値未満であるときには、前記多値誤差拡散処理における量子化誤差を、前記不良吐出ノズルに対応する画素の周辺画素に展開する処理を行い、
前記不良吐出ノズルに対応する画素値が前記第1の閾値以上で、かつ、前記第1の閾値より大きい予め定めた第2の閾値未満であるときには、前記多値誤差拡散処理における量子化誤差を、前記不良吐出ノズルに対応する画素の周辺画素に、所定の係数を乗じて展開する処理を行い、
前記不良吐出ノズルに対応する画素値が前記第2の閾値以上であるときには、前記多値誤差拡散処理によるn値のドットパターンに変換した後に、所定のマスクパターンを用いて、前記不良吐出ノズルの周辺でのドットのうち小さなドットを大きなドットに置き換える処理を行う
構成とした。
To solve the above problems, apparatus for discharging liquid according to the present onset Ming,
An apparatus comprising a liquid discharge head having a plurality of nozzles for discharging a liquid, comprising:
When converting multi-value data of an input image into an n-value dot pattern by multi-value error diffusion processing corresponding to n values (n 整数 2 integer),
When the pixel value corresponding to the defective discharge nozzle is less than a predetermined first threshold value, the quantization error in the multi-level error diffusion processing is expanded to the peripheral pixels of the pixel corresponding to the defective discharge nozzle. ,
When the pixel value corresponding to the defective discharge nozzle is equal to or more than the first threshold and less than a second predetermined threshold larger than the first threshold, quantization error in the multi-level error diffusion process is Performing a process of developing by multiplying the peripheral pixels of the pixel corresponding to the defective discharge nozzle by a predetermined coefficient;
When the pixel value corresponding to the defective ejection nozzle is not less than the second threshold value, after conversion to a dot pattern of n value by the multi-level error diffusion process, using a predetermined mask pattern, before Symbol defective ejection nozzle Among the dots in the vicinity of the dot, small dots are replaced with large dots.

本発明によれば、不良吐出ノズルによる画像劣化を低減することができる。   According to the present invention, image deterioration due to a defective discharge nozzle can be reduced.

本発明に係る液体を吐出する装置の一例の機構部の平面説明図である。It is plane explanatory drawing of the mechanism part of an example of the apparatus which discharges the liquid which concerns on this invention. 同装置のヘッドの説明に供する説明図である。It is an explanatory view which serves to explain a head of the same device. 同装置の制御部の概要のブロック説明図である。It is block explanatory drawing of the outline | summary of the control part of the apparatus. ホスト側の一例のブロック説明図である。It is block explanatory drawing of an example of the host side. 本発明の第1実施形態における補償処理の説明に供するフロー図である。FIG. 6 is a flowchart for describing compensation processing in the first embodiment of the present invention. 同じくフロー図である。It is the same flow chart. 滴量とドット径及び媒体種類の関係の一例を説明する説明図である。FIG. 6 is an explanatory view for explaining an example of the relationship between the droplet amount, the dot diameter, and the medium type. マスクパターン処理(マスクパターンによるドットの置き換え処理)の第1例のマスクパターンの一例の説明図である。It is explanatory drawing of an example of the mask pattern of the 1st example of a mask pattern process (dot replacement process by a mask pattern). 同マスクパターンを使用したドット置換の一例の説明図である。It is explanatory drawing of an example of the dot substitution which used the same mask pattern. マスクパターン処理(マスクパターンによるドットの置き換え処理)の第2例のマスクパターンの一例の説明図である。It is explanatory drawing of an example of the mask pattern of the 2nd example of a mask pattern process (dot replacement process by a mask pattern). 図8及び図10のマスクパターンを使用したドット置換の一例の説明図である。It is explanatory drawing of an example of the dot substitution using the mask pattern of FIG.8 and FIG.10.

以下、本発明の実施の形態について添付図面を参照して説明する。まず、本発明に係る液体を吐出する装置の一例について図1を参照して説明する。図1は同装置の機構部の平面説明図である。   Hereinafter, embodiments of the present invention will be described with reference to the attached drawings. First, an example of a device for discharging a liquid according to the present invention will be described with reference to FIG. FIG. 1 is a plan view of the mechanical part of the same device.

この装置は、シリアル型装置であり、左右の側板などに架け渡されるガイド部材1などでキャリッジ3が移動可能に保持されている。そして、主走査モータ5によって、駆動プーリ6と従動プーリ7間に架け渡されたタイミングベルト8を介して、キャリッジ3が主走査方向(キャリッジ移動方向)に往復移動する。   This device is a serial type device, and a carriage 3 is movably held by a guide member 1 or the like which is bridged between left and right side plates and the like. Then, the main scanning motor 5 reciprocates the carriage 3 in the main scanning direction (carriage movement direction) via the timing belt 8 bridged between the driving pulley 6 and the driven pulley 7.

このキャリッジ3には、液体吐出ヘッド4a、4b(区別しないときは「ヘッド4」という。)を搭載している。ヘッド4は、例えば、イエロー(Y)、シアン(C)、マゼンタ(M)、ブラック(K)の各色のインク滴を吐出する。また、ヘッド4は、複数のノズルからなるノズル列4nを主走査方向と直交する副走査方向に配置し、滴吐出方向を下方に向けて装着している。   On the carriage 3, liquid discharge heads 4a and 4b (referred to as "head 4" when not distinguished) are mounted. The head 4 ejects, for example, ink droplets of each color of yellow (Y), cyan (C), magenta (M), and black (K). Further, the head 4 has a nozzle row 4n composed of a plurality of nozzles arranged in the sub-scanning direction orthogonal to the main scanning direction, and is mounted with the droplet discharge direction directed downward.

ヘッド4は、図2に示すように、それぞれ複数のノズル4nを配列した2つのノズル列Na、Nbを有する。ヘッド4aの一方のノズル列Naはブラック(K)の液滴を、他方のノズル列Nbはシアン(C)の液滴を吐出する。ヘッド4bの一方のノズル列Naはマゼンタ(M)の液滴を、他方のノズル列Nbはイエロー(Y)の液滴を、それぞれ吐出する。   As shown in FIG. 2, the head 4 has two nozzle rows Na and Nb in which a plurality of nozzles 4 n are arranged. One nozzle row Na of the head 4a discharges a droplet of black (K), and the other nozzle row Nb discharges a droplet of cyan (C). One nozzle row Na of the head 4b discharges droplets of magenta (M), and the other nozzle row Nb discharges droplets of yellow (Y).

一方、媒体である用紙10をヘッド4に対向して搬送するための搬送機構51として、搬送手段である搬送ベルト12を備えている。この搬送ベルト12は、無端状ベルトであり、搬送ローラ13とテンションローラ14との間に掛け渡されている。   On the other hand, a transport belt 51 as transport means is provided as a transport mechanism 51 for transporting the sheet 10 as a medium opposite to the head 4. The conveyance belt 12 is an endless belt and is stretched between the conveyance roller 13 and the tension roller 14.

そして、搬送ベルト12は、副走査モータ16によってタイミングベルト17及びタイミングプーリ18を介して搬送ローラ13が回転駆動されることによって、副走査方向に周回移動する。   The conveyance belt 12 is rotationally moved in the sub-scanning direction by the conveyance roller 13 being rotationally driven by the sub-scanning motor 16 via the timing belt 17 and the timing pulley 18.

さらに、キャリッジ3の主走査方向の一方側には搬送ベルト12の側方にヘッド4の維持回復を行う維持回復機構20が配置され、他方側には搬送ベルト12の側方にヘッド4から空吐出を行う空吐出受け21がそれぞれ配置されている。   Further, a maintenance and recovery mechanism 20 for maintaining and recovering the head 4 is disposed on one side of the carriage 3 in the main scanning direction and the other side of the carriage 4 is empty from the head 4 on the other side. Unused discharge receptacles 21 for discharging are respectively arranged.

維持回復機構20は、例えばヘッド4のノズル面(ノズルが形成された面)をキャッピングするキャップ部材20a、ノズル面を払拭するワイパ部材20bなどで構成されている。   The maintenance and recovery mechanism 20 includes, for example, a cap member 20a for capping the nozzle surface (surface on which the nozzle is formed) of the head 4 and a wiper member 20b for wiping the nozzle surface.

また、搬送機構51と維持回復機構20との間の記録領域外であって、ヘッド4に対向可能な領域には、滴吐出の有無を検知する吐出検知手段を構成する吐出検知ユニット100が配置されている。一方、キャリッジ3には、吐出検知ユニット100の電極101を清浄化する払拭ユニット200が設けられている。   Further, outside the recording area between the transport mechanism 51 and the maintenance and recovery mechanism 20, in the area that can face the head 4, the ejection detection unit 100 that constitutes ejection detection means for detecting the presence or absence of droplet ejection is disposed. It is done. On the other hand, the carriage 3 is provided with a wiping unit 200 that cleans the electrode 101 of the discharge detection unit 100.

また、キャリッジ3の主走査方向に沿って両側板間に、所定のパターンを形成したエンコーダスケール23を張装し、キャリッジ3にはエンコーダスケール23のパターンを読取る透過型フォトセンサからなるエンコーダセンサ24を設けている。これらのエンコーダスケール23とエンコーダセンサ24によってキャリッジ3の移動を検知するリニアエンコーダ(主走査エンコーダ)を構成している。   Further, an encoder scale 23 formed of a transmission type photosensor for reading the pattern of the encoder scale 23 is attached to the carriage 3 along the main scanning direction of the carriage 3 and between the side plates. Is provided. The encoder scale 23 and the encoder sensor 24 constitute a linear encoder (main scanning encoder) for detecting the movement of the carriage 3.

また、搬送ローラ13の軸にはコードホイール25を取り付け、このコードホイール25に形成したパターンを検出する透過型フォトセンサからなるエンコーダセンサ26を設けている。これらのコードホイール25とエンコーダセンサ26によって搬送ベルト12の移動量及び移動位置を検出するロータリエンコーダ(副走査エンコーダ)を構成している。   In addition, a code wheel 25 is attached to the shaft of the conveyance roller 13, and an encoder sensor 26 formed of a transmission type photo sensor for detecting a pattern formed on the code wheel 25 is provided. The code wheel 25 and the encoder sensor 26 constitute a rotary encoder (sub scanning encoder) for detecting the movement amount and movement position of the conveyance belt 12.

このように構成した装置においては、給紙トレイから用紙10が搬送ベルト12上に給紙されて吸着され、搬送ベルト12の周回移動によって用紙10が副走査方向に搬送される。   In the apparatus configured as described above, the sheet 10 is fed from the sheet feed tray onto the transport belt 12 and attracted, and the circumferential movement of the transport belt 12 transports the sheet 10 in the sub-scanning direction.

そこで、キャリッジ3を主走査方向に移動させながら画像信号に応じてヘッド4を駆動することにより、停止している用紙10にインク滴を吐出して1行分を記録する。そして、用紙10を所定量搬送後、次の行の記録を行う。   Therefore, by moving the carriage 3 in the main scanning direction and driving the head 4 according to the image signal, ink droplets are discharged onto the stopped paper 10 to record one line. Then, after transporting the sheet 10 by a predetermined amount, the next line is recorded.

記録終了信号又は用紙10の後端が記録領域に到達した信号を受けることにより、記録動作を終了して、用紙10を排紙する。   The recording operation is ended by receiving the recording end signal or a signal that the rear end of the sheet 10 has reached the recording area, and the sheet 10 is discharged.

次に、この装置の制御部の概要について図3を参照して説明する。同図は同制御部のブロック説明図である。   Next, an outline of a control unit of this apparatus will be described with reference to FIG. This figure is a block diagram of the control unit.

この制御部500は、この装置全体の制御を司るCPU501と、CPU501が実行する本発明に係るプログラムを含むプログラム、その他の固定データを格納するROM502と、画像データ等を一時格納するRAM503とを含む主制御部500Aを備えている。   The control unit 500 includes a CPU 501 for controlling the entire apparatus, a ROM 502 for storing fixed data and programs including a program according to the present invention executed by the CPU 501, and a RAM 503 for temporarily storing image data and the like. A main control unit 500A is provided.

また、制御部500は、PCなどのホスト(情報処理装置)600との間でデータの転送を司るホストI/F506と、ヘッド4を駆動制御する画像出力制御部511と、エンコーダ解析部512を備えている。エンコーダ解析部512は、主走査エンコーダセンサ24、副走査エンコーダセンサ26からの検出信号を入力して解析する。   The control unit 500 also includes a host I / F 506 that controls data transfer with a host (information processing apparatus) 600 such as a PC, an image output control unit 511 that controls driving of the head 4, and an encoder analysis unit 512. Have. The encoder analysis unit 512 receives and analyzes detection signals from the main scanning encoder sensor 24 and the sub scanning encoder sensor 26.

また、制御部500は、主走査モータ5を駆動する主走査モータ駆動部513と、副走査モータ16を駆動する副走査モータ駆動部514と、温度センサ518、各種センサ及びアクチュエータ517との間のI/O516なども備えている。
を備えている。
The control unit 500 further includes a main scan motor drive unit 513 for driving the main scan motor 5, a sub scan motor drive unit 514 for driving the sub scan motor 16, a temperature sensor 518, various sensors and actuators 517. It also has an I / O 516.
Is equipped.

また、制御部500は、吐出検知ユニット100の電極101に液滴が着弾したときの電気的変化を測定(検出)して吐出/不吐出を判別する吐出検知部531を備えている。また、制御部500は、吐出検知ユニット100の電極101を払拭する払拭ユニット200の駆動モータ203を駆動する払拭ユニット駆動部532を備えている。   The control unit 500 also includes a discharge detection unit 531 that measures (detects) an electrical change when a droplet lands on the electrode 101 of the discharge detection unit 100 and determines discharge / non-discharge. The control unit 500 also includes a wiping unit drive unit 532 that drives the drive motor 203 of the wiping unit 200 that wipes the electrodes 101 of the ejection detection unit 100.

画像出力制御部511は、印刷データを生成するデータ生成手段、ヘッド4を駆動制御するための駆動波形を発生する駆動波形生成手段、駆動波形から所要の駆動信号を選択するためのヘッド制御信号及び印刷データを転送するデータ転送手段などを含む。   The image output control unit 511 includes a data generation unit that generates print data, a drive waveform generation unit that generates a drive waveform for driving and controlling the head 4, a head control signal for selecting a required drive signal from the drive waveform, It includes data transfer means for transferring print data.

そして、画像出力制御部511は、キャリッジ3側に搭載されたヘッド4を駆動するためのヘッド駆動回路であるヘッドドライバ510に対して駆動波形、ヘッド制御信号、印刷データなどを出力して、ヘッド4のノズルから印刷データに応じて液滴を吐出させる。   Then, the image output control unit 511 outputs a drive waveform, a head control signal, print data, and the like to the head driver 510 which is a head drive circuit for driving the head 4 mounted on the carriage 3 side. Droplets are ejected from the nozzles of No. 4 according to the print data.

また、エンコーダ解析部512は、検出信号から移動方向を検知する方向検知部520と、移動量を検知するカウンタ部521とを備えている。   The encoder analysis unit 512 also includes a direction detection unit 520 that detects the movement direction from the detection signal, and a counter unit 521 that detects the movement amount.

制御部500は、エンコーダ解析部512からの解析結果に基づいて、主走査モータ駆動部513を介して主走査モータ5を駆動制御することでキャリッジ3の移動制御を行う。また、副走査モータ駆動部514を介して副走査モータ16を駆動制御することで用紙10の送り制御を行う。   The control unit 500 controls the movement of the carriage 3 by driving and controlling the main scanning motor 5 via the main scanning motor driving unit 513 based on the analysis result from the encoder analysis unit 512. Further, by controlling the driving of the sub scanning motor 16 via the sub scanning motor driving unit 514, the sheet 10 is controlled to be fed.

この制御部500の主制御部500Aは、ヘッド4の吐出検出を行うときには、ヘッド4を吐出検知ユニット100に対向する位置まで移動させる。そして、主制御部500Aは、画像出力制御部511を介してヘッド4の所要のノズルから滴吐出を行わせて吐出検知部531からの検知信号によって滴吐出状態(吐出/不吐出)を判別する制御を行う。   The main control unit 500A of the control unit 500 moves the head 4 to a position facing the discharge detection unit 100 when the discharge detection of the head 4 is performed. Then, the main control unit 500A causes droplet discharge from a required nozzle of the head 4 via the image output control unit 511, and determines the droplet discharge state (discharge / non-discharge) by the detection signal from the discharge detection unit 531. Take control.

また、液体を吐出する装置側で入力画像のデータに対して不良吐出ノズルによる画質劣化を低減する処理(これを「補償処理」という。)を行うときには、ROM502に格納保持されたプログラムによって主制御部500Aによって補償処理を行うことになる。   When the apparatus for ejecting liquid performs processing to reduce image quality deterioration due to a defective ejection nozzle (referred to as “compensation processing”) on data of an input image, main control is performed by a program stored in the ROM 502. The compensation process is performed by the unit 500A.

次に、ホスト600側の一例について図4のブロック説明図を参照して説明する。   Next, an example of the host 600 will be described with reference to the block diagram of FIG.

ホスト600は、情報処理装置であり、CPU611と、メモリ手段である各種のROM612やRAM613とが、バスラインで接続されている。このバスラインには、所定のインタフェイスを介して、ハードディスクなどの磁気記憶装置を用いた記憶装置616と、マウスやキーボードなどの入力装置614と、LCDやCRTなどのモニタ615と、外部I/F617が接続されている。   The host 600 is an information processing apparatus, and a CPU 611 and various ROMs 612 and RAMs 613 as memory means are connected by a bus line. In this bus line, a storage device 616 using a magnetic storage device such as a hard disk, an input device 614 such as a mouse or a keyboard, a monitor 615 such as an LCD or CRT, and an external I / I via a predetermined interface. F 617 is connected.

記憶装置616には、本発明に係るプログラムを含む画像処理プログラムが記憶されている。この画像処理プログラムは、記憶媒体から記憶媒体読取装置により読み取って、あるいは、インターネットなどのネットワークからダウンロードするなどして、記憶装置616にインストールしたものである。なお、画像処理プログラムは、所定のOS上で動作するものであってもよい。また、特定のアプリケーションソフトの一部をなすものであってもよい。   The storage unit 616 stores an image processing program including a program according to the present invention. The image processing program is installed in the storage device 616 by reading from the storage medium by the storage medium reading device or downloading from a network such as the Internet. The image processing program may operate on a predetermined OS. Moreover, it may be a part of specific application software.

ホスト600は、アプリケーションソフトなどからのプリント命令をプリンタドライバ601で処理して液体を吐出する装置が出力可能な多値のドットパターンのデータを生成し、液体を吐出する装置に転送する。   The host 600 processes a print command from application software or the like with the printer driver 601 to generate multi-valued dot pattern data that can be output by a device that discharges liquid, and transfers the data to the device that discharges liquid.

ホスト600側で行う画像処理としては、例えば色を調整するためのカラーマネージメント処理(CMM)、γ補正処理、ディザ法や誤差拡散法などの中間調処理、さらには下地除去処理、総量規制処理などがある。そして、画像処理をしたデータをラスタデータに展開し液体を吐出する装置に転送する。   Examples of image processing performed on the host 600 side include color management processing (CMM) for color adjustment, gamma correction processing, halftone processing such as dither method and error diffusion method, background removal processing, total amount restriction processing, etc. There is. Then, the image-processed data is developed into raster data and transferred to a device that discharges liquid.

ホスト600側で補償処理を行うときには、液体を吐出する装置側から不良吐出ノズルの検知結果のデータの転送を受けて補償処理を行うことになる。   When performing the compensation process on the host 600 side, the compensation process is performed by receiving the data of the detection result of the defective discharge nozzle from the apparatus side that discharges the liquid.

次に、本発明の第1実施形態における補償処理について図5及び図6のフロー図を参照して説明する。   Next, the compensation process in the first embodiment of the present invention will be described with reference to the flowcharts of FIGS. 5 and 6.

なお、シリアル型装置におけるキャリッジ(ヘッド)の移動方向を主走査方向、媒体を搬送する方向を副走査方向とするとき、画像データについて、左右方向を「主走査方向」、上下方向を「副走査方向」とする。   When the moving direction of the carriage (head) in the serial type device is the main scanning direction and the direction for transporting the medium is the sub scanning direction, the image data is "main scanning direction" in the horizontal direction and "sub scanning in the vertical direction. "Direction".

この処理を開始する前に、不良吐出ノズルの有無の確認(吐出検知)を行っている。不良吐出ノズルの検知は、上述した吐出検知ユニット100を使用して行っているが、媒体上にテストパターンを吐出させて目視で確認して、確認結果を装置又はホスト600に入力することもできる。   Before starting this process, confirmation (discharge detection) of the presence or absence of a defective discharge nozzle is performed. Although detection of a defective discharge nozzle is performed using the above-described discharge detection unit 100, a test pattern can be discharged onto a medium and visually confirmed, and the confirmation result can be input to the apparatus or host 600. .

ここで、吐出検知のタイミングは、画像データが入力された後、或いは、画像データが入力される前のいずれでもよい。   Here, the timing of the ejection detection may be either after the image data is input or before the image data is input.

印刷画像データが入力された後に吐出検知を行うことで、印刷直前に不良吐出ノズルの検知を行うことができ、不良吐出ノズルが存在する場合には確実に補償を行うことができる。ただし、印刷画像データの入力後に判定処理を行う必要があるため、印刷開始の指示から実際に印刷が開始されるまでの待ち時間が長くなる。   By performing the ejection detection after the print image data is input, it is possible to detect a defective ejection nozzle immediately before printing, and it is possible to reliably perform compensation when there is a defective ejection nozzle. However, since it is necessary to perform the determination process after the input of the print image data, the waiting time from the print start instruction to the actual start of printing becomes long.

一方、画像データが入力される前に吐出検知を行うことで、印刷開始の指示から実際に印刷が開始されるまでの待ち時間が長くならない。ただし、吐出検知から印刷開始までの時間が長くなる場合には、検知結果が変動することがある。   On the other hand, by performing the ejection detection before the image data is input, the waiting time from the print start instruction to the actual start of printing does not increase. However, when the time from the discharge detection to the start of printing becomes long, the detection result may fluctuate.

そして、吐出検知の結果、不良吐出ノズルが検知されたときには、当該不良ノズルのノズル位置の情報(基準ノズルに対して何番目のノズルかを示す位置情報)を取得する。この不良吐出ノズルの位置情報と、画像データを印刷するときの印刷品質(解像度)とを併せることにより、不良吐出ノズルによって形成される印刷画像上での画素位置を判定することができる。   Then, when a defective discharge nozzle is detected as a result of the discharge detection, information on the nozzle position of the defective nozzle (position information indicating which nozzle is located with respect to the reference nozzle) is acquired. By combining the position information of the defective discharge nozzle and the print quality (resolution) when printing the image data, it is possible to determine the pixel position on the print image formed by the defective discharge nozzle.

そこで、図5を参照して、1回の走査分の入力画像の画像データを入力し、対象画素を移動する。   Therefore, referring to FIG. 5, the image data of the input image for one scan is input, and the target pixel is moved.

そして、当該対象画素が不良吐出ノズルで記録される画素か否かを判別する。   Then, it is determined whether the target pixel is a pixel to be recorded by the defective discharge nozzle.

このとき、当該対象画素が不良吐出ノズルで記録される画素でなければ、多値誤差拡散処理を行う。   At this time, if the target pixel is not a pixel to be recorded by a defective discharge nozzle, multi-level error diffusion processing is performed.

これに対し、当該対象画素が不良吐出ノズルで記録される画素であれば、対象画素の階調値(画素値)が予め定めた第1の閾値以上か否かを判別する。   On the other hand, if the target pixel is a pixel to be recorded by the defective discharge nozzle, it is determined whether the gradation value (pixel value) of the target pixel is equal to or greater than a predetermined first threshold.

このとき、当該対象画素が不良吐出ノズルで記録される対象画素の階調値が第1の閾値以上でなければ、つまり、第1の閾値未満であるときには、多値誤差拡散処理を行う。そして、多値誤差拡散処理における量子化誤差を、不良吐出ノズルに対応する画素の周辺画素に展開する処理を行う。ここでは、周辺画素に展開する処理として、主走査方向及び副走査方向下流側の画素に振り分ける処理を行う。   At this time, if the gradation value of the target pixel to be recorded by the defective discharge nozzle is not equal to or greater than the first threshold, that is, less than the first threshold, multi-level error diffusion processing is performed. Then, the quantization error in the multi-level error diffusion process is developed to the peripheral pixels of the pixel corresponding to the defective discharge nozzle. Here, as processing for expanding to peripheral pixels, processing for distributing to pixels on the downstream side in the main scanning direction and sub scanning direction is performed.

これに対し、当該対象画素が不良吐出ノズルで記録される対象画素の階調値が第1の閾値以上であれば、当該対象画素が不良吐出ノズルで記録される対象画素の階調値が第1の閾値より大きい予め定めた第2の閾値以上(第2の閾値>第1の閾値)か否かを判別する。   On the other hand, if the gradation value of the target pixel for which the target pixel is to be recorded by the defective ejection nozzle is equal to or greater than the first threshold, the gradation value of the target pixel for which the target pixel is to be recorded by the defective ejection nozzle is It is determined whether or not it is equal to or greater than a predetermined second threshold larger than a threshold of 1 (second threshold> first threshold).

このとき、当該対象画素が不良吐出ノズルで記録される対象画素の階調値が第2の閾値以上でなければ、つまり、第1の閾値以上で第2の閾値未満であるときには、多値誤差拡散処理を行う。そして、多値誤差拡散処理における量子化誤差を、不良吐出ノズルに対応する画素の周辺画素に、所定の係数を乗じて展開する処理を行う。ここでは、周辺画素に所定の係数を乗じて展開する処理として、所定の係数を乗じて主走査方向及び副走査方向下流側の画素に振り分ける処理を行う。   At this time, if the gradation value of the target pixel recorded in the defective discharge nozzle is not equal to or more than the second threshold, that is, if the number is equal to or more than the first threshold and less than the second threshold Perform diffusion processing. Then, the quantization error in the multi-level error diffusion processing is developed by multiplying the peripheral pixels of the pixel corresponding to the defective discharge nozzle by a predetermined coefficient. Here, as processing for multiplying peripheral pixels by a predetermined coefficient for expansion, processing for multiplying pixels in the main scanning direction and sub-scanning direction on the downstream side by multiplying the predetermined coefficient is performed.

これに対し、当該対象画素が不良吐出ノズルで記録される対象画素の階調値が第2の閾値以上であれば、対象画素の座標を保存する。そして、多値誤差拡散処理を行う。   On the other hand, if the gradation value of the target pixel for which the target pixel is recorded by the defective discharge nozzle is equal to or greater than the second threshold, the coordinates of the target pixel are stored. Then, multi-level error diffusion processing is performed.

その後、全体の量子化誤差を更新する。   After that, the entire quantization error is updated.

そして、全ての画素でのn値化処理が終了したか否かを判別する。   Then, it is determined whether the n-value conversion process has been completed for all the pixels.

このとき、全ての画素でのn値化処理が終了していなければ、対象画素を移動しながら上記の処理を繰り返す。   At this time, if the n-value conversion process has not been completed for all the pixels, the above process is repeated while moving the target pixel.

そして、全ての画素でのn値化処理が終了したときには、図6に示す処理に移行する。   Then, when the n-value conversion process for all the pixels is completed, the process shifts to the process shown in FIG.

図6を参照して、まず、保存した画素の座標があるか、つまり、座標が保存されている画素があるか否かを判別する。   Referring to FIG. 6, first, it is determined whether there are coordinates of a stored pixel, that is, whether there is a pixel whose coordinates are stored.

このとき、座標が保存されている画素があれば、保存した座標の画素の周辺で、パターンマッチング処理を行って小さなドットを大きなドットに置き換える(ドット置換)。   At this time, if there is a pixel whose coordinate is stored, pattern matching processing is performed around the pixel of the stored coordinate to replace a small dot with a large dot (dot substitution).

つまり、不良吐出ノズルに対応する画素値が第2の閾値以上であるときには、不良吐出ノズルの周辺でのドットの大きさと配置に応じた所定のマスクパターンを用いて、パターンマッチングにより前記不良吐出ノズルの周辺でのドットのうち小さなドットを大きなドットに置き換える処理を行う。   That is, when the pixel value corresponding to the defective discharge nozzle is equal to or greater than the second threshold, the defective discharge nozzle is formed by pattern matching using a predetermined mask pattern according to the size and arrangement of dots around the defective discharge nozzle. Perform processing to replace small dots of the dots in the periphery with large dots.

その後、全ての画素についてのパターンマッチング処理が終了したか否かを判別する。   Thereafter, it is determined whether the pattern matching process for all the pixels is completed.

そして、全ての画素についてのパターンマッチング処理が終了したときには、この処理を終了する。   Then, when the pattern matching process for all the pixels is finished, this process is finished.

以上説明したように、本実施形態においては、不良吐出ノズルで記録される画素については、量子化処理を行うときに、ドットを発生させない、又は、画質に影響を与えないレベルの小さいドットのみを吐出する、という処理を実施した後、量子化誤差を周囲の正常吐出ノズルで記録される画素に展開して、正常吐出ノズルからの滴の配置やサイズを変化させることによって、不良吐出ノズルによる画素の周辺での濃度を一定にすることにより画像品質の劣化を低減する(補償する)。ここで、量子化処理は、入力画像の画素値(階調値:多値データ)を、n値(n≧2の整数)に対応した多値誤差拡散処理によりn値のドットパターンに変換する処理である。   As described above, in the present embodiment, for the pixels recorded by the defective discharge nozzle, when performing the quantization process, only dots having a small level at which dots are not generated or image quality is not affected are generated. After carrying out the process of discharging, the quantization error is expanded to the pixels recorded by the surrounding normal discharge nozzles, and the arrangement and the size of the droplets from the normal discharge nozzle are changed, thereby the pixels by the defective discharge nozzle The degradation of the image quality is reduced (compensated) by keeping the density in the vicinity of. Here, the quantization process converts the pixel value (tone value: multi-value data) of the input image into an n-value dot pattern by multi-value error diffusion processing corresponding to n-value (n 整数 2 integer) It is a process.

このように、量子化誤差を吐出不良ノズルで記録される画素の周辺画素に展開することで、ドット密度の低い、薄い色を表現するときには、1つのドットが変化することによる改善効果が大きいことから、不良吐出ノズルで記録される画素の下流での滴の配置やサイズを変化させる補償処理のみでも画質の劣化を低減することができる。   As described above, when developing a thin color with a low dot density by expanding the quantization error to the peripheral pixels of the pixel recorded by the ejection failure nozzle, the improvement effect by changing one dot is large. Therefore, the deterioration of the image quality can be reduced only by the compensation process of changing the arrangement and the size of the droplet downstream of the pixel recorded by the defective discharge nozzle.

しかしながら、ドット密度が高く、滴で媒体を埋めるような画像に近くなると、不良吐出ノズルで記録される画素の下流で、周辺画素の滴の配置やサイズを変化させる補償処理をする場合には、入力画像の画素値が大きくなるほど、周囲に展開する量子化誤差も大きくなる。そのため、周囲に展開する量子化誤差が大きくなりすぎると、量子化誤差を展開された画素では、多値誤差拡散処理を行った結果、最大サイズのドットが発生し続ける可能性が高くなる。その結果、最大サイズのドットが連続する場合には、不良吐出ノズルに対しての補償効果は得られるが、補償部分のドットが目立ち、画像品質が低下する。   However, when the dot density is high and the image is close to an image in which the medium is filled with droplets, when performing compensation processing to change the arrangement and size of droplets of peripheral pixels downstream of the pixels recorded by the defective ejection nozzle, The larger the pixel value of the input image, the larger the quantization error developed around it. Therefore, if the quantization error expanded to the periphery becomes too large, in the pixel in which the quantization error is expanded, as a result of performing the multi-level error diffusion processing, there is a high possibility that the dot of the maximum size continues to be generated. As a result, when the dots of the maximum size are continuous, the compensation effect for the defective discharge nozzle can be obtained, but the dots in the compensation portion are noticeable and the image quality is degraded.

さらに、入力画像の濃度が高い場合には、不良吐出ノズルで記録される画素の上流での補償処理も同時に実施しないと、十分な画質の改善効果を得ることが難しくなる。   Furthermore, when the density of the input image is high, it is difficult to obtain a sufficient improvement in the image quality unless compensation processing upstream of the pixels recorded by the defective discharge nozzle is also performed simultaneously.

そこで、上述したように、不良吐出ノズルで記録されると判定された画素の画素値が第1の閾値未満であるときには、当該不良吐出ノズルで記録される画素の下流での滴の配置やサイズを変化させる補償処理として、多値誤差拡散処理における量子化誤差を周囲の画素に展開する処理を行う。このような処理でも画質の改善効果(劣化低減効果)を得ることができる。   Therefore, as described above, when the pixel value of the pixel determined to be recorded by the defective discharge nozzle is less than the first threshold, the arrangement or size of the droplet downstream of the pixel recorded by the defective discharge nozzle As a compensation process for changing V.sub.x, a process of expanding a quantization error in a multi-level error diffusion process to surrounding pixels is performed. Even with such processing, the improvement effect (deterioration reduction effect) of the image quality can be obtained.

また、不吐出ノズルで記録される画素の画素値が第1の閾値以上で、第1の閾値よりも大きい第2の閾値未満であるときには、不良吐出ノズルで記録される画素の下流側にサイズの大きなドットが発生し続けることを防止するため、多値誤差拡散処理における量子化誤差は、一定の係数を乗じた値を周囲の画素に展開する。これによって、下流側でのサイズの大きなドットが発生し続けることを防止する。   In addition, when the pixel value of the pixel recorded by the non-ejection nozzle is equal to or more than the first threshold and less than the second threshold larger than the first threshold, the size on the downstream side of the pixel recorded by the defective ejection nozzle In order to prevent the generation of large dots, the quantization error in the multi-level error diffusion process develops a value multiplied by a constant coefficient to surrounding pixels. This prevents the generation of large dots downstream in size.

また、不吐出ノズルで記録される画素値が、第2の閾値以上であるときには、不良吐出ノズルで記録される画素の多値誤差拡散処理による下流側への量子化誤差の展開による補償処理だけでは十分ではない。そこで、不良吐出ノズルの周囲でのドットの形状と配置をマスクパターンと比較することによるパターンマッチングを行い、不良吐出ノズルで記録される画素の上流と下流の両方で、小さいドットを補償効果のある大きなドットに置き換える処理を行う。   Further, when the pixel value recorded by the non-ejection nozzle is equal to or more than the second threshold value, only the compensation processing by the development of the quantization error to the downstream side by multi-level error diffusion processing of the pixel recorded by the defective ejection nozzle Is not enough. Therefore, pattern matching is performed by comparing the shape and arrangement of dots around the defective discharge nozzle with the mask pattern, and small dots are compensated for both upstream and downstream of the pixels recorded by the defective discharge nozzle. Perform processing to replace large dots.

そのため、上記実施形態で説明したように、第2の閾値以上の画素値であるときには、当該画素の座標を保存しておき、多値誤差拡散処理が終了した後に、パターンマッチング処理を実施する。   Therefore, as described in the above embodiment, when the pixel value is equal to or larger than the second threshold, the coordinates of the pixel are stored, and the pattern matching process is performed after the multi-level error diffusion process is completed.

このように、上記実施形態における画像データを処理する方法では、入力画像の多値データをn値(n≧2の整数)に対応した多値誤差拡散処理によりn値のドットパターンに変換するとき、不良吐出ノズルに対応する画素値が予め定めた第1の閾値未満であるときには、多値誤差拡散処理における量子化誤差を、不良吐出ノズルに対応する画素の周辺画素に展開する処理を行い、不良吐出ノズルに対応する画素値が第1の閾値以上で、かつ、第1の閾値より大きい予め定めた第2の閾値以下であるときには、多値誤差拡散処理における量子化誤差を、不良吐出ノズルに対応する画素の周辺画素に、所定の係数を乗じて展開する処理を行い、不良吐出ノズルに対応する画素値が第2の閾値以上であるときには、不良吐出ノズルの周辺でのドットの大きさと配置に応じた所定のマスクパターンを用いて、パターンマッチングにより不良吐出ノズルの周辺でのドットのうち小さなドットを大きなドットに置き換える処理を行う。   As described above, in the method of processing image data in the above embodiment, when converting multi-value data of the input image into n-value dot patterns by multi-value error diffusion processing corresponding to n values (n 整数 2 integer) When the pixel value corresponding to the defective discharge nozzle is less than a predetermined first threshold value, the quantization error in the multi-level error diffusion processing is processed to expand the peripheral pixels of the pixel corresponding to the defective discharge nozzle. When the pixel value corresponding to the defective discharge nozzle is equal to or greater than the first threshold and equal to or smaller than a second predetermined threshold greater than the first threshold, the quantization error in the multi-level error diffusion process is The peripheral pixels of the pixel corresponding to the pixel are expanded by multiplying them by a predetermined coefficient, and when the pixel value corresponding to the defective discharge nozzle is equal to or greater than the second threshold, the dot around the defective discharge nozzle is Using size and a predetermined mask pattern corresponding to the arrangement performs a process to replace the small dots to large dots among the dots around the defective ejection nozzle by pattern matching.

次に、画素値の判定に使用する上記第1の閾値及び第2の閾値について図7も参照して説明する。図7は滴量とドット径及び媒体種類の関係の一例を説明する説明図である。   Next, the first threshold and the second threshold used to determine the pixel value will be described with reference to FIG. FIG. 7 is an explanatory view for explaining an example of the relationship between the drop amount, the dot diameter, and the medium type.

第1の閾値及び第2の閾値は、使用する媒体の種類、例えば、紙種ごとに設定することができる。   The first threshold and the second threshold can be set for each type of medium to be used, for example, for each sheet type.

例えば、液体の滲みやすい媒体、例えば所謂普通紙などは、液体が滲むことによって、不良吐出ノズルで記録される画素の上流側の画像補償を行わないでも、画質改善効果(不良吐出ノズルで生じる画質の劣化を低減する効果)が高いため、閾値を高く設定することができる。   For example, in a medium in which liquid easily spreads, for example, so-called plain paper, the image is improved (image quality that occurs in the defective discharge nozzle even if image compensation on the upstream side of pixels recorded by the defective discharge nozzle is not performed. The threshold value can be set high because the effect of reducing the deterioration of

一方、表面がコーティングされているコート紙などでは、液体が表面のコーティングの影響により、ドット径が小さく締まる。そのため、不良吐出ノズルで記録される画素の上流側に対しても画像補償を行わないと、画質改善効果が低く、閾値を低く設定する必要がある。   On the other hand, in the case of coated paper whose surface is coated, the liquid is tightened to a small dot diameter due to the effect of the coating on the surface. Therefore, if the image compensation is not performed on the upstream side of the pixels recorded by the defective discharge nozzle, the image quality improvement effect is low, and the threshold value needs to be set low.

なお、図7に紙面上での媒体種類によるドット径の違いを示している。   FIG. 7 shows the difference in dot diameter according to the type of medium on the paper.

また、画素値の判定に使用する第1の閾値及び第2の閾値は、上記以外にも、n値(n≧2)に対応した多値誤差拡散処理を行った後(実施後)のドット配置を予め定めておき、多値誤差拡散処理では画質の改善効果が弱くなるドット配置となる階調を閾値として設定しておくこともできる。   In addition to the above, the first threshold and the second threshold used to determine the pixel value are dots after performing multi-level error diffusion processing corresponding to n values (n ≧ 2) (after execution) The arrangement may be determined in advance, and in the multi-level error diffusion processing, a gradation which is a dot arrangement at which the improvement effect of the image quality is weakened may be set as a threshold.

例えば、多値誤差拡散処理として、入力の256階調を、3値(滴なし、小滴、大滴)に変換する例で説明する。予めドット配置として、小滴が100%、を経由して、大滴が100%のドット配置となるように、設計した場合、第1の閾値は、ドットがまばらに散っている階調での効果が高いため、小滴の80%で表現される階調値までに設定し、第2の閾値は、ドットが下流のみで補償できる限界として、大滴50%、小滴50%で表現される階調値までに設定できる。   For example, as multi-level error diffusion processing, an example will be described in which the 256 gradations of the input are converted into three values (no drop, small drop, large drop). When the dot arrangement is designed in advance so that the large droplet has a 100% dot arrangement via the small droplet 100%, the first threshold is a gradation in which the dots are scattered sparsely. Since the effect is high, it is set to the gradation value expressed by 80% of the droplets, and the second threshold is expressed by 50% of the large droplets and 50% of the droplets as the limit that the dot can compensate only downstream. Can be set up to

また、画素値の判定に使用する第1の閾値及び第2の閾値は、印刷装置で使用する液体の濃度に応じて設定することができる。   Further, the first threshold and the second threshold used to determine the pixel value can be set in accordance with the concentration of the liquid used in the printing apparatus.

例えば、イエローなどは、明度が高く、視認性が低いため、不良吐出ノズルとなっていても目につきにくい。そのため、イエローの閾値は大きい階調として設定することができる。一方、ブラックは、視認性が高いため、閾値はイエローよりも小さく設定する。   For example, yellow and the like have high brightness and low visibility, and therefore are difficult to see even if they are defective discharge nozzles. Therefore, the yellow threshold can be set as a large gradation. On the other hand, since black has high visibility, the threshold is set smaller than yellow.

また、画素値の判定に使用する第1の閾値及び第2の閾値は、正常吐出されたときの画像濃度に応じて設定される。   Further, the first threshold and the second threshold used for the determination of the pixel value are set in accordance with the image density when the normal ejection is performed.

次に、マスクパターン処理(マスクパターンによるドットの置き換え処理)の第1例について図8及び図9を参照して説明する。図8はマスクパターンの一例の説明図、図9は同マスクパターンを使用したドット置換の一例の説明図である。   Next, a first example of mask pattern processing (dot replacement processing using a mask pattern) will be described with reference to FIGS. 8 and 9. FIG. FIG. 8 is an explanatory view of an example of a mask pattern, and FIG. 9 is an explanatory view of an example of dot replacement using the same mask pattern.

なお、ここでは、n値(n≧2)化のnは、3種類のドット径のドット(大ドット、中ドット、小ドット)と、滴なし、の合計4値である場合を例にする。   Here, n for n-value (nn2) conversion is taken as an example where a total of four values of three kinds of dot diameter dots (large dot, medium dot, small dot) and no drop are used. .

マスクパターンによるドットの置き換えは、前述した補償処理(図5)で説明したとおり、対象画素として保存した座標の有無によって判定を行う。ここで、保存された(記憶された)座標がない場合には、パターンマッチングを実施しない。ただし、この場合、多値誤差拡散による不良吐出ノズルの補償処理は実施されているため、画質が改善された印刷結果を得ることができる。   The dot replacement by the mask pattern is determined based on the presence or absence of the coordinates stored as the target pixel, as described in the above-described compensation process (FIG. 5). Here, if there is no saved (stored) coordinate, pattern matching is not performed. However, in this case, since the compensation process of the defective discharge nozzle by multi-level error diffusion is performed, it is possible to obtain the printing result with the improved image quality.

一方、保存された座標がある場合には、パターンマッチングによるドット置換を行う。   On the other hand, when there are stored coordinates, dot replacement is performed by pattern matching.

この第1例では、図8に示すドット置換用のマスクパターンM1とのパターンマッチングでドット置換を行う。ドット置換用のマスクパターンM1は、4×3のマトリクスを有し、不良吐出ノズルで記録される画素Daに対して上流側及び下流側に位置する画素Dbについて、中ドットを大ドットに置換するパターンである。   In this first example, dot replacement is performed by pattern matching with the mask pattern M1 for dot replacement shown in FIG. The mask pattern M1 for dot replacement has a 4 × 3 matrix, and replaces medium dots with large dots for the pixels Db located upstream and downstream with respect to the pixels Da recorded by the defective discharge nozzle It is a pattern.

例えば、図9(a)に示すような多値誤差拡散後のn値となった画像データとマスクパターンM1のパターンマッチングを行うと、画素D1〜D4でマスクパターンM1の置換ドットと画像データが一致する。したがって、図9(b)に示すように、画素D1〜D4のドットについて中ドットから大ドットに置換される。   For example, when pattern matching is performed on image data that has become n values after multilevel error diffusion and the mask pattern M1 as shown in FIG. 9A, replacement dots and image data of the mask pattern M1 are displayed in pixels D1 to D4. Match Accordingly, as shown in FIG. 9B, the dots of the pixels D1 to D4 are replaced with medium dots to large dots.

このように、不良吐出ノズルで記録される画素の上流と下流両方のドットの置き換えを行うことにより、下流だけドットの置換を行うよりも、補償効果のあるパターンに変換することができる。   As described above, by replacing dots on both the upstream side and the downstream side of the pixel recorded by the defective discharge nozzle, it is possible to convert the pattern having a compensation effect, rather than replacing the dots only on the downstream side.

また、上記のマスクパターンは、n値(n≧2)化に対応した多値誤差拡散処理を行った後のドット配置に対して実施するため、n値後のそれぞれのドットサイズに合わせた個別のマスクパターンを設定することもできる。   In addition, since the mask pattern described above is applied to the dot arrangement after performing the multi-level error diffusion processing corresponding to n value (n22) conversion, the individual individual dot size after the n value You can also set the mask pattern of.

次に、マスクパターン処理(マスクパターンによるドットの置き換え処理)の第2例について図10及び図11を参照して説明する。図10はマスクパターンの一例の説明図、図11は図8及び図10のマスクパターンを使用したドット置換の一例の説明図である。   Next, a second example of the mask pattern process (dot replacement process by the mask pattern) will be described with reference to FIGS. 10 and 11. FIG. FIG. 10 is an explanatory view of an example of a mask pattern, and FIG. 11 is an explanatory view of an example of dot replacement using the mask patterns of FIG. 8 and FIG.

この第2例は、n値(n≧2)化に対応した多値誤差拡散処理を行った後のドット配置に対して実施するため、n値後のそれぞれのドットサイズに合わせた個別のマスクパターンを設定する例である。   Since this second example is applied to the dot arrangement after performing multi-level error diffusion processing corresponding to n-value (n) 2) conversion, an individual mask matched to each dot size after n-value It is an example which sets a pattern.

そこで、前述した第1例のマスクパターンM1とともに、図10に示すドット置換用のマスクパターンM2を使用する。このマスクパターンM2は、4×3のマトリクスを有し、不良吐出ノズルで記録される画素Daに対して上流側及び下流側に位置する画素Dcについて、小ドットを中ドットに置換するパターンである。   Therefore, the mask pattern M2 for dot replacement shown in FIG. 10 is used together with the mask pattern M1 of the first example described above. This mask pattern M2 is a pattern having a 4 × 3 matrix and replacing small dots with medium dots for the pixels Dc located upstream and downstream with respect to the pixels Da recorded by the defective discharge nozzle. .

そして、例えば、図11(a)に示すような多値誤差拡散後のn値となった画像データと前記第1例で説明したマスクパターンM1のパターンマッチングを行うと、画素D1〜D4でマスクパターンM1の置換ドットと画像データが一致する。また、同画像データとマスクパターンM2のパターンマッチングを行うと、画素D5〜D11でマスクパターンM2の置換ドットと画像データが一致する。したがって、図11(b)に示すように、画素D1〜D4のドットについて中ドットから大ドットに置換され、画素D5〜D11のドットについて小ドットから中ドットに置換される。   Then, for example, when pattern matching is performed on the n-valued image data after multi-level error diffusion as shown in FIG. 11A and the mask pattern M1 described in the first example, the pixels D1 to D4 are masked. The replacement dot of the pattern M1 matches the image data. Further, when pattern matching between the image data and the mask pattern M2 is performed, the replacement dots of the mask pattern M2 and the image data coincide with each other in the pixels D5 to D11. Therefore, as shown in FIG. 11B, the dots of the pixels D1 to D4 are replaced with medium dots to large dots, and the dots of the pixels D5 to D11 are replaced with small dots to medium dots.

このように、マスクパターンM1、M2を使用することで、つまり、不良吐出ノズルの周辺のドットのサイズごとに個別に設定したマスクパターンを用いてドットの置き換えを行うことで、例えばマスクパターンM1だけを使用する場合よりも、不良吐出ノズルの影響を緩和することができる。   As described above, by using the mask patterns M1 and M2, that is, by replacing dots using mask patterns individually set for each size of dots around a defective discharge nozzle, for example, only the mask pattern M1 can be obtained. The influence of the defective discharge nozzle can be mitigated compared to the case of using.

上述した補償処理は、液体を吐出する装置側、ホスト側のいずれで行うこともできる。この場合、ROM502或いはROM612に、コンピュータに上述した補償処理を行わせるための本発明に係るプログラムを格納することで実行できる。   The compensation process described above can be performed either on the apparatus side that discharges the liquid or on the host side. In this case, the program can be executed by storing the program according to the present invention for causing the computer to perform the above-described compensation processing in the ROM 502 or the ROM 612.

本願において、「液体を吐出する装置」は、液体吐出ヘッド又は液体吐出ユニットを備え、液体吐出ヘッドを駆動させて、液体を吐出させる装置である。液体を吐出する装置には、液体が付着可能なものに対して液体を吐出することが可能な装置が含まれる。   In the present application, the “device for discharging a liquid” is a device including a liquid discharge head or a liquid discharge unit, and driving the liquid discharge head to discharge the liquid. The device for discharging the liquid includes a device capable of discharging the liquid to one to which the liquid can adhere.

この「液体を吐出する装置」は、液体が付着可能なものの給送、搬送、排紙に係わる手段、その他、前処理装置、後処理装置なども含むことができる。   This "device for discharging liquid" can also include means related to feeding, transporting, and discharging of those to which the liquid can be attached, as well as a pre-processing device, a post-processing device, and the like.

例えば、「液体を吐出する装置」として、液体を吐出させて用紙に画像を形成する装置である画像形成装置がある。   For example, as a “device for discharging liquid”, there is an image forming apparatus which is a device for discharging a liquid to form an image on a sheet.

また、「液体を吐出する装置」は、吐出された液体によって文字、図形等の有意な画像が可視化されるものに限定されるものではない。例えば、それ自体意味を持たないパターン等を形成するものも含まれる。   Further, the “device for discharging liquid” is not limited to a device in which a significant image such as characters and figures is visualized by the discharged liquid. For example, the one which forms the pattern etc. which does not have meaning itself is included.

上記「液体が付着可能もの」とは液体が一時的にでも付着可能なものを意味する。「液体が付着するもの」の材質は、紙、糸、繊維、布帛、皮革、金属、プラスチック、ガラス、木材、セラミックスなど液体が一時的でも付着可能であればよい。   The above-mentioned "the liquid can be attached" means that the liquid can be attached even temporarily. The material of “the liquid to which the liquid adheres” may be any material that can temporarily adhere to the liquid such as paper, yarn, fiber, fabric, leather, metal, plastic, glass, wood, ceramics and the like.

また、「液体」は、インク、処理液、DNA試料、レジスト、パターン材料、結着剤、造形液なども含まれる。   The "liquid" also includes an ink, a treatment liquid, a DNA sample, a resist, a pattern material, a binder, a modeling liquid, and the like.

また、「液体を吐出する装置」には、特に限定しない限り、液体吐出ヘッドを移動させるシリアル型装置、液体吐出ヘッドを移動させないライン型装置のいずれも含まれる。   Further, the “device for discharging the liquid” includes both a serial type device for moving the liquid discharge head and a line type device for not moving the liquid discharge head unless particularly limited.

また、「液体吐出ヘッド」は、使用する圧力発生手段が限定されるものではない。例えば、上記実施形態で説明したような圧電アクチュエータ(積層型圧電素子を使用するものでもよい。)以外にも、発熱抵抗体などの電気熱変換素子を用いるサーマルアクチュエータ、振動板と対向電極からなる静電アクチュエータなどを使用するものでもよい。   Moreover, the "liquid discharge head" is not limited to the pressure generating means used. For example, in addition to the piezoelectric actuator (which may use a laminated piezoelectric element) as described in the above embodiment, the thermal actuator using an electrothermal transducer such as a heating resistor, a diaphragm and a counter electrode An electrostatic actuator or the like may be used.

また、本願において、画像形成、記録、印字、印写、印刷等はいずれも同義語とする。   In the present application, image formation, recording, printing, printing, printing, and the like are all synonymous with each other.

3 キャリッジ
4、4a、4b 液体吐出ヘッド
100 吐出検知ユニット
500 制御部
Reference Signs List 3 carriage 4, 4a, 4b liquid discharge head 100 discharge detection unit 500 control unit

Claims (8)

液体を吐出する複数のノズルを有する液体吐出ヘッドを備える装置であって、
入力画像の多値データをn値(n≧2の整数)に対応した多値誤差拡散処理によりn値のドットパターンに変換するとき、
不良吐出ノズルに対応する画素値が予め定めた第1の閾値未満であるときには、前記多値誤差拡散処理における量子化誤差を、前記不良吐出ノズルに対応する画素の周辺画素に展開する処理を行い、
前記不良吐出ノズルに対応する画素値が前記第1の閾値以上で、かつ、前記第1の閾値より大きい予め定めた第2の閾値未満であるときには、前記多値誤差拡散処理における量子化誤差を、前記不良吐出ノズルに対応する画素の周辺画素に、所定の係数を乗じて展開する処理を行い、
前記不良吐出ノズルに対応する画素値が前記第2の閾値以上であるときには、前記多値誤差拡散処理によるn値のドットパターンに変換した後に、所定のマスクパターンを用いて、前記不良吐出ノズルの周辺でのドットのうち小さなドットを大きなドットに置き換える処理を行う
ことを特徴とする液体を吐出する装置。
An apparatus comprising a liquid discharge head having a plurality of nozzles for discharging a liquid, comprising:
When converting multi-value data of an input image into an n-value dot pattern by multi-value error diffusion processing corresponding to n values (n 整数 2 integer),
When the pixel value corresponding to the defective discharge nozzle is less than a predetermined first threshold value, the quantization error in the multi-level error diffusion processing is expanded to the peripheral pixels of the pixel corresponding to the defective discharge nozzle. ,
When the pixel value corresponding to the defective discharge nozzle is equal to or more than the first threshold and less than a second predetermined threshold larger than the first threshold, quantization error in the multi-level error diffusion process is Performing a process of developing by multiplying the peripheral pixels of the pixel corresponding to the defective discharge nozzle by a predetermined coefficient;
When the pixel value corresponding to the defective ejection nozzle is not less than the second threshold value, after conversion to a dot pattern of n value by the multi-level error diffusion process, using a predetermined mask pattern, before Symbol defective ejection nozzle An apparatus for discharging liquid characterized in that processing of replacing small dots of the dots in the vicinity of the dots with large dots is performed.
前記不良吐出ノズルに対応する画素値が前記第2の閾値以上であるときには、当該不良吐出ノズルに対応する画素の座標を記憶し、記憶した前記画素の座標に基づいて前記小さなドットを大きなドットに置き換える処理を行う
ことを特徴とする請求項1に記載の液体を吐出する装置。
When the pixel value corresponding to the defective discharge nozzle is equal to or greater than the second threshold, the coordinates of the pixel corresponding to the defective discharge nozzle are stored, and the small dots are converted into large dots based on the stored coordinates of the pixels. The apparatus for discharging a liquid according to claim 1, wherein the replacement process is performed.
前記小さなドットを大きなドットに置き換える処理では、前記入力画像の多値データをn値(n≧2の整数)に対応した多値誤差拡散処理でn値のドットパターンに変換した後の当該n値に対応した、前記不良吐出ノズルの周辺のドットのサイズごとに個別に設定したマスクパターンを用いてドットの置き換えを行う
ことを特徴とする請求項1に記載の液体を吐出する装置。
In the processing of replacing small dots with large dots, the n-values after converting multi-value data of the input image into n-value dot patterns by multi-value error diffusion processing corresponding to n values (an integer of n 整数 2) The apparatus for discharging a liquid according to claim 1, wherein the replacement of dots is performed using a mask pattern individually set for each size of dots in the vicinity of the defective discharge nozzle, corresponding to the above.
前記不良吐出ノズルに対応する画素値が前記第2の閾値以上であるときには、前記多値誤差拡散処理を実施後の不良吐出ノズルの周囲でのドットの形状及び配置を前記所定のマスクパターンと比較するパターンマッチングを行い、前記不良吐出ノズルの周辺でのドットのうち小さなドットを大きなドットに置き換える
ことを特徴とする請求項1ないし3のいずれかに記載の液体を吐出する装置。
When the pixel value corresponding to the defective discharge nozzle is equal to or more than the second threshold, the shape and arrangement of dots around the defective discharge nozzle after the multi-level error diffusion processing is compared with the predetermined mask pattern The apparatus according to any one of claims 1 to 3 , wherein pattern matching is performed to replace small dots of the dots around the defective discharge nozzle with large dots .
前記第1の閾値及び前記第2の閾値は、媒体の種類に応じて設定されている
ことを特徴とする請求項1ないし3のいずれかに記載の液体を吐出する装置。
The apparatus according to any one of claims 1 to 3, wherein the first threshold and the second threshold are set according to the type of medium.
前記第1の閾値及び前記第2の閾値は、液体の色に応じて設定されている
ことを特徴とする請求項1ないし3のいずれかに記載の液体を吐出する装置。
The apparatus according to any one of claims 1 to 3, wherein the first threshold and the second threshold are set in accordance with the color of the liquid.
液体を吐出する複数のノズルを有する液体吐出ヘッドを備える装置に対する画像データを処理する方法であって、
入力画像の多値データをn値(n≧2の整数)に対応した多値誤差拡散処理によりn値のドットパターンに変換するとき、
不良吐出ノズルに対応する画素値が予め定めた第1の閾値未満であるときには、前記多値誤差拡散処理における量子化誤差を、前記不良吐出ノズルに対応する画素の周辺画素に展開する処理を行い、
前記不良吐出ノズルに対応する画素値が前記第1の閾値以上で、かつ、前記第1の閾値より大きい予め定めた第2の閾値以下であるときには、前記多値誤差拡散処理における量子化誤差を、前記不良吐出ノズルに対応する画素の周辺画素に、所定の係数を乗じて展開する処理を行い、
前記不良吐出ノズルに対応する画素値が前記第2の閾値以上であるときには、前記多値誤差拡散処理によるn値のドットパターンに変換した後に、所定のマスクパターンを用いて、前記不良吐出ノズルの周辺でのドットのうち小さなドットを大きなドットに置き換える処理を行う
ことを特徴とする画像データを処理する方法。
A method of processing image data for an apparatus comprising a liquid ejection head having a plurality of nozzles for ejecting liquid, comprising:
When converting multi-value data of an input image into an n-value dot pattern by multi-value error diffusion processing corresponding to n values (n 整数 2 integer),
When the pixel value corresponding to the defective discharge nozzle is less than a predetermined first threshold value, the quantization error in the multi-level error diffusion processing is expanded to the peripheral pixels of the pixel corresponding to the defective discharge nozzle. ,
When the pixel value corresponding to the defective ejection nozzle is equal to or more than the first threshold and equal to or less than a second predetermined threshold larger than the first threshold, quantization error in the multi-level error diffusion process is Performing a process of developing by multiplying the peripheral pixels of the pixel corresponding to the defective discharge nozzle by a predetermined coefficient;
When the pixel value corresponding to the defective ejection nozzle is not less than the second threshold value, after conversion to a dot pattern of n value by the multi-level error diffusion process, using a predetermined mask pattern, before Symbol defective ejection nozzle A method of processing image data comprising performing processing of replacing small dots of the dots in the periphery of the image with large dots.
液体を吐出する複数のノズルを有する液体吐出ヘッドを備える装置に対する画像データの処理をコンピュータに行わせるためのプログラムであって、
入力画像の多値データをn値(n≧2の整数)に対応した多値誤差拡散処理によりn値のドットパターンに変換するとき、
不良吐出ノズルに対応する画素値が予め定めた第1の閾値未満であるときには、前記多値誤差拡散処理における量子化誤差を、前記不良吐出ノズルに対応する画素の周辺画素に展開し、
前記不良吐出ノズルに対応する画素値が前記第1の閾値以上で、かつ、前記第1の閾値より大きい予め定めた第2の閾値以下であるときには、前記多値誤差拡散処理における量子化誤差を、前記不良吐出ノズルに対応する画素の周辺画素に、所定の係数を乗じて展開し、
前記不良吐出ノズルに対応する画素値が前記第2の閾値以上であるときには、前記多値誤差拡散処理によるn値のドットパターンに変換した後に、所定のマスクパターンを用いて、前記不良吐出ノズルの周辺でのドットのうち小さなドットを大きなドットに置き換える処理をコンピュータに行わせるためのプログラム。
A program for causing a computer to process image data in an apparatus provided with a liquid discharge head having a plurality of nozzles for discharging a liquid.
When converting multi-value data of an input image into an n-value dot pattern by multi-value error diffusion processing corresponding to n values (n 整数 2 integer),
When the pixel value corresponding to the defective discharge nozzle is less than a predetermined first threshold value, the quantization error in the multi-level error diffusion process is developed to the peripheral pixels of the pixel corresponding to the defective discharge nozzle,
When the pixel value corresponding to the defective ejection nozzle is equal to or more than the first threshold and equal to or less than a second predetermined threshold larger than the first threshold, quantization error in the multi-level error diffusion process is Developing the peripheral pixels of the pixel corresponding to the defective discharge nozzle by multiplying the peripheral pixels by a predetermined coefficient;
When the pixel value corresponding to the defective ejection nozzle is not less than the second threshold value, after conversion to a dot pattern of n value by the multi-level error diffusion process, using a predetermined mask pattern, before Symbol defective ejection nozzle A program to make a computer process to replace small dots of the dots around with large dots.
JP2015099471A 2015-05-14 2015-05-14 Device for discharging liquid, method for processing image data, program Active JP6531484B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015099471A JP6531484B2 (en) 2015-05-14 2015-05-14 Device for discharging liquid, method for processing image data, program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015099471A JP6531484B2 (en) 2015-05-14 2015-05-14 Device for discharging liquid, method for processing image data, program

Publications (2)

Publication Number Publication Date
JP2016215395A JP2016215395A (en) 2016-12-22
JP6531484B2 true JP6531484B2 (en) 2019-06-19

Family

ID=57579982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015099471A Active JP6531484B2 (en) 2015-05-14 2015-05-14 Device for discharging liquid, method for processing image data, program

Country Status (1)

Country Link
JP (1) JP6531484B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3741568A4 (en) * 2018-01-17 2021-11-24 Shenzhen Hosonsoft Co., Ltd Nozzle abnormality compensation method, device, and printer
CN108556483B (en) * 2018-01-17 2019-08-09 森大(深圳)技术有限公司 Modify method, apparatus, equipment and the medium of pre-press data compensation abnormal nozzle

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004042350A (en) * 2002-07-10 2004-02-12 Canon Inc Image processor and image processing method
EP1634709A1 (en) * 2004-09-14 2006-03-15 Océ-Technologies B.V. Printing method with camouflage of defective print elements
JP2006231915A (en) * 2005-01-25 2006-09-07 Seiko Epson Corp Printer, printing program, printing method, image processor, image processing program, image processing method, and recording medium with program recorded
JP4909321B2 (en) * 2008-07-09 2012-04-04 株式会社リコー Image processing method, program, image processing apparatus, image forming apparatus, and image forming system
JP5863548B2 (en) * 2012-04-23 2016-02-16 富士フイルム株式会社 Image processing method, image processing apparatus, image forming apparatus, and ink jet recording apparatus

Also Published As

Publication number Publication date
JP2016215395A (en) 2016-12-22

Similar Documents

Publication Publication Date Title
JP4992788B2 (en) Correction value calculation method and liquid ejection method
EP2468515A1 (en) Defective recording element detecting apparatus, defective recording element detecting method, and image forming apparatus
JP5855607B2 (en) Image recording method, apparatus and program
JP5724350B2 (en) Image forming apparatus and image processing method
KR20070057903A (en) Image forming apparatus, image forming program, image forming method, data generating apparatus, data generating program, data generating method, and recording medium with the program recorded therein
JP5211884B2 (en) Liquid ejecting method and liquid ejecting apparatus
JP2009023121A (en) Liquid ejection device and control method of liquid ejection device
JP2011255594A (en) Liquid ejection device and liquid ejection method
JP2010120254A (en) Printer and method of detecting non-ejecting nozzle
JP6562754B2 (en) Image processing apparatus, image processing method, and program
JP6531484B2 (en) Device for discharging liquid, method for processing image data, program
JP6314544B2 (en) Image processing method, image processing apparatus, image forming apparatus, and program
CN110816059B (en) Liquid ejecting apparatus and liquid ejecting method
JP4770136B2 (en) Printing system, printing control apparatus, and printing control method
JP2009234210A (en) Image processing method and image forming device
JP7027805B2 (en) Printing device, printing method and printing control device
JP6613915B2 (en) Image forming apparatus, image processing method, program, and program recording medium
JP2006305993A (en) Inkjet recorder, apparatus for supplying recorder with image data, and method for controlling recorder
JP2004181940A (en) Recording method, and recording device
JP6657862B2 (en) Compensation method, program, compensation device, and compensation system
US12050949B2 (en) Image forming apparatus, recording amount setting method of image forming apparatus, and recording amount setting program
JP2008093982A (en) Inkjet recording device and recording control method
US11648782B2 (en) Image processing apparatus, image processing method, and storage medium
US20240308234A1 (en) Printing apparatus, printing method, printing program and recording medium
JP2012035478A (en) Inkjet recording apparatus and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180509

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190415

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190506

R151 Written notification of patent or utility model registration

Ref document number: 6531484

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151