JP2001111829A - Dither generating device and its method and printer - Google Patents

Dither generating device and its method and printer

Info

Publication number
JP2001111829A
JP2001111829A JP28636899A JP28636899A JP2001111829A JP 2001111829 A JP2001111829 A JP 2001111829A JP 28636899 A JP28636899 A JP 28636899A JP 28636899 A JP28636899 A JP 28636899A JP 2001111829 A JP2001111829 A JP 2001111829A
Authority
JP
Japan
Prior art keywords
dither
matrix
pixels
pixel
potential
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.)
Withdrawn
Application number
JP28636899A
Other languages
Japanese (ja)
Inventor
Jun Moroo
潤 師尾
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP28636899A priority Critical patent/JP2001111829A/en
Publication of JP2001111829A publication Critical patent/JP2001111829A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently generate an optimum blue noise mask in a short time where no texture is produced at a highlight part. SOLUTION: An initial dither matrix setting section 10 sets an initial dither matrix 16 where pixels are arranged in nearly a form of a regular rectangle corresponding to a prescribed gray level of the highlight side. An array generating section 12 generates an array 26 storing all pixels of a matrix picture in the arrangement order as the blue noise mask by seeking an air gap position placed remotest from a pixel placed at present as a position of a maximum value of a potential matrix and arranging the pixels in order based on the initial dither matrix 16.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、縦横サイズの大き
なマトリクス画像を入力して2値化又は多値化に使用す
るディザマトリクスの元となるブルーノイズマスクを作
成するディザ作成装置及び作成方法、並びにプリンタに
関し、特に、最適なブルーノイズマスクを効率良く作成
可能とするディザ作成装置及び作成方法並びにプリンタ
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dither generating apparatus and method for inputting a matrix image having a large vertical and horizontal size and generating a blue noise mask serving as a base of a dither matrix used for binarization or multi-level conversion. In addition, the present invention relates to a printer, and more particularly, to a dither creating apparatus and a creating method capable of efficiently creating an optimal blue noise mask, and a printer.

【0002】[0002]

【従来の技術】近年、電子計算機とカラープリンタの普
及に伴い、カラー画像を印刷したり、カラーコピーなど
色情報を扱うことが広く普及している。カラー画像を印
刷するプリンタの場合には、例えばRGB256階調の
元の色情報をドット濃度やドットサイズによる階調変化
で印刷可能な例えば5階調といった少ない階調の色情報
に変換しなければならない。
2. Description of the Related Art In recent years, with the spread of electronic computers and color printers, printing of color images and handling of color information such as color copies have become widespread. In the case of a printer that prints a color image, the original color information of, for example, 256 gradations of RGB must be converted into color information of a small number of gradations, for example, 5 gradations that can be printed by gradation change due to dot density and dot size. No.

【0003】またドットサイズが一定で白黒2階調しか
印刷できないプリンタの場合には、RGB256階調の
元の色情報を、白黒2階調に2値化しなければならな
い。
In the case of a printer having a fixed dot size and capable of printing only two gradations of black and white, the original color information of 256 gradations of RGB must be binarized into two gradations of black and white.

【0004】このような多値化または2値化のための階
調の変換はスクリーニングと呼ばれ、このための方法と
しては、ディザ法、濃度パターン法、画素配分法が知ら
れている。このうち広く行われているのはディザ法であ
る。ディザ法は条件付決定法と独立決定法に分けられる
が、条件付決定法の中の誤差拡散法は最も広く行われて
いるものの一つである。
[0004] Such gradation conversion for multi-level or binarization is called screening, and as a method for this, a dither method, a density pattern method, and a pixel distribution method are known. The dither method is widely used. The dither method is classified into a conditional decision method and an independent decision method. Among the conditional decision methods, the error diffusion method is one of the most widely used.

【0005】しかしながら、条件付決定方法は、エッジ
がシャープで階調性が良好であるが、計算に時間がかか
り、特有のテキスチャがでる問題がある。また独立決定
法は、計算時間が短くテキスチャが出にくいが、特有の
スクリーンが目立ち階調性もよくないという問題があ
る。
[0005] However, the conditional decision method has sharp edges and good gradation, but has a problem that it takes a long time to calculate and a unique texture appears. In addition, the independent determination method has a problem that the calculation time is short and the texture is difficult to appear, but the unique screen is conspicuous and the gradation property is not good.

【0006】このように入力階調を多値化又は2値化す
るスクリーニングでは、特にハイライト側に発生するテ
クスチャが画質低下の原因となる。そこで、ハイライト
側の画素配置を予めテクスチャの目立たないパターンと
しておく方法が提案されている。
As described above, in the screening in which the input gradation is multi-valued or binarized, a texture generated particularly on the highlight side causes a deterioration in image quality. Accordingly, a method has been proposed in which the pixel arrangement on the highlight side is a pattern in which the texture is not noticeable in advance.

【0007】この方法はブルーノイズマスク法と呼ば
れ、Ulichneyが「Digital Halftoning」で提案している
のが最初である。このブルーノイズマスク法でポイント
となるのは、初期のブルーノイズマスクを作る方法にあ
る。Ulichneyは、この作成にポイド・クラスタ法(Void
-Cluster法)を用いている。
[0007] This method is called a blue noise mask method, and is first proposed by Ulichney in "Digital Halftoning". The point of this blue noise mask method lies in the method of creating an initial blue noise mask. Ulichney uses the poid cluster method (Void
-Cluster method).

【0008】[0008]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のボイド・クラスタ法によるブルーノイズマス
クの生成には非常に時間がかかるという問題がある。他
にもブルーノイズマスクを生成する方法がいくつか提案
されているが、いずれもマスクを作成するのが非常に時
間がかかるという問題がある。
However, there is a problem that it takes a very long time to generate a blue noise mask by such a conventional void cluster method. Several other methods of generating a blue noise mask have been proposed, but all have the problem that it takes a very long time to create the mask.

【0009】本発明は、ハイライト部分にテクスチャを
生じない最適なブルーノイズマクスを効率良く短時間で
作成可能なディザ作成装置及び方法並びにプリンタを提
供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a dither creation apparatus, a method and a printer capable of efficiently creating an optimum blue noise mask which does not cause texture in a highlight portion in a short time.

【0010】[0010]

【課題を解決するための手段】図1は本発明の原理説明
図である。本発明は、(128×128)画素や(25
6×256)画素といった縦横サイズの大きな画像を構
成する各画素の多値階調信号を入力して2値化階調信号
又は他の多値化階調信号に変換するディザマトリクスを
ブルーノイズマスクに基づいて生成するディザ作成装置
を対象とする。
FIG. 1 is a diagram illustrating the principle of the present invention. The present invention uses (128 × 128) pixels and (25
A dither matrix for inputting a multi-level gray scale signal of each pixel constituting a large vertical and horizontal size image such as a 6 × 256) pixel and converting it into a binary gray scale signal or another multi-level gray scale signal is a blue noise mask. It is intended for a dither generation device that generates a dither on the basis of.

【0011】このようなディザ作成装置につき、本発明
は、ハイライト側の所定濃度に対応した初期ディザマト
リクス16を設定する初期ディザマトリクス設定部10
と、初期ディザマトリクス16を元に現在配置されてい
る画素から最も遠くにある空隙位置を捜して全画素を順
番に配置した配列26をブルーノイズマクスとして生成
する配列生成部12とを備えたことを特徴とする。
With respect to such a dither creating apparatus, the present invention provides an initial dither matrix setting section 10 for setting an initial dither matrix 16 corresponding to a predetermined density on the highlight side.
And an array generation unit 12 that searches for a gap position furthest from the currently arranged pixels based on the initial dither matrix 16 and generates an array 26 in which all pixels are arranged in order as a blue noise mask. It is characterized by.

【0012】このように本発明では、初期ディザマスリ
クスを作成し、それを元にブルーノイズマスクを生成し
ていため、ボイド・クラスタ法などに比べて短時間でブ
ルーノイズマスクを作成することができる。そして、こ
のブルーノイズマクスに基づいて、ハイライト部分でテ
クスチャのない入力画像を2値化又は多値化するディザ
マトリクスを高速に作成できる。
As described above, according to the present invention, since the initial dither matrix is generated and the blue noise mask is generated based on the initial dither matrix, the blue noise mask can be generated in a shorter time than in the void cluster method or the like. it can. Then, based on the blue noise max, a dither matrix for binarizing or multi-leveling an input image without a texture in a highlight portion can be created at high speed.

【0013】初期デッザマトリクス設定部10は、ハイ
ライト側の所定濃度に対応して画素がほぼ正三角形に並
ぶように配置した初期ディザマトリクス16を設定す
る。この初期ディザマスリクス16は、ブルーノイズマ
スクの画素配置の計算(ポテンシャルマトリクスの計
算)の基礎となる画素配置を規定するものである。
The initial dither matrix setting section 10 sets an initial dither matrix 16 in which pixels are arranged in a substantially equilateral triangle corresponding to a predetermined density on the highlight side. The initial dither matrix 16 defines a pixel arrangement serving as a basis for calculating the pixel arrangement of the blue noise mask (calculating the potential matrix).

【0014】本願発明者等が人間の目に均一に見えるパ
ターンを検証したところ、ぼぼ三角形に画素が並んでい
ると均一に見えることが判明した。これに対し画素が正
方形に近い形に並ぶと、縦方向と横方向の方向性が目に
つき、均一に見えない。そこで本発明にあっては、初期
ディザマトリクス16として、画素がほぼ正三角形に並
ぶようにパターン配置する。
When the inventors of the present invention examined a pattern that looks uniform to the human eye, it was found that if the pixels were arranged in a roughly triangular shape, it would look uniform. On the other hand, when the pixels are arranged in a shape close to a square, the directionality in the vertical direction and the horizontal direction is noticeable, and the pixels do not look uniform. Therefore, in the present invention, the initial dither matrix 16 is arranged in a pattern such that the pixels are arranged substantially in an equilateral triangle.

【0015】また初期ディザマトリクス設定部10は、
ハイライト側の所定濃度に対応して画素を正三角形に配
置する際に、乱数を使用して画素の配置位置を1画素程
度の範囲で動かして配置する。この正三角形を構成する
画素の乱数による移動で形をくずし、これによって画素
を配置する空隙を捜すためのポテンシャル計算で、ポテ
ンシャルが最大となる複数の位置が正三角形の画素配置
で生ずることを防いでいる。
The initial dither matrix setting unit 10
When arranging the pixels in an equilateral triangle corresponding to the predetermined density on the highlight side, the arrangement position of the pixels is moved using a random number within a range of about one pixel. The movement of the pixels constituting the equilateral triangle by random numbers causes the shape to be broken, thereby preventing a plurality of positions where the potential becomes maximum from being generated in the equilateral triangle pixel arrangement in the potential calculation for searching for the void where the pixels are arranged. In.

【0016】配列生成部12は、初期ディザマトリクス
16の全画素を対象に所定位置を基準に最も遠い画素か
ら順番に選択して配列26に画素を格納する。続いて初
期ディザマトリクス16の全画素に基づきポテンシャル
カーブに従ったポテンシャルマトリクスを作成し、現在
配置した画素から最も遠くにあるポテンシャルが最大と
なる空隙の位置を捜し出して画素を配置し、画素配置後
にポテンシャルマトリクスを更新する処理を繰り返す。
The array generation unit 12 selects all the pixels of the initial dither matrix 16 in order from the farthest pixel based on a predetermined position and stores the pixels in the array 26. Subsequently, a potential matrix according to the potential curve is created based on all the pixels of the initial dither matrix 16, and the position of the gap where the potential farthest from the currently arranged pixel is maximized is located to arrange the pixels. The process of updating the potential matrix is repeated.

【0017】配列生成部12は、ポテンシャルカーブと
してガウシアン分布(ガウス分布)を用いる。ガウシア
ン分布は、画素を配置した着目点で0.0となり、無限
遠で1.0となる関数であり、これ以外の同様な関数で
もよい。
The array generator 12 uses a Gaussian distribution (Gaussian distribution) as a potential curve. The Gaussian distribution is a function that becomes 0.0 at the point of interest where pixels are arranged and becomes 1.0 at infinity, and may be another similar function.

【0018】配列生成部12は、新たに画素を配置する
毎に、前回のポテンシャルマトリクスに配置画素のポテ
ンシャルマトリクスを乗算してポテンシャルマトリクス
を更新する。
Each time a new pixel is arranged, the array generation unit 12 updates the potential matrix by multiplying the previous potential matrix by the potential matrix of the arranged pixel.

【0019】配列生成部12は、画素を配置する空隙の
選択に優先度を設ける。例えば配列生成部12は、画素
を配置する空隙の選択に市松状マトリクスに従った優先
度を設ける。このため優先度マトリクスによる画素の配
置は、例えば市松模様で指定される第1優先度の位置に
画素を全て配置した後、市松模様で指定された第2優先
度をもつ残りの位置に画素を配置する。
The array generation unit 12 gives a priority to the selection of the gap in which the pixels are arranged. For example, the array generation unit 12 sets a priority according to a checkerboard matrix in selecting a gap in which pixels are arranged. For this reason, the arrangement of the pixels by the priority matrix is such that, for example, after all the pixels are arranged at the position of the first priority designated by the checkered pattern, the pixels are arranged at the remaining positions having the second priority designated by the checkered pattern. Deploy.

