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

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP5596913B2
JP5596913B2 JP2008230197A JP2008230197A JP5596913B2 JP 5596913 B2 JP5596913 B2 JP 5596913B2 JP 2008230197 A JP2008230197 A JP 2008230197A JP 2008230197 A JP2008230197 A JP 2008230197A JP 5596913 B2 JP5596913 B2 JP 5596913B2
Authority
JP
Japan
Prior art keywords
scan
recording
data
image
constraint information
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
JP2008230197A
Other languages
Japanese (ja)
Other versions
JP2010064277A5 (en
JP2010064277A (en
Inventor
由美 渡部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2008230197A priority Critical patent/JP5596913B2/en
Publication of JP2010064277A publication Critical patent/JP2010064277A/en
Publication of JP2010064277A5 publication Critical patent/JP2010064277A5/ja
Application granted granted Critical
Publication of JP5596913B2 publication Critical patent/JP5596913B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は画像処理装置および画像処理方法に関し、特に、入力画像の階調数よりも少ない階調数への階調数変換を行う画像処理装置および画像処理方法に関する。
The present invention relates to an image processing apparatus and an image processing method, and more particularly to an image processing apparatus and an image processing method for converting the number of gradations to a number of gradations smaller than the number of gradations of an input image.

ワードプロセッサ、パーソナルコンピュータ、ファクシミリ等における情報出力装置として、所望される文字や画像等の情報を用紙やフィルム等シート状の記録媒体に記録を行う記録装置には様々な方式のものがある。その中で、記録媒体に記録剤を付着することで記録媒体上にテキストや画像を形成する出力方式が実用化されている。   As information output devices in word processors, personal computers, facsimiles, and the like, there are various types of recording devices that record information such as desired characters and images on a sheet-like recording medium such as paper or film. Among them, an output system that forms text and images on a recording medium by attaching a recording agent to the recording medium has been put into practical use.

上記の出力方式の一つであるインクジェット記録装置では、記録速度の向上や高画質化等のために、同一色同一濃度のインクを吐出可能な複数のインク吐出口(ノズル)を集積配列したノズル群を用いる。さらに、画質を向上するために、同一色で濃度の異なるインクを吐出可能としたものや、同一色で同一濃度のインクの吐出量を何段階かに変えて吐出可能としたノズル群が設けられたものもある。   In the ink jet recording apparatus which is one of the output methods described above, a nozzle in which a plurality of ink discharge ports (nozzles) capable of discharging ink of the same color and the same density are arranged in an integrated manner in order to improve recording speed and improve image quality. Use groups. Furthermore, in order to improve the image quality, there are provided nozzle groups that can eject ink with the same color and different density, and nozzles that can be ejected by changing the ejection amount of ink with the same color and same density in several stages. Some are also available.

このような画像形成装置において、多値の入力画像データをドットの記録信号にあたる2値画像(または2値以上で入力階調数より少ない階調数を有する画像)に変換する手段として、R.Floydらによる誤差拡散法(非特許文献1)がある。この誤差拡散法は、ある画素で生じた二値化誤差を以降の複数画素へ拡散することにより、擬似的に階調表現を行うものである。   In such an image forming apparatus, as a means for converting multi-valued input image data into a binary image corresponding to a dot recording signal (or an image having two or more values and a smaller number of gradations than the number of input gradations), R. There is an error diffusion method by Floyd et al. In this error diffusion method, pseudo gradation expression is performed by diffusing a binarization error generated in a certain pixel to a plurality of subsequent pixels.

上述の誤差拡散法のほかに、多値の入力画像データをドットの記録信号にあたる2値画像(または2値以上で入力階調数より少ない階調数を有する画像)に変換する方法として、ディザ法が知られている。このディザ法は、あらかじめ用意した閾値マトリクスと多値の入力データを比較し、2値化を行なうことで擬似的に階調表現を行うものである。このディザ法は、上記誤差拡散法よりも処理が単純なため高速な処理が行えることが知られている。   In addition to the error diffusion method described above, dithering may be used as a method for converting multi-value input image data into a binary image corresponding to a dot recording signal (or an image having two or more values and a smaller number of gradations than the number of input gradations). The law is known. In the dither method, a threshold value matrix prepared in advance and multi-valued input data are compared, and binarization is performed to perform pseudo gradation expression. Since this dither method is simpler than the error diffusion method, it is known that high-speed processing can be performed.

さらに、特許文献1では、上記階調数変換された画像を画像形成装置で形成する際に、その形成順、配置を決定する画像処理方法が提案されている。かかる技術によれば、上記誤差拡散法を走査毎に処理することにより、各走査のレジストレーションが変動した場合でも、濃度ムラなどによる画像品質の低下を抑えることが可能となる。   Further, Patent Document 1 proposes an image processing method for determining the formation order and arrangement when forming the above-mentioned tone-converted image with an image forming apparatus. According to such a technique, by processing the error diffusion method for each scan, it is possible to suppress a decrease in image quality due to density unevenness even when the registration of each scan varies.

より具体的には、所定の記録媒体における同一の主走査記録領域に対して異なるノズル群によって複数回主走査を行い、その主走査毎に誤差拡散法により2値画像を形成する。主走査毎に誤差拡散法を実施して2値画像を生成する場合、主走査内のドット配置の分散性は高く均一である。そのため、複数の主走査によって画像が形成される際に記録媒体の送り量や記録素子の位置など、物理的なレジストレーションが変動しても、粒状性の変化は発生しにくい。さらに、複数の走査間のドット配置で相関が少ないため,レジストレーションが変動しても、紙面に対するドットの被覆率変化が低減され、濃度ムラがかなり緩和される。   More specifically, main scanning is performed a plurality of times with different nozzle groups on the same main scanning recording area on a predetermined recording medium, and a binary image is formed by the error diffusion method for each main scanning. When the binary image is generated by performing the error diffusion method for each main scan, the dispersibility of the dot arrangement in the main scan is high and uniform. For this reason, even when physical registration changes such as the feeding amount of the recording medium and the position of the recording element when an image is formed by a plurality of main scans, the change in graininess hardly occurs. Furthermore, since there is little correlation between the dot arrangements between a plurality of scans, even if the registration fluctuates, the change in dot coverage on the paper surface is reduced, and density unevenness is considerably alleviated.

以下、上述の物理的なレジストレーションの変動が発生する原因について具体的に説明する。   Hereinafter, the cause of the above-described physical registration fluctuation will be specifically described.

まず、インクジェット記録装置では、記録ヘッドを搭載するキャリッジを記録領域に対して走査する際、何らかの影響によってキャリッジ速度変動が発生する。   First, in the ink jet recording apparatus, when the carriage on which the recording head is mounted is scanned with respect to the recording area, the carriage speed fluctuates due to some influence.

また、主走査方向の記録後、記録媒体を副走査方向へ搬送する機構においても、例えば装置の製造誤差等の原因により、記録媒体の搬送量変動が発生する。   Further, even in a mechanism for transporting the recording medium in the sub-scanning direction after recording in the main scanning direction, the recording medium transport amount fluctuates due to, for example, a device manufacturing error.

さらに、記録ヘッドはキャリッジ搭載時に、記録媒体と記録ヘッド面が平行に、且つ、主走査方向と垂直に取り付けられることが理想的であるが、製造誤差により正確な位置からある傾き(変動)をもって搭載されることがある。また、記録ヘッドは主走査方向へ何度も走査されるため、搭載状態が徐々に変化することもある。   Furthermore, it is ideal that the recording medium and the recording head surface be mounted in parallel and perpendicular to the main scanning direction when the recording head is mounted on the carriage, but with a certain inclination (variation) from an accurate position due to manufacturing errors. May be installed. Further, since the recording head is scanned many times in the main scanning direction, the mounting state may gradually change.

一方、記録媒体は、記録ヘッドから吐出されたインク滴が紙内部に浸透し、インクに含まれる水分が用紙に吸収されることによって用紙が膨潤する。同一領域を複数の走査で記録するマルチパスの記録においては、走査毎に記録媒体の表面が変位する(以下、コックリング)、つまり、記録ヘッドと記録媒体の距離が記録位置によって変動する。   On the other hand, in the recording medium, the ink droplets ejected from the recording head penetrate into the inside of the paper, and the paper is swollen by absorbing the water contained in the ink into the paper. In multi-pass printing in which the same area is printed by a plurality of scans, the surface of the print medium is displaced for each scan (hereinafter referred to as cockling), that is, the distance between the print head and the print medium varies depending on the print position.

このように、インクジェット記録装置では、製造誤差あるいは走査時の何らかの理由により、上述した変動が発生する。これら変動量は装置によって一定ではなく、記録走査毎に様々に変化する。   As described above, in the ink jet recording apparatus, the above-described fluctuation occurs due to a manufacturing error or some reason during scanning. These fluctuation amounts are not constant depending on the apparatus, and change variously for each printing scan.

以上のような記録装置と記録媒体との間の物理的な変動により、ドットの着弾位置(レジストレーション)がずれて粒状性が変化してしまう。これにより、記録領域ごとの濃度ムラが発生し、出力画像の画質が劣化する。   Due to the physical variation between the recording apparatus and the recording medium as described above, the dot landing position (registration) is shifted and the graininess is changed. As a result, density unevenness occurs in each recording area, and the image quality of the output image deteriorates.

記録ヘッドの速度変動によるインクの着弾位置ズレによる画質劣化については、特許文献2に対策が提案されている。特許文献2によれば、記録ヘッドの移動量および加速度を検出し、所定の加速度に対応する基準タイミングに対して、所定時間遅延させた吐出タイミング信号を送出し、記録面の設定位置に精度よく到達させる方法が提案されている。   A countermeasure is proposed in Patent Document 2 for image quality deterioration due to deviation of the landing position of ink due to speed fluctuation of the recording head. According to Patent Document 2, the movement amount and acceleration of the recording head are detected, and an ejection timing signal delayed by a predetermined time with respect to a reference timing corresponding to the predetermined acceleration is sent out to the set position on the recording surface with high accuracy. A way to reach it has been proposed.

さらに、走査毎に記録媒体の表面が変位するコックリングによる着弾位置ずれに対しては、特許文献3にその対策が提案されている。特許文献3によれば、記録ヘッドと記録材の距離を紙間センサで検出し、距離の変位情報に基いて、吐出タイミングを遅延させてドット位置を補正する方法が提案されている。   Further, Patent Document 3 proposes a countermeasure against landing position deviation due to cockling in which the surface of the recording medium is displaced for each scanning. According to Patent Document 3, a method is proposed in which a distance between a recording head and a recording material is detected by a paper interval sensor, and a dot position is corrected by delaying ejection timing based on distance displacement information.

また、記録装置の製造誤差により副走査方向に等間隔にドットが記録されないという課題(搬送量変動)については、特許文献4にその対策が提案されている。特許文献4によれば、記録位置ずれを表すデータを生成し、その情報を検出する(読み込む)ことで、画質劣化を防止するための記録モードを選択する方法が提案されている。
特開2000−103088号公報 特開2000−71438号公報 特開平11−240146号公報 特開2001−322261号公報 特開2001−180057号公報 R.Floyd 他、”An adaptive algorithm for spatial grayscale”, SID International Symposium Digest of Technical Papers, vol4.3, 1975,pp.36-37
Further, Patent Document 4 proposes a countermeasure against the problem that dots are not recorded at equal intervals in the sub-scanning direction due to a manufacturing error of the recording apparatus. According to Patent Document 4, a method for selecting a recording mode for preventing image quality deterioration by generating data representing a recording position shift and detecting (reading) the information is proposed.
JP 2000-103088 A JP 2000-71438 A JP-A-11-240146 JP 2001-322261 A Japanese Patent Laid-Open No. 2001-180057 R. Floyd et al., “An adaptive algorithm for spatial grayscale”, SID International Symposium Digest of Technical Papers, vol4.3, 1975, pp. 36-37

しかしながら、上述した特許文献1に記載された手法によれば、主走査間のドット配置で相関性が小さいために、複数の走査によって生成される画像の低周波成分が強調されてしまうという課題がある。この低周波成分は、走査の回数が増えるほど強調されることになり、視覚上目障りな粒状性として認識されてしまう。   However, according to the method described in Patent Document 1 described above, since the correlation is small in the dot arrangement between the main scans, there is a problem that the low frequency components of the image generated by the plurality of scans are emphasized. is there. This low-frequency component is emphasized as the number of scans is increased, and is recognized as graininess that is visually obtrusive.

また、上述した特許文献2、特許文献3によれば、記録装置および記録媒体の変動を検出して1ドット毎の着弾位置を補正するが、高解像度印字装置においては、1ドットレベルの高精度の位置合わせは困難である。さらに、上述の方法では、個々の変動値毎に(キャリッジ速度変動、搬送量、紙間距離等)、1ドットレベルでの補正量が決定される。しかしながら、実際の印字操作では、これらの変動が同時に発生することもあるため、ある変動量に対しての1ドットレベルの補正では、他の変動に対してはロバスト性が低くなる。   Further, according to Patent Document 2 and Patent Document 3 described above, fluctuations in the recording device and the recording medium are detected and the landing position for each dot is corrected. Is difficult to align. Further, in the above-described method, the correction amount at one dot level is determined for each variation value (carriage speed variation, transport amount, inter-paper distance, etc.). However, in an actual printing operation, these fluctuations may occur at the same time. Therefore, the correction of one dot level for a certain fluctuation amount is less robust with respect to other fluctuations.

さらに、特許文献4では、例えば出荷時、起動時といった所定のタイミングで検出された変動量により、記録モードが決定される。しかしながら、このような手法では、経時変換等、装置の劣化または振動等による動作不良によって変動量が大きく変わると、着弾位置変動に対するロバスト性は低くなり、画像劣化が発生する。   Further, in Patent Document 4, for example, a recording mode is determined based on a fluctuation amount detected at a predetermined timing such as at the time of shipment or at the time of activation. However, in such a method, when the amount of change greatly changes due to device deterioration or operation failure due to vibration or the like, such as time-dependent conversion, the robustness with respect to the landing position change becomes low and image deterioration occurs.

本発明は、上記課題に鑑みてなされたものであり、記録装置と記録媒体との間に発生する物理的なレジストレーションの変動に対して画質を維持すると共に、画像の低周波成分に依存した粒状性劣化を抑制し、高画質画像を形成可能とすることを目的とする。   The present invention has been made in view of the above problems, and maintains image quality against physical registration fluctuations that occur between a recording apparatus and a recording medium, and relies on low-frequency components of an image. An object of the present invention is to suppress the deterioration of graininess and make it possible to form a high-quality image.

上記目的を達成するための本発明の一態様による画像処理装置は以下の構成を備える。すなわち、
記録媒体上の同一領域に対して、複数の記録素子を備えた記録ヘッドを複数回、記録走査することによって画像を形成する画像形成装置のための画像処理装置であって、
複数回の記録走査を行う間に、前記記録ヘッド及び記録媒体の間のレジストレーションの変動量を示す情報を取得する取得手段と、
入力された画像データを、前記画像データを構成する各画素の画素値を前記記録走査ごとに分割することにより、前記記録走査ごとの走査データを生成する生成手段と、
画素毎にドットが形成されやすいか否かを示す制約情報を前記変動量に応じて設定する設定手段と、
前記走査データに対して、前記制約情報を参照してN値化処理(Nは2以上の整数)を施し、当該記録走査のためのドットパターンを作成するN値化手段とを有し、
前記記録媒体における領域におけるm回目の記録走査とn(m、nとも自然数、n>m)回目の記録走査について、
前記設定手段は、前記m回目の記録走査によって記録されるドットパターンに対してフィルタを用いたフィルタ処理した結果に基づいて、前記m回目の記録走査に対応するドットパターンと前記n回目の記録走査に対応するドットパターンとが低周波領域で逆位相となるように、前記N値化手段が前記n回目の記録走査に対応する走査データに対してN値化処理するために参照する制約情報を設定するものであり、
前記設定手段は、前記変動量が大きいほど前記フィルタのサイズを大きくする。
In order to achieve the above object, an image processing apparatus according to an aspect of the present invention has the following arrangement. That is,
An image processing apparatus for an image forming apparatus that forms an image by recording and scanning a recording head including a plurality of recording elements a plurality of times for the same region on a recording medium,
An acquisition means for acquiring information indicating the amount of registration variation between the recording head and the recording medium during a plurality of recording scans;
Generating means for generating scan data for each recording scan by dividing the input image data for each recording scan by dividing the pixel value of each pixel constituting the image data;
Setting means for setting constraint information indicating whether or not dots are easily formed for each pixel according to the amount of variation;
N-value conversion means for performing N-value conversion processing (N is an integer of 2 or more) with reference to the constraint information with respect to the scan data, and creating a dot pattern for the print scan,
About the m-th printing scan and the n-th (m and n are natural numbers, n> m) -th printing scan in the area of the printing medium,
The setting means includes a dot pattern corresponding to the m-th printing scan and the n-th printing scan based on a result of filtering using a filter for the dot pattern printed by the m-th printing scan. The N-value conversion means refers to the constraint information to be referred to for N-value processing on the scan data corresponding to the n-th print scan so that the dot pattern corresponding to is in the opposite phase in the low frequency region. To set,
The setting means increases the size of the filter as the variation amount increases .

また、上記目的を達成するための本発明の他の態様による画像処理方法は、
記録媒体の同一領域に対して、複数の記録素子を備えた記録ヘッドを複数回記録走査することによって画像を形成する画像形成装置の画像処理方法であって、
取得手段が、複数回の記録走査を行う間に、前記記録ヘッド及び記録媒体の間のレジストレーションの変動量を示す情報を取得する取得工程と、
生成手段が、入力された画像データを、前記画像データを構成する各画素の画素値を前記記録走査ごとに分割することにより、前記記録走査ごとの走査データを生成する生成工程と、
設定手段が、画素毎にドットが形成されやすいか否かを示す制約情報を前記変動量に応じて設定する設定工程と、
N値化手段が、前記走査データに対して、前記制約情報を参照してN値化処理(Nは2以上の整数)を施し、当該記録走査のためのドットパターンを作成するN値化工程とを有し、
前記記録媒体における領域におけるm回目の記録走査とn(m、nとも自然数、n>m)回目の記録走査について、
前記設定工程では、前記m回目の記録走査によって記録されるドットパターンに対してフィルタを用いたフィルタ処理した結果に基づいて、前記m回目の記録走査に対応するドットパターンと前記n回目の記録走査に対応するドットパターンとが低周波領域で逆位相となるように、前記n回目の記録走査に対応する走査データに対してN値化処理するために参照する制約情報を設定し、
前記変動量が大きいほど前記フィルタのサイズを大きくする。
An image processing method according to another aspect of the present invention for achieving the above object is
An image processing method of an image forming apparatus for forming an image by performing a recording scan with a recording head including a plurality of recording elements a plurality of times on the same area of a recording medium,
An acquisition step in which the acquisition unit acquires information indicating a registration variation amount between the recording head and the recording medium while performing a plurality of recording scans;
A generating step of generating scan data for each recording scan by dividing the input image data into pixel values of each pixel constituting the image data for each recording scan;
A setting step in which the setting means sets constraint information indicating whether or not dots are easily formed for each pixel according to the amount of variation;
An N-value conversion step in which an N-value conversion unit applies an N-value conversion process (N is an integer of 2 or more) to the scan data with reference to the constraint information, and creates a dot pattern for the print scan. And
About the m-th printing scan and the n-th (m and n are natural numbers, n> m) -th printing scan in the area of the printing medium,
In the setting step, the dot pattern corresponding to the m-th print scan and the n-th print scan are based on the result of filtering using a filter for the dot pattern printed by the m-th print scan. The constraint information referred to N-value processing is set for the scan data corresponding to the n-th print scan so that the dot pattern corresponding to is in the opposite phase in the low frequency region,
You increase the size of the filter as the amount of the variation is large.

本発明によれば、記録装置と記録媒体との間に発生する物理的なレジストレーションの変動に対して画質が維持されると共に、画像の低周波成分に依存した粒状性劣化が抑制され、高画質画像が形成可能となる。   According to the present invention, image quality is maintained against physical registration fluctuations that occur between the recording apparatus and the recording medium, and deterioration in graininess depending on low-frequency components of the image is suppressed. Image quality images can be formed.

以下、添付の図面を参照して本発明の好適な実施形態を説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

<第1実施形態>
図1は、第1実施形態による画像形成装置の構成を示したブロック図である。図1において、1は画像処理装置を、2はプリンタを示す。なお、画像処理装置1は例えば一般的なパーソナルコンピュータにインストールされたプリンタドライバによって実施され得る。その場合、以下に説明する画像処理装置1の各部は、コンピュータが所定のプログラムを実行することにより実現されることになる。また、別の構成としては、例えば、プリンタ2が画像処理装置1を含む構成としてもよい。
<First Embodiment>
FIG. 1 is a block diagram showing the configuration of the image forming apparatus according to the first embodiment. In FIG. 1, 1 indicates an image processing apparatus, and 2 indicates a printer. The image processing apparatus 1 can be implemented by a printer driver installed in a general personal computer, for example. In that case, each part of the image processing apparatus 1 described below is realized by a computer executing a predetermined program. As another configuration, for example, the printer 2 may include the image processing apparatus 1.

画像処理装置1とプリンタ2は、プリンタインタフェース又は回路によって接続されている。画像処理装置1は、画像データ入力端子101より印刷対象の画像データを入力し、画像バッファ102にその入力画像データを格納する。色分解処理部103は、入力されたカラー画像をプリンタ2が備えるインク色へ色分解する。この色分解処理に際しては、色分解用ルックアップテーブル104(以下、色分解用LUT104)が参照される。走査Duty設定部105は、色分解処理部103にて分解された各インク色値を、さらに走査毎の各インク色値へ変換し、走査Dutyバッファ107にそのデータを格納する。なお、各インク色値への変換に際しては、後述するように、走査Duty設定用ルックアップテーブル106(以下、走査Duty設定用LUT106)が参照される。こうして、走査Duty設定部105は、各記録走査における、各記録素子の記録量を示すインク色値を設定し、走査Dutyバッファ107にこれを保持する。   The image processing apparatus 1 and the printer 2 are connected by a printer interface or a circuit. The image processing apparatus 1 inputs image data to be printed from the image data input terminal 101 and stores the input image data in the image buffer 102. The color separation processing unit 103 separates the input color image into ink colors provided in the printer 2. In this color separation processing, a color separation lookup table 104 (hereinafter referred to as color separation LUT 104) is referred to. The scan duty setting unit 105 further converts each ink color value separated by the color separation processing unit 103 into each ink color value for each scan, and stores the data in the scan duty buffer 107. Note that, when converting to each ink color value, as described later, a scan duty setting lookup table 106 (hereinafter referred to as a scan duty setting LUT 106) is referred to. In this way, the scan duty setting unit 105 sets the ink color value indicating the recording amount of each recording element in each recording scan, and holds this in the scanning duty buffer 107.

ハーフトーン処理部108は、走査Duty設定部105によって得られた走査毎の各色の多階調(3階調以上)値を、後述の制約情報バッファ109に蓄えられた値を元に、2値画像データに変換する。制約情報バッファ109には、記録される画像上のアドレスに、ドットが形成されやすいか否かを示す情報が蓄えられている。なお、制約情報バッファは、インク色毎に確保されているものとする。   The halftone processing unit 108 binarizes the multi-gradation (three gradations or more) values of each color obtained by the scanning duty setting unit 105 based on values stored in the constraint information buffer 109 described later. Convert to image data. The constraint information buffer 109 stores information indicating whether or not dots are likely to be formed at addresses on the recorded image. It is assumed that the constraint information buffer is secured for each ink color.

ハーフトーン画像格納バッファ110には、ハーフトーン処理部108にて得られた各色の2値画像データが格納される。制約情報演算部111は、ハーフトーン画像格納バッファ110に格納された2値画像データと走査Dutyバッファ107に格納された走査毎Dutyデータ値を用いて所定の演算を行い、制約情報バッファ109を更新する。   The halftone image storage buffer 110 stores binary image data of each color obtained by the halftone processing unit 108. The constraint information calculation unit 111 performs a predetermined calculation using the binary image data stored in the halftone image storage buffer 110 and the duty data value for each scan stored in the scan duty buffer 107, and updates the constraint information buffer 109. To do.

ハーフトーン画像格納バッファ110に格納された2値画像データは出力端子112よりプリンタ2へ出力される。プリンタ2は、記録ヘッド201を記録媒体202に対して相対的に縦横に移動することにより、画像処理装置1にて形成された2値画像データを記録媒体上に形成する。   The binary image data stored in the halftone image storage buffer 110 is output from the output terminal 112 to the printer 2. The printer 2 forms binary image data formed by the image processing apparatus 1 on the recording medium by moving the recording head 201 relative to the recording medium 202 vertically and horizontally.

記録ヘッド201は熱転写方式、電子写真方式、インクジェット方式等のものを用いることができ、いずれも一つ以上の記録素子(インクジェット方式であればノズル)を有する。移動部203は、ヘッド制御部204の制御下で、記録ヘッド201を移動する。搬送部205は、ヘッド制御部204の制御下で、記録媒体を搬送する。また、インク色および吐出量選択部206は、画像処理装置1により形成された各色の2値画像データに基づいて、記録ヘッド201に搭載されるインク色の中から、インク色(およびその吐出量)を選択する。   As the recording head 201, a thermal transfer method, an electrophotographic method, an ink jet method, or the like can be used, and each has one or more recording elements (nozzles in the case of an ink jet method). The moving unit 203 moves the recording head 201 under the control of the head control unit 204. The transport unit 205 transports the recording medium under the control of the head control unit 204. The ink color and ejection amount selection unit 206 also selects an ink color (and its ejection amount) from among the ink colors mounted on the recording head 201 based on the binary image data of each color formed by the image processing apparatus 1. ) Is selected.

変動量検出部207は、プリンタ2の構成要部(例えば記録ヘッド201)の変動量を各種センサにより検出する。変動量検出部207は、記録ヘッド201と記録媒体間の物理的な変動量を検出し、検出された変動量を、変動量入力端子208を介して画像処理装置1の制約情報演算部111に渡す。   The fluctuation amount detection unit 207 detects the fluctuation amount of a main part (for example, the recording head 201) of the printer 2 by using various sensors. The fluctuation amount detection unit 207 detects a physical fluctuation amount between the recording head 201 and the recording medium, and the detected fluctuation amount is sent to the constraint information calculation unit 111 of the image processing apparatus 1 via the fluctuation amount input terminal 208. hand over.

なお、本実施形態では変動量検出部207により検出する変動量を、記録ヘッドの主走査方向の速度変動による位置変動量とする。よって検出に用いるセンサとして、例えば、特許文献2に記載の半導体式の加速度検出センサ等があげられるが、これに限れられるものではない。   In the present embodiment, the variation detected by the variation detection unit 207 is the position variation due to the velocity variation in the main scanning direction of the recording head. Therefore, as a sensor used for detection, for example, a semiconductor type acceleration detection sensor described in Patent Document 2 can be cited, but is not limited thereto.

変動量検出部207で検出する変動量は、記録ヘッドの移動量である。例えば図25のように、変動量検出部207は、所定タイミングtk(k=0,1,..K)毎に、記録ヘッドおよびキャリッジ部材2501の位置x’(tk)を検出する。そして、タイミングtkにおいて本来ドットが着弾する位置x(tk)からの偏心した距離di=|x’(tk)−x(tk)|(i=0,…k-1)が変動量として検出される。なお、図25の下部は、記録媒体2502にドットが打たれた様子を示している。 The fluctuation amount detected by the fluctuation amount detection unit 207 is the movement amount of the recording head. For example, as shown in FIG. 25, the fluctuation amount detection unit 207 detects the position x ′ (t k ) of the recording head and the carriage member 2501 at every predetermined timing t k (k = 0, 1,... K). At the timing t k , the eccentric distance di = | x ′ (t k ) −x (t k ) | (i = 0,... K−1) from the position x (t k ) where the dot originally landed fluctuates. Detected as a quantity. Note that the lower part of FIG. 25 shows a state in which dots are applied to the recording medium 2502.

なお、本実施形態では、変動量検出部207は、一回の走査における、上述した所定の基準位置からのズレ量の偏差σ_diを変動量として検出し、制約情報演算部111に渡す物とするがこれに限られるものではない。例えば、その他の変動量として、一回の走査におけるキャリッジの位置のズレ量の最大値d_MAX、あるいは、所定タイミング毎に検出したズレ量diを、制約情報演算部111で用いる変動値としてもよい。   In the present embodiment, the fluctuation amount detection unit 207 detects the deviation σ_di of the deviation amount from the predetermined reference position described above in one scan as a fluctuation amount, and passes it to the constraint information calculation unit 111. Is not limited to this. For example, as another variation amount, the maximum value d_MAX of the displacement amount of the carriage in one scan or the displacement amount di detected at every predetermined timing may be used as the variation value used in the constraint information calculation unit 111.

図2は記録ヘッド201の構成例を示す図である。第1実施形態ではシアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)の4色のインクに加え、相対的にインク濃度が低い淡シアン(Lc)、淡マゼンタ(Lm)を含めた6色のインクを、該記録ヘッドに搭載している。   FIG. 2 is a diagram illustrating a configuration example of the recording head 201. In the first embodiment, in addition to four color inks of cyan (C), magenta (M), yellow (Y), and black (K), light cyan (Lc) and light magenta (Lm) having a relatively low ink density. Ink of 6 colors including is mounted on the recording head.

なお、図2においては、説明を簡単にするため用紙搬送方向にノズルが一列に配置された構成を有する記録ヘッドを示しているが、ノズルの数、配置はこれに限られるものではない。例えば、同一色でも吐出量が異なるノズル列を有しても良いし、同一吐出量ノズルが複数列あっても良いし、ノズルがジグザグに配置されているような構成であっても良い。また、図2ではインク色の配置順序はヘッド移動方向に一列となっているが、用紙搬送方向に一列に配置する構成であっても良い。   In FIG. 2, a recording head having a configuration in which nozzles are arranged in a line in the paper conveyance direction is shown for simplicity of explanation, but the number and arrangement of nozzles are not limited to this. For example, there may be nozzle rows with the same color but different discharge amounts, there may be a plurality of nozzles with the same discharge amount, or the nozzles may be arranged in a zigzag manner. In FIG. 2, the ink color is arranged in a line in the head movement direction, but may be arranged in a line in the paper transport direction.

次に、上述の機能構成を備えた本実施形態の画像処理装置1の動作について図3のフローチャートを参照して説明する。   Next, the operation of the image processing apparatus 1 of the present embodiment having the above-described functional configuration will be described with reference to the flowchart of FIG.

まず、多階調のカラー入力画像データが入力端子101より入力され、画像バッファ102に格納される(ステップS101)。なお、入力画像データはレッド(R)、グリーン(G)、ブルー(B)の3つの色成分よりカラー画像データを構築している。   First, multi-tone color input image data is input from the input terminal 101 and stored in the image buffer 102 (step S101). As input image data, color image data is constructed from three color components of red (R), green (G), and blue (B).

次に、色分解処理部103は、画像バッファ102に格納された多階調のカラー入力画像データに対し色分解用LUT104を用いて、RGBからCMYK及びLcLmのインク色プレーンへの色分解処理を行う(ステップS102)。本実施形態では、色分解処理後の各画素データを8ビットとして扱うが、それ以上の階調数で変換してもよい。   Next, the color separation processing unit 103 performs color separation processing from RGB to CMYK and LcLm ink color planes on the multi-tone color input image data stored in the image buffer 102 using the color separation LUT 104. Perform (step S102). In the present embodiment, each pixel data after color separation processing is handled as 8 bits, but it may be converted with more gradations.

上述したように、第1実施形態の記録ヘッド201は、6種類の各インク色を保有する。そのため、RGBのカラー入力画像データは、CMYKLcLm各プレーンの計6プレーンの画像データへ変換される。即ち、6種類の記録態様に対応した6種類のプレーンの画像データが生成される。   As described above, the recording head 201 according to the first embodiment has six types of ink colors. Therefore, RGB color input image data is converted into image data of a total of 6 planes, each of CMYKLcLm planes. That is, six types of plane image data corresponding to six types of recording modes are generated.

以下、本実施形態の色分解処理について図4を用いて説明する。図4は、カラープリンタの色分解処理の構成を示している。色分解処理部103は、色分解用LUT104を参照して、画像データR’G’B’を、次式にしたがってCMYKLcLmへ変換する。   Hereinafter, the color separation processing of this embodiment will be described with reference to FIG. FIG. 4 shows the configuration of color separation processing of the color printer. The color separation processing unit 103 refers to the color separation LUT 104 and converts the image data R′G′B ′ into CMYKLcLm according to the following equation.

C=C_LUT_3D(R’,G’,B’) ・・・(1)
K=M_LUT_3D(R’,G’,B’) ・・・(2)
Y=Y_LUT_3D(R’,G’,B’) ・・・(3)
K=K_LUT_3D(R’,G’,B’) ・・・(4)
Lc=Lc_LUT_3D(R’,G’,B’) ・・・(5)
Lm=Lm_LUT_3D(R’,G’,B’) ・・・(6)
ここで、(1)〜(6)の右辺に定義される各関数が色分解用LUT104に該当する。色分解用LUT104は、レッド、グリーン、ブルーの3入力値を、各インク色への出力値へ変換するためのテーブルである。本実施形態では、CMYKLcLmの6色を具備する構成であるため、3入力値から6出力値を得るLUT構成となる。以上の処理工程を通じて第1実施形態の色分解処理が完了する。
C = C_LUT — 3D (R ′, G ′, B ′) (1)
K = M_LUT — 3D (R ′, G ′, B ′) (2)
Y = Y_LUT — 3D (R ′, G ′, B ′) (3)
K = K_LUT — 3D (R ′, G ′, B ′) (4)
Lc = Lc_LUT — 3D (R ′, G ′, B ′) (5)
Lm = Lm_LUT — 3D (R ′, G ′, B ′) (6)
Here, each function defined on the right side of (1) to (6) corresponds to the color separation LUT 104. The color separation LUT 104 is a table for converting three input values of red, green, and blue into output values for each ink color. In the present embodiment, since the configuration includes six colors CMYKLcLm, an LUT configuration that obtains six output values from three input values is obtained. The color separation process of the first embodiment is completed through the above processing steps.

次のステップS102〜S103において、走査Duty設定部105は、色分解処理された画像データに応じて、記録ヘッドの記録走査ごとに、複数の記録素子の各々の記録量を算出し、走査Dutyバッファ107に保持する。まず、走査Duty設定部105は、走査番号k及び、色分解データ切り出しY座標Ycut(k)を設定する(ステップS103)。なお、走査番号kの初期値は1であり、ループ毎に1だけインクリメントされる。なお、Ycut(k)は、走査番号kにおける色分解データ切り出し位置(ノズル上端座標)である。   In the next steps S102 to S103, the scan duty setting unit 105 calculates the recording amount of each of the plurality of recording elements for each recording scan of the recording head in accordance with the color-separated image data, and the scan duty buffer. 107. First, the scan duty setting unit 105 sets the scan number k and the color separation data cutout Y coordinate Ycut (k) (step S103). Note that the initial value of the scan number k is 1, and is incremented by 1 for each loop. Ycut (k) is the color separation data cutout position (nozzle upper end coordinates) at the scan number k.

ここで、例として、16個のノズル列を具備し、画像上の同一主走査記録領域に対して4回のスキャンで画像を形成させる4パス印字の場合について、色分解データ切り出し位置Y座標Ycutの設定法を説明する。一般的に4パス印字の場合、図5に示すように、まず、走査番号の初期値k=1では、ノズル下端1/4のみを使用して画像形成が行わる。そして、走査番号k=2では走査番号k=1に対しノズル長さ1/4分紙送りしてから画像形成が行われる。さらに走査番号k=3では走査番号k=2に対しノズル長さ1/4分紙送りしてから画像形成画行われる。以上のような動作が繰り返し行われ、最終出力画像が形成される。すなわち、4パス印字で、ノズル長さの1/4分紙送りを行う場合、図9に示すように、k=1〜7で一つの主走査記録領域の記録を完了し、これを繰り返すことで最終出力画像が形成される。そのため、走査番号k=1の場合、色分解データ切り出し位置Ycut=−12となる。   Here, as an example, in the case of four-pass printing having 16 nozzle rows and forming an image by four scans for the same main scanning recording area on the image, the color separation data cutout position Y coordinate Ycut The setting method of will be described. In general, in the case of 4-pass printing, as shown in FIG. 5, first, at the initial value k = 1 of the scan number, image formation is performed using only the nozzle lower end 1/4. At scan number k = 2, image formation is performed after the paper is fed by ¼ nozzle length with respect to scan number k = 1. Further, at scan number k = 3, image formation is performed after feeding the paper for 1/4 nozzle length with respect to scan number k = 2. The above operation is repeated to form a final output image. That is, in the case of performing four-pass printing and feeding a quarter of the nozzle length, as shown in FIG. 9, the recording of one main scanning recording area is completed at k = 1 to 7, and this is repeated. Thus, the final output image is formed. Therefore, when the scan number k = 1, the color separation data cutout position Ycut = −12.

上記Ycut(k)を一般化すると、色分解データ切り出し位置Ycut(k)は、ノズル列数:Nzzl、パス数:Pass、走査番号:k、とすると次式で与えられる。
Ycut(k) = −Nzzl+(Nzzl/Pass)×k (7)
次に、走査Duty設定部105は、走査Duty設定用LUT106を参照して、各色分解処理プレーンの画像データから、走査毎のデータ値を設定する(ステップS104)。
When Ycut (k) is generalized, the color separation data cut-out position Ycut (k) is given by the following equation when the number of nozzle rows: Nzzl, the number of passes: Pass, and the scan number: k.
Ycut (k) = − Nzzl + (Nzzl / Pass) × k (7)
Next, the scan duty setting unit 105 refers to the scan duty setting LUT 106 and sets a data value for each scan from the image data of each color separation processing plane (step S104).

走査Duty設定用LUT106は4パスの場合、図6に示した形で与えられる。図6は16ノズル、4パスの例を示しており、P1〜P4の変曲点を4ノズル毎に設定し、その各変曲点を線形補間した16ノズル分のDuty分割率が走査Duty設定用LUTとなる。ここで、P1〜P4の数値の設定法は以下のとおりになる。
P1+P2+P3+P4=1.0 (8)
The scan duty setting LUT 106 is given in the form shown in FIG. 6 in the case of four passes. FIG. 6 shows an example of 16 nozzles and 4 passes. The inflection points of P1 to P4 are set for every 4 nozzles, and the duty division ratio for 16 nozzles obtained by linearly interpolating each inflection point is set as the scan duty. LUT. Here, the setting method of the numerical values of P1 to P4 is as follows.
P1 + P2 + P3 + P4 = 1.0 (8)

なお、走査Duty設定用LUT106は上記設定法に限られるものではない。例えば、変曲点を更に細かく設定してもよいし、ノズル毎に直接指定しても良い。また、走査Dutyは、図7に示すように走査Duty設定用LUT106と色分解データの積で設定される。ただし、対応するノズルが画像Yアドレスの領域外座標になるときは、走査Dutyを0とする。例えば、走査番号k=1では、図8に示すように、ノズル列の上部3/4で画像Yアドレスが負になるため走査Duty値=0が代入され、ノズル列下端1/4には有意な値が代入される。   The scan duty setting LUT 106 is not limited to the above setting method. For example, the inflection point may be set more finely or may be directly specified for each nozzle. The scan duty is set by the product of the scan duty setting LUT 106 and color separation data as shown in FIG. However, when the corresponding nozzle is outside the area of the image Y address, the scanning duty is set to 0. For example, when the scan number is k = 1, as shown in FIG. 8, the image Y address becomes negative at the upper 3/4 of the nozzle row, so the scan duty value = 0 is substituted, and the nozzle row lower end 1/4 is significant. Is assigned a valid value.

なお、色分解データ切り出し位置Ycut(k)は走査番号kによって決まるため、走査番号k=1〜7の場合、図9のように走査Dutyが決まる。図9における各走査Dutyは色分解データと、走査Duty設定用LUTの積により定まるため、紙送りしながらLUTとの積をとると、領域1の部分では、走査番号k=1〜4の4回の走査で形成される1ラスタの合計値が色分解データと同じになる。領域2、3、4でも同様に、1ラスタの合計値が色分解データと同じになる。   Since the color separation data cutout position Ycut (k) is determined by the scanning number k, the scanning duty is determined as shown in FIG. 9 when the scanning number k = 1 to 7. Each scanning duty in FIG. 9 is determined by the product of the color separation data and the scanning duty setting LUT. Therefore, when the product is taken with the LUT while feeding paper, the scanning number k = 1 to 4 in the area 1 portion is 4. The total value of one raster formed by one scan is the same as the color separation data. Similarly in the areas 2, 3, and 4, the total value of one raster is the same as the color separation data.

ただし、上記走査Duty分解は、Duty分解閾値D_Th3より色分解データ値が小さいときは、4回の走査で画像形成を行うことはせず、1〜3回の走査で画像形成を行う。より詳細には、色分解データ値がD_Th3以下の場合には3回、色分解データ値がD_th2以下の場合には2回、色分解データ値がD_th1以下の場合には1回の走査で画像形成が行われるようにする。   However, in the scan duty separation, when the color separation data value is smaller than the duty separation threshold D_Th3, image formation is not performed by four scans, and image formation is performed by one to three scans. More specifically, when the color separation data value is D_Th3 or less, the image is scanned three times, when the color separation data value is D_th2 or less, twice, and when the color separation data value is D_th1 or less, the image is scanned once. Let the formation take place.

上記の走査Duty設定部105における走査Duty設定を例えばシアンC(X,Y)に限って式で詳細に表すと、以下のように与えられる。なお、C(X,Y)はアドレス(X,Y)における走査Dutyを、S_LUT(Y)はアドレスYにおける走査Duty設定用LUTである。   When the scan duty setting in the scan duty setting unit 105 is expressed in detail by an expression only for cyan C (X, Y), for example, it is given as follows. C (X, Y) is a scan duty at the address (X, Y), and S_LUT (Y) is a scan duty setting LUT at the address Y.

C(nx,Ycut(k)+ny) > D_Th3のとき
C_d(nx,ny)=C(nx,Ycut(k)+ny)×S_LUT(ny)(9)
C(nx,Ycut(k)+ny) ≦ D_Th1のとき
「走査番号k=1,5,・・・,4n+1(nは0以上の整数)」
C_d(nx,ny)=C(nx,Ycut(k)+ny) (10)
「上記以外の走査番号」
C_d(nx,ny)=0 (11)
C(nx,Ycut(k)+ny) ≦ D_Th2のとき
「走査番号k=1,5,・・・,4n+1」
「走査番号k=2,6,・・・,4n+2」
C_d(nx,ny)=C(nx,Ycut(k)+ny)/2 (12)
「上記以外の走査番号」
C_d(nx,ny)=0 (13)
C(nx,Ycut(k)+ny) ≦ D_Th3のとき
「走査番号k=1,5,・・・,4n+1」
「走査番号k=2,6,・・・,4n+2」
「走査番号k=3,7,・・・,4n+3のとき」
C_d(nx,ny)=C(nx,Ycut(k)+ny)/3 (14)
「上記以外の走査番号」
C_d(nx,ny)=0 (15)
なお、上記(9)〜(15)式において、0≦nx<画像のXサイズ、0≦ny<Nzzlである。
When C (nx, Ycut (k) + ny)> D_Th3 C_d (nx, ny) = C (nx, Ycut (k) + ny) × S_LUT (ny) (9)
When C (nx, Ycut (k) + ny) ≦ D_Th1, “scan number k = 1, 5,..., 4n + 1 (n is an integer of 0 or more)”
C_d (nx, ny) = C (nx, Ycut (k) + ny) (10)
"Scan number other than above"
C_d (nx, ny) = 0 (11)
When C (nx, Ycut (k) + ny) ≦ D_Th2, “scan number k = 1, 5,..., 4n + 1”
“Scan number k = 2, 6,..., 4n + 2”
C_d (nx, ny) = C (nx, Ycut (k) + ny) / 2 (12)
"Scan number other than above"
C_d (nx, ny) = 0 (13)
When C (nx, Ycut (k) + ny) ≦ D_Th3 “Scan number k = 1, 5,..., 4n + 1”
“Scan number k = 2, 6,..., 4n + 2”
“When scan number k = 3, 7,..., 4n + 3”
C_d (nx, ny) = C (nx, Ycut (k) + ny) / 3 (14)
"Scan number other than above"
C_d (nx, ny) = 0 (15)
In the above formulas (9) to (15), 0 ≦ nx <X size of the image and 0 ≦ ny <Nzzl.

同様に、Lc(X,Y)、M(X,Y)、Lm(X,Y)、Y(X,Y)、K(X,Y)に対しても上記式により走査Dutyへ分解する。   Similarly, Lc (X, Y), M (X, Y), Lm (X, Y), Y (X, Y), and K (X, Y) are also decomposed into scanning duty by the above formula.

