JP4239939B2 - Image processing apparatus, image processing program, and image recording apparatus - Google Patents

Image processing apparatus, image processing program, and image recording apparatus Download PDF

Info

Publication number
JP4239939B2
JP4239939B2 JP2004274159A JP2004274159A JP4239939B2 JP 4239939 B2 JP4239939 B2 JP 4239939B2 JP 2004274159 A JP2004274159 A JP 2004274159A JP 2004274159 A JP2004274159 A JP 2004274159A JP 4239939 B2 JP4239939 B2 JP 4239939B2
Authority
JP
Japan
Prior art keywords
pixel
image data
input image
error diffusion
image processing
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
JP2004274159A
Other languages
Japanese (ja)
Other versions
JP2006093900A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2004274159A priority Critical patent/JP4239939B2/en
Publication of JP2006093900A publication Critical patent/JP2006093900A/en
Application granted granted Critical
Publication of JP4239939B2 publication Critical patent/JP4239939B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は、画像処理装置、像処理プログラム、及び画像記録装置に関し、特に、高階調の入力画像データを低階調の画像データに変換する処理を行う画像処理装置、像処理プログラム、及び画像記録装置に関する。 The present invention relates to an image processing apparatus, images processing program, and relates to an image recording apparatus, particularly, an image processing apparatus that performs processing for converting the input image data of high gradation in the image data of low gradation, images processing program, and The present invention relates to an image recording apparatus.

高階調画像をインクジェットプリンタのような低階調でしか記録できない画像記録装置で記録する場合、擬似的に中間調を再現するためハーフトーン処理(量子化処理)が行われ、量子化されたデータに基づいて画像を記録することが行われている。   When recording a high gradation image with an image recording apparatus that can record only a low gradation such as an ink jet printer, halftone processing (quantization processing) is performed in order to reproduce a pseudo halftone, and the quantized data An image is recorded on the basis of the above.

このように、高階調の画像データから低階調の画像データに変換するハーフトーン処理の方法として、誤差拡散法の他、ディザ法等のスクリーン法等がある。特許文献1、2には、誤差拡散法やディザ法を用いて画像データを処理する画像処理装置が記載されている。
特開2003−153001号公報 特開平11−331588号公報
As described above, as a halftone processing method for converting high gradation image data into low gradation image data, there are a screen method such as a dither method in addition to an error diffusion method. Patent Documents 1 and 2 describe image processing apparatuses that process image data using an error diffusion method or a dither method.
JP 2003-153001 A JP-A-11-331588

一般に、誤差拡散法は、量子化誤差を周囲の画素に拡散させるため、高画質だが演算量が多い、という欠点がある。   In general, the error diffusion method has a drawback in that the quantization error is diffused to surrounding pixels, so that the image quality is high but the amount of calculation is large.

一方、ディザ法等のスクリーン法は、演算量は少ないが、画質のアラ、すなわちスクリーンの繰り返しパターンやスクリーンの境界部分が目立ちやすい、という欠点がある。   On the other hand, the screen method such as the dither method has a small amount of calculation, but has a defect that the image quality is unsatisfactory, that is, the repeated pattern of the screen and the boundary portion of the screen are easily noticeable.

本発明は上記事実を考慮して成されたものであり、高階調の画像データから低階調の画像データに変換する際に、演算量を抑えつつ画質の劣化を抑えることができる画像処理装置、像処理プログラム、及び画像記録装置を得ることを目的とする。 The present invention has been made in consideration of the above facts, and is an image processing apparatus capable of suppressing deterioration in image quality while suppressing the amount of calculation when converting high gradation image data to low gradation image data. , an object is to obtain images processing program, and an image recording apparatus.

上記目的を達成するために、請求項1記載の発明は、入力画像データを、前記入力画像データの階調数よりも低い階調数の画像データに変換する画像処理装置であって、前記入力画像データの各画素値と、異なる複数の閾値が設定された予め定めた閾値マトリクスの各閾値との比較結果に基づいて、前記入力画像データを量子化して量子化データを生成する量子化手段と、前記入力画像データと前記量子化データとに基づいて、量子化誤差の絶対値が予め定めた所定閾値以上となる画素を求め、当該求めた画素を誤差拡散法により誤差拡散すべき特定画素として、誤差拡散処理を行う誤差拡散手段と、を備えたことを特徴とする。 In order to achieve the above object, the invention according to claim 1 is an image processing apparatus for converting input image data into image data having a gradation number lower than the gradation number of the input image data, Quantization means for quantizing the input image data and generating quantized data based on a comparison result between each pixel value of the image data and each threshold value of a predetermined threshold matrix in which a plurality of different threshold values are set ; Based on the input image data and the quantized data, a pixel whose absolute value of quantization error is equal to or greater than a predetermined threshold is obtained, and the obtained pixel is determined as a specific pixel to be error diffused by an error diffusion method. And error diffusion means for performing error diffusion processing.

この発明によれば、画像処理装置は、入力画像データを、入力画像データの階調数よりも低い階調数の画像データに変換する装置であり、ハーフトーン処理により中間調を擬似的に表現することにより高階調の画像データを低階調の画像記録装置で記録する場合に適用されるものである。   According to the present invention, the image processing device is a device that converts input image data into image data having a number of gradations lower than the number of gradations of the input image data, and expresses halftones in a pseudo manner by halftone processing. Thus, the present invention is applied when recording high gradation image data with a low gradation image recording apparatus.

量子化手段は、入力画像データの各画素値と、異なる複数の閾値が設定された予め定めた閾値マトリクスの各閾値との比較結果に基づいて、入力画像データを量子化して量子化データを生成する。すなわち、ディザ法等のスクリーン法により高階調の入力画像データを低階調の画像データに変換する。 The quantization means quantizes the input image data and generates quantized data based on a comparison result between each pixel value of the input image data and each threshold value of a predetermined threshold matrix in which a plurality of different threshold values are set. To do. In other words, high gradation input image data is converted into low gradation image data by a screen method such as a dither method.

このように、量子化された量子化データに基づいて画像を記録媒体に記録すると、閾値マトリクスの繰り返しパターンや境界部分が目立ちやすくなり、画質が劣化する場合がある。   As described above, when an image is recorded on a recording medium based on quantized quantized data, a repetitive pattern and a boundary portion of the threshold matrix are easily noticeable, and the image quality may be deteriorated.

そこで、誤差拡散手段は、前記入力画像データと前記量子化データとに基づいて、量子化誤差の絶対値が予め定めた所定閾値以上となる画素を求め、当該求めた画素を誤差拡散法により誤差拡散すべき特定画素として、誤差拡散処理を行。このように、全ての画素について誤差拡散処理するのではなく、一部の画素についてのみ誤差拡散処理を行うことにより、演算量を抑えつつ、画質の劣化を防ぐことができる。 Therefore, the error diffusion means obtains a pixel whose absolute value of the quantization error is not less than a predetermined threshold value based on the input image data and the quantized data, and uses the error diffusion method to calculate the obtained pixel. as specific pixel to be spread, it intends row error diffusion processing. As described above, the error diffusion process is not performed for all the pixels, but the error diffusion process is performed only for a part of the pixels, so that the image quality can be prevented from being deteriorated while reducing the calculation amount.

また、請求項に記載したように、前記誤差拡散手段は、前記閾値マトリクスの境界領域に対応する位置の画素を特定画素とするようにしてもよい。これにより、境界部分が目立つのを防ぐことができる。 According to a second aspect of the present invention, the error diffusing unit may set a pixel at a position corresponding to a boundary region of the threshold value matrix as a specific pixel. Thereby, it can prevent that a boundary part stands out.

また、請求項に記載したように、前記誤差拡散手段は、前記特定画素の位置が、異なる複数の数値がランダムに設定された所定のマトリクスパターンに基づいて設定した2次元的に偏りのないランダムな位置となるように前記特定画素を設定するようにしてもよい。ここで、2次元的に偏りのないランダムな位置とは、特定ドットの位置が極端に固まったり離れたりしていない位置をいう。また、この場合、記誤差拡散手段は、異なる複数の数値がランダムに設定されたマトリクスパターンを用いて、数値が予め定めた所定値以下の位置に対応する画素を特定画素とする。これにより、特定画素がランダムに設定され、閾値マトリクスの繰り返しパターンや境界部分が目立つのを防ぐことができる。 According to a third aspect of the present invention, the error diffusing unit has a two-dimensionally biased position in which the position of the specific pixel is set based on a predetermined matrix pattern in which a plurality of different numerical values are set at random. You may make it set the said specific pixel so that it may become a random position. Here, the random position with no two-dimensional bias means a position where the position of the specific dot is not extremely hardened or separated. In this case, before Symbol error diffusion means, different numerical values using the matrix pattern set randomly, a number is a specific pixel a pixel corresponding to the predetermined value following positions. Thereby, specific pixels are set at random, and it is possible to prevent the repetitive pattern and boundary portion of the threshold value matrix from being noticeable.

また、請求項に記載したように、前記誤差拡散手段は、画質モードに応じて前記特定画素の数を変更するようにしてもよい。例えば、高画質モードの場合は、標準画質モードの場合と比較して、特定画素の数を増加させる。すなわち、誤差拡散処理される画素を増加させる。これにより、演算量は増えるものの、画質を向上させることができ、ユーザーの好みに応じた処理が可能となる。 According to a fourth aspect of the present invention, the error diffusion means may change the number of the specific pixels according to an image quality mode. For example, in the high image quality mode, the number of specific pixels is increased compared to the standard image quality mode. That is, the number of pixels subjected to error diffusion processing is increased. Thereby, although the amount of calculation increases, the image quality can be improved, and processing according to the user's preference is possible.

ところで、量子化誤差を周辺画素に拡散させた場合、誤差が拡散された周辺画素について閾値マトリクスの閾値と比較して量子化するのは好ましくない場合がある。   By the way, when the quantization error is diffused to the peripheral pixels, it may not be preferable to quantize the peripheral pixels in which the error is diffused by comparing with the threshold value of the threshold value matrix.

そこで、請求項に記載したように、前記誤差拡散手段により誤差拡散された前記特定画素の周辺画素に対応する前記閾値マトリクスの閾値が、所定の閾値に近づくように修正する閾値修正手段をさらに備えた構成としてもよい。 Accordingly, as described in claim 5 , threshold correction means for correcting the threshold value of the threshold value matrix corresponding to the peripheral pixels of the specific pixel that has been subjected to error diffusion by the error diffusion means to further approach a predetermined threshold value. It is good also as a structure provided.

この場合、請求項に記載したように、前記所定の閾値は、前記量子化データが取り得る値の範囲の中間値とすることができる。すなわち、通常の誤差拡散処理で用いられる閾値とする。このように、閾値を修正することにより、より適切に量子化することができる。 In this case, as described in claim 6 , the predetermined threshold value can be an intermediate value in a range of values that the quantized data can take. That is, it is set as a threshold value used in normal error diffusion processing. Thus, it is possible to quantize more appropriately by correcting the threshold value.

請求項記載の発明の画像処理プログラムは、コンピュータを、前記請求項1乃至請求項6の何れか1項に記載の画像処理装置の各手段として機能させるプログラムである。 An image processing program according to a seventh aspect of the invention is a program that causes a computer to function as each unit of the image processing apparatus according to any one of the first to sixth aspects.

このような画像処理プログラムによれば、高階調の画像データから低階調の画像データに変換する際の演算量を抑えつつ、画質の劣化を防ぐことができる。   According to such an image processing program, it is possible to prevent deterioration in image quality while suppressing the amount of calculation when converting high gradation image data to low gradation image data.

請求項記載の発明の画像記録装置は、前記請求項1乃至請求項の何れか1項に記載の画像処理装置と、前記画像処理装置により画像処理された画像データに基づいて、記録媒体に画像を記録する記録手段と、を有することを特徴とする。 An image recording apparatus according to an eighth aspect of the present invention is a recording medium based on the image processing apparatus according to any one of the first to sixth aspects and image data processed by the image processing apparatus. And a recording means for recording an image.

このような画像記録装置によれば、高階調の画像データから低階調の画像データに変換する際の演算量を抑えつつ、画質の劣化を防ぐことができる。   According to such an image recording apparatus, it is possible to prevent deterioration in image quality while suppressing a calculation amount when converting high gradation image data to low gradation image data.

本発明によれば、高階調の画像データから低階調の画像データに変換する際に、演算量を抑えつつ画質の劣化を抑えることができる、という効果を有する。   According to the present invention, when converting from high-gradation image data to low-gradation image data, it is possible to suppress deterioration in image quality while suppressing the amount of calculation.

以下、本発明の実施形態について説明する。   Hereinafter, embodiments of the present invention will be described.

図1には、本発明の第1実施形態のインクジェット記録装置12が示されている。インクジェット記録装置12の筐体14内の下部には給紙トレイ16が備えられており、給紙トレイ16内に積層された用紙Pをピックアップロール18で1枚ずつ取り出すことができる。取り出された用紙Pは、所定の搬送経路22を構成する複数の搬送ローラ対20で搬送される。以下、単に「搬送方向」というときは、記録媒体である用紙Pの搬送方向をいい、「上流」、「下流」というときはそれぞれ、搬送方向の上流及び下流を意味するものとする。   FIG. 1 shows an ink jet recording apparatus 12 according to a first embodiment of the present invention. A paper feed tray 16 is provided in the lower part of the casing 14 of the ink jet recording apparatus 12, and the sheets P stacked in the paper feed tray 16 can be taken out one by one by a pickup roll 18. The taken paper P is transported by a plurality of transport roller pairs 20 constituting a predetermined transport path 22. Hereinafter, the “conveying direction” simply refers to the conveying direction of the paper P that is a recording medium, and the “upstream” and “downstream” refer to upstream and downstream in the conveying direction, respectively.

給紙トレイ16の上方には、駆動ロール24及び従動ロール26に張架された無端状の搬送ベルト28が配置されている。搬送ベルト28の上方には記録ヘッドアレイ30が配置されており、搬送ベルト28の平坦部分28Fに対向している。この対向した領域が、記録ヘッドアレイ30からインク滴が吐出される吐出領域SEとなっている。搬送経路22を搬送された用紙Pは、搬送ベルト28で保持されてこの吐出領域SEに至り、記録ヘッドアレイ30に対向した状態で、記録ヘッドアレイ30から画像情報に応じたインク滴が付着される。   Above the paper feed tray 16, an endless transport belt 28 stretched around a drive roll 24 and a driven roll 26 is disposed. A recording head array 30 is disposed above the conveyor belt 28 and faces the flat portion 28F of the conveyor belt 28. This opposed area is an ejection area SE where ink droplets are ejected from the recording head array 30. The sheet P transported along the transport path 22 is held by the transport belt 28 and reaches the discharge area SE, and ink droplets corresponding to image information are attached from the recording head array 30 in a state of facing the recording head array 30. The

そして、用紙Pを搬送ベルト28で保持した状態で周回させることで、吐出領域SE内に複数回通過させて、いわゆるマルチパスによる画像記録を行うことができる。したがって、搬送ベルト28の表面が、本発明における用紙Pの周回経路となっている。   Then, by rotating the paper P while being held by the transport belt 28, the paper P can be passed through the discharge region SE a plurality of times, and so-called multipass image recording can be performed. Therefore, the surface of the conveyance belt 28 is a circulation path of the paper P in the present invention.

なお、搬送ベルト28は、一例として、半導電性ポリイミド材(表面抵抗値1010〜1013Ω/□、体積抵抗値109〜1012Ω・cm)を、厚さ75μm、幅380mm、周長1000mmに成形したものを使用できる。また、駆動ロール24及び従動ロール26としては、一例として、φ50mmのSUSロールを使用できる。 For example, the transport belt 28 is made of a semiconductive polyimide material (surface resistance value 10 10 to 10 13 Ω / □, volume resistance value 10 9 to 10 12 Ω · cm), thickness 75 μm, width 380 mm, circumference What was shape | molded in length 1000mm can be used. Moreover, as the drive roll 24 and the driven roll 26, as an example, a φ50 mm SUS roll can be used.

