JP2005184085A - Image forming apparatus, image recording apparatus and program - Google Patents
Image forming apparatus, image recording apparatus and program Download PDFInfo
- Publication number
- JP2005184085A JP2005184085A JP2003417885A JP2003417885A JP2005184085A JP 2005184085 A JP2005184085 A JP 2005184085A JP 2003417885 A JP2003417885 A JP 2003417885A JP 2003417885 A JP2003417885 A JP 2003417885A JP 2005184085 A JP2005184085 A JP 2005184085A
- Authority
- JP
- Japan
- Prior art keywords
- error matrix
- error
- processing apparatus
- value
- group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Color, Gradation (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
本発明は、多値画像データを高精細かつ高階調に印刷処理するための画像処理装置、画像記録装置(画像形成装置)、及びプログラムに関する。 The present invention relates to an image processing apparatus, an image recording apparatus (image forming apparatus), and a program for printing multivalued image data with high definition and high gradation.
スキャナやディジタルカメラ等の入力装置で読み取った多値画像データをプリンタやディスプレイ等の出力装置に出力する画像入出力システムがある。その際に、入力装置で読み取った多値(例えば8ビット精度ならば256階調)の画像データを出力装置が出力可能な階調数の画像データに変換し、擬似的に連続階調を表現する方法として、擬似中間調処理がある。 There is an image input / output system that outputs multi-valued image data read by an input device such as a scanner or a digital camera to an output device such as a printer or a display. At that time, multi-valued image data read by the input device (for example, 256 gradations for 8-bit accuracy) is converted into image data of the number of gradations that can be output by the output device, and pseudo continuous gradation is expressed. As a method for doing this, there is a pseudo halftone process.
中でも出力装置がドットのON/OFFのみの2値しか表現できないときには2値化処理が従来から行われている。この2値化処理の中で解像性と階調性に共に優れた方法として誤差拡散法(Error Diffusion:以下ED)や平均誤差最小法(Minimized Average Error:以下MAE)がある。EDとMAEは、誤差の拡散作業をいつ行うかが異なるだけであり、論理的には等価なものである。 In particular, binarization processing is conventionally performed when the output device can express only binary values of ON / OFF of dots. Among these binarization processes, there are an error diffusion method (Error Diffusion: hereinafter referred to as ED) and a minimum average error (Minimized Average Error: hereinafter referred to as MAE) as methods having excellent resolution and gradation. ED and MAE are logically equivalent except that they differ only when the error diffusion operation is performed.
しかしながら、EDとMAEは次の2つの点において異なる。第1の相違点は、実計算における割り切り誤差の影響である。EDは量子化誤差を図6に示すような誤差マトリクスを用いれば、乗算回数が4回行われ、かつ係数によっては割り切り誤差が生じるため、画像全体で割り切り誤差の影響を受けやすい。これに対してMAEは、周辺画素の量子化誤差を図7に示すような誤差マトリクスを用いれば、誤差マトリクスの各係数の分子で乗算して加算した後に除算を1回行えばよいため誤差マトリクスの係数に寄らず画像全体で割り切り誤差の影響が少ない。 However, ED and MAE differ in the following two points. The first difference is the effect of the truncation error in the actual calculation. If an error matrix such as that shown in FIG. 6 is used for quantization error in ED, the number of multiplications is performed four times, and a division error occurs depending on the coefficient, so that the entire image is easily affected by the division error. On the other hand, in the MAE, if an error matrix as shown in FIG. 7 is used for quantization errors of peripheral pixels, the error matrix can be obtained by multiplying by the numerator of each coefficient of the error matrix and then adding it once. Regardless of the coefficient, the effect of the dividing error is small in the entire image.
第2の相違点は、画素単位での誤差マトリクスの切り替え可能なことである。EDは、ある画素を量子化した誤差を拡散させるので画素単位で誤差マトリクスを切り替えても、ある画素で参照される量子化誤差の合計は“1”から変わらないために自由に切り替えることができる(例えば、特許文献1を参照)。これに対して、MAEは周辺画素の量子化誤差を参照するので、画像の量子化している途中で誤差マトリクスを切り替えてしまうと、画素によって参照される量子化誤差の合計は“1”とならないため、画像全体で濃度保存することができなくなってしまう。 The second difference is that the error matrix can be switched in units of pixels. Since the ED diffuses an error obtained by quantizing a certain pixel, even if the error matrix is switched for each pixel, the total quantization error referred to by a certain pixel does not change from “1”, so that it can be switched freely. (For example, see Patent Document 1). On the other hand, since the MAE refers to the quantization error of the surrounding pixels, if the error matrix is switched during the quantization of the image, the total quantization error referred to by the pixel does not become “1”. For this reason, it is impossible to save the density of the entire image.
また、EDやMAEによる量子化を2値だけでなく、3値以上の階調数にも適用した処理がある。2値化と同様に、階調性と解像性に優れた処理が可能である。 Further, there is a process in which quantization by ED or MAE is applied not only to binary but also to the number of gradations of 3 or more. Similar to binarization, processing with excellent gradation and resolution is possible.
ところで、EDやMAEでは特有のテクスチャ、いわゆるワームが発生するという問題がある。これは同一の入力値、閾値、誤差マトリクスや同一の処理方向を用いることによって生じる。上記課題に対して、閾値にランダムノイズを加算する技術(例えば、特許文献2を参照)、閾値にディザノイズを加算する技術(例えば、特許文献3を参照)、誤差マトリクスを切り替える技術(例えば、特許文献1、4を参照)が提案されている。 By the way, ED and MAE have a problem that a unique texture, a so-called worm, is generated. This occurs by using the same input value, threshold, error matrix and the same processing direction. In response to the above problems, a technique for adding random noise to a threshold (for example, see Patent Document 2), a technique for adding dither noise to a threshold (for example, see Patent Document 3), and a technique for switching an error matrix (for example, Patent Documents 1 and 4) have been proposed.
また、テクスチャ抑制のために処理方向を主走査方向の順方向と逆方向を切り替える双方向処理がある。双方向処理において、順方向の誤差マトリクスと逆方向の誤差マトリクスを左右対称にして、双方向で処理した場合に副走査方向にドットが連なりやすいという不具合がある。誤差マトリクスを順方向と逆方向で非対称にして切り替える技術も提案されている(例えば、特許文献5を参照)。 In addition, there is bidirectional processing for switching the processing direction between the forward direction and the reverse direction of the main scanning direction in order to suppress texture. In the bidirectional processing, there is a problem that when the error matrix in the forward direction and the error matrix in the backward direction are symmetric, the dots are likely to be connected in the sub-scanning direction when the bidirectional processing is performed. A technique has also been proposed in which an error matrix is switched asymmetrically in the forward direction and the reverse direction (see, for example, Patent Document 5).
しかしながら、上記技術においてMAEにおいても成り立つのは特許文献2や特許文献3である。特許文献1や特許文献4をMAEに用いれば、誤差マトリクスを切り替えることで画像全体で濃度保存することができなくなってしまう。また、特許文献5では、誤差マトリクスを順方向と逆方向で非対称としたとき、画像全体で濃度保存する誤差マトリクスが開示されていない。 However, Patent Literature 2 and Patent Literature 3 also hold true for MAE in the above technique. If Patent Literature 1 and Patent Literature 4 are used for MAE, it becomes impossible to store the density of the entire image by switching the error matrix. Further, Patent Document 5 does not disclose an error matrix for storing the density of the entire image when the error matrix is asymmetric in the forward direction and the reverse direction.
解像性と階調性や割り切り誤差の影響が少ないMAEであるが、テクスチャの抑制は難しい。入力値や閾値にランダムノイズの加算を行えば、ランダムノイズによる低周波成分が加算されるため画像を良好にすることが難しい。EDのように画像全体で濃度保存しながら誤差マトリクスを切り替える方式が求められてきた。 Although MAE is less affected by resolution, gradation, and division error, it is difficult to suppress texture. If random noise is added to an input value or a threshold value, it is difficult to improve the image because low frequency components due to random noise are added. There has been a demand for a method of switching the error matrix while preserving the density of the entire image like ED.
本発明は、かかる問題点に鑑みてなされたものであり、
本発明の目的は、MAEによりテクスチャが発生する問題を解決できる画像処理装置、画像記録装置及びプログラムを提供することにある。
The present invention has been made in view of such problems,
An object of the present invention is to provide an image processing apparatus, an image recording apparatus, and a program capable of solving the problem of texture generation due to MAE.
請求項1、15、16記載の発明は、注目画素の画素位置を(x,y)とするとき画素位置yに応じて誤差マトリクス群より1つの誤差マトリクスを選択することによりテクスチャを目立たなくさせ、良好な画質の出力画像結果を得ることを目的とする。 In the first, fifteenth and sixteenth aspects, when the pixel position of the target pixel is (x, y), the texture is made inconspicuous by selecting one error matrix from the error matrix group according to the pixel position y. An object is to obtain an output image result of good image quality.
また、請求項2記載の発明は、誤差マトリクスの各行の誤差マトリクスの係数の合計が同じとなる誤差マトリクスにより形成される群より誤差マトリクスを選択することで濃度保存の原則を守りつつテクスチャを目立たなくさせ、良好な画質の出力画像結果を得ることを目的とする。 According to the second aspect of the present invention, the texture is conspicuous while the principle of preserving the density is maintained by selecting the error matrix from the group formed by the error matrix having the same sum of the coefficients of the error matrix in each row of the error matrix. The purpose is to obtain an output image result with good image quality.
また、請求項3記載の発明は、誤差マトリクスの各行の誤差マトリクスの係数を入れ替えた誤差マトリクスより形成される群より誤差マトリクスを選択することで、誤差マトリクス群を容易に形成し、濃度保存の原則を守りつつテクスチャを目立たなくさせ、良好な画質の出力画像結果を得ることを目的とする。 According to the third aspect of the present invention, an error matrix group can be easily formed by selecting an error matrix from a group formed from an error matrix in which the coefficients of the error matrix of each row of the error matrix are replaced. The purpose is to make the texture inconspicuous while observing the principle and to obtain an output image result of good image quality.
また、請求項4、6記載の発明は、誤差マトリクスの各行の誤差マトリクスの係数の周辺部を入れ替えることにより、画質の良好な誤差マトリクス群を容易に形成し、かつ、係数を入れ替える回数を減らし高速な処理を得ることを目的とする。 According to the fourth and sixth aspects of the present invention, an error matrix group having good image quality can be easily formed and the number of times of replacing the coefficients can be reduced by replacing the peripheral portions of the error matrix coefficients of each row of the error matrix. The purpose is to obtain high-speed processing.
また、請求項5記載の発明は、誤差マトリクスのある1行の誤差マトリクスの係数を入れ替えることにより、係数を入れ替える回数を減らし高速な処理を得ることを目的とする。 Another object of the present invention is to obtain a high-speed process by reducing the number of times the coefficients are replaced by replacing the coefficients of the error matrix in one row with the error matrix.
また、請求項7記載の発明は、1行毎に誤差マトリクスを選択することにより、テクスチャを目立たなくさせ良好な画質の出力画像結果を得ることを目的とする。 Another object of the present invention is to select an error matrix for each row so as to make the texture inconspicuous and to obtain an output image result with good image quality.
また、請求項8記載の発明は、複数行毎に誤差マトリクスを選択することにより、誤差マトリクスを切り替える回数を減らし高速に、かつ、テクスチャを目立たなくさせ良好な画質の出力画像結果を得ることを目的とする。 According to the eighth aspect of the invention, by selecting an error matrix for each of a plurality of rows, the number of times of switching the error matrix can be reduced, and the texture can be made inconspicuous to obtain an output image result with good image quality. Objective.
また、請求項9記載の発明は、乱数で得られた行毎に誤差マトリクスを選択することにより、誤差マトリクスの切り替わりを目立たなくし、かつ、テクスチャを目立たなくさせ良好な画質の出力画像結果を得ることを目的とする。 According to the ninth aspect of the invention, by selecting an error matrix for each row obtained by random numbers, the switching of the error matrix is made inconspicuous, and the texture is made inconspicuous to obtain an output image result with good image quality. For the purpose.
また、請求項10記載の発明は、誤差マトリクスを順番に選択することにより、誤差マトリクスの選択を容易にすることを目的とする。 Further, an object of the present invention is to facilitate selection of an error matrix by selecting the error matrix in order.
また、請求項11記載の発明は、誤差マトリクスをランダムに選択することにより、テクスチャを目立たなくさせ良好な画質の出力画像結果を得ることを目的とする。 Another object of the present invention is to obtain an output image result with good image quality by making the texture inconspicuous by randomly selecting an error matrix.
また、請求項12記載の発明は、誤差マトリクスをLUTより求めることにより、誤差マトリクスの読み出しを高速にすることを目的とする。 Further, an object of the present invention is to speed up the reading of the error matrix by obtaining the error matrix from the LUT.
また、請求項13記載の発明は、誤差マトリクスの係数入れ替えを逐次処理で行うことにより、LUTを必要とせず省メモリ化することを目的とする。 Another object of the present invention is to save memory without requiring an LUT by sequentially exchanging error matrix coefficients by sequential processing.
また、請求項14記載の発明は、主走査方向の処理を順方向または逆方向に切り替えることにより、テクスチャを目立たなくさせ良好な画質の出力画像結果を得ることを目的とする。 Further, an object of the present invention is to make the texture inconspicuous and obtain an output image result of good image quality by switching the processing in the main scanning direction to the forward direction or the reverse direction.
上記課題を解決するため、本発明にかかる画像処理装置、画像記録装置及びプログラムでは、平均誤差最小法において誤差マトリクスを切り替え、テクスチャを目立たなくさせ良好な画質の出力画像結果を出力するものである。 In order to solve the above-described problems, an image processing apparatus, an image recording apparatus, and a program according to the present invention switch an error matrix in an average error minimum method, and make an output image result of good image quality by making textures inconspicuous. .
かかる目的を達成するために、本発明(請求項1)は、多値(M値)画像データを、平均誤差最小法を用いてN値(M>N≧2)に量子化し、該N値の夫々に対応したドットを用いて記録を行う画像処理装置であって、注目画素の多値画像データに、周辺の既に量子化済みの画素から重み付け積和された誤差を加えた補正データを出力する手段と、前記補正データと前記量子化閾値とを比較して、N値画像データを出力する手段と、前記N値画像データの生成に伴って発生する誤差を算出する手段と、を備え前記注目画素の画素位置を(x,y)とするとき画素位置yに応じて誤差マトリクス群より1つの誤差マトリクスを選択することを特徴としている。 In order to achieve such an object, the present invention (Claim 1) quantizes multi-value (M-value) image data into N values (M> N ≧ 2) using an average error minimum method, Is an image processing apparatus that records using dots corresponding to each of the above, and outputs correction data obtained by adding an error weighted and summed from surrounding already quantized pixels to multi-valued image data of the target pixel Means for comparing the correction data with the quantization threshold and outputting N-value image data; and means for calculating an error that occurs with the generation of the N-value image data. When the pixel position of the pixel of interest is (x, y), one error matrix is selected from the error matrix group according to the pixel position y.
本発明(請求項2)は、誤差マトリクス群は誤差マトリクスの各行の誤差マトリクスの係数の合計が同じとなる誤差マトリクスにより形成される群であることを特徴としている。 The present invention (Claim 2) is characterized in that the error matrix group is formed by an error matrix in which the sum of the coefficients of the error matrix in each row of the error matrix is the same.
本発明(請求項3)は、誤差マトリクス群は誤差マトリクスの各行の誤差マトリクスの係数を入れ替えた誤差マトリクスにより形成される群であることを特徴としている。 The present invention (Claim 3) is characterized in that the error matrix group is formed by an error matrix in which the coefficients of the error matrix of each row of the error matrix are replaced.
本発明(請求項4)、誤差マトリクス群は誤差マトリクスの各行の誤差マトリクスの係数の周辺部を入れ替えた誤差マトリクスにより形成される群であることを特徴としている。 The present invention (Claim 4) is characterized in that the error matrix group is a group formed by an error matrix in which the periphery of the error matrix coefficient in each row of the error matrix is replaced.
本発明(請求項5)は、誤差マトリクス群は誤差マトリクスのある1行の誤差マトリクスの係数を入れ替えた誤差マトリクスにより形成される群であることを特徴としている。 The present invention (Claim 5) is characterized in that the error matrix group is a group formed by an error matrix in which the coefficients of the error matrix in one row having the error matrix are replaced.
本発明(請求項6)は、誤差マトリクス群は誤差マトリクスのある1行の誤差マトリクスの係数の周辺部を入れ替えた誤差マトリクスにより形成される群であることを特徴としている。 The present invention (Claim 6) is characterized in that the error matrix group is a group formed by an error matrix in which the peripheral portions of the coefficients of the error matrix in one row with the error matrix are replaced.
本発明(請求項7)は、画素位置yは、yが1行毎に誤差マトリクス群より1つの誤差マトリクスを選択することを特徴としている。 The present invention (Claim 7) is characterized in that the pixel position y selects one error matrix from the error matrix group for each row of y.
本発明(請求項8)は、所定の画素位置yは、yが複数行毎に誤差マトリクス群より1つの誤差マトリクスを選択することを特徴としている。 The present invention (claim 8) is characterized in that, for a predetermined pixel position y, y selects one error matrix from an error matrix group for each of a plurality of rows.
本発明(請求項9)は、所定の画素位置yは、yが乱数で得られた行毎に誤差マトリクス群より1つの誤差マトリクスを選択することを特徴としている。 The present invention (claim 9) is characterized in that, for the predetermined pixel position y, one error matrix is selected from the error matrix group for each row in which y is obtained as a random number.
本発明(請求項10)は、誤差マトリクス群より順番に1つの誤差マトリクスを選択することを特徴としている。 The present invention (claim 10) is characterized in that one error matrix is selected in order from the error matrix group.
本発明(請求項11)は、誤差マトリクス群よりランダムに1つの誤差マトリクスを選択することを特徴としている。 The present invention (claim 11) is characterized in that one error matrix is randomly selected from the error matrix group.
本発明(請求項12)は、誤差マトリクスは前記誤差マトリクス群を記憶したLUTより求めることを特徴としている。 The present invention (Claim 12) is characterized in that the error matrix is obtained from an LUT storing the error matrix group.
本発明(請求項13)は、誤差マトリクスは前記誤差マトリクスの係数入れ替えを逐次処理で求めることを特徴としている。 The present invention (Claim 13) is characterized in that the error matrix is obtained by sequential processing of replacing the coefficients of the error matrix.
本発明(請求項14)は、主走査方向の処理を順方向または逆方向に切り替えることを特徴としている。 The present invention (Claim 14) is characterized in that the processing in the main scanning direction is switched to the forward direction or the reverse direction.
本発明(請求項15)は、多値(M値)画像データを、平均誤差最小法を用いてN値(M>N≧2)に量子化し、該N値の夫々に対応したドットを用いて記録を行う画像記録装置であって、注目画素の多値画像データに、周辺の既に量子化済みの画素から重み付け積和された誤差を加えた補正データを出力する手段と、前記補正データと前記量子化閾値とを比較して、N値画像データを出力する手段と、前記N値画像データの生成に伴って発生する誤差を算出する手段と、を備え前記注目画素の画素位置を(x,y)とするとき画素位置yに応じて誤差マトリクス群より1つの誤差マトリクスを選択することを特徴としている。 The present invention (Claim 15) quantizes multi-value (M-value) image data into N values (M> N ≧ 2) using the average error minimum method, and uses dots corresponding to the respective N values. An image recording apparatus for recording, wherein means for outputting correction data obtained by adding a weighted product-sum error from surrounding already quantized pixels to multi-valued image data of a target pixel; and the correction data Means for comparing the quantization threshold value and outputting N-value image data; and means for calculating an error caused by the generation of the N-value image data. , Y), one error matrix is selected from the error matrix group according to the pixel position y.
本発明(請求項16)は、多値(M値)画像データを、平均誤差最小法を用いてN値(M>N≧2)に量子化し、該N値の夫々に対応したドットを用いて記録を行う画像記録方法の記録制御処理をコンピュータに実行させるプログラムであって、注目画素の多値画像データに、周辺の既に量子化済みの画素から重み付け積和された誤差を加えた補正データを出力する工程のコードと、前記補正データと前記量子化閾値とを比較して、N値画像データを出力する工程のコードと、前記N値画像データの生成に伴って発生する誤差を算出する工程のコードと、を備え前記注目画素の画素位置を(x,y)とするとき画素位置yに応じて誤差マトリクス群より1つの誤差マトリクスを選択することを特徴としている。 The present invention (Claim 16) quantizes multi-value (M-value) image data into N values (M> N ≧ 2) using an average error minimum method, and uses dots corresponding to the respective N values. Is a program that causes a computer to execute a recording control process of an image recording method for recording, and adds correction data obtained by adding a weighted product-sum error from surrounding already quantized pixels to multi-valued image data of a pixel of interest Is compared with the correction data and the quantization threshold, and the error code generated when the N-value image data is generated is calculated. And an error matrix is selected from an error matrix group according to the pixel position y, where (x, y) is the pixel position of the target pixel.
本発明によれば、画素位置を(x,y)とするとき画素位置yに応じて、誤差マトリクスの各行の誤差マトリクスの係数の合計が同じとなる誤差マトリクス群より1つの誤差マトリクスを選択することでテクスチャを最小限に抑えることができ、画質への悪影響を解消することができる。 According to the present invention, when the pixel position is (x, y), one error matrix is selected from the error matrix group in which the sum of the coefficients of the error matrix in each row of the error matrix is the same according to the pixel position y. Thus, the texture can be minimized and the adverse effect on the image quality can be eliminated.
請求項1、15、16記載の発明では、注目画素の画素位置を(x,y)とするとき画素位置yに応じて誤差マトリクス群より1つの誤差マトリクスを選択することによりテクスチャを目立たなくさせ、良好な画質の出力画像結果を得ることができ、画質への悪影響を解消する。 In the first, fifteenth and sixteenth aspects of the invention, when the pixel position of the target pixel is (x, y), the texture is made inconspicuous by selecting one error matrix from the error matrix group according to the pixel position y. Therefore, an output image result with good image quality can be obtained, and adverse effects on image quality are eliminated.
請求項2記載の発明では、誤差マトリクスの各行の誤差マトリクスの係数の合計が同じとなる誤差マトリクスにより形成される群より誤差マトリクスを選択することで濃度保存の原則を守りつつテクスチャを目立たなくさせ、良好な画質の出力画像結果を得ることができ、画質への悪影響を解消する。 According to the second aspect of the present invention, by selecting an error matrix from a group formed by an error matrix having the same error matrix coefficient in each row of the error matrix, the texture is made inconspicuous while keeping the principle of density preservation. Therefore, an output image result with good image quality can be obtained, and adverse effects on image quality are eliminated.
請求項3記載の発明では、誤差マトリクスの各行の誤差マトリクスの係数を入れ替えた誤差マトリクスより形成される群より誤差マトリクスを選択することで、誤差マトリクス群を容易に形成し、濃度保存の原則を守りつつテクスチャを目立たなくさせ、良好な画質の出力画像結果を得ることができ、画質への悪影響を解消する。 According to the third aspect of the present invention, the error matrix group can be easily formed by selecting the error matrix from the group formed from the error matrix in which the error matrix coefficient of each row of the error matrix is replaced, and the principle of density preservation is set. The texture can be made inconspicuous while being protected, and an output image result with good image quality can be obtained, and the adverse effect on the image quality can be eliminated.
請求項4、6記載の発明では、誤差マトリクスの各行の誤差マトリクスの係数の周辺部を入れ替えることにより、画質の良好な誤差マトリクス群を容易に形成し、かつ、係数を入れ替える回数を減らし高速な処理を得ることができ、画質への悪影響を解消する。 According to the fourth and sixth aspects of the present invention, by replacing the peripheral portions of the error matrix coefficients in each row of the error matrix, an error matrix group with good image quality can be easily formed, and the number of times of replacing the coefficients can be reduced and increased. Processing can be obtained, and adverse effects on image quality are eliminated.
請求項5記載の発明では、誤差マトリクスのある1行の誤差マトリクスの係数を入れ替えることにより、係数を入れ替える回数を減らし高速な処理を得ることができ、画質への悪影響を解消する。 According to the fifth aspect of the invention, by exchanging the coefficients of the error matrix in one row with the error matrix, the number of times of exchanging the coefficients can be reduced, and high-speed processing can be obtained, and the adverse effect on the image quality can be eliminated.
請求項7記載の発明では、1行毎に誤差マトリクスを選択することにより、テクスチャを目立たなくさせ良好な画質の出力画像結果を得ることができ、画質への悪影響を解消する。 According to the seventh aspect of the invention, by selecting an error matrix for each line, it is possible to make the texture inconspicuous and obtain an output image result with good image quality, and to eliminate the adverse effect on the image quality.
請求項8記載の発明では、複数行毎に誤差マトリクスを選択することにより、誤差マトリクスを切り替える回数を減らし高速に、かつ、テクスチャを目立たなくさせ良好な画質の出力画像結果を得ることができ、画質への悪影響を解消する。 In the invention according to claim 8, by selecting an error matrix for each of a plurality of rows, the number of times of switching the error matrix can be reduced, and the texture can be made inconspicuous and an output image result with good image quality can be obtained. Eliminate adverse effects on image quality.
請求項9記載の発明では、乱数で得られた行毎に誤差マトリクスを選択することにより、誤差マトリクスを切り替わりを目立たなくし、かつ、テクスチャを目立たなくさせ良好な画質の出力画像結果を得ることができ、画質への悪影響を解消する。 According to the ninth aspect of the present invention, by selecting an error matrix for each row obtained by random numbers, it is possible to make the error matrix inconspicuous and make the texture inconspicuous and obtain an output image result with good image quality. Yes, to eliminate the negative effect on image quality.
請求項10記載の発明では、誤差マトリクスを順番に選択することにより、誤差マトリクスの選択を容易にすることができ、処理を高速化することができる。 In the tenth aspect, by selecting the error matrix in order, the error matrix can be easily selected, and the processing can be speeded up.
請求項11記載の発明では、誤差マトリクスをランダムに選択することにより、テクスチャを目立たなくさせ良好な画質の出力画像結果を得ることができ、画質への悪影響を解消する。 According to the eleventh aspect of the present invention, by randomly selecting the error matrix, it is possible to make the texture inconspicuous and obtain an output image result with good image quality, and to eliminate the adverse effect on the image quality.
請求項12記載の発明では、誤差マトリクスをLUTより求めることにより、誤差マトリクスの読み出しを高速にすることができる。 In the invention described in claim 12, the error matrix can be read at high speed by obtaining the error matrix from the LUT.
請求項13記載の発明では、誤差マトリクスの係数入れ替える逐次処理で行うことにより、LUTを必要とせず省メモリ化することができる。 In the invention described in claim 13, by performing the sequential process of exchanging the coefficients of the error matrix, it is possible to save memory without requiring an LUT.
請求項14記載の発明では、主走査方向の処理を順方向または逆方向に切り替えることにより、テクスチャを目立たなくさせ良好な画質の出力画像結果を得ることができ、画質への悪影響を解消する。 According to the fourteenth aspect of the invention, by switching the processing in the main scanning direction to the forward direction or the reverse direction, the texture can be made inconspicuous and an output image result with good image quality can be obtained, and the adverse effect on the image quality can be eliminated.
以下、発明の実施の形態について図面により詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の実施例1に係る画像処理装置の構成を示す。図2は、本発明が適用される画像記録装置の構成を示す。図3は、本発明の画像処理装置を用いて構成される画像入出力システムの構成を示す。 FIG. 1 shows the configuration of an image processing apparatus according to Embodiment 1 of the present invention. FIG. 2 shows the configuration of an image recording apparatus to which the present invention is applied. FIG. 3 shows a configuration of an image input / output system configured using the image processing apparatus of the present invention.
図3において、画像入力装置301はスキャナやディジタルカメラ等の入力デバイスを示し、入力画像について例えば8ビット精度ならば256階調の画像データとして取り込まれる。この多値画像データが本発明の画像処理装置302に入力される。
In FIG. 3, an
画像処理装置(画像処理部)302では、画像入力装置301から入力された256階調の画像データに対し、この後段の画像出力装置303で出力可能な階調数に変換する処理を行う。この階調数変換処理ではMAEを用いてもよい。画像処理装置302で量子化した画像データが図2に構成を示すような画像記録装置(画像形成装置、画像出力装置)303に送られる。
The image processing device (image processing unit) 302 performs processing for converting the 256-gradation image data input from the
図2において、画像出力装置303は、フレーム201に横架したガイドレール202,203に移動可能に載設されたキャリッジ204にインクジェット記録ヘッド205(以下、記録ヘッド)を搭載し、図示しないモータ等の駆動源によってキャリッジをガイドレール方向に移動して走査(主走査)可能とするとともに、ガイド板206にセットされる用紙207を、図示しない駆動源によってドライブギヤ208及びスプロケットギヤ209を介して回動される送りノブ210aを備えたプラテン210で取込み、プラテン210周面とこれに圧接するプレッシャローラ211とによって搬送し、記録ヘッド205によって用紙207に印字記録する。
In FIG. 2, an
記録ヘッド205は、図4に示すブラック(K)、イエロー(Y)、マゼンタ(M)及びシアン(C)の各インクをそれぞれ吐出するための4個のインクジェットヘッド(4K、4Y、4M、4C)や、図5に示すブラック(K)、イエロー(Y)、マゼンタ(M)、シアン(C)、ライトイエロー(LY)、ライトマゼンタ(LM)及びライトシアン(LC)の各インクをそれぞれ吐出するための7個のインクジェットヘッド(5K、5Y、5M、5C、5LY、5LM、5LM)を主走査方向の同一線上に配置して構成している。商品構成によってはインクの数を増減させても何ら構わない。具体的にはハイライト部でイエローのドットは目視し難い特性を持つのでライトイエローを省いてコストダウンした構成としても良いし、また、ライトブラックや、シアン、マゼンタ、イエロー、ブラックの各色の濃度を3段、4段に分けた構成にして高画質を実現した記録ヘッドとしてもよい。
The
上記の各インクジェットヘッドは、例えば圧電素子、気泡発生用ヒータ等のエネルギー発生手段であるアクチュエータを選択的に駆動して、液室内のインクに圧力を与えることによって、この液室に連通するノズルからインク滴を吐出飛翔させて、用紙207に付着させることで画像記録(画像形成)する。画像記録装置303は電子写真を用いて画像記録(画像形成)する場合等でも本発明にかかる処理方法が適用可能である。
Each of the above-described ink jet heads selectively drives an actuator, which is an energy generating means such as a piezoelectric element or a bubble generating heater, to apply pressure to the ink in the liquid chamber, and thereby from the nozzle communicating with the liquid chamber. An image is recorded (image formation) by ejecting ink droplets and making them adhere to the
また、図3のシステム構成図では、処理に応じてそれぞれの装置を独立したものとして示したが、この限りではなく、画像処理装置302の機能が画像入力装置301中に存在する形態や、画像出力装置303中に存在する形態等もある。
In the system configuration diagram of FIG. 3, each device is illustrated as independent depending on the processing. However, the present invention is not limited to this, and the form in which the function of the
図1は、図3に示す画像処理装置302の構成を示す。入力端子101からは画像入力装置301より多値画像データが入力される。ここで、2次元の画像データを表わすために、In(x,y)として表わす(xは画像の主走査方向のアドレス、yは副走査方向のアドレスを示す)。
FIG. 1 shows the configuration of the
次に、この入力データIn(x,y)が加算器103に入力される。加算器103は入力データIn(x,y)と誤差成分E(x,y)を加算し、補正データC(x,y)を計算する。
Next, the input data In (x, y) is input to the
また、入力データIn(x,y)は係数選択部106に入力され、本発明にかかわる誤差マトリクスM(y)の設定を行う。ここで誤差マトリクスM(y)は、図7に示すM1、図8に示すM2の2種類で説明する(もちろんこの種類以外にも同様に適用することが可能である)。
The input data In (x, y) is input to the
図7に示す誤差マトリクスM1は、注目画素位置705に対し係数701から704のように周辺画素の量子化誤差を重み付け参照するマトリクスであり、図8に示す誤差マトリクスM2は注目画素位置805に対し係数801から804のように周辺画素の量子化誤差を重み付け参照するマトリクスである。誤差マトリクスM1、M2は誤差の参照方向の重み付けが異なるのでドット分散性が異なる。
The error matrix M1 shown in FIG. 7 is a matrix that weights and references the quantization error of the peripheral pixels like the
係数選択部106は入力データIn(x,y)のyが奇数であれば誤差マトリクスM1を、yが偶数であれば誤差マトリクスM2を選択し、誤差マトリクスM(y)として出力する。
The
比較判定部102は、入力データIn(x,y)に誤差E(x,y)が加算された補正データC(x,y)と閾値Thに基づいて下記のように出力する濃度値Out(x,y)を決定する。閾値Thは2値MAEであれば出力値0、255の中間値127に設定する。
The comparison /
If(C(x,y)<Th )
then Out(x,y)=0 (1)
Else
then Out(x,y)=255 (2)
このOut(x,y)が出力端子107から画像出力装置303に対して出力される。
If (C (x, y) <Th)
then Out (x, y) = 0 (1)
Else
then Out (x, y) = 255 (2)
This Out (x, y) is output from the
また、出力値Out(x,y)は減算器105に入力され、補正データC(x,y)から減算されて、現画素で発生した誤差e(x,y)が算出され、誤差データは誤差メモリ108に格納される。
The output value Out (x, y) is input to the
次に、誤差重付け積和104では係数選択部106で設定された誤差マトリクスM(y)に基づいて、誤差メモリ108に格納されているIn(x,y)の周辺画素の量子化誤差をe(x,y)より誤差の重み付け積和を行い誤差成分E(x,y)を計算する。ここで図7に示す誤差マトリクスM1を用いた場合、誤差重付け積和104では下記の処理を行い、誤差成分E(x,y)を計算し加算器103へ出力する。
E(x,y)={e(x−1,y)×7
+e(x−1,y−1)
+e(x,y−1)×3
+e(x+1,y−1)×5}/16 (3)
以上のように図1の構成によって、画像処理部におけるMAE処理が行われる。
Next, in the error weighted
E (x, y) = {e (x-1, y) × 7
+ E (x-1, y-1)
+ E (x, y-1) × 3
+ E (x + 1, y-1) × 5} / 16 (3)
As described above, the MAE process in the image processing unit is performed by the configuration of FIG.
次に、このような処理により、なぜMAEで誤差マトリクスを切り替えても濃度保存するのかについて説明する。MAEでは量子化で生じた誤差を周辺画素から参照される。この重み付け参照された合計が「1」でなければ画像の濃度を保存しない。 Next, the reason why the density is preserved even if the error matrix is switched by MAE by such processing will be described. In MAE, an error caused by quantization is referred to from neighboring pixels. If the weighted sum is not "1", the image density is not stored.
量子化誤差をe(x,y)とし、y行において図7に示す誤差マトリクスM1を用いて、y+1行において図8に示す誤差マトリクスM2を用いた場合で説明する。y行では誤差マトリクスM1の係数704を、y+1行では誤差マトリクスM2の係数801、802、803を用いることになる。誤差を参照する画素のアドレス(x,y)とe(x,y)の重み付け参照される値は次のようになる。
(x−1,y):e(x,y)×7/16 (4)
(x−1,y+1):e(x,y)×5/16 (5)
(x,y+1):e(x,y)×3/16 (6)
(x+1,y+1):e(x,y)×1/16 (7)
同様に、y行において図8に示す誤差マトリクスM2を用いて、y+1行において図7に示す誤差マトリクスM1を用いた場合で説明する。y行では誤差マトリクスM2の係数804を、y+1行では誤差マトリクスM1の係数701、702、703を用いることになる。誤差を参照する画素のアドレス(x,y)とe(x,y)の重み付け参照される値は次のようになる。
(x−1,y):e(x,y)×7/16 (8)
(x−1,y+1):e(x,y)×1/16 (9)
(x,y+1):e(x,y)×3/16 (10)
(x+1,y+1):e(x,y)×5/16 (11)
y行で図7に示す誤差マトリクスM1を用いて、y+1行で図8に示す誤差マトリクスM2を用いた場合と、y行で図8に示す誤差マトリクスM2を用いて、y+1行で図7に示す誤差マトリクスM1を用いた場合のいずれにおいても、y行で重み付け参照される値の合計とy+1行で重み付け参照される値の合計はお互いに変わっていない。図7、8に示す誤差マトリクスM1、M2のように、各行での誤差マトリクスの係数を入れ替えた誤差マトリクスであれば誤差マトリクスを切り替えても濃度は保存することになる。このような誤差マトリクスで群を形成し、入力データIn(x,y)のアドレスyに応じて誤差マトリクスを切り替えるならばMAEでも濃度を保存し、テクスチャを抑制することができる。
A case will be described where the quantization error is e (x, y), the error matrix M1 shown in FIG. 7 is used in the y row, and the error matrix M2 shown in FIG. 8 is used in the y + 1 row. The
(X-1, y): e (x, y) × 7/16 (4)
(X-1, y + 1): e (x, y) × 5/16 (5)
(X, y + 1): e (x, y) × 3/16 (6)
(X + 1, y + 1): e (x, y) × 1/16 (7)
Similarly, a case will be described where the error matrix M2 shown in FIG. 8 is used in the y row and the error matrix M1 shown in FIG. 7 is used in the y + 1 row. The coefficient 804 of the error matrix M2 is used in the y row, and the
(X-1, y): e (x, y) × 7/16 (8)
(X-1, y + 1): e (x, y) x 1/16 (9)
(X, y + 1): e (x, y) × 3/16 (10)
(X + 1, y + 1): e (x, y) × 5/16 (11)
7 using the error matrix M1 shown in FIG. 7 for the y row, and using the error matrix M2 shown in FIG. 8 for the y + 1 row, and using the error matrix M2 shown in FIG. In any of the cases where the error matrix M1 shown is used, the sum of the values weighted and referenced in the y row and the sum of the values weighted and referenced in the y + 1 row are not different from each other. As in the error matrices M1 and M2 shown in FIGS. 7 and 8, if the error matrix is an error matrix in which the coefficients of the error matrix in each row are replaced, the density is preserved even if the error matrix is switched. If a group is formed with such an error matrix and the error matrix is switched according to the address y of the input data In (x, y), the density can be preserved even with MAE, and the texture can be suppressed.
実施例2は、図1の係数選択部106で選択される誤差マトリクスM(y)が図7に示すM1と、図9に示すM3の2種類の場合の実施例である(もちろん、上記した種類以外にも同様に適用することが可能である)。
The second embodiment is an embodiment in which the error matrix M (y) selected by the
図9に示す誤差マトリクスM3は、注目画素位置910に対し係数901から909のように周辺画素の量子化誤差を重み付け参照するマトリクスである。誤差マトリクスM1、M3は誤差の参照重み付けが異なるのでドット分散性が異なる。係数選択部106は入力データIn(x,y)のyが奇数であれば誤差マトリクスM1を、yが偶数であれば誤差マトリクスM3を選択し、誤差マトリクスM(y)として出力する。
An error matrix M3 shown in FIG. 9 is a matrix for weighting and referring to quantization errors of peripheral pixels such as
量子化誤差をe(x,y)とし、y行で図7に示す誤差マトリクスM1を用いて、y+1行で図9に示す誤差マトリクスM3を用いた場合で説明する。y行では誤差マトリクスM1の係数704を、y+1行では誤差マトリクスM3の係数901〜906を用いる。誤差を参照する画素のアドレス(x,y)とe(x,y)の重み付け参照される値は次のようになる。
(x−1,y):e(x,y)×7/16 (12)
(x−3,y+1):e(x,y)×1/16 (13)
(x−2,y+1):e(x,y)×2/16 (14)
(x−1,y+1):e(x,y)×2/16 (15)
(x,y+1):e(x,y)×2/16 (16)
(x+1,y+1):e(x,y)×1/16 (17)
(x+2,y+1):e(x,y)×1/16 (18)
同様に、y行で図9に示す誤差マトリクスM3を用いて、y+1行で図7に示す誤差マトリクスM1を用いた場合で説明する。y行では誤差マトリクスM3の係数907〜909を、y+1行では誤差マトリクスM1の係数701〜703を用いる。誤差を参照する画素のアドレス(x,y)とe(x,y)の重み付け参照される値は次のようになる。
(x−1,y):e(x,y)×4/16 (19)
(x−2,y):e(x,y)×2/16 (20)
(x−3,y):e(x,y)×1/16 (21)
(x−1,y+1):e(x,y)×1/16 (22)
(x,y+1):e(x,y)×3/16 (23)
(x+1,y+1):e(x,y)×5/16 (24)
y行で図7に示す誤差マトリクスM1を用いて、y+1行で図9に示す誤差マトリクスM3を用いた場合と、y行で図9に示す誤差マトリクスM3を用いて、y+1行で図7に示す誤差マトリクスM1を用いた場合のいずれにおいても、y行で重み付け参照される値の合計とy+1行で重み付け参照される値の合計はお互いに変わっていない。図7、9に示す誤差マトリクスM1、M3のように、各行での誤差マトリクスの係数の合計が変わらない誤差マトリクスであれば誤差マトリクスを切り替えても濃度が保存されることになる。このような誤差マトリクスで群を形成し、入力データIn(x,y)のアドレスyに応じて誤差マトリクスを切り替えるならばMAEでも濃度を保存し、テクスチャを抑制することができる。
A case will be described where the quantization error is e (x, y), the error matrix M1 shown in FIG. 7 is used in the y row, and the error matrix M3 shown in FIG. 9 is used in the y + 1 row. The
(X-1, y): e (x, y) × 7/16 (12)
(X−3, y + 1): e (x, y) × 1/16 (13)
(X−2, y + 1): e (x, y) × 2/16 (14)
(X-1, y + 1): e (x, y) × 2/16 (15)
(X, y + 1): e (x, y) × 2/16 (16)
(X + 1, y + 1): e (x, y) × 1/16 (17)
(X + 2, y + 1): e (x, y) × 1/16 (18)
Similarly, a case will be described where the error matrix M3 shown in FIG. 9 is used for the y row and the error matrix M1 shown in FIG. 7 is used for the y + 1 row. The
(X-1, y): e (x, y) × 4/16 (19)
(X−2, y): e (x, y) × 2/16 (20)
(X-3, y): e (x, y) x 1/16 (21)
(X-1, y + 1): e (x, y) x 1/16 (22)
(X, y + 1): e (x, y) × 3/16 (23)
(X + 1, y + 1): e (x, y) × 5/16 (24)
7 using the error matrix M1 shown in FIG. 7 for the y row and using the error matrix M3 shown in FIG. 9 for the y + 1 row, and FIG. 7 using the error matrix M3 shown in FIG. 9 for the y row. In any of the cases where the error matrix M1 shown is used, the sum of the values weighted and referenced in the y row and the sum of the values weighted and referenced in the y + 1 row are not different from each other. As in the error matrices M1 and M3 shown in FIGS. 7 and 9, if the error matrix does not change the sum of the error matrix coefficients in each row, the density is preserved even when the error matrix is switched. If a group is formed with such an error matrix and the error matrix is switched according to the address y of the input data In (x, y), the density can be preserved even with MAE and the texture can be suppressed.
図10は、本発明の実施例3に係る画像処理装置の構成を示す。入力データIn(x,y)が加算器1003に入力される。加算器1003は入力データIn(x,y)と誤差成分E(x,y)を加算し補正データC(x,y)を計算する。
FIG. 10 shows the configuration of an image processing apparatus according to Embodiment 3 of the present invention. Input data In (x, y) is input to the
また、入力データIn(x,y)は係数選択部1006に入力される。係数選択部1006は入力データIn(x,y)と、0から9までの整数の乱数を出力する乱数発生部1009からの乱数Rより誤差マトリクスM(y)の設定を行う。ここで誤差マトリクスM(y)は図9に示す誤差マトリクスM3で説明する(もちろんこの種類以外にも同様に適用することが可能である)。係数選択部1006は入力データIn(x,y)のyが変化したとき、乱数Rの示す値の回数だけ誤差マトリクスM3の全ての行において、その行の係数を入れ替える。今、乱数の示す値をNとすると、係数901から係数906までの6個でN回係数を入れ替え、係数907から係数909までの3個でN回係数を入れ替える。乱数により係数を入れ替えた誤差マトリクスは誤差の参照方向の重み付けが入れ替え前と異なるのでドット分散性が異なる。入れ替えることによって得られた誤差マトリクスを誤差マトリクスM(y)として誤差重付け積和1004へ出力する。
Further, the input data In (x, y) is input to the
比較判定部1002は、入力データIn(x,y)に誤差E(x,y)が加算された補正データC(x,y)と閾値Thに基づいて式(1)、式(2)のように出力する濃度値Out(x,y)を決定する。閾値Thは2値MAEであれば出力値0、255の中間値127に設定する。Out(x,y)は出力端子1007から画像出力装置303に対して出力される。
The comparison /
また、出力値Out(x,y)は減算器1005に入力され、補正データC(x,y)から減算されて、現画素で発生した誤差e(x,y)が算出され、誤差データは誤差メモリ1008に格納される。
The output value Out (x, y) is input to the
次に、誤差重付け積和1004では係数選択部1006で設定された誤差マトリクスM(y)に基づいて、誤差メモリ1008に格納されているIn(x,y)の周辺画素の量子化誤差をe(x,y)より誤差の重み付け積和を行い誤差成分E(x,y)を計算し加算器1003へ出力する。
Next, in the error weighted
以上のように図10の構成によって、画像処理部におけるMAE処理が行われる。 As described above, the MAE process in the image processing unit is performed by the configuration of FIG.
ランダムに係数を入れ替えることにより、実施例1、2のように係数選択部に複数の誤差マトリクスを記憶しておく必要がなく、多くの誤差マトリクスを利用することができる。特に図9に示す誤差マトリクスM3のようなマトリクスサイズが大きい場合では係数の配置によっては記憶するマトリクスが多くなりすぎる。 By randomly exchanging the coefficients, it is not necessary to store a plurality of error matrices in the coefficient selection unit as in the first and second embodiments, and many error matrices can be used. In particular, when the matrix size is large, such as the error matrix M3 shown in FIG. 9, there are too many stored matrices depending on the arrangement of the coefficients.
各行での誤差マトリクスの係数をランダムに入れ替えた誤差マトリクスであれば各行で重み付け参照される値の合計が変わらないので、誤差マトリクスを切り替えるMAEでも濃度を保存し、テクスチャを抑制することができる。 If the error matrix is obtained by randomly replacing the error matrix coefficients in each row, the sum of values weighted and referenced in each row does not change. Therefore, the MAE that switches the error matrix can also save the density and suppress the texture.
応用例として次のような実施例もある。
実施例3では、乱数Rの示す値の回数だけ誤差マトリクスM3の全ての行において、その行の係数を入れ替えたが、ある行の係数を入れ替えるだけでもよい。入力データIn(x,y)のyが奇数であれば係数901から906の行だけ係数を入れ替え、yが偶数であれば係数907から909の行だけ係数を入れ替えるようにしてもよい。誤差マトリクスのある1行だけ係数を入れ替えることは全ての行で係数を入れ替えるより高速に処理することが可能となる。
There are also the following embodiments as application examples.
In the third embodiment, the coefficient of the row is replaced in all rows of the error matrix M3 by the number of times indicated by the random number R. However, the coefficient of a certain row may be replaced. If y of the input data In (x, y) is an odd number, the coefficients may be exchanged only for the rows of the
また、誤差マトリクスは係数904や係数909のように注目画素位置910に対して近い画素を参照する係数ほど大きな値とすることが画像設計上好ましい。ある行のすべての係数を入れ替えてしまった場合において、注目画素に近い大きな値をもつ係数が誤差マトリクスの周辺、すなわち係数901、902や906などに行くことがあり、好ましくない。そこで誤差マトリクスの周辺の係数のみを入れ替えることで高画質となり、全ての係数を入れ替える場合より高速に処理することが可能となる。
Further, it is preferable in terms of image design that the error matrix has a larger value as a coefficient that refers to a pixel closer to the
実施例3では逐次処理で係数を入れ替えたが、より高速に処理したい場合は次のようにしてもよい。係数選択部1006において図9に示す誤差マトリクスM3で係数を入れ替えた誤差マトリクスをLUTに記憶しておき、LUTより呼び出してもよい。逐次計算で係数を入れ替えるよりも高速に処理したい場合において有効である。
In the third embodiment, the coefficients are replaced by sequential processing. However, the processing may be performed as follows when processing at higher speed is desired. In the
また、係数選択部1006において、図7に示す誤差マトリクスM1、図8に示す誤差マトリクスM2と図9に示す誤差マトリクスM3などサイズの異なる複数の誤差マトリクスをLUTに記憶しておき、誤差マトリクスM1、M2、M3を順番にLUTより選択してもよいし、ランダムに選択してもよい。
Further, in the
実施例1、2、3では、入力データIn(x,y)のyが変化したとき、誤差マトリクスを切り替えていたが、3〜10行といった複数行単位で誤差マトリクスを切り替えてもよい。また乱数によって得られた値の行の処理が終わったら誤差マトリクスを切り替えてもよい。毎行誤差マトリクスを切り替えるより高速に処理することが可能となる。 In the first, second, and third embodiments, the error matrix is switched when y of the input data In (x, y) changes. However, the error matrix may be switched in units of a plurality of rows such as 3 to 10 rows. Further, the error matrix may be switched when processing of the row of values obtained by random numbers is completed. Processing can be performed at a higher speed than switching the error matrix for each row.
実施例1、2、3では、常に主走査方向の順方向に処理を行っているが、入力データIn(x,y)のy行毎に処理方向を順方向と逆方向に切り替えてもかまわない。順方向においては誤差マトリクスM1、M2、M3を用いて、逆方向では図11に示す誤差マトリクスM4や、図12に示す誤差マトリクスM5を用いてもかまわない。各行での誤差マトリクスの係数の合計が変わらない誤差マトリクスであれば、y行毎に処理方向を順方向と逆方向に切り替えるときに誤差マトリクスを切り替えても濃度が保存されることになる。このような誤差マトリクスで群を形成し、入力データIn(x,y)のアドレスyに応じて誤差マトリクスを切り替えるならばMAEでも濃度を保存し、テクスチャを抑制することができる。 In the first, second, and third embodiments, the processing is always performed in the forward direction of the main scanning direction. However, the processing direction may be switched between the forward direction and the reverse direction for every y rows of the input data In (x, y). Absent. The error matrix M1, M2, M3 may be used in the forward direction, and the error matrix M4 shown in FIG. 11 or the error matrix M5 shown in FIG. 12 may be used in the reverse direction. If the error matrix does not change the sum of the error matrix coefficients in each row, the density is preserved even when the error matrix is switched when the processing direction is switched between the forward direction and the reverse direction for each y row. If a group is formed with such an error matrix and the error matrix is switched according to the address y of the input data In (x, y), the density can be preserved even with MAE, and the texture can be suppressed.
上記した実施例1から実施例4は、2値MAE処理に対するものであったが、本発明は同様に多値MAEにも適用できる。また、本発明は、複数の機器(例えばホストコンピュータ、インタフェース機器、リーダ、プリンタなど)から構成されるシステムや、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)にも適用できる。 Although the first to fourth embodiments described above are for the binary MAE process, the present invention is also applicable to the multi-value MAE. The present invention can also be applied to a system constituted by a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.) and an apparatus (for example, a copying machine, a facsimile machine, etc.) comprising a single device.
また、本発明は、前述した実施例の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(CPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても達成される。この場合、記憶媒体から読出されたプログラムコード自体が前述した各実施例の機能を実現することになる。プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。また、コンピュータが読出したプログラムコードを実行することにより、前述した実施例の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した各実施例の機能が実現される場合も含まれる。さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した各実施例の機能が実現される場合も含まれる。 In addition, the present invention supplies a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (CPU or MPU) of the system or apparatus is stored in the storage medium. This can also be achieved by reading and executing the program code. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments. As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on an instruction of the program code. A case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included. Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. This includes the case where the CPU or the like provided in the board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
101 入力端子
102 比較判定部
103 加算器
104 誤差重み付け積和
105 減算器
106 係数選択部
107 出力端子
108 誤差メモリ
DESCRIPTION OF
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003417885A JP2005184085A (en) | 2003-12-16 | 2003-12-16 | Image forming apparatus, image recording apparatus and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003417885A JP2005184085A (en) | 2003-12-16 | 2003-12-16 | Image forming apparatus, image recording apparatus and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005184085A true JP2005184085A (en) | 2005-07-07 |
Family
ID=34780248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003417885A Pending JP2005184085A (en) | 2003-12-16 | 2003-12-16 | Image forming apparatus, image recording apparatus and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005184085A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010064447A (en) * | 2008-09-12 | 2010-03-25 | Brother Ind Ltd | Apparatus, method and program for processing image |
JP2013132898A (en) * | 2011-12-27 | 2013-07-08 | Brother Industries Ltd | Print control device and computer program |
US10362435B2 (en) | 2006-01-19 | 2019-07-23 | Locator IP, L.P. | Interactive advisory system |
-
2003
- 2003-12-16 JP JP2003417885A patent/JP2005184085A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10362435B2 (en) | 2006-01-19 | 2019-07-23 | Locator IP, L.P. | Interactive advisory system |
JP2010064447A (en) * | 2008-09-12 | 2010-03-25 | Brother Ind Ltd | Apparatus, method and program for processing image |
JP4670921B2 (en) * | 2008-09-12 | 2011-04-13 | ブラザー工業株式会社 | Image processing apparatus, image processing method, and image processing program |
US8419151B2 (en) | 2008-09-12 | 2013-04-16 | Brother Kogyo Kabushiki Kaisha | Inkjet printer |
JP2013132898A (en) * | 2011-12-27 | 2013-07-08 | Brother Industries Ltd | Print control device and computer program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4777268B2 (en) | Image forming apparatus and image processing apparatus control method | |
JP2020082373A (en) | Image processing device, image processing method, and program | |
JP4989378B2 (en) | Image processing method and recording apparatus | |
JP4599239B2 (en) | Image processing method and image processing apparatus | |
JP2009154391A (en) | Image formation device and image forming method | |
US8208751B2 (en) | Image processing apparatus, image processing method, and program | |
JP4375050B2 (en) | An image output system for outputting an image based on information on the number of dots formed in a predetermined area | |
JP3732470B2 (en) | Image processing apparatus, image recording apparatus, and program | |
JP2005184085A (en) | Image forming apparatus, image recording apparatus and program | |
JP4251492B2 (en) | Image processing apparatus, image recording apparatus, program, and recording medium | |
JP2006115431A (en) | Intermediate tone processor, printer, information processing apparatus, intermediate tone processing method and program | |
JP4274030B2 (en) | Image output system, image processing apparatus, image output apparatus, and methods thereof | |
JP4838769B2 (en) | Image processing apparatus, image processing method, and ink jet recording apparatus | |
JP2005224983A (en) | Image output system for outputting image according to information on number of dots formed in prescribed area | |
US8559082B2 (en) | Image processing apparatus for gamma conversion of image data | |
JP4979509B2 (en) | Data conversion apparatus, recording apparatus equipped with the apparatus, and data conversion method | |
JP5068243B2 (en) | Image processing apparatus, image recording apparatus, and program | |
JP2009049812A (en) | Image processor, image recording device, and program | |
JP2011071829A (en) | Dither matrix generation method and computer program | |
JP2012025121A (en) | Data processor and data processing method | |
JP2012126040A (en) | Image forming apparatus | |
JP4257087B2 (en) | Image processing apparatus, image recording apparatus, and program | |
JP5066509B2 (en) | Image processing apparatus, image recording apparatus, image processing method, image recording method, program, and storage medium | |
JP5015695B2 (en) | Image processing apparatus, image recording apparatus, and program | |
JP5341467B2 (en) | Image processing apparatus and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060824 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071221 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080220 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080418 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080716 |