JP2009006510A - Printing apparatus, printing method, and program - Google Patents
Printing apparatus, printing method, and program Download PDFInfo
- Publication number
- JP2009006510A JP2009006510A JP2007167831A JP2007167831A JP2009006510A JP 2009006510 A JP2009006510 A JP 2009006510A JP 2007167831 A JP2007167831 A JP 2007167831A JP 2007167831 A JP2007167831 A JP 2007167831A JP 2009006510 A JP2009006510 A JP 2009006510A
- Authority
- JP
- Japan
- Prior art keywords
- dot
- printing
- pixel
- dots
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 165
- 239000011159 matrix material Substances 0.000 claims abstract description 256
- 230000015572 biosynthetic process Effects 0.000 claims abstract description 95
- 238000012545 processing Methods 0.000 claims abstract description 71
- 239000003086 colorant Substances 0.000 claims abstract description 58
- 230000008569 process Effects 0.000 claims description 114
- 238000009826 distribution Methods 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 7
- 238000004519 manufacturing process Methods 0.000 claims description 4
- 239000000976 ink Substances 0.000 description 109
- 238000011156 evaluation Methods 0.000 description 57
- 238000003860 storage Methods 0.000 description 49
- 238000010586 diagram Methods 0.000 description 33
- 230000000007 visual effect Effects 0.000 description 30
- 238000004364 calculation method Methods 0.000 description 23
- 238000012986 modification Methods 0.000 description 19
- 230000004048 modification Effects 0.000 description 19
- 230000002457 bidirectional effect Effects 0.000 description 17
- 238000006243 chemical reaction Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 15
- 230000035945 sensitivity Effects 0.000 description 15
- 230000006866 deterioration Effects 0.000 description 7
- 238000007599 discharging Methods 0.000 description 7
- 239000002131 composite material Substances 0.000 description 6
- 238000006073 displacement reaction Methods 0.000 description 6
- 238000005457 optimization Methods 0.000 description 6
- 230000015556 catabolic process Effects 0.000 description 5
- 238000006731 degradation reaction Methods 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 238000012854 evaluation process Methods 0.000 description 3
- 230000009897 systematic effect Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000032258 transport Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000000740 bleeding effect Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 239000006185 dispersion Substances 0.000 description 2
- 238000000275 quality assurance Methods 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 230000002194 synthesizing effect Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000002068 genetic effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000011002 quantification Methods 0.000 description 1
- 238000002922 simulated annealing Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Ink Jet (AREA)
- Particle Formation And Scattering Control In Inkjet Printers (AREA)
- Color, Gradation (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は、印刷媒体上にドットを形成して画像を印刷する技術に関する。 The present invention relates to a technique for printing an image by forming dots on a print medium.
コンピュータで作成した画像や、デジタルカメラで撮影した画像などの出力装置として、印刷媒体上にドットを形成して画像を印刷する印刷装置が広く使用されている。かかる印刷装置は、入力階調値に対して形成可能なドットの階調値が少ないためハーフトーン処理によって階調表現が行われる。ハーフトーン処理の1つとして、ディザマトリックスを用いた組織的ディザ法が広く用いられている。組織的ディザ法は、ディザマトリックスの内容如何で画質に大きな影響を与えるため、たとえば特許文献1に開示されるように人間の視覚を考慮した評価関数を用いてシミュレーテッドアニーリングや遺伝的アルゴリズムといった解析手法によってディザマトリックスの最適化が図られてきた。一方、特許文献2に開示されるように、濃度や色相の相違する複数種類のドットを併せることによって形成される印刷画像における複数種類のドットの分散性を改善させる技術も提案されている。
2. Description of the Related Art Printing apparatuses that form dots on a printing medium and print images are widely used as output apparatuses for images created by computers and images taken by digital cameras. In such a printing apparatus, since the gradation value of dots that can be formed with respect to the input gradation value is small, gradation expression is performed by halftone processing. As one of the halftone processes, a systematic dither method using a dither matrix is widely used. Since the systematic dither method greatly affects the image quality depending on the contents of the dither matrix, for example, as disclosed in
ところで、風景画像や人物画像等の自然画像や、文字(キャラクタ)を表すキャラクタ画像等の、種々の種類の画像が印刷装置によって印刷される。ところが、ハーフトーン処理を、印刷される画像の種類に適合させる点については、十分な工夫がなされていないのが実情であった。 By the way, various types of images such as natural images such as landscape images and human images, and character images representing characters (characters) are printed by the printing apparatus. However, the fact is that no sufficient contrivance has been made in terms of adapting halftone processing to the type of image to be printed.
本発明は、上記の課題の少なくとも一部を解決するためになされたものであり、ハーフトーン処理を、印刷される画像の種類に適合させることができる技術を提供することを目的とする。 The present invention has been made to solve at least a part of the above-described problems, and an object of the present invention is to provide a technique capable of adapting halftone processing to the type of image to be printed.
本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態又は適用例として実現することが可能である。 SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples.
[適用例1]印刷媒体上に印刷を行う印刷装置であって、元画像を構成する各画素の入力階調値を表す画像データに対してディザマトリックスを用いたハーフトーン処理を行うことによって、前記印刷媒体上に形成されるべき印刷画像の各印刷画素へのドットの形成状態を表すドットデータを生成するドットデータ生成部と、少なくともN色(Nは2以上の整数)のインクを吐出する複数のノズル列を含む印刷ヘッドを備え、前記ドットデータに応じて前記複数のノズル列の各々が相互に色が相違するドット群を形成し、前記少なくともN色のドット群を共通の印刷領域で相互に組み合わせることによって前記印刷画像を生成する印刷部と、を備え、前記ハーフトーン処理は、前記N色のそれぞれのハーフトーン処理に、所定配置の基準ディザマトリックスを共通に利用する第1モードと、前記N色の少なくとも一部の複数色のそれぞれのハーフトーン処理に、互いに配置を異ならせた前記基準ディザマトリックスを利用する第2モードと、を含み、前記ドットデータ生成部は、キャラクタを表すキャラクタ領域を含む第1種印刷領域のドット形成状態を、前記第1モードによるハーフトーン処理によって決定し、他の印刷領域である第2種印刷領域のドット形成状態を、前記第2モードによるハーフトーン処理によって決定する、印刷装置。 [Application Example 1] A printing apparatus that performs printing on a print medium, by performing halftone processing using a dither matrix on image data representing an input gradation value of each pixel constituting an original image, A dot data generation unit that generates dot data representing a dot formation state on each print pixel of a print image to be formed on the print medium, and ejects ink of at least N colors (N is an integer of 2 or more) A print head including a plurality of nozzle rows, wherein each of the plurality of nozzle rows forms a dot group having a different color according to the dot data, and the at least N color dot groups are formed in a common print region. And a printing unit that generates the print image by combining them with each other, and the halftone process includes a standard arrangement with a predetermined arrangement for each halftone process of the N colors. A first mode that uses a matrix in common, and a second mode that uses the reference dither matrix that is arranged differently for each halftone process of at least some of the N colors. The dot data generation unit determines the dot formation state of the first type print area including the character area representing the character by the halftone process in the first mode, and the dots of the second type print area which are other print areas. A printing apparatus that determines a forming state by halftone processing in the second mode.
この構成によれば、キャラクタ領域を含む第1種印刷領域のドット形成状態が、N色のそれぞれのハーフトーン処理に所定配置の基準ディザマトリックスを共通に利用する第1モードによって決定されるので、キャラクタをシャープに印刷することができる。また、他の印刷領域である第2種印刷領域のドット形成状態が、N色の少なくとも一部の複数色のそれぞれのハーフトーン処理に互いに配置を異ならせた基準ディザマトリックスを利用する第2モードによって決定されるので、色再現範囲が狭くなることを抑制することができる。このように、ハーフトーン処理を、印刷される画像の種類に適合させることができる。 According to this configuration, the dot formation state of the first type print area including the character area is determined by the first mode in which the reference dither matrix having a predetermined arrangement is commonly used for each halftone process of N colors. Characters can be printed sharply. The second mode uses a reference dither matrix in which the dot formation state of the second type printing area, which is another printing area, is different from each other in the halftone processing of at least some of the N colors. Therefore, it is possible to suppress the color reproduction range from being narrowed. In this way, halftone processing can be adapted to the type of image to be printed.
[適用例2]適用例1に記載の印刷装置であって、前記第2種印刷領域は、自然画像を表す自然画像領域を含む、印刷装置。 Application Example 2 The printing apparatus according to Application Example 1, wherein the second type printing area includes a natural image area representing a natural image.
この構成によれば、自然画像の印刷における色再現範囲が狭くなることを抑制することができる。 According to this configuration, it is possible to suppress the color reproduction range from being narrowed when printing a natural image.
[適用例3]適用例1または適用例2に記載の印刷装置であって、前記第2モードによるハーフトーン処理では、前記N色のそれぞれのハーフトーン処理に、互いに配置を異ならせた前記基準ディザマトリックスが利用される、印刷装置。 [Application Example 3] In the printing apparatus according to Application Example 1 or Application Example 2, in the halftone processing according to the second mode, each of the N color halftone processes may be arranged differently from each other. Printing device that uses a dither matrix.
この構成によれば、色再現範囲が狭くなることをさらに抑制することができる。 According to this configuration, it is possible to further suppress the narrowing of the color reproduction range.
[適用例4]適用例1ないし適用例3のいずれかに記載の印刷装置であって、前記基準マトリックスは、前記第2モードによるハーフトーン処理によって形成される前記N色のドット群で構成される混色のドットパターンが、予め設定された所定の空間周波数特性を有するように設定されている、印刷装置。 Application Example 4 In the printing apparatus according to any one of Application Example 1 to Application Example 3, the reference matrix includes the N color dot groups formed by halftone processing in the second mode. A printing apparatus in which a mixed color dot pattern is set to have a predetermined spatial frequency characteristic set in advance.
この構成によれば、混色のドットパターンに着目して評価することによって簡易に第2モードに適した基準マトリックスを設定することができる。 According to this configuration, it is possible to easily set a reference matrix suitable for the second mode by paying attention to the mixed-color dot pattern for evaluation.
[適用例5]適用例1ないし適用例4のいずれかに記載の印刷装置であって、前記基準マトリックスは、前記第1モードによるハーフトーン処理によって形成される前記N色のドット群で構成される混色のドットパターンが、予め設定された所定の空間周波数特性を有するように設定されている、印刷装置。 [Application Example 5] The printing apparatus according to any one of Application Examples 1 to 4, wherein the reference matrix includes the N color dot groups formed by halftone processing in the first mode. A printing apparatus in which a mixed color dot pattern is set to have a predetermined spatial frequency characteristic set in advance.
この構成によれば、混色のドットパターンに着目して評価することによって簡易に第1モードに適した基準マトリックスを設定することができる。 According to this configuration, it is possible to easily set a reference matrix suitable for the first mode by paying attention to the mixed-color dot pattern for evaluation.
[適用例6]適用例1ないし適用例5のいずれかに記載の印刷装置であって、前記印刷部は、さらに、前記ドットデータに応じて、前記ドットの形成に関する物理的な条件の相違が想定された複数の画素グループの各々に形成されるドット群を、共通の印刷領域で相互に組み合わせることによって印刷画像を生成し、前記基準マトリックスは、前記画素グループの各々のドットパターンが、予め設定された所定の空間周波数特性を有するように設定されている、印刷装置。 [Application Example 6] In the printing apparatus according to any one of Application Examples 1 to 5, the printing unit further includes a difference in physical conditions related to the formation of the dots in accordance with the dot data. A print image is generated by mutually combining dot groups formed in each of a plurality of assumed pixel groups in a common print area, and the dot pattern of each of the pixel groups is set in advance in the reference matrix. The printing apparatus is set to have a predetermined spatial frequency characteristic.
この構成によれば、複数の画素グループの各々を考慮したハーフトーン処理が可能となる。 According to this configuration, halftone processing considering each of a plurality of pixel groups is possible.
[適用例7]適用例6に記載の印刷装置であって、前記印刷部は、前記印刷ヘッドの主走査を行いつつ前記印刷ヘッドの往動時と復動時の各々で、前記ドットデータに応じて前記各印刷画素にドットを形成して印刷画像を生成し、前記複数の画素グループは、前記印刷ヘッドの往動時にドットが形成される第1の画素位置のグループと、前記印刷ヘッドの復動時にドットが形成される第2の画素位置のグループとを含む、印刷装置。 [Application Example 7] The printing apparatus according to Application Example 6, wherein the printing unit performs the main scan of the print head and converts the dot data into the dot data when the print head moves forward and backward. Accordingly, a dot is formed on each of the print pixels to generate a print image, and the plurality of pixel groups include a group of first pixel positions where dots are formed when the print head moves forward, and the print head And a second group of pixel positions where dots are formed during the backward movement.
この構成によれば、往動時と復動時との各々のドットパターンを考慮したハーフトーン処理が可能となる。 According to this configuration, it is possible to perform halftone processing in consideration of each dot pattern during forward movement and during backward movement.
[適用例8]適用例6または適用例7に記載の印刷装置であって、前記印刷部は、前記印刷ヘッドのM回(Mは2以上の整数)の主走査のサイクルを繰り返しつつ前記ドットデータに応じて前記各印刷画素にドットを形成して印刷画像を生成し、前記複数の画素グループは、主走査ラインの副走査方向の順番を表す数値を前記Mで除した余りに応じて分割された複数の画素位置のグループを含む、印刷装置。 [Application Example 8] The printing apparatus according to Application Example 6 or Application Example 7, wherein the printing unit repeats the main scanning cycle M times (M is an integer of 2 or more) of the print head. According to the data, dots are formed on each of the print pixels to generate a print image, and the plurality of pixel groups are divided according to the remainder obtained by dividing the numerical value representing the order of the main scan lines in the sub-scanning direction by M. A printing device comprising a group of pixel locations.
この構成によれば、複数の主走査ラインの各々のドットパターンを考慮したハーフトーン処理が可能となる。 According to this configuration, halftone processing can be performed in consideration of each dot pattern of the plurality of main scanning lines.
[適用例9]適用例4ないし適用例8のいずれかに記載の印刷装置であって、前記所定の空間周波数特性は、ブルーノイズ特性とグリーンノイズ特性のいずれか一方である、印刷装置。 Application Example 9 The printing apparatus according to any one of Application Examples 4 to 8, wherein the predetermined spatial frequency characteristic is one of a blue noise characteristic and a green noise characteristic.
この構成によれば、人間の視覚感度の高い領域において粒状性を抑制することができる。 According to this configuration, it is possible to suppress graininess in a region where human visual sensitivity is high.
[適用例10]適用例6ないし適用例8のいずれかに記載の印刷装置であって、前記所定の空間周波数特性は、前記複数の画素グループの各々に属する印刷画素に形成されるドットパターンの空間周波数分布の各々と、前記印刷画像の空間周波数分布とが相互に正の相関係数を有することを示す、印刷装置。 [Application Example 10] The printing apparatus according to any one of Application Examples 6 to 8, wherein the predetermined spatial frequency characteristic is a dot pattern formed on a print pixel belonging to each of the plurality of pixel groups. A printing apparatus showing that each of the spatial frequency distributions and the spatial frequency distribution of the printed image have a positive correlation coefficient.
この構成によれば、物理的相違が発生しても形成されるドットの空間周波数分布に大きな影響を与えないので、物理的相違に対するロバスト性の高いハーフトーン処理を構成することができる。 According to this configuration, even if a physical difference occurs, the spatial frequency distribution of the dots to be formed is not greatly affected, so that halftone processing with high robustness against the physical difference can be configured.
[適用例11]印刷媒体上に印刷画像を形成して印刷物を生成する方法であって、元画像を構成する各画素の入力階調値を表す画像データに対してディザマトリックスを用いたハーフトーン処理を行うことによって、前記印刷媒体上に形成されるべき印刷画像の各印刷画素へのドットの形成状態を表すドットデータを生成するドットデータ生成工程と、少なくともN色(Nは2以上の整数)のインクを吐出する複数のノズル列を含む印刷ヘッドを備え、前記ドットデータに応じて前記複数のノズル列の各々が相互に色が相違するドット群を形成し、前記少なくともN色のドット群を共通の印刷領域で相互に組み合わせることによって前記印刷画像を生成する印刷工程と、を備え、前記ハーフトーン処理は、前記N色のそれぞれのハーフトーン処理に、所定配置の基準ディザマトリックスを共通に利用する第1モードと、前記N色の少なくとも一部の複数色のそれぞれのハーフトーン処理に、互いに配置を異ならせた前記基準ディザマトリックスを利用する第2モードと、を含み、前記ドットデータ生成工程は、キャラクタを表すキャラクタ領域を含む第1種印刷領域のドット形成状態を、前記第1モードによるハーフトーン処理によって決定する工程と、他の印刷領域である第2種印刷領域のドット形成状態を、前記第2モードによるハーフトーン処理によって決定する工程と、を含む、印刷物の生成方法。 Application Example 11 A method of generating a printed matter by forming a print image on a print medium, which is a halftone that uses a dither matrix for image data representing an input tone value of each pixel constituting the original image A dot data generation step for generating dot data representing a dot formation state on each print pixel of a print image to be formed on the print medium by performing processing, and at least N colors (N is an integer of 2 or more) ) And a plurality of nozzle rows that eject ink, each of the plurality of nozzle rows forms a dot group having a different color according to the dot data, and the dot group of at least N colors A printing process for generating the print image by mutually combining them in a common print area, and the halftone process includes each halftone of the N colors In fact, the reference dither matrix having a different arrangement is used for the first mode in which the reference dither matrix having a predetermined arrangement is commonly used and the halftone processing of each of at least some of the N colors. A second mode, wherein the dot data generation step determines a dot formation state of a first type print area including a character area representing a character by halftone processing according to the first mode; Determining the dot formation state of the second type printing area, which is an area, by halftone processing in the second mode.
[適用例12]印刷媒体上に印刷を行う印刷部に供給すべき印刷データをコンピュータに生成させるためのコンピュータプログラムであって、元画像を構成する各画素の入力階調値を表す画像データに対してディザマトリックスを用いたハーフトーン処理を行うことによって、前記印刷媒体上に形成されるべき印刷画像の各印刷画素へのドットの形成状態を表すドットデータを生成するドットデータ生成機能をコンピュータに実行させ、前記印刷部は、少なくともN色(Nは2以上の整数)のインクを吐出する複数のノズル列を含む印刷ヘッドを備え、前記ドットデータに応じて前記複数のノズル列の各々が相互に色が相違するドット群を形成し、前記少なくともN色のドット群を共通の印刷領域で相互に組み合わせることによって前記印刷画像を生成し、前記ハーフトーン処理は、前記N色のそれぞれのハーフトーン処理に、所定配置の基準ディザマトリックスを共通に利用する第1モードと、前記N色の少なくとも一部の複数色のそれぞれのハーフトーン処理に、互いに配置を異ならせた前記基準ディザマトリックスを利用する第2モードと、を含み、前記ドットデータ生成機能は、キャラクタを表すキャラクタ領域を含む第1種印刷領域のドット形成状態を、前記第1モードによるハーフトーン処理によって決定する機能と、他の印刷領域である第2種印刷領域のドット形成状態を、前記第2モードによるハーフトーン処理によって決定する機能と、を含む、コンピュータプログラム。 Application Example 12 A computer program for causing a computer to generate print data to be supplied to a printing unit that performs printing on a print medium, the image data representing the input gradation value of each pixel constituting the original image The computer has a dot data generation function for generating dot data representing the dot formation state on each print pixel of the print image to be formed on the print medium by performing halftone processing using a dither matrix. The printing unit includes a print head including a plurality of nozzle rows that eject ink of at least N colors (N is an integer equal to or greater than 2), and each of the plurality of nozzle rows corresponds to the dot data. Forming a group of dots having different colors and combining the dot groups of at least N colors with each other in a common print region. An image is generated, and the halftone process includes a first mode in which a predetermined arrangement of reference dither matrices is commonly used for each of the N color halftone processes, and each of at least some of the N colors. A second mode that uses the reference dither matrix having different arrangements, and the dot data generation function includes a dot formation state of a first type print area including a character area representing a character. A function of determining the dot formation state of the second type print area, which is another print area, by the halftone process according to the second mode. Computer program.
なお、本発明は、種々の形態で実現することが可能であり、例えば、印刷方法および装置、それらの方法または装置の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体、等の形態で実現することができる。 The present invention can be realized in various forms. For example, a printing method and apparatus, a computer program for realizing the function of the method or apparatus, a recording medium on which the computer program is recorded, etc. Can be realized.
次に、この発明の実施の形態を実施例に基づいて以下の順序で説明する。
A.第1実施例:
B.第2実施例:
C.第3実施例:
D.変形例:
Next, embodiments of the present invention will be described in the following order based on examples.
A. First embodiment:
B. Second embodiment:
C. Third embodiment:
D. Variations:
A.第1実施例:
図1は、印刷システムの構成の一例を示すブロック図である。この印刷システムは、印刷制御装置としてのコンピュータ90と、印刷部としてのカラープリンタ20と、を備えている。なお、カラープリンタ20とコンピュータ90の組み合わせを、広義の「印刷装置」と呼ぶことができる。
A. First embodiment:
FIG. 1 is a block diagram illustrating an example of a configuration of a printing system. This printing system includes a
コンピュータ90では、所定のオペレーティングシステムの下で、アプリケーションプログラム95が動作している。オペレーティングシステムには、ビデオドライバ91やプリンタドライバ96が組み込まれており、アプリケーションプログラム95からは、これらのドライバを介して、カラープリンタ20に転送するための印刷データPDが出力されることになる。アプリケーションプログラム95は、処理対象の画像に対して所望の処理を行い、また、ビデオドライバ91を介してCRT21に画像を表示する。
In the
プリンタドライバ96の内部には、入力画像の解像度を印刷解像度に変換する解像度変換モジュール97と、RGBをCMYKに色変換する色変換モジュール98と、後述の実施例で生成されるディザマトリックスMや誤差拡散法を使用して入力階調値をドットの形成で表現可能な出力階調数へ減色するハーフトーンモジュール99と、ハーフトーンデータを用いてカラープリンタ20に送信するための印刷データを生成する印刷データ生成モジュール100と、色変換モジュール98が色変換の基準とする色変換テーブルLUTと、ハーフトーン処理のために各サイズのドットの記録率を決定するための記録率テーブルDTと、が備えられている。プリンタドライバ96は、印刷データPDを生成する機能を実現するためのプログラムに相当する。プリンタドライバ96の機能を実現するためのプログラムは、コンピュータ読み取り可能な記録媒体に記録された形態で供給される。このような記録媒体としては、たとえばCD−ROM126やフレキシブルディスク、光磁気ディスク、ICカード、ROMカートリッジ、パンチカード、バーコードなどの符号が印刷された印刷物、コンピュータの内部記憶装置(RAMやROMなどのメモリ)および外部記憶装置等の、コンピュータが読み取り可能な種々の媒体を利用できる。
Inside the
図2は、カラープリンタ20の概略構成図である。カラープリンタ20は、紙送りモータ22によって印刷媒体Pを副走査方向に搬送する副走査駆動部と、印刷ヘッド10Aを駆動してインクの吐出およびドット形成を制御するヘッド駆動機構と、これらの紙送りモータ22,印刷ヘッド10Aおよび操作パネル32との信号のやり取りを司る制御回路40とを備えている。制御回路40は、コネクタ56を介してコンピュータ90に接続されている。なお、カラープリンタ20では、印刷ヘッド10Aの主走査は行われない。
FIG. 2 is a schematic configuration diagram of the
図3は、図2における矢視AAに相当し、印刷ヘッド10Aの下面におけるノズル配列を示す説明図である。印刷ヘッド10Aの下面には、ブラックインクを吐出するためのブラックインクノズル列Kと、シアンインクを吐出するためのシアンインクノズル列Cと、マゼンタインクを吐出するためのマゼンタインクノズル列Mzと、イエローインクを吐出するためのイエローインクノズルYとが形成されている。
FIG. 3 corresponds to the arrow AA in FIG. 2 and is an explanatory diagram showing the nozzle arrangement on the lower surface of the
各ノズル列の複数のノズルNzは、紙送り方向と垂直な方向に沿って一定のノズルピッチk・Dでそれぞれ整列している。ここで、kは整数であり、Dは紙送り方向と垂直な方向における印刷解像度に相当するピッチ(「ドットピッチ」と呼ぶ)である。本明細書では、「ノズルピッチはkドットである」とも言う。このときの単位[ドット]は、印刷解像度のドットピッチを意味している。紙送り量に関しても同様に、[ドット]の単位を用いる。 The plurality of nozzles Nz in each nozzle row are aligned at a constant nozzle pitch k · D along a direction perpendicular to the paper feed direction. Here, k is an integer, and D is a pitch (referred to as “dot pitch”) corresponding to the printing resolution in a direction perpendicular to the paper feed direction. In this specification, it is also referred to as “nozzle pitch is k dots”. The unit [dot] at this time means the dot pitch of the printing resolution. Similarly, the unit of [dot] is used for the paper feed amount.
印刷ヘッド10Aが備える各ノズル列C、Mz、Y、Kでは、ノズルピッチkは、1となっている。印刷ヘッド10Aによって各画素に抜けを生じさせることなく、各色のインクを吐出することができる。
In each nozzle row C, Mz, Y, and K included in the
図4は、図2における矢視BBに相当し、印刷ヘッド10Aの横面を示す説明図である。図4では、説明を分かりやすくするためにイエローインクYを吐出するノズル列のみが示されている。図4では、印刷媒体Pが矢印の紙送り方向に送られている。
FIG. 4 corresponds to the arrow BB in FIG. 2 and is an explanatory diagram showing the lateral surface of the
図5は、ディザマトリックスの一部を概念的に例示した説明図である。図示したマトリックスには、横方向(主走査方向)に128要素、縦方向(副走査方向(紙送り方向))に64要素、合計8192個の要素に、階調値1〜255の範囲から万遍なく選択された閾値が格納されている。なお、ディザマトリックスの大きさは、図5に例示したような大きさに限られるものではなく、縦と横の要素数が同じマトリックスも含めて種々の大きさとすることができる。 FIG. 5 is an explanatory diagram conceptually illustrating a part of the dither matrix. The illustrated matrix includes 128 elements in the horizontal direction (main scanning direction), 64 elements in the vertical direction (sub-scanning direction (paper feeding direction)), a total of 8192 elements, and a range of gradation values from 1 to 255. Uniformly selected threshold values are stored. Note that the size of the dither matrix is not limited to the size illustrated in FIG. 5 and can be various sizes including a matrix having the same number of vertical and horizontal elements.
図6は、ディザマトリックスを使用したドット形成の有無の考え方を示す説明図である。図示の都合上、一部の要素についてのみ示されている。ドット形成の有無の決定では、図6に示す通り、画像データの階調値と、ディザマトリックス中で対応する位置に記憶されている閾値とが比較される。画像データの階調値の方がディザテーブルに格納された閾値よりも大きい場合にはドットが形成され、画像データの階調値の方が小さい場合にはドットが形成されない。図6中でハッチングを付した画素がドットの形成対象となる画素を意味している。このように、ディザマトリックスを用いれば、画像データの階調値とディザマトリックスに設定されている閾値とを比較するという単純な処理で、画素毎のドットの形成有無を判断することができるので、階調数変換処理を迅速に実施することが可能となる。さらに、画像データの階調値が決まると、各画素にドットが形成されるか否かは、もっぱらディザマトリックスに設定される閾値によって決まることからも明らかなように、組織的ディザ法では、ディザマトリックスに設定する閾値の格納位置によって、ドットの発生状況を積極的に制御することが可能である。 FIG. 6 is an explanatory diagram showing the concept of dot formation using a dither matrix. For the sake of illustration, only some elements are shown. In the determination of the presence / absence of dot formation, as shown in FIG. 6, the gradation value of the image data is compared with the threshold value stored at the corresponding position in the dither matrix. If the gradation value of the image data is larger than the threshold value stored in the dither table, a dot is formed, and if the gradation value of the image data is smaller, no dot is formed. In FIG. 6, hatched pixels mean pixels that are dots to be formed. In this way, if the dither matrix is used, it is possible to determine the presence or absence of dot formation for each pixel by a simple process of comparing the gradation value of the image data and the threshold value set in the dither matrix. The gradation number conversion process can be performed quickly. Furthermore, when the gradation value of the image data is determined, whether or not dots are formed in each pixel is determined solely by the threshold value set in the dither matrix. It is possible to positively control the dot generation state by the threshold storage position set in the matrix.
このように、組織的ディザ法は、ディザマトリックスに設定する閾値の格納位置によって、ドットの発生状況を積極的に制御することが可能なので、閾値の格納位置の設定を調整することによってドットの分散性その他の画質を制御することができるという特徴を有している。このことは、ディザマトリクスの最適化処理によってハーフトーン処理を多様な目標状態に対して最適化することが可能であることを意味している。 As described above, since the systematic dither method can positively control the occurrence of dots according to the threshold storage position set in the dither matrix, the dot dispersion can be achieved by adjusting the threshold storage position setting. And other image quality can be controlled. This means that the halftone process can be optimized for various target states by the dither matrix optimization process.
ハーフトーンモジュール99(図1)は、このようなディザマトリックス(ディザマスクとも呼ばれる)を利用することによって、ハーフトーン処理を実行する。このハーフトーン処理は、第1モードによる処理と、第2モードによる処理と、を含んでいる。 The halftone module 99 (FIG. 1) performs halftone processing by using such a dither matrix (also called a dither mask). This halftone process includes a process in the first mode and a process in the second mode.
図7は、ハーフトーン処理の第1モードの説明図である。図中には、ディザマトリックスMcが示されている。このディザマトリックスMcは、シアンとマゼンタとイエローとブラックとのそれぞれのインク色のハーフトーン処理に共通に利用される共用ディザマトリックスである。特に、この第1モードでは、共用ディザマトリックスMcの画素位置(配置)は、各インク色に共通である。換言すれば、印刷媒体P上のある画素位置の閾値は、共用ディザマトリックスMcの複数の閾値の内のその画素位置に対応付けられた閾値に設定される。そして、その閾値は、各インク色(シアン、マゼンタ、イエロー、ブラック)に共通である。 FIG. 7 is an explanatory diagram of a first mode of halftone processing. In the figure, a dither matrix Mc is shown. The dither matrix Mc is a shared dither matrix that is commonly used for halftone processing of ink colors of cyan, magenta, yellow, and black. In particular, in the first mode, the pixel position (arrangement) of the shared dither matrix Mc is common to each ink color. In other words, the threshold value of a certain pixel position on the print medium P is set to a threshold value associated with the pixel position among a plurality of threshold values of the shared dither matrix Mc. The threshold value is common to each ink color (cyan, magenta, yellow, black).
図8は、第1モードにおけるドット形成状態を示す説明図である。図中には、印刷画像の第1部分拡大図MI1が示されている。この第1部分拡大図MI1内では、シアンドットCdotとマゼンタドットMdotとイエロードットYdotとのコンポジットによってグレー色が表されている。ここで、各画素位置における閾値は、各インク色に共通である。その結果、各インク色のドットが同じ画素位置に形成される可能性が高い。 FIG. 8 is an explanatory diagram showing a dot formation state in the first mode. In the figure, a first partial enlarged view MI1 of the print image is shown. In this first partial enlarged view MI1, a gray color is represented by a composite of cyan dots Cdot, magenta dots Mdot and yellow dots Ydot. Here, the threshold value at each pixel position is common to each ink color. As a result, each ink color dot is likely to be formed at the same pixel position.
また、図8に示す第1ラインL1は、暗いグレーを表す領域A1gと最も明るいホワイトを示す領域A1wとの境界を示している。グレー領域A1gは、3色のドットCdot、Mdot、Ydotのコンポジットによって表されている。一方、ホワイト領域A1wは、インクドット無しで表されている。上述したように、第1モードでは、各インク色のドットCdot、Mdot、Ydotが同じ画素位置に形成される可能性が高い。その結果、各インク色のドットCdot、Mdot、Ydotが互いに異なる画素位置に形成される場合と比べて、境界がぼやけることが抑制される。 Also, the first line L1 shown in FIG. 8 indicates the boundary between the area A1g representing dark gray and the area A1w representing the brightest white. The gray area A1g is represented by a composite of three color dots Cdot, Mdot, and Ydot. On the other hand, the white area A1w is represented without ink dots. As described above, in the first mode, there is a high possibility that the dots Cdot, Mdot, and Ydot of each ink color are formed at the same pixel position. As a result, it is possible to suppress the blurring of the boundary as compared with the case where the dots Cdot, Mdot, and Ydot of each ink color are formed at different pixel positions.
なお、本実施例では、4色(シアン、マゼンタ、イエロー、ブラック)に、共通配置のディザマトリクスが使用される。従って、これらの4色の内の任意の2色のコンポジットで表される領域のエッジについても、同様に、ぼやけが抑制される。 In this embodiment, a common dither matrix is used for four colors (cyan, magenta, yellow, and black). Therefore, blurring is similarly suppressed for the edge of the area represented by the composite of any two of these four colors.
図9は、ハーフトーン処理の第2モードの説明図である。図中には、4つのディザマトリックスMc1〜Mc4が示されている。これらのマトリックスMc1〜Mc4は、シアン、マゼンタ、イエロー、ブラックのハーフトーンに、それぞれ利用される。 FIG. 9 is an explanatory diagram of the second mode of halftone processing. In the figure, four dither matrices Mc1 to Mc4 are shown. These matrices Mc1 to Mc4 are used for cyan, magenta, yellow, and black halftones, respectively.
各マトリックスMc1〜Mc4のそれぞれは、共用ディザマトリックスMc(図7)と同一である。ただし、各マトリックスMc1〜Mc4の配置は、互いに異なっている。所定位置(画素位置)に配置された共用ディザマトリックスMcは、シアン用のマトリックスMc1として使用される。一方、この所定位置からの所定のシフトが施された共用ディザマトリックスMcは、マゼンタ用のマトリックスMc2として使用される。同様に、この所定位置から別の所定のシフトが施された共用ディザマトリックスMcは、イエロー用のマトリックスMc3として使用され、この所定位置から別の所定のシフトが施された共用ディザマトリックスMcは、ブラック用のマトリックスMc4として使用される。 Each of the matrices Mc1 to Mc4 is the same as the shared dither matrix Mc (FIG. 7). However, the arrangement of the matrices Mc1 to Mc4 is different from each other. The shared dither matrix Mc arranged at a predetermined position (pixel position) is used as a cyan matrix Mc1. On the other hand, the shared dither matrix Mc to which the predetermined shift from the predetermined position is performed is used as a magenta matrix Mc2. Similarly, the shared dither matrix Mc to which another predetermined shift is applied from this predetermined position is used as a matrix Mc3 for yellow, and the shared dither matrix Mc to which another predetermined shift is applied from this predetermined position is Used as a matrix Mc4 for black.
なお、これらの所定のシフトは、インク色毎に異なっている。また、シフトとしては、並進移動と回転移動とを含む種々の移動を採用可能である。また、シフト量が過剰に小さい場合には、ドットが重なりやすくなる。そこで、シフト量が大きいことが好ましい。例えば、2つのマトリックスMc1、Mc2の重なる部分の面積の割合が、共用ディザマトリックスMcの面積の1/4〜1/2程度であることが好ましい。これは、他の2つのマトリックスの組合せについても同様である。 Note that these predetermined shifts differ for each ink color. As the shift, various movements including translational movement and rotational movement can be employed. Further, when the shift amount is excessively small, dots are likely to overlap. Therefore, it is preferable that the shift amount is large. For example, it is preferable that the ratio of the area where the two matrices Mc1 and Mc2 overlap is about 1/4 to 1/2 of the area of the shared dither matrix Mc. The same applies to the other two matrix combinations.
図10は、第2モードにおけるドット形成状態を示す説明図である。図中には、印刷画像の第2部分拡大図MI2が示されている。この第2部分拡大図MI2内では、3色のドットCdot、Mdot、Ydotのコンポジットによってグレー色が表されている。また、第2モードでは、各インク色のマトリックスの配置が互いに異なっているので、各画素位置における閾値は、インク色毎に異なっている。その結果、各インク色のドットが同じ画素位置に形成される可能性が低い。これにより、或るインク色のドットが他のインク色のドットの下に隠れることが抑制されるので、色再現範囲が狭くなることが抑制される。また、各インク色のドットが分散して形成されるので、粒状性が目立つことが抑制される。 FIG. 10 is an explanatory diagram showing a dot formation state in the second mode. In the drawing, a second partial enlarged view MI2 of the print image is shown. In the second partial enlarged view MI2, a gray color is represented by a composite of three color dots Cdot, Mdot, and Ydot. In the second mode, since the arrangement of the matrix of each ink color is different from each other, the threshold value at each pixel position is different for each ink color. As a result, it is unlikely that each ink color dot is formed at the same pixel position. As a result, it is possible to suppress a dot of a certain ink color from being hidden under a dot of another ink color, and thus it is possible to suppress a color reproduction range from being narrowed. Further, since the dots of each ink color are formed in a dispersed manner, it is suppressed that the graininess is conspicuous.
なお、本実施例では、4色(シアン、マゼンタ、イエロー、ブラック)に、互いに異なる配置のディザマトリックスが使用される。従って、これらの4色の内の任意の2色のコンポジットで表される領域についても、同様の利点がある。 In this embodiment, dither matrices having different arrangements are used for the four colors (cyan, magenta, yellow, and black). Therefore, the same advantage can be obtained for a region represented by a composite of any two of these four colors.
図11は、印刷処理の手順を示すフローチャートである。最初のステップS900では、プリンタドライバ96(図1)が画像データを読み込む。そして、解像度変換モジュール97は、読み込んだ画像データの解像度を変換する。次のステップS902では、色変換モジュール98が、色変換を実行する。
FIG. 11 is a flowchart showing the procedure of the printing process. In the first step S900, the printer driver 96 (FIG. 1) reads image data. Then, the
次のステップS904、S906a、S906bでは、ハーフトーンモジュール99(図1)がハーフトーン処理を実行する。上述したように、ハーフトーン処理は2つのモードを含んでいる。ハーフトーンモジュール99は、以下のように、2つのモードを使い分ける。
In the next steps S904, S906a, and S906b, the halftone module 99 (FIG. 1) executes halftone processing. As described above, halftone processing includes two modes. The
注目画素によって表される印刷領域がキャラクタ領域(文字領域)である場合には、その注目画素に対して第1モードによるハーフトーン処理が実行される(ステップS906a)。この結果、文字(レター)や数字等のキャラクタを印刷する場合には、そのキャラクタのエッジがぼやけることが抑制される。また、印刷されるキャラクタが小さい場合であっても、そのキャラクタがつぶれることが抑制される。 If the print region represented by the pixel of interest is a character region (character region), halftone processing in the first mode is executed for the pixel of interest (step S906a). As a result, when characters such as letters (letters) and numbers are printed, blurring of the edges of the characters is suppressed. Further, even when the printed character is small, the character is prevented from being crushed.
なお、キャラクタ領域は、キャラクタを表す領域を意味している。キャラクタは、文字(レター)、数字、記号(サイン)、印(マーク)、シンボルを含む広い概念を意味している。このようなキャラクタは、言葉、言語音、所定の意味等を目に見える形で表している。 The character area means an area representing a character. Character means a broad concept including letters (letters), numbers, symbols (signs), marks (marks), and symbols. Such characters represent words, language sounds, predetermined meanings, etc. in a visible form.
注目画素によって表される印刷領域がキャラクタ領域では無い場合には、その注目画素に対して第2モードによるハーフトーン処理が実行される(ステップS906b)。この結果、第1モードを利用する場合と比べて、印刷画像の色再現範囲を広くすることができる。また、粒状性が目立つことを抑制することもできる。例えば、風景画像や人物画像等の自然画像を表す印刷領域では、第2モードによるハーフトーン処理が実行される。その結果、印刷された自然画像の画質を向上させることができる。 If the print region represented by the pixel of interest is not a character region, halftone processing in the second mode is executed for the pixel of interest (step S906b). As a result, the color reproduction range of the print image can be widened as compared with the case of using the first mode. Moreover, it can also suppress that a graininess is conspicuous. For example, in a print area representing a natural image such as a landscape image or a person image, halftone processing in the second mode is executed. As a result, the quality of the printed natural image can be improved.
このような、モードの選択と選択されたモードでのハーフトーン処理の実行とは、全ての印刷画素について実行される。 The selection of the mode and the execution of the halftone process in the selected mode are executed for all the print pixels.
なお、注目画素によって表される印刷領域がキャラクタ領域であるか否かの判断方法としては、任意の方法を採用可能である。例えば、印刷領域が、キャラクタを表すキャラクタコードを利用することによって表されている場合に、その印刷領域がキャラクタ領域であると判断してもよい。ハーフトーンモジュール99(図1)は、印刷のために供給された印刷用画像データを解析することによって、このような判断を実行可能である。図1に示す実施例では、印刷用画像データは、アプリケーションプログラム95によって供給されている。
An arbitrary method can be adopted as a method for determining whether or not the print area represented by the pixel of interest is a character area. For example, when the print area is represented by using a character code representing a character, the print area may be determined to be a character area. The halftone module 99 (FIG. 1) can make such a determination by analyzing the printing image data supplied for printing. In the embodiment shown in FIG. 1, the image data for printing is supplied by an
次のステップS908(図11)では、印刷データ生成モジュール100(図1)が、ハーフトーン処理によって生成されたハーフトーンデータから、印刷データを生成する。この印刷データは、ハーフトーンデータ(ドットの形成状態を表すデータ)を含んでいる。生成された印刷データは、カラープリンタ20に送信される。カラープリンタ20は、受信した印刷データを利用して印刷を実行する。
In the next step S908 (FIG. 11), the print data generation module 100 (FIG. 1) generates print data from the halftone data generated by the halftone process. This print data includes halftone data (data representing the dot formation state). The generated print data is transmitted to the
以上のように、第1実施例では、キャラクタ領域のハーフトーン処理には第1モードが採用され、他の領域のハーフトーン処理には第2モードが採用されるので、キャラクタをシャープに印刷するとともに、他の領域の画質を向上させることができる。 As described above, in the first embodiment, the first mode is adopted for the halftone processing of the character area, and the second mode is adopted for the halftone processing of the other areas. Therefore, the character is printed sharply. At the same time, the image quality of other areas can be improved.
なお、このような第1実施例の実装状態は、例えば、以下の方法によって確認可能である。例えば、同じグレー色の印刷結果のドットパターンが、第1モードと第2モードとの間で異なっていれば、適切に実装されていると判断することができる。 The mounting state of the first embodiment can be confirmed by the following method, for example. For example, if the dot pattern of the same gray print result is different between the first mode and the second mode, it can be determined that the printing is appropriately implemented.
また、共用ディザマトリックスMcとしては、種々のマトリックスを採用可能である。例えば、従来の種々の方法によって生成されたマトリックスを採用可能である。 Various matrices can be used as the shared dither matrix Mc. For example, a matrix generated by various conventional methods can be employed.
B.第2実施例:
B1.装置構成:
第2実施例では、ディザマトリックスの特性と生成とについて説明する。以下の説明では、図2に示すカラープリンタ20の代わりに、別のカラープリンタ20bが利用されている。また、プリンタドライバ96(図1)は、図11に示す第1実施例と同様に、印刷処理を実行する。なお、ディザマトリックスの特性と生成とに関する以下の説明は、第1実施例にも適用可能である。
B. Second embodiment:
B1. Device configuration:
In the second embodiment, the dither matrix characteristics and generation will be described. In the following description, another
図12は、カラープリンタ20bの概略構成図である。カラープリンタ20bは、紙送りモータ22によって印刷用紙Pを副走査方向に搬送する副走査駆動部と、キャリッジモータ24によってキャリッジ30を紙送りローラ25の軸方向(主走査方向)に往復動させる主走査駆動部と、キャリッジ30に搭載された印刷ヘッドユニット60(「印刷ヘッド集合体」とも呼ぶ)を駆動してインクの吐出およびドット形成を制御するヘッド駆動機構と、これらの紙送りモータ22,キャリッジモータ24,印刷ヘッド12を備える印刷ヘッドユニット60および操作パネル32との信号のやり取りを司る制御回路40とを備えている。制御回路40は、コネクタ56を介してコンピュータ90に接続されている。
FIG. 12 is a schematic configuration diagram of the
図13は、印刷ヘッド12の下面におけるノズル配列を示す説明図である。印刷ヘッド12の下面には、シアンインクを吐出するためのシアンインクノズル列Cbと、マゼンタインクを吐出するためのマゼンタインクノズル列Mzbと、イエローインクを吐出するためのイエローインクノズルYbとが形成されている。
FIG. 13 is an explanatory diagram showing the nozzle arrangement on the lower surface of the
各ノズル列の複数のノズルNzは、副走査方向に沿って一定のノズルピッチk・Dでそれぞれ整列している。ここで、kは整数であり、Dは副走査方向における印刷解像度に相当するピッチ(「ドットピッチ」と呼ぶ)である。本明細書では、「ノズルピッチはkドットである」とも言う。このときの単位[ドット]は、印刷解像度のドットピッチを意味している。副走査送り量に関しても同様に、[ドット]の単位を用いる。 The plurality of nozzles Nz in each nozzle row are aligned at a constant nozzle pitch k · D along the sub-scanning direction. Here, k is an integer, and D is a pitch (referred to as “dot pitch”) corresponding to the printing resolution in the sub-scanning direction. In this specification, it is also referred to as “nozzle pitch is k dots”. The unit [dot] at this time means the dot pitch of the printing resolution. Similarly, the unit of [dot] is used for the sub-scan feed amount.
各ノズルNzには、各ノズルNzを駆動してインク滴を吐出させるための駆動素子としてのピエゾ素子(図示せず)が設けられている。印刷時には、印刷ヘッド12が主走査方向に移動しつつ、各ノズルからインク滴が吐出される。
Each nozzle Nz is provided with a piezo element (not shown) as a drive element for driving each nozzle Nz to eject ink droplets. During printing, ink droplets are ejected from each nozzle while the
以上説明したハードウェア構成を有するカラープリンタ20bは、紙送りモータ22により印刷用紙Pを搬送しつつ、キャリッジ30をキャリッジモータ24により往復動させ、同時に印刷ヘッド12のピエゾ素子を駆動して、各色インク滴の吐出を行い、インクドットを形成して印刷用紙P上に視覚系やカラープリンタ20bに最適化された画像を形成することができる。具体的には、以下のようにして印刷画像が形成される。以下の説明では、説明を分かりやすくするために、単一のノズル列(たとえばシアンインクノズル列Cb)のみを用いたモノクロ印刷の例(仮想例)を示し、次に、これをカラー印刷に拡張する。
The
図14は、本発明の第2実施例におけるモノクロ印刷画像の生成方法の一例を示す説明図である。この画像形成方法の例では、主走査と副走査を行いつつインクドットを印刷媒体上に形成することによって印刷画像が生成される。主走査とは、印刷媒体に対して印刷ヘッド12を主走査方向に相対的に移動させる動作を意味する。副走査とは、印刷媒体に対して印刷ヘッド12を副走査方向に相対的に移動させる動作を意味する。印刷ヘッド12は、印刷媒体上にインク滴を吐出してインクドットを形成するように構成されている。印刷ヘッド12は、画素ピッチkの2倍の間隔で図示しない10個のノズルを装備している。
FIG. 14 is an explanatory diagram showing an example of a method for generating a monochrome print image in the second embodiment of the present invention. In this example of the image forming method, a print image is generated by forming ink dots on a print medium while performing main scanning and sub-scanning. The main scanning means an operation of moving the
印刷画像の生成は、主走査と副走査を行いつつ以下のように行われる。パス1の主走査では、ラスタ番号が1、3、5、7、9、11、13、15、17、19の10本の主走査ラインのうちで、画素位置番号が1、3、5、7の画素にインクドットが形成される。主走査ラインとは、主走査方向に連続する画素によって形成される線を意味する。各丸は、ドットの形成位置を示している。各丸の中の数字は、同時にインクドットが形成される複数の画素から構成される画素グループを示している。パス1では、第1の画素グループに属する印刷画素にドットが形成される。
The print image is generated as follows while performing main scanning and sub-scanning. In the main scan of
パス1の主走査が完了すると、副走査方向に画素ピッチの5倍の移動量Lsで副走査送りが行われる。一般には、印刷媒体を移動させることによって副走査送りは行われるが、本実施例では、説明を分かりやすくするために印刷ヘッド12が副走査方向に移動するものとしている。副走査送りが完了すると、パス2の主走査が行われる。
When the
パス2の主走査では、ラスタ番号が6、8、10、12、14、16、18、20、22、24の10本の主走査ラインのうちで、画素位置番号が1、3、5、7の画素にインクドットが形成される。このようにして、パス2では、第2の画素グループに属する印刷画素にドットが形成される。なお、ラスタ番号が22、24の2本の主走査ラインは、図示が省略されている。パス2の主走査が完了すると、前述と同様の副走査送りが行われた後に、パス3の主走査が行われる。
In the
パス3の主走査では、ラスタ番号が11、13、15、17、19の主走査ラインを含む10本の主走査ラインのうちで、画素位置番号が2、4、6、8の画素にインクドットが形成される。パス4の主走査では、ラスタ番号が16、18、20の3本の主走査ラインを含む10本の主走査ラインのうちで、画素位置番号が2、4、6、8の画素にインクドットが形成される。このようにして、ラスタ番号が15以降の副走査位置に隙間なくインクドットが形成可能であることが分かる。パス3とパス4では、それぞれ第3と第4の画素グループに属する印刷画素にドットが形成される。
In the main scan of
このような印刷画像の生成を一定の領域に着目して観察すると、以下のように行われていることが分かる。たとえばラスタ番号が15〜19で画素位置番号が1〜8の領域を着目領域とすると、着目領域では以下のように印刷画像が形成されていることが分かる。
Observing the generation of such a printed image by paying attention to a certain area, it can be seen that the following is performed. For example, if an area having
パス1では、着目領域において、ラスタ番号が1〜5で画素位置番号が1〜8の画素位置に形成されたインクドットと同一のドットパターンが形成されていることが分かる。このドットパターンは、第1の画素グループに属する画素に形成されるドットで形成されている。すなわち、パス1では、着目領域において、第1の画素グループに属する画素にドットが形成される。
In
パス2では、着目領域において、第2の画素グループに属する画素にドットが形成される。パス3では、着目領域において、第3の画素グループに属する画素にドットが形成される。パス4では、着目領域において、第4の画素グループに属する画素にドットが形成される。
In
このように、本実施例のモノクロ印刷では、第1〜第4の複数の画素グループの各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって印刷画像が形成されることが分かる。 As described above, in the monochrome printing of the present embodiment, it is understood that a print image is formed by combining print pixels belonging to each of the first to fourth pixel groups in a common print region. .
一方、本実施例のカラー印刷では、第1〜第4の複数の画素グループの各々に、印刷ヘッド(図13)からCb、Mzb、Ybの各色のインクが吐出されることによって、カラーの印刷画像が形成される。このように、カラー印刷では、各主走査においてほぼ同時に複数色のインクが吐出されることになる。 On the other hand, in the color printing of this embodiment, color printing is performed by ejecting Cb, Mzb, and Yb inks from the print head (FIG. 13) to each of the first to fourth pixel groups. An image is formed. Thus, in color printing, a plurality of colors of ink are ejected almost simultaneously in each main scan.
図15は、本発明の第2実施例において複数の画素グループの各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって印刷媒体上に印刷画像が生成される様子を示す説明図である。図15の例では、印刷画像は、所定の中間階調(単色)の印刷画像である。ドットパターンDP1、DP1aは、第1の画素グループに属する複数の画素に形成されたドットパターンを示している。ドットパターンDP2、DP2aは、第1と第2の画素グループとに属する複数の画素に形成されたドットパターンを示している。ドットパターンDP3、DP3aは、第1〜第3の画素グループに属する複数の画素に形成されたドットパターンを示している。ドットパターンDP4、DP4aは、全画素グループに属する複数の画素に形成されたドットパターンを示している。 FIG. 15 is an explanatory diagram illustrating a state in which a print image is generated on a print medium by combining print pixels belonging to each of a plurality of pixel groups in a common print area in the second embodiment of the present invention. It is. In the example of FIG. 15, the print image is a print image of a predetermined intermediate gradation (monochrome). The dot patterns DP1 and DP1a indicate dot patterns formed on a plurality of pixels belonging to the first pixel group. The dot patterns DP2 and DP2a indicate dot patterns formed on a plurality of pixels belonging to the first and second pixel groups. The dot patterns DP3 and DP3a indicate dot patterns formed on a plurality of pixels belonging to the first to third pixel groups. The dot patterns DP4 and DP4a indicate dot patterns formed on a plurality of pixels belonging to all pixel groups.
ドットパターンDP1、DP2、DP3、DP4は、従来技術のディザマトリックスを使用した場合におけるドットパターンである。ドットパターンDP1a、DP2a、DP3a、DP4aは、本願発明のディザマトリックスを使用した場合におけるドットパターンである。図15から分かるように、本願発明のディザマトリックスを使用した場合には、特にドットパターンの重畳が少ないドットパターンDP1a、DP2aにおいて、従来技術のディザマトリックスを使用した場合よりもドットの分散性が均一である。 The dot patterns DP1, DP2, DP3, and DP4 are dot patterns when a conventional dither matrix is used. The dot patterns DP1a, DP2a, DP3a, and DP4a are dot patterns when the dither matrix of the present invention is used. As can be seen from FIG. 15, when the dither matrix of the present invention is used, the dot dispersibility is more uniform than in the case of using the dither matrix of the prior art, particularly in the dot patterns DP1a and DP2a where the dot pattern overlap is small. It is.
従来技術のディザマトリックスには、画素グループという概念が無いため最終的に形成される印刷画像(図15の例ではドットパターンDP4)におけるドットの分散性にのみ着目して最適化が行われている。 Since the conventional dither matrix does not have the concept of a pixel group, optimization is performed by paying attention only to the dispersibility of dots in a finally formed printed image (dot pattern DP4 in the example of FIG. 15). .
しかし、本願発明者は、敢えてドットの形成過程におけるドットパターンに着目して印刷画像の画質の解析を行った。この解析の結果、ドットの形成過程におけるドットパターンの疎密に起因して、画像のむらが発生することが分かったのである。この画像のむらは、同一の主走査で形成される複数色のドットの重なり方が不均一であるため、複数色のドットが接触して滲む部分と、複数色のドットが離れていて滲まない部分とが、まだら状に発生することに起因して色むらが生じていることが発明者によって見いだされた。 However, the inventor of the present application dared to analyze the image quality of the printed image by paying attention to the dot pattern in the dot formation process. As a result of this analysis, it has been found that image unevenness occurs due to the density of the dot pattern in the dot formation process. The unevenness of this image is due to non-uniformity in the overlapping of multiple color dots formed in the same main scan, so the part where multiple color dots touch and the part where multiple color dots are separated and not blurred However, it has been found by the inventor that color unevenness occurs due to the occurrence of mottle.
このような色むらは、1回のパスで印刷画像を形成する場合においても発生し得る。しかし、色むらが印刷画像の全面で均一に発生しても人間の目には知覚されにくい。均一に発生している故に、低周波成分を含む不均一な「むら」としてはインクの滲みが発生しないからである。 Such color unevenness can occur even when a printed image is formed in one pass. However, even if color unevenness occurs uniformly on the entire printed image, it is difficult for the human eye to perceive it. This is because, since they are uniformly generated, ink bleeding does not occur as uneven “unevenness” including low-frequency components.
ところが、同一の主走査でほぼ同時にインクドットが形成される画素グループに形成されるドットパターンにおいて、インクの滲みで人間の目に認識されやすい低周波領域でむらが発生すると、顕著な画質劣化として顕在化することになる。このように、インクドットの形成によって印刷画像を形成する場合には、ほぼ同時にインクドットが形成される画素グループに形成されるドットパターンにも着目してディザマトリックスを最適化することが高画質化につながることを発明者によって初めて見いだされたのである。 However, in a dot pattern formed in a pixel group in which ink dots are formed almost simultaneously in the same main scan, if unevenness occurs in a low-frequency region that is easily recognized by the human eye due to ink bleeding, this is a significant deterioration in image quality. It will become apparent. In this way, when forming a print image by forming ink dots, it is possible to optimize the dither matrix by focusing on the dot pattern formed in the pixel group in which the ink dots are formed almost simultaneously. It was first discovered by the inventor that it leads to
しかしながら、複数のインク色毎のディザマトリックスの使用は、印刷システムの処理やハードウェア資源の負担の増大といった問題を生じさせることが分かった。さらに、複数のインク色毎のディザマトリックスの準備にも大きな負担を伴っていた。 However, it has been found that the use of a dither matrix for each of a plurality of ink colors causes problems such as processing of the printing system and an increase in the burden of hardware resources. Furthermore, the preparation of a dither matrix for each of a plurality of ink colors is accompanied by a heavy burden.
B2.第2実施例における最適化ディザマトリックスの考え方:
図16は、ディザマトリクスの調整の簡単な例として、ブルーノイズ特性を有するブルーノイズディザマトリクスの各画素に設定されている閾値の空間周波数特性を概念的に例示した説明図である。ブルーノイズマトリックスの空間周波数特性は、1周期の長さが2画素付近の高い周波数領域に最も大きな周波数成分を有する特性となっている。このような空間周波数特性は、人間の視覚特性を考慮して設定されたものである。すなわち、ブルーノイズディザマトリクス、高周波領域において感度が低いという人間の視覚特性を考慮して、高周波領域に最も大きな周波数成分が発生するように閾値の格納位置が調整されたディザマトリックスである。
B2. Concept of the optimized dither matrix in the second embodiment:
FIG. 16 is an explanatory diagram conceptually illustrating the spatial frequency characteristics of threshold values set for each pixel of a blue noise dither matrix having blue noise characteristics as a simple example of dither matrix adjustment. The spatial frequency characteristic of the blue noise matrix is a characteristic in which the length of one cycle has the largest frequency component in a high frequency region near two pixels. Such spatial frequency characteristics are set in consideration of human visual characteristics. That is, the blue noise dither matrix is a dither matrix in which the threshold storage position is adjusted so that the largest frequency component is generated in the high frequency region in consideration of the human visual characteristic that the sensitivity is low in the high frequency region.
図16には、さらに、グリーンノイズマトリックスの空間周波数特性を破線の曲線として例示している。図示されているように、グリーンノイズマトリックスの空間周波数特性は、1周期の長さが2画素から十数画素の中間周波数領域に最も大きな周波数成分を有する特性となっている。グリーンノイズマトリックスの閾値は、このような空間周波数特性を有するように設定されていることから、グリーンノイズ特性を有するディザマトリックスを参照しながら各画素のドット形成の有無を判断すると、数ドット単位で隣接してドットが形成されながら、全体としてはドットの固まりが分散した状態で形成されることになる。いわゆるレーザープリンタなどのように、1画素程度の微細なドットを安定して形成することが困難なプリンタでは、こうしたグリーンノイズマトリックスを参照してドット形成の有無を判断することで、孤立したドットの発生を抑制することができる。その結果、安定した画質の画像を迅速に出力することが可能となる。逆に言えば、レーザープリンタなどでドットの形成有無を判断する際に参照されるディザマトリックスには、グリーンノイズ特性を有するように調整された閾値が設定されている。 FIG. 16 further illustrates the spatial frequency characteristics of the green noise matrix as a dashed curve. As shown in the figure, the spatial frequency characteristic of the green noise matrix is a characteristic having the largest frequency component in the intermediate frequency region in which the length of one cycle is from 2 pixels to several tens of pixels. Since the threshold value of the green noise matrix is set so as to have such a spatial frequency characteristic, when it is determined whether or not each pixel has a dot formation while referring to the dither matrix having the green noise characteristic, the threshold value is in units of several dots. While dots are formed adjacent to each other, the dots are formed in a dispersed state as a whole. In printers where it is difficult to stably form fine dots of about one pixel, such as so-called laser printers, it is possible to identify isolated dots by determining the presence or absence of dot formation with reference to such a green noise matrix. Occurrence can be suppressed. As a result, it is possible to quickly output an image with stable image quality. In other words, a dither matrix that is referred to when determining the presence or absence of dot formation by a laser printer or the like is set with a threshold value adjusted to have green noise characteristics.
図17は、人間が有する視覚の空間周波数に対する感度特性である視覚の空間周波数特性VTF(Visual Transfer Function)を概念的に示した説明図である。視覚の空間周波数特性VTFを利用すれば、人間の視覚感度を視覚の空間周波数特性VTFという伝達関数としてモデル化することによって、ハーフトーン処理後のドットの人間の視覚に訴える粒状感を定量化することが可能となる。このようにして定量化された値は、粒状性指数と呼ばれる。式F1は、視覚の空間周波数特性VTFを表す代表的な実験式を示している。式F1中の変数Lは観察距離を表しており、変数uは空間周波数を表している。式F2は、粒状性指数を定義する式である。式F2中の係数Kは、得られた値を人間の感覚と合わせるための係数である。 FIG. 17 is an explanatory diagram conceptually showing a visual spatial frequency characteristic VTF (Visual Transfer Function) which is a sensitivity characteristic with respect to the visual spatial frequency of a human. By using the visual spatial frequency characteristic VTF, the human visual sensitivity is modeled as a transfer function called the visual spatial frequency characteristic VTF, thereby quantifying the graininess of the dots after the halftone process appealing to the human visual sense. It becomes possible. The value quantified in this way is called the graininess index. Formula F1 shows a typical experimental formula representing the visual spatial frequency characteristic VTF. The variable L in the formula F1 represents the observation distance, and the variable u represents the spatial frequency. Formula F2 is a formula that defines the graininess index. The coefficient K in the formula F2 is a coefficient for matching the obtained value with the human sense.
このような人間の視覚に訴える粒状感の定量化は、人間の視覚系に対するディザマトリクスのきめ細かな最適化を可能とするものである。具体的には、ディザマトリックスに各入力階調値を入力した際に想定されるドットパターンに対してフーリエ変換を行ってパワースペクトルFSを求めるとともに、視覚の空間周波数特性VTFと乗算した後に全入力階調値で積分(式F2)することによって得ることができる粒状性指数をディザマトリクスの評価関数として利用することができる。この例では、ディザマトリクスの評価関数が小さくなるように閾値の格納位置を調整すれば最適化が図れることになる。 Such quantification of the granularity that appeals to human vision enables fine optimization of the dither matrix for the human visual system. Specifically, Fourier transform is performed on the dot pattern assumed when each input gradation value is input to the dither matrix to obtain the power spectrum FS, and all the inputs are obtained after multiplication with the visual spatial frequency characteristic VTF. The graininess index that can be obtained by integrating with the gradation value (formula F2) can be used as an evaluation function of the dither matrix. In this example, the optimization can be achieved by adjusting the threshold storage position so that the evaluation function of the dither matrix becomes small.
このような人間の視覚特性を考慮して設定されたブルーノイズディザマトリクスやグリーンノイズマトリックスといったディザマトリックスに共通するのは、いずれも印刷媒体上において人間の視覚感度が最も高い空間周波数の領域である1サイクル毎ミリメートルを中心周波数とした0.5サイクル毎ミリメートルから2サイクル毎ミリメートルまでの所定の低周波の範囲内の成分の平均値が小さくなるように設定されている点である。たとえば所定の低周波の範囲内の成分の平均値が少なくとも人間の視覚感度がほぼゼロとなる10サイクル毎ミリメートルの周波数を中心周波数とした5サイクル毎ミリメートルから20サイクル毎ミリメートルまでの範囲の成分の平均値よりも小さくなるような周波数特性を有するようにすれば、人間の視覚感度の高い領域において粒状性を抑制することができるので、人間の視覚感度に着目した効果的な画質の改善を行うことができることが発明者によって確認されている。 What is common to dither matrices such as blue noise dither matrix and green noise matrix set in consideration of such human visual characteristics is the region of the spatial frequency with the highest human visual sensitivity on the print medium. This is that the average value of the components within a predetermined low frequency range from 0.5 millimeters per millimeter to 2 millimeters per cycle with a center frequency of 1 millimeter per cycle is set to be small. For example, the average value of the components in a predetermined low frequency range is at least 5 cycles per millimeter to 20 cycles per millimeter with a frequency of 10 cycles per millimeter at which human visual sensitivity is almost zero. By having a frequency characteristic that is smaller than the average value, graininess can be suppressed in a region where human visual sensitivity is high, so that effective image quality improvement focusing on human visual sensitivity is performed. The inventor has confirmed that this is possible.
本発明の実施例におけるハーフトーン処理は、以下の各実施例の方法で生成された共通のディザマトリックスを変換して使用することによって、ハーフトーンに使用するディザマトリックスの数を少なくして印刷システムの処理負担やハードウェア資源の負担を小さくすることができる。 The halftone process in the embodiment of the present invention is a printing system in which the number of dither matrices used for the halftone is reduced by converting and using a common dither matrix generated by the methods of the following embodiments. The processing load and hardware resource load can be reduced.
B3.第2実施例におけるディザマトリックスの生成方法:
図18は、本発明の第2実施例におけるディザマトリックスの生成方法の処理ルーチンを示すフローチャートである。第2実施例の生成方法では、印刷画像の形成過程において連続する主走査(パス)で形成されるドットの分散性を考慮して最適化を図ることができるように構成されている。この例では、説明を分かりやすくするために8行8列の小さなディザマトリックスを生成するものとしている。ディザマトリックスの最適性をあらわす評価としては、粒状性指数(式F2、図17)が使用されるものとしている。
B3. Dither matrix generation method in the second embodiment:
FIG. 18 is a flowchart showing the processing routine of the dither matrix generation method in the second embodiment of the present invention. The generation method of the second embodiment is configured so that optimization can be achieved in consideration of the dispersibility of dots formed by successive main scans (passes) in the print image forming process. In this example, a small dither matrix of 8 rows and 8 columns is generated for easy understanding. The granularity index (formula F2, FIG. 17) is used as an evaluation representing the optimality of the dither matrix.
ステップS100では、グループ化処理が行われる。グループ化処理とは、本実施例では、印刷画像の形成過程(図14)において、同一の主走査でドットが形成される複数の画素グループに対応する要素毎にディザマトリックスを分割する処理である。 In step S100, a grouping process is performed. In the present embodiment, the grouping process is a process of dividing the dither matrix for each element corresponding to a plurality of pixel groups in which dots are formed by the same main scanning in the print image forming process (FIG. 14). .
図19は、本発明の第2実施例におけるグループ化処理が行われたディザマトリックスMcを示す説明図である。このグループ化処理では、図14における4つの画素グループに分割されるものとしている。初期ディザマトリックスM0の各要素に記載された数字は、各要素が属する画素グループを示している。たとえば1行1列の要素は、第1の画素グループ(図14)に属し、2行1列の要素は、第2の画素グループに属する。 FIG. 19 is an explanatory diagram showing the dither matrix Mc that has undergone the grouping process in the second embodiment of the present invention. In this grouping process, the pixel group is divided into four pixel groups in FIG. The numbers described in each element of the initial dither matrix M0 indicate the pixel group to which each element belongs. For example, the element of 1 row and 1 column belongs to the first pixel group (FIG. 14), and the element of 2 rows and 1 column belongs to the second pixel group.
図20は、本発明の第2実施例における4個の分割マトリックスM1〜M4を示す説明図である。分割マトリックスM1は、初期ディザマトリックスM0の要素のうち第1の画素グループに属する画素に対応する複数の要素と、空欄となっている複数の要素である空欄要素とから構成されている。空欄要素は、入力階調値に拘わらず常にドットが形成されない要素である。分割マトリックスM2〜M4は、それぞれディザマトリックスMの要素のうち第2〜第4の画素グループに属する画素に対応する複数の要素と、空欄要素とから構成されている。 FIG. 20 is an explanatory diagram showing four divided matrices M1 to M4 in the second embodiment of the present invention. The division matrix M1 includes a plurality of elements corresponding to the pixels belonging to the first pixel group among the elements of the initial dither matrix M0, and blank elements that are a plurality of blank elements. The blank element is an element in which dots are not always formed regardless of the input gradation value. Each of the divided matrices M2 to M4 includes a plurality of elements corresponding to pixels belonging to the second to fourth pixel groups among the elements of the dither matrix M, and blank elements.
このようにして、ステップS100のグループ化処理(図20)が完了すると、処理がステップS150に進められる。 In this way, when the grouping process (FIG. 20) in step S100 is completed, the process proceeds to step S150.
ステップS150では、マトリックスシフト処理が行われる。マトリックスシフト処理とは、上述のハーフトーン処理(図6)に使用される状態と同一の状態にディザマトリックスをシフトさせて配置する処理である。 In step S150, matrix shift processing is performed. The matrix shift process is a process in which the dither matrix is shifted and arranged in the same state as that used in the above-described halftone process (FIG. 6).
図21は、本発明の第2実施例におけるマトリックスシフト処理の内容を示す説明図である。第2実施例のマトリックスシフト処理では、シアンドット、マゼンタドット、およびイエロードットのハーフトーン処理に使用される単一の共用ディザマトリックスMcが生成される。共用ディザマトリックスMcは、所定の位置に配置されると、ディザマトリックスMc1としてシアンドットの形成状態の決定に使用される。一方、共用ディザマトリックスMcは、所定の位置から所定のシフトが行われることによって、マゼンタドットの形成状態の決定に使用されるディザマトリックスMc2やイエロードットの形成状態の決定に使用されるディザマトリックスMc3としてハーフトーン処理に使用される。ディザマトリックスMc1、Mc2、Mc3の組合せは、図1のディザマトリックスMに相当する。 FIG. 21 is an explanatory diagram showing the contents of matrix shift processing in the second embodiment of the present invention. In the matrix shift processing of the second embodiment, a single shared dither matrix Mc used for halftone processing of cyan dots, magenta dots, and yellow dots is generated. When the shared dither matrix Mc is arranged at a predetermined position, the shared dither matrix Mc is used as a dither matrix Mc1 for determining the formation state of cyan dots. On the other hand, the common dither matrix Mc is subjected to a predetermined shift from a predetermined position, whereby a dither matrix Mc2 used for determining a magenta dot formation state and a dither matrix Mc3 used for determining a yellow dot formation state. Used for halftone processing. A combination of the dither matrices Mc1, Mc2, and Mc3 corresponds to the dither matrix M in FIG.
このシフト処理は、本実施例では説明を分かりやすくするために分割マトリックスM1〜M4が相互に一致するように行われている。この図の例では、主走査方向にSx(2画素)だけシフトされるとともに、副走査方向にSy(2画素)だけシフトされている。ただし、このようなシフトは、主走査方向と副走査方向のシフト量が一致する必要はなく、一方の方向だけシフトを行うようにしても良い。さらに、シフトは、並進移動だけでなく、回転移動を含むようにしても良い。なお、本実施例のように分割マトリックスM1〜M4が相互に一致するようにシフトを行えば、ディザマトリックスの生成処理の負担を小さくすることができると言う利点がある。なお、このシフト量は、特許請求の範囲における「所定の単位シフト量」に相当する。 In this embodiment, this shift processing is performed so that the divided matrices M1 to M4 coincide with each other for easy understanding of the description. In the example of this figure, it is shifted by Sx (2 pixels) in the main scanning direction, and is shifted by Sy (2 pixels) in the sub-scanning direction. However, such a shift does not require that the shift amounts in the main scanning direction and the sub-scanning direction match, and the shift may be performed only in one direction. Furthermore, the shift may include not only translational movement but also rotational movement. Note that if the shift is performed so that the divided matrices M1 to M4 coincide with each other as in this embodiment, there is an advantage that the burden of the dither matrix generation process can be reduced. This shift amount corresponds to the “predetermined unit shift amount” in the claims.
このようにして、ステップS150のマトリックスシフト処理(図21)が完了すると、処理がステップS200に進められる。 In this way, when the matrix shift process (FIG. 21) in step S150 is completed, the process proceeds to step S200.
ステップS200では、着目閾値決定処理が行われる。着目閾値決定処理とは、格納要素の決定対象となる閾値を決定する処理である。本実施例では、比較的に小さな値の閾値、すなわちドットの形成されやすい値の閾値から順に選択することによって閾値が決定される。このように、ドットが形成されやすい閾値から順に選択すれば、ドットの粒状性が目立つハイライト領域におけるドット配置をコントロールする閾値から順に格納される要素を固定していくことになるので、ドットの粒状性が目立つハイライト領域に対して大きな設計自由度を与えることができるからである。この例では、後述するように4個の閾値が既に決定済みで、5番目の閾値が決定されるものとする。 In step S200, a target threshold value determination process is performed. The target threshold value determination process is a process for determining a threshold value to be a storage element determination target. In this embodiment, the threshold value is determined by selecting in order from a threshold value having a relatively small value, that is, a threshold value having a value at which dots are easily formed. Thus, if the dots are selected in order from the threshold at which dots are likely to be formed, the elements stored in order from the threshold for controlling the dot arrangement in the highlight area where the graininess of the dots is conspicuous are fixed. This is because a large degree of design freedom can be given to a highlight region where graininess is conspicuous. In this example, it is assumed that four threshold values have already been determined and the fifth threshold value is determined as described later.
図22は、本発明の第2実施例におけるディザマトリックス評価処理の処理ルーチンを示すフローチャートである。ステップS310では、決定済み閾値の対応ドットがオンとされる。決定済み閾値とは、格納要素が決定された閾値を意味する。本実施例では、前述のようにドットの形成されやすい値の閾値から順に選択されるので、着目閾値にドットが形成される際には、決定済み閾値が格納された要素に対応する画素には必ずドットが形成されることになる。逆に、着目閾値にドットが形成される最も小さな入力階調値においては、決定済み閾値が格納された要素以外の要素に対応する画素にはドットは形成されないことになる。 FIG. 22 is a flowchart showing the processing routine of the dither matrix evaluation process in the second embodiment of the present invention. In step S310, the corresponding dot of the determined threshold is turned on. The determined threshold means a threshold at which the storage element is determined. In this embodiment, since the threshold value is selected in order from the value at which dots are likely to be formed as described above, when a dot is formed as the threshold value of interest, the pixel corresponding to the element storing the determined threshold value is not used. Dots are always formed. Conversely, at the smallest input tone value at which dots are formed at the threshold value of interest, no dots are formed at pixels corresponding to elements other than the element storing the determined threshold value.
図23は、共用ディザマトリックスMcの1〜4番目にドットが形成されやすい4個の閾値が格納された要素に対応する各色3個の画素の各々にドットが形成された様子を示す説明図である。このようにして構成されるドットパターンDpacmyは、5番目のドットをどの画素に形成すべきかを決定するために使用される。*印については後述する。 FIG. 23 is an explanatory diagram illustrating a state in which dots are formed in each of three pixels of each color corresponding to an element storing four threshold values in which the first to fourth dots are easily formed in the shared dither matrix Mc. is there. The dot pattern Dpacmy configured in this way is used to determine in which pixel the fifth dot should be formed. The * mark will be described later.
これらの4個の閾値は、図23の例では、3行1列、4行6列、6行12列、および12行7列の格納要素に格納されている。ディザマトリックスMc1(図22)の行と列とが画素位置と一致していると仮定すると、4個のシアンドットは、3行1列、4行6列、6行12列、および12行7列の画素位置にそれぞれ形成されている。4個のマゼンタドットは、2行2列だけシアンドットからシフトした画素位置、すなわち、5行3列、6行8列、8行2列、および2行9列の画素位置にそれぞれ形成されている。4個のイエロードットは、4行4列だけシアンドットからシフトした画素位置、すなわち、7行5列、8行10列、10行4列、および4行11列の画素位置にそれぞれ形成されている。 In the example of FIG. 23, these four threshold values are stored in storage elements of 3 rows and 1 column, 4 rows and 6 columns, 6 rows and 12 columns, and 12 rows and 7 columns. Assuming that the rows and columns of the dither matrix Mc1 (FIG. 22) coincide with the pixel positions, the four cyan dots are 3 rows and 1 column, 4 rows and 6 columns, 6 rows and 12 columns, and 12 rows and 7 rows. It is formed at each pixel position of the column. Four magenta dots are formed at pixel positions shifted from cyan dots by 2 rows and 2 columns, that is, pixel positions of 5 rows and 3 columns, 6 rows and 8 columns, 8 rows and 2 columns, and 2 rows and 9 columns, respectively. Yes. The four yellow dots are formed at pixel positions shifted from cyan dots by 4 rows and 4 columns, that is, pixel positions of 7 rows, 5 columns, 8 rows, 10 columns, 10 rows, 4 columns, and 4 rows, 11 columns, respectively. Yes.
ステップS320(図22)では、格納候補要素選択処理が行われる。格納候補要素選択処理とは、評定マトリックスとして選択された分割マトリックスM1の要素の中から閾値の格納要素の候補となる格納候補要素を選択する処理である。この例では、前述のように*印が付された1行1列の格納要素が格納候補要素として選択されている。 In step S320 (FIG. 22), a candidate storage element selection process is performed. The storage candidate element selection process is a process of selecting a storage candidate element that becomes a threshold storage element candidate from the elements of the divided matrix M1 selected as the evaluation matrix. In this example, as described above, the 1-row, 1-column storage element marked with * is selected as a storage candidate element.
格納候補要素の選択は、たとえば共用ディザマトリックスMcの閾値の格納要素として決定済みの4個の格納要素である決定済み要素を除く他の格納要素の全てを順に選択するようにしても良いし、あるいは決定済み要素に隣接しない要素が存在する限り、これを優先的に選択するようにしても良い。 For selection of the storage candidate elements, for example, all of the storage elements other than the determined elements that are the four storage elements determined as the threshold storage elements of the shared dither matrix Mc may be sequentially selected. Alternatively, as long as there is an element that is not adjacent to the determined element, this may be preferentially selected.
ステップS330(図22)では、選択された格納候補要素にドットがオンされたとの仮定がなされる。具体的には、1行1列、3行3列、および5行5列の格納要素にドットがオンされる。格納候補要素に格納される閾値は、1行1列の画素位置でシアンドットのハーフトーン処理で使用されるだけでなく、主走査方向と副走査方向とにそれぞれ2画素だけシフトされた画素位置である3行3列の画素位置でマゼンタドットのハーフトーン処理でも使用され、さらに、5行5列の画素位置でイエロードットのハーフトーン処理でも使用されるからである。これにより、格納候補要素に5番目にドットが形成されやすい閾値が格納されたときの共用ディザマトリックスMcの評価を行うことが可能となる。 In step S330 (FIG. 22), it is assumed that a dot has been turned on for the selected storage candidate element. Specifically, dots are turned on in the storage elements of 1 row, 1 column, 3 rows, 3 columns, and 5 rows and 5 columns. The threshold value stored in the storage candidate element is not only used in the halftone process of cyan dots at the pixel position of 1 row and 1 column, but also the pixel position shifted by 2 pixels each in the main scanning direction and the sub-scanning direction This is because it is also used in halftone processing of magenta dots at the pixel position of 3 rows and 3 columns, and further used in halftone processing of yellow dots at the pixel positions of 5 rows and 5 columns. As a result, the shared dither matrix Mc can be evaluated when the threshold value at which the fifth dot is most likely to be formed is stored in the storage candidate element.
図24は、評定ドットパターンDpacmy(図23)に対応するドット密度マトリックスDdacmyを示す説明図である。ドット密度マトリックスDdacmyにおいて、数字1はドットの形成(格納候補要素に対応する画素にドットが形成されていると仮定されている場合を含む)を示し、数字0はドットの非形成を示している。このように、1つの閾値の格納要素の決定に基づいて、共用ディザマトリックスMcのハーフトーン処理における使用状態を想定して、シアンドット、マゼンタドット、およびイエロードットの全ての形成状態が決定されるので、各色のドットの形成状態を決定する閾値の格納位置の最適性を同時に評価することができる。
FIG. 24 is an explanatory diagram showing a dot density matrix Ddacmy corresponding to the rating dot pattern Dpacmy (FIG. 23). In the dot density matrix Ddacmy, the
図25は、本発明の第2実施例における評価値決定処理の処理ルーチンを示すフローチャートである。ステップS342では、全画素について全インクを評定として粒状性指数が算出される。具体的には、ドット密度マトリックスDdacmy(図24)に基づいて式F2(図17)の式によって算出される。 FIG. 25 is a flowchart showing a processing routine of evaluation value determination processing in the second embodiment of the present invention. In step S342, the graininess index is calculated by evaluating all inks for all pixels. Specifically, it is calculated by the equation F2 (FIG. 17) based on the dot density matrix Ddacmy (FIG. 24).
ステップS343では、全画素について各インクを評定として粒状性指数が算出される。具体的には、ドット密度マトリックスDdacmy(図24)からシアンドットだけを抜き出したドット密度マトリックスDdac(図26)、ドット密度マトリックスDdacmyからマゼンタドットだけを抜き出したドット密度マトリックスDdam(図27)、およびドット密度マトリックスDdacmyからイエロードットだけを抜き出したドット密度マトリックス(図示せず)に基づいて式F2の式によって同様に算出される。 In step S343, the graininess index is calculated by rating each ink for all pixels. Specifically, a dot density matrix Ddac (FIG. 26) in which only cyan dots are extracted from the dot density matrix Ddacmy (FIG. 26), a dot density matrix Ddam (FIG. 27) in which only magenta dots are extracted from the dot density matrix Ddacmy, and Based on a dot density matrix (not shown) in which only yellow dots are extracted from the dot density matrix Ddacmy, the calculation is similarly performed by the expression F2.
ステップS344では、各画素グループ(図20)について全インクを評定として粒状性指数が算出される。具体的には、ドット密度マトリックスDdacmy(図24)から第1の画素グループだけを抜き出したドット密度マトリックスDd1cmy(図28)、ドット密度マトリックスDdacmyから第2の画素グループだけを抜き出したドット密度マトリックスDd2cmy(図29)、ドット密度マトリックスDdacmyから第3の画素グループだけを抜き出したドット密度マトリックス(図示せず)、およびドット密度マトリックスDdacmyから第4の画素グループだけを抜き出したドット密度マトリックス(図示せず)に基づいて式F2の式によって同様に算出される。 In step S344, the graininess index is calculated by rating all inks for each pixel group (FIG. 20). Specifically, a dot density matrix Dd1cmy (FIG. 28) obtained by extracting only the first pixel group from the dot density matrix Ddacmy (FIG. 24), and a dot density matrix Dd2cmy obtained by extracting only the second pixel group from the dot density matrix Ddacmy. (FIG. 29), a dot density matrix (not shown) in which only the third pixel group is extracted from the dot density matrix Ddacmy, and a dot density matrix (not shown) in which only the fourth pixel group is extracted from the dot density matrix Ddacmy. ) On the basis of the formula F2.
ステップS345では、各画素グループ(図20)について各インクを評定として粒状性指数が算出される。具体的には、ドット密度マトリックスDdacmy(図24)から各画素グループの各インクのドットだけを抜き出したドット密度マトリックスに基づいて式F2の式によって同様に算出される。このようなドット密度マトリックスは、たとえばドット密度マトリックスDdacmy(図24)から第1の画素グループのシアンドットだけを抜き出したドット密度マトリックスDd1c(図30)や第1の画素グループのマゼンタドットだけを抜き出したドット密度マトリックスDd1m(図31)である。 In step S345, the graininess index is calculated by rating each ink for each pixel group (FIG. 20). Specifically, it is similarly calculated by the formula F2 based on the dot density matrix obtained by extracting only the dots of each ink of each pixel group from the dot density matrix Ddacmy (FIG. 24). As such a dot density matrix, for example, a dot density matrix Dd1c (FIG. 30) obtained by extracting only the cyan dots of the first pixel group from the dot density matrix Ddacmy (FIG. 24) or only the magenta dots of the first pixel group are extracted. The dot density matrix Dd1m (FIG. 31).
ステップS346では、重み付け加算処理が行われる。重み付け加算処理とは、算出された各粒状性指数の各々に重み付けを行うとともに加算する処理である。 In step S346, a weighted addition process is performed. The weighted addition process is a process for weighting and adding each calculated granularity index.
図32は、重み付け加算処理に使用する計算式を示す説明図である。この計算式から分かるように、評価値Eは、全画素についての全インクの粒状性指数Gacmy(ステップS342で算出)に重み付け係数W1(たとえば12)を乗じた値と、全画素についての各インクの粒状性指数Gac、Gam、Gay(ステップS342で算出)に重み付け係数W2(たとえば4)を乗じた値と、第1〜第4の画素グループの各々についての全インクの4つの粒状性指数G1cmy、G2cmy、G3cmy、G4cmy(ステップS344で算出)の和に重み付け係数W3(たとえば3)を乗じた値と、第1〜第4の画素グループの各々についての各インクの12の粒状性指数G1c〜G4y(ステップS345で算出)の和に重み付け係数W4(たとえば1)を乗じた値と、の和として決定される。 FIG. 32 is an explanatory diagram showing a calculation formula used for the weighted addition process. As can be seen from this calculation formula, the evaluation value E is a value obtained by multiplying the granularity index Gacmy (calculated in step S342) of all inks for all pixels by a weighting coefficient W1 (for example, 12), and each ink for all pixels. Are obtained by multiplying the graininess indices Gac, Gam, and Gay (calculated in step S342) by a weighting coefficient W2 (for example, 4), and four graininess indices G1cmy of all inks for each of the first to fourth pixel groups. , G2cmy, G3cmy, G4cmy (calculated in step S344) multiplied by a weighting coefficient W3 (for example, 3), and 12 graininess indexes G1c of each ink for each of the first to fourth pixel groups It is determined as the sum of the sum of G4y (calculated in step S345) and the weighted coefficient W4 (for example, 1).
このような格納候補要素選択処理(ステップS320)から評価値決定処理(ステップS340)への一連の処理(図22)は、全ての格納候補要素について行われる(ステップS350)。このようにして、全ての格納候補要素について、それぞれの評価値が決定されると、処理がステップS400(図18)に進められる。 A series of processes (FIG. 22) from the storage candidate element selection process (step S320) to the evaluation value determination process (step S340) is performed for all the storage candidate elements (step S350). In this way, when the respective evaluation values are determined for all the storage candidate elements, the process proceeds to step S400 (FIG. 18).
ステップS400では、格納要素決定処理が行われる。格納要素決定処理では、最も評価値が小さな格納候補要素が着目閾値の格納要素として決定される。 In step S400, a storage element determination process is performed. In the storage element determination process, the storage candidate element with the smallest evaluation value is determined as the storage element for the threshold of interest.
このような処理(ステップS200〜ステップS400)は、最終閾値まで、閾値を変更しつつ繰り返される(ステップS500)。最終閾値は、最もドットが形成されにくい最大閾値としても良いし、あるいは予め定められた所定の閾値範囲の中の最大閾値としても良い。この点は、最初に評価対象となる閾値についても同様である。 Such processing (step S200 to step S400) is repeated while changing the threshold up to the final threshold (step S500). The final threshold value may be a maximum threshold value at which dots are hardly formed, or may be a maximum threshold value within a predetermined threshold range. This also applies to the threshold value to be evaluated first.
このように、第2実施例では、単一の共用ディザマトリックスMcを2回シフトさせて配置することによって、シアン、マゼンタ、およびイエローの各ドットについてハーフトーン処理が行われることが想定されるとともに、このような想定されたハーフトーン処理において3色のドットの総合的な分散性を良くする方法が実現されている。このようにして生成された共用ディザマトリックスMcは、ハーフトーンに使用するディザマトリックスの数を少なくして印刷システムの処理負担やハードウェア資源の負担を小さくすることができるという利点を有する。 As described above, in the second embodiment, it is assumed that halftone processing is performed for each dot of cyan, magenta, and yellow by arranging a single shared dither matrix Mc by shifting it twice. In such an assumed halftone process, a method for improving the overall dispersibility of the three color dots has been realized. The shared dither matrix Mc generated in this way has the advantage that the number of dither matrices used for halftone can be reduced to reduce the processing load of the printing system and the burden of hardware resources.
なお、評定となるドットパターンは、上述のもの限られず、たとえば変形例の計算式(図33)を使用して以下のような構成としても良い。すなわち、第2実施例では、シアン、マゼンタ、およびイエローの3色の混色パターンを評定の対象としているが、たとえばシアンとマゼンタの2色の混色パターン及びシアンとイエローの2色の混色パターンといった基準となる1色(この例ではシアン)を含む2色の混色パターンを評定の対象として最適化を図るように構成しても良い。こうすれば、より適切に基準マトリックスを設定することができる。基準マトリックスの設定がより適切となるのは、中間調領域における2色の混色パターンが印刷画像において粒状性の問題を顕著に生じさせるからである。逆に、3色の混色パターンでは、ドット数が過度となって評価も困難である。 In addition, the dot pattern used as a rating is not limited to the one described above, and may be configured as follows using, for example, a modified calculation formula (FIG. 33). That is, in the second embodiment, a mixed color pattern of three colors of cyan, magenta, and yellow is targeted for evaluation. For example, a reference is made of a mixed color pattern of two colors of cyan and magenta and a mixed color pattern of two colors of cyan and yellow. It may be configured to optimize the mixed color pattern of two colors including one color (cyan in this example) to be evaluated. In this way, the reference matrix can be set more appropriately. The reason why the reference matrix is set more appropriately is that the mixed color pattern of two colors in the halftone area causes a problem of graininess in the printed image. On the contrary, in the mixed color pattern of three colors, the number of dots becomes excessive and evaluation is difficult.
また、マゼンタとイエローの2色の混色パターンが評定の対象となっていないのは、シアンとマゼンタの2色の混色パターンを評定の対象とすることによって、同時にマゼンタとイエローの2色の混色パターンも評定の対象となっていることになるからである。この理由は、本実施例では、図21から分かるようにシアンドットの形成状態を決定するディザマトリックスMc1とマゼンタドットの形成状態を決定するディザマトリックスMc2の関係が、ディザマトリックスMc2とイエロードットの形成状態を決定するディザマトリックスMc3の関係と同一だからである。このような相対的な関係が成立するのは、単一の共通ディザマトリックスMcに対して同一のシフト処理を繰り返すことによってディザマトリックスMc1、Mc2、Mc3が構成されているからである。なお、「同一のシフト処理を繰り返し」は、所定の単位シフト量の整数倍(この例では、1倍と2倍)のシフト処理の各々としても把握できる。 In addition, the mixed color pattern of two colors of magenta and yellow is not subject to the evaluation. The mixed color pattern of two colors of cyan and magenta is used as the evaluation target, so that the mixed color pattern of two colors of magenta and yellow is simultaneously used. It is because it will be the object of rating. In this embodiment, as can be seen from FIG. 21, the relationship between the dither matrix Mc1 that determines the cyan dot formation state and the dither matrix Mc2 that determines the magenta dot formation state is the same as the formation of the dither matrix Mc2 and the yellow dots. This is because the relationship is the same as that of the dither matrix Mc3 that determines the state. Such a relative relationship is established because the dither matrices Mc1, Mc2, and Mc3 are configured by repeating the same shift process for a single common dither matrix Mc. It should be noted that “repeat the same shift process” can also be grasped as each of the shift processes of integer multiples (in this example, 1 and 2 times) of a predetermined unit shift amount.
なお、全ての階調値について、このような調整を行うことは必ずしも必要ないが、印刷媒体上にドットを均等配置したと仮定した場合に低周波成分が比較的に高くなる40%から60%までのドット密度の範囲に含まれる階調値で調整を行うようにすることが好ましい。 Note that it is not always necessary to perform such adjustment for all gradation values, but the low frequency component becomes relatively high when it is assumed that dots are evenly arranged on the print medium. It is preferable to perform adjustment with gradation values included in the range of the dot density up to.
また、評価値算出式としては、図32、図33に示した式に限らず、種々の式を採用可能である。例えば、図32、図33の算出式に含まれる複数の項の中から任意に選択された項の和を採用可能である。いずれの場合も、図32の算出式の「全画素についての全インクの粒状性指数Gacmy」を少なくとも含む算出式を採用することが好ましい。このような算出式を採用すれば、全インクのコンポジットで表される印刷画像の画質を向上させることができる。 Moreover, as an evaluation value calculation formula, not only the formula shown in FIG. 32 and FIG. 33 but various formulas are employable. For example, a sum of terms arbitrarily selected from a plurality of terms included in the calculation formulas of FIGS. 32 and 33 can be employed. In any case, it is preferable to employ a calculation formula including at least the “graininess index Gacmy of all ink for all pixels” in the calculation formula of FIG. Employing such a calculation formula can improve the image quality of a printed image represented by a composite of all inks.
また、従来のディザマトリックスを利用することによってグレーの中間調を再現する場合には、全インク色の全ドットの内のおよそ20%のドットは、他のドットと重なる重畳ドットである。一方、第2実施例の上述の方法で生成されたディザマトリックスを利用することによって同じグレー中間調を再現する場合には、重畳ドットの割合をおよそ15%まで減少させることが可能である。この結果、色再現範囲が狭くなることを抑制することもできる。また、各インク色のドットが分散して形成されるので、粒状性が目立つことを抑制できる。 Further, when gray halftone is reproduced by using a conventional dither matrix, approximately 20% of all dots of all ink colors are superimposed dots that overlap other dots. On the other hand, when the same gray halftone is reproduced by using the dither matrix generated by the above-described method of the second embodiment, the ratio of superimposed dots can be reduced to about 15%. As a result, it is possible to suppress the color reproduction range from being narrowed. Further, since the dots of each ink color are formed in a dispersed manner, it is possible to suppress the noticeable graininess.
また、第2実施例では、図21、図23で説明したように、共用ディザマトリックスMcをインク色毎にシフトして配置した状態におけるドットの形成状態が評価される。すなわち、図9に示す第2モードにおけるドット形成状態が評価される。その結果、第2モードで印刷された画像の画質を向上させることが可能となる。 In the second embodiment, as described with reference to FIGS. 21 and 23, the dot formation state in a state where the shared dither matrix Mc is shifted and arranged for each ink color is evaluated. That is, the dot formation state in the second mode shown in FIG. 9 is evaluated. As a result, the image quality of the image printed in the second mode can be improved.
ここで、さらに図7に示す第1モードで印刷された画像の画質を向上させるために、共用ディザマトリックスMcの配置が各インク色に共通な場合のドット形成状態を評価してもよい。具体的には、以下に示す評価値算出式を採用可能である。 Here, in order to further improve the image quality of the image printed in the first mode shown in FIG. 7, the dot formation state when the arrangement of the shared dither matrix Mc is common to each ink color may be evaluated. Specifically, the following evaluation value calculation formula can be employed.
Eb=Em1*Wm1 + Em2*Wm2
Eb:評価値
Em1:第1モード評価値
Wm1:第1モードの重み係数
Em2:第2モード評価値
Wm2:第2モードの重み係数
Eb = Em1 * Wm1 + Em2 * Wm2
Eb: evaluation value Em1: first mode evaluation value Wm1: first mode weight coefficient Em2: second mode evaluation value Wm2: second mode weight coefficient
第1モード評価値Em1は、第1モードでのドット形成状態から算出される評価値である。第1モード評価値Em1の算出には、図22のステップS330で各インク色のドットを同じ画素位置に形成することによって得られるドット形成状態が利用される。第2モード評価値Em2は、第2モードでのドット形成状態から算出される評価値である。第2モード評価値Em2の算出には、各インク色毎にシフトされたディザマトリックスに従って各インク色のドットを形成することによって得られるドット形成状態が利用される。 The first mode evaluation value Em1 is an evaluation value calculated from the dot formation state in the first mode. For the calculation of the first mode evaluation value Em1, the dot formation state obtained by forming dots of each ink color at the same pixel position in step S330 of FIG. 22 is used. The second mode evaluation value Em2 is an evaluation value calculated from the dot formation state in the second mode. For the calculation of the second mode evaluation value Em2, a dot formation state obtained by forming dots of each ink color according to the dither matrix shifted for each ink color is used.
これらの評価値Em1、Em2は、同じ算出式から算出される。ただし、互いに異なる算出式からこれらの評価値Em1、Em2が算出されてもよい。いずれの場合も、評価値Em1、Em2の算出式としては、上述した種々の算出式を採用可能である。 These evaluation values Em1 and Em2 are calculated from the same calculation formula. However, these evaluation values Em1 and Em2 may be calculated from different calculation formulas. In any case, the above-described various calculation formulas can be adopted as calculation formulas for the evaluation values Em1 and Em2.
また、第1モード重み係数Wm1と第2モード重み係数Wm2とは、同じ値(例えば、50)に設定される。ただし、一方のモードが他方のモードよりも重要な場合には、その一方のモードの重みを他方のモードの重みよりも大きな値に設定してもよい。 Further, the first mode weighting factor Wm1 and the second mode weighting factor Wm2 are set to the same value (for example, 50). However, when one mode is more important than the other mode, the weight of one mode may be set to a value larger than the weight of the other mode.
また、第2モード評価値Em2を利用せずに第1モード評価値Em1のみを利用してディザマトリックスを生成してもよい。 Alternatively, the dither matrix may be generated using only the first mode evaluation value Em1 without using the second mode evaluation value Em2.
以上、シアン、マゼンタ、イエローの3色のインクを利用する場合について説明したが、他のインクの組合せを利用する場合も、同様にディザマトリックスを生成することができる。例えば、第1実施例のように4色のインクを利用する場合にも、第2実施例で説明した方法で共用ディザマトリックスMcを生成することができる。 As described above, the case of using inks of three colors of cyan, magenta, and yellow has been described. However, when using a combination of other inks, a dither matrix can be similarly generated. For example, even when four colors of ink are used as in the first embodiment, the shared dither matrix Mc can be generated by the method described in the second embodiment.
C.第3実施例:
第3実施例では、ディザマトリックスの特性と生成との別の態様について説明する。以下の説明では、第2実施例と同じカラープリンタ20b(図12、図13)が利用されている。また、プリンタドライバ96(図1)は、図11に示す第1実施例と同様に、印刷処理を実行する。なお、ディザマトリックスの特性と生成とに関する以下の説明は、第1実施例にも適用可能である。
C. Third embodiment:
In the third embodiment, another aspect of dither matrix characteristics and generation will be described. In the following description, the
C1.双方向印刷を想定した最適ディザマトリックスの生成:
双方向印刷とは、印刷ヘッド12(図12)の主走査送り(本明細書では、単に主走査とも呼ぶ。)の往動時と復動時の双方で印刷画素にドットを形成して印刷画像を生成する印刷である。双方向印刷に対して最適化されたディザマトリックスは、双方向印刷に起因する画質劣化を抑制するために以下のようにして生成される。
C1. Generation of optimal dither matrix assuming bi-directional printing:
Bidirectional printing means printing by forming dots on the print pixels both during the forward movement and during the backward movement of the main scanning feed (referred to simply as main scanning in this specification) of the print head 12 (FIG. 12). Printing that generates an image. The dither matrix optimized for bidirectional printing is generated as follows in order to suppress image quality deterioration caused by bidirectional printing.
C2.双方向印刷に起因する画質劣化とその抑制のメカニズム:
図34は、従来のディザマトリックスを用いて形成されたドットパターンを示す説明図である。図34において、3つのドットパターンDpall、Dpf、Dpbは、それぞれ印刷画像のドットパターンDpallと、印刷ヘッド12の主走査の往動時に形成される往動時ドットパターンDpfと、印刷ヘッド12の主走査の復動時に形成される復動時ドットパターンDpbと、を示している。印刷画像のドットパターンDpallは、往動時ドットパターンDpfと、復動時ドットパターンDpbと、が共通の印刷領域で組み合わせられることによって形成される。
C2. Image quality degradation due to bidirectional printing and its suppression mechanism:
FIG. 34 is an explanatory diagram showing a dot pattern formed using a conventional dither matrix. In FIG. 34, three dot patterns Dpall, Dpf, and Dpb are respectively the dot pattern Dpall of the print image, the forward movement dot pattern Dpf formed during the main scanning forward movement of the
図34から分かるように、印刷画像のドットパターンDpallが比較的に均一なドットの分散性を示しているのに対して、往動時ドットパターンDpfや復動時ドットパターンDpbは、ドットの疎密が生じている。このようなドットの疎密は、顕著な画質劣化として人間の目に認識されるものである。このような画質劣化は、従来のディザマトリックスが印刷画像のドットパターンDpallの画質を向上させるように構成されていることに起因して生じるものであるが、往動時ドットパターンDpfと復動時ドットパターンDpbとが、予め想定されるようにドット形成位置の誤差を生じさせることなく組み合わせられるものであれば本来は顕在化しないものでもある。 As can be seen from FIG. 34, the dot pattern Dpall of the printed image shows a relatively uniform dot dispersion, whereas the forward movement dot pattern Dpf and the backward movement dot pattern Dpb are dot density. Has occurred. Such density of dots is recognized by the human eye as significant image quality degradation. Such image quality degradation is caused by the fact that the conventional dither matrix is configured to improve the image quality of the dot pattern Dpall of the printed image. If the dot pattern Dpb can be combined without causing an error in the dot formation position as expected in advance, the dot pattern Dpb is not originally apparent.
図35は、従来のディザマトリックスを用いて形成された印刷画像の画質が双方向印刷によって劣化する様子を示す説明図である。図35において、4つのドットパターンDp11、Dp12、Df1、Db1は、それぞれ印刷画像のドットパターンDp11(ドットの位置ずれ無し)と、印刷画像のドットパターンDp12(ドットの位置ずれ有り)と、印刷ヘッド12の主走査の往動時に形成される往動時ドットパターンDf1と、印刷ヘッド12の主走査の復動時に形成される復動時ドットパターンDb1と、を示している。
FIG. 35 is an explanatory diagram showing how the image quality of a print image formed using a conventional dither matrix deteriorates due to bidirectional printing. In FIG. 35, four dot patterns Dp11, Dp12, Df1, and Db1 are respectively a dot pattern Dp11 (no dot displacement) of the print image, a dot pattern Dp12 (dot displacement) of the print image, and the print head. 12 shows a forward movement dot pattern Df1 formed at the time of 12 main scanning forward movements, and a backward movement dot pattern Db1 formed at the time of backward movement of the main scanning of the
印刷画像のドットパターンDp11(ドットの位置ずれ無し)は、図34のドットパターンDpallと同一である。往動時ドットパターンDf1は、図34のドットパターンDpfと同一である。復動時ドットパターンDb1は、図34のドットパターンDpbと同一である。 The dot pattern Dp11 (no dot misalignment) of the print image is the same as the dot pattern Dpall in FIG. The forward movement dot pattern Df1 is the same as the dot pattern Dpf of FIG. The backward movement dot pattern Db1 is the same as the dot pattern Dpb of FIG.
印刷画像のドットパターンDp12(ドットの位置ずれ有り)では、往動時ドットパターンDf1と復動時ドットパターンDb1の相対的な位置ずれによって画質が顕著に劣化している。ドット形成位置の相対的なずれは、ドット形成時における主走査方向の相違(往あるいは復)によって主走査方向にドット形成位置がドットパターンDf1、Db1の各々が一体としてずれることによって生ずるものである。このように、ドットパターンの相対的な位置ずれによって画質が顕著に劣化するのは、前述のように従来のディザマトリックスがこのような位置ずれを生じることなくドットが正確な位置に形成されることを想定して構成されているからである。すなわち、位置ずれが無ければ、各ドットパターンDf1、Db1の疎の部分と密の部分とが精度良く合致することによって、均一なドット分散性が合致するのであるが、位置ずれに起因して疎の部分同士や密の部分同士が合致してしまう場合が生ずるため、ドットの疎密が逆に強調される場合が生じて画質が劣化してしまうのである。 In the dot pattern Dp12 (with dot misalignment) of the print image, the image quality is significantly degraded due to the relative misalignment between the forward dot pattern Df1 and the backward dot pattern Db1. The relative shift of the dot formation position is caused by the shift of the dot formation position in the main scanning direction by the dot patterns Df1 and Db1 as a whole due to the difference (forward or backward) in the main scanning direction during dot formation. . As described above, the image quality is significantly degraded due to the relative displacement of the dot pattern. As described above, the conventional dither matrix does not cause such displacement, and the dots are formed at accurate positions. This is because of the configuration. In other words, if there is no misalignment, the sparse and dense portions of the dot patterns Df1 and Db1 match each other with high precision, so that uniform dot dispersibility matches. In other words, the density of the dots may be matched with each other, and the density of the dots may be emphasized on the contrary, and the image quality is deteriorated.
このような仮説に基づいて、本願発明者は、種々の画像について実験を行うことによって、このような画質劣化が双方向印刷によって生じていることを確認した。本願発明者は、さらに、この仮説に基づいて、ドットの位置ずれに対して耐性(ロバスト性)のあるディザマトリックスに想到した。 Based on such a hypothesis, the inventor of the present application confirmed that such image quality degradation was caused by bidirectional printing by conducting experiments on various images. Further, the inventor of the present application has come up with a dither matrix that is resistant (robust) to the misalignment of dots based on this hypothesis.
図36は、双方向印刷によって形成された印刷画像の画質劣化が本願発明の実施例のディザマトリックスによって抑制されている様子を示す説明図である。図36において、4つのドットパターンDp21、Dp22、Df2、Db2は、それぞれ印刷画像のドットパターンDp21(ドットの位置ずれ無し)と、印刷画像のドットパターンDp22(ドットの位置ずれ有り)と、印刷ヘッド12の主走査の往動時に形成される往動時ドットパターンDf2と、印刷ヘッド12の主走査の復動時に形成される復動時ドットパターンDb2と、を示している。
FIG. 36 is an explanatory diagram showing a state in which image quality deterioration of a printed image formed by bidirectional printing is suppressed by the dither matrix according to the embodiment of the present invention. In FIG. 36, four dot patterns Dp21, Dp22, Df2, and Db2 are respectively a dot pattern Dp21 (no dot displacement) of the print image, a dot pattern Dp22 (dot displacement) of the print image, and the
本願発明の実施例のディザマトリックスは、往動時ドットパターンDf2と復動時ドットパターンDb2のドットの分散性が良くなるように構成されていて、ドットパターンDf2、Db2の疎密が少ない点で上述のドットパターンDf1、Db1と相違する。このような疎密の小さなドットパターンDf2、Db2が組み合わされて形成された印刷画像のドットパターンDp22(ドットの位置ずれ有り)では、必然的にドットの位置ずれに起因する疎の部分同士や密の部分同士の重なりも少なくなるので、ドットの疎密が小さくなって分散性が好ましいものとなる。 The dither matrix according to the embodiment of the present invention is configured so that the dot dispersibility of the forward movement dot pattern Df2 and the backward movement dot pattern Db2 is improved, and the dot patterns Df2 and Db2 are less dense. This is different from the dot patterns Df1 and Db1. In the dot pattern Dp22 (with dot misalignment) of the printed image formed by combining such sparse and small dot patterns Df2 and Db2, sparse parts due to the dot misalignment are inevitably generated. Since the overlap between the portions is also reduced, the density of the dots is reduced and the dispersibility is preferable.
このように、本願発明の発明者は、従来から行われてきたドット形成位置の高精度化による画質の改善ではなく、ドット形成位置の誤差に対するロバスト性を有するディザマトリックスの構成という逆転の発想に想到したのである。本願発明者は、さらに、このような特性を有するディザマトリックスの実用的な生成をも実現することに成功した。 Thus, the inventor of the present invention does not improve the image quality by improving the accuracy of the dot formation position that has been conventionally performed, but the idea of reversal of a dither matrix configuration that has robustness against errors in the dot formation position. I came up with it. The inventor of the present application has also succeeded in realizing practical generation of a dither matrix having such characteristics.
C3.粒状性指数に基づく最適ディザマトリックスの生成:
図37は、本発明の第3実施例におけるディザマトリックスの生成方法の処理ルーチンを示すフローチャートである。このディザマトリックスの生成方法は、印刷画像の形成過程において往動時と復動時の双方に形成されるドットの分散性を考慮して最適化を図ることができるように構成されている。なお、この例では、説明を分かりやすくするために8行8列の小さなディザマトリックスを生成するものとしている。
C3. Generate optimal dither matrix based on granularity index:
FIG. 37 is a flowchart showing the processing routine of the dither matrix generation method in the third embodiment of the present invention. This dither matrix generation method is configured to be able to optimize in consideration of the dispersibility of dots formed during both forward movement and backward movement in the print image formation process. In this example, a small dither matrix of 8 rows and 8 columns is generated for easy understanding.
ステップS1100では、グループ化処理が行われる。グループ化処理とは、本実施例では、印刷画像の形成過程において往動時にドットが形成される画素グループと、復動時にドットが形成される画素グループと、に対応する要素毎にディザマトリックスを分割する処理である。 In step S1100, a grouping process is performed. In the present embodiment, the grouping process is a dither matrix for each element corresponding to a pixel group in which dots are formed during forward movement and a pixel group in which dots are formed during backward movement in the print image formation process. This is a process of dividing.
図38は、本発明の第3実施例におけるグループ化処理が行われたディザマトリックスMと2つの分割マトリックスM1、M2を示す説明図である。このグループ化処理では、図38における2つの画素グループに分割されるものとしている。ディザマトリックスMの各要素に記載された数字は、各要素が属する画素グループを示している。この例では、奇数行の要素は、第1の画素グループに属し、偶数行の要素は、第2の画素グループに属する。 FIG. 38 is an explanatory diagram showing a dither matrix M and two divided matrices M1 and M2 on which grouping processing has been performed in the third embodiment of the present invention. In this grouping process, the pixel group is divided into two pixel groups in FIG. The numbers described in each element of the dither matrix M indicate the pixel group to which each element belongs. In this example, the elements in the odd rows belong to the first pixel group, and the elements in the even rows belong to the second pixel group.
分割マトリックスM1は、ディザマトリックスMの要素のうち第1の画素グループに属する画素に対応する複数の要素と、空欄となっている複数の要素である空欄要素とから構成されている。一方、分割マトリックスM2は、ディザマトリックスMの要素のうち第2の画素グループに属する画素に対応する複数の要素と、空欄となっている複数の要素である空欄要素とから構成されている。このようなグループ化処理は、以下の印刷方法を想定して設定されたものである。 The division matrix M1 includes a plurality of elements corresponding to the pixels belonging to the first pixel group among the elements of the dither matrix M, and blank elements that are blank elements. On the other hand, the division matrix M2 includes a plurality of elements corresponding to the pixels belonging to the second pixel group among the elements of the dither matrix M, and blank elements that are blank elements. Such a grouping process is set assuming the following printing method.
図39は、本発明の第3実施例の双方向印刷における各主走査のドット形成対象画素を示す説明図である。この印刷では、ノズル列10を用いて双方向印刷によって各画素にドットが形成される。ノズル列10は、印刷ヘッド12(図13)の下面におけるノズル配列Yb、Mzb、Cbを代表するノズル列である。ノズルピッチk・Dは、2Dとなっている。ここで、Dは副走査方向における印刷解像度に相当する画素ピッチである。
FIG. 39 is an explanatory diagram showing dot formation target pixels for each main scanning in bidirectional printing according to the third embodiment of the present invention. In this printing, dots are formed in each pixel by bidirectional printing using the
この双方向印刷では、以下のようにして各画素にドットが形成される。最初の主走査であるパス1では、ノズル列10は、往方向に主走査送りが行われ、各画素位置にドットが形成される。これにより、数字「0」を囲む丸印の奇数行の画素位置にドットが形成される。このようにしてドットが形成される画素のグループが第1の画素グループである。パス1の完了の後に副走査送りが行われ、パス2の主走査送りが行われる。パス2では、ノズル列10は、復方向に主走査送りが行われ、各画素位置にドットが形成される。これにより、数字「2」を囲む丸印の偶数行の画素位置にドットが形成される。このようにしてドットが形成される画素のグループが第2の画素グループである。
In this bidirectional printing, dots are formed in each pixel as follows. In
このようにして、ステップS1100のグループ化処理(図37)が完了すると、処理が着目閾値決定処理(ステップS1200)に進められる。 Thus, when the grouping process (FIG. 37) in step S1100 is completed, the process proceeds to the threshold value determination process (step S1200).
ステップS1200は、図18のステップS200と同じである。次のステップS1300では、図22と同じ手順に従って、ディザマトリックスが評価される。図22のステップS340では、以下に示す評価値算出式に従って、評価値が算出される。 Step S1200 is the same as step S200 in FIG. In the next step S1300, the dither matrix is evaluated according to the same procedure as in FIG. In step S340 of FIG. 22, the evaluation value is calculated according to the following evaluation value calculation formula.
Ec=Ga*Wa + Gf*Wf + Gb*Wb
Ec:評価値
Ga:全画素指数
Wa:全画素指数の重み係数
Gf:往動画素指数
Wf:往動画素指数の重み係数
Gb:復動画素指数
Wb:復動画素指数の重み係数
Ec = Ga * Wa + Gf * Wf + Gb * Wb
Ec: Evaluation value Ga: All pixel index Wa: Weight coefficient of all pixel index Gf: Forward pixel index Wf: Forward pixel index weight coefficient Gb: Reverse pixel index Wb: Weight coefficient of backward pixel index
全画素指数Gaは、全インク色に関する全ての画素のドット形成状態から算出される粒状性指数である。往動画素指数Gfは、全インク色に関する往動時に形成される画素のドット形成状態から算出される粒状性指数である(図38の第1分割マトリックスM1におけるドットのオン/オフ分布が利用される)。復動画素指数Gbは、全インク色に関する復動時に形成される画素のドット形成状態から算出される粒状性指数である(図38の第2分割マトリックスM2におけるドットのオン/オフ分布が利用される)。 The total pixel index Ga is a graininess index calculated from the dot formation state of all pixels regarding all ink colors. The forward pixel index Gf is a graininess index calculated from the dot formation state of pixels formed during the forward movement for all ink colors (the dot on / off distribution in the first divided matrix M1 in FIG. 38 is used). ) The backward pixel index Gb is a granularity index calculated from the dot formation state of pixels formed during backward movement for all ink colors (the dot on / off distribution in the second divided matrix M2 in FIG. 38 is used). )
また、全画素指数Gaの重みWaと、往動画素指数Gfの重みGfと、復動画素指数Gbの重みWbとは、同じ値(例えば、33)に設定される。ただし、これらの重みWa、Wf、Wbが互いに異なる値に設定されてもよい。 Further, the weight Wa of the all-pixel index Ga, the weight Gf of the forward pixel index Gf, and the weight Wb of the backward pixel index Gb are set to the same value (for example, 33). However, these weights Wa, Wf, and Wb may be set to different values.
図37の次のステップS1400は、図18のステップS400と同じである。すなわち、最も評価値が小さな格納候補要素が着目閾値の格納要素として決定される。また、ステップS1500は、図18のステップS500と同じである。すなわち、一連の処理(ステップS1200〜ステップS1400)は、最終閾値まで、閾値を変更しつつ繰り返される。 The next step S1400 in FIG. 37 is the same as step S400 in FIG. That is, the storage candidate element with the smallest evaluation value is determined as the storage element for the focus threshold value. Step S1500 is the same as step S500 in FIG. That is, a series of processes (steps S1200 to S1400) are repeated while changing the threshold up to the final threshold.
このような処理を、最もドットの形成されやすい閾値から最もドットが形成され難い閾値までの全閾値について行うと、ディザマトリックスの生成処理が完了する(ステップS1500)。 When such processing is performed for all threshold values from the threshold at which dots are most easily formed to the threshold at which dots are hardly formed, the dither matrix generation processing is completed (step S1500).
このように、第3実施例では、全画素指数Gaに加えて、往動画素指数Gfと復動画素指数Gbとが小さくなるようにディザマトリックスが決定される。すなわち、往動時の画像(図36:往動時ドットパターンDf2)と、復動時の画像(図36:復動時ドットパターンDb2)と、のそれぞれのドットの分散性が良くなるように、ディザマトリックスが決定される。その結果、双方向印刷によって形成される印刷画像が人間の視覚に訴える粒状感を効果的に抑制することが可能である。 Thus, in the third embodiment, the dither matrix is determined so that the forward pixel index Gf and the backward pixel index Gb become smaller in addition to the total pixel index Ga. That is, the dispersibility of each dot in the forward movement image (FIG. 36: forward movement dot pattern Df2) and the backward movement image (FIG. 36: backward movement dot pattern Db2) is improved. The dither matrix is determined. As a result, it is possible to effectively suppress the graininess that the printed image formed by bidirectional printing appeals to human vision.
以上、シアン、マゼンタ、イエローの3色のインクを利用する場合について説明したが、他のインクの組合せを利用する場合も、同様にディザマトリックスを生成することができる。例えば、第1実施例のように4色のインクを利用する場合にも、第3実施例で説明した方法で共用ディザマトリックスMcを生成することができる。 As described above, the case of using inks of three colors of cyan, magenta, and yellow has been described. However, when using a combination of other inks, a dither matrix can be similarly generated. For example, even when four colors of ink are used as in the first embodiment, the shared dither matrix Mc can be generated by the method described in the third embodiment.
ここで、第3実施例におけるディザマトリックスの生成は、図7に示す第1モードと、図9に示す第2モードとの内のいずれか一方のモード、あるいは、両方のモードを考慮して実行可能である。すなわち、上述の評価値Ecを、第1モードにおけるドット形成状態に基づいて算出してもよい。この代わりに、評価値Ecを、第2モードにおけるドット形成状態に基づいて算出してもよい。また、第1モードのドット形成状態から算出された評価値Ecと、第2モードのドット形成状態から算出された評価値Ecと、の重み付きの和を利用してもよい。いずれの場合も、評価値が小さくなるように共用ディザマトリックスMcを決定することが好ましい。 Here, the generation of the dither matrix in the third embodiment is executed in consideration of one of the first mode shown in FIG. 7 and the second mode shown in FIG. 9, or both modes. Is possible. That is, the above-described evaluation value Ec may be calculated based on the dot formation state in the first mode. Instead, the evaluation value Ec may be calculated based on the dot formation state in the second mode. Alternatively, a weighted sum of the evaluation value Ec calculated from the dot formation state in the first mode and the evaluation value Ec calculated from the dot formation state in the second mode may be used. In any case, it is preferable to determine the shared dither matrix Mc so that the evaluation value becomes small.
また、上述の評価値Ecは、全てのインクのドットを総合することによって算出されているが、図25のステップS343、S345と同様に、各インク色毎の粒状性指数を利用して評価値を算出してもよい。また、図14に示すようにパス毎の粒状性指数を利用して評価値を算出してもよい。 The above-described evaluation value Ec is calculated by combining all the ink dots. Similar to steps S343 and S345 in FIG. 25, the evaluation value Ec is calculated using the granularity index for each ink color. May be calculated. Further, as shown in FIG. 14, the evaluation value may be calculated using a granularity index for each pass.
D.変形例:
なお、上記各実施例における構成要素の中の、独立クレームでクレームされた要素以外の要素は、付加的な要素であり、適宜省略可能である。また、この発明は上記の実施例や実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様において実施することが可能であり、例えば次のような変形も可能である。
D. Variations:
In addition, elements other than the elements claimed in the independent claims among the constituent elements in each of the above embodiments are additional elements and can be omitted as appropriate. The present invention is not limited to the above-described examples and embodiments, and can be implemented in various modes without departing from the gist thereof. For example, the following modifications are possible.
変形例1:
上述の各実施例において、第1モードによるハーフトーン処理の対象となる第1種印刷領域としては、キャラクタ領域を含む種々の領域を採用可能である。例えば、表やグラフを表す領域を第1種印刷領域として採用してもよい。また、第2モードによるハーフトーン処理の対象となる第2種印刷領域としては、自然画像を表す自然画像領域を含む種々の領域を採用可能である。例えば、コンピュータを利用して生成されたグラフィックスを表す領域を第2種印刷領域として採用してもよい。
Modification 1:
In each of the above-described embodiments, various areas including a character area can be adopted as the first type print area to be subjected to the halftone process in the first mode. For example, an area representing a table or a graph may be adopted as the first type printing area. In addition, as the second type print area to be subjected to the halftone process in the second mode, various areas including a natural image area representing a natural image can be adopted. For example, an area representing graphics generated using a computer may be adopted as the second type print area.
このような第1種印刷領域と第2種印刷領域との識別方法としては、種々の方法を採用可能である。例えば、キャラクタコードを利用することによって表されている印刷領域を第1種印刷領域と識別し、他の領域を第2種印刷領域と識別してもよい。また、キャラクタコードあるいはベクトル画像データを利用することによって表されている印刷領域を第1種印刷領域として識別し、他の領域を第2種印刷領域と識別してもよい。また、ビットマップ画像データ(例えば、JPEG画像データ)を利用することによって表されている印刷領域を第2種印刷領域と識別し、他の領域を第1種印刷領域と識別してもよい。キャラクタ領域は、しばしば、キャラクタコードを利用することによって表されている。一方、自然画像領域は、しばしば、ビットマップ画像データを利用することによって表されている。従って、これらの方法を採用することによって、適切な判断が可能である。いずれの場合も、ハーフトーンモジュール99(図1)は、印刷用画像データを解析することによって、このような識別(判断)が可能である。また、ハーフトーンモジュール99は、各印刷画素における印刷領域種類を示す情報を他の処理部(例えば、オペレーティングシステムの他の処理部)から取得し、取得した情報に従って識別(判断)してもよい。なお、キャラクタコードやベクトル画像データから各画素の入力階調値への変換は、解像度変換モジュール97(図1)によって、周知の方法に従って、実行される。
Various methods can be adopted as a method for discriminating between the first type print area and the second type print area. For example, the print area represented by using the character code may be identified as the first type print area, and the other area may be identified as the second type print area. Further, the print area represented by using the character code or the vector image data may be identified as the first type print area, and the other area may be identified as the second type print area. Also, the print area represented by using bitmap image data (for example, JPEG image data) may be identified as the second type print area, and the other areas may be identified as the first type print area. The character area is often represented by using a character code. On the other hand, natural image areas are often represented by using bitmap image data. Therefore, it is possible to make an appropriate determination by adopting these methods. In any case, the halftone module 99 (FIG. 1) can perform such identification (determination) by analyzing the printing image data. Further, the
変形例2:
上述の各実施例の第2モードでは、共用ディザマトリックスMcの配置が全てのインク色毎に異なっているが、一部のインク色に関しては共通の配置が採用されてもよい。一般には、少なくとも一部の複数のインク色に関して、配置が互いに異なっていればよい。ただし、混色され得る全てのインク色に関して、互いに配置が異なっていることが好ましい。
Modification 2:
In the second mode of each embodiment described above, the arrangement of the shared dither matrix Mc is different for every ink color, but a common arrangement may be adopted for some ink colors. In general, it is sufficient that the arrangement is different for at least some of the plurality of ink colors. However, the arrangement is preferably different for all ink colors that can be mixed.
変形例3:
上述の第3実施例では、画素グループに形成されるドットパターンに着目してディザマトリックスの最適化が行われているが、このようなドットパターンに着目することなく、たとえば以下の方法でディザマトリックスの最適化を行うことも可能である。
Modification 3:
In the third embodiment described above, the dither matrix is optimized by paying attention to the dot pattern formed in the pixel group. However, without paying attention to such a dot pattern, for example, the following method is used. It is also possible to perform optimization.
図40は、双方向印刷方式における現実の印刷状態の一例を示す説明図である。丸の中の文字は、往復のいずれの主走査でドットが形成されているかを示している。図40(a)は、主走査方向にズレが生じていない場合のドットパターンを示している。図40(b)および図40(c)は、主走査方向にズレが生じている場合のドットパターンを示している。 FIG. 40 is an explanatory diagram illustrating an example of an actual printing state in the bidirectional printing method. The characters in the circles indicate in which reciprocal main scanning the dots are formed. FIG. 40A shows a dot pattern when there is no deviation in the main scanning direction. FIG. 40B and FIG. 40C show dot patterns when there is a deviation in the main scanning direction.
図40(b)では、印刷ヘッドの往動時にドットが形成される画素グループに属する印刷画素に形成されるドットの位置に対して、印刷ヘッドの復動時にドットが形成される画素グループに属する印刷画素に形成されるドットの位置が右方向に1ドットピッチだけシフトしている。一方、図40(c)では、印刷ヘッドの往動時にドットが形成される画素グループに属する印刷画素に形成されるドットの位置に対して、印刷ヘッドの復動時にドットが形成される画素グループに属する印刷画素に形成されるドットの位置が左方向に1ドットピッチだけシフトしている。 In FIG. 40B, the position of the dot formed in the print pixel belonging to the pixel group in which the dot is formed when the print head moves forward belongs to the pixel group in which the dot is formed when the print head moves backward. The position of the dot formed on the print pixel is shifted by one dot pitch to the right. On the other hand, in FIG. 40C, a pixel group in which dots are formed when the print head is moved backward relative to the positions of dots formed in print pixels belonging to a pixel group in which dots are formed when the print head moves forward. The positions of the dots formed in the print pixels belonging to are shifted leftward by one dot pitch.
上述の第3実施例では、往動時にドットが形成される画素グループのドットパターンと、復動時にドットが形成される画素グループのドットパターンの双方に、ブルーノイズあるいはグリーンノイズの空間周波数分布を与えることによって、このようなズレに起因する画質劣化を抑制している。 In the third embodiment described above, the spatial frequency distribution of blue noise or green noise is applied to both the dot pattern of the pixel group in which dots are formed during forward movement and the dot pattern of the pixel group in which dots are formed during backward movement. Thus, image quality deterioration due to such a shift is suppressed.
これに対して、この変形例は、往動時に形成される画素グループに形成されるドットパターンと、復動時に形成される画素グループに形成されるドットパターンとが主走査方向に1ドットピッチだけシフトして合成されたドットパターンがブルーノイズあるいはグリーンノイズの空間周波数分布を持つように、あるいは小さな粒状性指数を有するように構成されている。 On the other hand, in this modification, the dot pattern formed in the pixel group formed in the forward movement and the dot pattern formed in the pixel group formed in the backward movement are only one dot pitch in the main scanning direction. The dot pattern synthesized by shifting has a spatial frequency distribution of blue noise or green noise, or has a small granularity index.
粒状性指数に着目したディザマトリックスの構成は、たとえば主走査方向のズレが一方に1ドットピッチだけシフトした場合、他方に1ドットピッチだけシフトした場合、シフトなしの場合の粒状性指数の平均値が最小となるように構成しても良いし、あるいは、これらの場合の空間周波数分布が相互に高い相関係数を有するように構成しても良い。シフトの量は、印刷解像度その他の印刷環境に応じて、1ドットピッチ以下であっても良く、2ドットピッチ以上であっても良い。 The structure of the dither matrix focusing on the graininess index is, for example, the average value of the graininess index when the shift in the main scanning direction is shifted by one dot pitch on one side, by one dot pitch on the other side, and when there is no shift May be configured to be minimized, or the spatial frequency distribution in these cases may be configured to have a high correlation coefficient. The amount of shift may be 1 dot pitch or less, or 2 dot pitch or more, depending on the printing resolution or other printing environment.
なお、本変形例は、往動時と復動時とにおけるドットの形成位置のズレに対する画質のロバスト性を高くすることができるので、往動時と復動時とにおけるドットの形成位置が一括してシフトする場合に限られず、往動時にドットが形成される画素グループと復動時にドットが形成される画素グループの一部に不特定のズレが生ずる場合にも、画質の劣化を抑制することができる。たとえば印刷ヘッドの主走査機構の主走査に起因する周期的な変形によって、印刷ヘッドと印刷用紙のギャップが往動時と復動時とで部分的に変動するような場合にも画質の劣化を抑制することができる。 In this modification, the robustness of the image quality with respect to the deviation of the dot formation position in the forward movement and the backward movement can be increased, so the dot formation positions in the forward movement and the backward movement are collectively. In addition, the image quality deterioration is suppressed even when an unspecified shift occurs between a pixel group in which dots are formed during forward movement and a part of pixel groups in which dots are formed during backward movement. be able to. For example, even when the gap between the print head and the printing paper partially fluctuates between forward movement and backward movement due to periodic deformation caused by the main scanning of the main scanning mechanism of the print head, the image quality deteriorates. Can be suppressed.
変形例4:
上述の実施例では、ディザマトリックスの評価尺度として粒状性指数が使用されているが、たとえば後述するようなRMS粒状度を使用するようにしても良い。この評価尺度は、ドット密度値に対して、ローパスフィルタ(図41)を用いてローパスフィルタ処理を行うとともに、ローパスフィルタ処理がなされた密度値に対して、所定の計算式(図42)を用いて標準偏差を算出することによって決定することができる。
Modification 4:
In the above-described embodiment, the granularity index is used as the evaluation measure of the dither matrix. However, for example, RMS granularity as described later may be used. This evaluation scale uses a low-pass filter process for the dot density value using a low-pass filter (FIG. 41) and a predetermined calculation formula (FIG. 42) for the density value subjected to the low-pass filter process. It can be determined by calculating the standard deviation.
変形例5:
上述の実施例や変形例では、ドットパターンの粒状性指数やRMS粒状度を使用して評価値を算出しているが、たとえば、ローパスフィルタ処理後のドット密度が低い画素に対応する要素に閾値を順に格納するポテンシャル法を利用するようにしても良い。なお、ローパスフィルタを使用する場合には、混色の影響に起因する画質劣化の程度に応じて、上述の重み付けだけでなくローパスフィルタの範囲を調整するようにしても良い。たとえばドットの分散性よりも接触や重なりだけを重点的に抑制したい場合には、ローパスフィルタの範囲を小さくすることによって対応することができる。
Modification 5:
In the above-described embodiments and modifications, the evaluation value is calculated using the granularity index of the dot pattern and the RMS granularity. For example, a threshold is set as an element corresponding to a pixel having a low dot density after the low-pass filter processing. May be used in order. When a low-pass filter is used, not only the above weighting but also the range of the low-pass filter may be adjusted according to the degree of image quality deterioration caused by the influence of color mixing. For example, when it is desired to suppress only the contact and overlap rather than the dot dispersibility, it can be dealt with by reducing the range of the low-pass filter.
さらに、評価値はドットパターンの粒状性指数やRMS粒状度に限られず、ゼロックスのDooleyらが用いた評価尺度(Grainess scale:GS値)をドットパターンに適用して、GS値によってディザマトリックスの最適性を評価するように構成しても良い。ここで、GS値とは、ドットパターンに対して2次元フーリエ変換を含む所定の処理を行って数値化するとともに、視覚の空間周波数特性VTFを乗じるフィルタ処理を行った後に積分することによって得ることができる粒状性評価値である。さらに、結果としてドットの接触の程度が小さくなる状態(ブルーノイズ特性やグリーンノイズ特性)との間の相関係数とするようにしても良い。 Furthermore, the evaluation value is not limited to the dot pattern granularity index and RMS granularity, and the evaluation scale (Grainess scale: GS value) used by Xerox Dooley et al. Is applied to the dot pattern, and the dither matrix is optimized by the GS value. You may comprise so that property may be evaluated. Here, the GS value is obtained by performing a predetermined process including a two-dimensional Fourier transform on the dot pattern to digitize the dot pattern, and performing integration after performing a filter process that multiplies the visual spatial frequency characteristic VTF. It is a graininess evaluation value that can be Further, as a result, a correlation coefficient with a state (blue noise characteristic or green noise characteristic) where the degree of dot contact is small may be used.
<第1特性>
ここで、上述の各実施例(各変形例)の印刷によって形成されるドットパターンが、以下に説明する第1特性を示すことが好ましい。この第1特性は、ブルーノイズ特性とグリーンノイズ特性のいずれか一方である。ドットパターンがこのような特性を示せば、人間の視覚感度の高い領域において粒状性を抑制することができる。
<First characteristic>
Here, it is preferable that the dot pattern formed by printing in each of the above-described embodiments (variants) exhibits the first characteristic described below. This first characteristic is one of a blue noise characteristic and a green noise characteristic. If the dot pattern exhibits such characteristics, it is possible to suppress graininess in a region where human visual sensitivity is high.
<第2特性>
また、ドットパターンの空間周波数分布において、ピークの周波数が4サイクル毎ミリメートルよりも高いことが好ましい。こうすれば、人間の視覚感度の高い領域において粒状性を抑制することができる(図17)。
<Second characteristic>
Further, in the spatial frequency distribution of the dot pattern, it is preferable that the peak frequency is higher than 4 cycles per millimeter. By doing so, it is possible to suppress graininess in a region where human visual sensitivity is high (FIG. 17).
<第3特性>
また、ドットパターンが、以下に説明する第3特性を示すことも好ましい。この第3特性は、印刷媒体上において、0.5サイクル毎ミリメートルから2サイクル毎ミリメートルまでの範囲内の成分の平均強度値が、5サイクル毎ミリメートルから20サイクル毎ミリメートルまでの範囲内の成分の平均強度値よりも小さいことを示す特性である。ドットパターンが第3特性を示せば、人間の視覚感度の高い領域において粒状性を抑制することができる(図17)。なお、或る周波数範囲内の成分の平均強度値としては、空間周波数分布の測定結果が示す強度の平均値を採用可能である。ここで、平均値としては、周波数に依存しない均等な重みを用いて算出された平均値を採用可能である。
<Third characteristic>
Moreover, it is also preferable that a dot pattern shows the 3rd characteristic demonstrated below. This third characteristic is that the average intensity value of the component in the range from 0.5 cycle per millimeter to 2 cycle per millimeter is on the print medium for the component in the range from 5 cycle per millimeter to 20 cycle per millimeter. This is a characteristic indicating that it is smaller than the average intensity value. If the dot pattern exhibits the third characteristic, it is possible to suppress graininess in an area where human visual sensitivity is high (FIG. 17). In addition, as an average intensity value of components within a certain frequency range, an average intensity value indicated by the measurement result of the spatial frequency distribution can be adopted. Here, as the average value, an average value calculated using an equal weight independent of the frequency can be employed.
なお、図7,図8に示す第1モードによるドットパターンと、図9、図10に示す第2モードによるドットパターンと、の内の少なくとも一方が、上述の種々の特性(例えば、第1〜第3特性)の少なくとも一部を示すことが好ましい。また、図14に示すような複数のパスの内の少なくとも一部のパスのドットパターンが、上述の種々の特性の少なくとも一部を示すことが好ましい。また、双方向印刷を利用する場合には、往動時のドットパターンと、復動時のドットパターンと、の内の少なくとも一方が、上述の種々の特性の少なくとも一部を示すことが好ましい。 Note that at least one of the dot pattern according to the first mode shown in FIG. 7 and FIG. 8 and the dot pattern according to the second mode shown in FIG. 9 and FIG. It is preferable to show at least a part of the third characteristic). Moreover, it is preferable that the dot pattern of at least some of the plurality of passes as shown in FIG. 14 exhibits at least some of the various characteristics described above. Further, when using bidirectional printing, it is preferable that at least one of the forward movement dot pattern and the backward movement dot pattern exhibits at least a part of the various characteristics described above.
<第4特性>
また、上述の第2実施例や第3実施例のように、ドットの形成に関する物理的な条件の相違が想定された複数の画素グループの各々のドットパターンを重ね合わせて印刷画像を生成する場合がある。例えば、図14、図19に示す第2実施例では、パス番号を4で割った余りの数に応じて分割された4個の画素グループの重ね合わせによって印刷画像が形成される。また、図36、図38に示す第3実施例では、往動時に形成される画素グループと、復動時に形成される画素グループと、の重ね合わせによって印刷画像が形成される。このような場合には、各画素グループのドットパターンの空間周波数特性が、以下に説明する第4特性を示すことが好ましい。
<4th characteristic>
Also, as in the second and third embodiments described above, a print image is generated by superimposing dot patterns of a plurality of pixel groups that are assumed to have different physical conditions regarding dot formation. There is. For example, in the second embodiment shown in FIGS. 14 and 19, a print image is formed by superimposing four pixel groups divided according to the remainder obtained by dividing the pass number by four. In the third embodiment shown in FIGS. 36 and 38, a print image is formed by superimposing a pixel group formed during forward movement and a pixel group formed during backward movement. In such a case, it is preferable that the spatial frequency characteristics of the dot pattern of each pixel group exhibit a fourth characteristic described below.
この第4特性は、複数の画素グループの各々に属する印刷画素に形成されるドットパターンの空間周波数分布の各々と、印刷画像の空間周波数分布とが相互に正の相関係数を有することを示している。ここで、印刷画像の空間周波数分布は、全画素グループを重ね合わせた状態のドットパターンの空間周波数分布を示している。各画素グループのドットパターンがこの第4特性を示せば、物理的相違が発生しても形成されるドットの空間周波数分布に大きな影響を与えないので、物理的相違に対するロバスト性の高いハーフトーン処理を構成することができる。ここで、相関係数が0.7以上であることが好ましい。 This fourth characteristic indicates that each of the spatial frequency distributions of the dot patterns formed on the printing pixels belonging to each of the plurality of pixel groups and the spatial frequency distribution of the printed image have a positive correlation coefficient. ing. Here, the spatial frequency distribution of the print image indicates the spatial frequency distribution of the dot pattern in a state where all pixel groups are superimposed. If the dot pattern of each pixel group exhibits this fourth characteristic, even if a physical difference occurs, the spatial frequency distribution of the formed dots will not be significantly affected, so that the halftone processing with high robustness against the physical difference will occur. Can be configured. Here, the correlation coefficient is preferably 0.7 or more.
本明細書では、「相関係数」は、相関係数として一般に用いられているピアソンの積率相関係数を意味している。ピアソンの積率相関係数とは、2つのデータ列の間の相関(類似性の度合い)を示す統計学的指標の1つであり、−1から1の間の実数値をとり、1に近いときは2つのデータ列には正の相関があるといい、−1に近ければ負の相関があるという。0に近いときは2つのデータ列の相関は弱い。0.7以上の相関係数は、一般に、偶然の一致として起こりえないほどに強い相関があることを意味する。 In this specification, “correlation coefficient” means Pearson's product-moment correlation coefficient generally used as a correlation coefficient. Pearson's product moment correlation coefficient is one of the statistical indicators showing the correlation (degree of similarity) between two data strings. It is said that there is a positive correlation between the two data strings when close to each other, and there is a negative correlation when close to -1. When it is close to 0, the correlation between the two data strings is weak. A correlation coefficient of 0.7 or higher generally means that there is a correlation that is so strong that it cannot occur as a coincidence.
ピアソンの積率相関係数は、2つのデータ列の共分散を、2つのデータ列の標準偏差の積で除することによって求められる。いわば、共分散を2つのデータ列の標準偏差の積で除することによって−1から1に正規化した値とも言える。2つのデータ列は、本願発明では、各ドットパターンの空間周波数分布を離散化した複数のデータ列のうちの任意に選択された2つに相当する。 The Pearson product moment correlation coefficient is obtained by dividing the covariance of two data strings by the product of the standard deviations of the two data strings. In other words, it can be said that the value is normalized from −1 to 1 by dividing the covariance by the product of the standard deviations of the two data strings. In the present invention, the two data strings correspond to two arbitrarily selected from a plurality of data strings obtained by discretizing the spatial frequency distribution of each dot pattern.
なお、本発明が印刷装置に確実に実装されるとともに効果を奏していることは、たとえば統計工学における検定手法を用いて確認することができる。この検定手法は、帰無仮説(本発明が実装されていない)の起こる確率を算出し、その確率がある程度低いときに、帰無仮説をまちがいであると判断し、代わりに対立仮説(本発明が実装されている)を支持するという手順ですすめられる。ここで、帰無仮説をまちがいであると判断ための基準となる確率(有意水準)は、設計の品質保証要求事項として決定される。これにより、全ての階調や色について確認を行うことなく、設計の品質保証を実現することができる。 In addition, it can confirm using the test | inspection method in statistical engineering, for example that this invention is mounted in a printing apparatus reliably and has an effect. This test method calculates the probability of occurrence of the null hypothesis (the present invention is not implemented), and when the probability is low to some extent, determines that the null hypothesis is wrong and instead uses the alternative hypothesis (the present invention). Is implemented). Here, the probability (significance level) that serves as a reference for determining that the null hypothesis is wrong is determined as a quality assurance requirement for the design. Thereby, design quality assurance can be realized without checking all the gradations and colors.
具体的には、たとえば以下のような方法によって本発明が印刷装置に確実に実装されるとともに効果を奏しているという設計の品質保証を行うことができる。
(1)評定対象となる印刷装置を用いて、各画素グループ毎に所定数のグレイトーンのサンプルを印刷させる。
(2)印刷されたパターン毎に空間周波数分布を計測する。
(3)計測された複数の空間周波数分布の相互間の相関係数を求める。
(4)相関係数が正あるいは0.7以上となることを確認する。
ここで、グレイトーンのサンプル数の増加に応じて帰無仮説(本発明が実装されていない)の起こる確率が低下していくことになる。
Specifically, for example, the following method can be used to assure the quality of the design that the present invention is reliably mounted on the printing apparatus and is effective.
(1) A predetermined number of gray-tone samples are printed for each pixel group using a printing apparatus to be evaluated.
(2) The spatial frequency distribution is measured for each printed pattern.
(3) A correlation coefficient between a plurality of measured spatial frequency distributions is obtained.
(4) Confirm that the correlation coefficient is positive or 0.7 or more.
Here, the probability of occurrence of the null hypothesis (the present invention is not implemented) decreases as the number of gray tone samples increases.
なお、前述のように所定の特性としての相関係数は、必ずしも、このハーフトーン処理によって再現される全ての階調に渡って備えられている必要はなく、一部の階調において備えられていればよい。ここで、「一部の階調」は、比較的にドット密度が低い階調であることが望ましい。比較的にドット密度が低い階調は、ドットが目立ち易いからである。このような場合には、たとえば比較的にドット密度が低い連続する階調において相関係数を確認すればよいことになる。 As described above, the correlation coefficient as the predetermined characteristic does not necessarily have to be provided for all gradations reproduced by the halftone process, and is provided for some gradations. Just do it. Here, the “partial gradation” is desirably a gradation having a relatively low dot density. This is because dots are relatively conspicuous in gradations having a relatively low dot density. In such a case, for example, it is only necessary to confirm the correlation coefficient in continuous gradations where the dot density is relatively low.
<第5特性>
また、各画素グループのドットパターンの空間周波数特性が、以下に説明する第5特性を示すことも好ましい。この第5特性は、300mmの観察距離に配置された印刷媒体上において人間の視覚感度が比較的に高い空間周波数の領域である4サイクル毎ミリメートル以下の所定の低周波の範囲内に、前記M色のドット群で構成される所定の混色パターンが、前記印刷画像のドットパターンの空間周波数の所定の特性に最も近づく周波数帯が存在するような特性である。各画素グループのドットパターンがこの第5特性を示せば、人間の視覚感度の高い領域において画質劣化を抑制することができる。
<Fifth characteristic>
It is also preferable that the spatial frequency characteristics of the dot pattern of each pixel group exhibit a fifth characteristic described below. The fifth characteristic is that the M is within a predetermined low frequency range of 4 cycles per millimeter or less, which is a spatial frequency region where human visual sensitivity is relatively high on a print medium disposed at an observation distance of 300 mm. The predetermined color mixture pattern composed of color dot groups has such a characteristic that there exists a frequency band that is closest to the predetermined characteristic of the spatial frequency of the dot pattern of the printed image. If the dot pattern of each pixel group exhibits this fifth characteristic, image quality deterioration can be suppressed in a region where human visual sensitivity is high.
ここで、4サイクル毎ミリメートル以下の低周波の範囲内における画素グループのドットパターンの空間周波数分布と印刷画像のドットパターンの空間周波数分布との間の相関係数が、4サイクル毎ミリメートルよりも高い高周波の範囲における相関係数と比べて、大きいことが好ましい。 Here, the correlation coefficient between the spatial frequency distribution of the dot pattern of the pixel group and the spatial frequency distribution of the dot pattern of the printed image within a low frequency range of 4 cycles per millimeter or less is higher than that of millimeters per 4 cycles. It is preferably larger than the correlation coefficient in the high frequency range.
また、ドットパターンが示す所定の空間周波数特性としては、以下のような特性を採用してもよい。例えば、上述の第5特性は、フーリエ変換処理を含む計算処理によって算出される粒状性指数であり、粒状性指数は、視覚の空間周波数特性に基づいて決定されたVTF関数と、フーリエ変換処理によって予め算出された定数との積に基づいて算出されることとしてもよい。また、所定の特性は、ローパスフィルタ処理を含む計算処理によって算出されるRMS粒状度であることとしてもよい。 Further, as the predetermined spatial frequency characteristics indicated by the dot pattern, the following characteristics may be employed. For example, the fifth characteristic described above is a graininess index calculated by a calculation process including a Fourier transform process, and the graininess index is obtained by a VTF function determined based on a visual spatial frequency characteristic and a Fourier transform process. It is good also as calculating based on the product with the constant calculated beforehand. The predetermined characteristic may be RMS granularity calculated by a calculation process including a low-pass filter process.
ところで、上述の各実施例、各変形例で説明したディザマトリックスの生成方法では、比較的低い空間周波数範囲において、ドットパターンの空間周波数分布の強度が小さくなるように、ディザマトリックスが生成される(特に、図17に示すように視覚感度が比較的に高い4サイクル毎ミリメートル以下の範囲において強度が小さくなる)。その結果、上述した生成方法によって生成されたディザマトリックスを利用することによって、上述の各種特性を示すようなドットパターンを容易に形成することができる。 By the way, in the dither matrix generation method described in the above-described embodiments and modifications, the dither matrix is generated so that the intensity of the spatial frequency distribution of the dot pattern is reduced in a relatively low spatial frequency range ( In particular, as shown in FIG. 17, the intensity decreases in the range of 4 cycles per millimeter or less where the visual sensitivity is relatively high). As a result, by using the dither matrix generated by the above-described generation method, it is possible to easily form a dot pattern that exhibits the various characteristics described above.
いずれの場合も、上述の各種特性は、ハーフトーン処理によって再現される全ての色範囲に亘って示される必要はなく、一部の色再現範囲において示されていればよい。特に、少なくとも一部のグレーを再現する場合に上述の各種特性の少なくとも一部が示されることが好ましい。グレー領域は種々の印刷画像に見られるので、種々の印刷画像の粒状性を抑えることができる。なお、グレーは、明るさが最大と最小の間の値に設定された無彩色を意味している。 In any case, the above-described various characteristics do not need to be shown over the entire color range reproduced by the halftone process, and may be shown in a part of the color reproduction range. In particular, it is preferable that at least a part of the various characteristics described above is shown when reproducing at least a part of gray. Since the gray area is seen in various printed images, the graininess of the various printed images can be suppressed. Note that gray means an achromatic color whose brightness is set to a value between the maximum and minimum.
変形例6:
上述の実施例では、1個の閾値の格納要素毎に評価処理が行われているが、たとえば複数個の閾値の格納要素を同時に決定するような場合にも本発明は、適用することができる。具体的には、たとえば上述の実施例において6番目までの閾値の格納要素が決定されていて、7番目と8番目の閾値の格納要素を決定するような場合にも7番目の閾値の格納要素にドットが追加された場合の評価値と、7番目と8番目の閾値の格納要素にそれぞれドットが追加された場合の評価値とに基づいて格納要素を決定するようにしても良いし、あるいは7番目の閾値の格納要素のみを決定するようにしても良い。
Modification 6:
In the above-described embodiment, the evaluation process is performed for each storage element having one threshold value. However, the present invention can also be applied to a case in which a plurality of storage elements having a threshold value are simultaneously determined. . Specifically, for example, in the above-described embodiment, when the storage elements for the sixth threshold are determined and the storage elements for the seventh and eighth thresholds are determined, the seventh threshold storage element is also determined. The storage element may be determined based on the evaluation value when the dot is added to the storage element and the evaluation value when the dot is added to each of the storage elements of the seventh and eighth threshold values, or Only the storage element of the seventh threshold value may be determined.
変形例7:
上述の実施例では、閾値の格納要素を順に決定するように構成されているが、たとえば予め準備された初期状態としてのディザマトリックスを調整することによってディザマトリックスを生成するように構成しても良い。たとえば、入力諧調値に応じて画素毎のドットの形成の有無を決定するための複数の閾値を各要素に格納する初期状態としてのディザマトリックスを準備するとともに、各要素に格納された複数の閾値の一部を、ランダムにあるいは組織的に決定された方法で他の要素に格納された閾値と入れ替え、その入替の前後の評価値に基づいて入れ替えるか否かを決定してディザマトリックスを調整して生成するようにしても良い。
Modification 7:
In the above-described embodiment, the threshold storage elements are determined in order. However, for example, the dither matrix may be generated by adjusting the dither matrix as an initial state prepared in advance. . For example, a dither matrix is prepared as an initial state for storing in each element a plurality of threshold values for determining the presence or absence of dot formation for each pixel according to the input gradation value, and a plurality of threshold values stored in each element A part of this is replaced with a threshold value stored in another element in a randomly or systematically determined manner, and the dither matrix is adjusted by determining whether or not to replace based on the evaluation values before and after the replacement. May be generated.
変形例8:
上述の実施例では、ディザマトリックスに設定されている閾値と画像データの階調値とを画素毎に比較することによって、画素毎にドット形成の有無を判断しているが、たとえば閾値と階調値の和を固定値と比較してドット形成の有無を判断するようにしても良い。さらに、閾値を直接使用することなく閾値に基づいて予め生成されたデータと、階調値とに応じてドット形成の有無を判断するようにしても良い。
Modification 8:
In the above-described embodiment, the presence or absence of dot formation is determined for each pixel by comparing the threshold value set in the dither matrix and the gradation value of the image data for each pixel. The sum of values may be compared with a fixed value to determine the presence or absence of dot formation. Furthermore, the presence / absence of dot formation may be determined according to the data generated in advance based on the threshold value and the gradation value without directly using the threshold value.
さらに、本発明のディザマトリックスは、たとえば特開2005−236768号公報や特開2005−269527号公報に開示されているようなドットの形成状態を特定するための中間データ(個数データ)を使用するような技術においては、ディザマトリックスを用いて生成された変換テーブル(あるいは対応関係テーブル)をも含む広い概念を有する。このような変換テーブルは、本発明の生成方法で生成されたディザマトリックスから直接生成されるだけでなく、調整や改良が行われる場合もあるが、このような場合も本発明の生成方法で生成されたディザマトリックスの使用に該当する。 Furthermore, the dither matrix of the present invention uses intermediate data (number data) for specifying the dot formation state as disclosed in, for example, Japanese Patent Application Laid-Open Nos. 2005-236768 and 2005-269527. Such a technique has a broad concept including a conversion table (or correspondence table) generated using a dither matrix. Such a conversion table is not only generated directly from the dither matrix generated by the generation method of the present invention, but may be adjusted or improved. In such a case, the conversion table is also generated by the generation method of the present invention. Corresponds to the use of a dither matrix.
また印刷装置や印刷方法、印刷物の生成方法におけるディザマトリックスの使用は、ディザマトリックスに設定されている閾値と画像データの階調値とを画素毎に比較することによって、画素毎にドット形成の有無を判断しているが、たとえば閾値と階調値の和を固定値と比較してドット形成の有無を判断するようにしても良い。さらに、閾値を直接使用することなく閾値に基づいて予め生成されたデータと、階調値とに応じてドット形成の有無を判断するようにしても良い。本発明のディザ法は、一般に、各画素の階調値と、ディザマトリックスの対応する画素位置に設定された閾値とに応じてドットの形成の有無を判断するものであれば良い。 In addition, the use of a dither matrix in the printing device, printing method, and printed material generation method is based on whether or not dots are formed for each pixel by comparing the threshold value set in the dither matrix and the gradation value of the image data for each pixel. However, for example, the presence or absence of dot formation may be determined by comparing the sum of the threshold value and the gradation value with a fixed value. Furthermore, the presence / absence of dot formation may be determined according to the data generated in advance based on the threshold value and the gradation value without directly using the threshold value. In general, the dither method of the present invention only needs to determine the presence or absence of dot formation according to the gradation value of each pixel and the threshold value set at the corresponding pixel position of the dither matrix.
変形例9:
上述の各実施例において、ノズルピッチとノズル総数と副走査方向の移動量との組合せとしては、種々の組合せを採用可能である。また、各画素グループの画素パターンとしても、種々のパターンを採用可能である。また、1インク色のドット形成状態の決定においては、共用ディザマトリックスMcを所定の規則に従って連結させることによって広い印刷領域がカバーされる。ここで、連結の規則としては、任意の規則を採用可能である。例えば、1つの共用ディザマトリックスMcの周囲に配置される共用ディザマトリックスMcが、その中心の共用ディザマトリックスMcに対して、主走査方向と副走査方向の少なくとも一方にずれていてもよい。いずれの場合も、実際にハーフトーン処理が実行される状態と同じ状態に共用ディザマトリックスMcを連結させることによって得られるドットパターンを利用することによって、共用ディザマトリックスMc(ドットパターン)の評価を行うことが好ましい。
Modification 9:
In the above-described embodiments, various combinations can be adopted as the combination of the nozzle pitch, the total number of nozzles, and the movement amount in the sub-scanning direction. Various patterns can be adopted as the pixel pattern of each pixel group. In determining the dot formation state of one ink color, a large print area is covered by connecting the shared dither matrix Mc according to a predetermined rule. Here, any rule can be adopted as the connection rule. For example, the shared dither matrix Mc arranged around one shared dither matrix Mc may be shifted in at least one of the main scanning direction and the sub-scanning direction with respect to the central shared dither matrix Mc. In any case, the shared dither matrix Mc (dot pattern) is evaluated by using the dot pattern obtained by connecting the shared dither matrix Mc to the same state as the state where the halftone process is actually executed. It is preferable.
変形例10:
上述の各実施例において、画素グループとしては、ドットの形成に関する物理的な条件の相違が想定された種々の画素グループを採用可能である。例えば、共通の印刷領域におけるドットの形成時期が同じである画素のグループを採用してもよい。この場合には、画素グループ毎にドット形成時期が異なる。また、ドット形成時の印刷ヘッドの移動方向が同じである画素のグループを採用してもよい。この場合には、画素グループ毎に移動方向が異なる。また、複数のノズル列を利用する場合に、ドット形成に利用されるノズル列が同じである画素のグループを採用してもよい。この場合には、画素グループ毎にノズル列が異なる。同様に、複数の印刷ヘッドを利用する場合に、ドット形成に利用される印刷ヘッドが同じである画素グループを採用してもよい。いずれの場合も、複数の画素グループの少なくとも一部のドットパターンが、上述の種々の特性の少なくとも一部を示すことが好ましい。
Modification 10:
In each of the above-described embodiments, various pixel groups in which differences in physical conditions related to dot formation are assumed can be adopted as the pixel group. For example, a group of pixels having the same dot formation time in the common print area may be employed. In this case, the dot formation time differs for each pixel group. Further, a group of pixels having the same moving direction of the print head at the time of dot formation may be employed. In this case, the moving direction is different for each pixel group. In addition, when using a plurality of nozzle rows, a group of pixels having the same nozzle row used for dot formation may be employed. In this case, the nozzle row is different for each pixel group. Similarly, when using a plurality of print heads, pixel groups having the same print head used for dot formation may be employed. In any case, it is preferable that at least some of the dot patterns of the plurality of pixel groups exhibit at least some of the various characteristics described above.
変形例11:
図2に示す第1実施例において、複数のノズルが複数の印刷ヘッドに分けて配置されていてもよい。例えば、図43に示すように2つの印刷ヘッド14A、14Bを利用してもよい。図43は、図3と同様に、印刷ヘッド14A、14Bの下面を示している。第1印刷ヘッド14Aの構成は、図3に示す印刷ヘッド10Aと同じである。ここでノズルピッチは「2」に設定されている。なお、図43の例では、各インクのノズル列におけるノズル配列が千鳥配列であるが、1列にノズルが並んでいても良い。
Modification 11:
In the first embodiment shown in FIG. 2, a plurality of nozzles may be divided into a plurality of print heads. For example, as shown in FIG. 43, two
第1印刷ヘッド14Aの紙送り方向側には、第2印刷ヘッド14Bが配置されている。第2印刷ヘッド14Bの構成は、第1印刷ヘッド14Aと同じである。また、第2印刷ヘッド14Bは、第1印刷ヘッド14Aから、紙送り方向に垂直な方向に1ドットピッチ(D)だけシフトした位置に配置されている。2つの印刷ヘッド14A、14Bによって、全ての印刷画素に各色のインクを吐出することができる。例えば、奇数番のラインは第1印刷ヘッド14Aによって印刷され、偶数番のラインは第2印刷ヘッド14Bによって印刷される。
A
図44は、図4と同様に、印刷ヘッド14A、14Bの横面を示している。図示するように、共通の印刷領域に対して、第1印刷ヘッド14Aによって先にインク滴が吐出され、引き続き、第2印刷ヘッド14Bによってインク滴が吐出される。図43から分かるように、第1印刷ヘッド14Aと第2印刷ヘッド14Bとは、相互に相違する画素ではあるが、共通の印刷領域において相互に隣接する画素にインク滴を吐出する。
FIG. 44 shows the lateral surfaces of the print heads 14A and 14B, as in FIG. As shown in the drawing, ink droplets are ejected first by the
ここで、第2実施例と第3実施例とに示すような画素グループ毎の評価を考慮したディザマトリックスを利用してもよい。印刷媒体P上の印刷画素は、第1印刷ヘッド14Aによってドットが形成される先行画素グループと、第2印刷ヘッド14Bによってドットが形成される後続画素グループと、に分けられる(例えば、奇数番のラインのグループと、偶数番ラインのグループ)。ここで、図38、図39に示す第3実施例における往動画素グループと往動画素グループとの評価と同様に、先行画素グループと後続画素グループとを評価することによって、ディザマトリックスを生成することが可能である。こうすれば、2つの印刷ヘッド14A、14B間のドット形成位置誤差に起因する粒状感を効果的に抑制することが可能である。ここで、先行と後続との2つの画素グループのそれぞれを、さらに、インク毎に分割して得られる複数の画素グループを評価してもよい。
Here, a dither matrix considering the evaluation for each pixel group as shown in the second embodiment and the third embodiment may be used. The print pixels on the print medium P are divided into a preceding pixel group in which dots are formed by the
なお、一般には、以下の特徴を有するプリンタを利用可能である。すなわち、利用可能な複数のインクの内の少なくともL種類(Lは1以上の整数)のインクのそれぞれに関して、同一のインクを吐出するノズルのグループがM組(Mは2以上の整数)のノズルサブグループを含み、そして、M組のノズルサブグループのそれぞれによって形成されるM組のドット群を共通の印刷領域で相互に組み合わせることによって印刷画像が形成される。ここで、ノズルサブグループとしては、所定方向に沿って複数のノズルが配置されたノズル列を採用可能である。また、共通の印刷領域におけるドット形成時期は、M組のノズルサブグループ毎に異なっており、また、所定方向のノズル位置はM組のノズルサブグループ毎に異なっている。例えば、図43の例では、インク毎に4つのノズル列(ノズルサブグループ)が設けられている(千鳥配列が2列に相当する)。このようなプリンタを利用する場合には、M組のノズルサブグループがそれぞれ担当するM組の画素グループを、評価の対象として採用可能である。ここで、一部の複数の画素グループをまとめてもよい。例えば、複数の印刷ヘッドを利用する場合に、ドット形成に利用される印刷ヘッドが同じである複数の画素グループの全体を1つの画素グループとして利用してもよい。ここで、インクが異なる複数の画素グループをまとめてもよい。 In general, a printer having the following characteristics can be used. That is, for each of at least L types (L is an integer of 1 or more) of a plurality of usable inks, there are M sets of nozzle groups (M is an integer of 2 or more) that eject the same ink. A printed image is formed by combining M groups of dots including subgroups and formed by each of the M nozzle subgroups in a common printing area. Here, as the nozzle subgroup, a nozzle row in which a plurality of nozzles are arranged along a predetermined direction can be employed. In addition, the dot formation time in the common print region is different for each of the M nozzle subgroups, and the nozzle position in the predetermined direction is different for each of the M nozzle subgroups. For example, in the example of FIG. 43, four nozzle rows (nozzle subgroups) are provided for each ink (a staggered arrangement corresponds to two rows). When such a printer is used, M pixel groups each handled by the M nozzle subgroups can be used as evaluation targets. Here, some of the plurality of pixel groups may be collected. For example, when a plurality of print heads are used, the whole of a plurality of pixel groups having the same print head used for dot formation may be used as one pixel group. Here, a plurality of pixel groups having different inks may be collected.
ここで、図40に示す変形例のように、画素グループ毎に異なるドット形成位置ズレが生じた場合に得られる合成ドットパターンを評価してもよい。合成ドットパターンとしては、全画素グループを合成したパターンを採用することが好ましいが、一部の複数の画素グループを合成したパターンを採用してもよい。 Here, as in the modification shown in FIG. 40, a synthesized dot pattern obtained when a dot formation position shift that differs for each pixel group may be evaluated. As the synthesized dot pattern, a pattern obtained by synthesizing all the pixel groups is preferably adopted, but a pattern obtained by synthesizing some of the plurality of pixel groups may be adopted.
以上の説明は、印刷ヘッドを移動させずに印刷媒体Pを所定方向に移動させるプリンタに限らず、印刷ヘッドと印刷媒体Pとの両方を移動させるプリンタにも適用可能である。 The above description is applicable not only to a printer that moves the print medium P in a predetermined direction without moving the print head, but also to a printer that moves both the print head and the print medium P.
変形例12:
上記各実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部をハードウェアに置き換えるようにしてもよい。例えば、図1のハーフトーンモジュール99の機能を、論理回路を有するハードウェア回路によって実現してもよい。
Modification 12:
In each of the above embodiments, a part of the configuration realized by hardware may be replaced with software, and conversely, a part of the configuration realized by software may be replaced by hardware. . For example, the function of the
また、本発明の機能の一部または全部がソフトウェアで実現される場合には、そのソフトウェア(コンピュータプログラム)は、コンピュータ読み取り可能な記録媒体に格納された形で提供することができる。この発明において、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスクやCD−ROMのような携帯型の記録媒体に限らず、各種のRAMやROM等のコンピュータ内の内部記憶装置や、ハードディスク等のコンピュータに固定されている外部記憶装置も含んでいる。 In addition, when part or all of the functions of the present invention are realized by software, the software (computer program) can be provided in a form stored in a computer-readable recording medium. In the present invention, the “computer-readable recording medium” is not limited to a portable recording medium such as a flexible disk or a CD-ROM, but an internal storage device in a computer such as various RAMs and ROMs, a hard disk, and the like. An external storage device fixed to the computer is also included.
10...ノズル列
10A、12...印刷ヘッド
20、20b...カラープリンタ
22...モータ
24...キャリッジモータ
25...ローラ
30...キャリッジ
32...操作パネル
40...制御回路
56...コネクタ
60...印刷ヘッドユニット
90...コンピュータ
91...ビデオドライバ
95...アプリケーションプログラム
96...プリンタドライバ
97...解像度変換モジュール
98...色変換モジュール
99...ハーフトーンモジュール
100...印刷データ生成モジュール
M...ディザマトリックス
P...印刷媒体(印刷用紙)
DESCRIPTION OF
Claims (12)
元画像を構成する各画素の入力階調値を表す画像データに対してディザマトリックスを用いたハーフトーン処理を行うことによって、前記印刷媒体上に形成されるべき印刷画像の各印刷画素へのドットの形成状態を表すドットデータを生成するドットデータ生成部と、
少なくともN色(Nは2以上の整数)のインクを吐出する複数のノズル列を含む印刷ヘッドを備え、前記ドットデータに応じて前記複数のノズル列の各々が相互に色が相違するドット群を形成し、前記少なくともN色のドット群を共通の印刷領域で相互に組み合わせることによって前記印刷画像を生成する印刷部と、
を備え、
前記ハーフトーン処理は、
前記N色のそれぞれのハーフトーン処理に、所定配置の基準ディザマトリックスを共通に利用する第1モードと、
前記N色の少なくとも一部の複数色のそれぞれのハーフトーン処理に、互いに配置を異ならせた前記基準ディザマトリックスを利用する第2モードと、
を含み、
前記ドットデータ生成部は、
キャラクタを表すキャラクタ領域を含む第1種印刷領域のドット形成状態を、前記第1モードによるハーフトーン処理によって決定し、
他の印刷領域である第2種印刷領域のドット形成状態を、前記第2モードによるハーフトーン処理によって決定する、
印刷装置。 A printing device for printing on a print medium,
Dots to each print pixel of the print image to be formed on the print medium by performing halftone processing using a dither matrix on the image data representing the input gradation value of each pixel constituting the original image A dot data generation unit that generates dot data representing the formation state of
A print head including a plurality of nozzle rows that eject ink of at least N colors (N is an integer of 2 or more), and a dot group in which each of the plurality of nozzle rows has a different color according to the dot data. A printing unit that forms and generates the print image by combining the dot groups of at least N colors with each other in a common print region; and
With
The halftone process
A first mode in which a predetermined arrangement of reference dither matrices is commonly used for each halftone process of the N colors;
A second mode that uses the reference dither matrix that is arranged differently for each halftone process of at least some of the N colors;
Including
The dot data generation unit
The dot formation state of the first type print area including the character area representing the character is determined by the halftone process in the first mode,
The dot formation state of the second type printing area which is another printing area is determined by the halftone process in the second mode.
Printing device.
前記第2種印刷領域は、自然画像を表す自然画像領域を含む、印刷装置。 The printing apparatus according to claim 1,
The second type printing area includes a natural image area representing a natural image.
前記第2モードによるハーフトーン処理では、前記N色のそれぞれのハーフトーン処理に、互いに配置を異ならせた前記基準ディザマトリックスが利用される、
印刷装置。 The printing apparatus according to claim 1 or 2, wherein
In the halftone process according to the second mode, the reference dither matrix having a different arrangement is used for each halftone process of the N colors.
Printing device.
前記基準マトリックスは、前記第2モードによるハーフトーン処理によって形成される前記N色のドット群で構成される混色のドットパターンが、予め設定された所定の空間周波数特性を有するように設定されている、印刷装置。 The printing apparatus according to any one of claims 1 to 3,
The reference matrix is set so that a mixed-color dot pattern composed of the N color dot groups formed by the halftone processing in the second mode has a predetermined spatial frequency characteristic set in advance. , Printing device.
前記基準マトリックスは、前記第1モードによるハーフトーン処理によって形成される前記N色のドット群で構成される混色のドットパターンが、予め設定された所定の空間周波数特性を有するように設定されている、印刷装置。 The printing apparatus according to any one of claims 1 to 4,
The reference matrix is set so that a mixed-color dot pattern composed of the N color dot groups formed by the halftone process in the first mode has a predetermined spatial frequency characteristic set in advance. , Printing device.
前記印刷部は、さらに、前記ドットデータに応じて、前記ドットの形成に関する物理的な条件の相違が想定された複数の画素グループの各々に形成されるドット群を、共通の印刷領域で相互に組み合わせることによって印刷画像を生成し、
前記基準マトリックスは、前記画素グループの各々のドットパターンが、予め設定された所定の空間周波数特性を有するように設定されている、印刷装置。 A printing apparatus according to any one of claims 1 to 5,
The printing unit further includes, in accordance with the dot data, dot groups formed in each of a plurality of pixel groups assumed to have different physical conditions related to the dot formation in a common print region. Generate print images by combining them,
The printing apparatus, wherein the reference matrix is set so that each dot pattern of the pixel group has a predetermined spatial frequency characteristic set in advance.
前記印刷部は、前記印刷ヘッドの主走査を行いつつ前記印刷ヘッドの往動時と復動時の各々で、前記ドットデータに応じて前記各印刷画素にドットを形成して印刷画像を生成し、
前記複数の画素グループは、前記印刷ヘッドの往動時にドットが形成される第1の画素位置のグループと、前記印刷ヘッドの復動時にドットが形成される第2の画素位置のグループとを含む、印刷装置。 The printing apparatus according to claim 6,
The printing unit generates a print image by forming dots in the print pixels according to the dot data at each of the forward movement and the backward movement of the print head while performing main scanning of the print head. ,
The plurality of pixel groups include a group of first pixel positions where dots are formed when the print head moves forward and a group of second pixel positions where dots are formed when the print head moves backward. , Printing device.
前記印刷部は、前記印刷ヘッドのM回(Mは2以上の整数)の主走査のサイクルを繰り返しつつ前記ドットデータに応じて前記各印刷画素にドットを形成して印刷画像を生成し、
前記複数の画素グループは、主走査ラインの副走査方向の順番を表す数値を前記Mで除した余りに応じて分割された複数の画素位置のグループを含む、印刷装置。 The printing apparatus according to claim 6 or 7, wherein
The printing unit generates a print image by forming dots in the print pixels according to the dot data while repeating a main scanning cycle of M times (M is an integer of 2 or more) of the print head,
The printing apparatus, wherein the plurality of pixel groups include a group of a plurality of pixel positions divided according to a remainder obtained by dividing a numerical value representing an order of main scanning lines in the sub-scanning direction by the M.
前記所定の空間周波数特性は、ブルーノイズ特性とグリーンノイズ特性のいずれか一方である、印刷装置。 A printing apparatus according to any one of claims 4 to 8,
The printing apparatus, wherein the predetermined spatial frequency characteristic is one of a blue noise characteristic and a green noise characteristic.
前記所定の空間周波数特性は、前記複数の画素グループの各々に属する印刷画素に形成されるドットパターンの空間周波数分布の各々と、前記印刷画像の空間周波数分布とが相互に正の相関係数を有することを示す、印刷装置。 A printing apparatus according to any one of claims 6 to 8,
The predetermined spatial frequency characteristics indicate that each of the spatial frequency distributions of the dot patterns formed on the print pixels belonging to each of the plurality of pixel groups and the spatial frequency distribution of the print image have a positive correlation coefficient with each other. A printing device indicating that the printer has the printer.
元画像を構成する各画素の入力階調値を表す画像データに対してディザマトリックスを用いたハーフトーン処理を行うことによって、前記印刷媒体上に形成されるべき印刷画像の各印刷画素へのドットの形成状態を表すドットデータを生成するドットデータ生成工程と、
少なくともN色(Nは2以上の整数)のインクを吐出する複数のノズル列を含む印刷ヘッドを備え、前記ドットデータに応じて前記複数のノズル列の各々が相互に色が相違するドット群を形成し、前記少なくともN色のドット群を共通の印刷領域で相互に組み合わせることによって前記印刷画像を生成する印刷工程と、
を備え、
前記ハーフトーン処理は、
前記N色のそれぞれのハーフトーン処理に、所定配置の基準ディザマトリックスを共通に利用する第1モードと、
前記N色の少なくとも一部の複数色のそれぞれのハーフトーン処理に、互いに配置を異ならせた前記基準ディザマトリックスを利用する第2モードと、
を含み、
前記ドットデータ生成工程は、
キャラクタを表すキャラクタ領域を含む第1種印刷領域のドット形成状態を、前記第1モードによるハーフトーン処理によって決定する工程と、
他の印刷領域である第2種印刷領域のドット形成状態を、前記第2モードによるハーフトーン処理によって決定する工程と、
を含む、印刷物の生成方法。 A method of generating a printed matter by forming a print image on a print medium,
Dots to each print pixel of the print image to be formed on the print medium by performing halftone processing using a dither matrix on the image data representing the input gradation value of each pixel constituting the original image A dot data generation step for generating dot data representing the formation state of
A print head including a plurality of nozzle rows that eject ink of at least N colors (N is an integer of 2 or more), and a dot group in which each of the plurality of nozzle rows has a different color according to the dot data. Forming and generating the print image by combining the dot groups of at least N colors with each other in a common print region; and
With
The halftone process
A first mode in which a predetermined arrangement of reference dither matrices is commonly used for each halftone process of the N colors;
A second mode that uses the reference dither matrix that is arranged differently for each halftone process of at least some of the N colors;
Including
The dot data generation step includes
Determining the dot formation state of the first type print area including the character area representing the character by the halftone process in the first mode;
Determining the dot formation state of the second type print area, which is another print area, by halftone processing in the second mode;
A method for producing printed matter, including:
元画像を構成する各画素の入力階調値を表す画像データに対してディザマトリックスを用いたハーフトーン処理を行うことによって、前記印刷媒体上に形成されるべき印刷画像の各印刷画素へのドットの形成状態を表すドットデータを生成するドットデータ生成機能をコンピュータに実行させ、
前記印刷部は、少なくともN色(Nは2以上の整数)のインクを吐出する複数のノズル列を含む印刷ヘッドを備え、前記ドットデータに応じて前記複数のノズル列の各々が相互に色が相違するドット群を形成し、前記少なくともN色のドット群を共通の印刷領域で相互に組み合わせることによって前記印刷画像を生成し、
前記ハーフトーン処理は、
前記N色のそれぞれのハーフトーン処理に、所定配置の基準ディザマトリックスを共通に利用する第1モードと、
前記N色の少なくとも一部の複数色のそれぞれのハーフトーン処理に、互いに配置を異ならせた前記基準ディザマトリックスを利用する第2モードと、
を含み、
前記ドットデータ生成機能は、
キャラクタを表すキャラクタ領域を含む第1種印刷領域のドット形成状態を、前記第1モードによるハーフトーン処理によって決定する機能と、
他の印刷領域である第2種印刷領域のドット形成状態を、前記第2モードによるハーフトーン処理によって決定する機能と、
を含む、コンピュータプログラム。 A computer program for causing a computer to generate print data to be supplied to a printing unit that performs printing on a print medium,
Dots to each print pixel of the print image to be formed on the print medium by performing halftone processing using a dither matrix on the image data representing the input gradation value of each pixel constituting the original image Causing the computer to execute a dot data generation function for generating dot data representing the formation state of
The printing unit includes a print head including a plurality of nozzle rows that eject ink of at least N colors (N is an integer equal to or greater than 2), and each of the plurality of nozzle rows has a color according to the dot data. Forming different dot groups and generating the print image by combining the dot groups of at least N colors with each other in a common print area;
The halftone process
A first mode in which a predetermined arrangement of reference dither matrices is commonly used for each halftone process of the N colors;
A second mode that uses the reference dither matrix that is arranged differently for each halftone process of at least some of the N colors;
Including
The dot data generation function
A function of determining the dot formation state of the first type print area including the character area representing the character by the halftone process in the first mode;
A function of determining the dot formation state of the second type print area, which is another print area, by halftone processing in the second mode;
Including computer programs.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007167831A JP2009006510A (en) | 2007-06-26 | 2007-06-26 | Printing apparatus, printing method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007167831A JP2009006510A (en) | 2007-06-26 | 2007-06-26 | Printing apparatus, printing method, and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2009006510A true JP2009006510A (en) | 2009-01-15 |
Family
ID=40322120
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007167831A Pending JP2009006510A (en) | 2007-06-26 | 2007-06-26 | Printing apparatus, printing method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2009006510A (en) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012186714A (en) * | 2011-03-07 | 2012-09-27 | Fujifilm Corp | Device and method for processing image, and image forming device |
| JP2012204940A (en) * | 2011-03-24 | 2012-10-22 | Seiko Epson Corp | Printing device, printing method, and setting method of dither mask |
| JP2012222711A (en) * | 2011-04-13 | 2012-11-12 | Seiko Epson Corp | Generating device of printing data, printer and method thereof |
| JP2012222712A (en) * | 2011-04-13 | 2012-11-12 | Seiko Epson Corp | Generating device of printing data, printer, and printing method |
| JP2012245781A (en) * | 2011-05-02 | 2012-12-13 | Canon Inc | System and method for data processing |
| JP2013103440A (en) * | 2011-11-15 | 2013-05-30 | Seiko Epson Corp | Printing apparatus, and method of producing printed matter |
| JP2013103437A (en) * | 2011-11-15 | 2013-05-30 | Seiko Epson Corp | Printing apparatus, printing method, and program thereof |
| US9132632B2 (en) | 2011-03-24 | 2015-09-15 | Seiko Epson Corporation | Printing device and printing method |
| JP7500321B2 (en) | 2020-07-29 | 2024-06-17 | キヤノン株式会社 | Inkjet recording method and inkjet recording apparatus |
-
2007
- 2007-06-26 JP JP2007167831A patent/JP2009006510A/en active Pending
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012186714A (en) * | 2011-03-07 | 2012-09-27 | Fujifilm Corp | Device and method for processing image, and image forming device |
| US8540332B2 (en) | 2011-03-07 | 2013-09-24 | Fujifilm Corporation | Image processing apparatus, image processing method, and image forming apparatus |
| JP2012204940A (en) * | 2011-03-24 | 2012-10-22 | Seiko Epson Corp | Printing device, printing method, and setting method of dither mask |
| US9132632B2 (en) | 2011-03-24 | 2015-09-15 | Seiko Epson Corporation | Printing device and printing method |
| JP2012222711A (en) * | 2011-04-13 | 2012-11-12 | Seiko Epson Corp | Generating device of printing data, printer and method thereof |
| JP2012222712A (en) * | 2011-04-13 | 2012-11-12 | Seiko Epson Corp | Generating device of printing data, printer, and printing method |
| JP2012245781A (en) * | 2011-05-02 | 2012-12-13 | Canon Inc | System and method for data processing |
| JP2013103440A (en) * | 2011-11-15 | 2013-05-30 | Seiko Epson Corp | Printing apparatus, and method of producing printed matter |
| JP2013103437A (en) * | 2011-11-15 | 2013-05-30 | Seiko Epson Corp | Printing apparatus, printing method, and program thereof |
| JP7500321B2 (en) | 2020-07-29 | 2024-06-17 | キヤノン株式会社 | Inkjet recording method and inkjet recording apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4635762B2 (en) | Image processing apparatus and printing apparatus for bidirectional printing | |
| US11632487B1 (en) | Secondary color uniformity compensation mechanism | |
| US8208176B2 (en) | Reduction of uneven print density | |
| US11630975B1 (en) | Secondary color uniformity compensation mechanism | |
| CN101195305B (en) | Printing device, printing method, and method for generating dither matrix | |
| JP2009006510A (en) | Printing apparatus, printing method, and program | |
| US20080259361A1 (en) | High quality halftone process | |
| JP5505048B2 (en) | Printing device, printing method, print data generation program | |
| US7961355B2 (en) | Generation of dither matrix | |
| US20080123147A1 (en) | Control Of Ink Ejection Amount Based on Dot Formation Order | |
| JP5104913B2 (en) | Image processing apparatus and printing apparatus for bidirectional printing | |
| JP5341632B2 (en) | Image processing apparatus and image processing method | |
| JP4337846B2 (en) | Dither matrix generation | |
| US20080024826A1 (en) | Image processing device and printing apparatus for performing bidirectional printing | |
| US10005289B2 (en) | Printing apparatus, printing method, and non-transitory computer readable medium for storing program | |
| US20110019208A1 (en) | Image data generating apparatus, printing apparatus, and image data generation method | |
| JP4604940B2 (en) | Image processing apparatus and printing apparatus for bidirectional printing | |
| JP5703579B2 (en) | Printing apparatus, printing method, print data generation program, and dither mask generation method | |
| JP2011023984A (en) | Image processing apparatus | |
| EP2413584A1 (en) | Image processing apparatus, image processing method, and program | |
| JP2011071829A (en) | Dither matrix generation method and computer program | |
| JP2008126616A (en) | Control of ink discharge amount based on dot formation order | |
| JP6035850B2 (en) | Printing apparatus and printing method | |
| JP2009006679A (en) | Printing apparatus, printed matter generation method, and program | |
| JP2010130073A (en) | Printing device and dither mask |