また、本発明の媒体周回手段としては、搬送ベルト28に限られない。たとえば円筒状あるいは円柱状に形成された搬送ローラの外周に、記録媒体(用紙P)を吸着保持して回転させる構成でもよい。ただし、本実施形態のように搬送ベルト28を使用すると平坦部分28Fが構成されるので、この平坦部分28Fに対応させて記録ヘッドアレイ30を配置でき、好ましい。   Further, the medium circulating means of the present invention is not limited to the conveyor belt 28. For example, the recording medium (paper P) may be sucked and held on the outer periphery of a conveyance roller formed in a cylindrical shape or a columnar shape and rotated. However, when the conveyor belt 28 is used as in the present embodiment, the flat portion 28F is formed, so that the recording head array 30 can be arranged corresponding to the flat portion 28F, which is preferable.

記録ヘッドアレイ30は、本実施形態では、有効な記録領域が用紙Pの幅(搬送方向と直交する方向の長さ)以上とされた長尺状とされ、イエロー(Y)、マゼンタ(M)、サイアン(S)、及びブラック(K)の4色それぞれに対応した4つのインクジェット記録ヘッド32が搬送方向に沿って配置されており、カラーの画像を記録可能になっている。なお、それぞれのインクジェット記録ヘッド32においてインク滴を吐出する方法は特に限定されず、いわゆるサーマル方式や圧電方式等、公知のものを適用できる。   In this embodiment, the recording head array 30 has a long shape in which the effective recording area is equal to or larger than the width of the paper P (the length in the direction orthogonal to the transport direction), and is yellow (Y) and magenta (M). , Four ink jet recording heads 32 corresponding to four colors of Sian (S) and black (K) are arranged along the transport direction, so that a color image can be recorded. The method for ejecting ink droplets in each inkjet recording head 32 is not particularly limited, and a known method such as a so-called thermal method or piezoelectric method can be applied.

各インクジェット記録ヘッド32は、図示しない記録ヘッド制御手段によって制御されるようになっている。記録ヘッド制御手段は、たとえば、画像情報に応じてインク滴の吐出タイミングや使用するインク吐出口(ノズル)を決め、駆動信号をインクジェット記録ヘッド32に送る。   Each inkjet recording head 32 is controlled by recording head control means (not shown). For example, the recording head control means determines the ink droplet ejection timing and the ink ejection port (nozzle) to be used according to the image information, and sends a drive signal to the inkjet recording head 32.

また、記録ヘッドアレイ30は、搬送方向と直交する方向に不動とされていてもよいが、必要に応じて移動するように構成しておくと、マルチパスによる画像記録で、より解像度の高い画像を記録したり、インクジェット記録ヘッド32の不具合を記録結果に反映させないようにしたりできる。   The recording head array 30 may be stationary in a direction orthogonal to the transport direction. However, if the recording head array 30 is configured to move as necessary, an image with higher resolution can be obtained by multi-pass image recording. Or failure of the ink jet recording head 32 is not reflected in the recording result.

記録ヘッドアレイ30の近傍(本実施形態では搬送方向の両側)には、それぞれのインクジェット記録ヘッド32に対応した4つのメンテナンスユニット34が配置されている。インクジェット記録ヘッド32に対してメンテナンスを行う場合には、図2に示すように、記録ヘッドアレイ30が上方へ移動し、搬送ベルト28との間に構成された間隙にメンテナンスユニット34が移動して入り込む。そして、ノズル面32N(図3参照)に対向した状態で、所定のメンテナンス動作(バキューム、ダミージェット、ワイピング、キャッピング等)を行う。   Four maintenance units 34 corresponding to the respective ink jet recording heads 32 are arranged in the vicinity of the recording head array 30 (in this embodiment, both sides in the transport direction). When maintenance is performed on the inkjet recording head 32, the recording head array 30 moves upward as shown in FIG. 2, and the maintenance unit 34 moves to a gap formed between the conveyance belt 28 and the maintenance unit 34. Get in. Then, a predetermined maintenance operation (vacuum, dummy jet, wiping, capping, etc.) is performed while facing the nozzle surface 32N (see FIG. 3).

なお、本実施形態では、4つのメンテナンスユニット34を2つずつの2組に分割し、記録ヘッドアレイ30、画像記録時には記録ヘッドアレイ30の上流側及び下流側にそれぞれ配置されるようにしている。   In this embodiment, the four maintenance units 34 are divided into two sets of two, and the recording head array 30 is arranged on the upstream side and the downstream side of the recording head array 30 at the time of image recording. .

図3にも詳細に示すように、記録ヘッドアレイ30の上流側には、電源38が接続された帯電ロール36が配置されている。帯電ロール36は、従動ロール26との間で搬送ベルト28及び用紙Pを挟みつつ従動し、用紙Pを搬送ベルト28に押圧する押圧位置と、搬送ベルト28から離間した離間位置との間を移動可能とされている。押圧位置では、接地された従動ロール26との間に所定の電位差が生じるため、用紙Pに電荷を与えて搬送ベルト28に静電吸着させることができる。   As shown in detail in FIG. 3, a charging roll 36 to which a power source 38 is connected is disposed on the upstream side of the recording head array 30. The charging roll 36 is driven while sandwiching the conveyance belt 28 and the paper P with the driven roll 26, and moves between a pressing position for pressing the paper P against the conveyance belt 28 and a separation position separated from the conveyance belt 28. It is possible. At the pressing position, a predetermined potential difference is generated between the grounded driven roll 26 and the sheet P can be charged and electrostatically attracted to the transport belt 28.

帯電ロール36としては、例えば、シリコーンゴムの表面に導電性カーボンを被覆し、体積抵抗値106〜107Ω・cm程度に調整したφ14mmのロールを使用することができる。 As the charging roll 36, for example, a roll having a diameter of 14 mm can be used in which conductive rubber is coated on the surface of silicone rubber and the volume resistance value is adjusted to about 10 6 to 10 7 Ω · cm.

また、電源38としては、図3では直流電源を挙げているが、用紙Pを所定電位に帯電させることが可能であれば、交流電源でもよい。   As the power source 38, a DC power source is shown in FIG. 3, but an AC power source may be used as long as the paper P can be charged to a predetermined potential.

なお、帯電ロール36よりもさらに上流側には、図示しないレジロールが設けられており、用紙Pが搬送ベルト28と帯電ロール36との間に至る前に位置合わせされる。   A registration roll (not shown) is provided further upstream than the charging roll 36, and the paper P is aligned before reaching between the conveyance belt 28 and the charging roll 36.

記録ヘッドアレイ30の下流側には、剥離プレート40が配置されており、用紙Pを搬送ベルト28から剥離することができる。剥離プレート40としては、たとえば、厚さ0.5mm、幅330mm、長さ100mmのアルミプレートを使用することができる。   A peeling plate 40 is disposed on the downstream side of the recording head array 30, and the paper P can be peeled from the transport belt 28. As the peeling plate 40, for example, an aluminum plate having a thickness of 0.5 mm, a width of 330 mm, and a length of 100 mm can be used.

剥離された用紙Pは、剥離プレート40の下流側で排出経路44を構成する複数の排出ローラ対42で搬送され、筐体14の上部に設けられた排紙トレイ46に排出される。   The peeled paper P is transported by a plurality of discharge roller pairs 42 that constitute a discharge path 44 on the downstream side of the peeling plate 40, and is discharged to a paper discharge tray 46 provided at the top of the housing 14.

剥離プレート40の下方には、駆動ロール24との間で搬送ベルト28を挟持可能なクリーニングロール48が配置されており、搬送ベルト28の表面をクリーニングするようになっている。   Below the peeling plate 40, a cleaning roll 48 capable of sandwiching the conveying belt 28 with the driving roll 24 is disposed, and the surface of the conveying belt 28 is cleaned.