【0020】このようにポテンシャルマトリクスに従っ
て画素を配置する位置に優先度を持たせることで、ハイ
ライト部分ての粒状感の低減と、中濃度や高濃度に移行
する部分でのざらつき感を低減する。
By giving priority to the positions where pixels are arranged in accordance with the potential matrix as described above, the graininess at the highlight portion is reduced, and the roughness at the transition to the medium density or high density is reduced. .

【0021】配列生成部12は、ポテンシャルマトリク
スの更新時に、ポテンシャルの状態に応じてポテンシャ
ルマトリクス全体を構築しなおす。例えば配列生成部1
2は、規定値よりポテンシャルマトリクスの最大値が小
さくなった場合、規定値を越えるようにポテンシャルマ
トリクス全体を構築しなおす。
When updating the potential matrix, the array generating section 12 reconstructs the entire potential matrix according to the state of the potential. For example, array generator 1
2, when the maximum value of the potential matrix becomes smaller than the specified value, the entire potential matrix is reconstructed so as to exceed the specified value.

【0022】これはポテンシャルマトリクスの更新のた
めに乗算を繰り返すと、ポテンシャルレベルが全体的に
低下して行き、計算精度を下回ってしまう。そこでポテ
ンシャルの最大値が規定値以下になったとき、ポテイン
シャルの最大値が1になるように全体を引き伸ばして計
算精度を高める。
In this case, if the multiplication is repeated for updating the potential matrix, the potential level decreases as a whole, and the calculation accuracy falls below. Therefore, when the maximum value of the potential becomes equal to or less than the specified value, the whole is stretched so that the maximum value of the potential becomes 1, thereby improving the calculation accuracy.

【0023】配列生成部12は、ポテンシャルマトリク
スの更新にテンプレートを用いる。本発明は、画素配置
毎にポテンシャルマトリクスを毎回計算することを基本
とするが、配置した画素数毎に予めポテンシャルカーブ
を計算したテンプレートを作成しておき、このテンプレ
ートを使用することで高速化ができる。
The array generator 12 uses a template for updating the potential matrix. The present invention is based on calculating the potential matrix each time for each pixel arrangement. However, a template in which a potential curve is calculated in advance for each number of arranged pixels is created, and the speed is increased by using this template. it can.

【0024】本発明のディザ生成装置は、更に、生成さ
れたブルーノイズマスクの配列に基づいて入力階調値に
対応したディザマトリクスを生成するディザ生成部14
を設ける。
The dither generator of the present invention further includes a dither generator 14 for generating a dither matrix corresponding to the input gradation value based on the generated blue noise mask array.
Is provided.

【0025】このディザ生成部14は、出力機器が白黒
2階調の場合、指定した入力階調値のフル階調値に対す
る割合から配列の中の画素配置数を求め、配列の先頭か
ら画素配置数までの画素を黒画素、残りを白画素とした
2値化ディザマトリクスを生成する。
When the output device has two gray levels, the dither generator 14 calculates the number of pixels in the array from the ratio of the specified input gray level to the full gray level, and starts the pixel allocation from the top of the array. A binary dither matrix in which up to a number of pixels are black pixels and the remaining pixels are white pixels is generated.

【0026】またディザ生成部14は、出力機器が例え
は階調5レベルといような多値階調の場合、指定した入
力階調値のフル階調値に対する割合に基づき所定の多値
レベルをもつ出力階調値を算出して上下に位置する高レ
ベル階調値と低レベル階調値を求め、出力階調値から下
レベル階調値を差し引いた2つの出力画素値間の比率に
応じて配列の中の画素配置数を求め、配列の先頭から画
素配置数までの画素を高レベル出力階調値の画素、残り
を前記低レベル出力階値の画素とした多値化ディザマト
リクスを生成する。
When the output device has a multi-valued gradation such as 5 gradations, the dither generating section 14 generates a predetermined multi-valued level based on the ratio of the designated input gradation value to the full gradation value. Calculate the output gradation value of the image, find the upper and lower high-level gradation values, and calculate the output gradation value according to the ratio between the two output pixel values obtained by subtracting the lower-level gradation value from the output gradation value. To obtain a multi-valued dither matrix in which pixels from the top of the array to the number of pixels arranged are pixels of a high-level output gradation value, and the rest are pixels of the low-level output floor value. I do.

【0027】例えば、指定した入力階調値108のフル
階調値256に対する割合(108/256)に基づ
き、5レベルをもつ出力階調値2.12を算出して上下
に位置する高レベル階調値3と低レベル階調値3を求
め、出力階調値2.12から下レベル階調値2を差し引
いた2つの出力画素値間の比率0.12に応じて配列の
中の画素配置数を求め、配列の先頭から画素配置数まで
の画素を3レベル出力階調値の画素、残りを2レベル出
力階値の画素とした多値化ディザマトリクスを生成す
る。
For example, based on the ratio (108/256) of the designated input tone value 108 to the full tone value 256 (108/256), an output tone value 2.12 having five levels is calculated, and the upper and lower high-level Tone value 3 and low level tone value 3 are obtained, and pixel arrangement in the array according to the ratio 0.12 between two output pixel values obtained by subtracting lower level tone value 2 from output tone value 2.12. Then, a multi-valued dither matrix is generated in which the pixels from the top of the array to the number of arranged pixels are pixels having three-level output gradation values, and the remaining pixels are pixels having two-level output floor values.

【0028】また本発明は、画像を構成する各画素の多
値階調信号を入力して2値化階調信号又は他の多値化階
調信号に変換するディザマトリクスをブルーノイズマス
クに基づいて作成するディザ作成方法を提供するもので
あり、ハイライト側の所定濃度に対応した初期ディザマ
トリクス16を設定する初期ディザマトリマクス設定過
程と、初期ディザマトリクス16を元に現在配置されて
いる画素から最も遠くにある空隙位置を捜して全画素を
順番に配置した配列26をブルーノイズマスクとして生
成する画素配置生成過程と、を備えたことを特徴とす
る。
Further, according to the present invention, a dither matrix for inputting a multi-level gradation signal of each pixel constituting an image and converting it into a binarization gradation signal or another multi-level gradation signal is based on a blue noise mask. An initial dither matrix setting process for setting an initial dither matrix 16 corresponding to a predetermined density on the highlight side, and a currently arranged pixel based on the initial dither matrix 16. A pixel arrangement generating step of generating, as a blue noise mask, an array 26 in which all the pixels are sequentially arranged by searching for a gap position furthest from the pixel.

【0029】このディザ作成方法における場合の詳細
は、装置構成の場合と基本的に同じになる。
The details of the dither generation method are basically the same as those of the device configuration.

【0030】更に本発明はプリンタを提供するものであ
り、本発明のプリンタは、ハイライト側の所定濃度に対
応した初期ディザマトリクスを元に、現在配置されてい
る画素から最も遠くにある空隙位置を捜して全画素を順
番に配置したブルーノイズマスクを用いて作成したディ
ザマトリクスを記憶した記憶部と、ディザマトリクスに
より画素の多値階調信号を2値値あるいは他の多値階調
信号に変換する変換部とを備えたことを特徴とする。プ
リンタにおける詳細は、装置構成の場合と基本的に同じ
になる。
Further, the present invention provides a printer, and the printer according to the present invention uses the initial dither matrix corresponding to the predetermined density on the highlight side to determine the position of the gap farthest from the currently arranged pixel. And a storage unit storing a dither matrix created by using a blue noise mask in which all pixels are sequentially arranged, and converting the multi-valued gradation signal of the pixel into a binary value or another multi-valued gradation signal by the dither matrix. And a conversion unit for converting. The details of the printer are basically the same as those of the device configuration.

【0031】[0031]

【発明の実施の形態】図2は、本発明によるディザ作成
装置の機能構成のブロック図である。
FIG. 2 is a block diagram showing a functional configuration of a dither generating apparatus according to the present invention.

【0032】図2において、本発明のディザ作成装置
は、初期ディザマトリクス設定部10、ブルーノイズマ
スクとしての配列を生成する配列生成部12、及びディ
ザマトリクスを生成するディザ生成部14で構成され
る。
In FIG. 2, the dither generating apparatus of the present invention comprises an initial dither matrix setting unit 10, an array generating unit 12 for generating an array as a blue noise mask, and a dither generating unit 14 for generating a dither matrix. .

【0033】初期ディザマトリクス設定部10は、ター
ゲット画像のハイライト側の所定濃度に対応した初期デ
ィザマトリクス16を設定する。図3は、図2の初期デ
ィザマトリクス設定部10で設定される初期ディザマト
リクス16の一例である。この初期ディザマトリクス1
6は、例えば(縦×横)=(256×256)画素のマ
トリクスで構成されている。
The initial dither matrix setting section 10 sets an initial dither matrix 16 corresponding to a predetermined density on the highlight side of the target image. FIG. 3 is an example of the initial dither matrix 16 set by the initial dither matrix setting unit 10 in FIG. This initial dither matrix 1
6 is composed of a matrix of (vertical × horizontal) = (256 × 256) pixels, for example.

【0034】ここでハイライト側の濃度として例えばフ
ル階調で256階調を例にとると、ハイライト階調値
(1/256)に対応する濃度に対応した初期ディザマ
トリクス16を作成している。この初期ディザマトリク
ス16の画素配置は、図4に取り出して示すように3つ
の画素16−1,16−2,16−3を正三角形に配置
した画素パターンを繰り返し配置することを基本として
いる。
If the density on the highlight side is, for example, 256 gradations at full gradation, an initial dither matrix 16 corresponding to the density corresponding to the highlight gradation value (1/256) is created. I have. The pixel arrangement of the initial dither matrix 16 is based on repeating the pixel pattern in which three pixels 16-1, 16-2, and 16-3 are arranged in an equilateral triangle as shown in FIG.

【0035】この初期ディザマトリクス16は、図2の
配列生成部12における画素配置のためのポテンシャル
マトリクスの計算の基礎となるハイライト側の画素配置
を規定するものである。本願発明者らが考察したところ
によれば、人間の目に均一に見えるパターンを調べたと
ころ、ほぼ三角形に画素が並んでいる場合に均一に見え
ることが判明した。
The initial dither matrix 16 defines the pixel arrangement on the highlight side, which is the basis of the calculation of the potential matrix for the pixel arrangement in the array generation unit 12 in FIG. According to the study by the inventors of the present application, when a pattern that looks uniform to human eyes is examined, it is found that the pattern looks uniform when pixels are arranged in a substantially triangular shape.

【0036】これに対し画素を正方形に近い形に並べる
と、縦方向及び横方向の方向性が目に付くため、正三角
形に配置した場合に比べると見た目が均一でない。この
ような考察に基づき本発明にあっては、図4の正三角形
に3つの画素16−1,16−2,16−3を配置した
パターンを基本パターンとして、これを図3のようにハ
イライト側の所定濃度に対応して配置することで初期デ
ィザマトリクス16を設定している。
On the other hand, when the pixels are arranged in a shape close to a square, the directionality in the vertical and horizontal directions is conspicuous, so that the appearance is not uniform as compared with the case where the pixels are arranged in an equilateral triangle. Based on such considerations, in the present invention, a pattern in which three pixels 16-1, 16-2, and 16-3 are arranged in an equilateral triangle in FIG. The initial dither matrix 16 is set by arranging it corresponding to the predetermined density on the light side.

【0037】ここで図4の正三角形の画素16−1〜1
6−3の配置における正三角形の一辺の長さaは、次の
ようにして算出される。まず初期ディザマトリクス16
を作成するターゲット画像となるハイライト側の所定濃
度に対応したターゲット反射率を決める。
Here, the pixels 16-1 to 16-1 of an equilateral triangle in FIG.
The length a of one side of the equilateral triangle in the arrangement of 6-3 is calculated as follows. First, the initial dither matrix 16
The target reflectance corresponding to the predetermined density on the highlight side, which is the target image for which is created, is determined.

【0038】本発明の実施形態にあっては、ターゲット
画像のハイライト側の階調値として例えば(1/25
6)を設定する。この階調値(1/256)は、反射率
で表すと0.9961となる。また反射率と濃度との間
には、反射率が10のマイナス濃度乗で与えられること
から、ターゲット画像の反射率は1.7×10-3で与え
られる。
In the embodiment of the present invention, for example, (1/25)
6) is set. This gradation value (1/256) is 0.9961 in terms of reflectance. Further, between the reflectance and the density, since the reflectance is given by 10 to the power of minus density, the reflectance of the target image is given by 1.7 × 10 −3.

【0039】このようにしてターゲット反射率0.99
61が指定されたならば、図4の画素16−1〜16−
3で形成される正三角形の面積Sを次式で算出する。
Thus, the target reflectance is 0.99.
If 61 is designated, the pixels 16-1 to 16- in FIG.
The area S of the equilateral triangle formed by 3 is calculated by the following equation.

【0040】[0040]

【数1】 (Equation 1)

【0041】この(1)式から明らかなように、ターゲ
ット画像が明るくなって反射率が増加すると(1に近付
くと)面積Sは増加し、逆にターゲット画像が暗くなっ
て反射率が低下すると面積Sは小さくなる関係にある。
As is apparent from the equation (1), when the target image becomes bright and the reflectance increases (approaching 1), the area S increases. Conversely, when the target image becomes dark and the reflectance decreases, the area S increases. The area S has a relationship of becoming smaller.

【0042】このようにして画素16−1〜16−3を
配置する正三角形の面積Sが算出できたならば、次式に
より一辺の長さaを算出すればよい。
If the area S of the equilateral triangle in which the pixels 16-1 to 16-3 are arranged can be calculated in this way, the length a of one side may be calculated by the following equation.