なお、本実施形態では4パスを例にしたため、(10)〜(15)のように例外のDuty分解を設定したが、例えば8パスでも同様にD_Th1〜D_Th7を設定し、例外のDuty分解を行う。   In this embodiment, since four passes are taken as an example, the Duty factorization of exceptions is set as in (10) to (15). However, for example, D_Th1 to D_Th7 are similarly set for eight passes, and Duty factorization of exceptions is performed. Do.

次に、走査Duty設定部105は、設定した走査Dutyデータを走査Dutyバッファ107に格納する(ステップS105)。走査Dutyバッファ107は、図10のように、縦:ノズル数、横:画像Xsize分のバンド状のデータ値を各色毎に格納する。   Next, the scan duty setting unit 105 stores the set scan duty data in the scan duty buffer 107 (step S105). As shown in FIG. 10, the scan duty buffer 107 stores, for each color, band-shaped data values for vertical: number of nozzles and horizontal: image Xsize.

次に、ハーフトーン処理部108は、走査Dutyバッファ107のデータと制約情報バッファ109のデータの合計値に対し、ハーフトーン処理を行い、2レベルの階調値(2値データ)に変換する(ステップS106)。制約情報バッファ109も、図11のように、縦:ノズル数、横:画像Xsize分のバンド状のデータ値(制約情報)を各色毎に格納する。   Next, the halftone processing unit 108 performs halftone processing on the total value of the data in the scan duty buffer 107 and the data in the constraint information buffer 109 to convert it into a two-level gradation value (binary data) ( Step S106). As shown in FIG. 11, the constraint information buffer 109 also stores, for each color, band-like data values (constraint information) for vertical: number of nozzles and horizontal: image Xsize.

第1実施形態では、制約情報バッファ109において、記録される画像上のアドレスに2値画像が形成されやすいか否かを示す制約情報が走査番号kごとに更新されていく。ただし、走査番号k=1の処理開始時は全て0の初期値が代入されている。すなわち、アドレス(X,Y)における各色の制約情報をC_r(X,Y)、Lc_r(X,Y)、M_r(X,Y)、Lm_r(X,Y)、Y_r(X,Y)、K_r(X,Y)とすると、走査番号k=1のときは以下のように記述される。   In the first embodiment, in the constraint information buffer 109, constraint information indicating whether or not a binary image is easily formed at an address on a recorded image is updated for each scan number k. However, the initial value of all 0s is substituted at the start of the processing of the scan number k = 1. That is, the constraint information of each color at the address (X, Y) is C_r (X, Y), Lc_r (X, Y), M_r (X, Y), Lm_r (X, Y), Y_r (X, Y), K_r. Assuming that (X, Y), the scan number k = 1 is described as follows.

C_r(nx,ny)=0 (16)
Lc_r(nx,ny)=0 (17)
M_r(nx,ny)=0 (18)
Lm_r(nx,ny)=0 (19)
Y_r(nx,ny)=0 (20)
K_r(nx,ny)=0 (21)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
そのため、実質的には走査番号k≧2の時に、有意な制約情報が更新されていくことになる。制約情報の値は、その値が小さいほど、その箇所にドットが形成されにくく、逆に値が大きいほどドットが形成されやすい。また、制約情報バッファに更新される値はどのような走査番号であっても、平均値0の値が格納されている。すなわち、その箇所にドットが形成されやすい場合は正の値が、その箇所にドットが形成されにくい場合は負の値が格納されている。制約情報の更新法に関しての詳細は後述する。
C_r (nx, ny) = 0 (16)
Lc_r (nx, ny) = 0 (17)
M_r (nx, ny) = 0 (18)
Lm_r (nx, ny) = 0 (19)
Y_r (nx, ny) = 0 (20)
K_r (nx, ny) = 0 (21)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
For this reason, significant constraint information is updated when the scan number k ≧ 2. As the value of the constraint information is smaller, the dot is less likely to be formed at the location, and conversely, the larger the value is, the easier the dot is formed. In addition, the value updated in the constraint information buffer stores an average value of 0 regardless of the scan number. That is, a positive value is stored when a dot is likely to be formed at that location, and a negative value is stored when a dot is difficult to form at that location. Details of the constraint information update method will be described later.

第1実施形態のハーフトーン処理は、多値の入力画像データを2値画像(または2値以上で入力階調数より少ない階調数の画像)に変換する処理として、例えばR.Floydらによる誤差拡散法(非特許文献1参照)を用いる。   The halftone process according to the first embodiment is a process for converting multi-valued input image data into a binary image (or an image having two or more values and a smaller number of gradations than the number of input gradations), for example, by R. Floyd et al. An error diffusion method (see Non-Patent Document 1) is used.

ここでは説明を簡略化するため、4パス印字、走査番号k=1におけるシアンのハーフトーン処理について詳細を、図12のハーフトーン処理部108のブロック図と図13のフローチャート図を参照しながら説明する。   Here, in order to simplify the description, the details of the cyan halftone process in four-pass printing and scan number k = 1 will be described with reference to the block diagram of the halftone processing unit 108 in FIG. 12 and the flowchart in FIG. To do.

まず、ステップS201において、シアン走査DutyであるC_dと、シアン制約情報であるC_rがハーフトーン処理部108に入力される。加算部401は、以下のように、C_dとC_rの合計値データIcを算出する。
Ic=C_d+C_r ・・・(22)
(ただし走査番号k=1の制約情報C_rは全0)
本実施形態では、誤差拡散処理のための誤差拡散係数が図14のようにK1〜K4の4つの係数を持つものとする。例えば、K1=7/16、K2=3/16、K3=5/16、K4=1/16とする。ただし、拡散係数は上記のように固定でなく、階調に応じて(たとえばC_dに応じて)変更させても良いし、上記4係数に限らずさらに多くの係数を持たせても良い。このような誤差拡散係数により誤差を拡散、累積するために、ハーフトーン処理部108における累積誤差ラインバッファを4組確保し、使用する累積誤差ラインバッファを走査番号ごとに切り替える。
First, in step S <b> 201, C_d that is cyan scanning duty and C_r that is cyan constraint information are input to the halftone processing unit 108. The adding unit 401 calculates the total value data Ic of C_d and C_r as follows.
Ic = C_d + C_r (22)
(However, the constraint information C_r of the scan number k = 1 is all 0)
In this embodiment, it is assumed that error diffusion coefficients for error diffusion processing have four coefficients K1 to K4 as shown in FIG. For example, K1 = 7/16, K2 = 3/16, K3 = 5/16, and K4 = 1/16. However, the diffusion coefficient is not fixed as described above, and may be changed according to the gradation (for example, according to C_d), or may be more than the above four coefficients. In order to diffuse and accumulate errors using such error diffusion coefficients, four sets of accumulated error line buffers in the halftone processing unit 108 are secured, and the accumulated error line buffers to be used are switched for each scan number.

具体的には、
「走査番号k=1,5,・・・,4n+1(nは0以上の整数)のとき」
(4n+1)の累積誤差バッファ402を使用
「走査番号k=2,6,・・・,4n+2のとき」
(4n+2)の累積誤差バッファ403を使用
「走査番号k=3,7,・・・,4n+3のとき」
(4n+3)の累積誤差バッファ404を使用
「走査番号k=4,8,・・・,4n+4のとき」
(4n+4)の累積誤差バッファ405を使用
のように切り替える。
In particular,
“When scan number k = 1, 5,..., 4n + 1 (n is an integer of 0 or more)”
(4n + 1) cumulative error buffer 402 is used “when scan number k = 2, 6,..., 4n + 2”
(4n + 2) cumulative error buffer 403 is used “when scan number k = 3, 7,..., 4n + 3”
(4n + 3) cumulative error buffer 404 is used “when scan number k = 4, 8,..., 4n + 4”
The accumulated error buffer 405 of (4n + 4) is switched to use.

なお累積誤差バッファ402、403、404,405は、それぞれ、図15に示すように、(a)「Ec1_0,Ec1(x)」、(b)「Ec2_0,Ec2(x)」、(c)「Ec3_0,Ec3(x)」、(d)「Ec4_0,Ec4(x)」である。   As shown in FIG. 15, the accumulated error buffers 402, 403, 404, and 405 have (a) “Ec1_0, Ec1 (x)”, (b) “Ec2_0, Ec2 (x)”, and (c) “ Ec3_0, Ec3 (x) ", (d)" Ec4_0, Ec4 (x) ".

(4n+1)の累積誤差バッファ402は、1個の記憶領域Ec1_0と、入力画像の横画素数Wと同数の記憶領域Ec1_(x)(x=1〜W)とを有する。他の累積誤差バッファ403、404、405も同様の記録領域を有する。また、累積誤差バッファ402、403、404、405は、走査番号k=1、2、3、4の処理開始時のみ、全て初期値0で初期化されているものとする。例えば走査番号k=5の処理開始時には、(4n+1)累積誤差バッファ402は初期化されない。   The (4n + 1) cumulative error buffer 402 has one storage area Ec1_0 and the same number of storage areas Ec1_ (x) (x = 1 to W) as the number of horizontal pixels W of the input image. The other accumulated error buffers 403, 404, and 405 also have the same recording area. Also, it is assumed that the accumulated error buffers 402, 403, 404, and 405 are all initialized with the initial value 0 only when the processing of the scan numbers k = 1, 2, 3, and 4 is started. For example, at the start of processing for scan number k = 5, (4n + 1) cumulative error buffer 402 is not initialized.

本実施形態では、1色あたり上述の4組の累積誤差ラインバッファが必要になる。すなわち、本実施形態は6色なので、合計4×6=24組のラインバッファが必要になる。   In this embodiment, the above-described four sets of accumulated error line buffers are required for each color. That is, since this embodiment has 6 colors, a total of 4 × 6 = 24 sets of line buffers are required.

本説明では、走査番号k=1についてであるので、(4n+1)の累積誤差バッファ402を使用して誤差拡散処理を実施した場合を説明する。   In this description, since the scan number is k = 1, a case where error diffusion processing is performed using the (4n + 1) cumulative error buffer 402 will be described.

ステップS202において、累積誤差加算部406で入力画素データの横画素位置xに対応する誤差Ec1(x)が加算される。即ち、入力された注目データをIc、累積誤差加算後のデータをIc'とすると、
Ic'=Ic+Ec1(x) ・・・(23)
となる。
In step S202, the error Ec1 (x) corresponding to the horizontal pixel position x of the input pixel data is added by the cumulative error adding unit 406. That is, if the input data of interest is Ic and the data after adding the cumulative error is Ic ′,
Ic ′ = Ic + Ec1 (x) (23)
It becomes.

次にステップS203において、閾値選択部407は、閾値Tを選択する。閾値Tの選択においては、例えば、
T=128 ・・・(24)
と設定される。或いは、ドット生成遅延を回避するため、平均量子化誤差が小さくなるよう、
T=f(C_d) ・・・(25)
のようにして、C_dに応じて細かく閾値Tを変更するようにしても良い。
Next, in step S203, the threshold selection unit 407 selects the threshold T. In the selection of the threshold T, for example,
T = 128 (24)
Is set. Alternatively, in order to avoid dot generation delay, the average quantization error is reduced.
T = f (C_d) (25)
In this way, the threshold value T may be finely changed according to C_d.

次に、ステップS204において、量子化部408は、誤差加算後の画素データIc'と閾値Tとを比較し、ドットの2値化結果Out_cを決定する。その規則は次の通りである。すなわち、
Ic'<Tのとき
Out_c = 0 ・・・(26)
Ic'≧Tのとき
Out_c = 255 ・・・(27)
次に、ステップS205において、誤差演算部409で注目画素Icに誤差加算後の画素データIc'と出力画素値Out_cとの差分Err_cを、
Err_c(x)=Ic'− Out_c ・・・(28)
ようにして計算する。
Next, in step S204, the quantization unit 408 compares the pixel data Ic ′ after the error addition with the threshold value T, and determines the binarization result Out_c of the dots. The rules are as follows: That is,
When Ic ′ <T Out_c = 0 (26)
When Ic '≧ T
Out_c = 255 (27)
Next, in step S205, the error calculation unit 409 calculates a difference Err_c between the pixel data Ic ′ after the error addition to the target pixel Ic and the output pixel value Out_c.
Err_c (x) = Ic′−Out_c (28)
Calculate as follows.

次に、ステップS206において、誤差拡散部410は誤差を拡散する。即ち、(4n+1)累積誤差バッファ402を用いて、横画素位置xに応じて以下の様に誤差Err_c(x)の拡散処理が行われる。
Ec1(x+1) ← Ec1(x+1)+Err_c(x)×7/16 (x<W)
Ec1(x-1) ← Ec1(x-1)+Err_c(x)×3/16 (x>1)
Ec1(x) ← Ec1_0+Err_c(x)×5/16 (1<x<W)
Ec1(x) ← Ec1_0+Err_c(x)×8/16 (x=1)
Ec1(x) ← Ec1_0+Err_c(x)×13/16 (x=W)
Ec1_0 ← Err_c(x)×1/16 (x<W)
Ec1_0 ← 0 (x=W)
・・・(29)
以上で、走査番号k=1のシアン1画素分の2値化(量子化値0,255)が完了する。
Next, in step S206, the error diffusion unit 410 diffuses the error. That is, using the (4n + 1) cumulative error buffer 402, the error Err_c (x) is diffused as follows according to the horizontal pixel position x.
Ec1 (x + 1) ← Ec1 (x + 1) + Err_c (x) x 7/16 (x <W)
Ec1 (x-1) ← Ec1 (x-1) + Err_c (x) x 3/16 (x> 1)
Ec1 (x) ← Ec1_0 + Err_c (x) x 5/16 (1 <x <W)
Ec1 (x) ← Ec1_0 + Err_c (x) x 8/16 (x = 1)
Ec1 (x) ← Ec1_0 + Err_c (x) x 13/16 (x = W)
Ec1_0 ← Err_c (x) x 1/16 (x <W)
Ec1_0 ← 0 (x = W)
... (29)
This completes the binarization (quantization value 0, 255) for one cyan pixel of scan number k = 1.

以上説明したステップS201〜S206の処理を、バンド内のアドレス(0,0)〜(W−1,Nzzl−1)まで行う(ステップS207)ことにより、ハーフトーン画像データのドット位置を決定することができる。   The processing of steps S201 to S206 described above is performed for addresses (0, 0) to (W-1, Nzzl-1) in the band (step S207), thereby determining the dot position of the halftone image data. Can do.

走査番号k=2では(4n+2)累積誤差バッファ403を、走査番号k=3では(4n+3)累積誤差バッファ404を、走査番号k=4では(4n+4)累積誤差バッファ405を用いて、上記ハーフトーン処理を行う。そして、走査番号k=5の処理では、走査番号k=1と同じ(4n+1)累積誤差バッファ402を、初期化しないで(全0を代入しないで)そのまま用いる。これは、走査番号k=1と走査番号k=5の印字領域が上下に隣接しているため(図16参照)、累積誤差を隣接下の領域へ保存させるためである。もし累積誤差バッファを初期化すると、誤差が隣接の境界部で保存されなくなり、ドットの連続性が保てなくなってしまう。   When the scan number k = 2, the (4n + 2) cumulative error buffer 403 is used, when the scan number k = 3, the (4n + 3) cumulative error buffer 404 is used, and when the scan number k = 4, the (4n + 4) cumulative error buffer 405 is used. Process. In the process of scan number k = 5, the same (4n + 1) cumulative error buffer 402 as scan number k = 1 is used as it is without being initialized (all 0s are not substituted). This is because the print areas of scan number k = 1 and scan number k = 5 are vertically adjacent (see FIG. 16), so that the accumulated error is stored in the adjacent lower area. If the accumulated error buffer is initialized, the error is not stored at the adjacent boundary portion, and the dot continuity cannot be maintained.

次に、ハーフトーン処理後の2値画像データはハーフトーン画像格納バッファ110に格納される(ステップS107)。図17は、走査番号k=1の走査Dutyをハーフトーン処理しハーフトーン画像格納バッファ格納した様子を示した図である。走査Dutyの画素位置に対応する(Nzzl)×(W)の二値画像データが格納される。   Next, the binary image data after the halftone process is stored in the halftone image storage buffer 110 (step S107). FIG. 17 is a diagram showing a state where the scan duty of scan number k = 1 is halftone processed and stored in the halftone image storage buffer. (Nzzl) × (W) binary image data corresponding to the pixel position of the scan duty is stored.

以上により、走査番号k=1でのハーフトーン処理が終了し、その結果、各色分の一回のヘッド動作で形成される二値画像が、各色分のハーフトーン画像格納バッファ110に格納されることになる。   As described above, the halftone process at the scan number k = 1 is completed. As a result, the binary image formed by one head operation for each color is stored in the halftone image storage buffer 110 for each color. It will be.

次に、ハーフトーン画像格納バッファ110に蓄えられた、縦:Nzzl、横画像:Wのバンドデータが画像出力端子112より出力される(ステップS108)。   Next, band data of vertical: Nzzl and horizontal image: W stored in the halftone image storage buffer 110 is output from the image output terminal 112 (step S108).

次に、制約情報を演算する(ステップS109)。ここでは説明を簡略化するため、4パス印字、走査番号k=1、ノズル数Nzzl=16におけるシアンの制約情報の演算についての詳細を、図18の制約情報演算部111のブロック図と図19のフローチャート図を参照しながら説明する。前述のとおり、制約情報とは、現在の走査番号k=1の次の走査番号k=2、でのハーフトーン画像のドット配置を決める上で、ドットが打たれやすいか否かの情報である。なお、現在の走査番号がkのときは、次の走査番号はk+1であ。   Next, constraint information is calculated (step S109). Here, for the sake of simplicity of explanation, details of the calculation of the constraint information for cyan in four-pass printing, the scan number k = 1, and the number of nozzles Nzzl = 16 will be described with reference to the block diagram of the constraint information calculation unit 111 in FIG. This will be described with reference to the flowchart of FIG. As described above, the constraint information is information indicating whether or not dots are likely to be shot when determining the dot arrangement of the halftone image at the next scan number k = 2 after the current scan number k = 1. . When the current scan number is k, the next scan number is k + 1.

先ず、走査Dutyフィルタ処理部501は走査Dutyバッファ107内のシアン走査Duty、C_dに対して所定のフィルタF_mを作用させてフィルタ処理を行いC_dfを算出する(ステップS301)。
C_df = C_d*F_m ・・・(30)
*:コンボリューション
図20に、フィルタF_mによりフィルタ処理されたデータの模式図を示す。
First, the scan duty filter processing unit 501 performs a filter process by applying a predetermined filter F_m to the cyan scan Duty and C_d in the scan duty buffer 107 and calculates C_df (step S301).
C_df = C_d * F_m (30)
*: Convolution FIG. 20 shows a schematic diagram of data filtered by the filter F_m.

本実施形態の制約情報演算部111は、F_mのサイズ(M,N)および係数を、変動量検出部207で検出した変動値varにより設定する。   The constraint information calculation unit 111 according to the present embodiment sets the size (M, N) and coefficient of F_m based on the variation value var detected by the variation amount detection unit 207.

例えば、フィルタサイズM×Nは、変動量検出部207で検出したキャリッジ速度による着弾位置変動値の偏差σ_diによってきまる。図26のように予め、変動値var(=σ_di)とフィルタサイズ(M,N)の関係を設定しておいてもよい。あるいは、それらの関係をルックアップテーブル(LUT)として設定しておいてもよい。また、このテーブルは主走査方向の解像度毎に変更されるようにしてもよい。図27に例として、M=N=5の正方形で係数がほぼ同心円状に並ぶ等方的荷重平均フィルタを示す。   For example, the filter size M × N is determined by the deviation σ_di of the landing position fluctuation value according to the carriage speed detected by the fluctuation amount detection unit 207. As shown in FIG. 26, the relationship between the fluctuation value var (= σ_di) and the filter size (M, N) may be set in advance. Alternatively, these relationships may be set as a lookup table (LUT). Further, this table may be changed for each resolution in the main scanning direction. As an example, FIG. 27 shows an isotropic load-averaging filter in which M = N = 5 squares and coefficients are arranged almost concentrically.

このとき、フィルタサイズが大きいほど、変動に対するロバスト性は高くなるため、図26のように、変動値varが大きいほどフィルタサイズを大きくするとよい。同様に、変動量varをキャリッジ変動量diの最大値d_maxとした場合にも、varが大きいほど、フィルタサイズを大きくすることが望ましい。この条件を満たすために、例えば、式(31)(32)のように、フィルタサイズ(N,M)が変動量varを変数とする単調増加関数として設定してもよい。   At this time, the larger the filter size, the higher the robustness against fluctuations. Therefore, as shown in FIG. 26, the larger the fluctuation value var, the larger the filter size. Similarly, when the variation amount var is set to the maximum value d_max of the carriage variation amount di, it is desirable to increase the filter size as var increases. In order to satisfy this condition, for example, the filter size (N, M) may be set as a monotonically increasing function with the variation amount var as a variable, as in equations (31) and (32).

M=αM・var+βM ただしαM>0, βM>0 (31)
N=αN・var+βN ただしαN>0, βN>0 (32)
なお、キャリッジ速度変動による位置変動量が限りなく0に近い場合には、フィルタサイズを0にすると、記録装置の着弾変動がない場合の粒状性が良化する。しかしながら、画質劣化に起因する記録装置の変動はキャリッジ変動のみに限らないため、変動値var=0のときN=M=0とすることは好ましくない。
M = α M · var + β M where α M > 0, β M > 0 (31)
N = α N · var + β N where α N > 0, β N > 0 (32)
When the amount of position variation due to carriage speed variation is as close to 0 as possible, setting the filter size to 0 improves the graininess when there is no landing variation of the printing apparatus. However, since the fluctuation of the printing apparatus due to the image quality deterioration is not limited to the carriage fluctuation, it is not preferable to set N = M = 0 when the fluctuation value var = 0.

さらに、変動量varをキャリッジ変動量di(i=0,…k-1)とした場合には、変動量検出部で、キャリッジ位置を検出した位置xによって、フィルタ形状を変化させるようにしてもよい。   Further, when the variation amount var is the carriage variation amount di (i = 0,... K−1), the variation amount detection unit may change the filter shape according to the position x at which the carriage position is detected. Good.

例えば、走査の開始時で速度が安定していない箇所では、速度が安定してくる画像の中心部分よりも、変動量diも大きくなる可能性がある。その箇所においては、フィルタサイズを大きくして変動に対するロバスト性を優先し、他の部分においてはフィルタサイズを比較的小さくすることで、高画質化を優先される。   For example, at a location where the speed is not stable at the start of scanning, there is a possibility that the fluctuation amount di is larger than the central portion of the image where the speed is stable. In that part, the filter size is increased to give priority to robustness against fluctuations, and in other parts, the filter size is made relatively small, so that higher image quality is given priority.