給紙トレイ16と搬送ベルト28の間には、本発明の反転手段として、複数の反転用ローラ対50で構成された反転経路52が設けられており、片面に画像記録された用紙Pを反転させて搬送ベルト28に保持させることで、用紙Pの両面への画像記録を容易に行えるようになっている。   A reversing path 52 composed of a plurality of reversing roller pairs 50 is provided between the paper feed tray 16 and the conveying belt 28 as a reversing means of the present invention, and the paper P on which an image is recorded on one side is reversed. Thus, the image can be easily recorded on both sides of the paper P by being held on the transport belt 28.

搬送ベルト28と排紙トレイ46の間には、4色の各インクをそれぞれ貯留するインクタンク54が設けられている。インクタンク54のインクは、図示しないインク供給配管をによって、記録ヘッドアレイ30に供給される。インクとしては、水性インク、油性インク、溶剤系インク等、公知の各種インクを使用できる。   Between the conveyance belt 28 and the paper discharge tray 46, an ink tank 54 for storing each of the four color inks is provided. The ink in the ink tank 54 is supplied to the recording head array 30 through an ink supply pipe (not shown). As the ink, various known inks such as water-based ink, oil-based ink, and solvent-based ink can be used.

このような全体構成とされた本実施形態のインクジェット記録装置12では、上記したように、給紙トレイ16から取り出された用紙Pが搬送され、搬送ベルト28に至る。そして、帯電ロール36によって搬送ベルト28に押し付けられると共に、帯電ロール36からの印加電圧によって搬送ベルト28に吸着(密着)して保持される。この状態で、搬送ベルトの循環によって用紙Pが吐出領域SEを通過しつつ、記録ヘッドアレイ30からインク滴が吐出されて、用紙P上に画像が記録される。1パスのみで画像記録する場合には、剥離プレート40で用紙Pで搬送ベルト28から剥離し、排出ローラ対42で搬送して排紙トレイ46に排出する。これに対し、マルチパスで画像記録を行う場合には、必要な回数に達するまで用紙Pを周回させて吐出領域SEを通過させた後、剥離プレート40で用紙Pで搬送ベルト28から剥離し、排出ローラ対42で搬送して排紙トレイ46に排出する。   In the ink jet recording apparatus 12 of the present embodiment configured as described above, the paper P taken out from the paper feed tray 16 is transported to the transport belt 28 as described above. Then, it is pressed against the conveyor belt 28 by the charging roll 36 and is held by being attracted (contacted) to the conveyor belt 28 by the voltage applied from the charging roll 36. In this state, while the paper P passes through the ejection area SE by circulation of the transport belt, ink droplets are ejected from the recording head array 30 and an image is recorded on the paper P. When recording an image in only one pass, the sheet P is peeled off from the transport belt 28 by the peeling plate 40, transported by the discharge roller pair 42, and discharged to the paper discharge tray 46. On the other hand, when performing image recording by multi-pass, after the paper P is circulated and passed through the ejection area SE until the required number of times is reached, the paper P is peeled off from the transport belt 28 by the paper P with the peeling plate 40, The paper is conveyed by the discharge roller pair 42 and discharged to the paper discharge tray 46.

図4には、インクジェット記録装置12の制御系の概略ブロック図を示した。図4に示すように、インクジェット記録装置12は、制御部60、色変換部62、画像処理部64、記録データ作成部66、及び画像記録部68を含んで構成される。なお、色変換部62、画像処理部64、及び記録データ作成部66は、画像データをインクジェット記録装置12へ出力するパーソナルコンピュータ等の外部装置側に設けられていても良い。   FIG. 4 shows a schematic block diagram of a control system of the inkjet recording apparatus 12. As shown in FIG. 4, the ink jet recording apparatus 12 includes a control unit 60, a color conversion unit 62, an image processing unit 64, a recording data creation unit 66, and an image recording unit 68. The color conversion unit 62, the image processing unit 64, and the recording data creation unit 66 may be provided on the external device side such as a personal computer that outputs the image data to the inkjet recording device 12.

制御部60は、色変換部62、画像処理部64、記録データ作成部66、及び画像記録部68を統括制御する。なお、画像記録部68は、図1〜3を参照して説明したインクジェット記録装置12のうち画像の記録に関する構成要素を含むものである。   The control unit 60 controls the color conversion unit 62, the image processing unit 64, the recording data creation unit 66, and the image recording unit 68. The image recording unit 68 includes components relating to image recording in the inkjet recording apparatus 12 described with reference to FIGS.

色変換部62は、例えば用紙Pやインクの特性や後述するハーフトーン処理に応じた色補正や濃度補正を行うと共に、入力画像データがRGBデータの場合は、CMYKデータに変換する。なお、色補正処理は、一般にLUT(Look Up Table)と呼ばれる補正テーブルを用いて行う。   The color conversion unit 62 performs color correction and density correction according to, for example, the characteristics of the paper P and ink and halftone processing described later, and converts the input image data into CMYK data when the input image data is RGB data. Note that the color correction processing is performed using a correction table generally referred to as a LUT (Look Up Table).

画像処理部64は、詳細は後述するが、所謂ハーフトーン処理を実行する。すなわち256階調等の比較的高階調のデータから、画像記録部68で記録可能な階調数の画像データに変換する。この処理は、YMCKの各色毎に行われる。   Although details will be described later, the image processing unit 64 performs so-called halftone processing. That is, data with a relatively high gradation such as 256 gradations is converted into image data with a number of gradations that can be recorded by the image recording unit 68. This process is performed for each color of YMCK.

なお、インクジェットプリンタで記録可能な階調数は一般的に2〜8階調であるが、本実施形態では一例としてYMCKの各色共2階調、すなわち吐出するインク滴の種類が1つの場合について説明する。   The number of gradations that can be recorded by an inkjet printer is generally 2 to 8 gradations. However, in this embodiment, as an example, each color of YMCK has 2 gradations, that is, the type of ink droplet to be ejected is one. explain.

記録データ作成部66は、画像処理部64で2値化された画像データを画像記録部68が解読可能なデータ構造に変換し、記録順序(転送順序)にデータを並び替えて画像記録部68へ出力する。このとき、インクジェット記録ヘッドやノズルの配列にマッピングさせた吐出タイミングやデータ配列も考慮して記録データを作成する。   The recording data creation unit 66 converts the image data binarized by the image processing unit 64 into a data structure that can be decoded by the image recording unit 68, rearranges the data in the recording order (transfer order), and the image recording unit 68. Output to. At this time, the recording data is created in consideration of the ejection timing and the data arrangement mapped to the arrangement of the inkjet recording head and the nozzle.

画像記録部68は、記録データ作成部66で作成されたYMCKの記録データに従って、各記録ヘッドのノズルからインクを吐出させる。これにより、用紙P上に画像が記録される。   The image recording unit 68 ejects ink from the nozzles of each recording head according to the YMCK recording data created by the recording data creation unit 66. As a result, an image is recorded on the paper P.

次に、本実施形態の作用として、画像処理部64で実行される処理について、図5に示すフローチャートを参照して説明する。   Next, as an operation of the present embodiment, processing executed by the image processing unit 64 will be described with reference to a flowchart shown in FIG.

まず、ステップ100では、例えばスクリーン法と同様の処理によりスクリーン処理を行う。すなわち、階調数n(nは自然数)の入力画像データの各画素と予め定めた閾値マトリクスの各閾値とを対応させ、注目画素の画素値と注目画素に対応した閾値とを比較する。ここで、各画素値は、0〜(n−1)の値を取り得る。そして、注目画素の画素値が閾値以上である場合には、その画素の画素値を、各画素値が取り得る値の最大値である“n−1”に量子化し、注目画素の画素値が閾値未満の場合には、その画素の画素値を、各画素値が取り得る値の最小値である‘0’に量子化する。   First, in step 100, screen processing is performed by, for example, processing similar to the screen method. That is, each pixel of the input image data having the gradation number n (n is a natural number) is associated with each threshold value of a predetermined threshold matrix, and the pixel value of the target pixel is compared with the threshold value corresponding to the target pixel. Here, each pixel value can take a value of 0 to (n−1). If the pixel value of the target pixel is equal to or greater than the threshold value, the pixel value of the pixel is quantized to “n−1”, which is the maximum value that each pixel value can take, and the pixel value of the target pixel is If it is less than the threshold, the pixel value of the pixel is quantized to “0”, which is the minimum value that each pixel value can take.

具体的に説明するため、図6には、一例として256階調の画像データ70を、4×4の閾値マトリクス72を用いて量子化する場合について示した。画像データ70の各マスは画素に対応し、各マスの値は画素値を示している。以下では、左上隅の画素を原点(0、0)として、座標(x、y)の画素の画素値をD(x、y)で表す。各画素値は、‘0’〜‘255’の値を取り得る。また、閾値マトリクス72の各マスの値は画素値と比較するための閾値であり、‘0’〜‘255’のうち任意の値が予め選択されて設定されている。以下では、画素値D(x、y)に対応する閾値をTH(x、y)で表す。各画素値は、なお、画像データ70の階調数は256階調に限られず、閾値マトリクス72のサイズも4×4に限られるものではない。   For specific explanation, FIG. 6 shows a case where 256-gradation image data 70 is quantized using a 4 × 4 threshold matrix 72 as an example. Each square of the image data 70 corresponds to a pixel, and each square value indicates a pixel value. In the following, the pixel value of the pixel at the coordinates (x, y) is represented by D (x, y) with the pixel at the upper left corner as the origin (0, 0). Each pixel value can take a value of '0' to '255'. The value of each square in the threshold matrix 72 is a threshold for comparison with a pixel value, and an arbitrary value from “0” to “255” is selected and set in advance. Hereinafter, a threshold value corresponding to the pixel value D (x, y) is represented by TH (x, y). For each pixel value, the number of gradations of the image data 70 is not limited to 256 gradations, and the size of the threshold matrix 72 is not limited to 4 × 4.

図6に示すように、4×4閾値マトリクス72を、画像データ70の4×4画素のブロックに当てはめ、注目画素の画素値と注目画素に対応した閾値とを比較する。そして、注目画素の画素値が閾値以上の場合には、その画素の画素値を‘255’に量子化し、注目画素の画素値が閾値未満の場合には、その画素の画素値を‘0’に量子化する。例えば図6に示すx座標、y座標が共に0の画素(左上隅の画素)が注目画素であった場合、その画素値D(0、0)は‘214’であり、この画素に対応する閾値TH(0、0)は‘192’であるから、D(0、0)>TH(0、0)となる。従って、この画素の画素値は‘255’となる。このような処理が各画素について順次行われることにより量子化データ74が生成される。   As shown in FIG. 6, the 4 × 4 threshold matrix 72 is applied to a 4 × 4 pixel block of the image data 70, and the pixel value of the target pixel is compared with the threshold corresponding to the target pixel. When the pixel value of the target pixel is equal to or greater than the threshold, the pixel value of the pixel is quantized to “255”. When the pixel value of the target pixel is less than the threshold, the pixel value of the pixel is set to “0”. Quantize to For example, when the pixel having both the x coordinate and the y coordinate shown in FIG. 6 (the pixel at the upper left corner) is the pixel of interest, the pixel value D (0, 0) is “214”, which corresponds to this pixel. Since the threshold TH (0, 0) is “192”, D (0, 0)> TH (0, 0). Therefore, the pixel value of this pixel is “255”. Such processing is sequentially performed for each pixel, whereby the quantized data 74 is generated.

通常のスクリーン法では、このようにして画像データを量子化するため、演算量は少ないが、図6に示すような量子化誤差76が生じ、画質が劣化する。例えば、前述した左上隅の画素の画素値D(0、0)は、元の画素値‘214’が‘255’に量子化されるため、量子化誤差が−41(=214−255)となる。画素値D(2、0)に至っては、元の画素値‘168’が‘0’に量子化されるため、量子化誤差が168と非常に大きな値となる。   In the normal screen method, since the image data is quantized in this way, the amount of calculation is small, but a quantization error 76 as shown in FIG. 6 occurs, and the image quality deteriorates. For example, the pixel value D (0, 0) of the pixel at the upper left corner described above is quantized to −41 (= 214−255) because the original pixel value “214” is quantized to “255”. Become. When the pixel value D (2, 0) is reached, the original pixel value ‘168’ is quantized to ‘0’, and the quantization error is 168, which is a very large value.

そこで、本実施形態では、一部の画素について誤差拡散法を適用し、演算量を抑えつつ画質の劣化を防ぐ。   Therefore, in this embodiment, the error diffusion method is applied to some pixels to prevent image quality deterioration while suppressing the amount of calculation.

具体的には、上記の量子化を行った後、ステップ102において、現在の注目画素が、誤差拡散法を適用して誤差拡散処理すべき画素(特定画素)であるか否かを判断する。   Specifically, after performing the above quantization, in step 102, it is determined whether or not the current pixel of interest is a pixel (specific pixel) to be subjected to error diffusion processing by applying the error diffusion method.

特定画素であるか否かの判断は、例えば注目画素の元の画素値と注目画素に対応した量子化データとの差、すなわち量子化誤差を求め、求めた量子化誤差が予め定めた所定閾値以上であるか否かを判断することにより行うことができる。例えば図6の場合において、所定閾値を160と設定した場合には、量子化誤差が160以上である位置の画素(網掛けされている位置の画素)が特定画素となる。   Whether or not the pixel is a specific pixel is determined by, for example, obtaining a difference between the original pixel value of the target pixel and the quantization data corresponding to the target pixel, that is, a quantization error, and the obtained quantization error is a predetermined threshold value. This can be done by determining whether or not this is the case. For example, in the case of FIG. 6, when the predetermined threshold is set to 160, a pixel at a position where the quantization error is 160 or more (a pixel at a shaded position) is the specific pixel.

そして、ステップ102で特定画素であると判断された場合には、ステップ104へ移行し、特定画素でないと判断された場合には、ステップ108へ移行する。   If it is determined in step 102 that the pixel is a specific pixel, the process proceeds to step 104. If it is determined that the pixel is not a specific pixel, the process proceeds to step 108.

ステップ104では、特定画素と判断された注目画素について誤差拡散処理を行う。すなわち、予め定めた重み付け係数マトリクスを用いて、注目画素の量子化誤差を周辺画素へ拡散させる。重み付け係数マトリクスとしては、例えば図7(A)に示すような比較的小さな2×2の重み付け係数マトリクス78を用いることができる。なお、‘*’は、注目画素を示し、数値は周辺画素に対応した重みを示す。また、重み付け係数マトリクスのサイズ及び重みの値は図7(A)に示すものに限らず、例えば図7(B)に示すような重み付け係数マトリクス80を用いてもよい。   In step 104, error diffusion processing is performed on the target pixel determined to be the specific pixel. That is, the quantization error of the pixel of interest is diffused to surrounding pixels using a predetermined weighting coefficient matrix. As the weighting coefficient matrix, for example, a relatively small 2 × 2 weighting coefficient matrix 78 as shown in FIG. 7A can be used. Note that “*” indicates the target pixel, and the numerical value indicates a weight corresponding to the peripheral pixel. The size and weight values of the weighting coefficient matrix are not limited to those shown in FIG. 7A, and for example, a weighting coefficient matrix 80 as shown in FIG. 7B may be used.

ここで、誤差が拡散された周辺画素を、誤差加算画素と呼び、その画素値を誤差加算画素値と呼ぶ。誤差加算画素の元の画素値をD、その重みをW、注目画素の量子化誤差をEとした場合、誤差加算画素の画素値D’は次式で計算することができる。   Here, the peripheral pixel in which the error is diffused is called an error addition pixel, and its pixel value is called an error addition pixel value. When the original pixel value of the error addition pixel is D, the weight thereof is W, and the quantization error of the target pixel is E, the pixel value D ′ of the error addition pixel can be calculated by the following equation.

D’=D+E×W …(1)
具体的に、図6に示す場合において座標(2、0)の画素の量子化誤差は‘168’であり所定閾値(=160)以上であるので、特定画素となる。この座標(2、0)の画素が注目画素の場合には、この注目画素の右隣の座標(3、0)の誤差加算画素値D(3、0)は、上記(1)式により、D(3、0)=88+168×(1/2)=172となる。同様に、注目画素の下側の座標(2、1)の誤差加算画素値D(2、1)は、上記(1)式により、D(2、1)=106+168×(1/2)=190となる。
D ′ = D + E × W (1)
Specifically, in the case shown in FIG. 6, the quantization error of the pixel at coordinates (2, 0) is “168”, which is equal to or greater than a predetermined threshold (= 160), and thus becomes a specific pixel. When the pixel at this coordinate (2, 0) is the target pixel, the error added pixel value D (3, 0) at the coordinate (3, 0) to the right of the target pixel is expressed by the above equation (1). D (3, 0) = 88 + 168 × (1/2) = 172. Similarly, the error addition pixel value D (2, 1) at the lower coordinate (2, 1) of the target pixel is expressed by D (2, 1) = 106 + 168 × (1/2) = 190.

このように、特定画素について誤差拡散処理を行った場合において、ステップ100へ戻り、誤差加算画素が注目画素となって量子化処理が実行されると、ハーフトーン処理として適切でない場合がある。そこで、ステップ106では、誤差加算画素が注目画素となる前に、その誤差加算画素に対応する閾値が、誤差拡散処理において用いる閾値に近くなるように修正する。例えば、誤差加算画素に対応した元の閾値をTH、入力画像データの画素値が取り得る値の中間値をMとした場合、修正後の閾値TH’は次式で計算することができる。   As described above, when the error diffusion process is performed on the specific pixel, the process returns to step 100, and if the quantization process is executed with the error addition pixel as the target pixel, it may not be appropriate as the halftone process. Therefore, in step 106, before the error addition pixel becomes the target pixel, the threshold value corresponding to the error addition pixel is corrected so as to be close to the threshold value used in the error diffusion processing. For example, when the original threshold value corresponding to the error added pixel is TH and the intermediate value of the values that the pixel value of the input image data can take is M, the corrected threshold value TH ′ can be calculated by the following equation.

TH’=TH+(M−TH)/2 …(2)
具体的に、図6の場合では、M=128であり、上記のように座標(2、0)の画素が注目画素である場合、座標(3、0)の画素に対応する閾値THは、上記(2)式により、TH=96+(128−96)/2=112に修正される。同様に、座標(2、1)の画素に対応する閾値THは、上記(2)式により、TH=16+(128−16)/2=72に修正される。
TH ′ = TH + (M−TH) / 2 (2)
Specifically, in the case of FIG. 6, when M = 128 and the pixel at coordinates (2, 0) is the target pixel as described above, the threshold value TH corresponding to the pixel at coordinates (3, 0) is According to the above equation (2), TH = 96 + (128−96) / 2 = 112. Similarly, the threshold value TH corresponding to the pixel at coordinates (2, 1) is corrected to TH = 16 + (128−16) / 2 = 72 by the above equation (2).

なお、上記(2)式に限らず、誤差加算画素に対応する閾値を、誤差拡散処理において用いる閾値に近くなるように修正する演算であれば、他の式でも良い。また、元の閾値の値に拘らず一律に、入力画像データの画素値が取り得る値の中間値M、すなわち通常の誤差拡散法で用いられる閾値としてもよい。   Note that the present invention is not limited to the above equation (2), and any other equation may be used as long as the threshold value corresponding to the error addition pixel is corrected to be close to the threshold value used in the error diffusion process. Further, it may be uniformly set to an intermediate value M that can be taken by the pixel value of the input image data, that is, a threshold value used in a normal error diffusion method regardless of the original threshold value.

ステップ108では、全画素について上記の処理が終了したか否かを判断する。すなわち全ての画素を注目画素としてステップ100〜106の処理を行ったか否かを判断し、全画素について終了した場合には、本ルーチンを終了する。   In step 108, it is determined whether or not the above processing has been completed for all pixels. That is, it is determined whether or not the processing in steps 100 to 106 has been performed with all pixels as the target pixel. If all the pixels have been processed, this routine ends.

一方、全画素について終了していない場合には、ステップ100へ戻って上記と同様の処理を行う。なお、1ブロック(図6の例では4×4画素)分の処理が終了する毎に閾値マトリクス72を次のブロックに順次移動させて上記と同様の処理を行うが、この時、ステップ106で修正した閾値を元に戻して処理する。すなわち、処理対象のブロックを移動する毎に、閾値マトリクス72をリセットする。   On the other hand, if all the pixels have not been completed, the process returns to step 100 and the same processing as described above is performed. Each time processing for one block (4 × 4 pixels in the example of FIG. 6) is completed, the threshold matrix 72 is sequentially moved to the next block and the same processing as described above is performed. The corrected threshold is returned to the original and processed. That is, the threshold matrix 72 is reset every time the block to be processed is moved.

このように、本実施形態では、基本的にはスクリーン法を用いてハーフトーン処理し、一部の特定画素について誤差拡散処理する。これにより、演算量を抑えつつ、画質の劣化を防ぐことができる。   Thus, in the present embodiment, basically, halftone processing is performed using the screen method, and error diffusion processing is performed on some specific pixels. Thereby, it is possible to prevent the image quality from deteriorating while suppressing the calculation amount.

なお、本実施形態では、量子化誤差が所定閾値以上の画素を特定画素とする場合について説明したが、これに限らず、他の方法により特定画素を設定してもよい。例えば、閾値マトリクスの境界領域(周辺領域)に対応した位置の画素を特定画素とするようにしてもよい。例えば、図8に示すように、16×16の閾値マトリクス82を用いる場合、周辺2画素(網掛けされている位置の画素)の領域の画素を特定画素として設定する。この場合は、図5のステップ102において、対象画素が上記の特定画素とすべき画素か否かを判断し、特定画素とすべき画素である場合はステップ104へ移行し、特定画素とすべき画素でない場合はステップ108へ移行する。ステップ104では、まず量子化誤差を計算し、上記と同様に誤差拡散処理を行う。このように、閾値マトリクスの境界領域の画素を特定画素として、この特定画素について誤差拡散処理を行うことにより、境界領域の画像の劣化を防ぐことができると共に、全ての画素について誤差拡散処理を行う場合と比較して演算量を大幅に少なくすることができる。   In the present embodiment, the case where the pixel whose quantization error is equal to or greater than the predetermined threshold is set as the specific pixel is described. However, the present invention is not limited to this, and the specific pixel may be set by another method. For example, a pixel at a position corresponding to the boundary area (peripheral area) of the threshold matrix may be set as the specific pixel. For example, as illustrated in FIG. 8, when a 16 × 16 threshold matrix 82 is used, pixels in the area of the surrounding two pixels (shaded pixels) are set as specific pixels. In this case, in step 102 in FIG. 5, it is determined whether or not the target pixel is the pixel that should be the specific pixel. If the target pixel is the pixel that should be the specific pixel, the process proceeds to step 104 and should be the specific pixel. If it is not a pixel, the process proceeds to step 108. In step 104, first, a quantization error is calculated, and error diffusion processing is performed in the same manner as described above. In this way, by using the pixels in the boundary area of the threshold matrix as specific pixels and performing error diffusion processing on the specific pixels, it is possible to prevent deterioration of the image in the boundary area and perform error diffusion processing on all the pixels. Compared to the case, the amount of calculation can be greatly reduced.

また、特定画素が二次元的にランダムな位置となるように設定してもよい。この場合、例えば図9に示すような16×16の所謂ブルーノイズマスク84を用いて特定画素を設定することができる。ブルーノイズマスク84の各マスには、1〜256の数値が設定されており、例えば6以下の数値のマスの位置に対応した画素を特定画素として設定する。この場合、図10に示すように網掛けされた位置の合計6個の画素86が特定画素として設定される。この場合も図8の場合と同様に、図5のステップ102において、対象画素が上記の特定画素とすべき画素か否かを判断し、特定画素とすべき画素である場合はステップ104へ移行し、特定画素とすべき画素でない場合はステップ108へ移行する。ステップ104では、まず量子化誤差を計算し、上記と同様に誤差拡散処理を行う。このようにランダムに一部の画素を特定画素として設定し、誤差拡散処理を行うことにより、演算量を抑えつつ、画質の劣化を抑えることができる。   Further, the specific pixel may be set to be a two-dimensional random position. In this case, for example, a specific pixel can be set using a so-called blue noise mask 84 of 16 × 16 as shown in FIG. A numerical value of 1 to 256 is set for each square of the blue noise mask 84. For example, a pixel corresponding to a position of a numerical value of 6 or less is set as a specific pixel. In this case, as shown in FIG. 10, a total of six pixels 86 at the shaded positions are set as specific pixels. In this case as well, as in FIG. 8, it is determined in step 102 of FIG. 5 whether or not the target pixel is a pixel that should be the specific pixel. If the pixel is not a specific pixel, the process proceeds to step 108. In step 104, first, a quantization error is calculated, and error diffusion processing is performed in the same manner as described above. In this way, by randomly setting some pixels as specific pixels and performing error diffusion processing, it is possible to suppress degradation in image quality while suppressing the amount of calculation.

また、画質モードを設定可能なインクジェットプリンタの場合、画質モードに応じて特定画素の数を変更してもよい。例えば、印刷時間を優先させる標準画質モードと印刷時間を多少犠牲にしても画質を優先させる高画質モードとを選択可能な場合、高画質モードが設定された場合には、特定画素の数が標準画質モードの場合と比較して増加するようにする。例えば、量子化誤差が所定閾値以上の画素を特定画素とする場合には、所定閾値を標準画質モードの場合よりも小さい値に設定することにより、特定画素の数を増加させることができる。この結果、誤差拡散処理される画素が増加し、画質を向上させることができる。   In the case of an ink jet printer that can set the image quality mode, the number of specific pixels may be changed according to the image quality mode. For example, if you can select the standard image quality mode that prioritizes printing time and the high image quality mode that prioritizes image quality even at the expense of printing time, if the high image quality mode is set, the number of specific pixels is standard. Increase in comparison with the image quality mode. For example, when a pixel having a quantization error equal to or greater than a predetermined threshold is set as the specific pixel, the number of specific pixels can be increased by setting the predetermined threshold to a value smaller than that in the standard image quality mode. As a result, the number of pixels subjected to error diffusion processing increases, and the image quality can be improved.

また、閾値マトリクスの境界領域に対応した位置の画素を特定画素とする場合には、標準画質モードの時に例えば周辺2画素の領域の画素を特定画素とする場合には、高画質モードの場合には、周辺3画素以上の領域の画素を特定画素とすればよい。   Also, when the pixel at the position corresponding to the boundary region of the threshold matrix is set as the specific pixel, for example, when the pixel in the peripheral two pixel region is set as the specific pixel in the standard image quality mode, in the high image quality mode. In this case, the pixels in the area of 3 or more pixels in the periphery may be set as the specific pixels.

また、図8に示すようなブルーノイズマスク84を用いて、所定値以下のマスの位置に対応した画素を特定画素とする場合には、標準画質モードの場合と比較して前記所定値を大きな値に設定する。これにより、高画質モードが設定された場合に、特定画素の数を増加させることができる。この結果、誤差拡散処理される画素が増加し、画質を向上させることができる。   Further, when the blue noise mask 84 as shown in FIG. 8 is used and the pixel corresponding to the square position below the predetermined value is set as the specific pixel, the predetermined value is set larger than that in the standard image quality mode. Set to value. Thereby, when the high image quality mode is set, the number of specific pixels can be increased. As a result, the number of pixels subjected to error diffusion processing increases, and the image quality can be improved.

なお、本実施形態では、インクジェットプリンタに本発明を適用した場合について説明したが、高階調の画像データからハーフトーン処理により変換された低階調の画像データに基づいて画像を記録するプリンタであれば、インクジェットプリンタに限らず他の種類のプリンタにも本発明を適用可能である。   In the present embodiment, the case where the present invention is applied to an ink jet printer has been described. However, a printer that records an image based on low gradation image data converted from high gradation image data by halftone processing. For example, the present invention can be applied to other types of printers as well as inkjet printers.

また、本実施形態では、多階調のカラー画像を2値化したデータに基づいて記録する構成のインクジェットプリンタについて説明したが、多階調のカラー画像を多値化したデータに基づいて記録する構成のインクジェットプリンタにも本発明を適用可能である。   In the present embodiment, an inkjet printer configured to record a multi-tone color image based on binarized data has been described. However, a multi-tone color image is recorded based on multi-value data. The present invention can also be applied to an inkjet printer having a configuration.

本発明に係るインクジェット記録装置の画像記録状態における概略構成図である。It is a schematic block diagram in the image recording state of the inkjet recording device which concerns on this invention. 本発明に係るインクジェット記録装置のメンテナンス状態における概略構成図である。It is a schematic block diagram in the maintenance state of the inkjet recording device which concerns on this invention. 本発明に係るインクジェット記録装置の搬送ベルト及びその近傍を示す概略構成図である。FIG. 2 is a schematic configuration diagram illustrating a conveyance belt and its vicinity of the ink jet recording apparatus according to the present invention. 本発明に係るインクジェット記録装置の制御ブロック図である。It is a control block diagram of the ink jet recording apparatus according to the present invention. ハーフトーン処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a halftone process. 量子化処理について説明するためのイメージ図である。It is an image figure for demonstrating a quantization process. 重み付け係数マトリクスを示す図である。It is a figure which shows a weighting coefficient matrix. 特定画素の位置について説明するための図である。It is a figure for demonstrating the position of a specific pixel. ブルーノイズマスクを示す図である。It is a figure which shows a blue noise mask. ブルーノイズマスクを用いて設定される特定画素の位置について説明するための図である。It is a figure for demonstrating the position of the specific pixel set using a blue noise mask.

符号の説明Explanation of symbols

12 インクジェット記録装置
30 記録ヘッドアレイ
32Y、32M、32C、32K インクジェット記録ヘッド
58 色変換部
60 制御部
62 色変換部
64 画像処理部(量子化手段、誤差拡散手段)
66 記録データ作成部
68 画像記録部
70 閾値マトリクス
12 Inkjet recording apparatus 30 Recording head array 32Y, 32M, 32C, 32K Inkjet recording head 58 Color conversion unit 60 Control unit 62 Color conversion unit 64 Image processing unit (quantization means, error diffusion means)
66 Recording data creation unit 68 Image recording unit 70 Threshold matrix

Claims (8)

入力画像データを、前記入力画像データの階調数よりも低い階調数の画像データに変換する画像処理装置であって、
前記入力画像データの各画素値と、異なる複数の閾値が設定された予め定めた閾値マトリクスの各閾値との比較結果に基づいて、前記入力画像データを量子化して量子化データを生成する量子化手段と、
前記入力画像データと前記量子化データとに基づいて、量子化誤差の絶対値が予め定めた所定閾値以上となる画素を求め、当該求めた画素を誤差拡散法により誤差拡散すべき特定画素として、誤差拡散処理を行う誤差拡散手段と、
を備えたことを特徴とする画像処理装置。
An image processing apparatus that converts input image data into image data having a gradation number lower than the gradation number of the input image data,
Quantization that generates quantized data by quantizing the input image data based on a comparison result between each pixel value of the input image data and each threshold value of a predetermined threshold matrix in which a plurality of different threshold values are set Means,
Based on the input image data and the quantized data, a pixel whose absolute value of quantization error is equal to or greater than a predetermined threshold value is determined, and the determined pixel is a specific pixel to be error diffused by an error diffusion method. Error diffusion means for performing error diffusion processing;
An image processing apparatus comprising:
入力画像データを、前記入力画像データの階調数よりも低い階調数の画像データに変換する画像処理装置であって、  An image processing apparatus that converts input image data into image data having a gradation number lower than the gradation number of the input image data,
前記入力画像データの各画素値と、異なる複数の閾値が設定された予め定めた閾値マトリクスの各閾値との比較結果に基づいて、前記入力画像データを量子化して量子化データを生成する量子化手段と、  Quantization that generates quantized data by quantizing the input image data based on a comparison result between each pixel value of the input image data and each threshold value of a predetermined threshold matrix in which a plurality of different threshold values are set Means,
前記閾値マトリクスの境界領域に対応する位置の画素を誤差拡散法により誤差拡散すべき特定画素として、誤差拡散処理を行う誤差拡散手段と、  Error diffusion means for performing error diffusion processing, with the pixel at a position corresponding to the boundary region of the threshold matrix as a specific pixel to be error diffused by an error diffusion method;
を備えたことを特徴とする画像処理装置。  An image processing apparatus comprising:
入力画像データを、前記入力画像データの階調数よりも低い階調数の画像データに変換する画像処理装置であって、  An image processing apparatus that converts input image data into image data having a gradation number lower than the gradation number of the input image data,
前記入力画像データの各画素値と、異なる複数の閾値が設定された予め定めた閾値マトリクスの各閾値との比較結果に基づいて、前記入力画像データを量子化して量子化データを生成する量子化手段と、  Quantization that generates quantized data by quantizing the input image data based on a comparison result between each pixel value of the input image data and each threshold value of a predetermined threshold matrix in which a plurality of different threshold values are set Means,
異なる複数の数値がランダムに設定された所定のマトリクスパターンに基づいて設定した2次元的に偏りのないランダムな位置の画素を誤差拡散法により誤差拡散すべき特定画素として、誤差拡散処理を行う誤差拡散手段と、  An error for performing error diffusion processing using a two-dimensionally non-biased random pixel set based on a predetermined matrix pattern in which a plurality of different numerical values are set at random as a specific pixel to be error-diffused by the error diffusion method Spreading means;
を備えたことを特徴とする画像処理装置。  An image processing apparatus comprising:
入力画像データを、前記入力画像データの階調数よりも低い階調数の画像データに変換する画像処理装置であって、  An image processing apparatus that converts input image data into image data having a gradation number lower than the gradation number of the input image data,
前記入力画像データの各画素値と、異なる複数の閾値が設定された予め定めた閾値マトリクスの各閾値との比較結果に基づいて、前記入力画像データを量子化して量子化データを生成する量子化手段と、  Quantization that generates quantized data by quantizing the input image data based on a comparison result between each pixel value of the input image data and each threshold value of a predetermined threshold matrix in which different threshold values are set Means,
予め定めた条件を満たす一部の画素を誤差拡散法により誤差拡散すべき特定画素として、誤差拡散処理を行うと共に、画質モードに応じて前記特定画素の数を変更する誤差拡散手段と、  Error diffusion means for performing error diffusion processing and changing the number of the specific pixels according to an image quality mode, with a part of pixels satisfying a predetermined condition as specific pixels to be error diffused by an error diffusion method;
を備えたことを特徴とする画像処理装置。  An image processing apparatus comprising:
前記誤差拡散手段により誤差拡散された前記特定画素の周辺画素に対応する前記閾値マトリクスの閾値が、所定の閾値に近づくように修正する閾値修正手段をさらに備えたことを特徴とする請求項1乃至請求項の何れか1項に記載の画像処理装置。 The threshold value correcting means for correcting the threshold value of the threshold value matrix corresponding to the peripheral pixels of the specific pixel subjected to error diffusion by the error diffusion means so as to approach a predetermined threshold value. The image processing apparatus according to claim 4 . 前記所定の閾値は、前記量子化データが取り得る値の範囲の中間値であることを特徴とする請求項記載の画像処理装置。 6. The image processing apparatus according to claim 5 , wherein the predetermined threshold value is an intermediate value in a range of values that the quantized data can take. コンピュータを、前記請求項1乃至請求項6の何れか1項に記載の画像処理装置の各手段として機能させるための画像処理プログラム。 An image processing program for causing a computer to function as each unit of the image processing apparatus according to any one of claims 1 to 6 . 前記請求項1乃至請求項の何れか1項に記載の画像処理装置と、
前記画像処理装置により画像処理された画像データに基づいて、記録媒体に画像を記録する記録手段と、
を有する画像記録装置。
The image processing apparatus according to any one of claims 1 to 6 ,
Recording means for recording an image on a recording medium based on image data image-processed by the image processing device;
An image recording apparatus.
JP2004274159A 2004-09-21 2004-09-21 Image processing apparatus, image processing program, and image recording apparatus Expired - Fee Related JP4239939B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004274159A JP4239939B2 (en) 2004-09-21 2004-09-21 Image processing apparatus, image processing program, and image recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004274159A JP4239939B2 (en) 2004-09-21 2004-09-21 Image processing apparatus, image processing program, and image recording apparatus

Publications (2)

Publication Number Publication Date
JP2006093900A JP2006093900A (en) 2006-04-06
JP4239939B2 true JP4239939B2 (en) 2009-03-18

Family

ID=36234477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004274159A Expired - Fee Related JP4239939B2 (en) 2004-09-21 2004-09-21 Image processing apparatus, image processing program, and image recording apparatus

Country Status (1)

Country Link
JP (1) JP4239939B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102615972A (en) * 2011-01-25 2012-08-01 佳能株式会社 Image processing apparatus and image processing method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5055833B2 (en) 2006-05-17 2012-10-24 富士ゼロックス株式会社 Inkjet recording medium conveying belt and inkjet recording apparatus
JP5056667B2 (en) * 2008-08-12 2012-10-24 富士ゼロックス株式会社 Image processing apparatus, image recording apparatus, and image processing program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102615972A (en) * 2011-01-25 2012-08-01 佳能株式会社 Image processing apparatus and image processing method
US8736865B2 (en) 2011-01-25 2014-05-27 Canon Kabushiki Kaisha Image processing apparatus and image processing method that can print an image in which a pattern or sweeping phenomenon specific to the error diffusion process does not appear
CN102615972B (en) * 2011-01-25 2014-08-27 佳能株式会社 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JP2006093900A (en) 2006-04-06

Similar Documents

Publication Publication Date Title
JP4442538B2 (en) Image processing apparatus, image processing method, image processing program, and image recording apparatus
US20060214966A1 (en) Image forming apparatus, image forming method, and image forming program
JP5056403B2 (en) Image processing apparatus, image recording apparatus, and program
JP4810618B2 (en) Image processing method and image recording apparatus
JP2009255381A (en) Image recording apparatus and image recording method
JP6220029B2 (en) Inkjet printing system, undischarge correction method and program thereof
JP2010228227A (en) Method for correcting pixel data, and fluid ejecting apparatus
JP4604614B2 (en) Inkjet recording apparatus and inkjet recording method
JP4596174B2 (en) Image processing method and image recording apparatus
JP6012425B2 (en) Image processing apparatus and image processing method
JP2006076086A (en) Ink jet recorder and recording method
JP2011025658A (en) Image forming apparatus and method
JP6191199B2 (en) Image processing apparatus, image processing apparatus control method, and image processing apparatus control program
JP2009078390A (en) Image recording apparatus, method, determining method of density correction coefficient, and program
JP4239939B2 (en) Image processing apparatus, image processing program, and image recording apparatus
JP2011079171A (en) Image processing method, image processing device, and image forming apparatus
JP2009234210A (en) Image processing method and image forming device
JP3925733B2 (en) Image processing method and apparatus, and program
JP4617772B2 (en) Image processing apparatus, image processing method, image processing program, and image recording apparatus
JP2009255388A (en) Image recording apparatus and image recording method
JP2006311442A (en) Image processor, image processing method, image processing program, image recording device, and recording medium
JP4665470B2 (en) Image processing apparatus, image processing method, image processing program, and image recording apparatus
JP5855464B2 (en) Pixel data correction method, image processing apparatus, program, and image forming apparatus
JP5409250B2 (en) Gamma correction table generation method
JP4687048B2 (en) Image processing apparatus, image processing method, image processing program, and image recording apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070817

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080911

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080916

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081111

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

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

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140109

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees