JP2016025405A - Image data generation apparatus, image recording device, image data generation method and program - Google Patents

Image data generation apparatus, image recording device, image data generation method and program Download PDF

Info

Publication number
JP2016025405A
JP2016025405A JP2014146403A JP2014146403A JP2016025405A JP 2016025405 A JP2016025405 A JP 2016025405A JP 2014146403 A JP2014146403 A JP 2014146403A JP 2014146403 A JP2014146403 A JP 2014146403A JP 2016025405 A JP2016025405 A JP 2016025405A
Authority
JP
Japan
Prior art keywords
image data
pixel
value
threshold
reference value
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.)
Granted
Application number
JP2014146403A
Other languages
Japanese (ja)
Other versions
JP6322505B2 (en
Inventor
市岡 義和
Yoshikazu Ichioka
義和 市岡
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.)
Screen Holdings Co Ltd
Original Assignee
Screen Holdings Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Screen Holdings Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP2014146403A priority Critical patent/JP6322505B2/en
Publication of JP2016025405A publication Critical patent/JP2016025405A/en
Application granted granted Critical
Publication of JP6322505B2 publication Critical patent/JP6322505B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To easily perform correction with respect to a change of a recording state.SOLUTION: In an image data generation section 423, on the basis of pixel values of a source image at a plurality of pixel positions and a plurality of first thresholds which are set correspondingly to the plurality of pixel positions, respectively, an intermediate pixel value acquisition part 425 calculates a relation indicating a relative magnitude of the pixel value to a reference value while defining the first threshold at each of the pixel positions as the reference value. By applying the relation to a common reference value that is common at the plurality of pixel positions, intermediate pixel values at the pixels positions are calculated and intermediate image data are generated. Regarding the plurality of pixel positions, a halftone image data generation part 426 compares the intermediate pixel value at each of the pixel positions with a second threshold that is set to each of the pixel positions on the basis of the common reference value, thereby meshing processing is performed on the intermediate image data, and halftone image data are generated. Thus, the correction with respect to the change of the recording state can be easily performed.SELECTED DRAWING: Figure 4

Description

本発明は、多階調の元画像データに網掛け処理を行ってハーフトーン画像データを生成する技術に関する。   The present invention relates to a technique for generating halftone image data by performing shading processing on multi-tone original image data.

従来より、多階調、すなわち、連続階調の元画像を網点化して記録対象に記録することが行われている。元画像の網点化では、例えば、FM(Frequency Modulated)スクリーニングが用いられる。FMスクリーニングでは、不規則に配置される最小の画素単位であるマイクロドットの分布密度を変更することにより階調が表現される。FMスクリーニングは、例えば、インクジェット方式の画像記録装置における元画像の網点化に利用される。   Conventionally, a multi-tone original image, that is, a continuous tone original image is halftone and recorded on a recording target. For example, FM (Frequency Modulated) screening is used for halftone dot conversion of the original image. In FM screening, gradation is expressed by changing the distribution density of micro dots, which are the minimum pixel units arranged irregularly. FM screening is used, for example, for forming halftone dots in an original image in an inkjet image recording apparatus.

FMスクリーニングにより多階調の元画像を網点化する際には、一般的に、複数の要素が行方向および列方向に配列されるとともに各要素に閾値が付与された閾値マトリクスが予め準備され、元画像の各画素値と閾値マトリクスの各要素の閾値とが比較される。これにより、記録媒体上の各画素位置にドットを形成するか否かが決定される。   When halftone images are converted into halftone dots by FM screening, generally, a threshold matrix in which a plurality of elements are arranged in a row direction and a column direction and a threshold value is assigned to each element is prepared in advance. The pixel values of the original image are compared with the threshold values of the elements of the threshold matrix. Thereby, whether or not to form dots at each pixel position on the recording medium is determined.

画像記録装置では、連続的な画像記録による記録ヘッドの温度上昇、記録ヘッドの温度上昇に伴うインクの温度上昇および記録媒体の温度上昇、記録ヘッドの周囲におけるインクミストの密度変化等、時間経過等に伴う記録状態の変化に起因して、記録媒体上のドットが意図した大きさよりも大きく拡がり、画像の濃度が所望の濃度よりも濃くなる場合がある。あるいは、記録媒体上のドットが意図した大きさまで拡がらず、画像の濃度が所望の濃度よりも薄くなる場合もある。   In the image recording apparatus, the temperature rise of the recording head due to continuous image recording, the temperature rise of the ink and the temperature of the recording medium accompanying the temperature rise of the recording head, the density change of the ink mist around the recording head, etc. In some cases, the dots on the recording medium spread larger than the intended size due to the change in the recording state accompanying the above, and the density of the image is higher than the desired density. Alternatively, the dots on the recording medium may not expand to the intended size, and the image density may be less than the desired density.

特許文献1では、元画像を網点化する際に、経時変化等に対応する校正を元画像データに対して行って新たな画像データを作成した後に、新たな画像データと閾値マトリクスと比較する技術が開示されている。また、経時変化等に対応する校正を閾値マトリクスに対して行って新たな閾値マトリクスを作成した後に、元画像データと新たな閾値マトリクスとを比較する技術も開示されている。   In Patent Document 1, when the original image is halftoned, calibration corresponding to a change with time or the like is performed on the original image data to create new image data, and then the new image data is compared with the threshold matrix. Technology is disclosed. Also disclosed is a technique for comparing original image data and a new threshold matrix after creating a new threshold matrix by performing calibration corresponding to a change over time on the threshold matrix.

特開平7−336536号公報JP 7-336536 A

ところで、近年の画像記録装置では、高精細な画像を高速に記録することが求められるため、画像データのデータ量が大きくなり、上述の網掛け処理に係る演算量も大きくなる。また、画像記録装置では、画像を高速に記録するために、通常、画像の網掛け処理と画像の記録とが並行して行われる。   By the way, since recent image recording apparatuses are required to record high-definition images at high speed, the amount of image data increases, and the amount of calculation related to the above-described shading processing also increases. Further, in an image recording apparatus, in order to record an image at high speed, image shading processing and image recording are usually performed in parallel.

一方、特許文献1の画像データ処理装置では、画像記録装置において記録状態の変化が生じる度に、画像データの再作成、または、閾値マトリクスの再作成が必要になり、さらに、画像データと閾値マトリクスとの画素毎の再比較(再網掛け処理)が必要となる。上述のように、画像データのデータ量、および、網掛け処理に係る演算量が大きい場合、当該画像データ処理装置では、画像データまたは閾値マトリクスの再作成に要する時間、および、再網掛け処理に要する時間が増大する。このため、画像の記録と並行してデータ処理を行うことができないおそれがある。換言すれば、記録状態の変化に対する補正をリアルタイムに行うことができない可能性がある。   On the other hand, in the image data processing apparatus of Patent Document 1, it is necessary to recreate image data or recreate a threshold matrix every time a recording state changes in the image recording apparatus. And re-comparison for each pixel (re-shading process) is required. As described above, when the data amount of the image data and the calculation amount related to the shading process are large, the image data processing apparatus performs the time required for re-creating the image data or the threshold matrix and the re-shading process. The time required increases. For this reason, there is a possibility that data processing cannot be performed in parallel with image recording. In other words, there is a possibility that correction for changes in the recording state cannot be performed in real time.

本発明は、上記課題に鑑みなされたものであり、記録状態の変化に対する補正を容易に行うことを目的としている。   The present invention has been made in view of the above problems, and an object thereof is to easily perform correction for a change in recording state.

請求項1に記載の発明は、多階調の元画像データに網掛け処理を行ってハーフトーン画像データを生成する画像データ生成装置であって、マトリクス状に配列された複数の画素位置における元画像の画素値と、前記複数の画素位置にそれぞれ対応して設定された複数の第1閾値とに基づいて、各画素位置の第1閾値を基準値として前記基準値に対する画素値の相対的な大きさを示す関係を求め、前記複数の画素位置において共通な共通基準値に対して前記関係を適用することにより、前記各画素位置の中間画素値を求めて中間画像データを生成する中間画素値取得部と、前記複数の画素位置について、前記各画素位置の前記中間画素値と、前記共通基準値に基づいて前記各画素位置に対して設定された第2閾値とを比較することにより、前記中間画像データに網掛け処理を行ってハーフトーン画像データを生成するハーフトーン画像データ生成部とを備える。   The invention according to claim 1 is an image data generation device that generates halftone image data by performing a shading process on multi-tone original image data, and the original data at a plurality of pixel positions arranged in a matrix form Based on the pixel value of the image and a plurality of first threshold values set corresponding to the plurality of pixel positions, the pixel value relative to the reference value is set with the first threshold value at each pixel position as a reference value. An intermediate pixel value for obtaining intermediate image data by obtaining an intermediate pixel value at each pixel position by obtaining a relationship indicating magnitude and applying the relationship to a common reference value common to the plurality of pixel positions For the plurality of pixel positions, the acquisition unit compares the intermediate pixel value at each pixel position with a second threshold set for each pixel position based on the common reference value, And a halftone image data generator for generating halftone image data between the image data by performing shading process.

請求項2に記載の発明は、請求項1に記載の画像データ生成装置であって、前記複数の画素位置に対して設定された全ての前記第2閾値が等しい。   A second aspect of the present invention is the image data generating device according to the first aspect, wherein all the second threshold values set for the plurality of pixel positions are equal.

請求項3に記載の発明は、請求項1または2に記載の画像データ生成装置であって、前記中間画素値取得部における前記中間画像データの生成が、グラフィックス・プロセッシング・ユニットにより行われる。   A third aspect of the present invention is the image data generation device according to the first or second aspect, wherein the generation of the intermediate image data in the intermediate pixel value acquisition unit is performed by a graphics processing unit.

請求項4に記載の発明は、請求項1ないし3のいずれかに記載の画像データ生成装置であって、前記元画像データの階調数を示すビット数と、前記中間画像データの階調数を示すビット数とが等しい。   The invention according to claim 4 is the image data generation device according to any one of claims 1 to 3, wherein the number of bits indicating the number of gradations of the original image data and the number of gradations of the intermediate image data are provided. Is equal to the number of bits indicating

請求項5に記載の発明は、請求項1ないし4のいずれかに記載の画像データ生成装置であって、前記共通基準値が、前記中間画像データの最小階調値と最大階調値との間の中央値である。   A fifth aspect of the present invention is the image data generation device according to any one of the first to fourth aspects, wherein the common reference value is a minimum gradation value and a maximum gradation value of the intermediate image data. The median between.

請求項6に記載の発明は、請求項1ないし5のいずれかに記載の画像データ生成装置であって、前記ハーフトーン画像データにおいて、前記複数の画素位置に複数のサイズのドットが配置可能であり、前記第1閾値が、前記複数のサイズにそれぞれ対応する複数の第1閾値要素を含み、前記共有基準値が、前記複数の第1閾値要素にそれぞれ対応する複数の共有基準値要素を含み、前記各画素位置における前記基準値が、前記複数の第1閾値要素のうち前記画素値以下の最大の第1閾値要素または前記画素値以上の最小の第1閾値要素であり、前記関係が前記複数の共通基準値要素のうち前記基準値に対応する共通基準値要素に対して適用される。   A sixth aspect of the present invention is the image data generating device according to any one of the first to fifth aspects, wherein dots of a plurality of sizes can be arranged at the plurality of pixel positions in the halftone image data. And the first threshold includes a plurality of first threshold elements corresponding to the plurality of sizes, and the shared reference value includes a plurality of shared reference value elements respectively corresponding to the plurality of first threshold elements. The reference value at each pixel position is a maximum first threshold element that is not more than the pixel value or a minimum first threshold element that is not less than the pixel value among the plurality of first threshold elements, and the relationship is the This is applied to a common reference value element corresponding to the reference value among a plurality of common reference value elements.

請求項7に記載の発明は、記録媒体に画像を記録する画像記録装置であって、請求項1ないし6のいずれかに記載の画像データ生成装置と、記録媒体上のドット記録位置にドットを記録するドット出力部と、前記記録媒体上の前記ドット記録位置を前記記録媒体に対して相対的に移動させる移動機構と、前記記録媒体上の前記ドット記録位置の前記記録媒体に対する相対移動に並行して、前記画像データ生成装置により生成されたハーフトーン画像データに基づいて前記ドット出力部の出力制御を行う出力制御部とを備える。   A seventh aspect of the present invention is an image recording apparatus for recording an image on a recording medium, the image data generating apparatus according to any one of the first to sixth aspects, and a dot recording position on the recording medium. A dot output unit for recording, a moving mechanism for moving the dot recording position on the recording medium relative to the recording medium, and a parallel movement of the dot recording position on the recording medium relative to the recording medium And an output control unit that performs output control of the dot output unit based on the halftone image data generated by the image data generation device.

請求項8に記載の発明は、請求項7に記載の画像記録装置であって、前記ドット出力部が、前記記録媒体上の前記ドット記録位置にインクの微小液滴を吐出してドットを記録する吐出部を備える。   According to an eighth aspect of the present invention, in the image recording apparatus according to the seventh aspect, the dot output section records dots by ejecting fine ink droplets at the dot recording positions on the recording medium. The discharge part to be provided is provided.

請求項9に記載の発明は、請求項8に記載の画像記録装置であって、前記吐出部が、前記移動機構による前記記録媒体の相対移動方向に交差する方向に沿って配列される複数の吐出部要素を備え、前記移動機構により、前記記録媒体が前記複数の吐出部要素に対向する位置を1回のみ通過することにより画像が記録され、前記複数の画素位置のうち各吐出部要素に対応する画素位置群に対して設定された前記第2閾値が等しい。   A ninth aspect of the present invention is the image recording apparatus according to the eighth aspect, wherein the ejection section is arranged along a direction intersecting a relative movement direction of the recording medium by the moving mechanism. An ejection unit element is provided, and the moving mechanism records an image when the recording medium passes through the position facing the plurality of ejection unit elements only once, and each of the plurality of pixel positions is recorded on each ejection unit element. The second threshold values set for the corresponding pixel position group are equal.

請求項10に記載の発明は、多階調の元画像データに網掛け処理を行ってハーフトーン画像データを生成する画像データ生成方法であって、a)マトリクス状に配列された複数の画素位置における元画像の画素値と、前記複数の画素位置にそれぞれ対応して設定された複数の第1閾値とに基づいて、各画素位置の第1閾値を基準値として前記基準値に対する画素値の相対的な大きさを示す関係を求め、前記複数の画素位置において共通な共通基準値に対して前記関係を適用することにより、前記各画素位置の中間画素値を求めて中間画像データを生成する工程と、b)前記複数の画素位置について、前記各画素位置の前記中間画素値と、前記共通基準値に基づいて前記各画素位置に対して設定された第2閾値とを比較することにより、前記中間画像データに網掛け処理を行ってハーフトーン画像データを生成する工程とを備える。   The invention according to claim 10 is an image data generation method for generating halftone image data by performing shading processing on multi-tone original image data, and a) a plurality of pixel positions arranged in a matrix The relative value of the pixel value relative to the reference value using the first threshold value at each pixel position as a reference value based on the pixel value of the original image in FIG. Obtaining intermediate image data by obtaining an intermediate pixel value at each pixel position by obtaining a relationship indicating a specific size and applying the relationship to a common reference value common to the plurality of pixel positions. And b) for the plurality of pixel positions, by comparing the intermediate pixel value at each pixel position with a second threshold set for each pixel position based on the common reference value, During ~ Performing shading processing on the image data and a step of generating a halftone image data.

請求項11に記載の発明は、多階調の元画像データに網掛け処理を行ってハーフトーン画像データを生成するプログラムであって、前記プログラムのコンピュータによる実行は、前記コンピュータに、a)マトリクス状に配列された複数の画素位置における元画像の画素値と、前記複数の画素位置にそれぞれ対応して設定された複数の第1閾値とに基づいて、各画素位置の第1閾値を基準値として前記基準値に対する画素値の相対的な大きさを示す関係を求め、前記複数の画素位置において共通な共通基準値に対して前記関係を適用することにより、前記各画素位置の中間画素値を求めて中間画像データを生成する工程と、b)前記複数の画素位置について、前記各画素位置の前記中間画素値と、前記共通基準値に基づいて前記各画素位置に対して設定された第2閾値とを比較することにより、前記中間画像データに網掛け処理を行ってハーフトーン画像データを生成する工程とを実行させる。   The invention according to claim 11 is a program for generating halftone image data by performing a shading process on multi-tone original image data, and the computer executes the program in a) matrix Based on the pixel value of the original image at a plurality of pixel positions arranged in a shape and a plurality of first threshold values set corresponding to each of the plurality of pixel positions, the first threshold value at each pixel position is set as a reference value By calculating the relationship indicating the relative magnitude of the pixel value with respect to the reference value and applying the relationship to a common reference value common to the plurality of pixel positions, the intermediate pixel value at each pixel position is determined. Obtaining intermediate image data, and b) for each of the plurality of pixel positions, the intermediate pixel value at each pixel position and the pixel position based on the common reference value. And by comparing the second threshold value set, to execute a process of generating a halftone image data by performing shading processing on the intermediate image data.

本発明では、記録状態の変化に対する補正を容易に行うことができる。   In the present invention, it is possible to easily perform correction for a change in recording state.

一の実施の形態に係る画像記録装置の構成を示す図である。1 is a diagram illustrating a configuration of an image recording apparatus according to an embodiment. 吐出ユニットを示す底面図である。It is a bottom view which shows a discharge unit. 制御ユニットの構成を示す図である。It is a figure which shows the structure of a control unit. 制御ユニットの機能を示すブロック図である。It is a block diagram which shows the function of a control unit. 画像記録装置による画像記録の流れを示す図である。It is a figure which shows the flow of the image recording by an image recording device. 色成分画像および閾値マトリクスを示す図である。It is a figure which shows a color component image and a threshold value matrix. 閾値マトリクスを示す図である。It is a figure which shows a threshold value matrix. 繰り返し領域を示す図である。It is a figure which shows a repetition area | region. 第1閾値と画素値との関係を示す図である。It is a figure which shows the relationship between a 1st threshold value and a pixel value. 共通基準値と変換値との関係を示す図である。It is a figure which shows the relationship between a common reference value and a conversion value. 第1閾値と画素値との関係を示す図である。It is a figure which shows the relationship between a 1st threshold value and a pixel value. 共通基準値と変換値との関係を示す図である。It is a figure which shows the relationship between a common reference value and a conversion value. 第1閾値と画素値との関係を示す図である。It is a figure which shows the relationship between a 1st threshold value and a pixel value. 共通基準値と変換値との関係を示す図である。It is a figure which shows the relationship between a common reference value and a conversion value. 繰り返し領域を示す図である。It is a figure which shows a repetition area | region. ドット配置を示す図である。It is a figure which shows dot arrangement | positioning. ドット配置を示す図である。It is a figure which shows dot arrangement | positioning. ドット配置を示す図である。It is a figure which shows dot arrangement | positioning. 他の吐出ユニットを示す底面図である。It is a bottom view which shows another discharge unit. 他の制御ユニットの機能を示すブロック図である。It is a block diagram which shows the function of another control unit. 第1閾値要素と画素値との関係を示す図である。It is a figure which shows the relationship between a 1st threshold value element and a pixel value. 共通基準値要素と変換値との関係を示す図である。It is a figure which shows the relationship between a common reference value element and a conversion value.

図1は、本発明の一の実施の形態に係る画像記録装置1の構成を示す図である。画像記録装置1は、記録媒体9上にインクの微小液滴を吐出することにより、複数の記録媒体9上にカラー画像を順次記録する枚葉式の印刷装置(いわゆる、インクジェットプリンタ)である。記録媒体9は、例えば、印刷用紙である。   FIG. 1 is a diagram showing a configuration of an image recording apparatus 1 according to an embodiment of the present invention. The image recording apparatus 1 is a sheet-fed printing apparatus (so-called inkjet printer) that sequentially records color images on a plurality of recording media 9 by ejecting micro droplets of ink onto the recording medium 9. The recording medium 9 is, for example, printing paper.

図1では、互いに垂直な2つの水平方向をX方向およびY方向として示し、X方向およびY方向に垂直な上下方向をZ方向として示している。図1中のX方向およびY方向は必ずしも水平方向である必要はなく、同様に、Z方向も必ずしも上下方向である必要はない。すなわち、図1中の上側および下側は、必ずしも、重力方向の上側および下側に一致する必要はない。   In FIG. 1, two horizontal directions perpendicular to each other are shown as an X direction and a Y direction, and an up and down direction perpendicular to the X direction and the Y direction is shown as a Z direction. The X direction and the Y direction in FIG. 1 are not necessarily horizontal, and similarly, the Z direction is not necessarily vertical. That is, the upper side and the lower side in FIG. 1 do not necessarily need to coincide with the upper side and the lower side in the direction of gravity.

図1に示すように、画像記録装置1は、移動機構2と、吐出ユニット3と、供給部51と、排出部52と、制御ユニット4とを備える。移動機構2は、複数の記録媒体9を図1中の(+Y)方向である移動方向に移動する。吐出ユニット3は、移動機構2の上方((+Z)側)に配置され、図示省略のフレームに固定される。吐出ユニット3は、移動機構2による搬送途上の記録媒体9に向けてインクの微小液滴を吐出する。供給部51は、移動機構2に記録媒体9を供給する。排出部52は、印刷終了後の記録媒体9を移動機構2から受け取る。制御ユニット4は、移動機構2、吐出ユニット3、供給部51および排出部52等の機構を制御する。   As shown in FIG. 1, the image recording apparatus 1 includes a moving mechanism 2, a discharge unit 3, a supply unit 51, a discharge unit 52, and a control unit 4. The moving mechanism 2 moves the plurality of recording media 9 in the moving direction which is the (+ Y) direction in FIG. The discharge unit 3 is arranged above the moving mechanism 2 (on the (+ Z) side) and is fixed to a frame (not shown). The discharge unit 3 discharges fine droplets of ink toward the recording medium 9 being transported by the moving mechanism 2. The supply unit 51 supplies the recording medium 9 to the moving mechanism 2. The discharge unit 52 receives the recording medium 9 after printing from the moving mechanism 2. The control unit 4 controls mechanisms such as the moving mechanism 2, the discharge unit 3, the supply unit 51 and the discharge unit 52.

移動機構2は、複数のステージ21と、環状のガイド22と、ベルト駆動機構23とを備える。複数のステージ21は、それぞれが1枚のシート状の記録媒体9を吸着保持する。ガイド22は、複数のステージ21が接続されたベルトを内部に備え、複数のステージ21を案内する。ベルト駆動機構23は、ガイド22内のベルトを図1中における反時計回りに移動させることにより、記録媒体9を保持するステージ21を吐出ユニット3の下方(すなわち、(−Z)側)において(+Y)方向に移動する。   The moving mechanism 2 includes a plurality of stages 21, an annular guide 22, and a belt driving mechanism 23. Each of the plurality of stages 21 sucks and holds one sheet-like recording medium 9. The guide 22 internally includes a belt to which a plurality of stages 21 are connected, and guides the plurality of stages 21. The belt drive mechanism 23 moves the belt in the guide 22 counterclockwise in FIG. 1 to move the stage 21 holding the recording medium 9 below the discharge unit 3 (that is, on the (−Z) side) ( Move in the + Y) direction.

図2は吐出ユニット3を示す底面図である。吐出ユニット3は、それぞれが互いに異なる色のインクを記録媒体9に向けて吐出する複数(本実施の形態では、4個)の吐出部であるヘッド31を備え、これらのヘッド31は同様の構造を有する。複数のヘッド31はY方向(すなわち、記録媒体9の移動方向)に配列されて吐出ユニット3の取付部30に取り付けられる。各ヘッド31は、Y方向に垂直なX方向に配列される複数の吐出口33を有する。図2では、吐出口33の個数を実際によりも少なく描いている。なお、複数の吐出口33は、必ずしもX方向に配列される必要はなく、Y方向に対して交差する方向に沿って配列されていればよい。   FIG. 2 is a bottom view showing the discharge unit 3. The ejection unit 3 includes a plurality of heads 31 (four in the present embodiment) that eject different colors of ink toward the recording medium 9, and these heads 31 have the same structure. Have The plurality of heads 31 are arranged in the Y direction (that is, the moving direction of the recording medium 9) and attached to the attachment portion 30 of the ejection unit 3. Each head 31 has a plurality of ejection ports 33 arranged in the X direction perpendicular to the Y direction. In FIG. 2, the number of the discharge ports 33 is drawn less than the actual number. The plurality of discharge ports 33 are not necessarily arranged in the X direction, but may be arranged along a direction intersecting the Y direction.

図2中の最も(−Y)側のヘッド31は、ブラック(K)の色のインクを吐出する。ブラックのヘッド31の(+Y)側のヘッド31は、シアン(C)の色のインクを吐出する。シアンのヘッド31の(+Y)側のヘッド31は、マゼンタ(M)の色のインクを吐出する。最も(+Y)側のヘッド31は、イエロー(Y)の色のインクを吐出する。   The most (−Y) side head 31 in FIG. 2 ejects black (K) color ink. The head 31 on the (+ Y) side of the black head 31 ejects cyan (C) color ink. The head 31 on the (+ Y) side of the cyan head 31 ejects magenta (M) color ink. The most (+ Y) side head 31 ejects yellow (Y) color ink.

画像記録装置1では、X方向に関し、各ヘッド31が記録媒体9上の記録領域の全体に亘って(例えば、記録媒体9のX方向の全体に亘って)設けられる。そして、制御ユニット4の出力制御部41(図4参照)により吐出ユニット3と移動機構2とが制御され、記録媒体9が、吐出ユニット3の複数のヘッド31に対向する位置を(+Y)方向に1回のみ通過することにより、記録媒体9上にブラック、シアン、マゼンタ、イエローのインクが順に吐出されて記録媒体9への画像の記録が完了する。   In the image recording apparatus 1, each head 31 is provided over the entire recording area on the recording medium 9 (for example, over the entire X direction of the recording medium 9) in the X direction. Then, the output unit 41 (see FIG. 4) of the control unit 4 controls the discharge unit 3 and the moving mechanism 2, and the positions where the recording medium 9 faces the plurality of heads 31 of the discharge unit 3 are in the (+ Y) direction. In this case, black, cyan, magenta, and yellow inks are sequentially ejected onto the recording medium 9 to complete the image recording on the recording medium 9.

換言すれば、画像記録装置1では、記録媒体9上において上記移動方向に垂直な幅方向の全幅に亘って配列される複数のドット記録位置に、ドット出力部である吐出ユニット3における各ヘッド31の複数の吐出口33(図2参照)からインクの微小液滴が吐出されてドットが記録される。そして、記録媒体9上の当該複数のドット記録位置を、移動機構2により上記移動方向に記録媒体9に対して相対的に1回だけ移動させることにより、記録媒体9に対するシングルパス印刷が行われる。   In other words, in the image recording apparatus 1, each head 31 in the ejection unit 3, which is a dot output unit, is disposed at a plurality of dot recording positions arranged on the recording medium 9 over the entire width in the width direction perpendicular to the moving direction. Ink droplets are ejected from the plurality of ejection ports 33 (see FIG. 2) to record dots. Then, the plurality of dot recording positions on the recording medium 9 are moved only once relative to the recording medium 9 in the moving direction by the moving mechanism 2 to perform single pass printing on the recording medium 9. .

図3は、制御ユニット4の構成を示す図である。制御ユニット4は、各種演算処理を行うCPU401と、基本プログラムを記憶するROM402と、各種情報を記憶するRAM403とを含む一般的なコンピュータシステムの構成となっている。制御ユニット4は、情報記憶を行う固定ディスク404と、画像等の各種情報の表示を行うディスプレイ405と、操作者からの入力を受け付けるキーボード406aおよびマウス406bと、光ディスク、磁気ディスク、光磁気ディスク等のコンピュータ読み取り可能な記憶媒体8から情報の読み取りおよび書き込みを行う読取/書込装置407と、画像記録装置1の他の構成等との間で信号を送受信する通信部408とをさらに含む。   FIG. 3 is a diagram illustrating a configuration of the control unit 4. The control unit 4 has a general computer system configuration including a CPU 401 that performs various arithmetic processes, a ROM 402 that stores basic programs, and a RAM 403 that stores various information. The control unit 4 includes a fixed disk 404 for storing information, a display 405 for displaying various information such as images, a keyboard 406a and a mouse 406b for receiving input from an operator, an optical disk, a magnetic disk, a magneto-optical disk, and the like. A read / write device 407 that reads and writes information from the computer-readable storage medium 8 and a communication unit 408 that transmits and receives signals to and from other components of the image recording device 1.

制御ユニット4では、事前に読取/書込装置407を介して記憶媒体8からプログラム80が読み出されて固定ディスク404に記憶されている。CPU401は、プログラム80に従ってRAM403や固定ディスク404を利用しつつ演算処理を実行する。制御ユニット4の機能は専用の電気的回路により実現されてもよく、部分的に専用の電気的回路が用いられてもよい。   In the control unit 4, the program 80 is read from the storage medium 8 via the reading / writing device 407 in advance and stored in the fixed disk 404. The CPU 401 executes arithmetic processing using the RAM 403 and the fixed disk 404 according to the program 80. The function of the control unit 4 may be realized by a dedicated electrical circuit, or a partially dedicated electrical circuit may be used.

図4は、制御ユニット4の機能を示すブロック図である。図4では、制御ユニット4に接続される画像記録装置1の構成の一部を併せて示す。制御ユニット4は、上述の出力制御部41と、各種演算を行う演算部42とを備える。   FIG. 4 is a block diagram illustrating functions of the control unit 4. FIG. 4 also shows a part of the configuration of the image recording apparatus 1 connected to the control unit 4. The control unit 4 includes the above-described output control unit 41 and a calculation unit 42 that performs various calculations.

演算部42は、画像メモリ421と、複数のマトリクス記憶部422(SPM(Screen Pattern Memory)とも呼ばれる。)と、画像データ生成部423(ハーフトーン化回路)と、色成分画像生成部424とを備える。   The calculation unit 42 includes an image memory 421, a plurality of matrix storage units 422 (also referred to as SPM (Screen Pattern Memory)), an image data generation unit 423 (halftoning circuit), and a color component image generation unit 424. Prepare.

色成分画像生成部424は、外部から入力される多階調のカラー画像にグレイ置換(GCR(Gray Component Replacement))を行いつつ分版処理を施す。グレイ置換とは、各画素においてシアン、マゼンタおよびイエローのドットを重ねて表現されるグレイの部分を、ブラックのインクの濃淡で表現することにより、グレイの部分に付与されるシアン、マゼンタおよびイエローのインク量を低減する処理のことである。   The color component image generation unit 424 performs color separation processing while performing gray replacement (GCR (Gray Component Replacement)) on a multi-tone color image input from the outside. Gray replacement is a gray portion expressed by overlapping cyan, magenta, and yellow dots in each pixel by expressing the shade of black ink, thereby providing cyan, magenta, and yellow colors added to the gray portion. This is a process for reducing the amount of ink.

色成分画像生成部424による分版処理により、当該カラー画像に含まれる複数の色成分(すなわち、ブラック、シアン、マゼンタおよびイエロー)の階調画像である色成分画像が生成される。ブラック、シアン、マゼンタおよびイエローの各色成分の階調画像のデータ(以下、「色成分画像データ」という。)は、画像メモリ421に記憶される。複数のマトリクス記憶部422は、ブラック、シアン、マゼンタおよびイエローの各色成分に対応する閾値マトリクスがそれぞれ記憶されるメモリである。   By color separation processing by the color component image generation unit 424, a color component image that is a gradation image of a plurality of color components (that is, black, cyan, magenta, and yellow) included in the color image is generated. Data of the gradation image of each color component of black, cyan, magenta and yellow (hereinafter referred to as “color component image data”) is stored in the image memory 421. The plurality of matrix storage units 422 are memories that store threshold matrixes corresponding to black, cyan, magenta, and yellow color components, respectively.

図4に示すように、各マトリクス記憶部422には、閾値マトリクス81が記憶される。閾値マトリクス81は、不規則に配置されるドットの個数を変更することにより階調を表現するFM(Frequency Modulated)スクリーニングに用いられる。図4では1つのマトリクス記憶部422に記憶される閾値マトリクス81を図示しているが、他の色成分のマトリクス記憶部422にもそれぞれ、閾値マトリクス81が記憶される。以下の説明では、閾値マトリクス81に含まれる複数の閾値をそれぞれ「第1閾値」という。   As shown in FIG. 4, a threshold value matrix 81 is stored in each matrix storage unit 422. The threshold value matrix 81 is used for FM (Frequency Modulated) screening that expresses gradation by changing the number of irregularly arranged dots. In FIG. 4, the threshold value matrix 81 stored in one matrix storage unit 422 is illustrated, but the threshold value matrix 81 is also stored in each of the other color component matrix storage units 422. In the following description, each of the plurality of threshold values included in the threshold value matrix 81 is referred to as a “first threshold value”.

画像データ生成部423は、多階調の元画像データに網掛け処理を行ってハーフトーン画像データを生成する。画像データ生成部423は、中間画素値取得部425と、ハーフトーン画像データ生成部426とを備える。中間画素値取得部425は、各色成分について、色成分画像データと閾値マトリクス81とに基づいて中間画像データを生成する中間画像データ生成部である。中間画素値取得部425は、中間画像データの生成に利用される共通基準値を予め記憶する共通基準値記憶部427を備える。   The image data generation unit 423 generates halftone image data by performing a shading process on the multi-tone original image data. The image data generation unit 423 includes an intermediate pixel value acquisition unit 425 and a halftone image data generation unit 426. The intermediate pixel value acquisition unit 425 is an intermediate image data generation unit that generates intermediate image data for each color component based on the color component image data and the threshold value matrix 81. The intermediate pixel value acquisition unit 425 includes a common reference value storage unit 427 that stores in advance a common reference value used to generate intermediate image data.

ハーフトーン画像データ生成部426は、各色成分について、上述の中間画像データに網掛け処理を行って、画像記録装置1において画像の記録に利用されるハーフトーン画像データを生成する。ハーフトーン画像データ生成部426は、ハーフトーン画像データの生成に利用される第2閾値を記憶する第2閾値記憶部428を備える。なお、中間画素値取得部425およびハーフトーン画像データ生成部426はそれぞれソフトウェアにて実現されてもよい。   The halftone image data generation unit 426 performs a halftone process on the above-described intermediate image data for each color component, and generates halftone image data used for image recording in the image recording apparatus 1. The halftone image data generation unit 426 includes a second threshold storage unit 428 that stores a second threshold used to generate halftone image data. Note that the intermediate pixel value acquisition unit 425 and the halftone image data generation unit 426 may each be realized by software.

出力制御部41は、吐出制御部411と、移動制御部412とを備える。移動制御部412は、画像データ生成部423からの出力に基づいて、移動機構2による記録媒体9の吐出ユニット3に対する相対移動を制御する。吐出制御部411は、画像データ生成部423からの出力に基づいて、記録媒体9の相対移動に同期して各ヘッド31の複数の吐出口33(図2参照)からのインクの吐出を制御する。換言すれば、出力制御部41は、記録媒体9上の複数のドット記録位置の記録媒体9に対する相対移動に並行して、画像データ生成部423により生成されたハーフトーン画像データに基づいて、吐出ユニット3の出力制御を行う。   The output control unit 41 includes a discharge control unit 411 and a movement control unit 412. The movement control unit 412 controls the relative movement of the recording medium 9 with respect to the ejection unit 3 by the movement mechanism 2 based on the output from the image data generation unit 423. The ejection control unit 411 controls the ejection of ink from the plurality of ejection ports 33 (see FIG. 2) of each head 31 in synchronization with the relative movement of the recording medium 9 based on the output from the image data generation unit 423. . In other words, the output control unit 41 performs ejection based on the halftone image data generated by the image data generation unit 423 in parallel with the relative movement of the plurality of dot recording positions on the recording medium 9 with respect to the recording medium 9. The output control of unit 3 is performed.

次に、画像記録装置1が画像を記録する動作について、図5を参照しつつ説明する。図5は1枚の記録媒体9に注目した画像記録の流れを示している。画像記録装置1では、4つの色成分画像の網掛け処理に利用される4つの閾値マトリクス81が、図4に示す演算部42の4つのマトリクス記憶部422にそれぞれ記憶される。また、外部のコンピュータから多階調のカラー画像のデータが色成分画像生成部424に入力される。当該カラー画像の各色成分の階調値(すなわち、各色成分画像の各画素が取り得る画素値)は、0から255である。階調値0は、画像濃度0%に対応し、インクのドットが形成されないことにより表現される。階調値255は、画像濃度100%(ベタ)に対応する。   Next, the operation of the image recording apparatus 1 for recording an image will be described with reference to FIG. FIG. 5 shows a flow of image recording focusing on one recording medium 9. In the image recording apparatus 1, four threshold value matrices 81 used for the shading process of four color component images are respectively stored in the four matrix storage units 422 of the calculation unit 42 shown in FIG. In addition, multi-tone color image data is input to the color component image generation unit 424 from an external computer. The gradation value of each color component of the color image (that is, the pixel value that each pixel of each color component image can take) is 0 to 255. A gradation value of 0 corresponds to an image density of 0% and is expressed by no ink dots being formed. The gradation value 255 corresponds to an image density of 100% (solid).

続いて、色成分画像生成部424により、多階調のカラー画像にグレイ置換を行いつつ分版処理が施される。これにより、ブラックの色成分画像データ、シアンの色成分画像データ、マゼンタの色成分画像データ、および、イエローの色成分画像データが生成される(ステップS11)。色成分画像生成部424により生成された各色成分の色成分画像データは、画像メモリ421に格納される。各色成分の階調画像を示す色成分画像データは、各色成分の元画像を示す元画像データである。なお、ステップS11における分版処理では、グレイ置換は行われなくてもよい。   Subsequently, the color component image generation unit 424 performs color separation processing while performing gray replacement on the multi-tone color image. Thereby, black color component image data, cyan color component image data, magenta color component image data, and yellow color component image data are generated (step S11). The color component image data of each color component generated by the color component image generation unit 424 is stored in the image memory 421. The color component image data indicating the gradation image of each color component is original image data indicating the original image of each color component. In the color separation process in step S11, gray replacement need not be performed.

色成分画像データが生成されると、各色成分について、色成分画像データと閾値マトリクス81とに基づいて、階調画像データである中間画像データが中間画素値取得部425により生成される(ステップS12)。   When the color component image data is generated, the intermediate pixel value acquisition unit 425 generates intermediate image data that is gradation image data based on the color component image data and the threshold value matrix 81 for each color component (step S12). ).

図6は、中間画像データの生成について説明するために、階調画像である色成分画像および閾値マトリクスを抽象的に示す図である。閾値マトリクス81では、記録媒体9の幅方向に対応する行方向(図6中にてx方向として示す。)、および、移動方向に対応する列方向(図6中にてy方向として示す。)に複数のマトリクス要素が配列されており、色成分画像70においても行方向および列方向に複数の画素が配列されている。   FIG. 6 is a diagram abstractly showing a color component image that is a gradation image and a threshold matrix in order to explain the generation of intermediate image data. In the threshold matrix 81, a row direction corresponding to the width direction of the recording medium 9 (shown as x direction in FIG. 6) and a column direction corresponding to the moving direction (shown as y direction in FIG. 6). In the color component image 70, a plurality of pixels are arranged in the row direction and the column direction.

中間画像データの生成の際には、色成分画像70を、図6に示すように、同一の大きさの多数の領域に分割して繰り返し領域71が設定される。図4に示すマトリクス記憶部422は1つの繰り返し領域71に相当する記憶領域を有し、この記憶領域の各アドレス(座標)に第1閾値が設定されることにより閾値マトリクス81を記憶している。   When the intermediate image data is generated, the color component image 70 is divided into a number of regions having the same size as shown in FIG. The matrix storage unit 422 shown in FIG. 4 has a storage area corresponding to one repetitive area 71, and stores a threshold value matrix 81 by setting a first threshold value for each address (coordinate) of this storage area. .

そして、概念的には色成分画像70の各繰り返し領域71と閾値マトリクス81とを重ね合わせ、繰り返し領域71の各画素の画素値と閾値マトリクス81の対応する第1閾値とに基づいて、各画素における第1閾値に対する画素値の相対的な大きさを示す関係が求められる。続いて、全ての画素に共通な共通基準値が共通基準値記憶部427から読み出され、各画素における上記関係が共通基準値に対して適用されることにより、各画素の中間画素値が求められる。全ての繰り返し領域71の各画素について中間画素値が求められることにより、中間画像データが生成される。上述の繰り返し領域71の各画素の画素値は、出力画像の領域であるハーフトーン画像領域においてマトリクス状に配列された複数の画素位置(すなわち、複数の描画位置)における色成分画像70の画素値である。   Conceptually, each repetition area 71 of the color component image 70 and the threshold matrix 81 are overlapped, and each pixel is determined based on the pixel value of each pixel in the repetition area 71 and the first threshold value corresponding to the threshold matrix 81. A relationship indicating the relative magnitude of the pixel value with respect to the first threshold value is obtained. Subsequently, a common reference value common to all the pixels is read from the common reference value storage unit 427, and the above relationship in each pixel is applied to the common reference value, thereby obtaining an intermediate pixel value of each pixel. It is done. Intermediate image data is generated by obtaining an intermediate pixel value for each pixel in all the repeating regions 71. The pixel value of each pixel in the repetitive area 71 described above is the pixel value of the color component image 70 at a plurality of pixel positions (that is, a plurality of drawing positions) arranged in a matrix in the halftone image area that is an output image area. It is.

中間画素値の具体的な算出方法について、図7に例示する閾値マトリクス81を用いて説明する。図7では、閾値マトリクス81に含まれる第1閾値の数を実際よりも少なく描いている。図7に係る説明では、色成分画像70において取り得る画素値の最小値Pmin1および最大値Pmax1はそれぞれ「0」および「16」であり、共通基準値記憶部427に予め記憶されている共通基準値Tbは「8」であり、中間画像において取り得る画素値の最小値Pmin2および最大値Pmax2はそれぞれ「0」および「16」であるものとする。すなわち、図7に係る例では、元画像データの階調数を示すビット数(この場合、4ビット)と、中間画像データの階調数を示すビット数とが等しい。また、図7に係る例では、共通基準値Tbは、中間画像データの最小階調値Pmin2と最大階調値Pmax2との間の中央値である。   A specific calculation method of the intermediate pixel value will be described using a threshold matrix 81 illustrated in FIG. In FIG. 7, the number of first threshold values included in the threshold value matrix 81 is drawn smaller than the actual number. In the description according to FIG. 7, the minimum value Pmin1 and the maximum value Pmax1 of the pixel values that can be taken in the color component image 70 are “0” and “16”, respectively, and the common reference stored in the common reference value storage unit 427 in advance. The value Tb is “8”, and the minimum value Pmin2 and the maximum value Pmax2 of the pixel values that can be taken in the intermediate image are “0” and “16”, respectively. That is, in the example according to FIG. 7, the number of bits indicating the number of gradations of the original image data (in this case, 4 bits) is equal to the number of bits indicating the number of gradations of the intermediate image data. In the example according to FIG. 7, the common reference value Tb is a median value between the minimum gradation value Pmin2 and the maximum gradation value Pmax2 of the intermediate image data.

色成分画像70の繰り返し領域71の全ての画素の画素値Psが、図8に示すように「5」であるとすると、最も左上の画素では、第1閾値Taである「4」を基準値として、当該基準値に対する画素値Psである「5」の相対的な大きさを示す関係が、図9に示すように求められる。図9では、画素値Psを中空三角形にて示す(図11および図13においても同様)。図9では、第1閾値Taに対する画素値Psの相対位置が、当該関係を示す。そして、共通基準値Tbである「8」に対して当該関係を適用することにより、図10に示すように、変換値Pcが求められる。図10では、変換値Pcを中実三角形にて示す(図12および図14においても同様)。図10における共通基準値Tbに対する変換値Pcの相対位置は、図9における第1閾値Taに対する画素値Psの相対位置におよそ等しい。   Assuming that the pixel value Ps of all the pixels in the repetitive area 71 of the color component image 70 is “5” as shown in FIG. 8, the uppermost pixel is “4” that is the first threshold Ta. As shown in FIG. 9, a relationship indicating the relative magnitude of “5” that is the pixel value Ps with respect to the reference value is obtained. In FIG. 9, the pixel value Ps is indicated by a hollow triangle (the same applies to FIGS. 11 and 13). In FIG. 9, the relative position of the pixel value Ps with respect to the first threshold Ta indicates the relationship. Then, by applying the relationship to “8” that is the common reference value Tb, the conversion value Pc is obtained as shown in FIG. In FIG. 10, the conversion value Pc is indicated by a solid triangle (the same applies to FIGS. 12 and 14). The relative position of the conversion value Pc with respect to the common reference value Tb in FIG. 10 is approximately equal to the relative position of the pixel value Ps with respect to the first threshold value Ta in FIG.

図9に示すように、画素値Psが第1閾値Ta以上である場合、変換値Pcは、例えば、数1により「8.67」と求められる。また、中間画素値Pmは、例えば、変換値Pcの整数部分である「8」と求められる。   As illustrated in FIG. 9, when the pixel value Ps is equal to or greater than the first threshold value Ta, the conversion value Pc is obtained as “8.67” by Equation 1, for example. Further, the intermediate pixel value Pm is obtained, for example, as “8” which is an integer part of the conversion value Pc.

(数1)
Pc=(Ps−Ta)×(Pmax2−Tb)/(Pmax1−Ta)+Tb
(Equation 1)
Pc = (Ps−Ta) × (Pmax2−Tb) / (Pmax1−Ta) + Tb

図7および図8に示す最も上の行の左から2番目の画素では、第1閾値Taである「9」を基準値として、当該基準値に対する画素値Psである「5」の相対的な大きさを示す関係が、図11に示すように求められる。図11では、第1閾値Taに対する画素値Psの相対位置が、当該関係を示す。そして、共通基準値Tbである「8」に対して当該関係を適用することにより、図12に示すように、変換値Pcが求められる。図12における共通基準値Tbに対する変換値Pcの相対位置は、図11における第1閾値Taに対する画素値Psの相対位置におよそ等しい。   In the second pixel from the left in the uppermost row shown in FIGS. 7 and 8, the first threshold value “9” is used as a reference value, and the relative value of “5” that is the pixel value Ps with respect to the reference value is set. The relationship indicating the magnitude is obtained as shown in FIG. In FIG. 11, the relative position of the pixel value Ps with respect to the first threshold Ta indicates the relationship. Then, by applying the relationship to “8” that is the common reference value Tb, the conversion value Pc is obtained as shown in FIG. The relative position of the conversion value Pc with respect to the common reference value Tb in FIG. 12 is approximately equal to the relative position of the pixel value Ps with respect to the first threshold value Ta in FIG.

図11に示すように、画素値Psが第1閾値Taよりも小さい場合、変換値Pcは、例えば、数2により「4.44」と求められる。また、中間画素値Pmは、例えば、変換値Pcの整数部分である「4」と求められる。   As illustrated in FIG. 11, when the pixel value Ps is smaller than the first threshold Ta, the conversion value Pc is obtained as “4.44” by Equation 2, for example. Further, the intermediate pixel value Pm is obtained as, for example, “4” which is an integer part of the conversion value Pc.

(数2)
Pc=Ps×Tb/Ta
(Equation 2)
Pc = Ps × Tb / Ta

図7および図8に示す最も上の行の左から3番目の画素では、第1閾値Taである「2」を基準値として、当該基準値に対する画素値Psである「5」の相対的な大きさを示す関係が、図13に示すように求められる。図13では、第1閾値Taに対する画素値Psの相対位置が、当該関係を示す。そして、共通基準値Tbである「8」に対して当該関係を適用することにより、図14に示すように、変換値Pcが求められる。図14における共通基準値Tbに対する変換値Pcの相対位置は、図13における第1閾値Taに対する画素値Psの相対位置におよそ等しい。   In the third pixel from the left in the uppermost row shown in FIG. 7 and FIG. 8, the relative value of “5” that is the pixel value Ps with respect to the reference value is set with “2” that is the first threshold Ta as the reference value. The relationship indicating the magnitude is obtained as shown in FIG. In FIG. 13, the relative position of the pixel value Ps with respect to the first threshold value Ta indicates the relationship. Then, by applying the relationship to “8” that is the common reference value Tb, the conversion value Pc is obtained as shown in FIG. The relative position of the conversion value Pc with respect to the common reference value Tb in FIG. 14 is approximately equal to the relative position of the pixel value Ps with respect to the first threshold value Ta in FIG.

図13に示すように、画素値Psが第1閾値Ta以上である場合、変換値Pcは、例えば、上述の数1により「9.71」と求められる。また、中間画素値Pmは、例えば、変換値Pcの整数部分である「9」と求められる。中間画素値取得部425では、繰り返し領域71の全ての画素について、画素値Psと第1閾値Taとに基づいて、図15に示すように中間画素値Pmが求められる。そして、全ての繰り返し領域71の各画素について中間画素値Pmが求められることにより、中間画像データが生成される。   As illustrated in FIG. 13, when the pixel value Ps is equal to or greater than the first threshold value Ta, the conversion value Pc is obtained as “9.71” by the above equation 1, for example. Further, the intermediate pixel value Pm is obtained as, for example, “9” that is an integer part of the conversion value Pc. In the intermediate pixel value acquisition unit 425, the intermediate pixel value Pm is obtained for all the pixels in the repetitive region 71 based on the pixel value Ps and the first threshold value Ta as shown in FIG. Then, intermediate image data is generated by obtaining the intermediate pixel value Pm for each pixel in all the repetitive regions 71.

このように、中間画素値取得部425による中間画像データの生成(ステップS12)では、上述のハーフトーン画像領域の複数の画素位置における元画像の画素値Psと、当該複数の画素位置にそれぞれ対応して設定された閾値マトリクス81の複数の第1閾値Taとに基づいて、各画素位置の第1閾値Taを基準値として当該基準値に対する元画像の画素値Psの相対的な大きさを示す関係が求められる。そして、ハーフトーン画像領域の複数の画素位置において共通な共通基準値Tbに対して当該関係を適用することにより、各画素位置の中間画素値Pmが求められて中間画像データが生成される。制御ユニット4では、好ましくは、中間画素値取得部425における中間画像データの生成は、グラフィックス・プロセッシング・ユニット(GPU(Graphics Processing Unit))により行われる。   As described above, the generation of the intermediate image data by the intermediate pixel value acquisition unit 425 (step S12) corresponds to the pixel value Ps of the original image at the plurality of pixel positions in the halftone image region and the plurality of pixel positions, respectively. Based on the plurality of first threshold values Ta of the threshold value matrix 81 set as above, the first threshold value Ta of each pixel position is used as a reference value, and the relative magnitude of the pixel value Ps of the original image with respect to the reference value is indicated. A relationship is required. Then, by applying the relationship to the common reference value Tb common to a plurality of pixel positions in the halftone image region, the intermediate pixel value Pm at each pixel position is obtained, and intermediate image data is generated. In the control unit 4, generation of intermediate image data in the intermediate pixel value acquisition unit 425 is preferably performed by a graphics processing unit (GPU (Graphics Processing Unit)).

中間画像データが生成されると、ハーフトーン画像データ生成部426により、上記複数の画素位置について、中間画像データにおける各画素位置の中間画素値Pmと、第2閾値記憶部428に予め記憶されている第2閾値Tcとが比較される。第2閾値Tcの詳細については後述する。そして、中間画素値Pmが第2閾値Tc以上である画素位置には、ハーフトーン画素値「1」が付与される。また、中間画素値Pmが第2閾値Tcよりも小さい画素位置には、ハーフトーン画素値「0」が付与される。このように、ハーフトーン画像データ生成部426では、第2閾値Tcを利用して中間画像データに網掛け処理を行うことにより、ハーフトーン画像データが生成される(ステップS13)。   When the intermediate image data is generated, the halftone image data generation unit 426 stores in advance the intermediate pixel value Pm at each pixel position in the intermediate image data and the second threshold storage unit 428 for the plurality of pixel positions. The second threshold value Tc is compared. Details of the second threshold Tc will be described later. Then, a halftone pixel value “1” is given to a pixel position where the intermediate pixel value Pm is equal to or greater than the second threshold value Tc. Also, a halftone pixel value “0” is assigned to a pixel position where the intermediate pixel value Pm is smaller than the second threshold value Tc. As described above, the halftone image data generation unit 426 generates halftone image data by performing the shading process on the intermediate image data using the second threshold value Tc (step S13).

画像記録装置1では、多階調のカラー画像に含まれる複数の色成分の画像にそれぞれ対応する複数のハーフトーン画像データが生成される。実際には、上記カラー画像のうち最初に印刷される部分の各色成分のハーフトーン画像データが生成されて準備されると、図4に示す出力制御部41の移動制御部412により移動機構2が制御され、図1に示す記録媒体9の移動方向への移動が開始される(ステップS14)。   In the image recording apparatus 1, a plurality of halftone image data respectively corresponding to a plurality of color component images included in a multi-tone color image is generated. Actually, when the halftone image data of each color component of the first printed portion of the color image is generated and prepared, the movement mechanism 2 is moved by the movement control unit 412 of the output control unit 41 shown in FIG. Under the control, the movement of the recording medium 9 shown in FIG. 1 in the moving direction is started (step S14).

そして、記録媒体9の移動に同期しつつ、吐出ユニット3の複数のヘッド31が、対応する色成分のハーフトーン画像データに基づいて出力制御部41の吐出制御部411により制御されることにより、各色成分のドットによるハーフトーン画像が記録媒体9上に記録される(ステップS15)。具体的には、上述のハーフトーン画素値が「1」であるハーフトーン画像領域の画素位置(すなわち、記録媒体9上の記録画素)に、インクの微小液滴が吐出されてドットが形成される。また、ハーフトーン画素値が「0」である画素位置には、ドットは形成されない。各色成分のハーフトーン画像の記録は、上述のハーフトーン画像データの生成に並行して行われる。   The plurality of heads 31 of the discharge unit 3 are controlled by the discharge control unit 411 of the output control unit 41 based on the halftone image data of the corresponding color component while synchronizing with the movement of the recording medium 9. A halftone image by dots of each color component is recorded on the recording medium 9 (step S15). Specifically, a fine droplet of ink is ejected to form a dot at a pixel position in the halftone image area where the halftone pixel value is “1” (that is, a recording pixel on the recording medium 9). The Also, no dot is formed at the pixel position where the halftone pixel value is “0”. The recording of the halftone image of each color component is performed in parallel with the generation of the halftone image data described above.

画像記録装置1では、既述のように記録媒体9は供給部51により逐次供給されるとともに画像記録後に排出部52に回収される。所望の枚数の記録媒体9上にハーフトーン画像の全体が記録されると、記録媒体9の供給が停止され、画像記録動作が終了する(ステップS16)。   In the image recording apparatus 1, as described above, the recording medium 9 is sequentially supplied by the supply unit 51 and is collected by the discharge unit 52 after image recording. When the entire halftone image is recorded on the desired number of recording media 9, the supply of the recording media 9 is stopped and the image recording operation is terminated (step S16).

次に、第2閾値記憶部428に記憶されている第2閾値Tcについて説明する。第2閾値Tcは、画像記録装置1による画像の記録が開始されるよりも前に、あるいは、複数の記録媒体9に対する画像の記録を一時的に中断した際に、共通基準値Tbに基づいて設定される。第2閾値Tcは、ハーフトーン画像領域の各画素位置に対して設定可能である。   Next, the second threshold value Tc stored in the second threshold value storage unit 428 will be described. The second threshold value Tc is based on the common reference value Tb before the image recording by the image recording apparatus 1 is started or when the image recording on the plurality of recording media 9 is temporarily interrupted. Is set. The second threshold value Tc can be set for each pixel position in the halftone image area.

第2閾値Tcは、連続的な画像記録によるヘッド31(図2参照)の温度上昇、ヘッド31の温度上昇に伴うインクの温度上昇および記録媒体9の温度上昇、ヘッド31の周囲におけるインクミストの密度変化等、記録状態の変化による画像記録結果(すなわち、印刷結果)の変化を抑制するように設定される。例えば、記録媒体9や試験用媒体に試験的に記録された画像が、全体的に所望の濃度よりも濃くなっている場合、ハーフトーン画像領域の全ての画素位置に対して、共通基準値Tbよりも大きく、かつ、互いに等しい第2閾値Tcが一括して設定される。図9ないし図14に係る例では共通基準値Tbは「8」であり、全画素位置に対して、例えば、共通基準値Tbに「1」を加えた「9」が第2閾値Tcとして設定される。第2閾値Tcは、例えば、作業者によりキーボード406aを介して入力される。   The second threshold value Tc is a temperature rise of the head 31 (see FIG. 2) due to continuous image recording, a temperature rise of ink and a temperature rise of the recording medium 9 due to the temperature rise of the head 31, and the ink mist around the head 31. It is set so as to suppress a change in image recording result (that is, a printing result) due to a change in recording state such as a density change. For example, when an image recorded on a test medium on the recording medium 9 or a test medium is darker than a desired density as a whole, the common reference value Tb is used for all pixel positions in the halftone image area. The second threshold value Tc that is greater than and equal to each other is set in a lump. In the examples according to FIGS. 9 to 14, the common reference value Tb is “8”, and “9” obtained by adding “1” to the common reference value Tb is set as the second threshold value Tc for all pixel positions. Is done. The second threshold value Tc is input by the operator via the keyboard 406a, for example.

一方、画像が全体的に所望の濃度よりも薄くなっている場合、例えば、ハーフトーン画像領域の全ての画素位置に対して、共通基準値Tbよりも小さく、かつ、互いに等しい第2閾値Tcが一括して設定される。図9ないし図14に係る例では共通基準値Tbは「8」であり、全画素位置に対して、例えば、共通基準値Tbから「2」を減じた「6」が第2閾値Tcとして設定される。   On the other hand, when the image is entirely lighter than the desired density, for example, the second threshold value Tc that is smaller than the common reference value Tb and equal to each other for all pixel positions in the halftone image region. Set all at once. In the examples according to FIGS. 9 to 14, the common reference value Tb is “8”, and “6” obtained by subtracting “2” from the common reference value Tb is set as the second threshold value Tc for all pixel positions. Is done.

また、画像が所望の濃度である場合、例えば、ハーフトーン画像領域の全ての画素位置に対して、共通基準値Tbに等しく、かつ、互いに等しい第2閾値Tcが一括して設定される。図9ないし図14に係る例では共通基準値Tbは「8」であり、全画素位置に対して、共通基準値Tbに等しい「8」が第2閾値Tcとして設定される。   When the image has a desired density, for example, second threshold values Tc that are equal to the common reference value Tb and equal to each other are collectively set for all pixel positions in the halftone image region. In the examples according to FIGS. 9 to 14, the common reference value Tb is “8”, and “8” equal to the common reference value Tb is set as the second threshold value Tc for all pixel positions.

図16ないし図18は、ハーフトーン画像領域の全ての画素位置に同一の第2閾値Tcが一括して設定される場合(すなわち、ハーフトーン画像領域の複数の画素位置に対して設定された全ての第2閾値Tcが等しい場合)について、第2閾値Tcの変化によるハーフトーン画像の変化を示す図である。   16 to 18 show a case where the same second threshold value Tc is set at a time for all pixel positions in the halftone image region (that is, all the pixel values set for a plurality of pixel positions in the halftone image region). FIG. 6 is a diagram illustrating a change in the halftone image due to a change in the second threshold value Tc.

図16は、全画素位置に対して設定された第2閾値Tcが、共通基準値Tbと等しい「8」である場合のハーフトーン画像を示す図である。図16では、左上側の5つの画素位置にドット92が形成される。図16では、ドット92が形成される画素位置に平行斜線を付す(図17および図18においても同様)。図16に示すドット92の配置は、仮に中間画像データを生成することなく、図7に示す閾値マトリクス81と図8に示す元画像の繰り返し領域71とを比較し、繰り返し領域71の画素値が閾値マトリクス81の第1閾値以上である画素位置にドットを形成した場合と同様である。すなわち、図16に示すドット92の配置は、元画像データを閾値マトリクス81を用いて網点化した場合と同様のドット配置である。   FIG. 16 is a diagram illustrating a halftone image when the second threshold value Tc set for all pixel positions is “8” equal to the common reference value Tb. In FIG. 16, dots 92 are formed at the five upper left pixel positions. In FIG. 16, parallel diagonal lines are added to the pixel positions where the dots 92 are formed (the same applies to FIGS. 17 and 18). The arrangement of the dots 92 shown in FIG. 16 compares the threshold value matrix 81 shown in FIG. 7 with the repetition area 71 of the original image shown in FIG. 8 without generating intermediate image data, and the pixel value of the repetition area 71 is This is the same as when dots are formed at pixel positions that are equal to or higher than the first threshold value in the threshold matrix 81. That is, the arrangement of the dots 92 shown in FIG. 16 is the same as that in the case where the original image data is converted into halftone dots using the threshold value matrix 81.

図17は、画像が全体的に所望の濃度よりも濃くなっていることに対応して、全画素位置に対して共通基準値Tbよりも「1」だけ大きい「9」を第2閾値Tcとして設定した場合のハーフトーン画像を示す図である。図17では、図16に示す5つのドット92のうち2つのドット92が形成されず、3つのドット92が形成される。これにより、記録媒体9に記録される画像の濃度を全体的に薄く補正して、所望の濃度に近づけることができる。   In FIG. 17, “9”, which is larger by “1” than the common reference value Tb with respect to all the pixel positions as the second threshold value Tc, corresponding to the fact that the image is darker than the desired density as a whole. It is a figure which shows the halftone image at the time of setting. In FIG. 17, two dots 92 are not formed among the five dots 92 shown in FIG. 16, and three dots 92 are formed. As a result, the overall density of the image recorded on the recording medium 9 can be corrected to be close to a desired density.

図18は、画像が全体的に所望の濃度よりも薄くなっていることに対応して、全画素位置に対して共通基準値Tbよりも「2」だけ小さい「6」を第2閾値Tcとして設定した場合のハーフトーン画像を示す図である。図17では、図16に示す5つのドット92に加え、右下の1つのドット92も形成される。これにより、記録媒体9に記録される画像の濃度を全体的に濃く補正して、所望の濃度に近づけることができる。   In FIG. 18, “6”, which is smaller by “2” than the common reference value Tb with respect to all the pixel positions as the second threshold value Tc, corresponding to the fact that the image is entirely lighter than the desired density. It is a figure which shows the halftone image at the time of setting. In FIG. 17, in addition to the five dots 92 shown in FIG. 16, one dot 92 at the lower right is also formed. As a result, the density of the image recorded on the recording medium 9 can be corrected to be high overall, and can be brought close to the desired density.

以上に説明したように、画像データ生成部423では、中間画素値取得部425により、複数の画素位置における元画像の画素値Psと、当該複数の画素位置にそれぞれ対応して設定された複数の第1閾値Taとに基づいて、各画素位置の第1閾値Taを基準値として当該基準値に対する画素値Psの相対的な大きさを示す関係が求められる。そして、当該複数の画素位置において共通な共通基準値Tbに対して当該関係が適用されることにより、各画素位置の中間画素値Pmが求められて中間画像データが生成される。また、ハーフトーン画像データ生成部426により、上記複数の画素位置について、各画素位置の中間画素値Pmと、共通基準値Tbに基づいて各画素位置に対して設定された第2閾値Tcとが比較されることにより、中間画像データに網掛け処理が行われてハーフトーン画像データが生成される。   As described above, in the image data generation unit 423, the intermediate pixel value acquisition unit 425 has a plurality of pixel values Ps of the original image at a plurality of pixel positions and a plurality of pixel values respectively set corresponding to the plurality of pixel positions. Based on the first threshold value Ta, the relationship indicating the relative magnitude of the pixel value Ps with respect to the reference value is obtained using the first threshold value Ta at each pixel position as a reference value. Then, by applying the relationship to the common reference value Tb common to the plurality of pixel positions, the intermediate pixel value Pm at each pixel position is obtained and intermediate image data is generated. In addition, for the plurality of pixel positions, the halftone image data generation unit 426 generates an intermediate pixel value Pm at each pixel position and a second threshold value Tc set for each pixel position based on the common reference value Tb. By the comparison, halftone image data is generated by performing a shading process on the intermediate image data.

これにより、画像記録装置1の記録状態が変化した際等に、元画像データ(すなわち、複数の色成分画像データ)や閾値マトリクスを補正する場合に比べて、記録媒体9に記録される画像の濃度を容易に補正することができる。換言すれば、画像データ生成部423では、記録媒体9に記録される画像の濃度について、記録状態の変化に対する補正を容易に行うことができる。また、画像データ生成部423では、共通基準値Tbに基づいて設定された第2閾値Tcを変更することにより、記録媒体9上に記録される画像の濃度補正が行われるため、補正前に比べて画像をどのように補正したのかという補正内容を、共通基準値Tbと第2閾値Tcとを比較することにより、容易に把握することができる。さらに、第2閾値Tcが同一の画素位置群が存在する場合、当該画素位置群に対して1つの第2閾値Tcのみを第2閾値記憶部428に保持するのみでよいため、補正された元画像データや補正された閾値マトリクスを記憶する場合に比べて、第2閾値記憶部428に記憶されるデータ量を抑制することができる。   Thereby, when the recording state of the image recording apparatus 1 is changed, the image recorded on the recording medium 9 is compared with the case where the original image data (that is, a plurality of color component image data) and the threshold matrix are corrected. The density can be easily corrected. In other words, the image data generation unit 423 can easily correct the density of the image recorded on the recording medium 9 with respect to the change in the recording state. Further, in the image data generation unit 423, the density of the image recorded on the recording medium 9 is corrected by changing the second threshold value Tc set based on the common reference value Tb. By comparing the common reference value Tb and the second threshold value Tc, it is possible to easily grasp the correction content indicating how the image has been corrected. Further, when there are pixel position groups having the same second threshold value Tc, only one second threshold value Tc needs to be stored in the second threshold value storage unit 428 for the pixel position group. Compared to storing image data or a corrected threshold matrix, the amount of data stored in the second threshold storage unit 428 can be reduced.

図16ないし図18に示す例では、複数の画素位置に対して設定された全ての第2閾値Tcが等しい。したがって、第2閾値記憶部428に記憶されるデータ量をさらに抑制することができる。また、補正内容の把握をより容易とすることができる。   In the examples shown in FIGS. 16 to 18, all the second threshold values Tc set for the plurality of pixel positions are equal. Therefore, the amount of data stored in the second threshold storage unit 428 can be further suppressed. Further, it is possible to make it easier to grasp the correction contents.

上述のように、画像データ生成部423では、中間画素値取得部425における中間画像データの生成が、グラフィックス・プロセッシング・ユニット(GPU)により行われる。これにより、中間画像データの生成を高速化することができる。   As described above, in the image data generation unit 423, the intermediate image data generation in the intermediate pixel value acquisition unit 425 is performed by the graphics processing unit (GPU). Thereby, the generation of the intermediate image data can be speeded up.

図7ないし図15に示す例では、元画像データの階調数を示すビット数と、中間画像データの階調数を示すビット数とが等しい。これにより、中間画像データに対する網掛けを高解像度にて行うことができる。その結果、記録媒体9上に記録される画像の濃度補正を高精度に行うことができる。   In the examples shown in FIGS. 7 to 15, the number of bits indicating the number of gradations of the original image data is equal to the number of bits indicating the number of gradations of the intermediate image data. As a result, the intermediate image data can be shaded with high resolution. As a result, the density correction of the image recorded on the recording medium 9 can be performed with high accuracy.

図7ないし図15に示す例では、共通基準値Tbが、中間画像データの最小階調値Pmin2と最大階調値Pmax2との間の中央値である。これにより、記録媒体9上の画像の濃度を減少させる補正と、増加させる補正とを同様に行うことができる。   In the example shown in FIGS. 7 to 15, the common reference value Tb is a median value between the minimum gradation value Pmin2 and the maximum gradation value Pmax2 of the intermediate image data. Thereby, the correction for decreasing the density of the image on the recording medium 9 and the correction for increasing the image density can be performed in the same manner.

図7ないし図15に示す例では、変換値Pcが、画素値Psおよび第1閾値Taに基づいて数1および数2を用いて求められ、中間画素値Pmが変換値Pcに基づいて求められる。これにより、画素値Psと第1閾値Taとの関係を、中間画素値Pmと共通基準値Tbとの関係に精度良く反映することができる。   In the example shown in FIGS. 7 to 15, the conversion value Pc is obtained using Equation 1 and Equation 2 based on the pixel value Ps and the first threshold Ta, and the intermediate pixel value Pm is obtained based on the conversion value Pc. . Thereby, the relationship between the pixel value Ps and the first threshold value Ta can be accurately reflected in the relationship between the intermediate pixel value Pm and the common reference value Tb.

図19は、他の好ましい吐出ユニット3aを示す底面図である。吐出ユニット3aでは、各ヘッド31が、複数の吐出部要素である複数のヘッド要素34を備える。各ヘッド31では、複数のヘッド要素34が、Y方向(すなわち、記録媒体9の移動方向)に垂直なX方向に沿って配列される。各ヘッド要素34は、複数の吐出口33を有する。なお、複数のヘッド要素34は、必ずしもX方向に配列される必要はなく、Y方向に対して交差する方向に沿って配列されていればよい。   FIG. 19 is a bottom view showing another preferred discharge unit 3a. In the ejection unit 3a, each head 31 includes a plurality of head elements 34 that are a plurality of ejection unit elements. In each head 31, a plurality of head elements 34 are arranged along the X direction perpendicular to the Y direction (that is, the moving direction of the recording medium 9). Each head element 34 has a plurality of discharge ports 33. The plurality of head elements 34 are not necessarily arranged in the X direction, and may be arranged along a direction intersecting the Y direction.

図1に示す吐出ユニット3に代えて図19に示す吐出ユニット3aが画像記録装置1に設けられる場合、画像データ生成部423では、ヘッド要素34毎に第2閾値Tcが設定されてもよい。換言すれば、各ヘッド要素34について、当該ヘッド要素34に設けられる複数の吐出口33に対応する画素位置群に対して同一の第2閾値Tcが設定されてもよい。画像記録装置1では、上述の記録状態の変化は、ヘッド要素34単位で生じやすい。このため、上述のように、ハーフトーン画像領域の複数の画素位置のうち各ヘッド要素34に対応する画素位置群に対して設定された第2閾値Tcが等しくされることにより、実際の記録状態の変化に応じた適切な上記補正を、第2閾値記憶部428に記憶されるデータ量を抑制しつつ容易に行うことができる。   When the discharge unit 3 a shown in FIG. 19 is provided in the image recording apparatus 1 instead of the discharge unit 3 shown in FIG. 1, the image data generation unit 423 may set the second threshold Tc for each head element 34. In other words, for each head element 34, the same second threshold value Tc may be set for the pixel position group corresponding to the plurality of ejection ports 33 provided in the head element 34. In the image recording apparatus 1, the above-described change in recording state is likely to occur in units of head elements 34. For this reason, as described above, the second threshold value Tc set for the pixel position group corresponding to each head element 34 among the plurality of pixel positions in the halftone image area is equalized, so that the actual recording state It is possible to easily perform the above-described correction in accordance with the change in the amount of data stored in the second threshold value storage unit 428 while suppressing the amount of data.

図1および図2に示す画像記録装置1では、各ヘッド31から吐出されるインクの微小液滴のサイズが、切り替え可能であってもよい。例えば、各ヘッド31から吐出されるインクの微小液滴のサイズは、「大サイズ」、大サイズよりも小さい「中サイズ」、および、中サイズよりも小さい「小サイズ」の3種類の間で切り替えられる。これにより、記録媒体9上に形成されるインクのドットサイズは、「大サイズ」、「中サイズ」および「小サイズ」の間で切り換えられる。以下の説明では、大サイズ、中サイズおよび小サイズのドットをそれぞれ、「大ドット」、「中ドット」および「小ドット」とも呼ぶ。また、画像データ生成部423により生成されるハーフトーン画像データでは、上記複数の画素位置に複数(上記例では、3つ)のサイズのドットが配置可能である。   In the image recording apparatus 1 shown in FIGS. 1 and 2, the size of the micro droplets of ink ejected from each head 31 may be switchable. For example, the size of the small droplets of ink ejected from each head 31 is among three types: “large size”, “medium size” smaller than the large size, and “small size” smaller than the medium size. Can be switched. Thereby, the dot size of the ink formed on the recording medium 9 is switched between “large size”, “medium size”, and “small size”. In the following description, large size, medium size, and small size dots are also referred to as “large dots”, “medium dots”, and “small dots”, respectively. In the halftone image data generated by the image data generation unit 423, a plurality of (three in the above example) size dots can be arranged at the plurality of pixel positions.

図20は、ドットサイズが切り替え可能である場合の制御ユニット4の機能を示すブロック図である。図20に示すように、各マトリクス記憶部422には、大ドット用の閾値マトリクスである大ドット用マトリクス811と、中ドット用の閾値マトリクスである中ドット用マトリクス812と、小ドット用の閾値マトリクスである小ドット用マトリクス813とが記憶される。大ドット用マトリクス811、中ドット用マトリクス812および小ドット用マトリクス813はそれぞれ、FMスクリーニングに用いられる閾値マトリクスである。   FIG. 20 is a block diagram illustrating functions of the control unit 4 when the dot size can be switched. As shown in FIG. 20, each matrix storage unit 422 includes a large dot matrix 811 that is a threshold matrix for large dots, a medium dot matrix 812 that is a threshold matrix for medium dots, and a threshold for small dots. A small dot matrix 813 which is a matrix is stored. The large dot matrix 811, the medium dot matrix 812, and the small dot matrix 813 are threshold matrices used for FM screening.

図20では1つのマトリクス記憶部422に記憶される大ドット用マトリクス811、中ドット用マトリクス812および小ドット用マトリクス813を図示しているが、他の色成分のマトリクス記憶部422にもそれぞれ、大ドット用マトリクス811、中ドット用マトリクス812および小ドット用マトリクス813が記憶される。以下の説明では、大ドット用マトリクス811、中ドット用マトリクス812および小ドット用マトリクス813の3つの閾値マトリクスをまとめて「マトリクスセット」とも呼ぶ。当該3つの閾値マトリクスの同じ位置では、大ドット用マトリクス811の閾値が最も大きく、小ドット用マトリクス813の閾値が最も小さい。また、中ドット用マトリクス812の閾値は、大ドット用マトリクス811および小ドット用マトリクス813の両閾値の間の値である。   FIG. 20 shows a large dot matrix 811, a medium dot matrix 812, and a small dot matrix 813 stored in one matrix storage unit 422, but each of the other color component matrix storage units 422 is also illustrated. A large dot matrix 811, a medium dot matrix 812, and a small dot matrix 813 are stored. In the following description, the three threshold matrixes of the large dot matrix 811, the medium dot matrix 812, and the small dot matrix 813 are collectively referred to as a “matrix set”. At the same position of the three threshold matrixes, the threshold of the large dot matrix 811 is the largest and the threshold of the small dot matrix 813 is the smallest. The threshold value of the medium dot matrix 812 is a value between the threshold values of the large dot matrix 811 and the small dot matrix 813.

以下の説明では、各マトリクス要素における大ドット用マトリクス811、中ドット用マトリクス812および小ドット用マトリクス813のそれぞれの閾値を「第1閾値要素Ta1」、「第1閾値要素Ta2」および「第1閾値要素Ta3」と呼び、各マトリクス要素における3つの第1閾値要素Ta1,Ta2,Ta3をまとめて第1閾値と呼ぶ。換言すれば、第1閾値Taは、上述のドットの複数のサイズにそれぞれ対応する複数の第1閾値要素Ta1,Ta2,Ta3を含む。また、共通基準値記憶部427に記憶される共通基準値Tbは、複数の第1閾値要素Ta1,Ta2,Ta3にそれぞれ対応する複数の共通基準値要素Tb1,Tb2,Tb3を含む。   In the following description, the threshold values of the large dot matrix 811, the medium dot matrix 812, and the small dot matrix 813 in each matrix element are referred to as “first threshold element Ta1,” “first threshold element Ta2,” and “first threshold element,” respectively. This is called “threshold element Ta3”, and the three first threshold elements Ta1, Ta2, and Ta3 in each matrix element are collectively called a first threshold. In other words, the first threshold value Ta includes a plurality of first threshold value elements Ta1, Ta2, and Ta3 respectively corresponding to the plurality of dot sizes described above. In addition, the common reference value Tb stored in the common reference value storage unit 427 includes a plurality of common reference value elements Tb1, Tb2, and Tb3 respectively corresponding to the plurality of first threshold elements Ta1, Ta2, and Ta3.

図21および図22は、図20に示す中間画素値取得部425による中間画素値Pmの取得の具体例を示す図である。図21に示すように、一の画素位置に対応する第1閾値要素Ta1,Ta2,Ta3は、例えば、「11」,「6」,「3」であり、当該画素位置の画素値Psは「10」である。また、図22に示すように、共通基準値要素Tb1,Tb2,Tb3は、例えば、最大階調値Pmax2と最小階調値Pmin2との間を等分する値である「12」,「8」,「4」である。この場合、複数の第1閾値要素Ta1,Ta2,Ta3のうち画素値Ps(=10)以下の最大の第1閾値要素である第1閾値要素Ta2(=6)が、当該画素位置における基準値となる。そして、基準値である第1閾値要素Ta2に対する画素値Psの相対的な大きさを示す関係が求められ、複数の共通基準値要素Tb1,Tb2,Tb3のうち当該基準値に対応する共通基準値要素Tb2に対して当該関係が適用される。これにより、当該画素位置の変換値Pcが、例えば、数3により「11.2」と求められる。また、中間画素値Pmは、例えば、変換値Pcの整数部分である「11」と求められる。   21 and 22 are diagrams illustrating specific examples of acquisition of the intermediate pixel value Pm by the intermediate pixel value acquisition unit 425 illustrated in FIG. As shown in FIG. 21, the first threshold elements Ta1, Ta2, Ta3 corresponding to one pixel position are, for example, “11”, “6”, “3”, and the pixel value Ps at the pixel position is “ 10 ". As shown in FIG. 22, the common reference value elements Tb1, Tb2, and Tb3 are, for example, values “12” and “8” that equally divide between the maximum gradation value Pmax2 and the minimum gradation value Pmin2. , “4”. In this case, the first threshold element Ta2 (= 6) which is the maximum first threshold element of the plurality of first threshold elements Ta1, Ta2 and Ta3 that is equal to or smaller than the pixel value Ps (= 10) is the reference value at the pixel position. It becomes. Then, a relationship indicating the relative magnitude of the pixel value Ps with respect to the first threshold value element Ta2 that is the reference value is obtained, and the common reference value corresponding to the reference value among the plurality of common reference value elements Tb1, Tb2, and Tb3. This relationship is applied to the element Tb2. Thereby, the conversion value Pc of the pixel position is obtained as “11.2” by Equation 3, for example. Further, the intermediate pixel value Pm is obtained as, for example, “11” that is an integer part of the conversion value Pc.

(数3)
Pc=(Ps−Ta2)×(Tb1−Tb2)/(Ta1−Ta2)+Tb2
(Equation 3)
Pc = (Ps−Ta2) × (Tb1−Tb2) / (Ta1−Ta2) + Tb2

あるいは、上記画素位置における基準値として、複数の第1閾値要素Ta1,Ta2,Ta3のうち画素値Ps(=10)以上の最小の第1閾値要素である第1閾値要素Ta1(=11)が選択されてもよい。この場合、基準値である第1閾値要素Ta1に対する画素値Psの相対的な大きさを示す関係が求められ、複数の共通基準値要素Tb1,Tb2,Tb3のうち当該基準値に対応する共通基準値要素Tb1に対して当該関係が適用される。これにより、当該画素位置の変換値Pcが、例えば、数4により「11.2」と求められる。また、中間画素値Pmは、例えば、変換値Pcの整数部分である「11」と求められる。   Alternatively, as the reference value at the pixel position, the first threshold element Ta1 (= 11), which is the smallest first threshold element of the plurality of first threshold elements Ta1, Ta2, and Ta3 that is equal to or greater than the pixel value Ps (= 10). It may be selected. In this case, a relationship indicating the relative magnitude of the pixel value Ps with respect to the first threshold value element Ta1 that is the reference value is obtained, and the common reference corresponding to the reference value among the plurality of common reference value elements Tb1, Tb2, and Tb3. The relationship is applied to the value element Tb1. Thereby, the conversion value Pc of the pixel position is obtained as “11.2” by Equation 4, for example. Further, the intermediate pixel value Pm is obtained as, for example, “11” that is an integer part of the conversion value Pc.

(数4)
Pc=Tb1−(Ta1−Ps)×(Tb1−Tb2)/(Ta1−Ta2)
(Equation 4)
Pc = Tb1- (Ta1-Ps) × (Tb1-Tb2) / (Ta1-Ta2)

図20に示す中間画素値取得部425では、他の画素位置についても同様に、中間画素値Pmが求められて中間画像データが生成される。ハーフトーン画像データ生成部426では、第2閾値記憶部428に、共通基準値要素Tb1,Tb2,Tb3に基づいて設定された第2閾値要素Tc1,Tc2,Tc3が、上記第2閾値として予め記憶されている。そして、ハーフトーン画像データ生成部426により、上記複数の画素位置について、各画素位置の中間画素値Pmと第2閾値要素Tc1,Tc2,Tc3とが比較されることにより、中間画像データに対する網掛け処理が行われ、ハーフトーン画像データが生成される。   In the intermediate pixel value acquisition unit 425 shown in FIG. 20, the intermediate pixel value Pm is similarly obtained for other pixel positions, and intermediate image data is generated. In the halftone image data generation unit 426, the second threshold value elements Tc1, Tc2, Tc3 set based on the common reference value elements Tb1, Tb2, Tb3 are stored in the second threshold value storage unit 428 in advance as the second threshold value. Has been. Then, the halftone image data generation unit 426 compares the intermediate pixel value Pm at each pixel position with the second threshold elements Tc1, Tc2, and Tc3 for the plurality of pixel positions, thereby shading the intermediate image data. Processing is performed to generate halftone image data.

例えば、中間画素値Pmが第2閾値要素Tc1以上である画素位置には、ハーフトーン画素値「3」が付与され、中間画素値Pmが第2閾値要素Tc2以上かつ第2閾値要素Tc1未満である画素位置には、ハーフトーン画素値「2」が付与される。中間画素値Pmが第2閾値要素Tc3以上かつ第2閾値要素Tc2未満である画素位置には、ハーフトーン画素値「1」が付与され、中間画素値Pmが第2閾値要素Tc3未満である画素位置には、ハーフトーン画素値「0」が付与される。ハーフトーン画素値が「3」である画素位置(すなわち、記録媒体9上の記録画素)には大ドットが形成され、ハーフトーン画素値が「2」である画素位置には中ドットが形成される。また、ハーフトーン画素値が「1」である画素位置には小ドットが形成され、ハーフトーン画素値が「0」である画素位置には、ドットは形成されない。   For example, a halftone pixel value “3” is assigned to a pixel position where the intermediate pixel value Pm is equal to or greater than the second threshold element Tc1, and the intermediate pixel value Pm is equal to or greater than the second threshold element Tc2 and less than the second threshold element Tc1. A halftone pixel value “2” is given to a certain pixel position. A pixel position at which the intermediate pixel value Pm is greater than or equal to the second threshold element Tc3 and less than the second threshold element Tc2 is given a halftone pixel value “1”, and the intermediate pixel value Pm is less than the second threshold element Tc3. The halftone pixel value “0” is given to the position. Large dots are formed at pixel positions where the halftone pixel value is “3” (that is, recording pixels on the recording medium 9), and medium dots are formed at pixel positions where the halftone pixel value is “2”. The Further, a small dot is formed at a pixel position where the halftone pixel value is “1”, and no dot is formed at a pixel position where the halftone pixel value is “0”.

例えば、試験的に記録された画像において、図21および図22に係る画素位置に対応する画素の濃度が所望の濃度である場合、第2閾値要素Tc1は共通基準値要素Tb1に等しい「12」と設定される。この場合、中間画素値Pm(=11)が、第2閾値要素Tc2(=8)以上かつ第2閾値要素Tc1(=12)未満となる。このため、図21および図22に係る画素位置には、ハーフトーン画素値「2」が付与され、記録媒体9上の対応する記録画素には中ドットが形成される。一方、試験的に記録された画像において、図21および図22に係る画素位置に対応する画素の濃度が、所望の濃度よりも薄くなっている場合、例えば、共通基準値Tb1から「1」を減じた「11」が第2閾値要素Tc1として設定される。この場合、中間画素値Pm(=11)が、第2閾値要素Tc1(=11)以上となる。このため、図21および図22に係る画素位置には、ハーフトーン画素値「3」が付与され、記録媒体9上の対応する記録画素には大ドットが形成される。   For example, in a test-recorded image, when the density of the pixel corresponding to the pixel position according to FIGS. 21 and 22 is a desired density, the second threshold value element Tc1 is equal to the common reference value element Tb1 “12”. Is set. In this case, the intermediate pixel value Pm (= 11) is greater than or equal to the second threshold element Tc2 (= 8) and less than the second threshold element Tc1 (= 12). For this reason, the halftone pixel value “2” is given to the pixel positions according to FIGS. 21 and 22, and medium dots are formed in the corresponding recording pixels on the recording medium 9. On the other hand, in the image recorded on a trial basis, when the density of the pixel corresponding to the pixel position according to FIGS. 21 and 22 is lower than the desired density, for example, “1” is set from the common reference value Tb1. The subtracted “11” is set as the second threshold element Tc1. In this case, the intermediate pixel value Pm (= 11) is equal to or greater than the second threshold element Tc1 (= 11). For this reason, the halftone pixel value “3” is given to the pixel positions according to FIGS. 21 and 22, and a large dot is formed in the corresponding recording pixel on the recording medium 9.

このように、画像データ生成部423では、各ヘッド31から吐出されるインクの微小液滴のサイズが切り替え可能である場合であっても、記録媒体9に記録される画像の濃度について、記録状態の変化に対する補正を容易に行うことができる。   As described above, in the image data generation unit 423, the recording state of the density of the image recorded on the recording medium 9 can be changed even when the size of the micro droplets of the ink ejected from each head 31 can be switched. Can be easily corrected.

上記画像記録装置1では、様々な変更が可能である。   Various changes can be made in the image recording apparatus 1.

例えば、中間画素値Pmは、必ずしも変換値Pcの整数部分である必要はなく、変換値Pcの小数第1位を四捨五入して求めた整数でもよく、変換値Pcの小数部分を切り上げて得られた整数であってもよい。   For example, the intermediate pixel value Pm is not necessarily an integer part of the conversion value Pc, and may be an integer obtained by rounding off the first decimal place of the conversion value Pc, and is obtained by rounding up the decimal part of the conversion value Pc. It may be an integer.

上述の例では、変換値Pcは、基準値と最小階調値Pmin1、最大階調値Pmax1または他の第1閾値要素との差に対して、基準値と画素値Psとの差が示す割合に基づいて求められているが、変換値Pcは他の様々な方法により求められてもよい。例えば、変換値Pcは、画素値Psから基準値を減算した値が共通基準値に対して加えられることにより求められてもよい。この場合、変換値Pcおよび中間画素値Pmが、最小階調値Pmin2よりも小さくなる場合は最小階調値Pmin2に等しい値とし、最大階調値Pmax2よりも大きくなる場合は、最大階調値Pmax2に等しい値とする。   In the above example, the conversion value Pc is a ratio indicated by the difference between the reference value and the pixel value Ps with respect to the difference between the reference value and the minimum gradation value Pmin1, the maximum gradation value Pmax1, or another first threshold value element. However, the conversion value Pc may be obtained by various other methods. For example, the conversion value Pc may be obtained by adding a value obtained by subtracting the reference value from the pixel value Ps to the common reference value. In this case, when the converted value Pc and the intermediate pixel value Pm are smaller than the minimum gradation value Pmin2, the value is equal to the minimum gradation value Pmin2, and when it is larger than the maximum gradation value Pmax2, the maximum gradation value is set. The value is equal to Pmax2.

図4に示す共通基準値記憶部427に記憶される共通基準値Tbは、必ずしも中間画像データの最小階調値Pmin2と最大階調値Pmax2との間の中央値である必要はなく、最小階調値Pmin2と最大階調値Pmax2との間で適宜決められてよい。また、図20に示す共通基準値記憶部427に記憶される共通基準値要素Tb1,Tb2,Tb3は、必ずしも中間画像データの最小階調値Pmin2と最大階調値Pmax2との間を等分する値である必要はなく、適宜変更されてよい。例えば、大ドットに係る濃度補正を中ドットおよび小ドットに比べて高精度に行う場合、最大階調値Pmax2と共通基準値要素Tb1との差、および、共通基準値要素Tb1と共通基準値要素Tb2との差が、共通基準値要素Tb2と共通基準値要素Tb3との差、および、共通基準値要素Tb3と最小階調値Pmin2との差よりも大きくなるように、共通基準値要素Tb1,Tb2,Tb3が設定される。   The common reference value Tb stored in the common reference value storage unit 427 shown in FIG. 4 does not necessarily need to be a median value between the minimum gradation value Pmin2 and the maximum gradation value Pmax2 of the intermediate image data. It may be appropriately determined between the tone value Pmin2 and the maximum gradation value Pmax2. Further, the common reference value elements Tb1, Tb2, Tb3 stored in the common reference value storage unit 427 shown in FIG. 20 do not necessarily divide between the minimum gradation value Pmin2 and the maximum gradation value Pmax2 of the intermediate image data. It does not have to be a value and may be changed as appropriate. For example, when density correction relating to large dots is performed with higher accuracy than medium dots and small dots, the difference between the maximum gradation value Pmax2 and the common reference value element Tb1, and the common reference value element Tb1 and the common reference value element The common reference value elements Tb1, Tb1, Tb2, and the common reference value element Tb1, so that the difference between the common reference value element Tb2 and the common reference value element Tb3 is larger than the difference between the common reference value element Tb3 and the minimum gradation value Pmin2. Tb2 and Tb3 are set.

元画像データの階調数を示すビット数と、中間画像データの階調数を示すビット数とは必ずしも等しい必要はなく、中間画像データの階調数を示すビット数が、元画像データの階調数を示すビット数よりも小さくてもよい。これにより、中間画像データの生成に要する時間を短縮することができる。中間画素値取得部425における中間画像データの生成は、グラフィックス・プロセッシング・ユニット以外の様々なデバイスにより行われてよい。   The number of bits indicating the number of gradations of the original image data and the number of bits indicating the number of gradations of the intermediate image data are not necessarily equal. The number of bits indicating the number of gradations of the intermediate image data is not the same as the number of bits of the original image data. It may be smaller than the number of bits indicating the logarithm. Thereby, the time required for generating the intermediate image data can be shortened. The generation of the intermediate image data in the intermediate pixel value acquisition unit 425 may be performed by various devices other than the graphics processing unit.

ドットサイズが切り替え可能である場合、各色のインクのドットサイズは、必ずしも、大サイズ、中サイズ、小サイズの3種類である必要はなく、2種類または4種類以上であってもよい。画像記録装置1では、ブラック、シアン、マゼンタおよびイエロー以外の他の色成分のインクがドットの記録に利用されてもよい。また、上述の画像データ生成部423は、1色のみのインクで画像の記録を行う画像記録装置に適用されてもよい。   When the dot size can be switched, the dot size of each color ink does not necessarily need to be three types of large size, medium size, and small size, and may be two types or four or more types. In the image recording apparatus 1, ink of color components other than black, cyan, magenta, and yellow may be used for dot recording. Further, the above-described image data generation unit 423 may be applied to an image recording apparatus that records an image with only one color of ink.

マトリクス記憶部422に記憶される閾値マトリクスは、規則的に配列されたドットの集合であるクラスタの大きさを変えることにより階調を表現するAM(Amplitude Modulated)スクリーニングに用いられるものであってもよい。   The threshold value matrix stored in the matrix storage unit 422 may be used for AM (Amplitude Modulated) screening that expresses gradation by changing the size of a cluster that is a set of regularly arranged dots. Good.

画像記録装置1では、ハーフトーン画像データの生成および印刷動作は、必ずしも並行して行われる必要はなく、出力制御部41内に十分大きなメモリを設けることが可能であれば、画像全体のハーフトーン画像データの生成が完了してから画像記録動作が開始されてもよい。   In the image recording apparatus 1, the generation and printing operations of halftone image data are not necessarily performed in parallel. If a sufficiently large memory can be provided in the output control unit 41, the halftone of the entire image can be provided. The image recording operation may be started after the generation of the image data is completed.

画像記録装置1では、記録媒体9が吐出ユニット3,3aに対してY方向に相対的に移動するのであれば、例えば、停止している記録媒体9の上方にて、吐出ユニット3,3aが移動機構2によりY方向に移動してもよい。画像記録装置1の構造は、例えば、インターレス印刷を行う画像記録装置に適用されてもよく、また、長尺状のロール紙に画像を記録する画像記録装置に適用されてもよい。記録媒体9は、印刷用紙以外にフィルムや金属薄板等であってもよい。   In the image recording apparatus 1, if the recording medium 9 moves relative to the ejection units 3 and 3a in the Y direction, for example, the ejection units 3 and 3a are located above the stopped recording medium 9. The moving mechanism 2 may move in the Y direction. The structure of the image recording apparatus 1 may be applied to, for example, an image recording apparatus that performs interlaced printing, or may be applied to an image recording apparatus that records an image on a long roll paper. The recording medium 9 may be a film or a thin metal plate other than printing paper.

画像データ生成部423は、他の構造の画像記録装置にて利用されてもよい。例えば、電子写真方式の画像記録装置に画像データ生成部423が利用されてもよい。この場合、感光ドラムに光を照射して潜像を形成する光出射部、および、感光ドラムを回転させる回転機構がそれぞれ、ドット出力部、および、ドット記録位置を相対移動させる移動機構となる。   The image data generation unit 423 may be used in an image recording apparatus having another structure. For example, the image data generation unit 423 may be used in an electrophotographic image recording apparatus. In this case, the light emitting unit that irradiates light to the photosensitive drum to form a latent image and the rotation mechanism that rotates the photosensitive drum are the dot output unit and the moving mechanism that relatively moves the dot recording position, respectively.

画像データ生成部423は、例えば、光源部から出射された光ビームを、記録媒体である刷版上にてポリゴンミラー等を介して走査することにより、刷版上に画像を記録する画像記録装置にて利用されてもよい。この場合、光ビームを出射する光源部がドット出力部となり、ポリゴンミラー等が、刷版上のドット記録位置を刷版に対して相対的に移動させる移動機構となる。   The image data generation unit 423 is, for example, an image recording apparatus that records an image on a printing plate by scanning a light beam emitted from a light source unit on a printing plate that is a recording medium via a polygon mirror or the like. May be used. In this case, the light source that emits the light beam serves as a dot output unit, and the polygon mirror or the like serves as a moving mechanism that moves the dot recording position on the printing plate relative to the printing plate.

画像データ生成部423は、画像記録装置から独立して、多階調の元画像データに網掛け処理を行ってハーフトーン画像データを生成する画像データ生成装置として利用されてもよい。   The image data generation unit 423 may be used as an image data generation device that generates halftone image data by performing a shading process on multi-tone original image data independently of the image recording device.

上記実施の形態および各変形例における構成は、相互に矛盾しない限り適宜組み合わされてよい。   The configurations in the above-described embodiments and modifications may be combined as appropriate as long as they do not contradict each other.

1 画像記録装置
2 移動機構
3,3a 吐出ユニット
9 記録媒体
31 ヘッド
34 ヘッド要素
41 出力制御部
70 色成分画像
80 プログラム
81 閾値マトリクス
92 ドット
423 画像データ生成部
425 中間画素値取得部
426 ハーフトーン画像データ生成部
811 大ドット用マトリクス
812 中ドット用マトリクス
813 小ドット用マトリクス
S11〜S16 ステップ
DESCRIPTION OF SYMBOLS 1 Image recording apparatus 2 Moving mechanism 3, 3a Discharge unit 9 Recording medium 31 Head 34 Head element 41 Output control part 70 Color component image 80 Program 81 Threshold matrix 92 Dot 423 Image data generation part 425 Intermediate pixel value acquisition part 426 Halftone image Data Generation Unit 811 Large Dot Matrix 812 Medium Dot Matrix 813 Small Dot Matrix S11 to S16 Steps

Claims (11)

多階調の元画像データに網掛け処理を行ってハーフトーン画像データを生成する画像データ生成装置であって、
マトリクス状に配列された複数の画素位置における元画像の画素値と、前記複数の画素位置にそれぞれ対応して設定された複数の第1閾値とに基づいて、各画素位置の第1閾値を基準値として前記基準値に対する画素値の相対的な大きさを示す関係を求め、前記複数の画素位置において共通な共通基準値に対して前記関係を適用することにより、前記各画素位置の中間画素値を求めて中間画像データを生成する中間画素値取得部と、
前記複数の画素位置について、前記各画素位置の前記中間画素値と、前記共通基準値に基づいて前記各画素位置に対して設定された第2閾値とを比較することにより、前記中間画像データに網掛け処理を行ってハーフトーン画像データを生成するハーフトーン画像データ生成部と、
を備えることを特徴とする画像データ生成装置。
An image data generation device that generates halftone image data by performing a shading process on multi-tone original image data,
Based on the pixel values of the original image at a plurality of pixel positions arranged in a matrix and the plurality of first threshold values set corresponding to each of the plurality of pixel positions, the first threshold value at each pixel position is used as a reference By calculating a relationship indicating a relative magnitude of the pixel value with respect to the reference value as a value, and applying the relationship to a common reference value common to the plurality of pixel positions, an intermediate pixel value at each pixel position An intermediate pixel value acquisition unit for generating intermediate image data by obtaining
For the plurality of pixel positions, by comparing the intermediate pixel value at each pixel position with a second threshold value set for each pixel position based on the common reference value, the intermediate image data A halftone image data generation unit for generating halftone image data by performing a shading process;
An image data generation apparatus comprising:
請求項1に記載の画像データ生成装置であって、
前記複数の画素位置に対して設定された全ての前記第2閾値が等しいことを特徴とする画像データ生成装置。
The image data generation device according to claim 1,
All the said 2nd threshold values set with respect to the said several pixel position are equal, The image data generation apparatus characterized by the above-mentioned.
請求項1または2に記載の画像データ生成装置であって、
前記中間画素値取得部における前記中間画像データの生成が、グラフィックス・プロセッシング・ユニットにより行われることを特徴とする画像データ生成装置。
The image data generation device according to claim 1 or 2,
The image data generation device, wherein the intermediate image data is generated by the graphics processing unit in the intermediate pixel value acquisition unit.
請求項1ないし3のいずれかに記載の画像データ生成装置であって、
前記元画像データの階調数を示すビット数と、前記中間画像データの階調数を示すビット数とが等しいことを特徴とする画像データ生成装置。
The image data generation device according to any one of claims 1 to 3,
An image data generating apparatus, wherein the number of bits indicating the number of gradations of the original image data is equal to the number of bits indicating the number of gradations of the intermediate image data.
請求項1ないし4のいずれかに記載の画像データ生成装置であって、
前記共通基準値が、前記中間画像データの最小階調値と最大階調値との間の中央値であることを特徴とする画像データ生成装置。
The image data generation device according to any one of claims 1 to 4,
The image data generating apparatus, wherein the common reference value is a median value between a minimum gradation value and a maximum gradation value of the intermediate image data.
請求項1ないし5のいずれかに記載の画像データ生成装置であって、
前記ハーフトーン画像データにおいて、前記複数の画素位置に複数のサイズのドットが配置可能であり、
前記第1閾値が、前記複数のサイズにそれぞれ対応する複数の第1閾値要素を含み、
前記共有基準値が、前記複数の第1閾値要素にそれぞれ対応する複数の共有基準値要素を含み、
前記各画素位置における前記基準値が、前記複数の第1閾値要素のうち前記画素値以下の最大の第1閾値要素または前記画素値以上の最小の第1閾値要素であり、
前記関係が前記複数の共通基準値要素のうち前記基準値に対応する共通基準値要素に対して適用されることを特徴とする画像データ生成装置。
The image data generation device according to any one of claims 1 to 5,
In the halftone image data, dots of a plurality of sizes can be arranged at the plurality of pixel positions,
The first threshold includes a plurality of first threshold elements respectively corresponding to the plurality of sizes;
The shared reference value includes a plurality of shared reference value elements respectively corresponding to the plurality of first threshold elements;
The reference value at each pixel position is a maximum first threshold element equal to or lower than the pixel value or a minimum first threshold element equal to or higher than the pixel value among the plurality of first threshold elements.
The image data generating apparatus, wherein the relationship is applied to a common reference value element corresponding to the reference value among the plurality of common reference value elements.
記録媒体に画像を記録する画像記録装置であって、
請求項1ないし6のいずれかに記載の画像データ生成装置と、
記録媒体上のドット記録位置にドットを記録するドット出力部と、
前記記録媒体上の前記ドット記録位置を前記記録媒体に対して相対的に移動させる移動機構と、
前記記録媒体上の前記ドット記録位置の前記記録媒体に対する相対移動に並行して、前記画像データ生成装置により生成されたハーフトーン画像データに基づいて前記ドット出力部の出力制御を行う出力制御部と、
を備えることを特徴とする画像記録装置。
An image recording apparatus for recording an image on a recording medium,
The image data generation device according to any one of claims 1 to 6,
A dot output section for recording dots at dot recording positions on a recording medium;
A moving mechanism for moving the dot recording position on the recording medium relative to the recording medium;
An output control unit that performs output control of the dot output unit based on halftone image data generated by the image data generation device in parallel with relative movement of the dot recording position on the recording medium with respect to the recording medium; ,
An image recording apparatus comprising:
請求項7に記載の画像記録装置であって、
前記ドット出力部が、前記記録媒体上の前記ドット記録位置にインクの微小液滴を吐出してドットを記録する吐出部を備えることを特徴とする画像記録装置。
The image recording apparatus according to claim 7,
The image recording apparatus, wherein the dot output unit includes an ejection unit that ejects a minute droplet of ink to the dot recording position on the recording medium to record a dot.
請求項8に記載の画像記録装置であって、
前記吐出部が、前記移動機構による前記記録媒体の相対移動方向に交差する方向に沿って配列される複数の吐出部要素を備え、
前記移動機構により、前記記録媒体が前記複数の吐出部要素に対向する位置を1回のみ通過することにより画像が記録され、
前記複数の画素位置のうち各吐出部要素に対応する画素位置群に対して設定された前記第2閾値が等しいことを特徴とする画像記録装置。
The image recording apparatus according to claim 8, wherein
The discharge unit includes a plurality of discharge unit elements arranged along a direction intersecting a relative movement direction of the recording medium by the moving mechanism;
The moving mechanism records an image by passing the recording medium only once at a position facing the plurality of ejection unit elements,
2. The image recording apparatus according to claim 1, wherein the second threshold value set for a pixel position group corresponding to each ejection unit element among the plurality of pixel positions is equal.
多階調の元画像データに網掛け処理を行ってハーフトーン画像データを生成する画像データ生成方法であって、
a)マトリクス状に配列された複数の画素位置における元画像の画素値と、前記複数の画素位置にそれぞれ対応して設定された複数の第1閾値とに基づいて、各画素位置の第1閾値を基準値として前記基準値に対する画素値の相対的な大きさを示す関係を求め、前記複数の画素位置において共通な共通基準値に対して前記関係を適用することにより、前記各画素位置の中間画素値を求めて中間画像データを生成する工程と、
b)前記複数の画素位置について、前記各画素位置の前記中間画素値と、前記共通基準値に基づいて前記各画素位置に対して設定された第2閾値とを比較することにより、前記中間画像データに網掛け処理を行ってハーフトーン画像データを生成する工程と、
を備えることを特徴とする画像データ生成方法。
An image data generation method for generating halftone image data by performing shading processing on multi-tone original image data,
a) a first threshold value at each pixel position based on the pixel values of the original image at a plurality of pixel positions arranged in a matrix and a plurality of first threshold values set corresponding to the pixel positions, respectively. Is used as a reference value to obtain a relationship indicating a relative magnitude of the pixel value with respect to the reference value, and the relationship is applied to a common reference value common to the plurality of pixel positions, thereby obtaining an intermediate value between the pixel positions. Obtaining pixel values and generating intermediate image data;
b) For the plurality of pixel positions, by comparing the intermediate pixel value at each pixel position with a second threshold value set for each pixel position based on the common reference value, the intermediate image Halftone image data is generated by shading the data;
An image data generation method comprising:
多階調の元画像データに網掛け処理を行ってハーフトーン画像データを生成するプログラムであって、前記プログラムのコンピュータによる実行は、前記コンピュータに、
a)マトリクス状に配列された複数の画素位置における元画像の画素値と、前記複数の画素位置にそれぞれ対応して設定された複数の第1閾値とに基づいて、各画素位置の第1閾値を基準値として前記基準値に対する画素値の相対的な大きさを示す関係を求め、前記複数の画素位置において共通な共通基準値に対して前記関係を適用することにより、前記各画素位置の中間画素値を求めて中間画像データを生成する工程と、
b)前記複数の画素位置について、前記各画素位置の前記中間画素値と、前記共通基準値に基づいて前記各画素位置に対して設定された第2閾値とを比較することにより、前記中間画像データに網掛け処理を行ってハーフトーン画像データを生成する工程と、
を実行させることを特徴とするプログラム。
A program for generating halftone image data by performing a shading process on multi-tone original image data, and the execution of the program by a computer is performed on the computer,
a) a first threshold value at each pixel position based on the pixel values of the original image at a plurality of pixel positions arranged in a matrix and a plurality of first threshold values set corresponding to the pixel positions, respectively. Is used as a reference value to obtain a relationship indicating a relative magnitude of the pixel value with respect to the reference value, and the relationship is applied to a common reference value common to the plurality of pixel positions, thereby obtaining an intermediate value between the pixel positions. Obtaining pixel values and generating intermediate image data;
b) For the plurality of pixel positions, by comparing the intermediate pixel value at each pixel position with a second threshold value set for each pixel position based on the common reference value, the intermediate image Halftone image data is generated by shading the data;
A program characterized by having executed.
JP2014146403A 2014-07-17 2014-07-17 Image data generation apparatus, image recording apparatus, image data generation method and program Active JP6322505B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014146403A JP6322505B2 (en) 2014-07-17 2014-07-17 Image data generation apparatus, image recording apparatus, image data generation method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014146403A JP6322505B2 (en) 2014-07-17 2014-07-17 Image data generation apparatus, image recording apparatus, image data generation method and program

Publications (2)

Publication Number Publication Date
JP2016025405A true JP2016025405A (en) 2016-02-08
JP6322505B2 JP6322505B2 (en) 2018-05-09

Family

ID=55271852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014146403A Active JP6322505B2 (en) 2014-07-17 2014-07-17 Image data generation apparatus, image recording apparatus, image data generation method and program

Country Status (1)

Country Link
JP (1) JP6322505B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000216996A (en) * 1999-01-26 2000-08-04 Dainippon Screen Mfg Co Ltd Recording code generating method for binary image capable of density adjustment in recording mode
JP2003333330A (en) * 2002-05-16 2003-11-21 Fuji Photo Film Co Ltd Image forming method and apparatus
JP2008087381A (en) * 2006-10-03 2008-04-17 Seiko Epson Corp High-image-quality halftone processing
JP2011076156A (en) * 2009-09-29 2011-04-14 Seiko Epson Corp Apparatus and method for processing image
JP2013187846A (en) * 2012-03-09 2013-09-19 Seiko Epson Corp Device, method and program for converting gradation of image data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000216996A (en) * 1999-01-26 2000-08-04 Dainippon Screen Mfg Co Ltd Recording code generating method for binary image capable of density adjustment in recording mode
JP2003333330A (en) * 2002-05-16 2003-11-21 Fuji Photo Film Co Ltd Image forming method and apparatus
JP2008087381A (en) * 2006-10-03 2008-04-17 Seiko Epson Corp High-image-quality halftone processing
JP2011076156A (en) * 2009-09-29 2011-04-14 Seiko Epson Corp Apparatus and method for processing image
JP2013187846A (en) * 2012-03-09 2013-09-19 Seiko Epson Corp Device, method and program for converting gradation of image data

Also Published As

Publication number Publication date
JP6322505B2 (en) 2018-05-09

Similar Documents

Publication Publication Date Title
US8848246B2 (en) Image data generation method, image recording method, image data generation apparatus, and image recording apparatus
JP6985017B2 (en) Matching ink droplet size for density compensation
US9124842B2 (en) Image data generation method, image recording method, image data generation apparatus, and image recording apparatus
JP5832350B2 (en) Threshold matrix generation method, image data generation method, image data generation device, image recording device, and threshold value matrix
JP2009219026A (en) Threshold matrix generation method, halftone image generating method and halftone image generating apparatus
JP6442294B2 (en) Image data generation method, image recording method, image data generation device, and image recording device
JP5330972B2 (en) Image recording apparatus, halftone image data generating apparatus, and threshold matrix
JP5871686B2 (en) Image recording apparatus and image recording method
JP6322505B2 (en) Image data generation apparatus, image recording apparatus, image data generation method and program
JP5702621B2 (en) Image recording apparatus and image recording method
JP6531484B2 (en) Device for discharging liquid, method for processing image data, program
US9108401B2 (en) Image recording apparatus with recording density and ejection timing correction
JP2016072763A (en) Dot filter generation device, image recording device, correction information acquisition method, dot filter generation method and test chart
JP2009285910A (en) Printing method and printer
JP5738253B2 (en) Image forming apparatus
JP5878397B2 (en) Threshold matrix generation device, image recording device, and threshold matrix generation method
JP2016013646A (en) Image data formation method, image recording method, image data formation apparatus, and image recording apparatus and program
WO2016185828A1 (en) Image formation method
JP2011136501A (en) Printing system, program, and printer
JP6830405B2 (en) Image recording device, image recording method and correction information acquisition method
US9007651B2 (en) Threshold matrix generation method, image data generation method, image data generation apparatus, image recording apparatus, and recording medium
JP6236337B2 (en) Threshold matrix generation device, image recording device, threshold matrix generation method, and threshold matrix
JP2017065051A (en) Correction information generation device, image recording device, correction information generation method, and testing chart
JP2014031021A (en) Printing apparatus, printing method, and printing program
JP2011029979A (en) Image data creating device, recorder, and image data creating method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170828

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171027

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180409

R150 Certificate of patent or registration of utility model

Ref document number: 6322505

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250