また、フィルタの形状はM=Nの正方形でも、M≠Nのような長方形でも良い。なお、キャリッジ速度変動は主走査方向のレジストレーションズレの要因となるため、主走査方向に広がりをもつ、つまりN>Mとなるフィルタ(M=7、N=5)を設定すると効果的である。この場合のフィルタF_mの例を図28に示す。なお、図28のフィルタは係数がほぼ同心円状に並ぶ等方的荷重平均フィルタである。   The shape of the filter may be a square with M = N or a rectangle with M ≠ N. Since the carriage speed fluctuation causes a registration shift in the main scanning direction, it is effective to set a filter (M = 7, N = 5) that spreads in the main scanning direction, that is, N> M. . An example of the filter F_m in this case is shown in FIG. Note that the filter of FIG. 28 is an isotropic load-average filter in which coefficients are arranged substantially concentrically.

また、フィルタ係数は楕円の非等方フィルタであっても良いし、ローパス特性に限らず、バンドパス特性や、ハイパス特性のフィルタであっても良い。フィルタ係数によりフィルタ特性に方向性を与える場合には、楕円の長軸がx方向となるように設定すると、前に述べた理由により主走査方向のレジストレーションズレに対してロバストなフィルタを制約情報となるため、望ましい。このとき、フィルタサイズを大きくとる方が非等方性がより表現しやすい。図29に、楕円の長軸がx方向となるような、N=M=7の非等方性フィルタを示す。   Further, the filter coefficient may be an elliptical anisotropic filter, and is not limited to a low-pass characteristic, and may be a band-pass characteristic or a high-pass characteristic filter. In order to give directionality to the filter characteristics by the filter coefficient, if the long axis of the ellipse is set to be in the x direction, a filter that is robust against registration misalignment in the main scanning direction for the reason described above is used as constraint information. This is desirable. At this time, anisotropy is more easily expressed when the filter size is increased. FIG. 29 shows an anisotropic filter with N = M = 7 in which the major axis of the ellipse is in the x direction.

次に、ハーフトーンデータフィルタ処理部502はOut_cに対して所定のローパスフィルタLPF_bにてフィルタ処理を行う(ステップS302)。図21にフィルタ処理されたデータの模式図を示す。
Out_c_LPF = Out_c*LPF_b ・・・(33)
本実施形態におけるLPF_bの係数も、前述のF_mと同様に、変動量検出部207で検出した変動値varにより設定される。ただし、LPF_bはローパス特性をもつことが好ましい。また本実施形態では、F_mとLPF_bが同じとしているが、異なる係数であっても良い。
Next, the halftone data filter processing unit 502 performs filtering on Out_c using a predetermined low-pass filter LPF_b (step S302). FIG. 21 shows a schematic diagram of the filtered data.
Out_c_LPF = Out_c * LPF_b (33)
The coefficient of LPF_b in the present embodiment is also set by the fluctuation value var detected by the fluctuation amount detection unit 207, similarly to the aforementioned F_m. However, LPF_b preferably has a low-pass characteristic. In this embodiment, F_m and LPF_b are the same, but different coefficients may be used.

次に、走査Dutyデータシフト部503は、走査Dutyフィルタ処理部501のデータC_dfを、一回の紙送り量LF=Nzzl/Pass=16/4=4だけ上にシフトする(ステップS303)。図22にシフトされたデータの模式図を示す。シフトした走査DutyデータをC’_dfとすると以下のように算出される。なお、シフトされた後の下端4ノズル分は0を代入する。   Next, the scan duty data shift unit 503 shifts the data C_df of the scan duty filter processing unit 501 upward by one paper feed amount LF = Nzzl / Pass = 16/4 = 4 (step S303). FIG. 22 shows a schematic diagram of the shifted data. If the shifted scanning duty data is C′_df, the calculation is as follows. Note that 0 is substituted for the lower four nozzles after the shift.

C’_df(nx,ny) = C_df(nx,ny+LF) ・・・(34)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
同様に、ハーフトーンデータシフト部504も、データOut_c_LPFを紙送り分上にシフトする(ステップS304)。図23にシフトされたデータの模式図を示す。シフトしたデータをOut’_c_LPFとすると以下のように算出される。
C′_df (nx, ny) = C_df (nx, ny + LF) (34)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
Similarly, the halftone data shift unit 504 also shifts the data Out_c_LPF to the paper feed amount (step S304). FIG. 23 shows a schematic diagram of the shifted data. If the shifted data is Out'_c_LPF, the calculation is as follows.

Out’_c_LPF(nx,ny)=Out_c_LPF(nx,ny+LF) ・・・(35)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
さらに、更新前制約情報データシフト部505も、更新前制約情報データC_rを紙送り分上にシフトする(ステップS305)。シフトした走査DutyデータをC’_rとすると以下のように算出される。
Out′_c_LPF (nx, ny) = Out_c_LPF (nx, ny + LF) (35)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
Further, the pre-update constraint information data shift unit 505 also shifts the pre-update constraint information data C_r onto the paper feed amount (step S305). If the shifted scanning duty data is C′_r, the calculation is as follows.

C’_r(nx,ny)=C_r(nx,ny+LF) ・・・(36)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
上述のように、次の走査番号の制約情報演算には、相対的に紙送り量LF上方にシフトさせる。さらに、下端LFノズル分は0を代入する。
C′_r (nx, ny) = C_r (nx, ny + LF) (36)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
As described above, in the constraint information calculation of the next scanning number, the paper feed amount LF is relatively shifted upward. Further, 0 is substituted for the lower end LF nozzle.

このようにバッファデータを紙送り量LFだけシフトさせる理由は、次の走査番号にて形成されるハーフトーンドット配置が記録媒体上で相対的に紙送り量LFずれて形成されるからである。   The reason why the buffer data is shifted by the paper feed amount LF in this manner is that the halftone dot arrangement formed by the next scanning number is formed on the recording medium with a relative shift of the paper feed amount LF.

更に、減算部506で、走査Dutyデータシフト部503で算出されたデータから、ハーフトーンデータシフト部504で算出されたデータを減算する(ステップS306)。そして、重み積算部507にて、減算部506からの減算結果に重み係数h(実数)を積算する(ステップS307)。   Further, the subtraction unit 506 subtracts the data calculated by the halftone data shift unit 504 from the data calculated by the scanning duty data shift unit 503 (step S306). Then, the weight accumulation unit 507 accumulates the weight coefficient h (real number) on the subtraction result from the subtraction unit 506 (step S307).

次に、加算部508にて、重み積算部507にて演算されたデータと更新前制約情報データシフト部505にてシフトされたシアン制約情報を加算して(ステップS308)、更新後制約情報C_rとする。そして、この更新後制約情報C_rを、次の走査番号k=2以降(または現走査番号kなら、次の走査番号はk+1)のハーフトーン処理の制約情報として保存しておく。
C_r ← (−Out’_c_LPF+C’_df)×h+C’_r ・・・(37)
ここで、式(37)について説明する。式のOut’_c_LPFはハーフトーンデータフィルタ処理部502にてLPF_bを用いて、走査番号kのハーフトーン画像に対して低周波成分のみを取り出したデータである。式においては、−Out’_c_LPFと減算することで、低周波成分のみを取り出されたデータを負の値にする。この「負の値とする」効果は、次の走査番号k+1以降でドットが打たれにくくなることを意味する。すなわちこの処理は、次の走査番号k+1以降で、走査番号k以前に打たれたハーフトーン画像の低周波成分が逆位相となる効果がある。
Next, the adding unit 508 adds the data calculated by the weight integrating unit 507 and the cyan constraint information shifted by the pre-update constraint information data shift unit 505 (step S308), and the post-update constraint information C_r. And The updated constraint information C_r is stored as constraint information for halftone processing after the next scan number k = 2 (or the next scan number is k + 1 if the current scan number is k).
C_r ← (−Out′_c_LPF + C′_df) × h + C′_r (37)
Here, the equation (37) will be described. Out'_c_LPF in the equation is data obtained by extracting only a low frequency component from the halftone image of scan number k using LPF_b in the halftone data filter processing unit 502. In the equation, by subtracting from -Out'_c_LPF, the data from which only the low frequency component is extracted is set to a negative value. This “negative value” effect means that dots are less likely to be shot after the next scan number k + 1. That is, this process has an effect that the low frequency component of the halftone image printed before the scan number k after the next scan number k + 1 has an opposite phase.

上述のように、−Out’_c_LPFは以前に配置されたドットの低周波成分が逆位相となる効果があるが、そもそも低周波成分のみを逆位相とする意味について図24を元に述べる。   As described above, -Out'_c_LPF has an effect that the low-frequency component of the previously arranged dot has an opposite phase, but the meaning that only the low-frequency component has the opposite phase is described based on FIG.

図24はレジストレーションズレ(レジズレ)に対する印刷画像の変化を、高周波領域と低周波領域に分けて模式的に表した図である。まず、印刷画像の高周波領域について考えると、走査番号kと走査番号k+1の濃度分布が逆位相となる場合は、レジズレなしの時、濃度分布の山谷が補間されており、ドットが紙面を満遍なく埋めるため紙白部分が発生しづらい。そのため、濃度が高くなるが、例えばわずかに(図では20μm)ズレただけで、互いの濃度分布が重なる傾向になり、紙白部分が見えやすく濃度が薄くなる傾向になる。すなわち、印刷画像上、高周波成分で逆位相となると、レジズレに対する濃度耐性が低くなる。しかし、高周波成分で無相関となる場合は,多少レジズレが発生しても、濃度は変わりづらく、粒状性悪化もほとんど起こらない。   FIG. 24 is a diagram schematically showing a change in a print image with respect to registration shift (registration shift) divided into a high frequency region and a low frequency region. First, considering the high-frequency region of the printed image, when the density distributions of scan number k and scan number k + 1 are in opposite phases, the peaks and valleys of the density distribution are interpolated when there is no registration, and the dots fill the paper evenly. Therefore, it is difficult to generate white paper. For this reason, the density becomes high, but for example, even if it is slightly shifted (20 μm in the figure), the density distributions tend to overlap each other, and the white paper portion tends to be visible, and the density tends to be low. That is, when the printed image has an anti-phase with a high-frequency component, the density tolerance against the registration is lowered. However, when there is no correlation between the high-frequency components, the density is hardly changed and the graininess is hardly deteriorated even if there is a slight misregistration.

一方、印刷画像の低周波領域においては、濃度分布が逆位相となることで、視覚上目障りな低周波成分を少なくする効果があり、さらに都合の良いことに、多少レジズレが発生しても分布上の山谷の関係がほとんど変わらないので、濃度耐性は強い。しかし、濃度分布を無相関とする場合は、レジズレが発生しても、しなくても、低周波成分が画像上に現れてしまい、粒状性が悪化してしまう。   On the other hand, in the low-frequency area of the printed image, the density distribution is in reverse phase, which has the effect of reducing low-frequency components that are visually unsightly, and more conveniently, even if there is some registration error Concentration tolerance is strong because the relationship between the upper and lower valleys is almost unchanged. However, when the density distribution is made uncorrelated, the low frequency component appears on the image regardless of whether or not the registration error occurs, and the graininess deteriorates.

以上をまとめると、印刷画像上のレジズレに対して濃度ムラ耐性が強く、かつ粒状性が良好になるためには、走査間で、
・視覚上目障りな低周波成分は逆位相にする。
・高周波成分は逆位相にしない。無相関関係にする。
ことが重要となる。
To summarize the above, in order to increase the density unevenness resistance against the registration error on the printed image and improve the graininess,
・ Low-frequency components that are visually unsightly are in anti-phase.
・ High-frequency components should not be out of phase. Make it uncorrelated.
It becomes important.

上記例では、走査番号kとk+1のみについて言及したが、上記特性は任意の走査間でも成り立つ。   In the above example, only the scan numbers k and k + 1 have been mentioned, but the above characteristics are also valid between arbitrary scans.

ハーフトーンデータシフト部504にて算出されたOut’_c_LPFを式(37)で減算することは、低周波成分を逆位相とする効果があり、さらには、高周波成分を制約情報として考慮しないため高周波成分を無相関とする効果がある。   Subtracting Out'_c_LPF calculated by the halftone data shift unit 504 using the equation (37) has an effect of setting the low frequency component in the opposite phase, and further, does not consider the high frequency component as the constraint information. There is an effect of making the components uncorrelated.

さらに、式(37)のC’_dfに注目してみることとする。式(37)のC’_dfは走査Dutyフィルタ処理部501にてF_mを用いて、走査番号kでのDutyデータに対してフィルタリングしたデータである。式において、C’_dfを加算しているが、その理由は二点ある。   Further, attention is paid to C′_df in the equation (37). C′_df in Expression (37) is data obtained by filtering the Duty data at the scanning number k using F_m in the scanning duty filter processing unit 501. In the equation, C′_df is added, and there are two reasons.

先ず1点目は、括弧内の平均値を0にすることで常に制約情報C_rを平均0に保ち、走査Duty濃度とハーフトーン処理の濃度を同じにさせるためである。   The first point is to always keep the constraint information C_r at 0 by setting the average value in parentheses to 0, so that the scanning duty density and the density of the halftone process are the same.

なぜならば、上述の−Out’_LPFで負の値になったデータのみを制約情報として扱うと、式(22)のIcがC_dよりも小さくなってしまうため、ハーフトーン処理におけるドットの数が少なくなってしまうからである。誤差拡散法は入力濃度と出力濃度を常に同じにするよう動作するため,C_rは常に平均0に保たなければならない。都合の良いことに、C’_dfはOut’_c_LPFと同じ濃度のため、C’_dfを加算することで,C_rは常に平均0を保つことができる。   This is because if only the data having a negative value at −Out′_LPF is treated as constraint information, Ic in Expression (22) becomes smaller than C_d, so that the number of dots in the halftone process is small. Because it becomes. Since the error diffusion method operates so that the input density and the output density are always the same, C_r must always be kept at an average of zero. Fortunately, since C′_df has the same density as Out′_c_LPF, C_r can always maintain an average of 0 by adding C′_df.

また2点目の理由として、出力画像の空間周波数特性制御がある。   The second reason is the control of the spatial frequency characteristics of the output image.

式(37)の括弧内の平均値は0でなければならないのは上述のとおりだが、Out’_c_LPFだけにLPF_bをかけると、括弧内のOut’_c_LPFとC’_dfが空間周波数的に異ってしまうためエッジ強調が発生してしまう。言い換えると、Out_cだけぼかし処理を行い、C_dにぼかし処理を行なわないで、減算をすると、アンシャープマスキングと同等の処理となり、エッジ強調が起こるのである。そこで、C_dにも、Out_cと同じフィルタをかければエッジ強調抑制が可能となる。   As described above, the average value in parentheses in Equation (37) must be 0, but when only Out'_c_LPF is multiplied by LPF_b, Out'_c_LPF and C'_df in parentheses differ in terms of spatial frequency. As a result, edge enhancement occurs. In other words, if the subtraction is performed without performing the blurring process only on Out_c and without performing the blurring process on C_d, the process becomes equivalent to unsharp masking and edge enhancement occurs. Therefore, edge enhancement can be suppressed by applying the same filter to C_d as Out_c.

ただし、普通紙や、マット紙などの非コート紙が記録媒体の場合、画像の輪郭がボケる傾向があるため、必ずしも双方に同じ処理を実施する必要はなく、たとえば、意図的にエッジ強調を起こさせるように、F_mの広がり度合いを狭くしたりしてもよい。   However, when plain paper or uncoated paper such as matte paper is used as the recording medium, the outline of the image tends to be blurred, so it is not always necessary to perform the same processing on both sides. For example, the degree of spread of F_m may be narrowed.

さらに、hにて制約情報の強度を調整できる。たとえば、h=1.0のときは、フィルタにて演算された制約情報をそのまま出力でき、h=0.0のときは、制約情報を演算しないのと等価な出力が得られる。なお、括弧内は平均0になっているため、hにどのような値を入れても、平均値0は保たれる。   Furthermore, the strength of the constraint information can be adjusted with h. For example, when h = 1.0, the constraint information calculated by the filter can be output as it is, and when h = 0.0, an output equivalent to not calculating the constraint information is obtained. Since the average in parentheses is 0, the average value 0 is maintained no matter what value is entered for h.

以上でステップS109における制約情報演算が終了する。   This completes the constraint information calculation in step S109.

次に、制約情報演算部111は、演算結果で制約情報バッファ109を更新する(ステップS110)。この制約情報は、次の走査番号以降(現走査番号がkならば次の走査番号はk+1)のドット配置を決定するための情報として保持される。   Next, the constraint information calculation unit 111 updates the constraint information buffer 109 with the calculation result (step S110). This restriction information is held as information for determining dot arrangements after the next scanning number (if the current scanning number is k, the next scanning number is k + 1).

ここで、制約情報バッファ109の更新の意味について、図5の領域1を参照しながら詳しく述べる。本実施形態では、走査番号k=2におけるハーフトーン処理は、走査番号k=1において形成された領域1のドットパターンの低周波成分を逆位相にする必要がある。そのため、式(30)〜(37)で説明したように、走査番号k=1におけるフィルタ処理結果等を一回の紙送り量LF=Nzzl/Pass=16/4=4だけシフトすることにより、走査番号k=2の制約情報を作成するのは上述のとおりである。   Here, the meaning of updating the constraint information buffer 109 will be described in detail with reference to the area 1 in FIG. In the present embodiment, the halftone process at the scan number k = 2 requires that the low frequency components of the dot pattern of the region 1 formed at the scan number k = 1 be in reverse phase. Therefore, as described in the equations (30) to (37), by shifting the filter processing result or the like at the scan number k = 1 by one paper feed amount LF = Nzzl / Pass = 16/4 = 4, The constraint information for the scan number k = 2 is created as described above.

しかし、式(30)〜(37)は、走査番号k=1、2の関係における「低周波成分を逆位相にする」ことに限られるものではない。例えば、走査番号k=3におけるハーフトーン処理では、走査番号k=1、2において形成された領域1のトータルドットパターンに対して低周波成分を逆位相にするのである。なぜならば、式(30)〜(37)では走査番号が1インクリメントされると、一回の紙送り量LF=Nzzl/Pass=16/4=4ずつシフトされながら常に制約情報バッファが保持されつつ、更新が繰り返されるからである。   However, Expressions (30) to (37) are not limited to “turning the low frequency component in reverse phase” in the relationship of the scan numbers k = 1 and 2. For example, in the halftone process at the scan number k = 3, the low frequency component is reversed in phase with respect to the total dot pattern of the region 1 formed at the scan numbers k = 1 and 2. This is because, when the scanning number is incremented by 1 in Expressions (30) to (37), the constraint information buffer is always held while being shifted by one paper feed amount LF = Nzzl / Pass = 16/4 = 4. This is because the update is repeated.

同様に、走査番号k=4におけるハーフトーン処理では、走査番号k=1、2、3において形成されたトータルのドットパターンに対して低周波成分を逆位相にする効果がある。   Similarly, the halftone process at scan number k = 4 has the effect of making the low frequency component in reverse phase with respect to the total dot pattern formed at scan numbers k = 1, 2, and 3.

すなわち言い換えると、本実施形態では、記録媒体上の同一領域において、既に記録されたトータルドットパターンの低周波成分を常に逆位相にするよう走査ごとのドットパターンが形成されるのである。その結果、レジストレーションズレの発生有無に関わらず良好な粒状性を確保し、さらに、レジストレーションズレによる濃度ムラを低減することが可能となるのである。   In other words, in this embodiment, the dot pattern for each scan is formed so that the low frequency component of the already recorded total dot pattern is always in the opposite phase in the same area on the recording medium. As a result, it is possible to ensure good graininess regardless of the occurrence of registration deviation and to reduce density unevenness due to registration deviation.

次に、ハーフトーン画像データを受けたプリンタ2では、インク色及び吐出量選択部206が転送された画像データに適合するインク色を選択し、ヘッド制御部204が記録ヘッド201による印字動作を開始する。そして、印字動作の開始と共に、変動量検出部207は、変動量検出を開始する(ステップS111)。   Next, in the printer 2 that has received the halftone image data, the ink color and ejection amount selection unit 206 selects an ink color that matches the transferred image data, and the head control unit 204 starts the printing operation by the recording head 201. To do. Then, along with the start of the printing operation, the fluctuation amount detector 207 starts fluctuation amount detection (step S111).

印字動作は、記録ヘッド201が記録媒体に対し、左から、右に移動しながら一定の駆動間隔で各ノズルを駆動し記録媒体上に画像を記録する主走査を一回と、該主走査が終了すると、主走査と垂直方向の走査である副走査が1回行なわれる。変動量検出では、前述したように、記録ヘッドの主走査方向の移動速度変動量が検出される。検出された変動量は、次の走査で記録するハーフトーン画像データを決定するために、制約情報演算部111に送られる。   In the printing operation, the recording head 201 drives each nozzle at a constant driving interval while moving from the left to the right with respect to the recording medium. When the process is completed, the sub-scan, which is a scan in the vertical direction with the main scan, is performed once. In the fluctuation amount detection, as described above, the movement speed fluctuation amount of the recording head in the main scanning direction is detected. The detected fluctuation amount is sent to the constraint information calculation unit 111 in order to determine halftone image data to be recorded in the next scan.

次に、全ての走査が終了したかどうかの判定を行う(ステップS112)。終了した場合は、一連の画像形成処理が完了し、終了していない場合はステップS103に戻る。以上により、処理の全てが終了する。   Next, it is determined whether or not all scanning has been completed (step S112). If completed, a series of image forming processes are completed, and if not completed, the process returns to step S103. Thus, all of the processing is completed.

以上、第1実施形態の処理について説明した。第1実施形態では、同一色について、式(22)に示すように、入力データC_dに、記録媒体上の同一箇所に既に形成されたドットパターンの低周波成分を取り出した制約情報を反映することで、低周波成分を逆位相、高周波成分を無相関にした。   The process of the first embodiment has been described above. In the first embodiment, for the same color, as shown in Expression (22), the input data C_d reflects the constraint information obtained by extracting the low-frequency component of the dot pattern already formed at the same location on the recording medium. Thus, the low frequency component is antiphase and the high frequency component is uncorrelated.

しかしながら、本実施形態が、「低周波成分が逆位相」、「高周波成分が無相関」を実現する唯一の手法ではない。他の手法として、低周波成分を取り出した制約情報を、例えば閾値や、量子化誤差に反映させても良い。また、本実施形態ではハーフトーン処理に誤差拡散法を用いたが、平均誤差最小法を使用してもよい。   However, this embodiment is not the only method for realizing “low frequency components are in anti-phase” and “high frequency components are uncorrelated”. As another method, the constraint information obtained by extracting the low frequency component may be reflected in, for example, a threshold value or a quantization error. In this embodiment, the error diffusion method is used for halftone processing, but the average error minimum method may be used.

なお、上記実施形態では、ハーフトーン処理部108において2値化演算を行ったが、各記録素子がN値の多階調記録を行う場合は、ハーフトーン処理部108において、N値化処理が行われることは明らかである。また、このことは、以下の実施形態にも当てはまる。     In the above embodiment, the binarization calculation is performed in the halftone processing unit 108. However, when each recording element performs N-level multi-gradation recording, the halftone processing unit 108 performs the N-leveling process. It is clear that it will be done. This also applies to the following embodiments.

以上のように、第1実施形態によれば、主走査毎にN値化演算を実施する記録方式において、記録ヘッドの移動スピードの変動量が、記録媒体上の同一領域における以降の主走査でのN値化演算に反映される。そのため、記録装置および記録媒体の変動によるレジストレーションズレを低減し、記録媒体全面で高画質を実現することが可能となる。   As described above, according to the first embodiment, in the recording method in which the N-value calculation is performed for each main scanning, the amount of change in the moving speed of the recording head is the following main scanning in the same area on the recording medium. This is reflected in the N-value calculation. Therefore, it is possible to reduce registration shift due to changes in the recording apparatus and the recording medium, and to realize high image quality over the entire surface of the recording medium.

<第2実施形態>
次に、第2実施形態について説明する。第1実施形態では、記録ヘッドと記録媒体との間の物理的な変動量として、記録ヘッドの速度変動量を用いたが、第2実施形態では、記録媒体の搬送変動量を用いる。すなわち、第2実施形態では、変動量検出部207において検出される変動量を、記録媒体の搬送変動量とする。制約情報演算部111と変動量検出部207以外の動作は第1実施形態と同様である。
Second Embodiment
Next, a second embodiment will be described. In the first embodiment, the speed fluctuation amount of the recording head is used as the physical fluctuation amount between the recording head and the recording medium. In the second embodiment, the conveyance fluctuation amount of the recording medium is used. That is, in the second embodiment, the fluctuation amount detected by the fluctuation amount detection unit 207 is set as the conveyance fluctuation amount of the recording medium. Operations other than the constraint information calculation unit 111 and the fluctuation amount detection unit 207 are the same as those in the first embodiment.

第2実施形態において、変動量検出部207では、記録ヘッド201が記録媒体上に画像を記録する主走査を1回終了した後の、主走査に対して垂直方向の走査である副走査における、記録媒体の搬送量の変動を検出する。   In the second embodiment, the fluctuation amount detection unit 207 performs sub-scanning, which is scanning in the direction perpendicular to main scanning, after the recording head 201 completes one main scanning for recording an image on a recording medium. Changes in the conveyance amount of the recording medium are detected.

検出に用いるセンサとして、例えば、特許文献5(特開2001−180057号公報)に記載の機構のように、搬送ローラの基準位置と搬送ローラの回転角度を測定するセンサ等があげられるが、これに限れられるものではない。本実施形態では、上記センサにより、1回の搬送動作(紙送り)における基準位置からのズレ量d_lfを検出するものとする。   Examples of the sensor used for detection include a sensor that measures the reference position of the transport roller and the rotation angle of the transport roller, such as a mechanism described in Patent Document 5 (Japanese Patent Laid-Open No. 2001-180057). It is not limited to. In the present embodiment, it is assumed that the amount of deviation d_lf from the reference position in one transport operation (paper feed) is detected by the sensor.

次に、第2実施形態による制約情報演算(ステップS109)について説明する。ここでは説明を簡略化するため、4パス印字、走査番号k=1、ノズル数Nzzl=16におけるシアンの制約情報の演算についての詳細を、図18の制約情報演算部111のブロック図と図19のフローチャート図を参照しながら説明する。前述のとおり、制約情報とは、現在の走査番号k=1の次の走査番号k=2、でのハーフトーン画像のドット配置を決める上で、ドットが打たれやすいか否かの情報である(なお、現在の走査番号がkのときは、次の走査番号はk+1である)。   Next, the constraint information calculation (step S109) according to the second embodiment will be described. Here, for the sake of simplicity of explanation, details of the calculation of the constraint information for cyan in four-pass printing, the scan number k = 1, and the number of nozzles Nzzl = 16 will be described with reference to the block diagram of the constraint information calculation unit 111 in FIG. This will be described with reference to the flowchart of FIG. As described above, the constraint information is information indicating whether or not dots are likely to be shot when determining the dot arrangement of the halftone image at the next scan number k = 2 after the current scan number k = 1. (Note that when the current scan number is k, the next scan number is k + 1).

先ず、走査Dutyフィルタ処理部501は走査Dutyバッファ107内のシアン走査Duty、C_dに対して所定のフィルタF_mを作用させて、フィルタ処理を行いC_dfを算出する(ステップS301)。図20にフィルタ処理されたデータの模式図を示す。
C_df = C_d*F_m ・・・(38)
*:コンボリューション
第2実施形態では、F_mのサイズ(M,N)および係数を、変動量検出部207で検出した変動値varにより設定する。
First, the scan duty filter processing unit 501 applies a predetermined filter F_m to the cyan scan Duty and C_d in the scan duty buffer 107, performs filter processing, and calculates C_df (step S301). FIG. 20 shows a schematic diagram of the filtered data.
C_df = C_d * F_m (38)
*: Convolution In the second embodiment, the size (M, N) and coefficient of F_m are set by the fluctuation value var detected by the fluctuation amount detection unit 207.

例えば、フィルタサイズは、変動量検出部207で検出した記録媒体の搬送変動量d_lfによってきまる。図26のように予め、変動値var(=d_lf)とフィルタサイズ(M,N)の関係を設定しておいてもよい。このとき、フィルタサイズが大きいほど、変動に対するロバスト性は高くなるため、図26のように、変動値varが大きいほどフィルタサイズを大きくするとよい。また、LUTとして設定してもよい。さらに、副走査方向の解像度毎、あるいは、マルチパス印字のパス毎にLUTを設定してもよい。図30に例として、M=N=3の正方形で係数がほぼ同心円状に並ぶ等方的荷重平均フィルタF_mを示す。   For example, the filter size is determined by the conveyance variation amount d_lf of the recording medium detected by the variation amount detection unit 207. As shown in FIG. 26, the relationship between the fluctuation value var (= d_lf) and the filter size (M, N) may be set in advance. At this time, the larger the filter size, the higher the robustness against fluctuations. Therefore, as shown in FIG. 26, the larger the fluctuation value var, the larger the filter size. Alternatively, it may be set as an LUT. Furthermore, an LUT may be set for each resolution in the sub-scanning direction or for each pass of multi-pass printing. As an example, FIG. 30 shows an isotropic load-average filter F_m in which M = N = 3 squares and coefficients are arranged in a substantially concentric manner.

また、記録媒体の搬送変動量は副走査方向のレジストレーションズレの要因となるため、副走査方向に広がりをもつ、つまりM>N(例えばM=5,N=7)となるフィルタを設定すると効果的である。この場合のフィルタF_mの例を図31に示す。なお、図31のフィルタは係数がほぼ同心円状に並ぶ等方的荷重平均フィルタである。   In addition, since the conveyance fluctuation amount of the recording medium causes a registration shift in the sub-scanning direction, a filter having a spread in the sub-scanning direction, that is, M> N (for example, M = 5, N = 7) is set. It is effective. An example of the filter F_m in this case is shown in FIG. Note that the filter of FIG. 31 is an isotropic load-average filter in which the coefficients are arranged substantially concentrically.

また、フィルタ係数は楕円の非等方フィルタであっても良いし、ローパス特性に限らず、バンドパス特性や、ハイパス特性のフィルタであっても良い。フィルタ係数によりフィルタ特性に方向性を与える場合には、楕円の長軸がy方向となるように設定すると、前に述べた理由により、副走査方向のレジストレーションズレに対してロバストなフィルタを制約情報となるため、望ましい。このとき、フィルタサイズを大きくとる方が、非等方性がより表現しやすい。図32に楕円の長軸がy方向となるような、N=M=9の非等方性フィルタを示す。   Further, the filter coefficient may be an elliptical anisotropic filter, and is not limited to a low-pass characteristic, and may be a band-pass characteristic or a high-pass characteristic filter. In order to give directionality to the filter characteristics by the filter coefficient, if the ellipse's major axis is set to be in the y direction, a filter that is robust against registration deviation in the sub-scanning direction is constrained for the reason described above. It is desirable because it becomes information. At this time, anisotropy is more easily expressed when the filter size is increased. FIG. 32 shows an anisotropic filter with N = M = 9 in which the major axis of the ellipse is in the y direction.

次に、ハーフトーンデータフィルタ処理部502はOut_cに対して所定のローパスフィルタLPF_bにてフィルタ処理を行う。(ステップS302)図21にフィルタ処理されたデータの模式図を示す。
Out_c_LPF = Out_c*LPF_b ・・・(39)
第2実施形態におけるLPF_bの係数も、前述のF_mと同様に、変動量検出部207で検出した変動値varにより設定する。ただし、LPF_bはローパス特性をもつことが好ましい。また本実施形態では、F_mとLPF_bが同じとしているが、異なる係数であっても良い。
Next, the halftone data filter processing unit 502 performs filtering on Out_c with a predetermined low-pass filter LPF_b. (Step S302) FIG. 21 shows a schematic diagram of the filtered data.
Out_c_LPF = Out_c * LPF_b (39)
The coefficient of LPF_b in the second embodiment is also set by the fluctuation value var detected by the fluctuation amount detection unit 207, similarly to the aforementioned F_m. However, LPF_b preferably has a low-pass characteristic. In this embodiment, F_m and LPF_b are the same, but different coefficients may be used.

次に、走査Dutyデータシフト部503は、走査Dutyフィルタ処理部501のデータC_dfを、一回の紙送り量LF=Nzzl/Pass=16/4=4だけ上にシフトする(ステップS303)。図22にシフトされたデータの模式図を示す。シフトした走査DutyデータをC’_dfとすると以下のように算出される。なお、シフトされた後の下端4ノズル分は0を代入する。
C’_df(nx,ny) = C_df(nx,ny+LF) ・・・(40)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
同様に、ハーフトーンデータシフト部504も、データOut_c_LPFを紙送り分上にシフトする(ステップS304)。図23にシフトされたデータの模式図を示す。シフトしたデータをOut’_c_LPFとすると以下のように算出される。
Out’_c_LPF(nx,ny)=Out_c_LPF(nx,ny+LF) ・・・(41)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
さらに、更新前制約情報データシフト部505も、更新前制約情報データC_rを紙送り分上にシフトする(ステップS305)。シフトした走査DutyデータをC’_rとすると以下のように算出される。
C’_r(nx,ny)=C_r(nx,ny+LF) ・・・(42)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
上述のように、次の走査番号の制約情報演算には、相対的に紙送り量LF上方にシフトさせる。さらに、下端LFノズル分は0を代入する。
Next, the scan duty data shift unit 503 shifts the data C_df of the scan duty filter processing unit 501 upward by one paper feed amount LF = Nzzl / Pass = 16/4 = 4 (step S303). FIG. 22 shows a schematic diagram of the shifted data. If the shifted scanning duty data is C′_df, the calculation is as follows. Note that 0 is substituted for the lower four nozzles after the shift.
C′_df (nx, ny) = C_df (nx, ny + LF) (40)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
Similarly, the halftone data shift unit 504 also shifts the data Out_c_LPF to the paper feed amount (step S304). FIG. 23 shows a schematic diagram of the shifted data. If the shifted data is Out'_c_LPF, the calculation is as follows.
Out'_c_LPF (nx, ny) = Out_c_LPF (nx, ny + LF) (41)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
Further, the pre-update constraint information data shift unit 505 also shifts the pre-update constraint information data C_r onto the paper feed amount (step S305). If the shifted scanning duty data is C′_r, the calculation is as follows.
C′_r (nx, ny) = C_r (nx, ny + LF) (42)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
As described above, in the constraint information calculation of the next scanning number, the paper feed amount LF is relatively shifted upward. Further, 0 is substituted for the lower end LF nozzle.

このようにバッファデータを紙送り量LFだけシフトさせる理由は、次の走査番号にて形成されるハーフトーンドット配置が記録媒体上で相対的に紙送り量LFずれて形成されるからである。   The reason why the buffer data is shifted by the paper feed amount LF in this manner is that the halftone dot arrangement formed by the next scanning number is formed on the recording medium with a relative shift of the paper feed amount LF.

更に、減算部506は、走査Dutyデータシフト部503で算出されたデータから、ハーフトーンデータシフト部504で算出されたデータを減算する(ステップS306)。そして、重み積算部507は、減算部506の減算結果に重み係数h(実数)を積算する(ステップS307)。   Further, the subtraction unit 506 subtracts the data calculated by the halftone data shift unit 504 from the data calculated by the scanning duty data shift unit 503 (step S306). Then, the weight accumulation unit 507 accumulates the weight coefficient h (real number) on the subtraction result of the subtraction unit 506 (step S307).

次に加算部508にて、重み積算部507にて演算されたデータと更新前制約情報データシフト部505にてシフトされたシアン制約情報を加算して更新後制約情報C_rとする(ステップS308)。こうして得られた更新後制約情報C_rは、次の走査番号k=2以降(または現走査番号kなら、次の走査番号はk+1)のハーフトーン処理の制約情報として保存しておく。
C_r ← (−Out’_c_LPF + C’_df)×h+C’_r ・・・(43)
以上でステップS109における制約情報演算が終了する。
Next, the adder 508 adds the data calculated by the weight integrator 507 and the cyan constraint information shifted by the pre-update constraint information data shift unit 505 to obtain updated constraint information C_r (step S308). . The post-update constraint information C_r obtained in this way is stored as constraint information for halftone processing after the next scan number k = 2 (or, if the current scan number is k, the next scan number is k + 1).
C_r ← (−Out′_c_LPF + C′_df) × h + C′_r (43)
This completes the constraint information calculation in step S109.

以上のように、第2実施形態によれば、センサで検出した記録媒体搬送量の変動が、記録媒体上の同一領域における以降の主走査でのN値化演算に反映される。これにより、記録装置および記録媒体の間の変動、特に記録媒体搬送変動によるレジストレーションズレが低減され、記録媒体全面で高画質を実現することができる
<第3実施形態>
以下、本発明に掛かる第3実施形態について説明する。第1実施形態では、記録ヘッドの移動速度の変動を、第2実施形態では記録媒体の搬送量の変動をそれぞれN値化演算に反映した。第3実施形態では、変動量検出部207において検出する変動量を、記録ヘッドの移動速度の変動量と、記録媒体の搬送変動量の両方とする。制約情報演算部111と変動量検出部207以外の動作は第1実施形態と同様である。
As described above, according to the second embodiment, the change in the conveyance amount of the recording medium detected by the sensor is reflected in the N-value calculation in the subsequent main scanning in the same area on the recording medium. As a result, fluctuations between the recording apparatus and the recording medium, in particular, registration shift due to fluctuations in the recording medium conveyance can be reduced, and high image quality can be realized on the entire surface of the recording medium.
Hereinafter, a third embodiment according to the present invention will be described. In the first embodiment, the change in the moving speed of the recording head is reflected in the N-value calculation in the second embodiment, and the change in the transport amount of the recording medium is reflected in the N-value calculation. In the third embodiment, the fluctuation amount detected by the fluctuation amount detection unit 207 is both the fluctuation amount of the moving speed of the recording head and the conveyance fluctuation amount of the recording medium. Operations other than the constraint information calculation unit 111 and the fluctuation amount detection unit 207 are the same as those in the first embodiment.

第3実施形態において、変動量検出部207は、記録ヘッド201の主走査方向の速度変動による位置変動量と、記録ヘッド201が記録媒体上に画像を記録する主走査を1回終了した後の記録媒体の副走査方向への搬送の変動量を検出する。   In the third embodiment, the fluctuation amount detection unit 207 detects the positional fluctuation amount due to the speed fluctuation of the recording head 201 in the main scanning direction and the main scanning after the recording head 201 records an image on the recording medium once. The amount of change in conveyance of the recording medium in the sub-scanning direction is detected.

第3実施形態での変動量var(cr,lf)は、記録ヘッド201の移動速度の変動量と記録媒体の搬送変動量の対である。前述したように、記録ヘッド201の速度変動量としては、キャリッジによる位置変動の偏差σ_cr、或いはその最大値d_cr_MAX、所定期間毎に検出したズレ量d_cr(i)が挙げられる。また、記録媒体の搬送変動量としては副走査方向の搬送変動量d_lf(j)が挙げられる。但し、変動量はこれらに限られるものではない。   The fluctuation amount var (cr, lf) in the third embodiment is a pair of the fluctuation amount of the moving speed of the recording head 201 and the conveyance fluctuation amount of the recording medium. As described above, examples of the speed fluctuation amount of the recording head 201 include the deviation σ_cr of the positional fluctuation caused by the carriage, or its maximum value d_cr_MAX, and the deviation amount d_cr (i) detected every predetermined period. Further, the conveyance fluctuation amount d_lf (j) in the sub-scanning direction is exemplified as the conveyance fluctuation amount of the recording medium. However, the amount of variation is not limited to these.

第3実施形態での制約情報演算について説明する(ステップS109)。ここでは説明を簡略化するため、4パス印字、走査番号k=1、ノズル数Nzzl=16におけるシアンの制約情報の演算についての詳細を、図18の制約情報演算部111のブロック図と図19のフローチャート図を参照しながら説明する。前述のとおり、制約情報とは、現在の走査番号k=1の次の走査番号k=2、でのハーフトーン画像のドット配置を決める上で、ドットが打たれやすいか否かの情報である(なお、現在の走査番号がkのときは、次の走査番号はk+1である)。   The constraint information calculation in the third embodiment will be described (step S109). Here, for the sake of simplicity of explanation, details of the calculation of the constraint information for cyan in four-pass printing, the scan number k = 1, and the number of nozzles Nzzl = 16 will be described with reference to the block diagram of the constraint information calculation unit 111 in FIG. This will be described with reference to the flowchart of FIG. As described above, the constraint information is information indicating whether or not dots are likely to be shot when determining the dot arrangement of the halftone image at the next scan number k = 2 after the current scan number k = 1. (Note that when the current scan number is k, the next scan number is k + 1).

先ず、走査Dutyフィルタ処理部501は走査Dutyバッファ107内のシアン走査Duty、C_dに対して所定のフィルタF_mを作用させてフィルタ処理を行いC_dfを算出する(ステップS301)。図20にフィルタ処理されたデータの模式図を示す。
C_df = C_d*F_m ・・・(44)
*:コンボリューション
本実施形態ではF_mのサイズ(M,N)および係数を、変動量検出部207で検出した変動値var(cr,lf)により設定する。
First, the scan duty filter processing unit 501 performs a filter process by applying a predetermined filter F_m to the cyan scan Duty and C_d in the scan duty buffer 107 and calculates C_df (step S301). FIG. 20 shows a schematic diagram of the filtered data.
C_df = C_d * F_m (44)
*: Convolution In this embodiment, the size (M, N) and coefficient of F_m are set by the fluctuation value var (cr, lf) detected by the fluctuation amount detection unit 207.

例えば、フィルタサイズは、キャリッジ速度変動による位置変動の偏差σ_crを変動量、副走査方向の記録媒体の搬送での変動量d_lf(j)によって設定する。より具体的には、σ_cr、d_lf(j)の大小関係を式(45)(46)を満たすように設定する。
σ_cr > d_lf(j)のとき: N>M (45)
σ_cr ≦ d_lf(j)のとき: N≦M (46)
上記のようにフィルタサイズを決定するのは、記録媒体の搬送量変動は副走査方向のレジストレーションズレの要因となり、キャリッジ速度変動による位置変動は主走査方向のレジストレーションズレの要因となるからである。変動量の大きい方向のフィルタサイズを大きくし、メカ変動に対するロバスト性を高くすることで画質劣化を低減することが出きる。なお、変動量var(cr,lf)=(σ_cr, d_lf(j))とフィルタサイズ(M,N)の関係を設定しておいてもよい。また、両変数の関係を多次元のLUTとして設定しておく方法も挙げられる。さらには、主走査方向の解像度、副走査方向の解像度、マルチパス印字でのパス数に毎にLUTを設定してもより。例として、図33に、M=5、N=3の正方形で係数がほぼ同心円状に並ぶ等方的荷重平均フィルタF_mを示す。
For example, the filter size is set by the deviation σ_cr of the position fluctuation due to the carriage speed fluctuation and the fluctuation amount d_lf (j) in the conveyance of the recording medium in the sub-scanning direction. More specifically, the magnitude relationship between σ_cr and d_lf (j) is set so as to satisfy the expressions (45) and (46).
When σ_cr> d_lf (j): N> M (45)
When σ_cr ≦ d_lf (j): N ≦ M (46)
The reason for determining the filter size as described above is that fluctuations in the transport amount of the recording medium cause registration shift in the sub-scanning direction, and positional fluctuations due to carriage speed fluctuations cause registration deviation in the main scanning direction. is there. It is possible to reduce image quality degradation by increasing the filter size in the direction of large variation and increasing the robustness against mechanical variation. Note that the relationship between the fluctuation amount var (cr, lf) = (σ_cr, d_lf (j)) and the filter size (M, N) may be set. Another example is a method in which the relationship between both variables is set as a multidimensional LUT. Furthermore, the LUT may be set for each of the resolution in the main scanning direction, the resolution in the sub-scanning direction, and the number of passes in multi-pass printing. As an example, FIG. 33 shows an isotropic load average filter F_m in which M = 5 and N = 3 squares and coefficients are arranged in a substantially concentric manner.

さらに、第4実施形態では、フィルタF_mとして式(47)のような2次元のガウシアンフィルタを用いて、変動量var(cr,lf)によるフィルタ係数の設定を行う。   Furthermore, in the fourth embodiment, a filter coefficient is set based on the variation amount var (cr, lf) using a two-dimensional Gaussian filter such as Expression (47) as the filter F_m.

…(47) ... (47)

ただし、F_m=F'_m/Sum_m (48)
Sum_mはF'_mの係数の合計値である。
また、式(46)において、(σxy)は、2次元正規分布の標準偏差、ρはx,yの相関係数である。
However, F_m = F'_m / Sum_m (48)
Sum_m is the total value of the coefficients of F′_m.
In Equation (46), (σ x , σ y ) is a standard deviation of a two-dimensional normal distribution, and ρ is a correlation coefficient of x, y.

第3実施形態では、標準偏差(σxy)を変動量var(cr,lf)=(σ_cr,d_lf(j))との関係が式(49)(50)を満たすように設定するとよい。
σ_cr > d_lf(j)のとき: σx>σy (49)
σ_cr ≦ d_lf(j)のとき: σx≦σy (50)
例えば、σx=1.0、σy=2.5、ρ=0、M=N=7とした場合のフィルタF_mを図34に示す。図34が示すようにσx≦σyを満たす場合には、フィルタ係数が非等方的な特性をもつ。このフィルタを用いることで副走査方向のレジストレーションズレに対してロバスト性を高くすることが可能である。また、標準偏差(σxy)と、変動量var(cr,lf)=(σ_cr,d_lf(j))との関係を予めLUT等により設定しておくとよい。
In the third embodiment, when the standard deviation (σ x , σ y ) is set so that the relationship between the variation var (cr, lf) = (σ_cr, d_lf (j)) satisfies the expressions (49) and (50). Good.
When σ_cr> d_lf (j): σ x > σ y (49)
When σ_cr ≦ d_lf (j): σ x ≦ σ y (50)
For example, FIG. 34 shows the filter F_m when σ x = 1.0, σ y = 2.5, ρ = 0, and M = N = 7. As shown in FIG. 34, when σ x ≦ σ y is satisfied, the filter coefficient has anisotropic characteristics. By using this filter, it is possible to increase the robustness against registration shift in the sub-scanning direction. In addition, the relationship between the standard deviation (σ x , σ y ) and the fluctuation amount var (cr, lf) = (σ_cr, d_lf (j)) may be set in advance using an LUT or the like.

次に、ハーフトーンデータフィルタ処理部502はOut_cに対して所定のローパスフィルタLPF_bにてフィルタ処理を行う(ステップS302)。図21にフィルタ処理されたデータの模式図を示す。
Out_c_LPF = Out_c*LPF_b ・・・(51)
第3実施形態におけるLPF_bの係数も、前述のF_mと同様に、変動量検出部207で検出した変動値var(cr,lf)により設定する。ただし、LPF_bはローパス特性をもつことが好ましい。また本実施形態では、F_mとLPF_bが同じとしているが、異なる係数であっても良い。
Next, the halftone data filter processing unit 502 performs filtering on Out_c using a predetermined low-pass filter LPF_b (step S302). FIG. 21 shows a schematic diagram of the filtered data.
Out_c_LPF = Out_c * LPF_b (51)
The coefficient of LPF_b in the third embodiment is also set by the fluctuation value var (cr, lf) detected by the fluctuation amount detection unit 207 as in the case of F_m described above. However, LPF_b preferably has a low-pass characteristic. In this embodiment, F_m and LPF_b are the same, but different coefficients may be used.

次に、走査Dutyデータシフト部503は、走査Dutyフィルタ処理部501のデータC_dfを、一回の紙送り量LF=Nzzl/Pass=16/4=4だけ上にシフトする(ステップS303)。図22にシフトされたデータの模式図を示す。シフトした走査DutyデータをC’_dfとすると以下のように算出される。なお、シフトされた後の下端4ノズル分は0を代入する。
C’_df(nx,ny) = C_df(nx,ny+LF) ・・・(52)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
同様に、ハーフトーンデータシフト部504も、データOut_c_LPFを紙送り分上にシフトする(ステップS304)。図23にシフトされたデータの模式図を示す。シフトしたデータをOut’_c_LPFとすると以下のように算出される。
Out’_c_LPF(nx,ny)=Out_c_LPF(nx,ny+LF) ・・・(53)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
さらに、更新前制約情報データシフト部505も、更新前制約情報データC_rを紙送り分上にシフトする(ステップS305)。シフトした走査DutyデータをC’_rとすると以下のように算出される。
C’_r(nx,ny)=C_r(nx,ny+LF) ・・・(54)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
上述のように、次の走査番号の制約情報演算には、相対的に紙送り量LF上方にシフトさせる。さらに、下端LFノズル分は0を代入する。
Next, the scan duty data shift unit 503 shifts the data C_df of the scan duty filter processing unit 501 upward by one paper feed amount LF = Nzzl / Pass = 16/4 = 4 (step S303). FIG. 22 shows a schematic diagram of the shifted data. If the shifted scanning duty data is C′_df, the calculation is as follows. Note that 0 is substituted for the lower four nozzles after the shift.
C′_df (nx, ny) = C_df (nx, ny + LF) (52)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
Similarly, the halftone data shift unit 504 also shifts the data Out_c_LPF to the paper feed amount (step S304). FIG. 23 shows a schematic diagram of the shifted data. If the shifted data is Out'_c_LPF, the calculation is as follows.
Out'_c_LPF (nx, ny) = Out_c_LPF (nx, ny + LF) (53)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
Further, the pre-update constraint information data shift unit 505 also shifts the pre-update constraint information data C_r onto the paper feed amount (step S305). If the shifted scanning duty data is C′_r, the calculation is as follows.
C′_r (nx, ny) = C_r (nx, ny + LF) (54)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
As described above, in the constraint information calculation of the next scanning number, the paper feed amount LF is relatively shifted upward. Further, 0 is substituted for the lower end LF nozzle.

このようにバッファデータを紙送り量LFだけシフトさせる理由は、次の走査番号にて形成されるハーフトーンドット配置が記録媒体上で相対的に紙送り量LFずれて形成されるからである。   The reason why the buffer data is shifted by the paper feed amount LF in this manner is that the halftone dot arrangement formed by the next scanning number is formed on the recording medium with a relative shift of the paper feed amount LF.

更に、減算部506は、走査Dutyデータシフト部503で算出されたデータから、ハーフトーンデータシフト部504で算出されたデータを減算する(ステップS306)。そして、重み積算部507は、減算部506空の減算結果に重み係数h(実数)を積算する(ステップS307)。   Further, the subtraction unit 506 subtracts the data calculated by the halftone data shift unit 504 from the data calculated by the scanning duty data shift unit 503 (step S306). Then, the weight accumulating unit 507 accumulates the weight coefficient h (real number) on the empty subtraction result of the subtracting unit 506 (step S307).

次に加算部508は、重み積算部507にて演算されたデータと、更新前制約情報データシフト部505にてシフトされたシアン制約情報を加算し(ステップS308)、更新後制約情報C_rを出力する。こうして得られた更新後制約情報C_rは、次の走査番号k=2以降(または現走査番号kなら、次の走査番号はk+1)のハーフトーン処理の制約情報として保存される。   Next, the adding unit 508 adds the data calculated by the weight integrating unit 507 and the cyan constraint information shifted by the pre-update constraint information data shift unit 505 (step S308), and outputs post-update constraint information C_r. To do. The post-update constraint information C_r obtained in this way is stored as constraint information for halftone processing after the next scan number k = 2 (or, if the current scan number is k, the next scan number is k + 1).

次に、演算結果で制約情報バッファ109を更新する(ステップS110)。この制約情報は、次の走査番号以降(現走査番号がkならば次の走査番号はk+1)のドット配置を決定するための情報として保持される。   Next, the constraint information buffer 109 is updated with the calculation result (step S110). This restriction information is held as information for determining dot arrangements after the next scanning number (if the current scanning number is k, the next scanning number is k + 1).

以上のように、第3実施形態によれば、センサで検出したキャリッジの速度変動による位置変動量および記録媒体搬送量の変動を、記録媒体上の同一領域における以降の主走査でのN値化演算に反映することが可能となる。このため、記録装置の変動、また特徴の異なるレジストレーションズレを発生させる複数の変動が起こる場合にも、記録媒体全面で高画質を実現することができる
<第4実施形態>
以下、本発明に掛かる第4実施形態について説明する。第4実施形態では、変動量検出部207において検出する変動量を、走査毎に記録媒体の表面が変位するコックリングによる、記録ヘッドと記録媒体の距離の変動量とする。制約情報演算部111と変動量検出部207以外の動作は第1実施形態と同様である。
As described above, according to the third embodiment, the fluctuations in the position fluctuation amount and the recording medium conveyance amount due to the carriage speed fluctuation detected by the sensor are converted into N values in the subsequent main scanning in the same area on the recording medium. It can be reflected in the calculation. For this reason, it is possible to achieve high image quality over the entire surface of the recording medium even when there are variations in the recording apparatus and a plurality of variations that cause registration shifts having different characteristics. <Fourth Embodiment>
The fourth embodiment according to the present invention will be described below. In the fourth embodiment, the fluctuation amount detected by the fluctuation amount detection unit 207 is the fluctuation amount of the distance between the recording head and the recording medium due to cockling in which the surface of the recording medium is displaced for each scan. Operations other than the constraint information calculation unit 111 and the fluctuation amount detection unit 207 are the same as those in the first embodiment.

記録ヘッドと記録媒体の距離の検出方法としては、例えば特許文献3に提示されているように、センサが記録媒体にレーザ光を照射しその反射光を検出して、紙間を測る方法などが挙げられるが、もちろんこれに限らない。   As a method for detecting the distance between the recording head and the recording medium, for example, as disclosed in Patent Document 3, a sensor irradiates the recording medium with laser light and detects the reflected light to measure the distance between the sheets. Of course, but not limited to this.

第4実施形態において、変動量検出部207において検出する変動量は、記録ヘッドと記録媒体の距離である。例えば図35のように、走査方向における所定の位置xk(k=0,1,..K)毎に、記録ヘッド3501と記録媒体3502の距離d_p(xk)をセンサ3503により検出する。なお、コックリングなどが発生してない場合の、記録ヘッド3501と記録媒体3502表面の距離d_p0は印字走査を開始する前に予め測定しておくものとする。 In the fourth embodiment, the variation amount detected by the variation amount detection unit 207 is the distance between the recording head and the recording medium. For example, as shown in FIG. 35, the sensor 3503 detects the distance d_p (x k ) between the recording head 3501 and the recording medium 3502 at every predetermined position x k (k = 0, 1,... K) in the scanning direction. Note that the distance d_p0 between the surfaces of the recording head 3501 and the recording medium 3502 when cockling or the like does not occur is measured in advance before starting the printing scan.

なお、記録ヘッドと記録媒体との間の距離を検出する間隔|xk-xk-1|は、紙を吸引するプラテンの設置幅よりも細かい間隔で検出できるように設定した方が好ましい。 Note that the interval | x k -x k-1 | for detecting the distance between the recording head and the recording medium is preferably set so that it can be detected at an interval finer than the installation width of the platen that sucks the paper.

また、図35ではセンサの位置をキャリッジ走査方向を図の左から右とした時に、ヘッドの進行方向側としたが、これに限らない。   Further, in FIG. 35, the position of the sensor is set to the head traveling direction side when the carriage scanning direction is changed from the left to the right in the figure, but the present invention is not limited to this.

往復印字をする場合には、図40に示されるように、図35に示したセンサ3503と逆側にもセンサを取り付けて、記録ヘッドと記録媒体との距離が検出される。また、図40に示すように、キャリッジ走査方向を図の左から右とした場合に、センサ4001、右から左に走査するときに、センサ4002を使用するように設定してもよい。   When performing reciprocal printing, as shown in FIG. 40, a sensor is also attached to the opposite side of the sensor 3503 shown in FIG. 35, and the distance between the recording head and the recording medium is detected. Also, as shown in FIG. 40, when the carriage scanning direction is from left to right in the figure, the sensor 4001 may be set to use the sensor 4002 when scanning from right to left.

第4実施形態での、ステップS109における制約情報演算部111の処理について説明する。ここでは説明を簡略化するため、4パス印字、走査番号k=1、ノズル数Nzzl=16におけるシアンの制約情報の演算についての詳細を、図18の制約情報演算部111のブロック図と図19のフローチャート図を参照しながら説明する。前述のとおり、制約情報とは、現在の走査番号k=1の次の走査番号k=2、でのハーフトーン画像のドット配置を決める上で、ドットが打たれやすいか否かの情報である(なお、現在の走査番号がkのときは、次の走査番号はk+1である)。   The process of the constraint information calculation unit 111 in step S109 in the fourth embodiment will be described. Here, for the sake of simplicity of explanation, details of the calculation of the constraint information for cyan in four-pass printing, the scan number k = 1, and the number of nozzles Nzzl = 16 will be described with reference to the block diagram of the constraint information calculation unit 111 in FIG. This will be described with reference to the flowchart of FIG. As described above, the constraint information is information indicating whether or not dots are likely to be shot when determining the dot arrangement of the halftone image at the next scan number k = 2 after the current scan number k = 1. (Note that when the current scan number is k, the next scan number is k + 1).

先ず、走査Dutyフィルタ処理部501は走査Dutyバッファ107内のシアン走査Duty、C_dに対して所定のフィルタF_mを作用させてフィルタ処理を行いC_dfを算出する(ステップS301)。図20にフィルタ処理されたデータの模式図を示す.
C_df = C_d*F_m ・・・(55)
*:コンボリューション
第4実施形態におけるフィルタF_mは、図30に示すようにフィルタサイズが3×3正方形で、係数がほぼ同心円に並ぶ等方的加重平均フィルタとして説明するが、この形態に限るものではない。例えば、フィルタサイズは5×5,7×7,9×9のような正方形でも、3×5,5×7,5×9のような長方形でも良いし、フィルタ係数が楕円である非等方フィルタであっても良い。また、ローパス特性に限らず、バンドパス特性や、ハイパス特性のフィルタであっても良い。
First, the scan duty filter processing unit 501 performs a filter process by applying a predetermined filter F_m to the cyan scan Duty and C_d in the scan duty buffer 107 and calculates C_df (step S301). FIG. 20 shows a schematic diagram of the filtered data.
C_df = C_d * F_m (55)
*: Convolution The filter F_m in the fourth embodiment will be described as an isotropic weighted average filter having a filter size of 3 × 3 squares and coefficients almost concentrically arranged as shown in FIG. 30, but is not limited to this form. is not. For example, the filter size may be a square such as 5 × 5, 7 × 7, or 9 × 9, or a rectangle such as 3 × 5, 5 × 7, or 5 × 9, or an anisotropic filter coefficient may be an ellipse. It may be a filter. Further, the filter is not limited to the low-pass characteristic, and may be a band-pass characteristic or a high-pass characteristic filter.

次に、ハーフトーンデータフィルタ処理部502はOut_cに対して所定のローパスフィルタLPF_bにてフィルタ処理を行う(ステップS302)。図21にフィルタ処理されたデータの模式図を示す.
Out_c_LPF = Out_c*LPF_b ・・・(56)
第4実施形態におけるLPF_bの係数も、前述のF_mと同様に、図30に示すようにフィルタサイズが3×3正方形で、係数がほぼ同心円に並ぶ等方的加重平均フィルタとして説明するが、この形態に限るものではない。ただし、LPF_bはローパス特性をもつことが好ましい。また本実施形態では、F_mとLPF_bが同じとしているが、異なる係数であっても良い。
Next, the halftone data filter processing unit 502 performs filtering on Out_c using a predetermined low-pass filter LPF_b (step S302). FIG. 21 shows a schematic diagram of the filtered data.
Out_c_LPF = Out_c * LPF_b (56)
The coefficient of the LPF_b in the fourth embodiment is also described as an isotropic weighted average filter having a filter size of 3 × 3 squares and coefficients arranged substantially concentrically as shown in FIG. It is not limited to form. However, LPF_b preferably has a low-pass characteristic. In this embodiment, F_m and LPF_b are the same, but different coefficients may be used.

次に、走査Dutyデータシフト部503は、走査Dutyフィルタ処理部501のデータC_dfを、一回の紙送り量LF=Nzzl/Pass=16/4=4だけ上にシフトする(ステップS303)。図22にシフトされたデータの模式図を示す。シフトした走査DutyデータをC’_dfとすると以下のように算出される。なお、シフトされた後の下端4ノズル分は0を代入する。
C’_df(nx,ny) = C_df(nx,ny+LF) ・・・(57)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
同様に、ハーフトーンデータシフト部504も、データOut_c_LPFを紙送り分上にシフトする(ステップS304)。図23にシフトされたデータの模式図を示す。シフトしたデータをOut’_c_LPFとすると以下のように算出される。
Out’_c_LPF(nx,ny)=Out_c_LPF(nx,ny+LF) ・・・(58)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
さらに、更新前制約情報データシフト部505も、更新前制約情報データC_rを紙送り分上にシフトする(ステップS305)。シフトした走査DutyデータをC’_rとすると以下のように算出される。
C’_r(nx,ny)=C_r(nx,ny+LF) ・・・(59)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
上述のように、次の走査番号の制約情報演算には、相対的に紙送り量LF上方にシフトさせる。さらに、下端LFノズル分は0を代入する。
Next, the scan duty data shift unit 503 shifts the data C_df of the scan duty filter processing unit 501 upward by one paper feed amount LF = Nzzl / Pass = 16/4 = 4 (step S303). FIG. 22 shows a schematic diagram of the shifted data. If the shifted scanning duty data is C′_df, the calculation is as follows. Note that 0 is substituted for the lower four nozzles after the shift.
C′_df (nx, ny) = C_df (nx, ny + LF) (57)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
Similarly, the halftone data shift unit 504 also shifts the data Out_c_LPF to the paper feed amount (step S304). FIG. 23 shows a schematic diagram of the shifted data. If the shifted data is Out'_c_LPF, the calculation is as follows.
Out'_c_LPF (nx, ny) = Out_c_LPF (nx, ny + LF) (58)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
Further, the pre-update constraint information data shift unit 505 also shifts the pre-update constraint information data C_r onto the paper feed amount (step S305). If the shifted scanning duty data is C′_r, the calculation is as follows.
C′_r (nx, ny) = C_r (nx, ny + LF) (59)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
As described above, in the constraint information calculation of the next scanning number, the paper feed amount LF is relatively shifted upward. Further, 0 is substituted for the lower end LF nozzle.

このようにバッファデータを紙送り量LFだけシフトさせる理由は、次の走査番号にて形成されるハーフトーンドット配置が記録媒体上で相対的に紙送り量LFずれて形成されるからである。   The reason why the buffer data is shifted by the paper feed amount LF in this manner is that the halftone dot arrangement formed by the next scanning number is formed on the recording medium with a relative shift of the paper feed amount LF.

更に、減算部506は、走査Dutyデータシフト部503で算出されたデータから、ハーフトーンデータシフト部504で算出されたデータを減算する(ステップS306)。そして、重み積算部507は、減算部506による減算結果に重み係数h(実数)を積算する(ステップS307)。   Further, the subtraction unit 506 subtracts the data calculated by the halftone data shift unit 504 from the data calculated by the scanning duty data shift unit 503 (step S306). Then, the weight accumulation unit 507 accumulates the weight coefficient h (real number) on the subtraction result obtained by the subtraction unit 506 (step S307).

次に、加算部508は、重み積算部507にて演算されたデータと更新前制約情報データシフト部505にてシフトされたシアン制約情報を加算し(ステップS308)、更新後制約情報C_rを得る。こうして得られた更新後制約情報C_rは、次の走査番号k=2以降(または現走査番号kなら、次の走査番号はk+1)のハーフトーン処理の制約情報として保存しておく。
C_r ← (−Out’_c_LPF + C’_df)×h+C’_r ・・・(60)
式(59)おけるhは制約情報の強度を調整する変数である。たとえば、h=1.0のときは、フィルタにて演算された制約情報をそのまま出力でき、h=0.0のときは、制約情報を演算しないのと等価な出力が得られる。
Next, the adding unit 508 adds the data calculated by the weight integrating unit 507 and the cyan constraint information shifted by the pre-update constraint information data shift unit 505 (step S308) to obtain post-update constraint information C_r. . The post-update constraint information C_r obtained in this way is stored as constraint information for halftone processing after the next scan number k = 2 (or, if the current scan number is k, the next scan number is k + 1).
C_r ← (−Out′_c_LPF + C′_df) × h + C′_r (60)
In Expression (59), h is a variable for adjusting the strength of the constraint information. For example, when h = 1.0, the constraint information calculated by the filter can be output as it is, and when h = 0.0, an output equivalent to not calculating the constraint information is obtained.

第4実施形態では、変動量検出部207で検出した変動値d_p(xk)により、式(59)における変数hを設定する。 In the fourth embodiment, the variable h in Expression (59) is set by the fluctuation value d_p (x k ) detected by the fluctuation amount detection unit 207.

図36に示すように、コックリングの現象は、インクの浸透、膨潤により、用紙が主走査方向に浪を打つ現象である。つまり、コックリングにより、山部3601でドットが密になり、谷部3602でドットは素になる。   As shown in FIG. 36, the cockling phenomenon is a phenomenon in which the paper is swept in the main scanning direction by the penetration and swelling of the ink. That is, due to cockling, the dots become dense at the peaks 3601 and the dots become plain at the valleys 3602.

この理由について、図37、図38を用いて説明する。図37において、記録ヘッド3701のノズルより記録媒体3702に吐出されたインクは、コックリングが発生したしていない場合には3703の位置に着弾する。しかし、図に示すようにコックリングが発生している場合には、位置3704に着弾する。また、図38には図37の場合と走査方向が逆であるときの、着弾位置ずれを示している。記録ヘッド3801のノズルより記録媒体3802に吐出されたインクは、コックリングが発生したしていない場合には3803の位置に着弾する。しかし、図に示すようにコックリングが発生している場合には、位置3804に着弾する。図37の場合と同様に、山部に近い箇所にドットが打たれやすくなる。このように、往復の走査を繰り返すと、コックリングの影響により、山部3601でドットが密になり、谷部3602でドットは素になる。   The reason for this will be described with reference to FIGS. In FIG. 37, the ink ejected from the nozzles of the recording head 3701 to the recording medium 3702 lands on the position 3703 when cockling has not occurred. However, when cockling has occurred as shown in the figure, it lands at a position 3704. FIG. 38 shows the landing position deviation when the scanning direction is opposite to that in FIG. The ink ejected from the nozzles of the recording head 3801 to the recording medium 3802 lands on the position 3803 when cockling has not occurred. However, as shown in the figure, when cockling occurs, it lands at a position 3804. As in the case of FIG. 37, it is easy for dots to be struck at locations close to the peak. As described above, when the reciprocating scanning is repeated, the dots become dense at the peak portion 3601 and the dots become plain at the valley portion 3602 due to the influence of cockling.

位置xkにおける変動値d_p(xk)が小さい場合、或いは、基準値d_p0との差Δd=|d_p- d_p(xk)|が大きい場合には、位置xkにおける記録媒体の状態は、図36での山部3601となる。したがって、このような場合には、ドットを打たれにくくするためにhを大きくする。 When the fluctuation value d_p (x k ) at the position x k is small, or when the difference Δd = | d_p-d_p (x k ) | from the reference value d_p0 is large, the state of the recording medium at the position x k is It becomes a peak 3601 in FIG. Therefore, in such a case, h is increased to make it difficult for dots to be hit.

一方、変動値d_p(xk)が大きい場合、あるいは、基準値d_p0との差Δd=|d_p- d_p(xk)|が小さいときには、位置xkにおける記録媒体の状態は、図36での谷部3602となる。したがって、このような場合には、ドットを打たれやすくするためにhを小さくする。 On the other hand, when the fluctuation value d_p (x k ) is large or when the difference Δd = | d_p−d_p (x k ) | from the reference value d_p0 is small, the state of the recording medium at the position x k is as shown in FIG. It becomes a valley 3602. Therefore, in such a case, h is reduced in order to make it easier to hit dots.

つまり、変動値d_p(xi)(i=0,1,…,k,…K)と基準値d_p0との差Δd=|d_p- d_p(xi)|と強度調整変数hの関係を、例えば、図39のように設定する。このように設定することで、コックリングによる紙間の変動に対してロバストな制約情報を設定することが可能である。ただしh=0.0〜1.0の値をとる。なお、変動値d_pと強度調整変数hの関係をLUTで予め設定しておいてもよい。 That is, the relationship between the difference value d_p (x i ) (i = 0, 1,..., K,... K) and the reference value d_p0 Δd = | d_p-d_p (x i ) | For example, the setting is made as shown in FIG. By setting in this way, it is possible to set constraint information that is robust against fluctuations between sheets due to cockling. However, h takes a value of 0.0 to 1.0. Note that the relationship between the fluctuation value d_p and the intensity adjustment variable h may be set in advance using an LUT.

以上で、第4実施形態によるステップS109における制約情報演算が終了する。   This is the end of the constraint information calculation in step S109 according to the fourth embodiment.

以上のように、第4実施形態によれば、センサで検出した記録ヘッドと記録媒体の距離の変動量を、記録媒体上の同一領域における以降の主走査でのN値化演算に反映することが可能となる。このため、記録装置および記録媒体の変動、特にコックリングによるレジストレーションズレを低減し、記録媒体全面で高画質を実現することができる。   As described above, according to the fourth embodiment, the fluctuation amount of the distance between the recording head and the recording medium detected by the sensor is reflected in the N-value calculation in the subsequent main scanning in the same area on the recording medium. Is possible. For this reason, fluctuations in the recording apparatus and the recording medium, in particular, registration shift due to cockling can be reduced, and high image quality can be realized over the entire surface of the recording medium.

<第5実施形態>
以下、本発明に掛かる第5実施形態について説明する。
<Fifth Embodiment>
The fifth embodiment according to the present invention will be described below.

第5実施形態では、変動量検出部207において、記録ヘッドの傾きを検出する。制約情報演算部111と変動量検出部207以外の動作は第1実施形態と同様である。   In the fifth embodiment, the fluctuation amount detection unit 207 detects the inclination of the recording head. Operations other than the constraint information calculation unit 111 and the fluctuation amount detection unit 207 are the same as those in the first embodiment.

変動量検出部207においては、記録ヘッドの傾きを検出する。図41は記録ヘッド4101をノズルが配置されている面を下にしてヘッド上部から見た図である。第5実施形態ではセンサ4102およびセンサ4103で、記録ヘッドの所定の点A(4104)のセンサからの距離(dx_a,dy_a)を測定する。なお、記録ヘッドの傾きが発生してない状況での各センサからの距離(dx0_a,dy0_a)は予め測定しておく。各センサからの距離(dx_a,dy_a)および基準距離(dx0_a,dy0_a)より、記録ヘッドのxy方向の基準位置からの傾き量(Δdx_a,Δdy_a)が算出される(図42)。なお図42において、4202で示す点線は傾きがない場合の記録ヘッドの位置である。同様に記録ヘッドの所定の点B(4107)についても、センサ4105およびセンサ4106を用いて距離(dx_b,dy_b)を測定し、記録ヘッドのxy方向の基準位置からの傾き量(Δdx_b,Δdy_b)を算出する。なお、傾き量(Δdx_a,Δdy_a)、(Δdx_b,Δdy_b)は以下の式(61)〜(64)で設定される値である。   The fluctuation amount detection unit 207 detects the inclination of the recording head. FIG. 41 is a view of the recording head 4101 as viewed from the top of the head with the surface on which the nozzles are disposed facing down. In the fifth embodiment, the sensor 4102 and the sensor 4103 measure the distance (dx_a, dy_a) from the sensor at a predetermined point A (4104) of the recording head. Note that the distances (dx0_a, dy0_a) from each sensor in a situation where the recording head is not tilted are measured in advance. From the distance (dx_a, dy_a) from each sensor and the reference distance (dx0_a, dy0_a), the tilt amount (Δdx_a, Δdy_a) from the reference position in the xy direction of the recording head is calculated (FIG. 42). 42, the dotted line indicated by 4202 is the position of the recording head when there is no inclination. Similarly, for the predetermined point B (4107) of the recording head, the distance (dx_b, dy_b) is measured using the sensor 4105 and the sensor 4106, and the inclination amount (Δdx_b, Δdy_b) of the recording head from the reference position in the xy direction is measured. Is calculated. The inclination amounts (Δdx_a, Δdy_a) and (Δdx_b, Δdy_b) are values set by the following equations (61) to (64).

Δdx_a=|dx0_a-dx_a| (61)
Δdy_a=|dx0_a-dy_a| (62)
Δdx_b=|dx0_b-dx_b| (63)
Δdy_b=|dy0_b-dy_b| (64)
検出は、各記録走査の開始時、あるいは走査後(次の走査開始前)に記録ヘッドの待機場所において行う。検出を行う場所については、図41のような距離センサを設置できる場所であればよく、図示の形態に限られるものではない。
Δdx_a = | dx0_a-dx_a | (61)
Δdy_a = | dx0_a-dy_a | (62)
Δdx_b = | dx0_b-dx_b | (63)
Δdy_b = | dy0_b-dy_b | (64)
The detection is performed at the start position of each print scan, or after the scan (before the start of the next scan) at the standby position of the print head. The place where the detection is performed is not limited to the illustrated form as long as the distance sensor as shown in FIG. 41 can be installed.

あるいは、図43に示すように記録媒体と垂直な方向をz方向としてz方向の傾きを検出してもよい。z方向の記録ヘッドの傾きについては、例えば図43に示すように、記録ヘッドの手前側(紙の搬送方向(y))と奥側の2箇所について、センサからの距離を検出し、Δd_z=d_zb-d_zfを変動量として用いてもよい。検出のタイミングは、前述したように、1回の走査開始時、または走査後(次の走査開始前)に記録ヘッドの待機場所において行う。検出を行う場所についても、距離センサを設置できる場所であればよい。   Alternatively, as shown in FIG. 43, the z-direction inclination may be detected with the direction perpendicular to the recording medium as the z-direction. As for the inclination of the recording head in the z direction, for example, as shown in FIG. 43, the distance from the sensor is detected at two locations on the front side (paper transport direction (y)) and the back side of the recording head, and Δd_z = d_zb-d_zf may be used as the fluctuation amount. As described above, the detection timing is performed at the standby position of the recording head at the start of one scan or after the scan (before the start of the next scan). The place where the detection is performed may be any place where the distance sensor can be installed.

次に、第5実施形態における、制約情報演算部111によるステップS109の処理について説明する。ここでは説明を簡略化するため、4パス印字、走査番号k=1、ノズル数Nzzl=16におけるシアンの制約情報の演算についての詳細を、図18の制約情報演算部111のブロック図と図19のフローチャートを参照しながら説明する。前述のとおり、制約情報とは、現在の走査番号k=1の次の走査番号k=2、でのハーフトーン画像のドット配置を決める上で、ドットが打たれやすいか否かの情報である(なお、現在の走査番号がkのときは、次の走査番号はk+1である)。   Next, the process of step S109 performed by the constraint information calculation unit 111 in the fifth embodiment will be described. Here, for the sake of simplicity of explanation, details of the calculation of the constraint information for cyan in four-pass printing, the scan number k = 1, and the number of nozzles Nzzl = 16 will be described with reference to the block diagram of the constraint information calculation unit 111 in FIG. This will be described with reference to the flowchart. As described above, the constraint information is information indicating whether or not dots are likely to be shot when determining the dot arrangement of the halftone image at the next scan number k = 2 after the current scan number k = 1. (Note that when the current scan number is k, the next scan number is k + 1).

先ず、走査Dutyフィルタ処理部501は走査Dutyバッファ107内のシアン走査Duty、C_dに対して所定のフィルタF_mを作用させてフィルタ処理を行いC_dfを算出する(ステップS301)。図20にフィルタ処理されたデータの模式図を示す。   First, the scan duty filter processing unit 501 performs a filter process by applying a predetermined filter F_m to the cyan scan Duty and C_d in the scan duty buffer 107 and calculates C_df (step S301). FIG. 20 shows a schematic diagram of the filtered data.

C_df = C_d*F_m ・・・(65)
*:コンボリューション
第5実施形態では走査毎のF_mのサイズ(M,N)および係数を、変動量検出部207で検出した変動値varにより設定する。
C_df = C_d * F_m (65)
*: Convolution In the fifth embodiment, the size (M, N) and coefficient of F_m for each scan are set by the fluctuation value var detected by the fluctuation amount detection unit 207.

ここで、図44の記録ヘッド4401のように、傾き量の関係がΔdx_a>Δdy_aであるとき、つまりx方向の傾きが大きい場合を考える。この場合、1回のスキャンで全ノズルを利用してインクを吐出して罫線を出力すると、正確な着弾位置(4403)に対して、x方向にズレの大きい罫線が形成される(図44)。また、図44から分かるようにx方向のズレ量はノズルの端程大きくなる。   Here, let us consider a case where the relationship between the tilt amounts is Δdx_a> Δdy_a as in the recording head 4401 in FIG. 44, that is, the tilt in the x direction is large. In this case, when ink is ejected using all nozzles in one scan and a ruled line is output, a ruled line having a large shift in the x direction is formed with respect to the accurate landing position (4403) (FIG. 44). . As can be seen from FIG. 44, the amount of deviation in the x direction increases toward the end of the nozzle.

よって、図44のように記録ヘッドが傾いている場合には、ノズルの端ほど変動に対するロバスト性が高いドット配置にする必要がある。つまり、ノズルの端で打つドットパターンを決定する制約情報を生成する際に用いるフィルタを大きくすることが望ましい。つまり、式(64)で用いられるフィルタF_mは、使用ノズルの位置、記録ヘッドの傾き(変動)量でサイズや係数を設定したフィルタF_mを使い分ける。   Therefore, when the recording head is tilted as shown in FIG. 44, it is necessary to make a dot arrangement that is more robust to variations as the nozzle ends. In other words, it is desirable to increase the filter used when generating the constraint information for determining the dot pattern to be hit at the end of the nozzle. That is, the filter F_m used in the equation (64) is selectively used as the filter F_m in which the size and coefficient are set according to the position of the nozzle used and the tilt (variation) amount of the print head.

例えば、図41の記録ヘッド4101においては、フィルタF_mを変動値var=(Δdx_a,Δdy_a,Δdx_b,Δdy_b)によって、フィルタF_mのサイズ(M,N)あるいは係数を以下の条件を満たすように設定する。なお、ここでは簡単化のために4パス印字とし、所定の領域を走査するときに使用するノズル群を図45のように4つ(4501、4502、4503、4504)に分ける。また、それぞれのノズル群を使用して打つドットパターン決定する制約情報を生成する際に使用するフィルタをF_m1,F_m2,F_m3,F_m4とする。そして、それぞれのフィルタサイズを(M1,M1),(M2,N2),(M3,M3),(M4,N4)とする。   For example, in the recording head 4101 of FIG. 41, the filter F_m is set by the variation value var = (Δdx_a, Δdy_a, Δdx_b, Δdy_b) so that the size (M, N) or coefficient of the filter F_m satisfies the following condition. . For simplification, four-pass printing is used here, and the nozzle group used when scanning a predetermined area is divided into four (4501, 4502, 4503, 4504) as shown in FIG. Further, filters used when generating constraint information for determining a dot pattern to be hit using each nozzle group are F_m1, F_m2, F_m3, and F_m4. The respective filter sizes are (M1, M1), (M2, N2), (M3, M3), (M4, N4).

…(66)
…(67)
... (66)
... (67)

(条件)
(1) Δd_a>Δd_b(但し、Δd_a>0、Δd_b>0)のとき、
M1>M4>M2≧M3且つN1>N4>N2≧N3、
(2) Δd_a≦Δd_b(但し、Δd_a>0、Δd_b>0)のとき、
M4≧M1>M2≧M3且つN4≧N1>N2≧N3、
(3) Δdx_a>Δdy_aのとき、M1>N1、
(4) Δdx_a≦Δdy_aのとき、M1≦N1
(5) (3)(4)と同様に、x方向の傾き量がy方向の傾き量と比較して相対的に大きい場合には、Mk(k=0,..,4:パス数)≧Nkとする。また、y方向の傾き量が大きい場合には、Mk≦Nkとする。
(conditions)
(1) When Δd_a> Δd_b (where Δd_a> 0, Δd_b> 0),
M1>M4> M2 ≧ M3 and N1>N4> N2 ≧ N3,
(2) When Δd_a ≦ Δd_b (where Δd_a> 0, Δd_b> 0),
M4 ≧ M1> M2 ≧ M3 and N4 ≧ N1> N2 ≧ N3,
(3) When Δdx_a> Δdy_a, M1> N1,
(4) When Δdx_a ≦ Δdy_a, M1 ≦ N1
(5) Similar to (3) and (4), if the amount of tilt in the x direction is relatively large compared to the amount of tilt in the y direction, Mk (k = 0, ... 4: number of passes) ≧ Nk. Further, when the amount of inclination in the y direction is large, Mk ≦ Nk.

これらの、関係を満たすように、傾き量varとフィルタサイズ(Mk,Nk)の関係をLUTとして保持しておくとよい。あるいは、上述の条件を満たすような関数を用いて、傾き量varを検出毎にフィルタサイズ(Mk,Nk)算出して利用してもよいが、条件を満たすことができれば、方法はこれらに限らない。   In order to satisfy these relationships, the relationship between the inclination amount var and the filter size (Mk, Nk) may be held as an LUT. Alternatively, it is possible to calculate and use the filter size (Mk, Nk) for each detection by using a function that satisfies the above-described conditions. Absent.

また、フィルタF_mk(kはパス数)として式(67)のような2次元のガウシアンフィルタを用いて、変動量var(cr,lf)によるフィルタ係数の設定を行う。   Further, a filter coefficient is set based on the amount of variation var (cr, lf) using a two-dimensional Gaussian filter such as Expression (67) as the filter F_mk (k is the number of passes).

…(68) ... (68)

ただし、F_mk=F’_mk/Sum_mk (69)
Sum_mkはF’_mkの係数の合計値である。
式(68)において、(σx_ky_k)は2次元正規分布の標準偏差、ρはx,yの相関係数である。
However, F_mk = F'_mk / Sum_mk (69)
Sum_mk is the total value of the coefficients of F′_mk.
In equation (68), (σ x — k , σ y — k ) is a standard deviation of a two-dimensional normal distribution, and ρ is a correlation coefficient of x, y.

本実施形態では、上述のフィルタサイズ(Mk,Nk)を設定する場合の条件と同様に、標準偏差(σx_ky_k)を変動値var=(Δdx_a,Δdy_a,Δdx_b,Δdy_b)の相対関係により設定するとよい。 In the present embodiment, the standard deviation (σ x_k , σ y_k ) is changed relative to the variation value var = (Δdx_a, Δdy_a, Δdx_b, Δdy_b) in the same manner as the conditions for setting the filter size (Mk, Nk) described above. It is good to set by.

例えば、x方向の傾き量がy方向の傾き量と比較して相対的に大きい場合には、σx_k≧σy_kとする。また、y方向の傾き量が大きい場合には、σx_k≦σy_kとすることにより、フィルタの係数に非等方性の特性を持たせることができる。フィルタ係数が楕円フィルタのような非等方性の特性をもつ場合、楕円の長軸がy方向となるように設定すると、副走査方向のレジストレーションズレに対してロバストなフィルタを用いて制約情報を演算する。一方、楕円の長軸がx方向となるように設定すると、主走査方向のレジストレーションズレに対してロバストなフィルタを用いて制約情報を演算する。上述の条件を満たすフィルタを使用することで、記録ヘッドの傾きによる着弾変動に対するロバスト性は高くなり、出力画像の劣化を低減することが可能となる。なお、フィルタサイズを大きくとる方が、非等方性がより表現しやすい。また、フィルタはローパス特性に限らず、バンドパス特性や、ハイパス特性のフィルタであっても良い。 For example, when the amount of inclination in the x direction is relatively larger than the amount of inclination in the y direction, σ x_k ≧ σ y_k is satisfied. In addition, when the amount of inclination in the y direction is large, by setting σ x_k ≦ σ y_k , the filter coefficient can have anisotropic characteristics. If the filter coefficient has an anisotropic characteristic such as an elliptic filter, setting the ellipse's major axis to be in the y direction will restrict the constraint information using a filter that is robust against registration deviation in the sub-scanning direction. Is calculated. On the other hand, if the major axis of the ellipse is set to be in the x direction, the constraint information is calculated using a filter that is robust against registration shift in the main scanning direction. By using a filter that satisfies the above-described conditions, the robustness with respect to landing fluctuations due to the tilt of the recording head is increased, and deterioration of the output image can be reduced. Note that anisotropy is more easily expressed when the filter size is increased. The filter is not limited to the low-pass characteristic, and may be a band-pass characteristic or a high-pass characteristic filter.

さらに、前述した、傾き量varとフィルタサイズ(Mk,Nk)の関係と同様に、傾き量varと標準偏差(σx_ky_k)の値をLUTとして保持しておくとよい。あるいは、上述の条件を満たすような関数を用いて、傾き量varを検出毎に標準偏差(σx_ky_k)を算出して利用してもよいが、条件を満たすことができれば、方法はこれらに限らない。 Further, similarly to the relationship between the inclination amount var and the filter size (Mk, Nk) described above, the values of the inclination amount var and the standard deviation (σ x_k , σ y_k ) may be held as an LUT. Alternatively, using a function that satisfies the above-described conditions, the slope amount var may be calculated and used for each detection by calculating the standard deviation (σ x_k , σ y_k ). It is not restricted to these.

次に、ハーフトーンデータフィルタ処理部502はOut_cに対して所定のローパスフィルタLPF_bにてフィルタ処理を行う。(ステップS302)図21にフィルタ処理されたデータの模式図を示す。   Next, the halftone data filter processing unit 502 performs filtering on Out_c with a predetermined low-pass filter LPF_b. (Step S302) FIG. 21 shows a schematic diagram of the filtered data.

Out_c_LPF = Out_c*LPF_b ・・・(70)
第5実施形態におけるLPF_bの係数も、前述のF_mと同様に、変動量検出部207で検出した変動値varにより設定する。ただし、LPF_bはローパス特性をもつことが好ましい。また本実施形態では、F_mとLPF_bが同じとしているが、異なる係数であっても良い。
Out_c_LPF = Out_c * LPF_b (70)
The coefficient of LPF_b in the fifth embodiment is also set by the fluctuation value var detected by the fluctuation amount detection unit 207, similarly to the aforementioned F_m. However, LPF_b preferably has a low-pass characteristic. In this embodiment, F_m and LPF_b are the same, but different coefficients may be used.

次に、走査Dutyデータシフト部503は、走査Dutyフィルタ処理部501のデータC_dfを、一回の紙送り量LF=Nzzl/Pass=16/4=4だけ上にシフトする(ステップS303)。図22にシフトされたデータの模式図を示す。シフトした走査DutyデータをC’_dfとすると以下のように算出される。なお、シフトされた後の下端4ノズル分は0を代入する。   Next, the scan duty data shift unit 503 shifts the data C_df of the scan duty filter processing unit 501 upward by one paper feed amount LF = Nzzl / Pass = 16/4 = 4 (step S303). FIG. 22 shows a schematic diagram of the shifted data. If the shifted scanning duty data is C′_df, the calculation is as follows. Note that 0 is substituted for the lower four nozzles after the shift.

C’_df(nx,ny) = C_df(nx,ny+LF) ・・・(71)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
同様に、ハーフトーンデータシフト部504も、データOut_c_LPFを紙送り分上にシフトする(ステップS304)。図23にシフトされたデータの模式図を示す。シフトしたデータをOut’_c_LPFとすると以下のように算出される。
C′_df (nx, ny) = C_df (nx, ny + LF) (71)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
Similarly, the halftone data shift unit 504 also shifts the data Out_c_LPF to the paper feed amount (step S304). FIG. 23 shows a schematic diagram of the shifted data. If the shifted data is Out'_c_LPF, the calculation is as follows.

Out’_c_LPF(nx,ny)=Out_c_LPF(nx,ny+LF) ・・・(72)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
さらに、更新前制約情報データシフト部505も、更新前制約情報データC_rを紙送り分上にシフトする(ステップS305)。シフトした走査DutyデータをC’_rとすると以下のように算出される。
Out′_c_LPF (nx, ny) = Out_c_LPF (nx, ny + LF) (72)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
Further, the pre-update constraint information data shift unit 505 also shifts the pre-update constraint information data C_r onto the paper feed amount (step S305). If the shifted scanning duty data is C′_r, the calculation is as follows.

C’_r(nx,ny)=C_r(nx,ny+LF) ・・・(73)
「なお、(0≦nx<画像Xサイズ)(0≦ny<Nzzl)」
「(ny+LF≧Nzzl)のときは0を代入(下端LFノズル分は0を代入)」
上述のように、次の走査番号の制約情報演算には、相対的に紙送り量LF上方にシフトさせる。さらに、下端LFノズル分は0を代入する。
C′_r (nx, ny) = C_r (nx, ny + LF) (73)
“(0 ≦ nx <image X size) (0 ≦ ny <Nzzl)”
“Substitute 0 when (ny + LF ≧ Nzzl) (substitute 0 for the lower end LF nozzle)”
As described above, in the constraint information calculation of the next scanning number, the paper feed amount LF is relatively shifted upward. Further, 0 is substituted for the lower end LF nozzle.

このようにバッファデータを紙送り量LFだけシフトさせる理由は、次の走査番号にて形成されるハーフトーンドット配置が記録媒体上で相対的に紙送り量LFずれて形成されるからである。   The reason why the buffer data is shifted by the paper feed amount LF in this manner is that the halftone dot arrangement formed by the next scanning number is formed on the recording medium with a relative shift of the paper feed amount LF.

更に、減算部506は、走査Dutyデータシフト部503で算出されたデータから、ハーフトーンデータシフト部504で算出されたデータを減算する(ステップS306)。そして、重み積算部507は、減算部506の減算結果に重み係数h(実数)を積算する(ステップS307)。   Further, the subtraction unit 506 subtracts the data calculated by the halftone data shift unit 504 from the data calculated by the scanning duty data shift unit 503 (step S306). Then, the weight accumulation unit 507 accumulates the weight coefficient h (real number) on the subtraction result of the subtraction unit 506 (step S307).

次に加算部508は、重み積算部507にて演算されたデータと更新前制約情報データシフト部505にてシフトされたシアン制約情報を加算する(ステップS308)。こうして得られた、加算部508による加算結果を、更新後制約情報C_rとし、次の走査番号k=2以降(または現走査番号kなら、次の走査番号はk+1)のハーフトーン処理の制約情報として保存しておく。   Next, the adding unit 508 adds the data calculated by the weight integrating unit 507 and the cyan constraint information shifted by the pre-update constraint information data shift unit 505 (step S308). The addition result by the adding unit 508 obtained in this way is set as post-update constraint information C_r, and the constraint information of the halftone process after the next scan number k = 2 (or the next scan number is k + 1 if the current scan number is k). Save as.

C_r ← (−Out’_c_LPF + C’_df)×h+C’_r ・・・(74)
以上でステップS109における制約情報演算が終了する。
C_r ← (−Out′_c_LPF + C′_df) × h + C′_r (74)
This completes the constraint information calculation in step S109.

次に、演算結果により制約情報バッファ109が更新される(ステップS110)。この制約情報は、次の走査番号以降(現走査番号がkならば次の走査番号はk+1)のドット配置を決定するための情報として保持される。   Next, the constraint information buffer 109 is updated with the calculation result (step S110). This restriction information is held as information for determining dot arrangements after the next scanning number (if the current scanning number is k, the next scanning number is k + 1).

以上のように、第5実施形態によれば、センサで検出した記録ヘッドの設置位置の変動量が、記録媒体上の同一領域における以降の主走査でのN値化演算に反映される。これにより、記録装置の変動、特に記録ヘッドの傾きによるレジストレーションズレを低減し、記録媒体全面で高画質を実現することができる。   As described above, according to the fifth embodiment, the fluctuation amount of the installation position of the recording head detected by the sensor is reflected in the N-value calculation in the subsequent main scanning in the same area on the recording medium. As a result, it is possible to reduce registration deviation due to fluctuations in the recording apparatus, particularly the inclination of the recording head, and realize high image quality over the entire surface of the recording medium.

以上説明したように、上記各実施形態によれば、主走査毎にN値化演算を実施する記録方式において、各種センサで検出した記録装置および記録媒体の変動量が、記録媒体上の同一領域における以降の主走査でのN値化演算に反映される。これにより、記録装置および記録媒体の変動によるレジストレーションズレが低減され、記録媒体全面で高画質を実現することが可能となる。   As described above, according to each of the above-described embodiments, in the recording method in which the N-value calculation is performed for each main scan, the variation amount of the recording apparatus and the recording medium detected by various sensors is the same area on the recording medium. This is reflected in the N-value conversion operation in the subsequent main scanning. As a result, registration shift due to fluctuations in the recording apparatus and the recording medium is reduced, and high image quality can be realized over the entire surface of the recording medium.

また、上記各実施形態によれば、主走査毎に、前回の主走査でのN値化結果(Nは2以上の整数)と、記録装置および記録媒体の変動量に基づいてリアルタイムに更新された制約情報に基づくN値化処理が行われる。これにより、画像の低周波成分に依存した粒状性劣化を抑制し、高画質画像を形成することが可能となる。   Further, according to each of the above embodiments, for each main scan, the update is performed in real time based on the N-value conversion result (N is an integer of 2 or more) in the previous main scan and the fluctuation amount of the printing apparatus and printing medium. N-ary processing based on the constraint information is performed. As a result, it is possible to suppress the graininess deterioration depending on the low frequency component of the image and form a high quality image.

本発明の目的はソフトウエアのプログラムコードを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータが記録媒体に格納されたプログラムコードを読み出し実行することによっても達成され得るものである。ここで、ソフトウエアのプログラムコードは、システムあるいは装置のコンピュータ(またはCPUまたはMPU)に前述した実施形態の機能を実現するものである。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することとなり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   The object of the present invention can also be achieved by supplying a recording medium on which a program code of software is recorded to a system or apparatus, and reading and executing the program code stored in the recording medium by a computer of the system or apparatus. It is. Here, the software program code realizes the functions of the above-described embodiments in a computer (or CPU or MPU) of a system or apparatus. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するためのコンピュータ読み取り可能な記憶媒体としては、例えば以下が挙げられる。すなわち、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM、DVDなどを用いることができる。   Examples of the computer-readable storage medium for supplying the program code include the following. That is, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, DVD, or the like can be used.

また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどとの協働で実施形態の機能が実現されてもよい。この場合、OSなどが、実際の処理の一部または全部を行ない、その処理によって前述した実施形態の機能が実現される。   In addition to the functions of the above-described embodiment being realized by the computer executing the read program, the embodiment of the embodiment is implemented in cooperation with an OS or the like running on the computer based on an instruction of the program. A function may be realized. In this case, the OS or the like performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれて前述の実施形態の機能の一部或いは全てが実現されてもよい。この場合、機能拡張ボードや機能拡張ユニットにプログラムが書き込まれた後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行なう。   Furthermore, the program read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, so that part or all of the functions of the above-described embodiments are realized. May be. In this case, after a program is written in the function expansion board or function expansion unit, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing based on the instructions of the program.

本発明に係る一実施形態における画像形成システムの構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image forming system according to an embodiment of the present invention. 実施形態のプリンタにおける記録ヘッドの構成例を示す図である。FIG. 3 is a diagram illustrating a configuration example of a recording head in the printer of the embodiment. 実施形態における画像形成処理を示すフローチャートである。6 is a flowchart illustrating image forming processing in the embodiment. 実施形態の色分解処理部における入出力データの詳細を示す図である。It is a figure which shows the detail of the input / output data in the color separation process part of embodiment. 実施形態における16ノズル、4パス印字による画像形成の概要を示す図である。It is a figure which shows the outline | summary of the image formation by 16 nozzles and 4-pass printing in embodiment. 実施形態における走査Duty設定用LUTに保持されたDuty分割率の一例を示す図である。It is a figure which shows an example of the Duty division ratio hold | maintained at the scanning duty setting LUT in embodiment. 実施形態における走査Dutyの設定方法の概要を示す図である。It is a figure which shows the outline | summary of the setting method of the scanning duty in embodiment. 実施形態における走査Dutyの設定方法の概要を示す図である。It is a figure which shows the outline | summary of the setting method of the scanning duty in embodiment. 実施形態における走査Dutyの設定方法の概要を示す図である。It is a figure which shows the outline | summary of the setting method of the scanning duty in embodiment. 実施形態における走査Dutyバッファのバンド構成例を示す図である。It is a figure which shows the band structural example of the scanning duty buffer in embodiment. 実施形態における制約情報バッファのバンド構成例を示す図である。It is a figure which shows the band structural example of the restriction | limiting information buffer in embodiment. 実施形態におけるハーフトーン処理部の詳細構成を示すブロック図である。It is a block diagram which shows the detailed structure of the halftone process part in embodiment. 実施形態におけるハーフトーン処理を示すフローチャートである。It is a flowchart which shows the halftone process in embodiment. 実施形態における誤差拡散係数の一例を示す図である。It is a figure which shows an example of the error diffusion coefficient in embodiment. 実施形態における各シアン累積誤差ラインバッファの記憶領域を示す図である。It is a figure which shows the storage area of each cyan accumulation error line buffer in embodiment. 実施形態における印字領域の隣接の様子を示す図である。It is a figure which shows the mode of the adjoining of the printing area | region in embodiment. 実施形態におけるハーフトーン処理結果の格納例を示す図である。It is a figure which shows the example of storage of the halftone process result in embodiment. 実施形態における制約情報演算部の詳細構成を示すブロック図である。It is a block diagram which shows the detailed structure of the constraint information calculating part in embodiment. 実施形態における制約情報演算処理を示すフローチャートである。It is a flowchart which shows the constraint information calculation process in embodiment. 実施形態の制約情報演算におけるフィルタ処理後の走査Dutyデータの模式図である。It is a schematic diagram of the scan duty data after the filter process in the constraint information calculation of the embodiment. 実施形態の制約情報演算におけるフィルタ処理後のハーフトーンデータの模式図である。It is a schematic diagram of the halftone data after the filter process in the constraint information calculation of the embodiment. 実施形態の制約情報演算におけるシフト後の走査Dutyデータの模式図である。It is a schematic diagram of the scanning duty data after the shift in the constraint information calculation of the embodiment. 実施形態の制約情報演算におけるシフト後のハーフトーンデータの模式図である。It is a schematic diagram of the halftone data after the shift in the constraint information calculation of the embodiment. 実施形態における印刷画像の周波数領域による対レジズレ特性を示す図である。It is a figure which shows the resisting characteristic with respect to the frequency domain of the printed image in embodiment. 記録ヘッドの移動量に関わる変動量と着弾位置ズレを示す図である。FIG. 6 is a diagram illustrating a variation amount and a landing position deviation related to a moving amount of a recording head. 実施形態の制約情報演算におけるフィルタサイズと変動量の関係を示すグラフである。It is a graph which shows the relationship between the filter size and variation | change_quantity in the constraint information calculation of embodiment. 実施形態の制約情報演算におけるフィルタの具体例を示す図である。It is a figure which shows the specific example of the filter in the constraint information calculation of embodiment. 実施形態の制約情報演算におけるフィルタの具体例を示す図である。It is a figure which shows the specific example of the filter in the constraint information calculation of embodiment. 実施形態の制約情報演算におけるフィルタの具体例を示す図である。It is a figure which shows the specific example of the filter in the constraint information calculation of embodiment. 第2実施形態の制約情報演算におけるフィルタの具体例を示す図である。It is a figure which shows the specific example of the filter in the constraint information calculation of 2nd Embodiment. 第2実施形態の制約情報演算におけるフィルタの具体例を示す図である。It is a figure which shows the specific example of the filter in the constraint information calculation of 2nd Embodiment. 第2実施形態の制約情報演算におけるフィルタの具体例を示す図である。It is a figure which shows the specific example of the filter in the constraint information calculation of 2nd Embodiment. 第3実施形態の制約情報演算におけるフィルタの具体例を示す図である。It is a figure which shows the specific example of the filter in the constraint information calculation of 3rd Embodiment. 第3実施形態の制約情報演算におけるフィルタの具体例を示す図である。It is a figure which shows the specific example of the filter in the constraint information calculation of 3rd Embodiment. 第4実施形態における紙間センサの構成と検出する変動量の関係を説明した図である。It is a figure explaining the relationship between the structure of the paper gap sensor in 4th Embodiment, and the variation | change_quantity to detect. コックリングの説明図である。It is explanatory drawing of a cock ring. コックリングによって発生するドット位置ずれの説明図である。It is explanatory drawing of the dot position shift which generate | occur | produces by cockling. コックリングによって発生するドット位置ずれの説明図である。It is explanatory drawing of the dot position shift which generate | occur | produces by cockling. 第4実施形態における制約情報演算における制約強度変数と変動量の関係を示すグラフである。It is a graph which shows the relationship between the restriction | limiting intensity | strength variable and variation | change_quantity in the restriction | limiting information calculation in 4th Embodiment. 第4実施形態における紙間センサの別の構成を示す図である。It is a figure which shows another structure of the paper gap sensor in 4th Embodiment. 第5実施形態における傾き検出センサの構成と検出する変動量の関係を説明した図である。It is a figure explaining the relationship between the structure of the inclination detection sensor in 5th Embodiment, and the variation | change_quantity to detect. 第5実施形態におけるヘッド傾き量を説明した図である。It is a figure explaining the head inclination amount in 5th Embodiment. 第5実施形態における傾き検出センサの別の構成と検出する変動量の関係を説明した図である。It is a figure explaining the relationship between another structure of the inclination detection sensor in 5th Embodiment, and the variation | change_quantity to detect. 第5実施形態におけるヘッド傾きとドットの着弾位置の関係を説明した図である。It is a figure explaining the relationship between the head inclination and the landing position of a dot in 5th Embodiment. 第5実施形態における制約情報演算におけるノズル群を説明した図である。It is a figure explaining the nozzle group in the restrictions information calculation in 5th Embodiment.

Claims (7)

記録媒体上の同一領域に対して、複数の記録素子を備えた記録ヘッドを複数回、記録走査することによって画像を形成する画像形成装置のための画像処理装置であって、
複数回の記録走査を行う間に、前記記録ヘッド及び記録媒体の間のレジストレーションの変動量を示す情報を取得する取得手段と、
入力された画像データを、前記画像データを構成する各画素の画素値を前記記録走査ごとに分割することにより、前記記録走査ごとの走査データを生成する生成手段と、
画素毎にドットが形成されやすいか否かを示す制約情報を前記変動量に応じて設定する設定手段と、
前記走査データに対して、前記制約情報を参照してN値化処理(Nは2以上の整数)を施し、当該記録走査のためのドットパターンを作成するN値化手段とを有し、
前記記録媒体における領域におけるm回目の記録走査とn(m、nとも自然数、n>m)回目の記録走査について、
前記設定手段は、前記m回目の記録走査によって記録されるドットパターンに対してフィルタを用いたフィルタ処理した結果に基づいて、前記m回目の記録走査に対応するドットパターンと前記n回目の記録走査に対応するドットパターンとが低周波領域で逆位相となるように、前記N値化手段が前記n回目の記録走査に対応する走査データに対してN値化処理するために参照する制約情報を設定するものであり、
前記設定手段は、前記変動量が大きいほど前記フィルタのサイズを大きくすることを特徴とする画像処理装置。
An image processing apparatus for an image forming apparatus that forms an image by recording and scanning a recording head including a plurality of recording elements a plurality of times for the same region on a recording medium,
An acquisition means for acquiring information indicating the amount of registration variation between the recording head and the recording medium during a plurality of recording scans;
Generating means for generating scan data for each recording scan by dividing the input image data for each recording scan by dividing the pixel value of each pixel constituting the image data;
Setting means for setting constraint information indicating whether or not dots are easily formed for each pixel according to the amount of variation;
N-value conversion means for performing N-value conversion processing (N is an integer of 2 or more) with reference to the constraint information with respect to the scan data, and creating a dot pattern for the print scan,
About the m-th printing scan and the n-th (m and n are natural numbers, n> m) -th printing scan in the area of the printing medium,
The setting means includes a dot pattern corresponding to the m-th printing scan and the n-th printing scan based on a result of filtering using a filter for the dot pattern printed by the m-th printing scan. The N-value conversion means refers to the constraint information to be referred to for N-value processing on the scan data corresponding to the n-th print scan so that the dot pattern corresponding to is in the opposite phase in the low frequency region. To set,
The image processing apparatus, wherein the setting means increases the size of the filter as the variation amount increases .
前記取得手段は、記録走査における前記記録ヘッドの移動速度の変動に関する変動量を検出することを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the acquisition unit detects a fluctuation amount related to a change in a moving speed of the recording head in a recording scan. 前記取得手段は、前記記録ヘッドによる記録走査の間に行われる前記記録媒体の搬送における、該記録媒体の搬送量に関する変動量を検出することを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the acquisition unit detects a fluctuation amount related to a conveyance amount of the recording medium in the conveyance of the recording medium performed during recording scanning by the recording head. 前記取得手段は、前記記録ヘッドと、前記記録媒体との距離に関する変動量を検出することを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the acquisition unit detects a fluctuation amount related to a distance between the recording head and the recording medium. 前記取得手段は、前記記録ヘッドの、記録走査ごとの傾きの変動量を検出することを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the acquisition unit detects a variation amount of inclination of the recording head for each recording scan. 記録媒体の同一領域に対して、複数の記録素子を備えた記録ヘッドを複数回記録走査することによって画像を形成する画像形成装置の画像処理方法であって、
取得手段が、複数回の記録走査を行う間に、前記記録ヘッド及び記録媒体の間のレジストレーションの変動量を示す情報を取得する取得工程と、
生成手段が、入力された画像データを、前記画像データを構成する各画素の画素値を前記記録走査ごとに分割することにより、前記記録走査ごとの走査データを生成する生成工程と、
設定手段が、画素毎にドットが形成されやすいか否かを示す制約情報を前記変動量に応じて設定する設定工程と、
N値化手段が、前記走査データに対して、前記制約情報を参照してN値化処理(Nは2以上の整数)を施し、当該記録走査のためのドットパターンを作成するN値化工程とを有し、
前記記録媒体における領域におけるm回目の記録走査とn(m、nとも自然数、n>m)回目の記録走査について、
前記設定工程では、前記m回目の記録走査によって記録されるドットパターンに対してフィルタを用いたフィルタ処理した結果に基づいて、前記m回目の記録走査に対応するドットパターンと前記n回目の記録走査に対応するドットパターンとが低周波領域で逆位相となるように、前記n回目の記録走査に対応する走査データに対してN値化処理するために参照する制約情報を設定し、
前記変動量が大きいほど前記フィルタのサイズを大きくすることを特徴とする画像処理方法。
An image processing method of an image forming apparatus for forming an image by performing a recording scan with a recording head including a plurality of recording elements a plurality of times on the same area of a recording medium,
An acquisition step in which the acquisition unit acquires information indicating a registration variation amount between the recording head and the recording medium while performing a plurality of recording scans;
A generating step of generating scan data for each recording scan by dividing the input image data into pixel values of each pixel constituting the image data for each recording scan;
A setting step in which the setting means sets constraint information indicating whether or not dots are easily formed for each pixel according to the amount of variation;
An N-value conversion step in which an N-value conversion unit applies an N-value conversion process (N is an integer of 2 or more) to the scan data with reference to the constraint information, and creates a dot pattern for the print scan. And
About the m-th printing scan and the n-th (m and n are natural numbers, n> m) -th printing scan in the area of the printing medium,
In the setting step, the dot pattern corresponding to the m-th print scan and the n-th print scan are based on the result of filtering using a filter for the dot pattern printed by the m-th print scan. The constraint information referred to N-value processing is set for the scan data corresponding to the n-th print scan so that the dot pattern corresponding to is in the opposite phase in the low frequency region,
The image processing method of the to Rukoto wherein increasing the size of the filter as the amount of the variation is large.
コンピュータに読み込み込ませ実行させることで、前記コンピュータを請求項1乃至の何れか一項に記載された画像処理装置の各手段として機能させることを特徴とするコンピュータプログラム。 A computer program for causing a computer to function as each unit of the image processing apparatus according to any one of claims 1 to 5 by being read and executed by a computer.
JP2008230197A 2008-09-08 2008-09-08 Image processing apparatus and image processing method Expired - Fee Related JP5596913B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008230197A JP5596913B2 (en) 2008-09-08 2008-09-08 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008230197A JP5596913B2 (en) 2008-09-08 2008-09-08 Image processing apparatus and image processing method

Publications (3)

Publication Number Publication Date
JP2010064277A JP2010064277A (en) 2010-03-25
JP2010064277A5 JP2010064277A5 (en) 2011-10-20
JP5596913B2 true JP5596913B2 (en) 2014-09-24

Family

ID=42190298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008230197A Expired - Fee Related JP5596913B2 (en) 2008-09-08 2008-09-08 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP5596913B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5849469B2 (en) * 2011-07-04 2016-01-27 セイコーエプソン株式会社 Printing apparatus and printing method
JP6930146B2 (en) * 2017-03-10 2021-09-01 セイコーエプソン株式会社 Image processing device, image processing program, and printing device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11240146A (en) * 1997-12-26 1999-09-07 Canon Inc Recording device
JP2000071438A (en) * 1998-09-03 2000-03-07 Canon Inc Ink jet printer
JP4931165B2 (en) * 2000-08-31 2012-05-16 キヤノン株式会社 Image recording apparatus and image processing apparatus
JP2007276264A (en) * 2006-04-06 2007-10-25 Canon Inc Inkjet recording device, and its controlling method
JP5147251B2 (en) * 2007-02-01 2013-02-20 キヤノン株式会社 Image processing apparatus and image processing apparatus control method

Also Published As

Publication number Publication date
JP2010064277A (en) 2010-03-25

Similar Documents

Publication Publication Date Title
US7986440B2 (en) Image processing apparatus, image forming apparatus, and control method thereof, which form an image by applying N-ary processing
US8274704B2 (en) Image processing apparatus and method for selecting a processing mode based on attributes of original multivalued image data
JP4777268B2 (en) Image forming apparatus and image processing apparatus control method
US9185264B2 (en) Print control device capable of generating image data using plurality of error matrices
US7564588B2 (en) Image forming device, image forming method, and recording medium that provide multi-level error diffusion
US8253974B2 (en) Image forming apparatus, image processing apparatus, and control method therefor
US7798589B2 (en) Image forming apparatus, image processing apparatus, and control method therefor
KR20190001933A (en) Image processing apparatus and image processing method
US8482792B2 (en) Image forming apparatus and control method thereof
US8391624B2 (en) Apparatus and method for quantizing image data
JP5596913B2 (en) Image processing apparatus and image processing method
US9147140B2 (en) Image processing apparatus, method, and product for converting image data into fewer gradations based on total value of pixels in a group except for a detected pixel having a specific value
US8836994B2 (en) Data processing system and data processing method forming a high-quality image on a printing medium by selecting a mask pattern data group based on a frequency characteristic of the input image data and mask pattern data group
JP2010155390A (en) Image forming apparatus and method for controlling the same
JP2010120185A (en) Image processing apparatus and image processing method
JP5213508B2 (en) Image forming apparatus and image forming method
US20120019849A1 (en) Image processing apparatus, image processing method, and program
US7315401B2 (en) Quantization apparatus and method, and inkjet printing apparatus using the same
JP5341420B2 (en) Image processing apparatus and image processing method
JP4748985B2 (en) Halftone image forming method and apparatus for reducing dot isolation
JP6282607B2 (en) Quantization method, image processing apparatus, and image recording apparatus
JP2011114395A (en) Image processing apparatus and method, and program
JP2007129559A (en) Image processor and image processing system
JP2006081000A (en) Image processing device, image output device, and program
JP2013126769A (en) Image processing device and method, and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110907

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130128

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130329

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140307

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140808

LAPS Cancellation because of no payment of annual fees