【0043】 a=√(2S/sin60°) (2) このようにして図4の3つの画素16−1〜16−3を
配置した正三角形の基本パターンを図3のように繰り返
し配列する場合、左上隅の画素36を基準として、乱数
により画素を配置する位置を1画素程度動かして配置す
る。このような乱数に従った1画素程度の配置位置の移
動によって、図3の初期ディザマトリクス16上におけ
る三角形の配置パターンは、図4に示した正三角形とは
異なり、正三角形の頂点位置より乱数に従った方向にず
れたほぼ正三角形のパターンとして繰り返し配置され
る。
A = √ (2S / sin60 °) (2) A case where the basic pattern of an equilateral triangle in which the three pixels 16-1 to 16-3 of FIG. 4 are arranged as described above is repeatedly arranged as shown in FIG. The position at which the pixel is arranged is moved by about one pixel based on the pixel 36 at the upper left corner by random numbers. By moving the arrangement position of about one pixel in accordance with such a random number, the arrangement pattern of the triangle on the initial dither matrix 16 in FIG. 3 is different from the equilateral triangle shown in FIG. Are repeatedly arranged as a substantially equilateral triangle pattern shifted in a direction according to

【0044】このように正三角形のパターンを実際に配
置する際に乱数で1画素程度ずらすのは、図2の配列生
成部12で行われるポテンシャルマトリクスの計算にお
いて、正三角形配置ではポテンシャルの最大値の位置が
複数発生してしまうことから、これを回避するために正
三角形から1画素程度ずらした位置に配置し、ポテンシ
ャルの最大値の位置がポテンシャルマトリクス上で常に
一点で生ずるように、ほぼ正三角形の配置としている。
As described above, the reason why a pixel is shifted by about one random number when a pattern of an equilateral triangle is actually arranged is that, in the calculation of the potential matrix performed by the array generator 12 in FIG. In order to avoid this, a plurality of positions are arranged at positions shifted by about one pixel from the equilateral triangle, so that the position of the maximum value of the potential always occurs at one point on the potential matrix. It has a triangular arrangement.

【0045】図5は、本発明で使用する初期ディザマト
リクス16の他の実施形態であり、この実施形態にあっ
ては、図4の3つの画素16−1〜16−3を正三角形
に配置した基本パターンを右下斜め方向に繰り返し配列
している。この場合にも図3の実施例と同様、正三角形
の画素を配置する際に左上隅の画素36を基準に画素を
1画素程度、乱数に従った位置に動かして配置してい
る。
FIG. 5 shows another embodiment of the initial dither matrix 16 used in the present invention. In this embodiment, the three pixels 16-1 to 16-3 of FIG. 4 are arranged in an equilateral triangle. These basic patterns are repeatedly arranged in the lower right diagonal direction. Also in this case, similar to the embodiment of FIG. 3, when arranging the pixels of the equilateral triangle, the pixels are moved by about one pixel based on the pixel 36 at the upper left corner to the position according to the random number.

【0046】再び図2を参照するに、配列生成部12
は、初期ディザマトリクス設定部10で設定した初期デ
ィザマトリクス16に基づいて、マトリクスサイズに対
応した(256×256)画素の配列26、即ちブルー
ノイズマスクを生成する。この配列生成部12における
ブルーノイズマスクとしての配列の生成26は、初期デ
ィザマトリクス16を基に、現在置かれている画素から
最も遠い位置に画素を置くことを基本として行う。
Referring back to FIG. 2, the array generation unit 12
Generates an array 26 of (256 × 256) pixels corresponding to the matrix size, that is, a blue noise mask, based on the initial dither matrix 16 set by the initial dither matrix setting unit 10. The generation 26 of the array as the blue noise mask in the array generation unit 12 is basically performed based on the initial dither matrix 16 by arranging the pixel at the position farthest from the currently laid pixel.

【0047】このための計算では、本発明ではガウス分
布(ガウシアン分布)を持ったポテンシャルカーブを使
用し、最もポテンシャルの大きいところの位置を探し
て、そこに画素を配置する。
In the calculation for this, in the present invention, a potential curve having a Gaussian distribution (Gaussian distribution) is used, a position where the potential is greatest is searched for, and pixels are arranged there.

【0048】このため配列生成部12は、ポテンシャル
更新部18、ポテンシャルマトリクス格納部20、最大
値検出部22、及びブルーノイズマスクとしての配列2
6を格納するディザ配列格納部24で構成される。
For this reason, the array generation unit 12 includes a potential update unit 18, a potential matrix storage unit 20, a maximum value detection unit 22, and an array 2 as a blue noise mask.
6 is stored in a dither array storage unit 24 for storing the number 6 in the memory.

【0049】ポテンシャル更新部18は、まず初期ディ
ザマトリクス16の画素を対象に配列26に画素を格納
する。図3に示した初期ディザマトリクス16にあって
は、階調値(1/256)であることから、初期ディザ
マトリクス16にほぼ正三角形に配置された画素の数は
例えば256個となっている。
The potential updating unit 18 first stores the pixels in the array 26 for the pixels of the initial dither matrix 16. In the initial dither matrix 16 shown in FIG. 3, since the gradation value is 1/256, the number of pixels arranged in a substantially regular triangle in the initial dither matrix 16 is, for example, 256. .

【0050】そこでポテンシャル更新部18にあって
は、図3の左上隅の画素36を基準とし、初期ディザマ
トリクス16の全画素を対象に最も遠いものから選択
し、ディザ格納部24の配列26に選択した画素を配置
する。
Therefore, in the potential updating unit 18, all the pixels of the initial dither matrix 16 are selected from the farthest pixel with reference to the pixel 36 at the upper left corner of FIG. Arrange the selected pixels.

【0051】0こで配列26に格納される画素は、画素
の座標位置を示す情報であり、図3の横方向の画素アド
レスをi=0〜255、縦方向の画素アドレスをj=0
〜255とすると、配列26には選択された画素の位置
(i,j)が格納される。
The pixel stored in the array 26 is information indicating the coordinate position of the pixel. The horizontal pixel address in FIG. 3 is i = 0 to 255, and the vertical pixel address is j = 0.
If it is assumed to be 255, the array 26 stores the position (i, j) of the selected pixel.

【0052】このため入力画像を2値化する際に、もし
入力画像が均一な階調値(1/256)を持っていた場
合には、ブルーノイズマスクとしての配列256から生
成したディザマトリクスを用いた組織ディザによる変換
で、図3の初期ディザマトリクス16と同じほぼ正三角
形の繰り返しパターンが変換パターンとして得られるこ
とになる。
Therefore, when binarizing the input image, if the input image has a uniform gradation value (1/256), the dither matrix generated from the array 256 as a blue noise mask is used. By the conversion using the used tissue dither, a repetition pattern of substantially the same triangle as the initial dither matrix 16 of FIG. 3 is obtained as a conversion pattern.

【0053】ポテンシャル更新部18は、初期ディザマ
トリクス16に基づく画素の配列26への配置が済む
と、初期ディザマトリクス16に配置している全画素に
ついて先頭から順番に画素配置ごとにガウス分布を持つ
ポテンシャルカーブを適用した計算によりポテンシャル
マトリクスを生成する。
After the arrangement of the pixels in the array 26 based on the initial dither matrix 16 is completed, the potential updating section 18 has a Gaussian distribution for each pixel arrangement in order from the top for all the pixels arranged in the initial dither matrix 16. A potential matrix is generated by calculation using a potential curve.

【0054】ポテンシャルカーブの計算は、図6(A)
の(256×256)画素のマトリクス空間38(二次
元)を、まず上下を繋いだ図6(B)のような円筒形の
マトリクス空間38に変換した後、更に左右をつなげた
図6(C)のトーラス状のマトリクス空間38の形とし
て扱う。
The calculation of the potential curve is shown in FIG.
First, the matrix space 38 (two-dimensional) of (256 × 256) pixels is converted into a cylindrical matrix space 38 as shown in FIG. ) Is handled as the shape of the torus-like matrix space 38.

【0055】このように平面的なマトリクス空間の上下
及び左右を閉じた図6(C)のトーラス状のマトリクス
空間38としてポテンシャルカーブを計算する理由は、
本発明によって作成されるディザマトリクスが図3に示
した初期ディザマトリクス16の周期で繰り返されるこ
とから、この繰り返し単位に閉じた空間でポテンシャル
カーブを計算するためである。
The reason why the potential curve is calculated as the torus-shaped matrix space 38 of FIG. 6C in which the upper and lower sides and the left and right sides of the planar matrix space are closed is as follows.
Since the dither matrix created by the present invention is repeated at the cycle of the initial dither matrix 16 shown in FIG. 3, the potential curve is calculated in a space closed to this repeating unit.

【0056】このため図2のポテンシャル更新部18に
あっては、図6(C)のトーラス状のマトリクス空間3
8に初期ディザマトリクス16からディザ配列格納部2
4の配列26の先頭位置に格納した画素を順番に取り出
して1つずつ配置しながらポテンシャルマトリクスを計
算する。
Therefore, in the potential updating unit 18 shown in FIG. 2, the torus-like matrix space 3 shown in FIG.
8 to the dither array storage 2 from the initial dither matrix 16
The potential matrix is calculated while sequentially taking out the pixels stored at the head position of the array 26 of No. 4 and arranging them one by one.

【0057】図7はマトリクス空間に画素を1つ配置し
た時のガウス分布の三次元形状である。図7の三次元空
間はポテンシャルマトリクス40として定義されてお
り、画素配置点42−1に画素を配置してガウス分布の
ポテンシャルカーブの三次元形状を求めると、画素配置
点42−1でポテンシャルが最小値となり、その外側に
行くに従ってポテンシャルが初期位置に至るポテンシャ
ルのガウス分布の形状となる。
FIG. 7 shows a three-dimensional Gaussian distribution when one pixel is arranged in the matrix space. The three-dimensional space in FIG. 7 is defined as a potential matrix 40. When a pixel is arranged at a pixel arrangement point 42-1 and a three-dimensional shape of a Gaussian potential curve is obtained, a potential is obtained at the pixel arrangement point 42-1. The potential becomes the minimum value, and the potential becomes the shape of a Gaussian distribution of the potential that reaches the initial position as going outward.

【0058】これはガウス分布を用いたポテンシャルカ
ーブが、画素配置点42−1となる着目点で0.0、無
限遠点で1.0となる関数であることによる。
This is because the potential curve using the Gaussian distribution is a function that is 0.0 at the point of interest at the pixel arrangement point 42-1 and 1.0 at the point at infinity.

【0059】図8は、図7に続いて画素配置点42−2
に2つ目の画素を配置した場合のポテンシャルマトリク
ス40の三次元形状である。図8の画素配置点42−
1,42−2のそれぞれに画素を配置した時のポテンシ
ャルマトリクス40の算出は、画素配置点42−1に画
素を配置した時の図7のポテンシャルマトリクス40
に、図8の画素配置点42−2に画素をおいた時のポテ
ンシャルマトリクスを乗算することで得られる。
FIG. 8 shows a pixel arrangement point 42-2 following FIG.
3 shows a three-dimensional shape of the potential matrix 40 when a second pixel is arranged. The pixel arrangement point 42- in FIG.
The calculation of the potential matrix 40 when the pixels are arranged at each of the pixels 1 and 42-2 is performed by calculating the potential matrix 40 of FIG. 7 when the pixels are arranged at the pixel arrangement point 42-1.
Is multiplied by a potential matrix obtained when a pixel is placed at the pixel arrangement point 42-2 in FIG.

【0060】このようなマトリクス空間に対する画素の
配置ごとのポテンシャルマトリクスの更新によって、図
3の初期ディザマトリクスの全画素を配置した状態での
ポテンシャルマトリクスをポテンシャルマトリクス格納
部20に生成する。
By updating the potential matrix for each pixel arrangement in such a matrix space, a potential matrix in a state where all the pixels of the initial dither matrix of FIG. 3 are arranged is generated in the potential matrix storage unit 20.

【0061】続いてポテンシャル更新部18は、初期デ
ィザマトリクス16に配置されていない残りの画素の配
列26に対する配置をポテンシャルマトリクスを使用し
て行う。
Subsequently, the potential updating unit 18 uses the potential matrix to arrange the remaining pixels not arranged in the initial dither matrix 16 with respect to the array 26.

【0062】まず現在ポテンシャルマトリクス格納部2
0に格納されているポテンシャルマトリクスを対象に、
最大値検出部22でポテンシャルが最大値となる空隙の
位置を検出する。このポテンシャルマトリクス上でポテ
ンシャルが最大となる位置が、現在配置されている画素
から最も遠い距離にある空隙の位置を与える。
First, the current potential matrix storage unit 2
For the potential matrix stored in 0,
The maximum value detection unit 22 detects the position of the gap where the potential becomes the maximum value. The position where the potential becomes maximum on this potential matrix gives the position of the gap furthest from the currently arranged pixel.

【0063】したがって最大値検出部22で検出された
ポテンシャルの最大値の位置の画素の配置アドレスを、
ディザ配列格納部24の配列26に格納する。このよう
にして新たな画素を配置したならば、ポテンシャル更新
部18で、それまでのポテンシャルマトリクスに新たに
配置した1画素のポテンシャルカーブに従ったポテンシ
ャルマトリクスを乗算してポテンシャルマトリクス格納
部20の更新を行う。
Therefore, the arrangement address of the pixel at the position of the maximum value of the potential detected by the maximum value detecting section 22 is
It is stored in the array 26 of the dither array storage 24. When a new pixel is arranged in this way, the potential updating section 18 updates the potential matrix storage section 20 by multiplying the current potential matrix by a potential matrix according to the potential curve of the newly arranged one pixel. I do.

【0064】そして、このような画素の配置とポテンシ
ャルマトリクスの更新を(256×256)画素の最終
画素まで繰り返す。こうして得られたディザ配列格納部
24の配列26が、ディザマトリクスを作る際の基とな
るブルーノイズマスクとして生成される。
The arrangement of the pixels and the updating of the potential matrix are repeated until the last pixel of (256 × 256) pixels. The array 26 of the dither array storage unit 24 obtained in this manner is generated as a blue noise mask that is used as a basis for creating a dither matrix.

【0065】次に図2のディザ生成部14が配列生成部
12で作成された(256×256)画素分の画素アド
レスを格納した配列26に基づいてディザマトリクスを
作成する。このディザ作成部14におけるディザマトリ
クスの作成は、2値化ディザマトリクスの作成と多値化
ディザマトリクスの作成に分けることができる。
Next, the dither generator 14 of FIG. 2 generates a dither matrix based on the array 26 storing the pixel addresses of (256 × 256) pixels created by the array generator 12. The creation of the dither matrix in the dither creation unit 14 can be divided into creation of a binarized dither matrix and creation of a multi-valued dither matrix.

【0066】2値化ディザマトリクスは2値化ディザマ
トリクス生成部28と2値化ディザマトリクス格納部3
0で生成される。また多値化ディザマトリクスは多値化
ディザマトリクス生成部32と多値化ディザマトリクス
格納部34で生成される。
The binarized dither matrix includes a binarized dither matrix generator 28 and a binarized dither matrix storage 3
0 is generated. The multi-valued dither matrix is generated by the multi-valued dither matrix generation unit 32 and the multi-valued dither matrix storage unit 34.

【0067】2値化ディザマトリクスは、例えばRGB
の256階調の入力画像をプリンタ等の出力機器の階調
表現である白黒2値化信号に変換するためのディザマト
リクスを作り出す。
The binarized dither matrix is, for example, RGB
A dither matrix for converting the input image of 256 gradations into a black and white binary signal which is a gradation expression of an output device such as a printer is created.

【0068】2値化ディザマトリクス生成部28による
2値化ディザマトリクスの生成法は、入力画像の階調値
Aを例えばA=0〜255とすると、入力階調値0〜2
55ごとにディザマトリクスを生成して格納する。この
2値化ディザマトリクス及び多値化ディザマトリクスの
生成の詳細については後の説明で明らかにする。
The method of generating a binarized dither matrix by the binarized dither matrix generating section 28 is as follows. When the gradation value A of the input image is, for example, A = 0 to 255, the input gradation values 0 to 2
A dither matrix is generated for each 55 and stored. Details of the generation of the binarized dither matrix and the multi-valued dither matrix will be described later.

【0069】ディザ生成部14で生成された2値化ディ
ザマトリクスは白黒2階調を表現可能なプリンタ等に格
納され、組織ディザの手法によって例えばRGB256
階調の入力画像を白黒2階調の2値化画像に変換して印
刷する。
The binarized dither matrix generated by the dither generator 14 is stored in a printer or the like capable of expressing black and white two gradations.
The input image of gradation is converted into a binary image of black and white two gradations and printed.

【0070】またディザ生成部14で生成された多値化
ディザマトリクスは、多階調を表現可能なカラープリン
タに格納され、例えばYCMの256階調の入力画像の
それぞれを、カラープリンタで表現可能なYMCのそれ
ぞれ5階調(階調レベル5)の画像に組織ディザの手法
により変換し、カラー画像を印刷出力させる。
The multi-valued dither matrix generated by the dither generator 14 is stored in a color printer capable of expressing multiple gradations, and for example, each of the 256-level input image of YCM can be expressed by a color printer. Each of the YMCs is converted into an image of 5 gradations (gradation level 5) by the method of tissue dither, and a color image is printed out.

【0071】図9は、図2の装置によるディザ作成処理
のフローチャートである。図9において、まずステップ
S1で初期ディザマトリクス設定部10で設定した初期
ディザマトリクス16を入力する。この初期ディザマト
リクス16は、図4に示した基本的な正三角形のパター
ンを繰り返すものであることから、自動的に生成しても
よいし、オペレータが手作業で作成してもよい。
FIG. 9 is a flowchart of the dither creation processing by the apparatus of FIG. In FIG. 9, first, the initial dither matrix 16 set by the initial dither matrix setting unit 10 in step S1 is input. Since this initial dither matrix 16 repeats the basic regular triangular pattern shown in FIG. 4, it may be generated automatically or manually by an operator.

【0072】次にステップS2で、中身を空にした配置
としての配列26を作成する。次にステップS3で初期
ディザマトリクス16の左上隅の画素36を基準として
遠い画素の順に、ステップS2で準備した配列に先頭か
ら順に画素の位置アドレスを配置する。
Next, in step S2, an array 26 is created as an empty arrangement. Next, in step S3, the position addresses of the pixels are arranged in the array prepared in step S2 from the top in the order of pixels farthest from the pixel 36 at the upper left corner of the initial dither matrix 16 in order.

【0073】次にステップS4で、初期ディザマトリク
スの画素を図6(C)のようなトーラス状のマトリクス
空間に1つずつ配置しながらポテンシャルカーブを計算
することで、ポテンシャルマトリクスを作成する。次に
ステップS5で、初期ディザマトリクスの全画素の配置
で得られたポテンシャルマトリクスについてポテンシャ
ルが最大となる場所を検索し、ステップS6で、検索し
たポテンシャル最大となる場所の画素位置を配列に追加
する。
Next, in step S4, a potential matrix is created by calculating a potential curve while arranging pixels of the initial dither matrix one by one in a torus-like matrix space as shown in FIG. 6C. Next, in step S5, a position where the potential becomes maximum is searched for in the potential matrix obtained by arranging all the pixels of the initial dither matrix. In step S6, the searched pixel position where the potential becomes maximum is added to the array. .

【0074】続いてステップS7で全画素を配置したか
否かチェックし、全画素を配置していなければステップ
S8に戻り、新たに配置した画素のポテンシャルマトリ
クスをそれまでの画素配置で生成されているポテンシャ
ルマトリクスに乗算して更新し、再びステップS5に戻
り、更新されたポテンシャルマトリクスを対象にポテン
シャル最大の場所を検索する処理を繰り返す。
Subsequently, in step S7, it is checked whether or not all the pixels have been arranged. If all the pixels have not been arranged, the process returns to step S8, and the potential matrix of the newly arranged pixels is generated by the previous pixel arrangement. The updated potential matrix is multiplied and updated, and the process returns to step S5 again to repeat the process of searching the updated potential matrix for the location of the maximum potential.

【0075】そしてステップS7で全画素のポテンシャ
ルマトリクスに基づく配置が終了したならば、ステップ
S9で、生成された画素の配列(ブルーノイズマクス)
に基づき入力階調値分のディザマトリクスを作成する。
When the arrangement based on the potential matrix of all the pixels is completed in step S7, in step S9, the arrangement of the generated pixels (blue noise max)
A dither matrix corresponding to the input tone value is created based on.

【0076】図10は、図9のステップS9におけるデ
ィザマトリクス作成処理の内、図2のディザ生成部14
に設けている2値化ディザ生成部28による2値化ディ
ザ作成処理のフローチャートである。
FIG. 10 shows the dither matrix creation processing in step S9 in FIG.
9 is a flowchart of binarized dither generation processing by a binarized dither generation unit 28 provided in FIG.

【0077】この2値化ディザ作成処理は、ステップS
1で入力階調A=0〜255の初期値A=0を指定す
る。次にステップS2で入力階調Aに対応したブルーノ
イズマスクとしての配列26の中での画素配列数NBを
算出する。即ち画素配列数NBは NB=配列総数×(A/255) で求められる。
This binarized dither creation processing is performed in step S
1 designates an initial value A = 0 of the input gradation A = 0 to 255. Next, in step S2, the number of pixel arrays NB in the array 26 as the blue noise mask corresponding to the input gradation A is calculated. That is, the pixel array number NB is obtained by NB = total array number × (A / 255).

【0078】続いてステップS3でブルーノイズマスク
としての配列の先頭から算出したB番目までの画素アド
レスに黒画素を表すビット1を配置し、残りの画素位置
に白画素を表すビット0を格納したディザマトリクスを
作成する。
Subsequently, in step S3, bit 1 representing a black pixel is placed at the B-th pixel address calculated from the head of the array as a blue noise mask, and bit 0 representing a white pixel is stored in the remaining pixel positions. Create a dither matrix.

【0079】続いてステップS4で入力階調Aが最大値
256に達したか否かチェックし、達していなければス
テップS5で入力階調Aを1つインクリメントし、再び
ステップS2に戻り、次の入力階調Aについての2値化
ディザマトリクスを作成し、入力階調値A=256ま
で、この処理を繰り返す。
Subsequently, in step S4, it is checked whether or not the input tone A has reached the maximum value 256. If not, the input tone A is incremented by one in step S5, and the process returns to step S2. A binarized dither matrix for the input gradation A is created, and this processing is repeated until the input gradation value A = 256.

【0080】図11は、図9のステップS9のディザマ
トリクス作成における多値化ディザ作成処理のフローチ
ャートであり、図2のディザ生成部14に設けた多値化
ディザマトリクス生成部32により行われる処理であ
る。
FIG. 11 is a flowchart of the multi-valued dither creation process in the dither matrix creation in step S9 in FIG. 9, and is a process performed by the multi-valued dither matrix creation unit 32 provided in the dither creation unit 14 in FIG. It is.

【0081】図11において、多値化ディザ作成処理
は、まずステップS1で入力階調を0〜255の255
階調とすると、初期値A=1を指定する。次にステップ
S2で、入力階調Aに対応した出力階調Bを算出する。
出力階調Bは B=出力階調数×(A/255) で算出される。即ち、出力階調数に入力階調値のフル階
調に対する割合を乗算したものである。このステップS
2で算出される出力階調Bは、単独の出力画素では表現
できない小数以下の数値を含んでいる。
In FIG. 11, in the multi-valued dither generation processing, first, in step S1, the input gradation is set to 255 from 255 to 255.
If the gradation is to be set, an initial value A = 1 is specified. Next, in step S2, an output gradation B corresponding to the input gradation A is calculated.
The output gradation B is calculated by B = the number of output gradations × (A / 255). That is, the number of output gradations is multiplied by the ratio of the input gradation value to the full gradation. This step S
The output gradation B calculated by 2 includes a numerical value smaller than a decimal number that cannot be expressed by a single output pixel.

【0082】次にステップS3で、算出した出力階調B
の上下に位置する高低2つの階調値BL,BHの間にお
ける比率Kを算出する。この算出された小数を含む出力
階調Bの上下に位置する高低2つの階調値BL,BH
は、共に単独の出力画素が表現可能な整数値であり、2
つの整数値の間における算出した出力階調Bの比率Kを K=B−BL として算出する。この結果、比率Kは1未満の小数値を
となる。
Next, at step S3, the calculated output gradation B
The ratio K between two high and low gradation values BL and BH located above and below is calculated. Two high and low gradation values BL and BH located above and below the output gradation B including the calculated decimal number.
Are integer values that can be represented by a single output pixel, and 2
The ratio K of the calculated output gradation B between the two integer values is calculated as K = B-BL. As a result, the ratio K becomes a decimal value less than 1.

【0083】次にステップS4で、比率Kに基づいて配
列の中の高レベル階調BHの画素の先頭からの配置数N
Hを算出する。即ち、配列内での高レベル階調BHの画
素配置数NHは NH=総画素数NT×K として算出される。
Next, in step S4, based on the ratio K, the arrangement number N from the top of the pixels of the high-level gradation BH in the array
Calculate H. That is, the pixel arrangement number NH of the high-level gradation BH in the array is calculated as NH = total pixel number NT × K.

【0084】続いてステップS5で配列の中の1番目か
ら算出したNH番目までの画素アドレスに高レベル階調
BHを格納し、残りの画素位置に低レベル階調BLを格
納した多値化ディザマトリクスを作成してメモリに格納
する。このステップS2〜S5までの処理を、ステップ
S6で入力階調Aが256に達するまで、ステップS7
で入力階調Aをインクリメントしながら繰り返す。
Subsequently, in step S5, the multi-level dithering storing the high-level gradation BH at the pixel addresses from the first to the calculated NH-th in the array and storing the low-level gradation BL at the remaining pixel positions. Create a matrix and store it in memory. The processing of steps S2 to S5 is repeated until the input gradation A reaches 256 in step S6.
Is repeated while incrementing the input tone A.

【0085】図12は、図11の多値化ディザ作成処理
の具体例を説明する。図12(A)は階調値0〜255
の入力階調255のスケールであり、いまステップS1
で入力階調AとしてA=108が指定されたとする。こ
れに対し、出力階調が階調値0〜5の階調5のスケール
であったとする。
FIG. 12 illustrates a specific example of the multi-valued dither creation processing of FIG. FIG. 12A shows gradation values 0 to 255.
Is the scale of the input tone 255 of step S1.
It is assumed that A = 108 is designated as the input gradation A. On the other hand, it is assumed that the output gray scale is a gray scale 5 of gray scale values 0 to 5.

【0086】図11のステップS2にあっては、入力階
調A=108に対応した出力階調Bを算出しており、こ
の場合には出力階調B=2.12が算出される。この出
力階調B=2.12の場合には、図12(B)のように
例えば(5画素×5画素)=25画素のディザマトリク
スを例にとると、出力階調B=2.12に対する低レベ
ル階調BL=2と高レベル階調BH=3の比率によって
出力階調B=2.12を実現する。
In step S2 in FIG. 11, the output gradation B corresponding to the input gradation A = 108 is calculated. In this case, the output gradation B = 2.12 is calculated. In the case of this output gradation B = 2.12, for example, assuming a dither matrix of (5 pixels × 5 pixels) = 25 pixels as shown in FIG. 12B, the output gradation B = 2.12 The output gray scale B = 2.12 is realized by the ratio of the low level gray scale BL = 2 and the high level gray scale BH = 3 with respect to.

【0087】この場合には、レベル2の画素に対し階調
値が0.12だけ増加するように、レベル3の画素の数
を決めればよい。したがって高レベル階調BHとなるレ
ベル3の画素のディザ配置数NHは NH=総画素数NT×K=25×0.12=3 として算出される。
In this case, the number of level 3 pixels may be determined so that the gradation value is increased by 0.12 with respect to the level 2 pixels. Therefore, the dither arrangement number NH of the pixel of level 3 which becomes the high level gradation BH is calculated as NH = the total number of pixels NT × K = 25 × 0.12 = 3.

【0088】この高レベル階調BHとしてのレベル3の
3つの画素の配置は、正三角形に近似した配置に従った
初期ディザマトリクスに基づく配列の先頭から3番目ま
での画素位置に配置されることから、例えば図12
(B)のようにほぼ正三角形となる位置にレベル3の画
素が配置された多値化ディザマトリクスが作り出され
る。
The arrangement of the three pixels of level 3 as the high-level gradation BH is to be arranged at the first to third pixel positions of the array based on the initial dither matrix according to the arrangement approximated by an equilateral triangle. From, for example, FIG.
As shown in (B), a multi-valued dither matrix in which pixels of level 3 are arranged at positions substantially in an equilateral triangle is created.

【0089】勿論、実際に本発明で生成される多値化デ
ィザマトリクスは、(256×256)画素のマトリク
ス空間のディザマトリクスとなる。
Of course, the multi-valued dither matrix actually generated by the present invention is a dither matrix in a matrix space of (256 × 256) pixels.

【0090】図11に示した多値化ディザ作成処理は、
例えば出力機器がプリンタであった場合には、YMCの
各色成分の255階調のそれぞれに対応した数の多値化
ディザマトリクスが作成される。
The multi-valued dither creation processing shown in FIG.
For example, when the output device is a printer, a multi-valued dither matrix corresponding to each of the 255 gradations of each color component of YMC is created.

【0091】図10で作成された2値化ディザマトリク
ス及び図11で作成された多値化ディザマトリクスは、
後の説明で明らかにするジェットインク記憶装置等のプ
リンタに設定され、組織ディザの手法によって入力画像
を2値化画像または多値化画像に変換して印刷するよう
になる。
The binarized dither matrix created in FIG. 10 and the multi-valued dither matrix created in FIG.
The printer is set in a printer such as a jet ink storage device, which will be described later, and converts an input image into a binarized image or a multi-valued image by a method of tissue dither and prints the image.

【0092】組織ディザの手法は、入力画像からディザ
マトリクスと同じサイズの(256×256)画素を切
り出し、切り出した各画素の階調値によって対応する本
発明で作成したディザマトリクスを読み出し、入力階調
値に対応するディザマトリクスの位置に格納している2
値化値または多値化値を変換値として出力する。
In the tissue dithering method, (256.times.256) pixels of the same size as the dither matrix are cut out from the input image, the corresponding dither matrix created by the present invention is read out according to the gradation value of each cut out pixel, and the input dither matrix is read out. 2 stored at the position of the dither matrix corresponding to the key value
Outputs a quantified value or a multi-valued value as a converted value.

【0093】図13は、図2のディザ作成装置における
他の作成処理のフローチャートである。この図13の実
施形態にあっては、最大ポテンシャルの場所を探して画
素を配置する際に、画素を探す場所に優先度を持たせる
ようにしたことを特徴とする。
FIG. 13 is a flowchart of another creation process in the dither creation device of FIG. The embodiment of FIG. 13 is characterized in that, when arranging pixels by searching for the location of the maximum potential, the location where the pixel is searched is given priority.

【0094】図13において、ステップS1〜S4の初
期ディザマトリクスに基づいたポテンシャルマトリクス
の作成は、図9のフローチャートと同じである。次のス
テップS5で優先度の高い位置から順番にポテンシャル
最大の場所を検索して画素を配置していく。即ちステッ
プS5にあっては、まず最も高い優先度の画素配置位置
が割り当てられていることから、最も高い優先度の中で
ポテンシャルが最大の場所を検索し、ステップS6で、
検索した場所を配列に追加する。
In FIG. 13, the creation of a potential matrix based on the initial dither matrix in steps S1 to S4 is the same as in the flowchart of FIG. In the next step S5, the position of the maximum potential is searched in order from the position with the highest priority, and pixels are arranged. That is, in step S5, since a pixel arrangement position with the highest priority is assigned, a place where the potential is highest among the highest priorities is searched, and in step S6,
Add the searched location to the array.

【0095】続いてステップS7で現在の優先度の画素
配置位置について全て配列に追加したか否かチェック
し、全て追加していればステップS8で下位の優先度に
更新し、ステップS5で、更新した下位の優先度を現在
の優先度として、その優先度の画素部分でのポテンシャ
ル最大の場所を検索して配列に追加する。このステップ
S6〜S8の優先度に従った配置以外のステップS9〜
S11は、図9の処理と同じである。
Subsequently, in step S7, it is checked whether or not all the pixel arrangement positions of the current priority have been added to the array, and if all have been added, the lower priority is updated in step S8, and the update is performed in step S5. The lower priority set as the current priority is used to search for the location of the maximum potential in the pixel portion of the priority and to add it to the array. Steps S9 to S8 other than the arrangement according to the priorities of steps S6 to S8
S11 is the same as the process in FIG.

【0096】図14は、図13の優先度を持たせた画素
配置に使用する優先度マトリクスの一部を取り出してい
る。優先度マトリクス44は、白画素で示す優先画像
と、黒画素で示す優先度の低い低位画素を市松模様に並
べ、2レベルの優先度を設定している。
FIG. 14 shows a part of the priority matrix used for the pixel arrangement having the priority shown in FIG. The priority matrix 44 arranges priority images represented by white pixels and low-priority pixels represented by black pixels with low priority in a checkered pattern, and sets two levels of priority.

【0097】このため図13のステップS5〜S8の処
理にあっては、まず白画素で示す優先画素の画素位置に
ついてポテンシャル最大の場所を検索して配列に追加
し、優先画素の全ての場所についての配列の追加が済ん
だならば、黒画素で示す低位画素の位置についてポテン
シャル最大の場所を検索して配列に追加する。
For this reason, in the processing of steps S5 to S8 in FIG. 13, first, the position of the maximum potential for the pixel position of the priority pixel indicated by the white pixel is searched and added to the array. Is completed, the position of the maximum potential is searched for the position of the lower pixel indicated by the black pixel and added to the array.

【0098】図15は、図13の優先度を持たせた画素
配置に使用する優先度マトリクスの他の実施形態を、一
部を取り出して示している。
FIG. 15 shows another embodiment of the priority matrix used for the pixel arrangement having the priorities shown in FIG.

【0099】この図15における優先度マトリクス46
は、その下側に取り出して示すように、白画素で示す第
1優先画素、灰色画素で示す第2優先画素、黒画素で示
す優先度が最も低い低位画素の3レベルの優先度を図1
5と同じ市松模様の並びで設定している。この場合には
ポテンシャル最大の場所の検索が、第1優先画素、第2
優先画素、更に低位画素の3段階に分けて順次行われる
ことになる。
Priority matrix 46 in FIG.
FIG. 1 shows three levels of priority of a first priority pixel represented by a white pixel, a second priority pixel represented by a gray pixel, and a low-priority pixel represented by a black pixel having the lowest priority.
5 is set in the same checkered pattern. In this case, the search for the location of the maximum potential is performed by the first priority pixel and the second priority pixel.
This is performed sequentially in three stages of priority pixels and lower-order pixels.

【0100】このように配列にポテンシャルマトリクス
に基づいて配置する画素の位置に優先度を持たせること
で、ハイライト部での粒状感の低減と中央部や高濃度部
に移行する際のざらつき感を低減することができる。
By giving priority to the positions of the pixels to be arranged based on the potential matrix in the arrangement as described above, it is possible to reduce the granularity in the highlight portion and the roughness when shifting to the central portion or the high density portion. Can be reduced.

【0101】特にプリンタにおいては、中濃度以上の濃
度では画素が重なるため、ブルーノイズマスク法の長所
が薄れることになる。そこで図13の優先度を持たせた
実施形態により、中濃度以上の領域については組織ディ
ザと同様なディザパターンとできるようにし、ハイライ
ト部分から中濃度、更には高濃度に遷移する時の画質の
劣化を解消できるようにしている。
Particularly, in a printer, when the density is higher than the medium density, the pixels overlap, so that the advantage of the blue noise mask method is diminished. Therefore, according to the embodiment having the priority shown in FIG. 13, the dither pattern similar to the tissue dither can be obtained for the region having the medium density or higher, and the image quality at the time of transition from the highlight portion to the medium density and further to the high density is obtained. To eliminate the deterioration of

【0102】図16は、図2の装置におけるディザ作成
処理の他の実施形態のフローチャートである。この図1
6の実施形態にあっては、ポテンシャルマトリクスの更
新にテンプレートを使用するようにしたことを特徴とす
る。
FIG. 16 is a flowchart of another embodiment of the dither creation processing in the apparatus shown in FIG. This figure 1
The sixth embodiment is characterized in that a template is used for updating the potential matrix.

【0103】即ち図9及び図13のディザ作成処理にあ
っては、画素を配置するごとにポテンシャルカーブに従
ってポテンシャルマトリクスを毎回計算して更新してい
るが、図16の実施形態にあっては、ステップS2でポ
テンシャルマトリクスのテンプレートを予め作成してい
る。
That is, in the dither creation processing of FIGS. 9 and 13, the potential matrix is calculated and updated each time according to the potential curve each time a pixel is arranged. In the embodiment of FIG. In step S2, a template of the potential matrix is created in advance.

【0104】このポテンシャルのテンプレートは、画素
の配置数ごとに予め計算したポテンシャルカーブに従っ
たポテンシャルマトリクスであり、ステップS9のポテ
ンシャルマトリクスの更新に、このポテンシャルのテン
プレートを使用することで、ポテンシャルカーブの計算
が不要となり、その分、処理の高速化を図ることができ
る。それ以外の点は図9のフローチャートと同じであ
る。
This potential template is a potential matrix according to a potential curve calculated in advance for each pixel arrangement number. By using this potential template for updating the potential matrix in step S9, the potential curve The calculation becomes unnecessary, and the processing can be speeded up accordingly. The other points are the same as those in the flowchart of FIG.

【0105】図17は、図2の装置によるディザ作成処
理の他の実施形態のフローチャートであり、ポテンシャ
ルマトリクスを更新する際のポテンシャルカーブの乗算
の繰り返しによる計算精度の低下を抑えるようにしたこ
とを特徴とする。
FIG. 17 is a flowchart of another embodiment of the dither creation processing by the apparatus shown in FIG. 2, which shows that a decrease in calculation accuracy due to repetition of potential curve multiplication when updating the potential matrix is suppressed. Features.

【0106】ポテンシャルカーブに従って画素配置ごと
にポテンシャルマトリクスを更新するための乗算を繰り
返すと、ポテンシャルカーブは1以下の値をとることか
らポテンシャル最大値が順次減少し、計算精度以下に低
下してしまう。そこで図17の実施形態にあっては、ポ
テンシャル最大値が計算精度に応じた規定値以下になっ
た場合には、ポテンシャル最大値を1とするようにポテ
ンシャルマトリクス全体を引き伸ばす処理を加える。
When the multiplication for updating the potential matrix for each pixel arrangement is repeated according to the potential curve, the potential curve takes a value of 1 or less, so that the maximum potential value sequentially decreases, and the calculation accuracy falls below the value. Therefore, in the embodiment of FIG. 17, when the potential maximum value becomes equal to or less than a specified value corresponding to the calculation accuracy, a process of extending the entire potential matrix so that the potential maximum value is set to 1 is added.

【0107】即ち図17のフローチャートにおいて、ス
テップS1〜S9は図16のフローチャートと同じであ
るが、次のステップS10でポテンシャル最大値が予め
定めた規定値以下か否かチェックし、もし規定値以下で
あれば、ステップS11でポテンシャル最大値が1とな
るようにポテンシャルマトリクスを再構成して、ステッ
プS6のポテンシャル最大値の場所の検索に戻るように
している。
That is, in the flowchart of FIG. 17, steps S1 to S9 are the same as those in the flowchart of FIG. 16, but in the next step S10, it is checked whether or not the maximum potential value is below a predetermined value. If so, the potential matrix is reconfigured in step S11 so that the maximum potential value becomes 1, and the process returns to step S6 to search for the location of the maximum potential value.

【0108】図18は、本発明のディザ作成装置で作成
された2値化ディザマトリクスまたは多値化ディザマト
リクスを使用した組織ディザによるスクーリングが行わ
れるプリンタの説明図であり、インクジェットタイプの
プリンタを例にとっている。
FIG. 18 is an explanatory view of a printer in which schooling dithering is performed by a systematic dither using a binarized dither matrix or a multi-valued dither matrix created by the dither creating apparatus of the present invention. For example.

【0109】図18において、プリンタ48は用紙挿入
ガイド50と用紙排出ガイド64を設けている。用紙挿
入ガイド50は未印刷用紙をプリンタ48に挿入するた
めのガイドである。用紙排出ガイド64は排出された用
紙を収納する。
In FIG. 18, the printer 48 is provided with a paper insertion guide 50 and a paper discharge guide 64. The paper insertion guide 50 is a guide for inserting unprinted paper into the printer 48. The paper discharge guide 64 stores the discharged paper.

【0110】図19は、図18のプリンタ48の内部構
造である。用紙挿入ガイド50に収納された用紙はピッ
クアップローラ52によりピックアップされ、シートガ
イド54によりガイドされる。シートガイド54により
送られた用紙は、シート押えローラ56によりヘッド7
0の手前で押さえられる。ヘッド70で印刷された用紙
は送りローラ60により後方に送られ、このときシート
押えローラ62が送りローラ60との間に用紙を挟み込
む。
FIG. 19 shows the internal structure of the printer 48 shown in FIG. The sheet stored in the sheet insertion guide 50 is picked up by a pickup roller 52 and guided by a sheet guide 54. The sheet sent by the sheet guide 54 is fed to the head 7 by a sheet pressing roller 56.
It is held down before 0. The sheet printed by the head 70 is sent backward by the feed roller 60, and at this time, the sheet pressing roller 62 sandwiches the sheet between the sheet and the feed roller 60.

【0111】インクジェクトヘッド70は、ノズル面7
2を下に向けて設けられる。またインクジェクトヘッド
70は図の奥行き方向に延びるシャフト74に沿って移
動する。クリーニング機構58は、インクジェクトヘッ
ド70のノズル面72をクリーニングする。このクリー
ニング機構58は、インクジェクトヘッド70の外で且
つインクジェクトヘッド70のノズル面72の下部に設
けられている。
The ink jet head 70 has a nozzle face 7
2 facing downward. In addition, the inkjet head 70 moves along a shaft 74 extending in the depth direction in the drawing. The cleaning mechanism 58 cleans the nozzle surface 72 of the inkjet head 70. The cleaning mechanism 58 is provided outside the inkjet head 70 and below the nozzle surface 72 of the inkjet head 70.

【0112】図20は、図18のプリンタ48の機能構
成のブロック図である。図20において、ホスト76は
プリンタ48に印刷データを転送して印刷を行わせる。
プリンタ48に設けたCPU78は、インクジェット記
録動作を制御する。インタフェース80はホスト76か
らの印刷コマンド及び印刷データを受け取る。
FIG. 20 is a block diagram of the functional configuration of the printer 48 of FIG. In FIG. 20, the host 76 transfers the print data to the printer 48 for printing.
A CPU 78 provided in the printer 48 controls an ink jet recording operation. The interface 80 receives a print command and print data from the host 76.

【0113】パルス制御部82は、記録ヘッド27に供
給する駆動パルスを生成する。ヘッド駆動回路84は、
パルス制御部82からの駆動パルスを受けて、記録ヘッ
ド86の中のインク噴出駆動部を駆動して、媒体搬送部
90及びヘッド搬送部92を制御する。
The pulse control section 82 generates a drive pulse to be supplied to the recording head 27. The head drive circuit 84
Upon receiving a drive pulse from the pulse control unit 82, the ink ejection drive unit in the recording head 86 is driven to control the medium transport unit 90 and the head transport unit 92.

【0114】媒体搬送部90は、印刷用紙を記録ヘッド
86で印刷するための所定位置に搬送する。ヘッド搬送
部92は、図19のシャフト22に沿った記録ヘッド8
6の移動で、記録ヘッド86を印刷のための所定値に搬
送する。
The medium transport section 90 transports the printing paper to a predetermined position for printing by the recording head 86. The head transport unit 92 is provided with the recording head 8 along the shaft 22 in FIG.
By the movement of 6, the recording head 86 is transported to a predetermined value for printing.

【0115】このようなプリンタ48によるインクジェ
クト記録動作は、ホスト76から印刷コマンドと印刷デ
ータをインタフェース部80で受け取ると、印刷データ
を記憶部94に格納し、記憶部94内のファームウエア
に従って印刷を開始する。
In the ink jet recording operation performed by the printer 48, when a print command and print data are received from the host 76 by the interface unit 80, the print data is stored in the storage unit 94, and the printing is performed in accordance with the firmware in the storage unit 94. To start.

【0116】このとき記憶部94には、本発明のブルー
ノイズマスクに基づいて作成されたディザマトリクスが
入力画像の階調値ごとに格納されており、組織ディザの
手法に従って入力画像がインクジェクト記録動作で表現
可能な2値化画像または多値化画像に変換される。また
必要に応じブルーノイズマスクそのものを記憶部94に
記憶してもよい。
At this time, a dither matrix created based on the blue noise mask of the present invention is stored for each gradation value of the input image in the storage unit 94, and the input image is subjected to ink jet recording in accordance with the method of tissue dither. The image is converted into a binarized image or a multi-valued image that can be represented by an operation. If necessary, the blue noise mask itself may be stored in the storage unit 94.

【0117】CPU78は、印刷データの内の規定の形
式に従って機構制御部88を制御し、記録用紙と記録ヘ
ッド86の位置を移動させ、所定の位置に記録用紙と記
録ヘッド86が到達すると、パルス制御部82を制御し
て駆動パルスをヘッド駆動回路84に供給する。
The CPU 78 controls the mechanism control unit 88 in accordance with a prescribed format of the print data to move the positions of the recording paper and the recording head 86. When the recording paper and the recording head 86 reach predetermined positions, a pulse The controller 82 is controlled to supply a drive pulse to the head drive circuit 84.

【0118】ヘッド駆動回路84は駆動パルスを記録ヘ
ッド86に供給することでインクを噴出させ、噴出した
インク滴を記録用紙に吹き付け、文字、絵なとを印刷す
る。
The head drive circuit 84 supplies a drive pulse to the recording head 86 to eject ink, sprays the ejected ink droplets on recording paper, and prints characters and pictures.

【0119】尚、本発明は上記の実施例に限定されず、
その目的と利点を損なわない適宜の変形を含む。また本
発明は上記の実施形態に示した数値による限定は受けな
い。
Note that the present invention is not limited to the above embodiment,
Includes appropriate modifications that do not impair its purpose and advantages. Further, the present invention is not limited by the numerical values shown in the above embodiments.

【0120】[0120]

【発明の効果】以上説明してきたように本発明によれ
ば、ハイライト側のディザマトリクスを与える初期ディ
ザマトリクスを作成し、この初期ディザマトリクスを基
に現在置かれている画素から最も遠い位置に画素を置く
ようにブルーノイズマスクとしての配列を作成していく
ため、従来のブルーノイズマスクの作成に使用している
ボイドクラスタ法などに比べ短時間でブルーノイズマス
クを作成することができ、またブルーノイズマスクによ
り2値化または多値化ディザマトリクスを作ることで、
ハイライト側にテクスチャを生じない適切なディザマト
リクスを高速に作成することができる。
As described above, according to the present invention, an initial dither matrix for providing a dither matrix on the highlight side is created, and based on this initial dither matrix, the initial dither matrix is located at a position farthest from the currently placed pixel. Since an array as a blue noise mask is created so that pixels are arranged, it is possible to create a blue noise mask in a shorter time than with the void cluster method used for creating a conventional blue noise mask, and By creating a binarized or multi-valued dither matrix using a blue noise mask,
An appropriate dither matrix that does not generate texture on the highlight side can be created at high speed.

【0121】尚、本発明の更なる特徴を列挙するつ次の
ようになる。
The following is a list of further features of the present invention.

【0122】a.請求項2記載のディザ作成装置に於い
て、前記初期ディザマトリクス設定部は、前記ハイライ
ト側の所定濃度に対応して画素を正三角形に配置する際
に、乱数を使用して画素の配置位置を1画素程度の範囲
で動かして配置することを特徴とする。
A. 3. The dither creating apparatus according to claim 2, wherein the initial dither matrix setting unit uses a random number to arrange the pixels when arranging the pixels in an equilateral triangle corresponding to the predetermined density on the highlight side. Are moved and arranged within a range of about one pixel.

【0123】b.前記aのディザ作成装置に於いて、配
列生成部は、規定値よりポテンシャルマトリクスの最大
値が小さくなった場合、前記規定値を越えるようにポテ
ンシャルマトリクス全体を構築しなおすことを特徴とす
る。
B. In the dither creation apparatus of the item a, the array generator reconstructs the entire potential matrix so as to exceed the specified value when the maximum value of the potential matrix becomes smaller than the specified value.

【0124】c.請求項3のディザ作成装置に於いて、
配列生成部は、ポテンシャルマトリクスの更新にテンプ
レートを用いたことを特徴とする。
C. In the dither generating apparatus according to claim 3,
The array generation unit uses a template for updating the potential matrix.

【0125】d.請求項1記載のディザ生成装置に於い
て、更に、配列に基づいて入力階調値に対応したディザ
マトリクスを生成するディザ生成部を設けたことを特徴
とする。
D. The dither generation device according to claim 1, further comprising a dither generation unit that generates a dither matrix corresponding to the input gradation value based on the array.

【0126】e.前記dのディザ作成装置に於いて、デ
ィザ生成部は、指定した入力階調値のフル階調値に対す
る割合から前記配列の中の画素配置数を求め、前記配列
の先頭から前記画素配置数までの画素を黒画素、残りを
白画素とした2値化ディザマトリクスを生成することを
特徴する。
E. In the dither creation device of d, the dither generation unit obtains the number of pixels arranged in the array from the ratio of the designated input tone value to the full tone value, and calculates the number of pixels arranged from the top of the array to the number of pixels arranged. Is characterized in that a binarized dither matrix is generated in which pixels are black pixels and the remaining pixels are white pixels.

【0127】f.前記dのディザ作成装置に於いて、デ
ィザ生成部は、指定した入力階調値のフル階調値に対す
る割合に基づき所定の多値レベルをもつ出力階調値を算
出して上下に位置する高レベル階調値と低レベル階調値
を求め、出力階調値から下レベル階調値を差し引いた2
つの出力画素値間の比率に応じて配列の中の画素配置数
を求め、配列の先頭から画素配置数までの画素を高レベ
ル出力階調値の画素、残りを低レベル出力階値の画素と
した多値化ディザマトリクスを生成することを特徴す
る。
F. In the dither generating apparatus of d, the dither generating section calculates an output tone value having a predetermined multi-value level based on a ratio of the designated input tone value to the full tone value, and calculates the upper and lower heights. The level gradation value and the low level gradation value are obtained, and the lower level gradation value is subtracted from the output gradation value.
The number of pixels arranged in the array is determined according to the ratio between the two output pixel values, and pixels from the beginning of the array to the number of arranged pixels are defined as high-level output gradation value pixels, and the rest as low-level output floor value pixels. The multi-valued dither matrix is generated.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の原理説明図FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の機能構成のブロック図FIG. 2 is a block diagram of a functional configuration of the present invention.

【図3】本発明で設定する初期ディサマトリクスの説明
FIG. 3 is an explanatory diagram of an initial dither matrix set in the present invention.

【図4】図3で画素を配置する正三角形の辺の長さの説
明図
4 is an explanatory diagram of the length of a side of an equilateral triangle in which pixels are arranged in FIG.

【図5】本発明で設定する他の初期ディサマトリクスの
説明図
FIG. 5 is an explanatory diagram of another initial dither matrix set in the present invention.

【図6】本発明でポテンシャルカーブを適用するトーラ
ス状態のマトリクス空間の説明図
FIG. 6 is an explanatory diagram of a matrix space in a torus state to which a potential curve is applied in the present invention.

【図7】本発明で画素を1つ配置した場合のポテンシャ
ルマトリクスの説明図
FIG. 7 is an explanatory diagram of a potential matrix when one pixel is arranged in the present invention.

【図8】本発明で画素を2つ配置した場合のポテンシャ
ルマトリクスの説明図
FIG. 8 is an explanatory diagram of a potential matrix when two pixels are arranged in the present invention.

【図9】図2の実施形態による本発明のディザ作成処理
のフローチャート
FIG. 9 is a flowchart of a dither creation process of the present invention according to the embodiment of FIG. 2;

【図10】図9における2値化ディザマトリクス作成処
理のフローチャート
FIG. 10 is a flowchart of a binarized dither matrix creation process in FIG. 9;

【図11】図9における多値化ディザマトリクス作成処
理のフローチャート
FIG. 11 is a flowchart of a multi-valued dither matrix creation process in FIG. 9;

【図12】図11の多値化ディザマトリクス作成の具体
例の説明図
FIG. 12 is an explanatory diagram of a specific example of creating a multi-valued dither matrix in FIG. 11;

【図13】画素配置に優先度を持たせた本発明のディザ
作成処理のフローチャート
FIG. 13 is a flowchart of a dither creation process according to the present invention in which pixel arrangements have priorities;

【図14】図13の処理で使用する2レベルの優先度を
もった市松状優先度マスリクスの説明図
FIG. 14 is an explanatory diagram of a checkered priority matrix having two levels of priority used in the processing of FIG. 13;

【図15】図13の処理で使用する3レベルの優先度を
もった市松状優先度マスリクスの説明図
FIG. 15 is an explanatory diagram of a checkered priority matrix having three levels of priority used in the processing of FIG. 13;

【図16】ポテンシャルテンプレートを使用する本発明
のディザ作成処理のフローチャート
FIG. 16 is a flowchart of a dither generation process of the present invention using a potential template.

【図17】ポテンシャルマトリクスを引き伸ばす本発明
のディザ作成処理のフローチャート
FIG. 17 is a flowchart of dither generation processing of the present invention for expanding a potential matrix.

【図18】本発明で作成されたディザマトリクスが使用
されるインクジェット記録装置の外観図
FIG. 18 is an external view of an ink jet recording apparatus using a dither matrix created by the present invention.

【図19】図18の内部構造の説明図FIG. 19 is an explanatory diagram of the internal structure of FIG. 18;

【図20】図18の機能ブロック図FIG. 20 is a functional block diagram of FIG. 18;

【符号の説明】[Explanation of symbols]

10:初期ディザマトリクス設定部 12:配列生成部 14:ディザ生成部 16:初期ディザマトリクス(初期パターン) 18:ポテンシャル更新部 20:ポテンシャルマトリクス格納部 22:最大値検出部 24:ディザ配列格納部 26:配列(ブルーノイズマスク) 28:2値化ディザマトリクス生成部 30:2値化ディザマトリクス格納部 32:多値化ディザマトリクス生成部 34:多値化ディザマトリクス格納部 36:基準位置 40:ポインシャルマトリクス 42−1,42−2:画素配置位置(着目点) 44,46:優先度マトリクス 48:インクジェット記録装置 10: Initial dither matrix setting unit 12: Array generation unit 14: Dither generation unit 16: Initial dither matrix (initial pattern) 18: Potential update unit 20: Potential matrix storage unit 22: Maximum value detection unit 24: Dither array storage unit 26 : Array (blue noise mask) 28: Binarized dither matrix generator 30: Binarized dither matrix storage 32: Multi-level dither matrix generator 34: Multi-level dither matrix storage 36: Reference position 40: Point Char matrixes 42-1 and 42-2: Pixel arrangement positions (points of interest) 44 and 46: Priority matrix 48: Ink jet recording apparatus

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成12年5月22日(2000.5.2
2)
[Submission date] May 22, 2000 (2000.5.2)
2)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0007[Correction target item name] 0007

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0007】この方法はブルーノイズマスク法と呼ば
れ、Ulichneyが「Digital Halftoning」で提案している
のが最初である。このブルーノイズマスク法でポイント
となるのは、初期のブルーノイズマスクを作る方法にあ
る。Ulichneyは、この作成にイド・クラスタ法(Void
-Cluster法)を用いている。
[0007] This method is called a blue noise mask method, and is first proposed by Ulichney in "Digital Halftoning". The point of this blue noise mask method lies in the method of creating an initial blue noise mask. Ulichney is, Bo Ido-cluster method in this creation (Void
-Cluster method).

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0020[Correction target item name] 0020

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0020】このようにポテンシャルマトリクスに従っ
て画素を配置する位置に優先度を持たせることで、ハイ
ライト部分の粒状感の低減と、中濃度や高濃度に移行
する部分でのざらつき感を低減する。
By giving priority to the positions where pixels are arranged in accordance with the potential matrix as described above, the feeling of graininess in the highlight portion and the feeling of roughness in the transition to the medium density or high density are reduced. .

【手続補正3】[Procedure amendment 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0027[Correction target item name] 0027

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0027】例えば、指定した入力階調値108のフル
階調値256に対する割合(108/256)に基づ
き、5レベルをもつ出力階調値2.12を算出して上下
に位置する高レベル階調値3と低レベル階調値3を求
め、出力階調値2.12から下レベル階調値を差し引
いた2つの出力画素値間の比率0.12に応じて配列の
中の画素配置数を求め、配列の先頭から画素配置数まで
の画素を3レベル出力階調値の画素、残りを2レベル出
力階値の画素とした多値化ディザマトリクスを生成す
る。
For example, based on the ratio (108/256) of the designated input tone value 108 to the full tone value 256 (108/256), an output tone value 2.12 having five levels is calculated, and the upper and lower high-level Tone value 3 and low level tone value 3 are determined, and pixel arrangement in the array is determined according to the ratio 0.12 between two output pixel values obtained by subtracting lower level tone value 3 from output tone value 2.12. Then, a multi-valued dither matrix is generated in which the pixels from the top of the array to the number of arranged pixels are pixels having three-level output gradation values, and the remaining pixels are pixels having two-level output floor values.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0052[Correction target item name] 0052

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0052】このため入力画像を2値化する際に、もし
入力画像が均一な階調値(1/256)を持っていた場
合には、ブルーノイズマスクとしての配列26から生成
したディザマトリクスを用いた組織ディザによる変換
で、図3の初期ディザマトリクス16と同じほぼ正三角
形の繰り返しパターンが変換パターンとして得られるこ
とになる。
Therefore, when the input image is binarized, if the input image has a uniform gradation value (1/256), the dither matrix generated from the array 26 as a blue noise mask is used. By the conversion using the used tissue dither, a repetition pattern of substantially the same triangle as the initial dither matrix 16 of FIG. 3 is obtained as a conversion pattern.

【手続補正5】[Procedure amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0057[Correction target item name] 0057

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0057】図7はマトリクス空間に画素を1つ配置し
た時のガウス分布の三次元形状である。図7の三次元空
間はポテンシャルマトリクス40として定義されてお
り、画素配置点42−1に画素を配置してガウス分布の
ポテンシャルカーブの三次元形状を求めると、画素配置
点42−1でポテンシャルが最小値となり、その外側に
行くに従ってポテンシャルが初期値に至るポテンシャル
のガウス分布の形状となる。
FIG. 7 shows a three-dimensional Gaussian distribution when one pixel is arranged in the matrix space. The three-dimensional space in FIG. 7 is defined as a potential matrix 40. When a pixel is arranged at a pixel arrangement point 42-1 and a three-dimensional shape of a Gaussian distribution potential curve is obtained, a potential is obtained at the pixel arrangement point 42-1. becomes the minimum value, the potential toward the outside becomes the shape of the Gaussian distribution of the potential to reach the initial value.

【手続補正6】[Procedure amendment 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0070[Correction target item name] 0070

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0070】またディザ生成部14で生成された多値化
ディザマトリクスは、多階調を表現可能なカラープリン
タに格納され、例えばYMCの256階調の入力画像の
それぞれを、カラープリンタで表現可能なYMCのそれ
ぞれ5階調(階調レベル5)の画像に組織ディザの手法
により変換し、カラー画像を印刷出力させる。
The multi-valued dither matrix generated by the dither generation unit 14 is stored in a color printer capable of expressing multiple gradations. For example, each input image of 256 gradations of YMC can be expressed by a color printer. Each of the YMCs is converted into an image of 5 gradations (gradation level 5) by the method of tissue dither, and a color image is printed out.

【手続補正7】[Procedure amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0075[Correction target item name] 0075

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0075】そしてステップS7で全画素のポテンシャ
ルマトリクスに基づく配置が終了したならば、ステップ
S9で、生成された画素の配列(ブルーノイズマスク
に基づき入力階調値分のディザマトリクスを作成する。
When the arrangement based on the potential matrix of all the pixels is completed in step S7, in step S9, the arrangement of the generated pixels (blue noise mask )
A dither matrix corresponding to the input tone value is created based on.

【手続補正8】[Procedure amendment 8]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0078[Correction target item name] 0078

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0078】続いてステップS3でブルーノイズマスク
としての配列の先頭から算出したNB番目までの画素ア
ドレスに黒画素を表すビット1を配置し、残りの画素位
置に白画素を表すビット0を格納したディザマトリクス
を作成する。
Subsequently, in step S3, bit 1 representing a black pixel is placed at the NB- th pixel address calculated from the head of the array as a blue noise mask, and bit 0 representing a white pixel is stored in the remaining pixel positions. A dither matrix is created.

【手続補正9】[Procedure amendment 9]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0082[Correction target item name]

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0082】次にステップS3で、算出した出力階調B
の上下に位置する高低2つの階調値BL,BHの間にお
ける比率Kを算出する。この算出された小数を含む出力
階調Bの上下に位置する高低2つの階調値BL,BH
は、共に単独の出力画素が表現可能な整数値であり、2
つの整数値の間における算出した出力階調Bの比率Kを K=B−BL として算出する。この結果、比率Kは1未満の小数値と
なる。
Next, at step S3, the calculated output gradation B
The ratio K between two high and low gradation values BL and BH located above and below is calculated. Two high and low gradation values BL and BH located above and below the output gradation B including the calculated decimal number.
Are integer values that can be represented by a single output pixel, and 2
The ratio K of the calculated output gradation B between the two integer values is calculated as K = B-BL. As a result, the ratio K is <br/> a fractional value less than 1.

【手続補正10】[Procedure amendment 10]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0091[Correction target item name] 0091

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0091】図10で作成された2値化ディザマトリク
ス及び図11で作成された多値化ディザマトリクスは、
後の説明で明らかにするインクジェット記憶装置等のプ
リンタに設定され、組織ディザの手法によって入力画像
を2値化画像または多値化画像に変換して印刷するよう
になる。
The binarized dither matrix created in FIG. 10 and the multi-valued dither matrix created in FIG.
Inkjet Symbol you clear in the later explanation is set in the printer of憶device, so that printing by converting the input image into a binary image or multivalued image by a technique ordered dither.

【手続補正11】[Procedure amendment 11]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0096[Correction target item name] 0096

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0096】図14は、図13の優先度を持たせた画素
配置に使用する優先度マトリクスの一部を取り出してい
る。優先度マトリクス44は、白画素で示す優先画
と、黒画素で示す優先度の低い低位画素を市松模様に並
べ、2レベルの優先度を設定している。
FIG. 14 shows a pixel having the priority shown in FIG.
Extracting part of the priority matrix used for placement
You. The priority matrix 44 is a priority image indicated by white pixels.Elementary
And low-priority pixels with low priority indicated by black pixels in a checkerboard pattern
In addition, two levels of priority are set.

【手続補正12】[Procedure amendment 12]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0101[Correction target item name] 0101

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0101】特にプリンタにおいては、中濃度以上の濃
度では画素が重なるため、ブルーノイズマスク法の長所
が薄れることになる。そこで図13の優先度を持たせた
実施形態により、中濃度以上の領域については組織ディ
ザと同様なディザパターンできるようにし、ハイライ
ト部分から中濃度、更には高濃度に遷移する時の画質の
劣化を解消できるようにしている。
Particularly, in a printer, when the density is higher than the medium density, the pixels overlap, so that the advantage of the blue noise mask method is diminished. Therefore the embodiments which gave priority 13, the medium concentration or more regions to allow a similar dither patterns and ordered dither, medium density from the highlight portion, the image quality when even a transition to a high concentration To eliminate the deterioration of

【手続補正13】[Procedure amendment 13]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0108[Correction target item name] 0108

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0108】図18は、本発明のディザ作成装置で作成
された2値化ディザマトリクスまたは多値化ディザマト
リクスを使用した組織ディザによるスクリーニングが行
われるプリンタの説明図であり、インクジェットタイプ
のプリンタを例にとっている。
[0108] Figure 18 is an explanatory view of a printer scan Cleaning by ordered dither using binary dither matrix or multilevel dither matrix created by the dither generating apparatus of the present invention is performed, the ink jet type Take a printer as an example.

【手続補正14】[Procedure amendment 14]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0113[Correction target item name]

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0113】パルス制御部82は、記録ヘッド86に供
給する駆動パルスを生成する。ヘッド駆動回路84は、
パルス制御部82からの駆動パルスを受けて、記録ヘッ
ド86の中のインク噴出駆動部を駆動して、媒体搬送部
90及びヘッド搬送部92を制御する。
The pulse control section 82 generates a drive pulse to be supplied to the recording head 86 . The head drive circuit 84
Upon receiving a drive pulse from the pulse control unit 82, the ink ejection drive unit in the recording head 86 is driven to control the medium transport unit 90 and the head transport unit 92.

【手続補正15】[Procedure amendment 15]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0114[Correction target item name]

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0114】媒体搬送部90は、印刷用紙を記録ヘッド
86で印刷するための所定位置に搬送する。ヘッド搬送
部92は、図19のシャフト74に沿った記録ヘッド8
6の移動で、記録ヘッド86を印刷のための所定位置に
搬送する。
The medium transport section 90 transports the printing paper to a predetermined position for printing by the recording head 86. The head transport section 92 is provided with the recording head 8 along the shaft 74 in FIG.
6 move to <br/> convey the recording head 86 at a predetermined position for printing.

【手続補正16】[Procedure amendment 16]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0118[Correction target item name]

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0118】ヘッド駆動回路84は駆動パルスを記録ヘ
ッド86に供給することでインクを噴出させ、噴出した
インク滴を記録用紙に吹き付け、文字、絵なを印刷す
る。
[0118] The head drive circuit 84 causes ejecting ink by supplying drive pulses to the recording head 86, spraying the ink droplets ejected on the recording paper, prints characters, etc. picture.

【手続補正17】[Procedure amendment 17]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図面の簡単な説明[Correction target item name] Brief description of drawings

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の原理説明図FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の機能構成のブロック図FIG. 2 is a block diagram of a functional configuration of the present invention.

【図3】本発明で設定する初期ディサマトリクスの説明
FIG. 3 is an explanatory diagram of an initial dither matrix set in the present invention.

【図4】図3で画素を配置する正三角形の辺の長さの説
明図
4 is an explanatory diagram of the length of a side of an equilateral triangle in which pixels are arranged in FIG.

【図5】本発明で設定する他の初期ディサマトリクスの
説明図
FIG. 5 is an explanatory diagram of another initial dither matrix set in the present invention.

【図6】本発明でポテンシャルカーブを適用するトーラ
ス状態のマトリクス空間の説明図
FIG. 6 is an explanatory diagram of a matrix space in a torus state to which a potential curve is applied in the present invention.

【図7】本発明で画素を1つ配置した場合のポテンシャ
ルマトリクスの説明図
FIG. 7 is an explanatory diagram of a potential matrix when one pixel is arranged in the present invention.

【図8】本発明で画素を2つ配置した場合のポテンシャ
ルマトリクスの説明図
FIG. 8 is an explanatory diagram of a potential matrix when two pixels are arranged in the present invention.

【図9】図2の実施形態による本発明のディザ作成処理
のフローチャート
FIG. 9 is a flowchart of a dither creation process of the present invention according to the embodiment of FIG. 2;

【図10】図9における2値化ディザマトリクス作成処
理のフローチャート
FIG. 10 is a flowchart of a binarized dither matrix creation process in FIG. 9;

【図11】図9における多値化ディザマトリクス作成処
理のフローチャート
FIG. 11 is a flowchart of a multi-valued dither matrix creation process in FIG. 9;

【図12】図11の多値化ディザマトリクス作成の具体
例の説明図
FIG. 12 is an explanatory diagram of a specific example of creating a multi-valued dither matrix in FIG. 11;

【図13】画素配置に優先度を持たせた本発明のディザ
作成処理のフローチャート
FIG. 13 is a flowchart of a dither creation process according to the present invention in which pixel arrangements have priorities;

【図14】図13の処理で使用する2レベルの優先度を
もった市松状優先度マリクスの説明図
[14] a checkered pattern priority illustration of Conclusions Rikusu having 2 priority levels used in the process of FIG. 13

【図15】図13の処理で使用する3レベルの優先度を
もった市松状優先度マリクスの説明図
[15] a checkered pattern priority illustration of Conclusions Rikusu having 3 priority levels used in the process of FIG. 13

【図16】ポテンシャルテンプレートを使用する本発明
のディザ作成処理のフローチャート
FIG. 16 is a flowchart of a dither generation process of the present invention using a potential template.

【図17】ポテンシャルマトリクスを引き伸ばす本発明
のディザ作成処理のフローチャート
FIG. 17 is a flowchart of dither generation processing of the present invention for expanding a potential matrix.

【図18】本発明で作成されたディザマトリクスが使用
されるインクジェット記録装置の外観図
FIG. 18 is an external view of an ink jet recording apparatus using a dither matrix created by the present invention.

【図19】図18の内部構造の説明図FIG. 19 is an explanatory diagram of the internal structure of FIG. 18;

【図20】図18の機能ブロック図FIG. 20 is a functional block diagram of FIG. 18;

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】画像を構成する各画素の多値階調信号を入
力して2値化階調信号又は他の多値化階調信号に変換す
るディザマトリクスをブルーノイズマスクに基づいて作
成するディザ作成装置に於いて、 ハイライト側の所定濃度に対応した初期ディザマトリク
スを設定する初期ディザマトリクス設定部と、 前記初期ディザマトリクスを元に現在配置されている画
素から最も遠くにある空隙位置を捜して全画素を順番に
配置した配列をブルーノイズマクスとして生成する配列
生成部と、を備えたことを特徴とするディザ作成装置。
1. A dither matrix for inputting a multi-level gradation signal of each pixel constituting an image and converting it into a binary gradation signal or another multi-level gradation signal is created based on a blue noise mask. In the dither creation device, an initial dither matrix setting unit that sets an initial dither matrix corresponding to a predetermined density on the highlight side, and a gap position furthest from the currently arranged pixel based on the initial dither matrix. A dither generation device, comprising: an array generation unit that generates an array in which all pixels are searched and arranged in order as a blue noise max.
【請求項2】請求項1記載のディザ作成装置に於いて、
前記初期デッザマトリクス設定部は、前記ハイライト側
の所定濃度に対応して各画素がほぼ正三角形に並ぶよう
に配置した初期ディザマトリクスを設定することを特徴
とするディザ作成装置。
2. A dither generating apparatus according to claim 1, wherein
The dither creating apparatus according to claim 1, wherein the initial dither matrix setting unit sets an initial dither matrix in which each pixel is arranged so as to be substantially arranged in a regular triangle corresponding to the predetermined density on the highlight side.
【請求項3】請求項1記載のディザ作成装置に於いて、
前記配列生成部は、前記初期ディザマトリクスの全画素
を対象に所定位置の基準に最も遠い画素から順番に選択
して前記配列に画素を格納し、続いて前記初期ディザマ
トリクスの全画素に基づくポテンシャルカーブに従った
ポテンシャルマトリクスを生成し、現在配置されている
画素から最も遠くにあるポテンシャルが最大となる空隙
の位置を捜し出して画素を配置し、画素配置後に前記ポ
テンシャルマトリクスを更新する処理を繰り返すことを
特徴とするディザ作成装置。
3. A dither generating apparatus according to claim 1, wherein
The array generation unit selects all the pixels of the initial dither matrix in order from a pixel farthest from a reference of a predetermined position, stores the pixels in the array, and subsequently sets a potential based on all the pixels of the initial dither matrix. Generating a potential matrix according to the curve, searching for the position of the gap where the potential farthest from the currently arranged pixel is the largest, arranging the pixel, and repeating the process of updating the potential matrix after arranging the pixel. A dither creation apparatus characterized by the above-mentioned.
【請求項4】請求項3記載のディザ作成装置に於いて、
前記配列生成部は、前記ポテンシャルカーブとしてガウ
シアン分布を用いたことを特徴とするディザ作成装置。
4. A dither generating apparatus according to claim 3, wherein
The dither creation device, wherein the array generation unit uses a Gaussian distribution as the potential curve.
【請求項5】請求項3記載のディザ作成装置に於いて、
前記配列生成部は、新たに画素を配置する毎に、前回の
ポテンシャルマトリクスに配置画素のポテンシャルマト
リクスを乗算してポテンシャルマトリクスを更新するこ
とを特徴とするディザ作成装置。
5. A dither generating apparatus according to claim 3, wherein:
The dither creation apparatus according to claim 1, wherein the arrangement generating unit updates the potential matrix by multiplying the previous potential matrix by the potential matrix of the arrangement pixel every time a new pixel is arranged.
【請求項6】請求項3記載のディザ作成装置に於いて、
前記配列生成部は、画素を配置する空隙の選択に優先度
を設けたことを特徴とするディザ作成装置。
6. A dither generating apparatus according to claim 3, wherein
The dither creation device, wherein the array generation unit sets a priority in selecting a gap in which pixels are arranged.
【請求項7】請求項3記載のディザ作成装置に於いて、
前記配列生成部は、画素を配置する空隙の選択に市松状
マトリクスに従った優先度を設けたことを特徴とするデ
ィザ作成装置。
7. A dither generating apparatus according to claim 3, wherein
The dither creation device according to claim 1, wherein the array generation unit sets a priority in accordance with a checkered matrix in selection of a gap in which pixels are arranged.
【請求項8】請求項3記載のディザ作成装置に於いて、
前記配列生成部は、ポテンシャルマトリクスの更新時
に、ポテンシャルの状態に応じてポテンシャルマトリク
ス全体を構築しなおすことを特徴とするディザ作成装
置。
8. A dither generating apparatus according to claim 3, wherein:
The dither generation device, wherein the array generation unit rebuilds the entire potential matrix according to the state of the potential when updating the potential matrix.
【請求項9】画像を構成する各画素の多値階調信号を入
力して2値化階調信号又は他の多値化階調信号に変換す
るディザマトリクスをブルーノイズマクスに基づいて作
成するディザ作成方法に於いて、 ハイライト側の所定濃度に対応した初期ディザマトリク
スを設定する初期ディザマトリマクス設定過程と、 前記初期ディザマトリクスを元に現在配置されている画
素から最も遠くにある空隙位置を捜して全画素を順番に
配置した配列をブルーノイズマスクとして生成する配列
生成過程と、を備えたことを特徴とするディザ作成方
法。
9. A dither matrix for inputting a multi-level gray scale signal of each pixel constituting an image and converting it into a binary gray scale signal or another multi-level gray scale signal is created based on a blue noise mask. In the dither creation method, an initial dither matrix setting step of setting an initial dither matrix corresponding to a predetermined density on a highlight side, and a gap position furthest from a pixel currently arranged based on the initial dither matrix. And generating an array in which all pixels are arranged in order as a blue noise mask.
【請求項10】ハイライト側の所定濃度に対応した初期
ディザマトリクスを元に、現在配置されている画素から
最も遠くにある空隙位置を捜して全画素を順番に配置し
たブルーノイズマスクを用いて作成したディザマトリク
スを記憶した記憶部と、 前記ディザマトリクスにより画素の多値階調信号を2値
値あるいは他の多値階調信号に変換する変換部と、を備
えたことを特徴とするプリンタ。
10. A blue noise mask in which all the pixels are arranged in order by searching for a gap position furthest from a currently arranged pixel based on an initial dither matrix corresponding to a predetermined density on a highlight side. A printer comprising: a storage unit that stores a created dither matrix; and a conversion unit that converts a multi-level gray scale signal of a pixel into a binary value or another multi-level gray scale signal using the dither matrix. .
JP28636899A 1999-10-07 1999-10-07 Dither generating device and its method and printer Withdrawn JP2001111829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28636899A JP2001111829A (en) 1999-10-07 1999-10-07 Dither generating device and its method and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28636899A JP2001111829A (en) 1999-10-07 1999-10-07 Dither generating device and its method and printer

Publications (1)

Publication Number Publication Date
JP2001111829A true JP2001111829A (en) 2001-04-20

Family

ID=17703492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28636899A Withdrawn JP2001111829A (en) 1999-10-07 1999-10-07 Dither generating device and its method and printer

Country Status (1)

Country Link
JP (1) JP2001111829A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002341460A (en) * 2001-05-21 2002-11-27 Noritsu Koki Co Ltd Exposure device, photographic processing device and exposure method
JP2005341089A (en) * 2004-05-26 2005-12-08 Dainippon Printing Co Ltd Method for generating screen image
JP2006071877A (en) * 2004-09-01 2006-03-16 Dainippon Printing Co Ltd Method for producing screen image
US7187387B2 (en) * 2003-04-30 2007-03-06 Minolta Co., Ltd. Image processing apparatus capable of creating a dither matrix providing improved image quality
US8139267B2 (en) 2007-06-15 2012-03-20 Konica Minolta Holdings, Inc. Method, apparatus and program for creating a threshold value matrix
JP2013165308A (en) * 2012-02-09 2013-08-22 Konica Minolta Inc Image processing device, method of shaping threshold matrix, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002341460A (en) * 2001-05-21 2002-11-27 Noritsu Koki Co Ltd Exposure device, photographic processing device and exposure method
US7187387B2 (en) * 2003-04-30 2007-03-06 Minolta Co., Ltd. Image processing apparatus capable of creating a dither matrix providing improved image quality
JP2005341089A (en) * 2004-05-26 2005-12-08 Dainippon Printing Co Ltd Method for generating screen image
JP2006071877A (en) * 2004-09-01 2006-03-16 Dainippon Printing Co Ltd Method for producing screen image
JP4591951B2 (en) * 2004-09-01 2010-12-01 大日本印刷株式会社 Screen image generation method
US8139267B2 (en) 2007-06-15 2012-03-20 Konica Minolta Holdings, Inc. Method, apparatus and program for creating a threshold value matrix
JP2013165308A (en) * 2012-02-09 2013-08-22 Konica Minolta Inc Image processing device, method of shaping threshold matrix, and program

Similar Documents

Publication Publication Date Title
US4651287A (en) Digital image processing algorithm for output devices with discrete halftone gray scale capability
KR950006621B1 (en) Image processing apparatus
KR101019663B1 (en) Image processing device and image processing method
JP2007142847A (en) High-definition halftone processing
US7079290B2 (en) Halftoning method and system providing increased number of densities per basic halftone cell for constant input
JP2004230672A (en) Image processing method
JP4599239B2 (en) Image processing method and image processing apparatus
JP4350277B2 (en) How to generate high addressability print data
JP2001111829A (en) Dither generating device and its method and printer
JP4020132B2 (en) Dither matrix generation apparatus, dither matrix generation method, program, and image processing apparatus
JP5991753B2 (en) Image processing apparatus and image processing method
JP4773639B2 (en) Image recording apparatus, computer program, and image recording control method
US6995873B1 (en) Flexible digital halftoning
JP4838769B2 (en) Image processing apparatus, image processing method, and ink jet recording apparatus
JP4720123B2 (en) Print control apparatus, print control method, and print control program
JP2005161817A (en) Method and device for image processing
JP2003046793A (en) Method and device for image processing
JP2012025121A (en) Data processor and data processing method
JP2716090B2 (en) Image processing device
JP2005295131A (en) Apparatus, method, and program for processing image
KR100245019B1 (en) Apparatus and method for block overlap based image binarization
JP2004241848A (en) Print controller, print control method, and print control program
JP2002185787A (en) Dither pattern generating method and dither pattern generator
JPH10229493A (en) Image area based resolution conversion processor
JP2008301001A (en) Image data generating method, printing method, image data generator, and printing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070109