JP2010141395A - Print controller, printing device, and print control program - Google Patents
Print controller, printing device, and print control program Download PDFInfo
- Publication number
- JP2010141395A JP2010141395A JP2008313102A JP2008313102A JP2010141395A JP 2010141395 A JP2010141395 A JP 2010141395A JP 2008313102 A JP2008313102 A JP 2008313102A JP 2008313102 A JP2008313102 A JP 2008313102A JP 2010141395 A JP2010141395 A JP 2010141395A
- Authority
- JP
- Japan
- Prior art keywords
- dither matrix
- image data
- density
- threshold
- change
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
- Color, Gradation (AREA)
Abstract
Description
本発明は、印刷のための処理に関し、特に、ディザマトリクスを用いて出力画像データを生成する技術に関するものである。 The present invention relates to processing for printing, and more particularly to a technique for generating output image data using a dither matrix.
画像の濃淡をプリンタで再現するための手法として、ディザ法が知られている(特許文献1参照)。ディザ法は、多値画像データに含まれる各画素の階調値(例えば256階調で表わされる階調値)と、ディザマトリクスの各要素の閾値と、を比較することによって、多値画像データからドットのオン/オフ(形成/非形成)を示す2値画像データを生成する処理(二値化処理)手法である。具体的には、画素の階調値が対応する閾値以上である場合には、ドットが形成されるように設定され、各画素の階調値が対応する閾値未満である場合には、ドットが形成されないように設定される。プリンタは、2値画像データに基づいて記録用紙上にドットを形成することで、ドットの出現頻度で濃淡が表現された画像を、記録用紙に印刷することができる。 A dither method is known as a method for reproducing the density of an image with a printer (see Patent Document 1). In the dither method, multi-value image data is compared by comparing the tone value of each pixel included in the multi-value image data (for example, the tone value represented by 256 tones) and the threshold value of each element of the dither matrix. Is a processing (binarization processing) method for generating binary image data indicating ON / OFF (formation / non-formation) of dots. Specifically, when the gradation value of the pixel is equal to or greater than the corresponding threshold value, the dot is set to be formed. When the gradation value of each pixel is less than the corresponding threshold value, the dot is set. It is set not to be formed. The printer forms dots on the recording paper based on the binary image data, so that an image in which the density is expressed by the frequency of dot appearance can be printed on the recording paper.
また、特許文献2には、プリンタにより印刷されたパターンを測色し、その測色結果に基づいて、所望の濃度特性となるようにディザマトリクスを設計することが記載されている。
しかしながら、対象画像の階調を適切に再現できるように開発段階で最適なディザマトリクスを設計したとしても、ユーザが使用する個別の機器の特性が、開発段階で使用された機器の特性と同じとは限らず、また、使用環境も様々に変化する。そのため、ドットの定着のしやすさにバラツキが発生し得る。そして、ドットが単独またはごく少数で配置される部分(淡い色が再現される部分)は、特に、その定着のしやすさが不安定であるため、こうした個体差や環境変化によるバラツキの影響を受けやすく、濃くなりすぎたり、薄くなりすぎたり、全く見えなくなったりという問題が発生しやすい。 However, even if the optimal dither matrix is designed at the development stage so that the gradation of the target image can be properly reproduced, the characteristics of the individual equipment used by the user are the same as the characteristics of the equipment used at the development stage. In addition, the usage environment changes in various ways. For this reason, the dot can be easily fixed. And in the part where dots are arranged alone or in a very small number (part where light color is reproduced), the ease of fixing is particularly unstable, so the influence of variations due to individual differences and environmental changes is not affected. It is easy to receive, and it tends to cause problems such as being too dark, too thin, or completely invisible.
図17は、従来のプリンタにおいて、淡い画像を印刷する場合に、ドットの定着のしやすさの違いによって、画像にどのような影響が表れるかを説明する図である。図17に示すように、ドットが正常よりも定着しにくい場合は、ほとんど視認することができない程度にまで画像が薄く印刷されてしまい、一方、ドットが正常よりも定着しやすい場合は、本来、淡く印刷したい画像が、濃く印刷されてしまう。 FIG. 17 is a diagram for explaining how an image is affected by the difference in ease of dot fixing when a light image is printed in a conventional printer. As shown in FIG. 17, when the dots are harder to fix than normal, the image is printed so thin that it is hardly visible, whereas when the dots are more likely to fix than normal, The image that you want to print lightly is printed darkly.
本発明は、上記問題点を解決するためになされたものであり、出力画像において、最小の濃度を適切に表現することを目的としている。 The present invention has been made to solve the above-described problems, and an object thereof is to appropriately express the minimum density in an output image.
この目的を達成するために、本発明の第1の装置は、対象画像を表す対象画像データを出力画像を表す出力画像データに変換し、前記出力画像を、印刷部に印刷させる印刷制御装置であって、前記印刷部に、互いに濃度が異なる複数種類のパッチを印刷させるパッチ印刷制御手段と、前記印刷部により印刷される前記複数種類のパッチの中からいずれかのパッチを選択する選択手段と、予め準備された基準ディザマトリクスが有する閾値群のうち少なくとも一部が変更された変更ディザマトリクスを生成する変更手段と、前記変更ディザマトリクスを用いて、前記対象画像データを前記出力画像データに変換するディザ手段とを備え、前記変更手段は、仮に、前記対象画像データに含まれる各画素の濃淡レベルが0を除く最小の値である場合に、前記対象画像データを前記変換ディザマトリクスを用いて変換して得られる前記出力画像データに基づいて前記印刷部により印刷される前記出力画像の濃度が、前記選択されたパッチの濃度と等しくなるように、前記基準ディザマトリクスが有する閾値群のうち少なくとも一部を変更して、前記変更ディザマトリクスを生成する。 In order to achieve this object, a first device of the present invention is a print control device that converts target image data representing a target image into output image data representing an output image, and causes the printing unit to print the output image. And a patch printing control unit that causes the printing unit to print a plurality of types of patches having different densities, and a selection unit that selects any one of the plurality of types of patches printed by the printing unit; A change means for generating a changed dither matrix in which at least a part of a threshold group included in a reference dither matrix prepared in advance is changed, and the target image data is converted into the output image data using the changed dither matrix Dithering means, and the changing means is a case where the gray level of each pixel included in the target image data is a minimum value excluding 0 The density of the output image printed by the printing unit based on the output image data obtained by converting the target image data using the conversion dither matrix is equal to the density of the selected patch. Further, at least a part of the threshold value group included in the reference dither matrix is changed to generate the changed dither matrix.
上記の装置では、対象画像データに含まれる各画素が最小の値である場合に、出力画像の濃度が選択されたパッチの濃度と等しくなるように、基準ディザマトリクスを用いて変更ディザマトリクスが生成される。そして、変更ディザマトリクスを用いて、出力画像データが生成される。このため、印刷部により印刷される出力画像において、最小の濃度を適切に表現することができる。 In the above apparatus, when each pixel included in the target image data has the minimum value, the modified dither matrix is generated using the reference dither matrix so that the density of the output image becomes equal to the density of the selected patch. Is done. Then, output image data is generated using the modified dither matrix. For this reason, the minimum density can be appropriately expressed in the output image printed by the printing unit.
上記の装置において、前記複数種類のパッチは、それぞれが互いに異なる濃淡レベルに対応したものであり、且つ、前記各パッチの濃度は、対応する濃淡レベルを各画素が有する対象画像データを前記基準ディザマトリクスの閾値群と比較することにより得られる出力画像データが表す出力画像の濃度と等しく、前記変更手段は、前記基準ディザマトリクスが有する閾値群のうち、前記選択されたパッチに対応する濃淡レベル以下の閾値を、前記基準ディザマトリクスが有する閾値群の中で最小の閾値に変更した最小閾値設定ディザマトリクスを生成する最小閾値設定手段を備え、前記変更手段は、前記最小閾値設定ディザマトリクスに基づいて前記変更ディザマトリクスを生成することが好ましい。 In the above apparatus, the plurality of types of patches correspond to different shade levels, and the density of each patch is the target image data in which each pixel has the corresponding shade level as the reference dither. It is equal to the density of the output image represented by the output image data obtained by comparing with the matrix threshold value group, and the changing means is less than the gray level corresponding to the selected patch in the threshold value group of the reference dither matrix. Minimum threshold setting means for generating a minimum threshold setting dither matrix in which the threshold value is changed to the minimum threshold value in the threshold group included in the reference dither matrix, and the changing means is based on the minimum threshold setting dither matrix. Preferably, the modified dither matrix is generated.
上記の装置によれば、基準ディザマトリクスが有する閾値群のうち、選択されたパッチに対応する濃淡レベル以下の閾値が最小の閾値に変更されるため、最小の濃度を、選択されたパッチと同程度の濃度で印刷させることができる。 According to the above apparatus, the threshold value below the gray level corresponding to the selected patch in the threshold group of the reference dither matrix is changed to the minimum threshold value, so that the minimum density is the same as that of the selected patch. It is possible to print at a moderate density.
上記の装置において、前記変更手段は、さらに、前記変更ディザマトリクスに含まれる各閾値が連続するように、前記最小閾値設定ディザマトリクスに含まれる前記最小の閾値以外の閾値を変更することによって、前記変更ディザマトリクスを生成する閾値調整手段を備えることが好ましい。 In the above apparatus, the changing unit further changes the threshold other than the minimum threshold included in the minimum threshold setting dither matrix so that each threshold included in the changed dither matrix is continuous. It is preferable to include a threshold adjustment unit that generates a modified dither matrix.
上記の装置によれば、対象画像データに含まれる濃淡レベルの連続的な変化を、出力画像における滑らかなグラデーションとして再現できる。したがって、出力画像において、不自然な階調飛び(階調ジャンプ)が生じることを抑制できる。 According to the above apparatus, the continuous change in the gray level included in the target image data can be reproduced as a smooth gradation in the output image. Therefore, it is possible to suppress the occurrence of an unnatural gradation jump (gradation jump) in the output image.
上記の装置において、前記閾値調整手段は、さらに、前記最小閾値設定ディザマトリクスに含まれる前記最小の閾値以外の閾値を、前記最小の閾値より大きく、且つ、前記最小閾値設定ディザマトリクスに含まれる前記最小の閾値の次に小さい閾値よりも小さくなるように変更することによって、前記変更ディザマトリクスを生成することが好ましい。 In the above apparatus, the threshold adjustment unit further includes a threshold other than the minimum threshold included in the minimum threshold setting dither matrix larger than the minimum threshold and included in the minimum threshold setting dither matrix. Preferably, the modified dither matrix is generated by changing the threshold value so that it is smaller than the next smallest threshold value.
上記の装置によれば、印刷部によって印刷される最小の濃度と、次に小さい濃度(2番目に小さい濃度)との違いが、出力画像において目立つことを抑制できる。 According to the above apparatus, the difference between the minimum density printed by the printing unit and the next lowest density (second lowest density) can be suppressed from being noticeable in the output image.
上記の装置において、前記閾値調整手段は、さらに、前記変更ディザマトリクスを用いる場合の中間調領域での濃度変化率であって、濃淡レベルの変化に対する出力画像の濃度の変化を示す前記濃度変化率が、前記基準ディザマトリクスを用いる場合の前記中間調領域での前記濃度変化率と等しくなるように、前記最小閾値設定ディザマトリクスの前記最小の閾値以外の閾値を変更することによって、前記変更ディザマトリクスを生成することが好ましい。 In the above apparatus, the threshold adjustment unit further includes a density change rate in a halftone area when the modified dither matrix is used, and the density change rate indicating a change in density of the output image with respect to a change in density level. Changing the threshold other than the minimum threshold of the minimum threshold setting dither matrix so as to be equal to the density change rate in the halftone region when the reference dither matrix is used. Is preferably generated.
上記の装置によれば、中間調領域においては、基準ディザマトリクスを用いた場合と同等の濃度変化率で、出力画像において濃淡を再現させることができる。 According to the above apparatus, in the halftone region, it is possible to reproduce the light and shade in the output image at the same density change rate as when the reference dither matrix is used.
上記の装置において、前記閾値調整手段は、前記変更ディザマトリクスとして、第1種の変更ディザマトリクスであって、前記第1種の変更ディザマトリクスを用いる場合の低階調領域での前記濃度変化率が、前記基準ディザマトリクスを用いる場合の前記低階調領域での前記濃度変化率よりも小さくなるように設定された前記第1種の変更ディザマトリクスを生成することが好ましい。 In the above apparatus, the threshold adjustment means is a first type of change dither matrix as the change dither matrix, and the density change rate in a low gradation region when the first type of change dither matrix is used. However, it is preferable to generate the first type of changed dither matrix that is set to be smaller than the density change rate in the low gradation region when the reference dither matrix is used.
上記の装置によれば、変更ディザマトリクスを用いる場合に中間調領域以外の領域で生じ得る濃度変化率の急激な変化を、濃度変化率の変化が比較的目立ち難い低階調領域で吸収することができる。 According to the above apparatus, when a change dither matrix is used, a sudden change in the density change rate that may occur in a region other than the halftone region is absorbed in a low gradation region where the change in the density change rate is relatively inconspicuous. Can do.
上記の装置において、前記閾値調整手段は、前記変更ディザマトリクスとして、第2種の変更ディザマトリクスであって、前記第2種の変更ディザマトリクスを用いる場合の高階調領域での前記濃度変化率が、前記基準ディザマトリクスを用いる場合の前記高階調領域での前記濃度変化率よりも小さくなるように設定された前記第2種の変更ディザマトリクスを生成することが好ましい。 In the above apparatus, the threshold adjustment means is a second type of change dither matrix as the change dither matrix, and the density change rate in a high gradation region when the second type of change dither matrix is used. It is preferable to generate the second type of changed dither matrix set so as to be smaller than the density change rate in the high gradation region when the reference dither matrix is used.
上記の装置によれば、変更ディザマトリクスを用いる場合に中間調領域以外の領域で生じ得る濃度変化率の急激な変化を、濃度変化率の変化が比較的目立ち難い高階調領域で吸収することができる。 According to the above-described apparatus, when a change dither matrix is used, a rapid change in density change rate that may occur in a region other than the halftone region can be absorbed in a high gradation region where the change in density change rate is relatively inconspicuous. it can.
上記の装置において、入力画像データを前記対象画像データに変換する変換手段と、前記入力画像データが、高い輝度の画素を多く含む高輝度画像データであるか、あるいは低い輝度の画素を多く含む低輝度画像データであるかを判断する判断手段とを備え、前記閾値調整手段は、前記入力画像データが高輝度画像データである場合に、前記高輝度画像データを前記変換手段により変換して得られる対象画像データを、前記出力画像データに変換するための前記変更ディザマトリクスとして、第1種の前記変更ディザマトリクスを生成し、前記入力画像データが低輝度画像データである場合に、前記低輝度画像データを前記変換手段により変換して得られる対象画像データを、前記出力画像データに変換するための前記変更ディザマトリクスとして、第2種の前記変更ディザマトリクスを生成し、前記第1種の変更ディザマトリクスは、前記第1種の変更ディザマトリクスを用いる場合の高階調領域での前記濃度変化率が、前記基準ディザマトリクスを用いる場合の前記高階調領域での前記濃度変化率よりも小さくなるように設定され、前記第2種の変更ディザマトリクスは、前記第2種の変更ディザマトリクスを用いる場合の低階調領域での前記濃度変化率が、前記基準ディザマトリクスを用いる場合の前記低階調領域での前記濃度変化率よりも小さくなるように設定されることが好ましい。 In the above apparatus, the conversion means for converting the input image data into the target image data, and the input image data is high-intensity image data including many high-luminance pixels, or low and including many low-luminance pixels. And determining means for determining whether the image data is luminance image data, wherein the threshold value adjusting means is obtained by converting the high luminance image data by the converting means when the input image data is high luminance image data. As the modified dither matrix for converting target image data into the output image data, the first type of modified dither matrix is generated, and the input image data is low luminance image data, the low luminance image The modified dither matrix for converting target image data obtained by converting data by the conversion means into the output image data Then, a second type of the changed dither matrix is generated, and the first type of changed dither matrix has the density change rate in a high gradation region when the first type of changed dither matrix is used. It is set to be smaller than the density change rate in the high gradation region when the dither matrix is used, and the second type of changed dither matrix is a low gradation when the second type of changed dither matrix is used. It is preferable that the density change rate in the region is set to be smaller than the density change rate in the low gradation region when the reference dither matrix is used.
上記の装置によれば、高輝度画像データを変換して得られる対象画像データは、第1種の変更ディザマトリクスを用いて出力画像データに変換される。そして、第1種の変更ディザマトリクスを用いる場合に中間調領域以外の領域で生じ得る濃度変化率の急激な変化を、高階調領域で吸収することができる。高輝度画像データは、高い輝度の画素を多く含む明るい画像に対応しているため、高階調領域(すなわち、濃い色の領域)における濃度変化率の変化が比較的目立ちにくい。 According to the above apparatus, target image data obtained by converting high-luminance image data is converted into output image data using the first type of dither matrix. Then, a rapid change in density change rate that can occur in a region other than the halftone region when the first type dither matrix is used can be absorbed in the high gradation region. Since the high luminance image data corresponds to a bright image including many high luminance pixels, the change in the density change rate in the high gradation region (that is, the dark color region) is relatively inconspicuous.
同様に、低輝度画像データを変換して得られる対象画像データは、第2種の変更ディザマトリクスを用いて出力画像データに変換される。そして、第2種の変更ディザマトリクスを用いる場合に中間調領域以外の領域で生じ得る濃度変化率の急激な変化を、低階調領域で吸収することができる。低輝度画像データは、低い輝度の画素を多く含む暗い画像に対応しているため、低階調領域(すなわち、淡い色の領域)における濃度変化率の変化が比較的目立ちにくい。 Similarly, target image data obtained by converting low-luminance image data is converted into output image data using a second type of dither matrix. Then, a rapid change in density change rate that can occur in a region other than the halftone region when the second type dither matrix is used can be absorbed in the low gradation region. Since the low-luminance image data corresponds to a dark image including many low-luminance pixels, the change in the density change rate in the low gradation region (that is, the light color region) is relatively inconspicuous.
上記の装置において、前記選択手段は、前記複数種類のパッチの中からユーザによって指定されたパッチを選択することが好ましい。 In the above apparatus, it is preferable that the selection unit selects a patch designated by a user from the plurality of types of patches.
上記の装置によれば、最小の濃度がユーザによって指定された適切な濃度で表現された出力画像を、印刷部に印刷させることができる。 According to the above apparatus, an output image in which the minimum density is expressed by an appropriate density designated by the user can be printed on the printing unit.
本発明の第2の装置は印刷制御装置であって、上記のいずれかに記載の印刷制御装置と、前記印刷部とを備える。 A second apparatus of the present invention is a print control apparatus, and includes the print control apparatus according to any one of the above and the printing unit.
なお、本発明は、印刷制御装置、該印刷制御装置を含む印刷装置、印刷制御方法、印刷制御装置を制御するコンピュータプログラム、該コンピュータプログラムを記録する記録媒体等の種々の態様で実現可能である。 The present invention can be realized in various modes such as a print control apparatus, a print apparatus including the print control apparatus, a print control method, a computer program for controlling the print control apparatus, and a recording medium for recording the computer program. .
以下、本発明の好ましい実施形態について、添付図面を参照して説明する。図1は、本発明の印刷制御装置の第1実施形態であるパーソナルコンピュータ10(以下、PC10と称する)と、PC10に接続されたプリンタ40との電気的構成を示すブロック図である。本実施形態のPC10は、特に、最小の濃度が適切に表現された出力画像をプリンタ40に印刷させることができるように構成されているものである。なお、PC10は本発明におけるコンピュータの一例にも該当する。
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a block diagram showing an electrical configuration of a personal computer 10 (hereinafter referred to as a PC 10), which is a first embodiment of a print control apparatus of the present invention, and a
図1に示すように、PC10は、CPU11、ROM12、RAM13、ハードディスクドライブ14(以下、HDD14と称す)、インターフェイス16、入力装置17、表示装置18を主に有し、これらはバスライン20を介して互いに接続されている。
As shown in FIG. 1, the
CPU11は、ROM12やRAM13やHDD14に記憶される固定値やプログラムに従って、バスライン20により接続された各部を制御する。ROM12は、PC10の動作を制御するためのプログラムなどが格納されたメモリであり、RAM13は、CPU11の処理に必要なデータなどを一時的に記憶するための読み書き可能なメモリである。
The
HDD14は、ハードディスクドライブであり、HDD14には、本発明の印刷制御プログラムの一例であるプリンタドライバ141、基準ディザマトリクス142、変更ディザマトリクス143、パッチデータ144が記憶される。なお、プリンタドライバ141に従って実行される印刷データ生成処理については、後述する。
The
入力装置17は、ユーザ指示を入力するためのものであり、例えば、キーボードやマウスなどで構成される。表示装置18は、例えば、CRTディスプレイや液晶ディスプレイなどにより構成され、各種処理内容や入力されたデータなどを視覚的に表示するものである。
The
このように構成されたPC10は、対象画像を表す対象画像データを、変更ディザマトリクス143を用いてビットマップ形式の出力画像データに変換し、印刷データとしてプリンタ40(本発明における印刷部の一例)へ供給することにより、出力画像データによって表わされる出力画像を、プリンタ40に印刷させる。
The
一方、プリンタ40はレーザプリンタで構成され、プリンタ40の動作を制御する制御部50を備える。この制御部50は、演算装置であるCPU41と、そのCPU41により実行される各種の制御プログラムやデータを記憶したROM42と、このプリンタ40に接続されるPC10から入力された印刷データや制御信号を記憶するためのメモリであるRAM43とを備えている。また、CPU41、ROM42、RAM43は、バスライン44を介して互いに接続されており、かかるバスライン44は、集積回路であるASIC(Application Specific Integrated Circuit)45に接続されている。
On the other hand, the
さらに、制御部50は、プリンタ40と外部機器とを通信可能に接続するためのインターフェイス46と、画像形成部47と、スキャナ部48と、用紙搬送部49とに接続されている。
Further, the
画像形成部47には、感光体ドラム、感光体ドラムの表面を一様に帯電させる帯電器、トナーを収容した現像カートリッジが設けられる。なお、本実施形態のプリンタ40の画像形成部47には、C(シアン),M(マゼンタ),Y(イエロー),K(ブラック)のトナーを収容した4つの現像カートリッジが着脱可能に構成されており、プリンタ40は、C,M,Y,Kの4色で出力画像を形成することができるカラーレーザプリンタとして構成されている。
The
インターフェイス46を介して、PC10から印刷データが供給されると、プリンタ40は、印刷データに含まれるビットマップ形式の出力画像データに従って、スキャナ部48がレーザをオン/オフしながら、帯電器により一様に正帯電させられた感光体ドラムの表面を走査し、感光体ドラム表面の電荷を部分的に除去して微小スポットを形成する。そして、電荷が除去された部位に正帯電されているトナーを付着させることにより、記録用紙(記録媒体)に印刷すべき出力画像に対応した静電潜像を形成する。そして、そのトナーを用紙搬送部49によって搬送される記録用紙に転写し、定着させることにより、出力画像を印刷することができる。
When print data is supplied from the
本実施形態のPC10は、基準ディザマトリクス142が有する閾値群のうち、少なくとも一部を変更した変更ディザマトリクス143を生成し、その変更ディザマトリクス143を用いて対象画像データを出力画像データに変換することにより、プリンタ40において、最小の濃度が適切に表現された出力画像をプリンタ40に印刷させることができるように構成されている。
The
まず、図2,図3を参照して、ディザマトリクスについて説明する。図2(a)は、基準ディザマトリクス142の一例を示す図である。図2(a)に示すように、基準ディザマトリクス142は、例えば、16×16個のセル(要素)の各々に、閾値を1つずつ格納したデータ構造を有する。図2(a)に示すように、ディザマトリクスの各閾値は、整数である。
First, the dither matrix will be described with reference to FIGS. FIG. 2A is a diagram illustrating an example of the
一般的な、ディザ処理では、基準ディザマトリクス142を、C,M,Y,Kの各色の濃淡レベルから構成される対象画像データの16×16画素に重ね合わせ、各画素の濃淡レベルと対応する閾値とを比較し、濃淡レベルが閾値以上である場合は1(ドットオンを表す)、閾値未満である場合は0(ドットオフ)に変換する。そして、16×16画素の処理が済んだら、順次基準ディザマトリックス142を次の16×16画素の位置に移動し、同じ処理を繰り返す。これにより、例えば256階調の濃淡レベルを含む対象画像データが、2値で表わされる出力画像データに変換される。
In general dither processing, the
図2(a)に示すように、基準ディザマトリクス142の256個のセル(要素)には、1から254までの閾値がそれぞれ1個ずつ割り当てられており、閾値255については2個割り当てられている。したがって、対象画像データにおいて、16×16画素の濃淡レベルが1である場合には、出力画像データでは、256画素中、1画素のみドットオンとなる。一方、対象画像データにおいて、16×16画素の濃淡レベルが255である場合には、出力画像データは、255画素の全てにおいてドットがオンとなる。したがって、ドットが理想的に定着すれば、ドットの出願頻度と濃淡レベルとがほぼ比例し、出力画像において滑らかに階調を再現することができる。
As shown in FIG. 2A, 256 cells (elements) of the
しかしながら、ドットは必ずしも理想的に定着するとは限らず、淡い色の階調が好適に表現されない場合がある。特に、対象画像データの各画素の濃淡レベルが0を除く最小の値(すなわち1)である場合、16×16画素内に孤立した1つのドットが形成されるため、換言すれば、1つのドットの周囲に他のドットが形成されないため、ドットの定着が不安定となる。 However, the dots are not always ideally fixed, and a light color gradation may not be suitably expressed. In particular, when the gray level of each pixel of the target image data is the minimum value (that is, 1) excluding 0, since one isolated dot is formed within 16 × 16 pixels, in other words, one dot Since no other dots are formed around the dot, dot fixation becomes unstable.
よって、本実施形態のPC10は、まず、互いに異なる濃度を有する複数種類のディザ決定用パッチ52(図6参照)をプリンタ40に印刷させ、ユーザに選択させる。そして、PC10は、選択されたディザ決定用パッチ52の濃度が、プリンタ40により印刷される出力画像の最小の濃度となるように、基準ディザマトリクス142が有する閾値を変更して、変更ディザマトリクス143(図3(b))を生成する。そして、PC10は、この変更ディザマトリクス143を用いてディザ処理を行う。
Therefore, the
まず、図2,図3を参照して、変更ディザマトリクス143生成の手順の概要を説明する。
First, an outline of the procedure for generating the modified
図2(b)は、基準ディザマトリクス142が有する閾値のうち、「2」から「8」までを、基準ディザマトリクス142が有する閾値群の中で最小の閾値である「1」に変更したディザマトリクスを示す図である。説明の便宜上、このように、基準ディザマトリクス142の閾値群のうち、いくつかの閾値を最小閾値「1」に変更したディザマトリクスを、「最小閾値設定ディザマトリクス」と称する。
FIG. 2B shows a dither in which “2” to “8” among the thresholds included in the
図2(b)に示す最小閾値設定ディザマトリクスでは、16×16個の閾値中、最小閾値「1」が8個配置されている。よって、各画素の濃淡レベルが「1」の対象画像データを、この最小閾値設定ディザマトリクスを用いてディザ処理すると、出力画像においては、16×16画素中、8個のドットがオンとされる。よって、各画素の濃淡レベルが「1」の対象画像データは、最小閾値設定ディザマトリクスを用いてディザ処理されると、基準ディザマトリクス142を用いてディザ処理される場合に比較して、高い濃度で(すなわち濃く)表現される。ここで、最小閾値「1」が設定されるセルの個数は、ユーザにより指定されるディザ決定用パッチ52(図6参照)に基づいて決定されるのであるが、詳細は後述する。
In the minimum threshold value setting dither matrix shown in FIG. 2B, eight minimum threshold values “1” are arranged among 16 × 16 threshold values. Therefore, when the target image data whose gray level of each pixel is “1” is dithered using this minimum threshold value setting dither matrix, 8 dots in 16 × 16 pixels are turned on in the output image. . Therefore, when the target image data with the gray level of each pixel being “1” is dithered using the minimum threshold value setting dither matrix, the density is higher than when dithering is performed using the
また、図2(b)に示す、最小閾値設定ディザマトリクスにおいては、最小閾値「1」の次に小さい閾値は「9」となり、閾値が不連続になっている(すなわち閾値のジャンプが発生している)。その結果、最小閾値設定ディザマトリクスを用いる場合は、濃淡レベルが「1」から「8」の間の階調の違いを再現することが難しい。 In the minimum threshold setting dither matrix shown in FIG. 2B, the next smallest threshold after the minimum threshold “1” is “9”, and the threshold is discontinuous (that is, a threshold jump occurs). ing). As a result, when the minimum threshold setting dither matrix is used, it is difficult to reproduce the difference in gradation between gray levels “1” and “8”.
よって、本第1実施形態のPC10は、最小閾値設定ディザマトリクスに含まれる最小の閾値「1」から「8」の間の閾値が設定されるように、最小の閾値「1」の次の値である閾値「2」から閾値を連続的に振り直す処理を行う。換言すれば、最小閾値設定ディマトリクスの閾値群に含まれる閾値「1」以外の閾値を、最小閾値「1」より大きく、且つ、最小閾値設定ディザマトリクスに含まれる最小の閾値の次に小さい閾値(すなわち、2番目に小さい閾値)「9」よりも小さくなるように変更する。
Therefore, the
図3(a)は、図2(b)に示す最小閾値設定ディザマトリクスに含まれる最小閾値「1」と、その最小閾値の次に小さい閾値「9」との間に閾値が設定されるように、閾値を変更したディザマトリクスの一例を示す図である。説明の都合上、図3(a)に示すディザマトリクスを、ギャップ修正ディザマトリクスと称する。 In FIG. 3A, the threshold value is set between the minimum threshold value “1” included in the minimum threshold value setting dither matrix shown in FIG. 2B and the next smaller threshold value “9”. It is a figure which shows an example of the dither matrix which changed the threshold value. For convenience of explanation, the dither matrix shown in FIG. 3A is referred to as a gap correction dither matrix.
図3(a)に示すギャップ修正ディザマトリクスにおいては、「1」から「249」まで閾値が連続的に設定されている。しかしながら、設定できる閾値数は256個であるため、閾値250以上の閾値を設定できず、250以上の濃淡レベルを再現できない。 In the gap correction dither matrix shown in FIG. 3A, threshold values are continuously set from “1” to “249”. However, since the number of thresholds that can be set is 256, a threshold value of 250 or more cannot be set, and a gray level of 250 or more cannot be reproduced.
よって、次に、「1」から「255」までの閾値を均等に割り振り直す処理を行うことにより、ギャップ修正ディザマトリクスの閾値を変更し、変更ディザマトリクス143を生成する。
Therefore, next, the threshold value from “1” to “255” is re-allocated to change the threshold value of the gap correction dither matrix, and the changed
図3(b)は、変更ディザマトリクス143の一例を示す図である。図3(b)に示すように、変更ディザマトリクス143においては、閾値が連続的に設定されていると共に、最大の閾値が「255」に設定されている。具体的には、最小閾値設定ディザマトリクス(図2(b))において設定されていた最小閾値「1」をそのままにして、それ以外の閾値を変更することによって、最も近い値を有する2つの閾値の差分が所定値以上にならないように、閾値が変更されている。したがって、この変更ディザマトリクス143をディザ処理に用いることにより、最小の濃度を適切に表現することができ、且つ、0から255の濃淡レベルの全範囲に対して、不自然な階調飛び(階調ジャンプ)の発生を抑制することができる。なお、濃淡レベルが256階調を表現可能な値である場合は、変更ディザマトリクス143において、最も近い値を有する2つの閾値の差分が、3以上とならないように閾値を変更すれば、出力画像における不自然な階調ジャンプを、より確実に抑制することができる。
FIG. 3B is a diagram illustrating an example of the
なお、本実施形態において、変更ディザマトリクス143は、プリンタで用いられる色毎に生成されるが、図3(b)には、C,M,Y,Kのうち、1色について生成された変更ディザマトリクス143を例示している。
In this embodiment, the
図4は、対象画像データを構成する各画素の濃淡レベルが「1」から「4」のそれぞれの場合についてディザ処理によって得られる出力画像データを示す図である。図4(a)は、基準ディザマトリクス142(図2(a))を用いた場合に得られる出力画像データを示し、図4(b)は、変更ディザマトリクス143(図3(b))を用いた場合に得られる出力画像データを示す。なお、図4において、格子状に区切られたマス目の1つ1つが、出力画像データを構成する画素を表しており、着色されたマス目が、ドットオンとされる(すなわち、色材が定着され、ドットを形成する)画素を表している。 FIG. 4 is a diagram showing output image data obtained by dither processing for each case where the gray level of each pixel constituting the target image data is “1” to “4”. 4A shows output image data obtained when the reference dither matrix 142 (FIG. 2A) is used, and FIG. 4B shows the changed dither matrix 143 (FIG. 3B). Output image data obtained when used is shown. In FIG. 4, each of the squares partitioned in a grid pattern represents a pixel constituting the output image data, and the colored squares are dot-on (that is, the color material is It represents a pixel that is fixed and forms a dot.
図4(a)に示すように、基準ディザマトリクス142(図2(a))を用いる場合、16×16画素中、ドットオンとされる画素の個数は、濃淡レベルと等しい。一方、図4(b)に示すように、変更ディザマトリクス143(図3(b))では、最小の濃淡レベル「1」に対して、16×16画素中、8個の画素がドットオンとされ、濃淡レベルが「1」から増大するほど、ドットオンとなる画素数が増大する。よって、変更ディザマトリクス143を用いれば、プリンタの特性上、あるいはプリンタの使用環境上、トナーなどの色材が定着されにくい場合であっても、淡い色を適切な濃度で印刷することができる。また、濃淡レベルが増大するにつれて、ドットオンの個数が連続的に増大するので、淡い部分の階調の変化が、出力画像において適切に再現される。
As shown in FIG. 4A, when the reference dither matrix 142 (FIG. 2A) is used, the number of pixels that are dot-on among 16 × 16 pixels is equal to the gray level. On the other hand, as shown in FIG. 4B, in the changed dither matrix 143 (FIG. 3B), 8 pixels out of 16 × 16 pixels are dot-on with respect to the minimum gray level “1”. As the light and shade level increases from “1”, the number of pixels that are turned on increases. Therefore, if the changed
図5は、PC10が実行する印刷データ生成処理を示すフローチャートである。この印刷データ生成処理は、ユーザにより、印刷の実行が指示された場合に起動される処理であり、プリンタドライバ141(図1参照)に従って実行される。特に、本実施形態では、ユーザが希望する場合に、基準ディザマトリクス142の閾値を変更した変更ディザマトリクス143が生成され、その変更ディザマトリクス143を用いてディザ処理が行われる。
FIG. 5 is a flowchart showing print data generation processing executed by the
まず、CPU11は、基準ディザマトリクス142の閾値の変更がユーザにより指示されたか否かを判断する(S503)。S503の判断が肯定される場合(S503:Yes)、CPU11は、プリンタ40にパッチデータ144(図1参照)を出力することにより、ディザ決定用パッチをプリンタ40に印刷させる(S504)。
First, the
図6を参照して、ディザ決定用パッチについて説明する。図6は、PC10がプリンタ40に印刷させるテストシート50の一例を示す図である。図6に示すように、テストシート50には、C,M,Y,Kの4色の各々について、例えば、12種類の濃度のディザ決定用パッチ52が印刷される。なお、ディザ決定用パッチが、本発明におけるパッチの一例に相当する。
The dither determination patch will be described with reference to FIG. FIG. 6 is a diagram illustrating an example of a
ディザ決定用パッチ52は、それぞれ互いに異なる濃淡レベルに対応するものであり、対応する濃淡レベルは、「パッチ番号」として、テストシート50に印刷される。テストシート50においては、列毎にパッチ番号が印刷されているので、ユーザはテストシート50を視認し、色とパッチ番号を特定することで、行列状に印刷された各ディザ決定用パッチ52を指定することができる。
The
各ディザ決定用パッチ52の濃度は、対応する濃淡レベルを各画素が有する対象画像データを、基準ディザマトリクス142の閾値群と比較してディザ処理した場合と同等の濃度で印刷されている。換言すれば、各ディザ決定用パッチ52は、基準ディザマトリクス142を用いてディザ処理した場合の出力画像データに基づく印刷結果を、濃淡レベルが「1」から「12」の範囲において示している。例えば、パッチ番号「1」に対応するCのディザ決定用パッチ52は、各画素のCの濃淡レベルが「1」の対象画像データを、基準ディザマトリクス142でディザ処理して得られる出力画像データ(すなわち、16×16画素中、1画素のみドットオンとなるデータ)に基づく印刷結果を示している。
The density of each
本第1実施形態のPC10は、このディザ決定用パッチ52の中から、濃淡レベル「1」にユーザが対応付けたい濃度のパッチをユーザに指定させる。そして、PC10は、仮に、対象画像に含まれる各画素の濃淡レベルが「1」である場合に、対象画像データを変換ディザマトリクス143を用いて変換して得られる出力画像データを用いて印刷される出力画像の濃度が、選択されたディザ決定用パッチ52の濃度と等しくなるように、変更ディザマトリクス143を生成することとしている。
The
ここで、「出力画像の濃度が、選択されたディザ決定用パッチ52の濃度と等しくなる」とは、「出力画像の色の濃さと、ディザ決定用パッチ52と色の濃さが等しくなる」ことを意味しており、例えば、測色計により測定して数値化された結果が等しいことであっても良いが、それ以外にも、出力画像が印刷される記録媒体上の単位面積において形成されるドットの個数が等しいことであっても良く、あるいは、記録媒体上の単位面積当たりにおけるドットの定着面積が等しいことであっても良い。また、本実施形態のように、プリンタ40が、複数色の色材を用いて、カラーの出力画像を印刷できるように構成される場合には、ディザ決定用パッチ52は色毎に選択される。そして、出力画像を構成する各色の濃度が、その色について選択されたディザ決定用パッチ52の濃度と等しくなるように、各色について変更ディザマトリクス143が生成される。
Here, “the density of the output image is equal to the density of the selected
図5に戻り、説明する。次に、CPU11は、ユーザが入力したパッチ番号で特定されるディザ決定用パッチ52、すなわちユーザによって指定されたディザ決定用パッチ52を選択し、そのパッチ番号をRAM13(図1参照)に記憶する(S506)。
Returning to FIG. Next, the
次に、CPU11は、4色分のディザ決定用パッチを選択したか否かを判断する(S507)。S507の判断が否定される場合(S507:No)、CPU11は、S506に戻り処理を繰り返す。一方、S507の判断が肯定されると(S507:Yes)、CPU11は、ディザ閾値変更処理(S510)を実行し、変更ディザマトリクス143を生成する。なお、ディザ閾値変更処理(S510)については後述する。
Next, the
次に、CPU11は、4色分の変更ディザマトリクス143を生成したか否かを判断する(S512)。S512の判断が否定される場合(S512:No)、CPU11は、S510に戻り処理を繰り返す。
Next, the
S512の判断が肯定される場合(S512:Yes)、またはS503の判断が否定される場合(S503:No)、CPU11は、R(赤),G(緑),B(青)の各色の輝度値から構成されるRGB画像データを、予め準備された3次元ルックアップテーブルを用いて、C,M,Y,Kの各色の濃淡レベルから構成される対象画像データに変換する色変換処理(S513)を行う。
When the determination of S512 is affirmed (S512: Yes) or when the determination of S503 is negative (S503: No), the
次に、CPU11は、ディザ処理を実行して、対象画像データを出力画像データに変換する(S514)。具体的には、S503の判断が否定される場合は、CPU11は、基準ディザマトリクス142を用いて、ディザ処理を実行する。一方、S512の判断が肯定される場合は、CPU11は、変更ディザマトリクス143を用いて、ディザ処理を実行する。
Next, the
そして、CPU11は、印刷データ生成処理を終了し、本処理により得られた出力画像データを、印刷データとしてプリンタ40へ出力し、プリンタ40に出力画像を印刷させる。
Then, the
図7は、図5のディザ閾値変更処理(S510)を示すフローチャートである。まず、CPU11は、入力レベル1閾値変更処理を実行する(S702)。この入力レベル1閾値変更処理(S702)は、基準ディザマトリクス142(図2(a))から、最小閾値設定ディザマトリクス(図2(b))を経て、ギャップ修正ディザマトリクス(図3(a))を生成するための処理である。
FIG. 7 is a flowchart showing the dither threshold value changing process (S510) of FIG. First, the
図8は、図7の入力レベル1閾値変更処理(S702)を示すフローチャートである。入力レベル1閾値変更処理(S702)では、まず、CPU11は、基準ディザマトリクス142(図2(a))をRAM13に読み出し(S800)、その基準ディザマトリクス142が有する閾値群のうち、処理対象の色について選択したディザ決定用パッチ52に対応する濃淡レベル以下の閾値を、「1」(本発明における「基準ディザマトリクスが有する閾値群の中で最小の閾値」に相当)に変更する(S801)。例えば、パッチ番号8が指定される場合には、「8」以下の閾値を「1」に変更する。この処理により、最小閾値設定ディザマトリクス(図2(b))が生成される。
FIG. 8 is a flowchart showing the
次に、CPU11は、変数「n」に2を設定する(S802)。次に、CPU11は、最小閾値設定ディザマトリクス(図2(b))の閾値群の中から「1」の次に小さい閾値(図2(b)では「9」)を探し、見つけた値を、変数「Xmin」に設定する(S803)。
Next, the
次に、CPU11は、「Xmin」の閾値が設定してあったセルの値を「n」(本実施例では、n=2)に変更する(S804)。次に、CPU11は、「n」に1を加算し(S805)、「Xmin」に1を加算する(S806)。そして、CPU11は、「Xmin」が255よりも大となったかを判断し(S807)、S807の判断が否定される場合(S807:No)、「Xmin」の閾値が設定してあるセルを探し(S808)、S804の処理に戻る。
Next, the
このようにして処理を繰り返すうちに、S807の判断が肯定されると(S807:Yes)、CPU11は、入力レベル1閾値変更処理(S702)を終了する。この入力レベル1閾値変更処理(S702)により、ギャップ修正ディザマトリクス(図3(a))が生成される。
If the determination in S807 is affirmed while the process is repeated in this manner (S807: Yes), the
図7に戻り説明する。S704以降の処理では、最終的に生成される変更ディザマトリクス143に含まれる閾値が「2」から「255」の間で連続するように、ギャップ修正ディザマトリクス(図3(a))に含まれる最小の閾値「1」以外の閾値を変更することによって、変更ディザマトリクス143を生成する。
Returning to FIG. In the processing after S704, the gap correction dither matrix (FIG. 3A) is included so that the threshold value included in the finally generated
まず、CPU11は、ギャップ修正ディザマトリクス(図3(a))に含まれる、閾値の最大値を探し、見つけた値を変数「Smax」に設定する(S704)。次に、CPU11は、Smax≠255が成立するか否かを判断する(S706)。Smax=255である場合(S706:No)、ギャップ修正ディザマトリクスを、処理対象の色の変更ディザマトリクス143として、HDD14(図1)に記憶し(S708)、処理を終了する。
First, the
一方、Smax≠255である場合(S706:Yes)、CPU11は、ギャップ修正ディザマトリクスから、最小閾値「1」以外の閾値を1つ取得し(S710)、(閾値/Smax×255)を算出する。そして、CPU11は、その算出結果を四捨五入し、その結果に、S710の処理で取得した閾値を変更する(S712)。次に、CPU11は、最小閾値「1」を除く全閾値について処理を終了したか否かを判断する(S714)。S714の判断が否定される場合(S714:No)、S710に戻り処理を繰り返す。
On the other hand, if Smax ≠ 255 (S706: Yes), the
このようにして処理を繰り返すうちに、S714の判断が肯定されると(S714:Yes)、CPU11は、生成したディザマトリクスを、変更ディザマトリクス143としてHDD14に記憶し、ディザ閾値変更処理(S510)を終了する。
If the determination in S714 is affirmed while the processing is repeated in this way (S714: Yes), the
ディザ閾値変更処理(S510)により生成される変更ディザマトリクス143を用いたディザ処理(S514)により、対象画像データが出力画像データに変換される場合、仮に対象画像データに含まれる各画素の濃淡レベルが「1」であれば、プリンタ40により印刷される出力画像の濃度は、選択されたディザ決定用パッチ52の濃度と等しくなる。換言すれば、プリンタにより印刷される出力画像の最小の濃度が、ユーザの指定に基づいて選択したディザ決定用パッチ52の濃度と等しくされる。
When the target image data is converted into output image data by the dither process (S514) using the changed
このように、本第1実施形態のPC10によれば、プリンタ40が印刷する最小の濃度を動的に変更することができ、且つ、最小の濃度が適切に表現された出力画像をプリンタに印刷させることができる。
Thus, according to the
また、本実施形態のPC10によれば、変更ディザマトリクス143に含まれる閾値が連続するように、最小の閾値以外の閾値が変更されて、変更ディザマトリクス143が生成される。換言すれば、最小閾値設定ディザマトリクス(図2(b))に比較して、変更ディザマトリクス143においては、最小の閾値「1」から最大の閾値「255」まで、閾値がよりなだらかに漸増する。このように生成された変更ディザマトリクス143を用いて、対象画像データを出力画像データに変換すれば、対象画像データに含まれる濃淡レベルの連続的な変化を、連続的な濃度変化で再現することができる。
Further, according to the
図9は、対象画像データの濃淡レベルの変化に対する、出力画像データのONドット数の変化を示すグラフであり、図9(a),(b)は、それぞれ、基準ディザマトリクス142,変更ディザマトリクス143を用いてディザ処理する場合を示すグラフである。図9(a),(b)に示すグラフは、共にx軸に濃淡レベルをとり、y軸には、出力画像の濃度に相当する値として、16×16画素内でオンとされるドットの個数(ONドット数)をとっている。
FIG. 9 is a graph showing changes in the number of ON dots in the output image data with respect to changes in the gray level of the target image data. FIGS. 9A and 9B are a
図9(b)に示すように、変更ディザマトリクス143を用いる場合は、濃淡レベルが「1」の場合のONドット数が、選択したディザ決定用パッチに対応する濃度レベルと等しくなり、そのため、濃淡レベル「1」の対象画像データに対しては、選択したディザ決定用パッチ52と同じ濃度の出力画像を印刷することができる。すなわち、最小の濃度が、ユーザによって指定された適切な濃度で表現された出力画像をプリンタに印刷させることができる。
As shown in FIG. 9B, when the changed
また、濃淡レベル「1」より大の範囲では、図9(a)と同様に、ONドット数が、最大値である255まで連続的に変化している。したがって、階調レベルに応じた濃度(ONドット数)で画像が印刷され、出力画像において、不自然な階調飛び(階調ジャンプ)が生じることを抑制できる。 Further, in the range larger than the light / dark level “1”, the number of ON dots continuously changes up to 255 which is the maximum value as in FIG. 9A. Therefore, an image is printed at a density (number of ON dots) corresponding to the gradation level, and an unnatural gradation jump (gradation jump) can be prevented from occurring in the output image.
次に、図10から図13を参照して、第2実施形態について説明する。上記第1実施形態のディザ閾値変更処理では、最小の閾値「1」を設定した後、閾値「2」から「255」までが、均等に割り振られていた。換言すれば、図9に示すように、変更ディザマトリクス143を用いる場合(図9(b))のグラフの傾きθ’は、基準ディザマトリクス142を用いる場合(図9(a))のグラフの傾きθよりも緩やかになっていた。よって、変更ディザマトリクス143を用いる場合、濃淡レベルの変化に対する、出力画像の濃度の変化を示す濃度変化率(θ’)は、基準ディザマトリクス142を用いる場合の濃度変化率(θ)よりも小さくなる。
Next, a second embodiment will be described with reference to FIGS. In the dither threshold value changing process of the first embodiment, after setting the minimum threshold value “1”, the threshold values “2” to “255” are evenly allocated. In other words, as shown in FIG. 9, the slope θ ′ of the graph when the modified
これに対し、本第2実施形態のPC10は、変更ディザマトリクス143を用いる場合の中間調領域での濃度変化率が、基準ディザマトリクス142を用いる場合の濃度変化率(θ)と等しくなるように、変更ディザマトリクスを生成するように構成している。なお、第2実施形態のPC10で生成される変更ディザマトリクスは、「淡部吸収型の変更ディザマトリクス145」と称する。
On the other hand, in the
第2実施形態において実行される印刷データ生成処理は、変更ディザマトリクス143に代えて淡部吸収型の変更ディザマトリクス145を用いてディザ処理(S514)を実行する点を除き、第1実施形態(図5)の印刷データ生成処理と同一である。
The print data generation process executed in the second embodiment is the same as that of the first embodiment except that the dither process (S514) is executed using the light absorption type
図10は、第2実施形態で実行される淡部吸収型のディザ閾値変更処理(S100)を示すフローチャートである。この淡部吸収型のディザ閾値変更処理(S100)は、第1実施形態のディザ閾値変更処理(S510:図7)に代えて実行される処理である。 FIG. 10 is a flowchart showing a light absorption type dither threshold value changing process (S100) executed in the second embodiment. This light absorption type dither threshold value changing process (S100) is a process executed in place of the dither threshold value changing process (S510: FIG. 7) of the first embodiment.
まず、CPU11は、基準ディザマトリクス142をRAM13に読み出し(S1001)、その基準ディザマトリクス142が有する閾値群のうち、処理対象の色について選択したディザ決定用パッチ52に対応する濃淡レベル以下の閾値を、最小の閾値「1」に変更する(S1002)。この処理により、最小閾値設定ディザマトリクス(図2(b))が生成される。次に、CPU11は、変数「Si」に2を設定する(S1004)。次に、CPU11は、変数「n」に「1+Si」を設定する(S1006)。
First, the
次に、CPU11は、最小閾値設定ディザマトリクス(図2(b))に含まれる、1の次に小さい閾値を探し、見つけた値を、変数「Xmin」に設定する(S1008)。次に、CPU11は、「Xmin」の閾値が設定してあったセルの値を「n」に変更する(S1010)。次に、CPU11は、「n」に「Si」を加算し(S1012)、「Xmin」に1を加算する(S1014)。そして、CPU11は、「Xmin」がnと等しくなったかを判断し(S1016)、S1016の判断が否定される場合(S1016:No)、「Xmin」の閾値が設定してあるセルを探し(S1018)、S1010の処理に戻る。
Next, the
このようにして処理を繰り返すうちに、S1016の判断が肯定されると(S1016:Yes)、CPU11は、生成されたディザマトリクスを、淡部吸収型の変更ディザマトリクス145としてHDD14(図1)に記憶し、淡部吸収型のディザ閾値変更処理(S100)を終了する。
If the determination in S1016 is affirmed while the processing is repeated in this way (S1016: Yes), the
図11は、淡部吸収型の変更ディザマトリクス145の一例を示す図である。図11に示すように、淡部吸収型の変更ディザマトリクス145においては、例えば、8個のセルに閾値「1」が設定されており、最小閾値「1」から「15」までの間は、偶数の閾値が間引かれている。そして、閾値「16」から「255」までの間は、基準ディザマトリクス142(図2(a))と同じ配列で閾値が格納される。
FIG. 11 is a diagram illustrating an example of the light absorption type
図12は、濃淡レベルとONドット数との対応関係を示すグラフであり、上段は、濃淡レベルが0から255の範囲を示し、下段は、濃淡レベルが0から25の範囲を拡大して示す。なお、図12に示すグラフは、横軸に濃淡レベルをとり、縦軸には、出力画像の濃度に相当する値として、16×16画素内でオンとされるドットの個数(ONドット数)をとっている。また、図12において、破線は、基準ディザマトリクス142を用いてディザ処理する場合の出力結果を示し、実線は、淡部吸収型の変更ディザマトリクス145(図11)を用いてディザ処理する場合の出力結果を示している。
FIG. 12 is a graph showing the correspondence between the gray level and the number of ON dots. The upper row shows the range of the gray level from 0 to 255, and the lower row shows the range of the gray level from 0 to 25 in an enlarged manner. . In the graph shown in FIG. 12, the horizontal axis indicates the gray level, and the vertical axis indicates the number of dots that are turned on within 16 × 16 pixels (the number of ON dots) as a value corresponding to the density of the output image. Have taken. In FIG. 12, a broken line indicates an output result when dither processing is performed using the
図12に示すように、淡部吸収型の変更ディザマトリクス145(図11)によれば、濃淡レベルが「1」から「13」までの低階調領域(本発明の低階調領域の一例)において、対応するONドット数が、基準ディザマトリクス142を用いる場合よりも高くなる。換言すれば、淡部吸収型の変更ディザマトリクス145(図11)を用いる場合、濃淡レベルが「1」から「13」までの低階調領域においては、基準ディザマトリクス142を用いる場合よりも、全体として濃い出力画像が印刷される。
As shown in FIG. 12, according to the light absorption type change dither matrix 145 (FIG. 11), a low gradation region having an intensity level of “1” to “13” (an example of the low gradation region of the present invention). ), The corresponding number of ON dots is higher than when the
一方、図12に示すように、淡部吸収型のディザマトリクス145を用いる場合、濃淡レベルが「1」から「13」の低階調領域においては、濃淡レベルの変化に対する出力画像の濃度(ONドット数に相当)の変化を示す濃度変化率が、基準ディザマトリクス142を用いる場合の低階調領域での濃度変化率よりも小さくなるように、淡部吸収型のディザマトリクス145の閾値が設定されている。なお、本実施形態において、「濃度変化率」とは、濃度レベルの変化をdxとし、出力画像の濃度の変化をdyとする場合、dy/dxとして表される値を意味している。
On the other hand, as shown in FIG. 12, when the light
その結果、図12に示すように、濃淡レベルが「14」以上の領域においては、淡部吸収型の変更ディザマトリクス145を用いた場合と、基準ディザマトリクス142を用いた場合とで、出力結果を示すグラフが一致する。換言すれば、最小閾値「1」の個数を増大したことで生じる濃度変化率の急激な変化が、低階調領域(濃淡レベルの低い領域)において吸収される。その結果、濃淡レベルが中間調領域および高階調領域においては、淡部吸収型のディザマトリクス145を用いる場合の濃度変化率を、基準ディザマトリクス142を用いる場合と等しくすることができる。したがって、中間調領域および高階調領域においては、僅かな濃淡レベルの差であっても、基準ディザマトリクス142を用いる場合と同程度まで明りょうに再現させることができる。
As a result, as shown in FIG. 12, in the region where the light and shade level is “14” or more, the output result when the light absorption type
なお、低階調領域とは、濃淡レベルが表現可能な値のうち0を除く最小値から最大値までの領域を、3つの領域に区分する場合に、最も低い濃淡レベルが含まれる領域を意味しており、高階調領域とは、上記3つに区分された領域のうち、最も高い濃淡レベルが含まれる領域を意味しており、中間調領域とは、濃淡レベルが表現可能な値のうち、低階調領域と高階調領域とを除いた領域を意味している。低階調領域と中間調領域と高階調領域との境界を定める値をどのように設定するかは、場合に応じて変更可能である。濃淡レベルが表現可能な値が0から255である場合は、例えば、1から50未満の第1所定値以下までの領域を低階調領域とし、201以上の第2所定値から255までの領域を高階調領域とすることが好ましい。 Note that the low gradation area means an area including the lowest gradation level when the area from the minimum value to the maximum value excluding 0 among the values that can express the gradation level is divided into three areas. The high gradation area means an area including the highest gray level among the above three areas, and the halftone area is a value that can express the gray level. This means an area excluding a low gradation area and a high gradation area. How to set the value that defines the boundary between the low gradation area, the halftone area, and the high gradation area can be changed according to circumstances. When the value that can express the light and shade level is from 0 to 255, for example, the region from the first predetermined value below 1 to 50 is set as the low gradation region, and the region from the second predetermined value to 255 above 201 Is preferably a high gradation region.
第2実施形態のPC10によれば、淡部吸収型の変更ディザマトリクス145を用いる場合に中間調領域以外の領域で生じ得る濃度変化率の急激な変化を、濃度変化率の変化が比較的目立ち難い低階調領域で吸収することができる。
According to the
次に、図13から図17を参照して、第3実施形態について説明する。上記第2実施形態のPC10は、低階調領域において、濃度変化率(dy/dx)が基準ディザマトリクス142よりも緩やかになるように、変更ディザマトリクス(淡部吸収型のディザマトリクス145)が生成されていた。これに対し、第3実施形態のPC10は、高階調領域において、濃度変化率(dy/dx)が基準ディザマトリクス142よりも緩やかになるように、変更ディザマトリクスを生成する。なお、第3実施形態のPC10で生成される変更ディザマトリクスは、「暗部吸収型のディザマトリクス146」と称する。
Next, a third embodiment will be described with reference to FIGS. In the
第3実施形態において実行される印刷データ生成処理は、変更ディザマトリクス143に代えて暗部吸収型の変更ディザマトリクス146を用いてディザ処理(S514)を実行する点を除き、第1実施形態(図5)の印刷データ生成処理と同一である。
The print data generation process executed in the third embodiment is the same as that in the first embodiment (FIG. 5) except that the dither process (S514) is executed using the dark part absorption type
図13は、第3実施形態で実行される暗部吸収型のディザ閾値変更処理(S130)を示すフローチャートである。この暗部吸収型のディザ閾値変更処理(S130)は、第1実施形態のディザ閾値変更処理(S510:図7)に代えて実行される処理である。 FIG. 13 is a flowchart showing the dark part absorption type dither threshold value changing process (S130) executed in the third embodiment. This dark part absorption type dither threshold value changing process (S130) is a process executed instead of the dither threshold value changing process (S510: FIG. 7) of the first embodiment.
まず、CPU11は、入力レベル1閾値変更処理(S702)を実行する。なお、この入力レベル1閾値変更処理(S702)は、図8のS702と同一の処理である。この入力レベル1閾値変更処理(S702)により、ギャップ修正ディザマトリクス(図3(a))が生成される。
First, the
次に、CPU11は、変数「Si」に「2」を設定し(S1302)、変数「n」に「255」を設定し(S1304)、変数「L」に「255」を設定する(S1306)。次に、CPU11は、基準ディザマトリクス142(図2(a))において、「L」の閾値(例えば255)が格納されているセルを特定し(S1307)、その特定したセルに対し、ギャップ修正ディザマトリクス(図3(a))において設定されている閾値(例えば249)を取得し、変数「Ln」に、その取得した閾値を設定する(S1308)。
Next, the
次に、CPU11は、「Ln」と「n」とが等しいか否かを判断する(S1310)。S1310の判断が否定される場合(S1310:No)、CPU11は、ギャップ修正ディザマトリクス(図3(a))において、「L」の閾値が設定してあったセルの値を「n」に変更する(S1312)。次に、CPU11は、「n」から「Si」を減算し(S1314)、「L」から1を減算する(S1316)。そして、CPU11は、S1307に戻り処理を繰り返す。
Next, the
このようにして処理を繰り返すうちに、S1310の判断が肯定されると(S1310:Yes)、CPU11は、生成されたディザマトリクスを、暗部吸収型の変更ディザマトリクス146としてHDD14(図1)に記憶し(S1318)、暗部吸収型のディザ閾値変更処理(S130)を終了する。この暗部吸収型のディザ閾値変更処理(S130)により、暗部吸収型の変更ディザマトリクス146が生成される。
If the determination in S1310 is affirmed while the processing is repeated in this manner (S1310: Yes), the
図14は、暗部吸収型の変更ディザマトリクス146の一例を示す図である。図14に示すように、暗部吸収型の変更ディザマトリクス146においては、8個のセルに閾値「1」が設定されており、最大閾値「255」から「243」までの間は、偶数の閾値が間引かれている。そして、閾値「2」から「242」までの間は、閾値が連続的に設定される。
FIG. 14 is a diagram illustrating an example of the dark part absorption type
図15は、濃淡レベルとONドット数との対応関係を示すグラフであり、図12に対応する。図15の上段は、濃淡レベルが0から255の範囲を示し、下段は、濃淡レベルが225から255の範囲を拡大して示す。なお、図15において、破線は、基準ディザマトリクス142を用いてディザ処理する場合を示し、実線は、図14に示す暗部吸収型の変更ディザマトリクス146を用いてディザ処理する場合を示している。
FIG. 15 is a graph showing the correspondence between the light / dark level and the number of ON dots, and corresponds to FIG. The upper part of FIG. 15 shows the range where the gray level is 0 to 255, and the lower part shows the range where the gray level is 225 to 255 in an enlarged manner. In FIG. 15, a broken line indicates a case where dither processing is performed using the
上述したように、暗部吸収型の変更ディザマトリクス146(図14)においては、最小閾値「1」が、例えば8個のセルに設定され、かつ「2」以上の閾値が連続的に設定されている。よって、図15に示すように、暗部吸収型の変更ディザマトリクス146を用いる場合のONドット数は、基準ディザマトリクス142を用いる場合に比較して、全体として高い値となる。換言すれば、暗部吸収型変更ディザマトリクス146を用いる場合は、基準ディザマトリクス142を用いる場合に比較して、出力画像は、全体として濃く印刷される。
As described above, in the dark part absorption type change dither matrix 146 (FIG. 14), the minimum threshold value “1” is set to, for example, 8 cells, and the threshold value “2” or higher is continuously set. Yes. Therefore, as shown in FIG. 15, the number of ON dots when the dark part absorption type
しかしながら、濃淡レベルが「241」以上の高階調領域(本発明の高階調領域の一例)においては、暗部吸収型の変更ディザマトリクス146を用いる場合のONドット数の変化率が緩やかとなり、濃淡レベル255において、基準ディザマトリクス142を用いる場合のONドット数と一致する。換言すれば、暗部吸収型の変更ディザマトリクス146を用いる場合、高階調領域での濃淡レベルの変化に対するONドット数の変化を示す濃度変化率が、基準ディザマトリクス142を用いる場合の高階調領域での濃度変化率よりも小さくなるように、暗部吸収型の変更ディザマトリクス146の閾値が設定される。よって、最小閾値「1」の個数を増大したことで生じる濃度変化率の急激な変化が、高階調領域(濃淡レベルの高い領域)において吸収される。その結果、濃淡レベルが低階調領域および中間調領域においては、暗部吸収型の変更ディザマトリクス146を用いる場合の濃度変化率を、基準ディザマトリクス142を用いる場合と等しくすることができる。
However, in a high gradation region (an example of the high gradation region of the present invention) having a light and shade level of “241” or more, the change rate of the number of ON dots when using the dark part absorption type
第3実施形態のPC10によれば、暗部吸収型の変更ディザマトリクス146を用いる場合に中間調領域以外の領域で生じ得る濃度変化率の急激な変化を、その濃度変化率の変化が比較的目立ち難い高階調領域で吸収することができる。また、第2実施形態と同様に、中間調領域においては、基準ディザマトリクス142を用いた場合と同等の濃度変化率で、出力画像において濃淡を再現させることができる。
According to the
次に、図16を参照して、第4実施形態について説明する。第4実施形態のPC10は、印刷対象の入力画像データが、高輝度画像データであるか、あるいは低輝度画像データであるかに応じて、淡部吸収型のディザマトリクス145を生成するか、あるいは暗部吸収型のディザマトリクス146を生成するかを切り替える点において、他の実施形態と異なっている。
Next, a fourth embodiment will be described with reference to FIG. The
図16は、第4実施形態のPC10で実行される印刷データ生成処理を示すフローチャートである。この印刷データ生成処理は、第1実施形態の印刷データ生成処理(図5)に代えて実行される。以下、第1実施形態の印刷データ生成処理(図5)に含まれるステップと同一のステップについては、同一の符号を付して説明を省略または簡略化する。
FIG. 16 is a flowchart illustrating print data generation processing executed by the
第4実施形態では、S504からS507の処理により、4色分のディザ決定用パッチを選択した後、CPU11は、入力画像データの輝度ヒストグラムを作成する(S1602)。入力画像データは、R(赤),G(緑),B(青)の各色の輝度値から構成されるRGB画像データで構成される。また、本実施形態では、下記の(1)式に従って算出される値を、各画素の輝度として算出し、ヒストグラムを作成する。
In the fourth embodiment, after selecting the dither determination patches for four colors by the processing from S504 to S507, the
輝度=Rの輝度値×0.29891+Gの輝度値×0.58661+Bの輝度値×0.11448 ・・・(1) Luminance = R luminance value × 0.29891 + G luminance value × 0.58661 + B luminance value × 0.11448 (1)
次に、CPU11は、入力画像データが、高い輝度の画素を多く含む高輝度画像データであるか、あるいは低い輝度の画素を多く含む低輝度画像データかを判断する(S1604)。具体的には、輝度ヒストグラムを参照し、例えば、輝度の高い画素の量(画素数)と、輝度の低い画素の量(画素数)とを比較し、輝度の高い画素の量が、輝度の低い画素の量よりも多ければ、高輝度画像データと判断する。なお、高い輝度と、低い輝度とを区別するための適切な閾値は、例えば、輝度が取り得る値の平均値(中心値)であってもよい。
Next, the
S1604において、入力画像データが高輝度画像データであると判断される場合、すなわち全体的に明るい画像を表す画像データであると判断される場合、CPU11は、暗部吸収型のディザ閾値変更処理を実行する(S1606)。なお、この処理(S1606)は、図13の処理(S130)と同一である。この処理(S1606)によれば、高輝度画像データを変換して得られる対象画像データを出力画像データに変換するための変更ディザマトリクスとして、暗部吸収型の変更ディザマトリクス146(図14)が生成され、HDD14(図1)に記憶される。なお、暗部吸収型の変更ディザマトリクスが、本発明における第1種の変更ディザマトリクスの一例に相当する。
If it is determined in step S1604 that the input image data is high-luminance image data, that is, if it is determined that the input image data is image data representing an overall bright image, the
そして、CPU11は、暗部吸収型のディザ閾値変更処理(S1606)の4色分の処理を終了したか否かを判断し(S1608)、S1608の判断が否定される場合(S1608:No)、S1606に戻り、処理を繰り返す。
Then, the
一方、S1604において、入力画像データが低輝度画像データであると判断される場合、すなわち全体的に暗い画像を表す画像データであると判断される場合、CPU11は、淡部吸収型のディザ閾値変更処理を実行する(S1610)。なお、この処理(S1610)は、図10の処理(S100)と同一であるため、詳細な説明は省略する。この処理(S1610)によれば、低輝度画像データを変換して得られる対象画像データを出力画像データに変換するための変更ディザマトリクスとして、淡部吸収型の変更ディザマトリクス145(図11)が生成され、HDD14に記憶される。なお、暗部吸収型の変更ディザマトリクス145が、第2種の変更ディザマトリクスの一例に相当する。
On the other hand, if it is determined in step S1604 that the input image data is low-luminance image data, that is, if it is determined that the input image data is image data representing a dark image as a whole, the
そして、CPU11は、淡部吸収型のディザ閾値変更処理(S1610)の4色分の処理を終了したか否かを判断し(S1612)、S1612の判断が否定される場合(S1612:No)、S1610に戻り、処理を繰り返す。
Then, the
このようにして、暗部吸収型の変更ディザマトリクス146か、または淡部吸収型の変更ディザマトリクス145のいずれかが4色分生成され、S1608またはS1612の判断が肯定されると(S1608またはS1612:Yes)、CPU11は、入力画像データを、予め定められた関係に従って対象画像データに変換する色変換処理を実行し(S1614)、直前に生成した変更ディザマトリクス145,146に従って、対象画像データを出力画像に変換するディザ処理(S1616)を実行する。すなわち、高輝度画像データを色変換して得られた対象画像データは、S1606の処理において生成した、暗部吸収型の変更ディザマトリクス146を用いて出力画像データに変換され、一方、低輝度画像データを色変換して得られた対象画像データは、S1610の処理において生成した、淡部吸収型の変更ディザマトリクス145を用いて出力画像データに変換される。
In this way, when either the dark part absorption type
第4実施形態によれば、高輝度画像データを色変換して得られる対象画像データは、暗部吸収型の変更ディザマトリクス146を用いてディザ処理される。図17を参照して説明したように、暗部吸収型の変更ディザマトリクス146が用いられる場合は、高階調領域(すなわち、濃い色の領域)における濃度変化率が、基準ディザマトリクス142を用いた場合と異なることとなる。しかし、高輝度画像データは、高い輝度の画素を多く含む明るい画像データであるため、高階調領域(すなわち、低い輝度に対応する濃い色の領域)における濃度変化率の変化が比較的目立ち難い。
According to the fourth embodiment, target image data obtained by color-converting high-luminance image data is dithered using the dark part absorption type
同様に、低輝度画像データを色変換して得られる対象画像データは、淡部吸収型の変更ディザマトリクス145を用いてディザ処理される。図13を参照して説明したように、淡部吸収型の変更ディザマトリクス145を用いる場合は、低階調領域(すなわち淡い色の領域)における濃度変化率が、基準ディザマトリクス142を用いた場合と異なることとなる。しかし、低輝度画像データは、低い輝度の画素を多く含む暗い画像データであるため、低階調領域(すなわち、高い輝度に対応する淡い色の領域)における濃度変化率の変化が比較的目立ち難い。
Similarly, target image data obtained by color-converting low-luminance image data is dithered using a light absorption type
なお、S100、S130、S510、S1606、S1610のステップを実行するCPU11が、本発明の変更手段の一例に相当し、S706〜S714、S1004〜S1018、S1302〜S1316、S1606、S1610のステップを実行するCPU11が、閾値調整手段の一例に相当する。また、S504のステップを実行するCPU11が、本発明のパッチ印刷制御手段の一例に相当し、S506のステップを実行するCPU11が、選択手段の一例に相当する。また、S801、S1002のステップを実行するCPU11が、本発明の最小閾値設定手段の一例に相当し、S514、S1616のステップを実行するCPU11が、ディザ手段の一例に相当する。また、S1604のステップを実行するCPU11が、本発明の判断手段の一例に相当し、S1614のステップを実行するCPU11が変換手段の一例に相当する。
The
以上、実施形態に基づき本発明を説明したが、本発明は上述した実施形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変更が可能であることは容易に推察できるものである。 Although the present invention has been described based on the embodiments, the present invention is not limited to the above-described embodiments, and various improvements and modifications can be easily made without departing from the spirit of the present invention. Can be inferred.
例えば、本実施形態では、最小閾値「1」の個数を増加させたが、基準ディザマトリクス142に最小閾値「1」が予め複数設定されていた場合において、より淡い色のディザ決定用パッチ52をユーザが指定した場合には、例えば、最小閾値の個数を減少するように、閾値を変更しても良い。
For example, in the present embodiment, the number of the minimum threshold value “1” is increased. However, when a plurality of minimum threshold values “1” are set in the
また、上記実施形態では、印刷データ生成処理(図5,図16)は、PC10において実行されているが、これに代えて、プリンタ40の制御部50において実行されても良い。この場合、制御部50(図1参照)が本発明の印刷制御装置の一例に相当し、画像形成部47が印刷部の一例に相当し、プリンタ40が印刷装置の一例に相当する。また、CPU41が本発明のコンピュータの一例に相当し、ROM42に格納されたプログラムが、印刷制御プログラムの一例に相当する。
In the above-described embodiment, the print data generation process (FIGS. 5 and 16) is executed by the
また、上記実施形態では、プリンタ40がレーザプリンタで構成されるものとして説明したが、プリンタ40がインクジェット方式など、レーザ以外の方式を採用するプリンタであっても、本発明は適用可能である。
In the above-described embodiment, the
また、上記実施形態では、最小閾値設定ディザマトリクス(図2(b))の閾値をさらに変更して、変更ディザマトリクス143,145,146を生成することとしたが、最小閾値設定ディザマトリクスを、変更ディザマトリクス143として、ディザ処理に用いるように構成しても良い。この場合であっても、上記実施形態と同様に、最小の濃度が適切に表現された出力画像を、プリンタ40に印刷させることができる。
In the above embodiment, the threshold values of the minimum threshold setting dither matrix (FIG. 2B) are further changed to generate the changed
また、上記実施形態では、ユーザにより指定されたディザ決定用パッチ52を選択することとしていたが、プリンタ40が濃度測定用のセンサを備えている場合など、センサの測定結果をプリンタ40が取得できるように構成されている場合には、そのセンサの測定結果に基づいて、ディザ決定用パッチ52が選択されても良い。
In the above embodiment, the
10 PC
40 プリンタ
52 ディザ決定用パッチ
141 プリンタドライバ
142 基準ディザマトリクス
143 変更ディザマトリクス
145 淡部吸収型の変更ディザマトリクス
146 暗部吸収型の変更ディザマトリクス
10 PC
40
Claims (11)
前記印刷部に、互いに濃度が異なる複数種類のパッチを印刷させるパッチ印刷制御手段と、
前記印刷部により印刷される前記複数種類のパッチの中からいずれかのパッチを選択する選択手段と、
予め準備された基準ディザマトリクスが有する閾値群のうち少なくとも一部が変更された変更ディザマトリクスを生成する変更手段と、
前記変更ディザマトリクスを用いて、前記対象画像データを前記出力画像データに変換するディザ手段とを備え、
前記変更手段は、仮に、前記対象画像データに含まれる各画素の濃淡レベルが0を除く最小の値である場合に、前記対象画像データを前記変換ディザマトリクスを用いて変換して得られる前記出力画像データに基づいて前記印刷部により印刷される前記出力画像の濃度が、前記選択されたパッチの濃度と等しくなるように、前記基準ディザマトリクスが有する閾値群のうち少なくとも一部を変更して、前記変更ディザマトリクスを生成することを特徴とする印刷制御装置。 A print control apparatus that converts target image data representing a target image into output image data representing an output image, and causes the printing unit to print the output image,
Patch printing control means for causing the printing unit to print a plurality of types of patches having different densities;
Selecting means for selecting any one of the plurality of types of patches printed by the printing unit;
Changing means for generating a changed dither matrix in which at least a part of a threshold group included in a reference dither matrix prepared in advance is changed;
Dither means for converting the target image data into the output image data using the modified dither matrix;
The changing means is the output obtained by converting the target image data using the conversion dither matrix when the gray level of each pixel included in the target image data is a minimum value excluding 0. Changing at least a part of the threshold group of the reference dither matrix so that the density of the output image printed by the printing unit based on image data is equal to the density of the selected patch; A print control apparatus that generates the modified dither matrix.
前記変更手段は、
前記基準ディザマトリクスが有する閾値群のうち、前記選択されたパッチに対応する濃淡レベル以下の閾値を、前記基準ディザマトリクスが有する閾値群の中で最小の閾値に変更した最小閾値設定ディザマトリクスを生成する最小閾値設定手段を備え、
前記変更手段は、前記最小閾値設定ディザマトリクスに基づいて前記変更ディザマトリクスを生成することを特徴とする請求項1記載の印刷制御装置。 The plurality of types of patches correspond to different shade levels, and the density of each patch is the target image data of each pixel having the corresponding shade level as a threshold group of the reference dither matrix. It is equal to the density of the output image represented by the output image data obtained by comparison,
The changing means is
A minimum threshold setting dither matrix is generated by changing a threshold level below the gray level corresponding to the selected patch from the threshold group included in the reference dither matrix to a minimum threshold among the threshold groups included in the reference dither matrix. A minimum threshold setting means for
The print control apparatus according to claim 1, wherein the change unit generates the change dither matrix based on the minimum threshold setting dither matrix.
前記変更ディザマトリクスに含まれる各閾値が連続するように、前記最小閾値設定ディザマトリクスに含まれる前記最小の閾値以外の閾値を変更することによって、前記変更ディザマトリクスを生成する閾値調整手段を備えることを特徴とする請求項2記載の印刷制御装置。 The changing means further includes:
Threshold adjustment means for generating the changed dither matrix by changing a threshold other than the minimum threshold included in the minimum threshold setting dither matrix so that each threshold included in the changed dither matrix is continuous. The print control apparatus according to claim 2.
前記最小閾値設定ディザマトリクスに含まれる前記最小の閾値以外の閾値を、前記最小の閾値より大きく、且つ、前記最小閾値設定ディザマトリクスに含まれる前記最小の閾値の次に小さい閾値よりも小さくなるように変更することによって、前記変更ディザマトリクスを生成することを特徴とする請求項3記載の印刷制御装置。 The threshold adjustment means further includes
Threshold values other than the minimum threshold value included in the minimum threshold value setting dither matrix are set to be larger than the minimum threshold value and smaller than the next smallest threshold value after the minimum threshold value included in the minimum threshold value setting dither matrix. The print control apparatus according to claim 3, wherein the change dither matrix is generated by changing to the following.
前記変更ディザマトリクスを用いる場合の中間調領域での濃度変化率であって、濃淡レベルの変化に対する出力画像の濃度の変化を示す前記濃度変化率が、前記基準ディザマトリクスを用いる場合の前記中間調領域での前記濃度変化率と等しくなるように、前記最小閾値設定ディザマトリクスの前記最小の閾値以外の閾値を変更することによって、前記変更ディザマトリクスを生成することを特徴とする請求項3または4記載の印刷制御装置。 The threshold adjustment means further includes
The density change rate in the halftone area when the changed dither matrix is used, and the density change rate indicating the change in density of the output image with respect to the change in the gray level is the halftone area when using the reference dither matrix 5. The changed dither matrix is generated by changing a threshold other than the minimum threshold of the minimum threshold setting dither matrix so as to be equal to the density change rate in a region. The printing control apparatus described.
前記変更ディザマトリクスとして、第1種の変更ディザマトリクスであって、前記第1種の変更ディザマトリクスを用いる場合の低階調領域での前記濃度変化率が、前記基準ディザマトリクスを用いる場合の前記低階調領域での前記濃度変化率よりも小さくなるように設定された前記第1種の変更ディザマトリクスを生成することを特徴とする請求項5記載の印刷制御装置。 The threshold adjustment means includes
The change dither matrix is a first type of change dither matrix, and the density change rate in the low gradation region when the first type of change dither matrix is used, the case where the reference dither matrix is used. 6. The print control apparatus according to claim 5, wherein the first type of changed dither matrix set to be smaller than the density change rate in a low gradation region is generated.
前記変更ディザマトリクスとして、第2種の変更ディザマトリクスであって、前記第2種の変更ディザマトリクスを用いる場合の高階調領域での前記濃度変化率が、前記基準ディザマトリクスを用いる場合の前記高階調領域での前記濃度変化率よりも小さくなるように設定された前記第2種の変更ディザマトリクスを生成することを特徴とする請求項5記載の印刷制御装置。 The threshold adjustment means includes
The modified dither matrix is a second type of modified dither matrix, and the density change rate in the high gradation region when the second type of modified dither matrix is used is the higher order when the reference dither matrix is used. 6. The print control apparatus according to claim 5, wherein the second type of change dither matrix set so as to be smaller than the density change rate in the tone area is generated.
前記入力画像データが、高い輝度の画素を多く含む高輝度画像データであるか、あるいは低い輝度の画素を多く含む低輝度画像データであるかを判断する判断手段とを備え、
前記閾値調整手段は、
前記入力画像データが高輝度画像データである場合に、前記高輝度画像データを前記変換手段により変換して得られる対象画像データを、前記出力画像データに変換するための前記変更ディザマトリクスとして、第1種の前記変更ディザマトリクスを生成し、
前記入力画像データが低輝度画像データである場合に、前記低輝度画像データを前記変換手段により変換して得られる対象画像データを、前記出力画像データに変換するための前記変更ディザマトリクスとして、第2種の前記変更ディザマトリクスを生成し、
前記第1種の変更ディザマトリクスは、前記第1種の変更ディザマトリクスを用いる場合の高階調領域での前記濃度変化率が、前記基準ディザマトリクスを用いる場合の前記高階調領域での前記濃度変化率よりも小さくなるように設定され、
前記第2種の変更ディザマトリクスは、前記第2種の変更ディザマトリクスを用いる場合の低階調領域での前記濃度変化率が、前記基準ディザマトリクスを用いる場合の前記低階調領域での前記濃度変化率よりも小さくなるように設定されることを特徴とする請求項5記載の印刷制御装置。 Conversion means for converting input image data into the target image data;
Determining means for determining whether the input image data is high-luminance image data including many high-luminance pixels or low-luminance image data including many low-luminance pixels;
The threshold adjustment means includes
When the input image data is high-luminance image data, the target image data obtained by converting the high-luminance image data by the conversion unit is used as the modified dither matrix for converting the output image data. Generate one kind of the modified dither matrix,
When the input image data is low-luminance image data, the target image data obtained by converting the low-luminance image data by the conversion unit is used as the modified dither matrix for converting the output image data. Generate two types of the modified dither matrix,
The first type of change dither matrix is such that the density change rate in the high gradation region when the first type change dither matrix is used is the density change in the high gradation region when the reference dither matrix is used. Set to be less than the rate,
The second type of change dither matrix is such that the density change rate in the low gradation region when the second type of change dither matrix is used is the same as that in the low gradation region when the reference dither matrix is used. The print control apparatus according to claim 5, wherein the print control apparatus is set to be smaller than the density change rate.
コンピュータを、
前記印刷部に、互いに濃度が異なる複数種類のパッチを印刷させるパッチ印刷制御手段と、
前記印刷部により印刷される前記複数種類のパッチの中からいずれかのパッチを選択する選択手段と、
予め準備された基準ディザマトリクスが有する閾値群のうち少なくとも一部が変更された変更ディザマトリクスを生成する変更手段と、
前記変更ディザマトリクスを用いて、前記対象画像データを前記出力画像データに変換するディザ手段として機能させるものであり、
前記変更手段は、仮に、前記対象画像データに含まれる各画素の濃淡レベルが0を除く最小の値である場合に、前記対象画像データを前記変換ディザマトリクスを用いて変換して得られる前記出力画像データに基づいて前記印刷部により印刷される前記出力画像の濃度が、前記選択されたパッチの濃度と等しくなるように、前記基準ディザマトリクスが有する閾値群のうち少なくとも一部を変更して、前記変更ディザマトリクスを生成することを特徴とする印刷制御プログラム。 A print control program for converting target image data representing a target image into output image data representing an output image, and causing the printing unit to print the output image,
Computer
Patch printing control means for causing the printing unit to print a plurality of types of patches having different densities;
Selecting means for selecting any one of the plurality of types of patches printed by the printing unit;
Changing means for generating a changed dither matrix in which at least a part of a threshold group included in a reference dither matrix prepared in advance is changed;
Using the modified dither matrix, the target image data is made to function as dither means for converting into the output image data,
The changing means is the output obtained by converting the target image data using the conversion dither matrix when the gray level of each pixel included in the target image data is a minimum value excluding 0. Changing at least a part of the threshold group of the reference dither matrix so that the density of the output image printed by the printing unit based on image data is equal to the density of the selected patch; A printing control program for generating the modified dither matrix.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008313102A JP4821840B2 (en) | 2008-12-09 | 2008-12-09 | PRINT CONTROL DEVICE, PRINT DEVICE, AND PRINT CONTROL PROGRAM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008313102A JP4821840B2 (en) | 2008-12-09 | 2008-12-09 | PRINT CONTROL DEVICE, PRINT DEVICE, AND PRINT CONTROL PROGRAM |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010141395A true JP2010141395A (en) | 2010-06-24 |
JP4821840B2 JP4821840B2 (en) | 2011-11-24 |
Family
ID=42351165
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008313102A Expired - Fee Related JP4821840B2 (en) | 2008-12-09 | 2008-12-09 | PRINT CONTROL DEVICE, PRINT DEVICE, AND PRINT CONTROL PROGRAM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4821840B2 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014127985A (en) * | 2012-12-27 | 2014-07-07 | Fujifilm Corp | Threshold matrix generating device, method, program, and image forming apparatus |
JP2014151587A (en) * | 2013-02-12 | 2014-08-25 | Brother Ind Ltd | Imaging device and computer program |
WO2015147151A1 (en) * | 2014-03-27 | 2015-10-01 | 富士フイルム株式会社 | Image processing apparatus and method, printing system, halftone processing determination method, and program |
WO2015147152A1 (en) * | 2014-03-27 | 2015-10-01 | 富士フイルム株式会社 | Printing system, halftone processing rule generation method, characteristic parameter acquisition method, image processing device and method, halftone processing rule, halftone image, printed matter production method, inkjet printing system, and program |
JP2015192181A (en) * | 2014-03-27 | 2015-11-02 | 富士フイルム株式会社 | Image processing apparatus and method, printing system, and program |
JP2015192183A (en) * | 2014-03-27 | 2015-11-02 | 富士フイルム株式会社 | Image processing apparatus and method, printing system, and program |
JP2016064634A (en) * | 2014-03-27 | 2016-04-28 | 富士フイルム株式会社 | Printing system, characteristic parameter acquisition method, image processing apparatus, and program |
JP2016066987A (en) * | 2014-03-27 | 2016-04-28 | 富士フイルム株式会社 | Image processing apparatus and method, printing system, halftone processing rule generation method, halftone processing rule, halftone image, printed matter manufacturing method, and program |
JP2016141020A (en) * | 2015-01-30 | 2016-08-08 | ブラザー工業株式会社 | Print data generator |
US9967428B2 (en) | 2014-03-27 | 2018-05-08 | Fujifilm Corporation | Printing system, method of generating halftone processing rule, method of acquiring characteristic parameter, image processing device, image processing method, halftone processing rule, halftone image, method of manufacturing printed material, inkjet printing system, and program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1141464A (en) * | 1997-07-16 | 1999-02-12 | Canon Inc | Image processor and image processing method |
JP2002044455A (en) * | 2000-07-27 | 2002-02-08 | Hitachi Ltd | Calibration method and test chart for color laser printer |
-
2008
- 2008-12-09 JP JP2008313102A patent/JP4821840B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1141464A (en) * | 1997-07-16 | 1999-02-12 | Canon Inc | Image processor and image processing method |
JP2002044455A (en) * | 2000-07-27 | 2002-02-08 | Hitachi Ltd | Calibration method and test chart for color laser printer |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014127985A (en) * | 2012-12-27 | 2014-07-07 | Fujifilm Corp | Threshold matrix generating device, method, program, and image forming apparatus |
JP2014151587A (en) * | 2013-02-12 | 2014-08-25 | Brother Ind Ltd | Imaging device and computer program |
JP2016066987A (en) * | 2014-03-27 | 2016-04-28 | 富士フイルム株式会社 | Image processing apparatus and method, printing system, halftone processing rule generation method, halftone processing rule, halftone image, printed matter manufacturing method, and program |
US9967428B2 (en) | 2014-03-27 | 2018-05-08 | Fujifilm Corporation | Printing system, method of generating halftone processing rule, method of acquiring characteristic parameter, image processing device, image processing method, halftone processing rule, halftone image, method of manufacturing printed material, inkjet printing system, and program |
JP2015192181A (en) * | 2014-03-27 | 2015-11-02 | 富士フイルム株式会社 | Image processing apparatus and method, printing system, and program |
JP2015192183A (en) * | 2014-03-27 | 2015-11-02 | 富士フイルム株式会社 | Image processing apparatus and method, printing system, and program |
JP2016064634A (en) * | 2014-03-27 | 2016-04-28 | 富士フイルム株式会社 | Printing system, characteristic parameter acquisition method, image processing apparatus, and program |
JP2016066986A (en) * | 2014-03-27 | 2016-04-28 | 富士フイルム株式会社 | Printing system, halftone processing rule generation method, image processing apparatus, and program |
WO2015147151A1 (en) * | 2014-03-27 | 2015-10-01 | 富士フイルム株式会社 | Image processing apparatus and method, printing system, halftone processing determination method, and program |
US11375082B2 (en) | 2014-03-27 | 2022-06-28 | Fujifilm Corporation | Printing system, method of generating halftone processing rule, method of acquiring characteristic parameter, image processing device, image processing method, halftone processing rule, halftone image, method of manufacturing printed material, inkjet printing system, and program |
JP2017195636A (en) * | 2014-03-27 | 2017-10-26 | 富士フイルム株式会社 | Printing system, generation method of halftone processing rule, image processing apparatus and program |
US9860423B2 (en) | 2014-03-27 | 2018-01-02 | Fujifilm Corporation | Image processing device and method, printing system, halftone process determination method, and program |
WO2015147152A1 (en) * | 2014-03-27 | 2015-10-01 | 富士フイルム株式会社 | Printing system, halftone processing rule generation method, characteristic parameter acquisition method, image processing device and method, halftone processing rule, halftone image, printed matter production method, inkjet printing system, and program |
US10594896B2 (en) | 2014-03-27 | 2020-03-17 | Fujifilm Corporation | Printing system, method of generating halftone processing rule, image processing device, and program acquiring parameters related to characteristic errors of the printing system |
US10944886B2 (en) | 2014-03-27 | 2021-03-09 | Fujifilm Corporation | Printing system, method of generating halftone processing rule, method of acquiring characteristic parameter, image processing device, image processing method, halftone processing rule, halftone image, method of manufacturing printed material, inkjet printing system, and program |
JP2016141020A (en) * | 2015-01-30 | 2016-08-08 | ブラザー工業株式会社 | Print data generator |
Also Published As
Publication number | Publication date |
---|---|
JP4821840B2 (en) | 2011-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4821840B2 (en) | PRINT CONTROL DEVICE, PRINT DEVICE, AND PRINT CONTROL PROGRAM | |
JP3874828B2 (en) | Processing system for processing color documents | |
JP6658032B2 (en) | Image processing apparatus, image forming apparatus, image processing method, and program | |
US10678159B2 (en) | Apparatus, system, and method | |
JP2007329899A (en) | Color processing apparatus and method therefor | |
JP2009069680A (en) | Image processor and program | |
EP1503575B1 (en) | Device and method for color reduction | |
JP5891746B2 (en) | Image processing apparatus, image processing method, and program | |
US7187473B2 (en) | Image processing method and apparatus, and recording medium used therewith | |
US9077914B2 (en) | Image processing apparatus and control method thereof printing image data having M tones under infrared light | |
JP2007020137A (en) | Image processing apparatus and method, multi-color image forming apparatus, program and recording medium | |
JP2004058624A (en) | Image processing method and image processor | |
JP3303427B2 (en) | Digital image forming equipment | |
US20070236738A1 (en) | Image processing device, image processing method, storage medium for storing program and data signal | |
JP2008254341A (en) | Image formation device and image forming method | |
KR101260308B1 (en) | Image forming apparatus and image forming method thereof | |
JP4228804B2 (en) | Image processing apparatus, image forming apparatus, image processing method, program thereof, and recording medium recording the program | |
JPH09261469A (en) | Device and method for processing image | |
US8537412B2 (en) | Printing control device | |
JP2007251619A (en) | Image processing apparatus, image processing method, and image processing program | |
JP2008129110A (en) | Color image forming apparatus | |
JP2010098724A (en) | Color processing apparatus, image forming apparatus, and program | |
JP6060951B2 (en) | Image forming apparatus, control method thereof, and computer program | |
JP2002223357A (en) | Electrophotographic apparatus and image processing program | |
US10798267B2 (en) | Image processing to set output pixel values subject to edge or thin line correction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100325 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110520 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110531 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110722 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110809 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110822 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4821840 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140916 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |