JP4645400B2 - Dither matrix generation - Google Patents

Dither matrix generation Download PDF

Info

Publication number
JP4645400B2
JP4645400B2 JP2005294672A JP2005294672A JP4645400B2 JP 4645400 B2 JP4645400 B2 JP 4645400B2 JP 2005294672 A JP2005294672 A JP 2005294672A JP 2005294672 A JP2005294672 A JP 2005294672A JP 4645400 B2 JP4645400 B2 JP 4645400B2
Authority
JP
Japan
Prior art keywords
matrix
print
evaluation value
pixel
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005294672A
Other languages
Japanese (ja)
Other versions
JP2007098881A (en
Inventor
繁明 角谷
公人 勝山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005294672A priority Critical patent/JP4645400B2/en
Publication of JP2007098881A publication Critical patent/JP2007098881A/en
Application granted granted Critical
Publication of JP4645400B2 publication Critical patent/JP4645400B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Ink Jet (AREA)
  • Particle Formation And Scattering Control In Inkjet Printers (AREA)
  • Record Information Processing For Printing (AREA)

Description

この発明は、印刷媒体上にドットを形成して画像を印刷する技術に関する。   The present invention relates to a technique for printing an image by forming dots on a print medium.

コンピュータで作成した画像や、デジタルカメラで撮影した画像などの出力装置として、印刷媒体上にドットを形成して画像を印刷する印刷装置が広く使用されている。かかる印刷装置は、入力階調値に対して形成可能なドットの階調値が少ないためハーフトーン処理によって階調表現が行われる。ハーフトーン処理の1つとして、ディザマトリックスを用いた組織的ディザ法が広く用いられている。組織的ディザ法は、ディザマトリックスの内容如何で画質に大きな影響を与えるため、たとえば特許文献1に開示されるように人間の視覚を考慮した評価関数を用いてシミュレーテッドアニーリングや遺伝的アルゴリズムといった解析手法によってディザマトリックスの最適化が図られてきた。   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 Patent Document 1, analysis such as simulated annealing or genetic algorithm using an evaluation function taking human vision into consideration The dither matrix has been optimized by techniques.

特開平7−177351号公報JP-A-7-177351 特開平7−81190号公報JP-A-7-81190 特開平10−329381号公報Japanese Patent Laid-Open No. 10-329381

しかし、こうしたディザマトリックスの最適化処理では、印刷媒体上の共通の領域を複数回走査することによってインクドットを形成し、これにより画像を印刷することに起因する画質の劣化は考慮されていなかった。   However, in such dither matrix optimization processing, ink dots are formed by scanning a common area on a printing medium a plurality of times, and thus image quality deterioration due to printing an image is not taken into consideration. .

この発明は、従来の技術における上述した課題を解決するためになされたものであり、印刷媒体上の共通の領域を複数回走査することによってインクドットを形成し、これにより画像を印刷することに起因する画質の劣化を抑制する技術を提供することを目的とする。   The present invention has been made to solve the above-described problems in the prior art, and forms an ink dot by scanning a common area on a print medium a plurality of times, thereby printing an image. An object of the present invention is to provide a technique for suppressing the deterioration in image quality caused by the above.

上述した課題の少なくとも一部を解決するために、本発明は、入力画像データに対してハーフトーン処理を行うために、印刷媒体上に形成されるべき印刷画像の各印刷画素へのドットの形成状態を決定するためのディザマトリックスを生成する方法であって、
前記印刷画像は、前記ドットの形成において物理的な相違が想定された複数の画素グループの各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって形成され、
前記ハーフトーン処理は、複数の前記ディザマトリックスが一定の規則で連結された連結マトリックスによって行われ、
前記ディザマトリックス生成方法は、
前記ディザマトリックスの各要素に格納されるべき複数の閾値の中から、格納されるべき要素が未決定の閾値であって、かつ、ドットの形成が最もオンとなりやすい閾値を着目閾値として決定する着目閾値決定工程と、
格納される閾値が決定済みの要素である決定済み要素に対応する画素にドットが形成されたとみなすとともに、格納される閾値が未決定の要素である空白要素の各々のいずれか1つに前記着目閾値が格納されることを想定した場合の各々について総合評価値を決定し、前記総合評価値に応じて前記着目閾値を格納する要素を決定する格納要素決定工程と、
前記複数の閾値の全てについて、前記着目閾値決定工程と前記格納要素決定工程の各工程を繰り返す繰り返し工程と、
を備え、
前記格納要素決定工程は、
前記評価の対象となるディザマトリックスである中心マトリックスの周囲に、前記中心マトリックスと同一の要素を有する複数の周囲マトリックスを前記一定の規則で連結して連結マトリックスを生成する連結マトリックス生成工程と、
前記連結マトリックスの前記決定済み要素の全てのグループに対応するドットの形成状態を評価して全体評価値を決定する全体評価値決定工程と、
前記連結マトリックスの前記決定済み要素の中で、前記複数の画素グループから評定として選択された評定画素グループに対応する要素グループに属する要素にのみ対応するドットの形成状態を評価してグループ評価値を決定するグループ評価値決定工程と、
前記全体評価値と前記グループ評価値とに応じて、前記総合評価値を決定する総合評価値決定工程と、
を含み、
前記要素グループは、前記中心マトリックスの中で前記評定画素グループに対応する要素グループである評定グループと、前記複数の周囲マトリックスの中で前記評定画素グループに対応する要素グループである関連グループと、を含むことを特徴とする。
In order to solve at least a part of the above-described problems, the present invention forms dots on each print pixel of a print image to be formed on a print medium in order to perform halftone processing on input image data. A method for generating a dither matrix for determining a state, comprising:
The print image is formed by combining print pixels belonging to each of a plurality of pixel groups assumed to be physically different in the formation of the dots in a common print region,
The halftone processing is performed by a connected matrix in which a plurality of the dither matrices are connected according to a certain rule,
The dither matrix generation method includes:
Of the plurality of threshold values to be stored in each element of the dither matrix, the focus is determined as the focus threshold value, which is the threshold value for which the element to be stored is undetermined and in which dot formation is most likely to be turned on. A threshold determination step;
It is considered that a dot is formed in a pixel corresponding to a determined element whose threshold to be stored is a determined element, and the attention is paid to any one of the blank elements whose thresholds are not yet determined. A storage element determination step for determining a comprehensive evaluation value for each of cases where a threshold value is assumed to be stored, and determining an element for storing the target threshold value according to the comprehensive evaluation value;
For all of the plurality of thresholds, a repetition step of repeating each of the focus threshold value determination step and the storage element determination step;
With
The storage element determination step includes:
A connected matrix generating step of generating a connected matrix by connecting a plurality of surrounding matrices having the same elements as the center matrix around the center matrix, which is a dither matrix to be evaluated, according to the predetermined rule;
An overall evaluation value determining step for evaluating the formation state of dots corresponding to all groups of the determined elements of the connection matrix and determining an overall evaluation value;
Among the determined elements of the connected matrix, a group evaluation value is obtained by evaluating a dot formation state corresponding only to an element belonging to an element group corresponding to a rating pixel group selected as a rating from the plurality of pixel groups. A group evaluation value determination process to be determined;
In accordance with the overall evaluation value and the group evaluation value, a comprehensive evaluation value determining step for determining the comprehensive evaluation value;
Including
The element group includes a rating group that is an element group corresponding to the rating pixel group in the central matrix, and a related group that is an element group corresponding to the rating pixel group in the plurality of surrounding matrices. It is characterized by including.

本発明のディザマトリックスの生成方法では、ドットの形成過程におけるドットパターンに着目し、物理的な相違が想定された複数の画素グループ毎に評価を行いつつディザマトリックスが生成される。このディザマトリックスの生成においては、複数のディザマトリックスが一定の規則で連結されることが想定され、かかる想定に基づいてディザマトリックスの最適化が図られるとともに、多様なディザマトリックスの連結方法に対応することも実現されている。ここで、「物理的な相違」とは、たとえば主走査送り誤差に起因するドットの形成位置のシフトやドットの形成タイミングのズレといった位置的あるいは時間的な相違を含む。   In the dither matrix generation method of the present invention, attention is paid to the dot pattern in the dot formation process, and the dither matrix is generated while evaluating each of a plurality of pixel groups assumed to be physically different. In the generation of the dither matrix, it is assumed that a plurality of dither matrices are connected according to a certain rule, and the dither matrix is optimized based on such assumptions, and supports various dither matrix connection methods. It has also been realized. Here, the “physical difference” includes a positional or temporal difference such as a shift in dot formation position or a shift in dot formation timing due to a main scanning feed error.

上記ディザマトリックス生成方法において、前記複数の周囲マトリックスは、前記中心マトリックスに対して主走査方向と副走査方向の少なくとも一方にずれているようにしても良い。こうすれば、たとえばインクを吐出するノズルの機械的誤差によって生ずるドット形成位置の誤差が、連結されたディザマトリックスの周期で繰り返し発生することによる低周波ノイズを抑制することができる。   In the dither matrix generation method, the plurality of surrounding matrices may be shifted in at least one of a main scanning direction and a sub-scanning direction with respect to the center matrix. By doing so, it is possible to suppress low-frequency noise caused by, for example, the dot formation position error caused by the mechanical error of the nozzle that ejects ink being repeatedly generated at the cycle of the connected dither matrix.

なお、本発明は、ディザマトリックス、ディザマトリックス生成装置、ディザマトリックスを用いた印刷装置や印刷方法、印刷物の生成方法といった種々の形態、あるいは、これらの方法または装置の機能をコンピュータに実現させるためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体、そのコンピュータプログラムを含み搬送波内に具現化されたデータ信号、等の種々の形態で実現することができる。   The present invention is directed to causing a computer to implement various forms such as a dither matrix, a dither matrix generation apparatus, a printing apparatus and a printing method using the dither matrix, and a printed material generation method, or the functions of these methods or apparatuses. The present invention can be realized in various forms such as a computer program, a recording medium that records the computer program, and a data signal that includes the computer program and is embodied in a carrier wave.

また印刷装置や印刷方法、印刷物の生成方法におけるディザマトリックスの使用は、ディザマトリックスに設定されている閾値と画像データの階調値とを画素毎に比較することによって、画素毎にドット形成の有無を判断しているが、たとえば閾値と階調値の和を固定値と比較してドット形成の有無を判断するようにしても良い。さらに、閾値を直接使用することなく閾値に基づいて予め生成されたデータと、階調値とに応じてドット形成の有無を判断するようにしても良い。本発明のハーフトーン処理は、一般に、各画素の階調値と、ディザマトリックスの対応する画素位置に設定された閾値とに応じてドットの形成の有無を判断するものであれば良い。   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 halftone processing of the present invention may be any method that determines 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.

以下では、本発明の作用・効果をより明確に説明するために、本発明の実施の形態を、次のような順序に従って説明する。
A.主走査と副走査とを行いつつ実行される印刷画像の生成:
B.第1実施例におけるディザマトリックスの生成方法:
C.第2実施例におけるディザマトリックスの生成方法:
D.変形例:
Below, in order to demonstrate the effect | action and effect of this invention more clearly, embodiment of this invention is described in the following orders.
A. Print image generation performed while performing main and sub-scans:
B. Dither matrix generation method in the first embodiment:
C. Dither matrix generation method in the second embodiment:
D. Variations:

A.主走査と副走査とを行いつつ実行される印刷画像の生成:
図1は、本発明の第1実施例において主走査と副走査を行いつつインクドットを印刷媒体上に印刷画像が生成される様子を示す説明図である。主走査とは、印刷媒体に対して印刷ヘッド10を主走査方向に相対的に移動させる動作を意味する。副走査とは、印刷媒体に対して印刷ヘッド10を副走査方向に相対的に移動させる動作を意味する。印刷ヘッド10は、印刷媒体上にインク滴を吐出してインクドットを形成するように構成されている。印刷ヘッド10は、画素ピッチkの2倍の間隔で図示しない10個のノズルを装備している。
A. Print image generation performed while performing main and sub-scans:
FIG. 1 is an explanatory diagram showing a state in which a print image is generated on a print medium with ink dots while performing main scanning and sub-scanning in the first embodiment of the present invention. The main scanning means an operation of moving the print head 10 relative to the print medium in the main scanning direction. The sub scanning means an operation of moving the print head 10 relative to the print medium in the sub scanning direction. The print head 10 is configured to eject ink droplets onto a print medium to form ink dots. The print head 10 is equipped with ten nozzles (not shown) at intervals of twice the pixel pitch k.

印刷画像の生成は、主走査と副走査を行いつつ以下のように行われる。パス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 pass 1, the pixel position number is 1, 3, 5, out of 10 main scan lines with raster numbers 1, 3, 5, 7, 9, 11, 13, 15, 17, 19 Ink dots are formed on 7 pixels. The main scanning line means a line formed by pixels that are continuous in the main scanning direction. Each circle indicates a dot formation position. The numbers in each circle indicate a pixel group composed of a plurality of pixels on which ink dots are formed simultaneously. In pass 1, dots are formed in the print pixels belonging to the first pixel group.

パス1の主走査が完了すると、副走査方向に画素ピッチの3倍の移動量Lで副走査送りが行われる。一般には、印刷媒体を移動させることによって副走査送りは行われるが、本実施例では、説明を分かりやすくするために印刷ヘッド10が副走査方向に移動するものとしている。副走査送りが完了すると、パス2の主走査が行われる。   When the pass 1 main scan is completed, the sub-scan feed is performed in the sub-scan direction with a movement amount L that is three times the pixel pitch. In general, the sub-scan feed is performed by moving the print medium. However, in this embodiment, the print head 10 is moved in the sub-scan direction in order to make the explanation easy to understand. When the sub-scan feed is completed, the main scan of pass 2 is performed.

パス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 pass 2 main scan, among the 10 main scan lines with raster numbers 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, the pixel position numbers are 1, 3, 5, Ink dots are formed on 7 pixels. In this way, in pass 2, dots are formed in the print pixels belonging to the second pixel group. The two main scanning lines with raster numbers 22 and 24 are not shown. When the pass 2 main scan is completed, the sub-scan feed similar to that described above is performed, and then the pass 3 main scan is performed.

パス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 pass 3, ink is applied to pixels having pixel position numbers 2, 4, 6, and 8 out of 10 main scan lines including the main scan lines having raster numbers 11, 13, 15, 17, and 19. Dots are formed. In the pass 4 main scan, ink dots are applied to pixels having pixel position numbers 2, 4, 6, and 8 out of 10 main scan lines including three main scan lines with raster numbers 16, 18, and 20. Is formed. In this way, it can be seen that ink dots can be formed without gaps in the sub-scanning positions with raster numbers of 15 and later. In pass 3 and pass 4, dots are formed on the print pixels belonging to the third and fourth pixel groups, respectively.

このような印刷画像の生成を一定の領域に着目して観察すると、以下のように行われていることが分かる。たとえばラスタ番号が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 raster numbers 15 to 19 and pixel position numbers 1 to 8 is set as a target area, it can be seen that a print image is formed in the target area as follows.

パス1では、着目領域において、ラスタ番号が1〜5で画素位置番号が1〜8の画素位置に形成されたインクドットと同一のドットパターンが形成されていることが分かる。このドットパターンは、第1の画素グループに属する画素に形成されるドットで形成されている。すなわち、パス1では、着目領域において、第1の画素グループに属する画素にドットが形成される。   In pass 1, it can be seen that the same dot pattern as the ink dots formed at the pixel positions with the raster numbers 1 to 5 and the pixel position numbers 1 to 8 is formed in the region of interest. This dot pattern is formed of dots formed on pixels belonging to the first pixel group. That is, in pass 1, dots are formed in the pixels belonging to the first pixel group in the region of interest.

パス2では、着目領域において、第2の画素グループに属する画素にドットが形成される。パス3では、着目領域において、第3の画素グループに属する画素にドットが形成される。パス4では、着目領域において、第4の画素グループに属する画素にドットが形成される。   In pass 2, dots are formed in the pixels belonging to the second pixel group in the region of interest. In pass 3, dots are formed in the pixels belonging to the third pixel group in the region of interest. In pass 4, dots are formed in the pixels belonging to the fourth pixel group in the region of interest.

このように、本実施例では、第1〜第4の複数の画素グループの各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって形成されることが分かる。   As described above, in this embodiment, it is understood that the print pixels belonging to each of the first to fourth pixel groups are formed by being combined with each other in the common print region.

図2は、本発明の第1実施例において複数の画素グループの各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって印刷媒体上に印刷画像が生成される様子を示す説明図である。図2の例では、印刷画像は、所定の中間階調(単色)の印刷画像である。ドットパターンDP1、DP1aは、第1の画素グループに属する複数の画素に形成されたドットパターンを示している。ドットパターンDP2、DP2aは、第1と第3の画素グループとに属する複数の画素に形成されたドットパターンを示している。ドットパターンDP3、DP3aは、第1〜第3の画素グループに属する複数の画素に形成されたドットパターンを示している。ドットパターンDP4、DP4aは、全画素グループに属する複数の画素に形成されたドットパターンを示している。   FIG. 2 is an explanatory diagram showing 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 first embodiment of the present invention. It is. In the example of FIG. 2, the print image is a print image having a predetermined intermediate tone (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 third 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は、本願発明のディザマトリックスを使用した場合におけるドットパターンである。図2から分かるように、本願発明のディザマトリックスを使用した場合には、特にドットパターンの重畳が少ないドットパターン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. 2, when the dither matrix of the present invention is used, the dot dispersibility is more uniform in the dot patterns DP1a and DP2a with less dot pattern overlap than when the conventional dither matrix is used. It is.

従来技術のディザマトリックスには、画素グループという概念が無いため最終的に形成される印刷画像(図2の例ではドットパターンDP4)におけるドットの分散性にのみ着目して最適化が行われている。換言すれば、各画素グループに属する画素に形成されるドットの分散性は考慮されていないため、各画素グループに属する画素に形成されるドットの分散性は良くなくドット密度の疎密が生じている。   Since the dither matrix of the prior art does not have the concept of a pixel group, optimization is performed by paying attention only to the dispersibility of dots in the finally formed printed image (dot pattern DP4 in the example of FIG. 2). . In other words, since the dispersibility of the dots formed in the pixels belonging to each pixel group is not considered, the dispersibility of the dots formed in the pixels belonging to each pixel group is not good, and the dot density is sparse and dense. .

本願発明のディザマトリックスは、印刷画像におけるドットの分散性に加えて、各画素グループに属する画素に形成されるドットの分散性までも考慮されているため、各画素グループに属する画素に形成されるドットの分散性と印刷画像におけるドットの分散性の双方の分散性が良くなっている。   The dither matrix of the present invention is formed on the pixels belonging to each pixel group because the dispersibility of the dots formed on the pixels belonging to each pixel group is considered in addition to the dispersibility of the dots in the printed image. The dispersibility of both the dot dispersibility and the dot dispersibility in the printed image is improved.

本願発明のディザマトリックスは、最終的に形成されるドットパターンだけでなく、ドットの形成過程におけるドットパターンにも着目して最適化が図られたものである。このような着眼点は従来には存在しなかったものである。従来は、ドットの形成過程におけるドットパターンの分散が悪くても、最終的に形成されるドットパターンの分散性が良ければ画質が良いというのが技術常識だったからである。   The dither matrix of the present invention has been optimized by focusing on not only the finally formed dot pattern but also the dot pattern in the dot formation process. Such a focus has not existed in the past. This is because, conventionally, it has been common technical knowledge that even if the dot pattern dispersion in the dot formation process is poor, the image quality is good if the dispersibility of the finally formed dot pattern is good.

しかし、本願発明者は、敢えてドットの形成過程におけるドットパターンに着目して印刷画像の画質の解析を行った。この解析の結果、ドットの形成過程におけるドットパターンの疎密に起因して、画像のむらが発生することが分かったのである。この画像のむらは、インク凝集むらや光沢むら、ブロンズ現象といったインクの物理現象によって人間の目に顕著に知覚されることも本願発明者によって突き止められた。ブロンズ現象とは、インク滴の染料の凝集等によって、見る角度によって印刷表面がブロンズ色に呈色するなど、印刷用紙表面で反射される光の状態が変化する現象である。   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 inventors of the present application have also found out that the unevenness of the image is perceived remarkably by human eyes due to the physical phenomenon of ink such as unevenness of ink aggregation, unevenness of gloss and bronze phenomenon. The bronze phenomenon is a phenomenon in which the state of light reflected on the surface of the printing paper changes, for example, the printing surface becomes a bronze color depending on the viewing angle due to the aggregation of dyes in ink droplets.

たとえばインクの凝集やブロンズ現象は、1回のパスで印刷画像を形成する場合においても発生し得る。しかし、インクの凝集等が印刷画像の全面で均一に発生しても人間の目には近くされにくい。均一に発生している故に、低周波成分を含む不均一な「むら」としてはインクの凝集等が発生しないからである。   For example, ink aggregation and bronzing can occur even when a printed image is formed in a single pass. However, even if ink agglomeration or the like occurs uniformly on the entire surface of the printed image, it is unlikely to be close to the human eye. This is because, since it occurs uniformly, ink non-aggregation or the like does not occur as non-uniform “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 the unevenness occurs in a low frequency region that is easily recognized by the human eye due to ink aggregation or the like, significant image quality degradation occurs. 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

加えて、従来技術のディザマトリックスでは、各画素グループの相互の位置関係が予め想定されたとおりになっていることを前提として最適化が図られているので、相互の位置関係がズレた場合には最適性が保証されず、顕著に画質が劣化する原因となっていた。しかし、本願発明のディザマトリックスによれば、各画素グループのドットパターンにおいてもドットの分散性が確保されているので、相互の位置関係のズレに対する高いロバスト性も確保できることが本願発明の発明者の実験によって初めて確認された。   In addition, since the dither matrix of the prior art is optimized on the premise that the mutual positional relationship of each pixel group is assumed in advance, if the mutual positional relationship is shifted As a result, the optimality is not guaranteed and the image quality is significantly deteriorated. However, according to the dither matrix of the present invention, since the dispersibility of the dots is ensured even in the dot pattern of each pixel group, it is possible to secure a high robustness against the displacement of the mutual positional relationship. First confirmed by experiment.

さらに、本願発明の技術的思想は、印刷速度の高速化に伴って重要性が増していることも発明者によって突き止められた。印刷速度の高速化は、インクの吸収のための時間が十分に取られないうちに、次の画素グループのドットが形成されることにつながるからである。本願発明は、このような全く新しい知見に基づいて以下のように構成されている。   Furthermore, the inventor has also found out that the technical idea of the present invention is increasing in importance as the printing speed increases. This is because the increase in printing speed leads to the formation of dots in the next pixel group before sufficient time is taken for ink absorption. The present invention is configured as follows based on such completely new knowledge.

B.第1実施例におけるディザマトリックスの生成方法:
図3は、本発明の第1実施例におけるディザマトリックスの生成方法の処理ルーチンを示すフローチャートである。このディザマトリックスの生成方法は、印刷画像の形成過程においてほぼ同時に形成されるドットの分散性を考慮して最適化を図ることができるように構成されている。なお、この例では、説明を分かりやすくするために8行8列の小さなディザマトリックスを生成するものとしている。
B. Dither matrix generation method in the first embodiment:
FIG. 3 is a flowchart showing the processing routine of the dither matrix generation method in the first embodiment of the present invention. This dither matrix generation method is configured to be optimized in consideration of the dispersibility of dots formed almost simultaneously in the print image formation process. In this example, a small dither matrix of 8 rows and 8 columns is generated for easy understanding.

ステップS100では、グループ化処理が行われる。グループ化処理とは、本実施例では、印刷画像の形成過程においてほぼ同時にドットが形成される複数の画素グループに対応する要素毎にディザマトリックスを分割する処理である。   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 almost simultaneously in the print image forming process.

図4は、本発明の第1実施例におけるグループ化処理が行われディザマトリックスMを示す説明図である。このグループ化処理では、図1における4つの画素グループに分割されるものとしている。ディザマトリックスMの各要素に記載された数字は、各要素が属する画素グループを示している。たとえば1行1列の要素は、第1の画素グループ(図1)に属し、1行2列の要素は、第2の画素グループに属する。   FIG. 4 is an explanatory diagram showing the dither matrix M after performing the grouping process in the first 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 dither matrix M 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. 1), and the element of 1 row and 2 columns belongs to the second pixel group.

図5は、本発明の第1実施例における4個の分割マトリックスM0〜M3を示す説明図である。分割マトリックスM0は、ディザマトリックスMの要素のうち第1の画素グループに属する画素に対応する複数の要素と、空欄となっている複数の要素である空欄要素とから構成されている。空欄要素は、入力階調値に拘わらず常にドットが形成されない要素である。分割マトリックスM1〜M3は、それぞれディザマトリックスMの要素のうち第2〜第4の画素グループに属する画素に対応する複数の要素と、空欄要素とから構成されている。   FIG. 5 is an explanatory diagram showing four divided matrices M0 to M3 in the first embodiment of the present invention. The division matrix M0 includes a plurality of elements corresponding to pixels belonging to the first pixel group among elements of the dither matrix M and blank elements that are 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 M1 to M3 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のグループ化処理(図3)が完了すると、処理が着目閾値決定処理(ステップS200)に進められる。   In this way, when the grouping process (FIG. 3) in step S100 is completed, the process proceeds to the threshold value determination process (step S200).

ステップS200では、着目閾値決定処理が行われる。着目閾値決定処理とは、格納要素の決定対象となる閾値を決定する処理である。本実施例では、比較的に小さな値の閾値、すなわちドットの形成されやすい値の閾値から順に選択することによって閾値が決定される。この理由については後述する。   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. The reason for this will be described later.

ステップS300では、ディザマトリックス評価処理が行われる。ディザマトリックス評価処理とは、予め設定された評価関数に基づいてディザマトリックスの最適性を数値化する処理である。本実施例では、評価関数は、ドットの記録密度の均一性としている。すなわち、マトリックスの各要素に対応する画素に形成される複数のドットが各階調値において均一に形成されるか否かが評価の基準となっている。ただし、本実施例では、ディザマトリックスMだけを考慮するのではなく、4個の分割マトリックスM0〜M3の各々をも考慮して評価が行われる。   In step S300, a dither matrix evaluation process is performed. The dither matrix evaluation process is a process for digitizing the optimality of the dither matrix based on a preset evaluation function. In this embodiment, the evaluation function is the uniformity of dot recording density. In other words, whether or not a plurality of dots formed on pixels corresponding to each element of the matrix are uniformly formed at each gradation value is a criterion for evaluation. However, in this embodiment, the evaluation is performed not only considering the dither matrix M but also considering each of the four divided matrices M0 to M3.

図6は、ディザマトリックス評価処理の処理ルーチンを示すフローチャートである。ディザマトリックス評価処理では、総合評価値が算出される。総合評価値は、ディザマトリックスMの評価値である全体評価値と、4個の分割マトリックスM0〜M3の各々の評価値であるグループ評価値とに基づいて算出される。この処理ルーチンでは、先ず全体評価値とグループ評価値とを順に算出し、これらの評価値に重み付けを乗じて加算することによって総合評価値が算出される。   FIG. 6 is a flowchart showing the processing routine of the dither matrix evaluation process. In the dither matrix evaluation process, a comprehensive evaluation value is calculated. The comprehensive evaluation value is calculated based on the overall evaluation value that is the evaluation value of the dither matrix M and the group evaluation value that is the evaluation value of each of the four divided matrices M0 to M3. In this processing routine, first, an overall evaluation value and a group evaluation value are calculated in order, and a total evaluation value is calculated by multiplying these evaluation values by weighting and adding.

ステップS310では、複数のディザマトリックスが連結される。この連結は、ハーフトーン処理において行われる連結状態と同一の方法で行われる。このような連結が行われるのは、ハーフトーン処理においてディザマトリックスが使用される状態に合致させて最適性を高めるためである。   In step S310, a plurality of dither matrices are connected. This connection is performed by the same method as the connection state performed in the halftone process. Such connection is performed in order to increase the optimality in accordance with the state in which the dither matrix is used in the halftone process.

図7は、本発明の第1実施例における9個のディザマトリックスの連結状態を示す説明図である。この連結状態では、直接的に評価の対象となるディザマトリックスである中心マトリックスに対して、この中心マトリックスの周囲に8個のディザマトリックスが連結されている。この8個のディザマトリックスは、中心マトリックスと同一の要素を有する。本明細書では、この8個のディザマトリックスを周囲マトリックスと呼ぶ。なお、連結された9個のディザマトリックスの外側には、中心マトリックスの行と列の番号が記載されている。   FIG. 7 is an explanatory diagram showing a connection state of nine dither matrices in the first embodiment of the present invention. In this connected state, eight dither matrices are connected around the center matrix with respect to the center matrix, which is a dither matrix to be directly evaluated. The eight dither matrices have the same elements as the center matrix. In the present specification, these eight dither matrices are referred to as a surrounding matrix. Note that the numbers of the rows and columns of the center matrix are written outside the nine connected dither matrices.

本実施例では、9個のディザマトリックスは、一定の規則で連結されている。具体的には、中心マトリックスの左右に配置された2個の周囲マトリックスは、主走査方向にのみ1画素分だけシフトされている。このシフトは、相対的に右側のディザマトリックスは、隣接する相対的に左側のディザマトリックスよりも1画素分だけ上側にシフトされている。   In the present embodiment, the nine dither matrices are connected according to a certain rule. Specifically, the two surrounding matrices arranged on the left and right of the center matrix are shifted by one pixel only in the main scanning direction. In this shift, the relatively right dither matrix is shifted upward by one pixel from the adjacent relatively left dither matrix.

このようなディザマトリックスのシフトは、ハーフトーン処理において画質の向上のために行われているものである。具体的には、このシフトは、たとえばディザマトリックスの配列周期で発生する低周波ノイズ(あるいはムラ)を抑制に寄与することができる。ディザマトリックスの配列周期で低周波ノイズが発生するのは、同一階調値に対して同一のディザマトリックスを使用してハーフトーン処理を行うとディザマトリックス内の同一に位置にドットが形成されるからである。   Such a dither matrix shift is performed in order to improve the image quality in the halftone process. Specifically, this shift can contribute to the suppression of low-frequency noise (or unevenness) generated, for example, in the arrangement cycle of the dither matrix. Low-frequency noise is generated in the dither matrix array period because dots are formed at the same position in the dither matrix when halftone processing is performed for the same gradation value using the same dither matrix. It is.

ステップS320では、決定済み閾値の対応ドットがオンとされる。決定済み閾値とは、格納要素が決定された閾値を意味する。本実施例では、前述のようにドットの形成されやすい値の閾値から順に選択されるので、着目閾値にドットが形成される際には、決定済み閾値が格納された要素に対応する画素には必ずドットが形成されることになる。逆に、着目閾値にドットが形成される最も小さな入力階調値においては、決定済み閾値が格納された要素以外の要素に対応する画素にはドットは形成されないことになる。   In step S320, the corresponding threshold threshold dot 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.

図8は、ディザマトリックスMにおいて、1〜8番目にドットが形成されやすい閾値が格納された要素に対応する8個の画素の各々にドットが形成された様子を示す説明図である。このドットパターンは、9番目のドットをどの画素に形成すべきかを決定するために使用される。すなわち、9番目にドットが形成されやすい着目閾値の格納要素の決定に使用される。格納要素の決定は、本実施例では、ドットの形成が疎となっている画素に対応する要素に着目閾値が格納されるように格納要素を決定する。マトリックスの各要素に対応する画素に形成される複数のドットが各階調値において均一に形成されるか否かが評価の基準となっているからである。図7から分かるように、ディザマトリックス毎のドットパターンもディザマトリックスと同様に主走査方向にシフトしている。   FIG. 8 is an explanatory diagram showing a state in which dots are formed in each of the eight pixels corresponding to the elements storing the thresholds at which dots are likely to be formed first to eighth in the dither matrix M. This dot pattern is used to determine in which pixel the ninth dot is to be formed. That is, it is used to determine the storage element of the target threshold value at which the ninth dot is most likely to be formed. In this embodiment, the storage element is determined so that the threshold value is stored in the element corresponding to the pixel in which the dot formation is sparse. This is because whether or not a plurality of dots formed in pixels corresponding to each element of the matrix are uniformly formed in each gradation value is a criterion for evaluation. As can be seen from FIG. 7, the dot pattern for each dither matrix is also shifted in the main scanning direction in the same manner as the dither matrix.

図9は、図8において8個の画素の各々にドットが形成された状態を数値化したマトリックス、すなわちドット密度を定量的に表したドット密度マトリックスを示す説明図である。数字0は、ドットが形成されていないことを意味し、数字1は、ドットが形成されていることを意味する。   FIG. 9 is an explanatory diagram showing a matrix obtained by quantifying the state in which dots are formed in each of the eight pixels in FIG. 8, that is, a dot density matrix that quantitatively represents the dot density. The number 0 means that no dot is formed, and the number 1 means that a dot is formed.

ステップS330では、全体評価値が算出される。全体評価値は、ドット密度マトリックスに対してローパスフィルタ処理を行うことによって算出される。   In step S330, an overall evaluation value is calculated. The overall evaluation value is calculated by performing a low pass filter process on the dot density matrix.

図10は、本発明の第1実施例におけるローパスフィルタを示す説明図である。本実施例では、フィルタ処理された結果がドット密度の大小比較にのみ使用されるので、ローパスフィルタの正規化は行われていない。ローパスフィルタ処理は、中心マトリックスの要素についてのみ行われる。ただし、中心マトリックスの周辺部の要素の計算では、中心マトリックスの周囲に連結された8個の周囲マトリックスのデータも使用される。   FIG. 10 is an explanatory diagram showing the low-pass filter in the first embodiment of the present invention. In the present embodiment, since the filtered result is used only for dot density magnitude comparison, the low pass filter is not normalized. The low-pass filter process is performed only for the elements of the center matrix. However, the calculation of the peripheral elements of the central matrix also uses data of eight peripheral matrices connected around the central matrix.

図11は、ドット密度マトリックスをローパスフィルタ処理した結果を示す説明図である。各要素内の数字は、全体評価値を表している。全体評価値とは、8個の閾値の格納要素が決定されたディザマトリックスMにおいて、仮に9番目のドットを形成したと仮定したときの各要素の評価値を意味する。大きな数字は、ドットの密度が高く、小さな数字はドットの密度が低い、すなわちドットが疎であることを意味している。   FIG. 11 is an explanatory diagram showing the result of low-pass filter processing of the dot density matrix. The number in each element represents the overall evaluation value. The overall evaluation value means an evaluation value of each element when it is assumed that the ninth dot is formed in the dither matrix M in which the storage elements of eight threshold values are determined. A large number means that the dot density is high, and a small number means that the dot density is low, that is, the dots are sparse.

ステップS340では、評定マトリックスが選択される。評定マトリックスとは、4個の分割マトリックスM0〜M3の中で、着目閾値の格納要素の決定の際に評価の対象となる1個のマトリックスを意味する。   In step S340, a rating matrix is selected. The rating matrix means one matrix to be evaluated at the time of determining the storage element of the target threshold value among the four divided matrices M0 to M3.

評定マトリックスは、本実施例では、着目閾値とともに順に選択される。具体的には、1番目の着目閾値では分割マトリックスM0が選択され、2番目の着目閾値では分割マトリックスM1が選択され、といった方法で分割評定マトリックスが順に選択される。着目閾値は、評定マトリックスに属する要素のいずれかに格納されることになる。   In this embodiment, the rating matrix is selected in order along with the target threshold value. Specifically, the division rating matrix M0 is selected in the first target threshold value, the division matrix M1 is selected in the second target threshold value, and the division rating matrix is sequentially selected. The focus threshold value is stored in one of the elements belonging to the rating matrix.

ここでは、評定マトリックスとして分割マトリックスM0が選択された場合の例について説明する。分割マトリックスM0は、ディザマトリックスMの要素のうち第1の画素グループに属する画素に対応する複数の要素と、空欄となっている複数の要素である空欄要素とから構成されている。   Here, an example in which the division matrix M0 is selected as the rating matrix will be described. The division matrix M0 includes a plurality of elements corresponding to pixels belonging to the first pixel group among elements of the dither matrix M and blank elements that are blank elements.

ステップS350では、関連マトリックスが決定される。関連マトリックスとは、周囲マトリックスの要素の中で、評定マトリックスが対応する画素グループに対応する要素のグループを意味する。   In step S350, an association matrix is determined. The association matrix means a group of elements corresponding to the pixel group corresponding to the rating matrix among the elements of the surrounding matrix.

図12は、本発明の第1実施例において第1の画素グループに対応する分割マトリックスを示す説明図である。図12から分かるように、中心マトリックスでは、分割マトリックスM0が第1の画素グループに対応する一方、周囲マトリックスでは、分割マトリックスM1が第1の画素グループに対応している。このように、周囲マトリックスは、中心マトリックスに対して1画素だけシフトして連結されているため、同一の画素グループに対して中心マトリックスとは異なる画素グループが対応することになる。   FIG. 12 is an explanatory diagram showing a divided matrix corresponding to the first pixel group in the first embodiment of the present invention. As can be seen from FIG. 12, in the central matrix, the divided matrix M0 corresponds to the first pixel group, while in the surrounding matrix, the divided matrix M1 corresponds to the first pixel group. Thus, since the surrounding matrix is shifted and connected by one pixel with respect to the center matrix, a pixel group different from the center matrix corresponds to the same pixel group.

ステップS360では、決定済み閾値の対応ドットがオンとされる。ただし、ここでは、中心マトリックス内の評定マトリックスと、周囲マトリックス内の関連マトリックスにおいてのみ決定済み閾値の対応ドットがオンとされる。この結果、第1の画素グループに対応する要素において決定済み閾値の対応ドットがオンとされることになる。   In step S360, the corresponding threshold threshold dot is turned on. However, here, the corresponding dot of the determined threshold is turned on only in the rating matrix in the center matrix and the related matrix in the surrounding matrix. As a result, the dot corresponding to the determined threshold value is turned on in the element corresponding to the first pixel group.

図13は、第1の画素グループに対応する要素から構成されるドット密度マトリックスを示す説明図である。図13から分かるように、周囲マトリックスでは、中心マトリックスとは異なるドットパターンが形成されている。   FIG. 13 is an explanatory diagram showing a dot density matrix including elements corresponding to the first pixel group. As can be seen from FIG. 13, a dot pattern different from the central matrix is formed in the surrounding matrix.

ステップS370では、グループ評価値(図14)が算出される。グループ評価値は、図13のドット密度マトリックスに対してローパスフィルタ(図10)を用いたフィルタ処理を行うことによって算出される。グループ評価値とは、2個の閾値の格納要素が決定された分割マトリックスM0において、仮に3番目のドットを形成したと仮定したときの各要素の評価値を意味する。   In step S370, a group evaluation value (FIG. 14) is calculated. The group evaluation value is calculated by performing filter processing using a low-pass filter (FIG. 10) on the dot density matrix of FIG. The group evaluation value means an evaluation value of each element when it is assumed that the third dot is formed in the divided matrix M0 in which two threshold storage elements are determined.

このようにして算出された全体評価値およびグループ評価値は、総合評価値の決定に使用される。   The overall evaluation value and group evaluation value calculated in this way are used to determine the overall evaluation value.

ステップS380では、総合評価値決定処理が行われる。総合評価値決定処理は、全体評価値とグループ評価値とに所定の重み付けを行って加算することによって決定される。本実施例では、一例として全体評価値とグループ評価値の重み付けをそれぞれ「4」と「1」としている。   In step S380, comprehensive evaluation value determination processing is performed. The comprehensive evaluation value determination process is determined by adding a predetermined weight to the overall evaluation value and the group evaluation value. In this embodiment, as an example, the weights of the overall evaluation value and the group evaluation value are “4” and “1”, respectively.

図15は、全体評価値とグループ評価値と、これらの評価値から算出された総合評価値を格納するマトリックスを示す説明図である。総合評価値は、たとえば1行1列の要素については「26」と決定されている。この値は、全体評価値を格納するマトリックスの1行1列の要素に格納された全体評価値である「6」の値に重み付けの値である「4」を乗ずるとともに、グループ評価値を格納するマトリックスの1行1列の要素に格納されたグループ評価値の値である「2」を加えることによって決定されている。   FIG. 15 is an explanatory diagram showing a matrix that stores overall evaluation values, group evaluation values, and overall evaluation values calculated from these evaluation values. For example, the overall evaluation value is determined to be “26” for an element of one row and one column. This value is obtained by multiplying the value of “6”, which is the overall evaluation value stored in the 1 × 1 element of the matrix for storing the overall evaluation value, by “4”, which is the weighting value, and also stores the group evaluation value. This is determined by adding “2” which is the value of the group evaluation value stored in the element of the first row and the first column of the matrix.

なお、分割マトリックスM0に属する要素は、16個あり、16個の要素の中で2個の要素が既に2個の閾値格納要素として決定されている。2個の閾値格納要素には、「済み」と示されている。   There are 16 elements belonging to the divided matrix M0, and 2 elements among the 16 elements have already been determined as 2 threshold value storage elements. The two threshold value storage elements are indicated as “completed”.

ステップS400(図3)では、格納要素決定処理が行われる。格納要素決定処理は、着目閾値(この例では8番目にドットが形成されやすい閾値)の格納要素を決定する処理である。格納要素は、本実施例では総合評価値が最も小さな要素の中から決定される。この例では、7行1列と5行7列の要素が同一の総合評価値「16」を有するので格納要素の候補となる。2個の格納要素候補の中からの選択方法は、熟練技術者の知見に基づいても良く、後述する方法によっても良い。   In step S400 (FIG. 3), a storage element determination process is performed. The storage element determination process is a process of determining a storage element of a target threshold value (in this example, a threshold value at which dots are most easily formed in the eighth example). In the present embodiment, the storage element is determined from elements having the smallest overall evaluation value. In this example, since the elements in the 7th row and the 1st column and the 5th row and the 7th column have the same overall evaluation value “16”, they become storage element candidates. A method for selecting from the two storage element candidates may be based on the knowledge of a skilled engineer or may be a method described later.

このような処理を、最もドットの形成されやすい閾値から最もドットの形成され難い閾値までの全閾値について行うと、ディザマトリックスの生成処理が完了する(ステップS500)。   When such processing is performed for all the threshold values from the threshold at which dots are most likely to be formed to the threshold at which dots are hardly formed, the dither matrix generation processing is completed (step S500).

このように、本実施例のディザマトリックスの生成方法では、複数のディザマトリックスがシフトされた状態で連結されることが想定され、かかる想定に基づいてディザマトリックスの最適化が図られているので、たとえばディザマトリックスの配列周期で発生する低周波ノイズを抑制しつつ、各主走査でほぼ同時に形成される第1〜第4の複数の画素グループ(図1、図2)の各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって形成されるように構成された印刷装置に最適化されたディザマトリックスを生成することができる。   Thus, in the dither matrix generation method of the present embodiment, it is assumed that a plurality of dither matrices are connected in a shifted state, and the dither matrix is optimized based on such assumptions. For example, print pixels belonging to each of the first to fourth pixel groups (FIGS. 1 and 2) formed almost simultaneously in each main scan while suppressing low-frequency noise generated in the arrangement cycle of the dither matrix. A dither matrix optimized for a printing apparatus configured to be formed by being combined with each other in a common printing region can be generated.

なお、上述の実施例では、第1の画素グループに対応する分割マトリックスについて説明されているが、第2〜第4の画素グループに対応する分割マトリックスについては、図16〜図21に示される評定マトリックスと関連マトリックスとに基づいて第1の画素グループの場合と同様に計算することができる。   In the above-described embodiment, the division matrix corresponding to the first pixel group is described. However, the division matrixes corresponding to the second to fourth pixel groups are evaluated as shown in FIGS. Based on the matrix and the association matrix, it can be calculated as in the case of the first pixel group.

C.第2実施例におけるディザマトリックスの生成方法:
図22は、本発明の第2実施例におけるディザマトリックスの評価方法の処理ルーチンを示すフローチャートである。第2実施例の生成方法は、ディザマトリックスの評価方法が第1実施例の生成方法と異なる。すなわち、第2実施例の生成方法は、閾値の格納要素として決定済みでない、すなわち、未決定の複数の候補要素に対応する複数の画素のいずれかにドットが形成されたものと仮定するとともに、この仮定に基づいて形成されたドットパターンのRMS粒状度に基づいて格納要素が決定される点で第1実施例の生成方法と異なる。
C. Dither matrix generation method in the second embodiment:
FIG. 22 is a flowchart showing the processing routine of the dither matrix evaluation method in the second embodiment of the present invention. The generation method of the second embodiment differs from the generation method of the first embodiment in the dither matrix evaluation method. That is, the generation method according to the second embodiment assumes that dots are not formed as threshold storage elements, that is, dots are formed in any of a plurality of pixels corresponding to a plurality of undetermined candidate elements. It differs from the generation method of the first embodiment in that the storage element is determined based on the RMS granularity of the dot pattern formed based on this assumption.

第2実施例の生成方法は、ステップS320、ステップS330、ステップS360、ステップS370の各工程を修正して、ステップS320a、ステップS330a、ステップS360a、ステップS370aの各工程とするとともに、ステップS380の工程を第2実施例の処理ルーチンに加えることによって構成されている。   In the generation method of the second embodiment, the steps S320, S330, S360, and S370 are modified to be steps S320a, S330a, S360a, and S370a, and the step S380 is performed. Is added to the processing routine of the second embodiment.

ステップS320aとステップS360aは、決定済み閾値が格納された要素に対応するドットだけでなく、着目要素に対応する画素のドットもオンにされる点で第1実施例のステップS320やステップS360と異なる。着目要素とは、複数の候補要素の中から選択された1つの要素である。   Steps S320a and S360a differ from Steps S320 and S360 of the first embodiment in that not only the dots corresponding to the elements for which the determined threshold value is stored, but also the dots of the pixels corresponding to the element of interest are turned on. . The element of interest is one element selected from a plurality of candidate elements.

ステップS330aとステップS370aは、RMS粒状度算出処理も行われる点で第1実施例のステップS330やステップS370と異なる。RMS粒状度算出処理とは、ドット密度マトリックスをローパスフィルタ処理した後、標準偏差を算出する処理である。標準偏差の算出は、図23の計算式を用いて行うことができる。なお、標準偏差の算出は、必ずしもディザマトリックスMの全要素に対応するドットパターンについて行う必要はなく、計算量を少なくするために、所定のウィンドウ(たとえば5×5の部分マトリックス)に属する画素のドット密度のみを用いて行うようにしても良い。このような処理は、全ての着目画素について行われる(ステップS380)。   Step S330a and step S370a differ from step S330 and step S370 of the first embodiment in that RMS granularity calculation processing is also performed. The RMS granularity calculation process is a process for calculating a standard deviation after low-pass filtering the dot density matrix. The standard deviation can be calculated using the calculation formula of FIG. The standard deviation is not necessarily calculated for the dot pattern corresponding to all elements of the dither matrix M. In order to reduce the amount of calculation, the standard deviation is calculated for pixels belonging to a predetermined window (for example, a 5 × 5 partial matrix). You may make it carry out using only a dot density. Such processing is performed for all the target pixels (step S380).

このような処理によって算出された値は、第1実施例の全体評価値やグループ評価値に相当する。第2実施例は、算出された全体評価値やグループ評価値を第1実施例と同様に取り扱うことによってRMS粒状度に基づいた評価を行って最適ディザマトリックスを生成することができる。   The value calculated by such processing corresponds to the overall evaluation value or group evaluation value of the first embodiment. The second embodiment can generate an optimum dither matrix by performing an evaluation based on the RMS granularity by handling the calculated overall evaluation values and group evaluation values in the same manner as the first embodiment.

なお、第2実施例の評価方法は、第1実施例の評価方法と組み合わせることも可能である。すなわち、第1実施例の評価方法で第2実施例の候補要素を絞り込むととともに、絞り込まれた候補要素からRMS粒状度に基づいて格納要素を決定するようにしても良い。たとえば第1実施例で示された例では、2つの要素の評価値が同一であるが、この2つの要素を第2実施例の候補要素とすることができる。さらに、所定の評価値の範囲内(たとえば評価値の相違が5以内)の要素を候補要素とするように構成しても良い。   The evaluation method of the second embodiment can be combined with the evaluation method of the first embodiment. That is, the candidate elements of the second embodiment may be narrowed down by the evaluation method of the first embodiment, and the storage elements may be determined from the narrowed candidate elements based on the RMS granularity. For example, in the example shown in the first embodiment, the evaluation values of the two elements are the same, but these two elements can be used as candidate elements in the second embodiment. Further, an element within a predetermined evaluation value range (for example, an evaluation value difference within 5) may be configured as a candidate element.

D.変形例:
以上、本発明のいくつかの実施の形態について説明したが、本発明はこのような実施の形態になんら限定されるものではなく、その要旨を逸脱しない範囲内において種々なる態様での実施が可能である。例えば、本発明は、以下のような変形例についてのディザマトリックスの最適化が可能である。
D. Variations:
As mentioned above, although several embodiment of this invention was described, this invention is not limited to such embodiment at all, and implementation in a various aspect is possible within the range which does not deviate from the summary. It is. For example, the present invention can optimize a dither matrix for the following modifications.

D−1.上述の実施例では、複数の周囲マトリックスは、中心マトリックスに対して主走査方向にシフトして連結されているが、このようなシフトが無い場合にも本発明は、適用可能である。具体的には、たとえば第1変形例(図24)に示されるように画素グループが6個存在するような場合にも本発明は適用可能であるとともに効果を奏する。 D-1. In the above-described embodiment, the plurality of surrounding matrices are connected with being shifted in the main scanning direction with respect to the center matrix. However, the present invention can also be applied when there is no such shift. Specifically, for example, as shown in the first modification (FIG. 24), the present invention is applicable and effective even when there are six pixel groups.

このような場合には、主走査方向のグループ数が3個である一方、ディザマトリックスは8行8列として構成されているので、ディザマトリックスの行数が主走査方向のグループ数で割り切れない。この結果、中心マトリックスと主走査方向に連結するマトリックスとで同一の画素グループに対応する分割マトリックスが異なることになる。しかし、本発明を適用すれば、評定マトリックスが第1の画素グループの要素(要素に「0」と記載)のときには、上述の実施例と同様に、関連マトリックスを周囲マトリックスの位置に応じて第3の画素グループの要素(要素に「2」と記載)や第5の画素グループの要素(要素に「0」と記載)とすることによって処理できることが分かる。   In such a case, the number of groups in the main scanning direction is three, while the dither matrix is configured as 8 rows and 8 columns, so the number of rows in the dither matrix is not divisible by the number of groups in the main scanning direction. As a result, the division matrix corresponding to the same pixel group differs between the central matrix and the matrix connected in the main scanning direction. However, according to the present invention, when the rating matrix is an element of the first pixel group (described as “0” in the element), as in the above-described embodiment, the related matrix is changed according to the position of the surrounding matrix. It can be understood that the processing can be performed by using the element of the third pixel group (described as “2” in the element) and the element of the fifth pixel group (described as “0” in the element).

さらに、第2変形例(図25)に示されるように、画素グループが6個存在するような上述の第1変形例に対して、第1実施例のようなディザマトリックスのシフトを適用することも可能である。加えて、第3変形例(図26)に示されるように、画素グループが6個存在するような上述の第1変形例に対して、ディザマトリックスの主走査方向のシフトを適用することも可能である。   Further, as shown in the second modification (FIG. 25), the dither matrix shift as in the first embodiment is applied to the first modification in which there are six pixel groups. Is also possible. In addition, as shown in the third modification (FIG. 26), it is also possible to apply a shift in the main scanning direction of the dither matrix to the first modification in which there are six pixel groups. It is.

このように、本発明は、複数の前記ディザマトリックスが一定の規則で連結された連結マトリックスによって行われるハーフトーン処理に広く適用することができる。   Thus, the present invention can be widely applied to halftone processing performed by a connected matrix in which a plurality of the dither matrices are connected according to a certain rule.

D−2.上述の実施例では、4回の主走査で印刷画像が形成されることを前提としているが、たとえば往方向と双方向の2回の主走査で印刷画像が形成される構成や複数の印刷ヘッドが使用される構成といった種々の構成に本発明は適用可能である。本発明は、一般に、ドットの形成において物理的な相違が想定された複数の画素グループの各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって印刷画像が形成される印刷に適用することができる。 D-2. In the above-described embodiments, it is assumed that a print image is formed by four main scans. For example, a configuration in which a print image is formed by two main scans in both the forward direction and the bidirectional direction or a plurality of print heads. The present invention can be applied to various configurations such as a configuration in which is used. The present invention is generally applied to printing in which a print image is formed by combining print pixels belonging to each of a plurality of pixel groups assumed to have a physical difference in dot formation in a common print region. can do.

D−3.上述の実施例では、マトリックス全体の各要素に対応する画素に形成される複数のドットが各階調値において均一に形成されるか否かが評価の基準となっているが、たとえばマトリックス全体でなくマトリックスの一部分の各要素に対応する画素に形成される複数のドットのみに基づいて評価するように構成しても良い。 D-3. In the above-described embodiment, whether or not a plurality of dots formed in pixels corresponding to each element of the entire matrix are uniformly formed in each gradation value is a criterion for evaluation. You may comprise so that it may evaluate based only on the some dot formed in the pixel corresponding to each element of a part of matrix.

D−4.上述の実施例では、ローパスフィルタ処理を行うとともにドット密度の均一性やRMS粒状度に基づいてディザマトリックスの最適性を評価しているが、たとえばドットパターンに対してフーリエ変換を行うとともにVTF関数を用いてディザマトリックスの最適性を評価するように構成しても良い。具体的には、ゼロックスのDooleyらが用いた評価尺度(Grainess scale:GS値)をドットパターンに適用して、GS値によってディザマトリックスの最適性を評価するように構成しても良い。ここで、GS値とは、ドットパターンに対して2次元フーリエ変換を含む所定の処理を行って数値化するとともに、視覚の空間周波数特性VTFとカスケードした後に積分することによって得ることができる粒状性評価値である(参考文献:ファインイメージングとハードコピー、コロナ社、日本写真学会、日本画像学会 合同出版委員会編 P534)。ただし、前者は、フーリエ変換などの複雑な計算が不必要となるという利点を有する。なお、GS値は、粒状性指数とも呼ばれる。 D-4. In the above-described embodiment, low-pass filter processing is performed and the optimality of the dither matrix is evaluated based on dot density uniformity and RMS granularity. For example, a Fourier transform is performed on a dot pattern and a VTF function is calculated. It may be used to evaluate the optimality of the dither matrix. Specifically, the evaluation scale (Grainess scale: GS value) used by Dooley et al. Of Xerox may be applied to the dot pattern, and the optimality of the dither matrix may be evaluated based on the GS value. Here, the GS value is a granularity that can be obtained by performing a predetermined process including a two-dimensional Fourier transform on a dot pattern and digitizing the dot pattern, and integrating after cascading with a visual spatial frequency characteristic VTF. Evaluation values (reference: fine imaging and hard copy, Corona, Japan Photographic Society, Japanese Imaging Society Joint Publishing Committee, P534). However, the former has an advantage that complicated calculation such as Fourier transform is unnecessary. The GS value is also called a graininess index.

D−5.上述の実施例や変形例では、ディザマトリックスに設定されている閾値と画像データの階調値とを画素毎に比較することによって、画素毎にドット形成の有無を判断しているが、たとえば閾値と階調値の和を固定値と比較してドット形成の有無を判断するようにしても良い。さらに、閾値を直接使用することなく閾値に基づいて予め生成されたデータと、階調値とに応じてドット形成の有無を判断するようにしても良い。本発明のハーフトーン処理は、一般に、各画素の階調値と、ディザマトリックスの対応する画素位置に設定された閾値とに応じてドットの形成の有無を判断するものであれば良い。 D-5. In the above-described embodiments and modifications, 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. Further, the sum of the gradation 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. In general, the halftone processing of the present invention may be any method that determines 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.

本発明の第1実施例において主走査と副走査を行いつつインクドットを印刷媒体上に印刷画像が生成される様子を示す説明図。FIG. 3 is an explanatory diagram illustrating a state where a print image is generated on a print medium while performing main scanning and sub scanning in the first embodiment of the present invention. 本発明の第1実施例において複数の画素グループの各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって印刷媒体上に印刷画像が生成される様子を示す説明図。FIG. 3 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 first embodiment of the present invention. 本発明の第1実施例におけるディザマトリックスの生成方法の処理ルーチンを示すフローチャート。The flowchart which shows the processing routine of the production | generation method of the dither matrix in 1st Example of this invention. 本発明の第1実施例におけるグループ化処理が行われディザマトリックスMを示す説明図。Explanatory drawing which shows the dither matrix M in which the grouping process in 1st Example of this invention was performed. 本発明の第1実施例における4個の分割マトリックスM0〜M3を示す説明図。Explanatory drawing which shows four division | segmentation matrices M0-M3 in 1st Example of this invention. ディザマトリックス評価処理の処理ルーチンを示すフローチャート。The flowchart which shows the process routine of a dither matrix evaluation process. 本発明の第1実施例における9個のディザマトリックスの連結状態を示す説明図。Explanatory drawing which shows the connection state of nine dither matrices in 1st Example of this invention. ディザマトリックスMにおいて、1〜8番目にドットが形成されやすい閾値が格納された要素に対応する8個の画素の各々にドットが形成された様子を示す説明図。FIG. 9 is an explanatory diagram showing a state in which dots are formed in each of eight pixels corresponding to elements storing threshold values at which dots are likely to be formed first to eighth in the dither matrix M; 8個の画素の各々にドットが形成された状態を数値化したマトリックス、すなわちドット密度を定量的に表したドット密度マトリックスを示す説明図。Explanatory drawing which shows the matrix which digitized the state in which the dot was formed in each of eight pixels, ie, the dot density matrix which expressed the dot density quantitatively. 本発明の第1実施例におけるローパスフィルタを示す説明図。Explanatory drawing which shows the low-pass filter in 1st Example of this invention. ドット密度マトリックスをローパスフィルタ処理した結果を示す説明図。Explanatory drawing which shows the result of carrying out the low pass filter process of the dot density matrix. 本発明の第1実施例において第1の画素グループに対応する分割マトリックスを示す説明図。Explanatory drawing which shows the division | segmentation matrix corresponding to a 1st pixel group in 1st Example of this invention. 第1の画素グループに対応する要素から構成されるドット密度マトリックスを示す説明図。Explanatory drawing which shows the dot density matrix comprised from the element corresponding to a 1st pixel group. グループ評価値を格納するマトリックスを示す説明図。Explanatory drawing which shows the matrix which stores a group evaluation value. 全体評価値とグループ評価値と、これらの評価値から算出された総合評価値を格納するマトリックスを示す説明図。Explanatory drawing which shows the matrix which stores the total evaluation value, the group evaluation value, and the comprehensive evaluation value calculated from these evaluation values. 第2の画素グループに対応する分割マトリックスを示す説明図。Explanatory drawing which shows the division | segmentation matrix corresponding to a 2nd pixel group. 第2の画素グループに対応する要素から構成されるドット密度マトリックスを示す説明図。Explanatory drawing which shows the dot density matrix comprised from the element corresponding to a 2nd pixel group. 第3の画素グループに対応する分割マトリックスを示す説明図。Explanatory drawing which shows the division | segmentation matrix corresponding to a 3rd pixel group. 第3の画素グループに対応する要素から構成されるドット密度マトリックスを示す説明図。Explanatory drawing which shows the dot density matrix comprised from the element corresponding to a 3rd pixel group. 第4の画素グループに対応する分割マトリックスを示す説明図。Explanatory drawing which shows the division | segmentation matrix corresponding to a 4th pixel group. 第4の画素グループに対応する要素から構成されるドット密度マトリックスを示す説明図。Explanatory drawing which shows the dot density matrix comprised from the element corresponding to a 4th pixel group. 本発明の第2実施例におけるディザマトリックスの評価方法の処理ルーチンを示すフローチャート。The flowchart which shows the processing routine of the evaluation method of the dither matrix in 2nd Example of this invention. RMS粒状度算出処理に使用される計算式を示す説明図。Explanatory drawing which shows the calculation formula used for a RMS granularity calculation process. 本発明の第1変形例における9個のディザマトリックスの連結状態を示す説明図。Explanatory drawing which shows the connection state of nine dither matrices in the 1st modification of this invention. 本発明の第2変形例における9個のディザマトリックスの連結状態を示す説明図。Explanatory drawing which shows the connection state of nine dither matrices in the 2nd modification of this invention. 本発明の第3変形例における9個のディザマトリックスの連結状態を示す説明図。Explanatory drawing which shows the connection state of nine dither matrices in the 3rd modification of this invention.

符号の説明Explanation of symbols

M…ディザマトリックス
M0…分割マトリックス
M1…分割マトリックス
M2…ディザマトリックス
M3…分割マトリックス
M1…分割マトリックス
10…印刷ヘッド
DP1、DP1a…ドットパターン
DP2、DP2a…ドットパターン
DP3、DP3a…ドットパターン
DP4、DP4a…ドットパターン
M ... Dither matrix M0 ... Divided matrix M1 ... Divided matrix M2 ... Dither matrix M3 ... Divided matrix M1 ... Divided matrix 10 ... Print head DP1, DP1a ... Dot pattern DP2, DP2a ... Dot pattern DP3, DP3a ... Dot pattern DP4, DP4a ... Dot pattern

Claims (7)

入力画像データに対してハーフトーン処理を行うために、印刷媒体上に形成されるべき印刷画像の各印刷画素へのドットの形成状態を決定するためのディザマトリックスを生成する方法であって、
前記印刷画像は、前記ドットの形成において物理的な相違が想定された複数の画素グループの各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって形成され、
前記ハーフトーン処理は、複数の前記ディザマトリックスが一定の規則で連結されたマトリックスによって行われ、
前記ディザマトリックス生成方法は、
前記ディザマトリックスの各要素に格納されるべき複数の閾値の中から、格納されるべき要素が未決定の閾値であって、かつ、ドットの形成が最もオンとなりやすい閾値を着目閾値として決定する着目閾値決定工程と、
格納される閾値が決定済みの要素である決定済み要素に対応する画素にドットが形成されたとみなすとともに、格納される閾値が未決定の要素である空白要素の各々のいずれか1つに前記着目閾値が格納されることを想定した場合の各々について総合評価値を決定し、前記総合評価値に応じて前記着目閾値を格納する要素を決定する格納要素決定工程と、
前記複数の閾値の全てについて、前記着目閾値決定工程と前記格納要素決定工程の各工程を繰り返す繰り返し工程と、
を備え、
前記格納要素決定工程は、
前記評価の対象となるディザマトリックスである中心マトリックスの周囲に、前記中心マトリックスと同一の要素を有する複数の周囲マトリックスを前記一定の規則で連結して連結マトリックスを生成する連結マトリックス生成工程と、
前記連結マトリックスの前記決定済み要素の全てのグループに対応するドットの形成状態を評価して全体評価値を決定する全体評価値決定工程と、
前記連結マトリックスの前記決定済み要素の中で、前記複数の画素グループから評定として選択された評定画素グループに対応する要素グループに属する要素にのみ対応するドットの形成状態を評価してグループ評価値を決定するグループ評価値決定工程と、
前記全体評価値と前記グループ評価値とに応じて、前記総合評価値を決定する総合評価値決定工程と、
を含み、
前記要素グループは、前記中心マトリックスの中で前記評定画素グループに対応する要素グループである評定グループと、前記複数の周囲マトリックスの中で前記評定画素グループに対応する要素グループである関連グループと、を含むことを特徴とする、ディザマトリックス生成方法。
A method of generating a dither matrix for determining a dot formation state on each print pixel of a print image to be formed on a print medium in order to perform halftone processing on input image data,
The print image is formed by combining print pixels belonging to each of a plurality of pixel groups assumed to be physically different in the formation of the dots in a common print region,
The halftone processing is performed by a matrix in which a plurality of the dither matrices are connected according to a certain rule.
The dither matrix generation method includes:
Of the plurality of threshold values to be stored in each element of the dither matrix, the focus is determined as the focus threshold value, which is the threshold value for which the element to be stored is undetermined and in which dot formation is most likely to be turned on. A threshold determination step;
It is considered that a dot is formed in a pixel corresponding to a determined element whose threshold to be stored is a determined element, and the attention is paid to any one of the blank elements whose thresholds are not yet determined. A storage element determination step for determining a comprehensive evaluation value for each of cases where a threshold value is assumed to be stored, and determining an element for storing the target threshold value according to the comprehensive evaluation value;
For all of the plurality of thresholds, a repetition step of repeating each of the focus threshold value determination step and the storage element determination step;
With
The storage element determination step includes:
A connected matrix generating step of generating a connected matrix by connecting a plurality of surrounding matrices having the same elements as the center matrix around the center matrix, which is a dither matrix to be evaluated, according to the predetermined rule;
An overall evaluation value determining step for evaluating the formation state of dots corresponding to all groups of the determined elements of the connection matrix and determining an overall evaluation value;
Among the determined elements of the connected matrix, a group evaluation value is obtained by evaluating a dot formation state corresponding only to an element belonging to an element group corresponding to a rating pixel group selected as a rating from the plurality of pixel groups. A group evaluation value determination process to be determined;
In accordance with the overall evaluation value and the group evaluation value, a comprehensive evaluation value determining step for determining the comprehensive evaluation value;
Including
The element group includes a rating group that is an element group corresponding to the rating pixel group in the central matrix, and a related group that is an element group corresponding to the rating pixel group in the plurality of surrounding matrices. A dither matrix generation method comprising:
請求項1記載のディザマトリックス生成方法であって、
前記複数の周囲マトリックスは、前記中心マトリックスに対して主走査方向と副走査方向の少なくとも一方にずれている、ディザマトリックス生成方法。
The dither matrix generation method according to claim 1,
The dither matrix generation method, wherein the plurality of surrounding matrices are shifted in at least one of a main scanning direction and a sub-scanning direction with respect to the center matrix.
印刷媒体上に印刷を行う印刷方法であって、
元画像を構成する各画素の階調値を表す画像データに対してハーフトーン処理を行うことによって、前記印刷媒体上に形成されるべき印刷画像の各印刷画素へのドットの形成状態を表すドットデータを生成するドットデータ生成工程と、
前記ドットデータに応じて、前記各印刷画素にドットを形成して印刷画像を生成する印刷画像生成工程と、
を備え、
前記印刷画像は、前記印刷画像生成部によるドットの形成において、物理的な相違が想定された複数の画素グループの各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって形成され、
前記ハーフトーン処理は、請求項1または2に記載の複数の前記ディザマトリックスが前記一定の規則で連結された連結マトリックスによって行われるように構成されていることを特徴とする、印刷方法。
A printing method for printing on a print medium,
Dots representing the dot formation state on each print pixel of the print image to be formed on the print medium by performing halftone processing on the image data representing the gradation value of each pixel constituting the original image Dot data generation process for generating data;
In accordance with the dot data, a print image generation step for generating a print image by forming dots in the respective print pixels;
With
The print image is formed by combining print pixels belonging to each of a plurality of pixel groups assumed to be physically different in a common print region in the formation of dots by the print image generation unit,
The printing method according to claim 1, wherein the halftone processing is performed by a connection matrix in which the plurality of dither matrices according to claim 1 or 2 are connected according to the predetermined rule.
印刷媒体上に印刷を行う印刷装置であって、
元画像を構成する各画素の階調値を表す画像データに対してハーフトーン処理を行うことによって、前記印刷媒体上に形成されるべき印刷画像の各印刷画素へのドットの形成状態を表すドットデータを生成するドットデータ生成部と、
前記ドットデータに応じて、前記各印刷画素にドットを形成して印刷画像を生成する印刷画像生成部と、
を備え、
前記印刷画像は、前記印刷画像生成部によるドットの形成において、物理的な相違が想定された複数の画素グループの各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって形成され、
前記ハーフトーン処理は、請求項1または2に記載の複数の前記ディザマトリックスが前記一定の規則で連結された連結マトリックスによって行われるように構成されていることを特徴とする、印刷装置。
A printing device for printing on a print medium,
Dots representing the dot formation state on each print pixel of the print image to be formed on the print medium by performing halftone processing on the image data representing the gradation value of each pixel constituting the original image A dot data generator for generating data;
According to the dot data, a print image generation unit that generates a print image by forming dots in the print pixels;
With
The print image is formed by combining print pixels belonging to each of a plurality of pixel groups assumed to be physically different in a common print region in the formation of dots by the print image generation unit,
The printing apparatus according to claim 1, wherein the halftone process is performed by a connection matrix in which the plurality of dither matrices according to claim 1 or 2 are connected according to the predetermined rule.
印刷媒体上に印刷画像を形成する印刷物の生成方法であって、
元画像を構成する各画素の階調値を表す画像データに対してハーフトーン処理を行うことによって、前記印刷媒体上に形成されるべき印刷画像の各印刷画素へのドットの形成状態を表すドットデータを生成するドットデータ生成工程と、
前記ドットデータに応じて、前記各印刷画素にドットを形成して印刷画像を生成する印刷画像生成工程と、
を備え、
前記印刷画像は、前記印刷画像生成部によるドットの形成において、物理的な相違が想定された複数の画素グループの各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって形成され、
前記ハーフトーン処理は、請求項1または2に記載の複数の前記ディザマトリックスが前記一定の規則で連結された連結マトリックスによって行われるように構成されていることを特徴とする、印刷物の生成方法。
A method for generating a printed material for forming a print image on a print medium,
Dots representing the dot formation state on each print pixel of the print image to be formed on the print medium by performing halftone processing on the image data representing the gradation value of each pixel constituting the original image Dot data generation process for generating data;
In accordance with the dot data, a print image generation step for generating a print image by forming dots in the respective print pixels;
With
The print image is formed by combining print pixels belonging to each of a plurality of pixel groups assumed to be physically different in a common print region in the formation of dots by the print image generation unit,
3. The printed material generation method according to claim 1, wherein the halftone processing is performed by a connection matrix in which the plurality of dither matrices according to claim 1 or 2 are connected according to the predetermined rule.
入力画像データに対してハーフトーン処理を行うために、印刷媒体上に形成されるべき印刷画像の各印刷画素へのドットの形成状態を決定するためのディザマトリックスを生成する装置であって、
前記印刷画像は、前記ドットの形成において物理的な相違が想定された複数の画素グループの各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって形成され、
前記ハーフトーン処理は、複数の前記ディザマトリックスが一定の規則で連結されたマトリックスによって行われ、
前記ディザマトリックス生成装置は、
前記ディザマトリックスの各要素に格納されるべき複数の閾値の中から、格納されるべき要素が未決定の閾値であって、かつ、ドットの形成が最もオンとなりやすい閾値を着目閾値として決定する着目閾値決定部と、
格納される閾値が決定済みの要素である決定済み要素に対応する画素にドットが形成されたとみなすとともに、格納される閾値が未決定の要素である空白要素の各々のいずれか1つに前記着目閾値が格納されることを想定した場合の各々について総合評価値を決定し、前記総合評価値に応じて、前記着目閾値を格納する要素を決定する格納要素決定部と、
を備え、
前記格納要素決定部は、
前記評価の対象となるディザマトリックスである中心マトリックスの周囲に、前記中心マトリックスと同一の要素を有する複数の周囲マトリックスを前記一定の規則で連結して連結マトリックスを生成する連結マトリックス生成部と、
前記連結マトリックスの前記決定済み要素の全てのグループに対応するドットの形成状態を評価して全体評価値を決定する全体評価値決定部と、
前記連結マトリックスの前記決定済み要素の中で、前記複数の画素グループから評定として選択された評定画素グループに対応する要素グループに属する要素にのみ対応するドットの形成状態を評価してグループ評価値を決定するグループ評価値決定部と、
前記全体評価値と前記グループ評価値とに応じて、前記総合評価値を決定する総合評価値決定部と、
を含み、
前記要素グループは、前記中心マトリックスの中で前記評定画素グループに対応する要素グループである評定グループと、前記複数の周囲マトリックスの中で前記評定画素グループに対応する要素グループである関連グループと、を含むことを特徴とする、ディザマトリックス生成装置。
An apparatus for generating a dither matrix for determining a dot formation state on each print pixel of a print image to be formed on a print medium in order to perform halftone processing on input image data,
The print image is formed by combining print pixels belonging to each of a plurality of pixel groups assumed to be physically different in the formation of the dots in a common print region,
The halftone processing is performed by a matrix in which a plurality of the dither matrices are connected according to a certain rule.
The dither matrix generation device includes:
Of the plurality of threshold values to be stored in each element of the dither matrix, the focus is determined as the focus threshold value, which is the threshold value for which the element to be stored is undetermined and in which dot formation is most likely to be turned on. A threshold determination unit;
It is considered that a dot is formed in a pixel corresponding to a determined element whose threshold to be stored is a determined element, and the attention is paid to any one of the blank elements whose thresholds are not yet determined. A storage element determination unit that determines a comprehensive evaluation value for each of cases where a threshold value is assumed to be stored, and determines an element for storing the target threshold value according to the comprehensive evaluation value;
With
The storage element determination unit
A connected matrix generation unit that generates a connected matrix by connecting a plurality of surrounding matrices having the same elements as the center matrix around the center matrix that is the dither matrix to be evaluated according to the predetermined rule;
An overall evaluation value determination unit that evaluates the formation state of dots corresponding to all groups of the determined elements of the connection matrix and determines an overall evaluation value;
Among the determined elements of the connected matrix, a group evaluation value is obtained by evaluating a dot formation state corresponding only to an element belonging to an element group corresponding to a rating pixel group selected as a rating from the plurality of pixel groups. A group evaluation value determination unit to be determined;
In accordance with the overall evaluation value and the group evaluation value, a comprehensive evaluation value determining unit that determines the comprehensive evaluation value;
Including
The element group includes a rating group that is an element group corresponding to the rating pixel group in the central matrix, and a related group that is an element group corresponding to the rating pixel group in the plurality of surrounding matrices. A dither matrix generation device comprising:
入力画像データに対してハーフトーン処理を行うために、印刷媒体上に形成されるべき印刷画像の各印刷画素へのドットの形成状態を決定するためのディザマトリックスを生成するためのコンピュータプログラムであって、
前記印刷画像は、前記ドットの形成において物理的な相違が想定された複数の画素グループの各々に属する印刷画素が、共通の印刷領域で相互に組み合わせられることによって形成され、
前記ハーフトーン処理は、複数の前記ディザマトリックスが一定の規則で連結されたマトリックスによって行われ、
前記コンピュータプログラムは、
前記ディザマトリックスの各要素に格納されるべき複数の閾値の中から、格納されるべき要素が未決定の閾値であって、かつ、ドットの形成が最もオンとなりやすい閾値を着目閾値として決定する着目閾値決定機能と、
格納される閾値が決定済みの要素である決定済み要素に対応する画素にドットが形成されたとみなすとともに、格納される閾値が未決定の要素である空白要素の各々のいずれか1つに前記着目閾値が格納されることを想定した場合の各々について総合評価値を決定し、前記総合評価値に応じて、前記着目閾値を格納する要素を決定する格納要素決定機能と、
を前記コンピュータに実現させるプログラムを備え、
前記格納要素決定機能は、
前記評価の対象となるディザマトリックスである中心マトリックスの周囲に、前記中心マトリックスと同一の要素を有する複数の周囲マトリックスを前記一定の規則で連結して連結マトリックスを生成する連結マトリックス生成機能と、
前記連結マトリックスの前記決定済み要素の全てのグループに対応するドットの形成状態を評価して全体評価値を決定する全体評価値決定機能と、
前記連結マトリックスの前記決定済み要素の中で、前記複数の画素グループから評定として選択された評定画素グループに対応する要素グループに属する要素にのみ対応するドットの形成状態を評価してグループ評価値を決定するグループ評価値決定機能と、
前記全体評価値と前記グループ評価値とに応じて、前記総合評価値を決定する総合評価値決定機能と、
を含み、
前記要素グループは、前記中心マトリックスの中で前記評定画素グループに対応する要素グループである評定グループと、前記複数の周囲マトリックスの中で前記評定画素グループに対応する要素グループである関連グループと、を含むことを特徴とする、コンピュータプログラム。
A computer program for generating a dither matrix for determining a dot formation state on each print pixel of a print image to be formed on a print medium in order to perform halftone processing on input image data. And
The print image is formed by combining print pixels belonging to each of a plurality of pixel groups assumed to be physically different in the formation of the dots in a common print region,
The halftone processing is performed by a matrix in which a plurality of the dither matrices are connected according to a certain rule.
The computer program is
Of the plurality of threshold values to be stored in each element of the dither matrix, the focus is determined as the focus threshold value, which is the threshold value for which the element to be stored is undetermined and in which dot formation is most likely to be turned on. A threshold determination function;
It is considered that a dot is formed in a pixel corresponding to a determined element whose threshold to be stored is a determined element, and the attention is paid to any one of the blank elements whose thresholds are not yet determined. A storage element determination function that determines a comprehensive evaluation value for each of cases where a threshold value is assumed to be stored, and determines an element for storing the target threshold value according to the comprehensive evaluation value;
Comprising a program for causing the computer to realize
The storage element determination function includes:
A connected matrix generation function for generating a connected matrix by connecting a plurality of surrounding matrices having the same elements as the central matrix around the center matrix, which is a dither matrix to be evaluated, according to the predetermined rule;
An overall evaluation value determination function for evaluating the formation state of dots corresponding to all groups of the determined elements of the connection matrix and determining an overall evaluation value;
Among the determined elements of the connected matrix, a group evaluation value is obtained by evaluating a dot formation state corresponding only to an element belonging to an element group corresponding to a rating pixel group selected as a rating from the plurality of pixel groups. A group evaluation value determination function to be determined;
In accordance with the overall evaluation value and the group evaluation value, a comprehensive evaluation value determining function for determining the comprehensive evaluation value;
Including
The element group includes a rating group that is an element group corresponding to the rating pixel group in the central matrix, and a related group that is an element group corresponding to the rating pixel group in the plurality of surrounding matrices. A computer program characterized by comprising.
JP2005294672A 2005-10-07 2005-10-07 Dither matrix generation Expired - Fee Related JP4645400B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005294672A JP4645400B2 (en) 2005-10-07 2005-10-07 Dither matrix generation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005294672A JP4645400B2 (en) 2005-10-07 2005-10-07 Dither matrix generation

Publications (2)

Publication Number Publication Date
JP2007098881A JP2007098881A (en) 2007-04-19
JP4645400B2 true JP4645400B2 (en) 2011-03-09

Family

ID=38026289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005294672A Expired - Fee Related JP4645400B2 (en) 2005-10-07 2005-10-07 Dither matrix generation

Country Status (1)

Country Link
JP (1) JP4645400B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5434058B2 (en) 2008-12-04 2014-03-05 セイコーエプソン株式会社 Printing device and dither mask
JP6341573B2 (en) * 2014-12-25 2018-06-13 富士フイルム株式会社 Image processing apparatus and method, ink jet recording apparatus, and program
JP6688468B2 (en) * 2017-03-23 2020-04-28 京セラドキュメントソリューションズ株式会社 Dither matrix generation method, dither matrix generation device, image processing device, and dither matrix generation program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1148587A (en) * 1997-07-31 1999-02-23 Seiko Epson Corp Test dot recording method and printer
JP2001232859A (en) * 2000-02-21 2001-08-28 Seiko Epson Corp Method of bi-directional printing considering mechanical vibration of print head
JP2002144552A (en) * 2000-08-30 2002-05-21 Canon Inc Printing method, printing device and printing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1148587A (en) * 1997-07-31 1999-02-23 Seiko Epson Corp Test dot recording method and printer
JP2001232859A (en) * 2000-02-21 2001-08-28 Seiko Epson Corp Method of bi-directional printing considering mechanical vibration of print head
JP2002144552A (en) * 2000-08-30 2002-05-21 Canon Inc Printing method, printing device and printing system

Also Published As

Publication number Publication date
JP2007098881A (en) 2007-04-19

Similar Documents

Publication Publication Date Title
JP4631650B2 (en) High quality halftone processing
JP4254840B2 (en) Control of density unevenness in printing
JP4720490B2 (en) Dither matrix generation
JP4765635B2 (en) High quality halftone processing
JP4514132B2 (en) Threshold matrix generation method for halftone image generation, halftone image generation method and apparatus, and threshold matrix
JP5211481B2 (en) Dither matrix generation
JP4337846B2 (en) Dither matrix generation
JP4678269B2 (en) Dither matrix generation
JP4240043B2 (en) Dither matrix generation
JP4572335B2 (en) Dither matrix
JP4519876B2 (en) Data processing apparatus, data processing method and program
JP4535011B2 (en) High quality halftone processing
JP4293231B2 (en) Control of ink discharge amount based on dot formation order
WO2009081887A1 (en) Image processing device, image forming device, and image processing method
JP2008162078A (en) Generation of dither matrix
US8482792B2 (en) Image forming apparatus and control method thereof
JP4564979B2 (en) Data processing apparatus, recording apparatus, and mask pattern manufacturing method
JP5183688B2 (en) Data processing apparatus and data generation method
JP4645400B2 (en) Dither matrix generation
JP2009166491A (en) Image forming apparatus and image forming method
JP4597159B2 (en) Data processing apparatus, mask pattern manufacturing method, and data processing method
JP6552240B2 (en) Image processing apparatus, image recording apparatus, setting method of dot mixing ratio, and program
JP7242272B2 (en) Dither matrix generation device, generation method, image processing device using dither matrix, image processing method, and program
JP2012050062A (en) Image processor, image processing method and program
JP2010214962A (en) Dither matrix generating method and printing using dither matrix

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080924

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101109

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101122

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

Free format text: PAYMENT UNTIL: 20131217

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees