JP2010157982A - Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium - Google Patents

Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium Download PDF

Info

Publication number
JP2010157982A
JP2010157982A JP2009080353A JP2009080353A JP2010157982A JP 2010157982 A JP2010157982 A JP 2010157982A JP 2009080353 A JP2009080353 A JP 2009080353A JP 2009080353 A JP2009080353 A JP 2009080353A JP 2010157982 A JP2010157982 A JP 2010157982A
Authority
JP
Japan
Prior art keywords
dither
image
value
gradation
pixel
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
Application number
JP2009080353A
Other languages
Japanese (ja)
Other versions
JP4991782B2 (en
Inventor
Hisamitsu Katogi
央光 加藤木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2009080353A priority Critical patent/JP4991782B2/en
Publication of JP2010157982A publication Critical patent/JP2010157982A/en
Application granted granted Critical
Publication of JP4991782B2 publication Critical patent/JP4991782B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Color, Gradation (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To suppress the consumption quantity of color material to be used for print processing, while maintaining gradation reproducibility. <P>SOLUTION: An image processing apparatus 10 includes a gradation reproduction processing section 19 and a mode switching section 31. The gradation reproduction processing section 19 outputs a dither image by applying multi-level dither processing to an input image while using a dither matrix 2. The mode switching section 31 switches a normal mode and a toner save mode. Furthermore, the gradation reproduction processing section 19 includes a threshold selector 52. In the case that a pixel of the dither image corresponding to a density adjustment position in the dither matrix 2 is defined as a specific pixel, the threshold selector 52 adjusts the number of gradations of the specific pixel and a gradation value indicative of a peak density in such a way that the specific pixel becomes multi-gradation even either under the normal mode or under the toner save mode, and the peak density of the specific pixel under the toner save mode is suppressed rather than under the normal mode. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、入力画像データに対して中間調処理、特に多値ディザ処理を行う画像処理装置、画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method for performing halftone processing, particularly multilevel dither processing, on input image data.

従来、画像を紙などの記録媒体に出力する方式として、熱転写、電子写真、あるいはインクジェット方式を始めとする様々な記録方式が採用されている。これらの記録方式では、入力画像の階調に応じたドットパターンを生成して印字媒体上に形成する、いわゆるハーフトーン処理が多用されている。   Conventionally, as a method for outputting an image to a recording medium such as paper, various recording methods such as thermal transfer, electrophotography, or an ink jet method have been adopted. In these recording methods, so-called halftone processing is often used in which a dot pattern corresponding to the gradation of an input image is generated and formed on a print medium.

ハーフトーン処理の1つであるディザ処理では、画素単位に閾値がn×mのマトリクス状に配置されたディザマトリクスを用い、画素単位に入力される多値画像データをディザマトリクスの各閾値と1画素単位で比較し、多値画像データを2値あるいは多値に量子化変換して、ハーフトーン画像を得るようにしている。ドットパターンの作成に使用するディザマトリクスの例としては、ドット分散型およびドット集中型のディザマトリクスが挙げられる。   In dither processing, which is one of the halftone processes, a dither matrix arranged in a matrix of n × m threshold values for each pixel is used, and multi-value image data input for each pixel is set to each threshold value of the dither matrix. A halftone image is obtained by comparing pixel values and quantizing multi-value image data into binary or multi-value data. Examples of the dither matrix used for creating the dot pattern include a dot dispersion type and a dot concentration type dither matrix.

一方、近年の環境問題への意識の高まりにより、オフィス等に設置される複合機に用いられる紙やトナーの使用量をできるだけ削減したいというニーズも高まっている。これに対し、簡単な構成で、色の変更を最小限に抑えつつトナーセーブを実現する方法が特許文献1に挙げられている。特許文献1には、トナーセーブモードが選択された場合、ディザマトリクスの所定位置の出力データを0に置き換える白マスク処理を行うことが示されている。   On the other hand, with the recent increase in awareness of environmental problems, there is a growing need to reduce the amount of paper and toner used in multifunction devices installed in offices and the like as much as possible. On the other hand, Patent Document 1 discloses a method for realizing toner saving with a simple configuration while minimizing color change. Patent Document 1 discloses that when the toner save mode is selected, white mask processing for replacing output data at a predetermined position of the dither matrix with 0 is performed.

特開2005−86719号公報(公開日:2005年3月31日)Japanese Patent Laying-Open No. 2005-86719 (Publication date: March 31, 2005)

しかし、特許文献1の構成では、白マスク処理を行う場合、トナー使用量(出力面積)を抑えることができるものの、高濃度部分に対しても白マスク処理が施されることもあり、再現される階調が不自然なものになるという問題点がある。   However, in the configuration of Patent Document 1, when white mask processing is performed, the amount of toner used (output area) can be suppressed. However, white mask processing may be performed even on a high density portion, and the reproduction is reproduced. There is a problem that the gray level becomes unnatural.

本発明の目的は、従来の問題を解決するものであり、階調再現性を維持しつつ、印刷処理にて用いられる色材(トナー、インク等)の消費量を抑えることの可能な画像処理装置、画像処理方法を提供することである。   SUMMARY OF THE INVENTION An object of the present invention is to solve the conventional problems, and image processing capable of suppressing consumption of color materials (toner, ink, etc.) used in printing processing while maintaining gradation reproducibility. An apparatus and an image processing method are provided.

以上の目的を達成するために、本発明は、多階調の入力画像の各画素と前記入力画像に多値ディザ処理を施すことによって得られる多階調のディザ画像の各画素とに対応する位置である画素対応位置毎に前記入力画像の各画素の階調値と前記ディザ画像の各画素の階調値との関係が定められているディザマトリクスに基づいて、前記入力画像の各画素の階調値を前記ディザ画像の各画素の階調値に変換する多値ディザ処理を行うディザ処理部を備える画像処理装置において、通常モードと、前記ディザ画像が印刷される場合に前記通常モードの時よりも印刷用色材の消費量が抑制されるように前記多値ディザ処理が行われるセーブモードとを切り替える切替部を有し、前記ディザ処理部は、前記ディザマトリクスの全ての画素対応位置のうちの一部の特定位置に対応する前記ディザ画像の画素を特定画素とする場合、前記特定画素が前記通常モードおよび前記セーブモードのいずれのモードであっても多階調となり、且つ、前記セーブモードの時は前記通常モードの時よりも前記特定画素の最高濃度が抑制されるように、前記特定画素の階調数と前記最高濃度を示す階調値とを調整する調整部を含むことを特徴とする。   In order to achieve the above object, the present invention corresponds to each pixel of a multi-tone input image and each pixel of a multi-tone dither image obtained by performing multi-value dither processing on the input image. Based on the dither matrix in which the relationship between the gradation value of each pixel of the input image and the gradation value of each pixel of the dither image is determined for each pixel corresponding position that is a position, In an image processing apparatus including a dither processing unit that performs multi-value dither processing for converting a gradation value into a gradation value of each pixel of the dither image, the normal mode and the normal mode when the dither image is printed. A switching unit for switching between the save mode in which the multi-value dither processing is performed so that the consumption of the color material for printing is suppressed more than the time, and the dither processing unit corresponds to all pixel corresponding positions in the dither matrix. Out of When the pixel of the dither image corresponding to a specific position is a specific pixel, the specific pixel has multiple gradations regardless of whether the specific mode is the normal mode or the save mode. And an adjustment unit that adjusts the number of gradations of the specific pixel and the gradation value indicating the maximum density so that the maximum density of the specific pixel is suppressed more than in the normal mode. To do.

本発明の構成によれば、セーブモード時、印刷されるディザ画像に含まれる一部の画素については、多階調(階調数が3以上)であることが維持されつつ最高濃度レベルが抑制されるため、印刷されるディザ画像全体で階調再現性が不自然になってしまう事を抑制しつつ印刷時の色材の消費量を抑制することが可能となる。   According to the configuration of the present invention, in the save mode, for some pixels included in the dithered image to be printed, the maximum density level is suppressed while maintaining a multi-gradation (the number of gradations is 3 or more). Therefore, it is possible to suppress consumption of the color material during printing while suppressing unnatural gradation reproducibility in the entire printed dither image.

また、本発明の画像処理装置にて扱われる画像がカラー画像である場合、ある色成分の入力画像に対して多値ディザ処理を行う場合と別の色成分の入力画像に対して多値ディザ処理を行う場合とで前記特定位置(つまり濃度の抑制される位置)が同じであれば、印刷されるカラー画像において前記特定位置に対応する領域の濃度が極端に低下してしまう事態が起こることもあり、この事態が生じると階調再現性が不自然になる可能性がある。そこで、本発明の画像処理装置が、色成分毎の前記入力画像および前記ディザ画像を取り扱うカラー画像処理装置である場合、前記調整部は、前記色成分毎に前記ディザマトリクス内の前記特定位置の場所を異ならせることが好ましい。この構成によれば、ある色成分の入力画像に対して多値ディザ処理を行う場合と別の色成分の入力画像に対して多値ディザ処理を行う場合とで前記特定位置を異ならせているため、印刷されるカラー画像において前記特定位置に対応する領域の濃度が極端に低下してしまう事態が生じることを抑制でき、階調再現性が低下してしまう事を抑制できる。   In addition, when the image handled by the image processing apparatus of the present invention is a color image, multi-value dither processing is performed on an input image with a different color component when multi-value dither processing is performed on an input image with a certain color component. If the specific position (that is, the position where the density is suppressed) is the same as when processing is performed, the density of the region corresponding to the specific position in the printed color image may be extremely reduced. If this happens, the gradation reproducibility may become unnatural. Therefore, when the image processing apparatus according to the present invention is a color image processing apparatus that handles the input image and the dither image for each color component, the adjustment unit sets the specific position in the dither matrix for each color component. It is preferable to change the location. According to this configuration, the specific position differs between when multi-value dither processing is performed on an input image of a certain color component and when multi-value dither processing is performed on an input image of another color component. Therefore, it is possible to suppress a situation in which the density of the region corresponding to the specific position in the printed color image is extremely reduced, and it is possible to suppress the gradation reproducibility from being deteriorated.

さらに、前記特定位置に対応する特定画素がディザ画像内のある領域に集中していると、当該領域の濃度が他の領域の濃度に比べて極端に低下してしまう事態が起こる可能性があり、この事態が生じると階調再現性が不自然になる可能性がある。そこで、本発明の画像処理装置においては、前記ディザマトリクスの行方向に沿って前記特定位置が連続せず、且つ、前記ディザマトリクスの列方向に沿って前記特定位置が連続しないように、複数の前記特定位置が前記ディザマトリクスに配置されていることが好ましい。この構成によれば、特定位置に対応する特定画素がディザ画像内のある領域に集中してしまうことを抑制でき、階調再現性が不自然になることを一層抑制できる。   Furthermore, if the specific pixels corresponding to the specific position are concentrated in a certain area in the dither image, there is a possibility that the density of the area will be extremely lower than the density of other areas. If this situation occurs, the gradation reproducibility may become unnatural. Therefore, in the image processing apparatus of the present invention, a plurality of specific positions are not continuous along the row direction of the dither matrix, and the specific positions are not continuous along the column direction of the dither matrix. The specific position is preferably arranged in the dither matrix. According to this configuration, it is possible to suppress the specific pixels corresponding to the specific position from being concentrated on a certain area in the dither image, and it is possible to further suppress the gradation reproducibility from becoming unnatural.

また、本発明の画像処理装置は、前記構成に加えて、前記ディザマトリクスは複数の特定位置を有し、当該複数の特定位置には少なくとも第1および第2特定位置が含まれており、前記調整部は、第1特定位置に対応する第1特定画素の最高濃度を示す階調値と第2特定位置に対応する第2特定画素の最高濃度を示す階調値とが異なる値になるように、前記調整を行う構成であってもよい。さらに、本発明の画像処理装置は、前記構成に加えて、前記ディザマトリクスは複数のサブマトリクスからなり、各サブマトリクスは前記特定位置を有し、前記調整部は、互いに異なるサブマトリクスに属する特定位置同士において、特定位置に対応する特定画素の最高濃度を示す階調値が互いに異なる値になるように、前記調整を行う構成であってもよい。以上の構成により、階調レベルをより多く維持した画像を得られるようになり、トナーセーブを行った場合でも、ある程度の画質向上に寄与することが可能となるという効果を奏する。   Further, in the image processing apparatus of the present invention, in addition to the above configuration, the dither matrix has a plurality of specific positions, and the plurality of specific positions include at least first and second specific positions, The adjustment unit causes the gradation value indicating the highest density of the first specific pixel corresponding to the first specific position to be different from the gradation value indicating the highest density of the second specific pixel corresponding to the second specific position. Alternatively, the adjustment may be performed. Furthermore, in the image processing apparatus of the present invention, in addition to the above-described configuration, the dither matrix includes a plurality of sub-matrices, each sub-matrix has the specific position, and the adjustment unit is a specific unit belonging to different sub-matrices The configuration may be such that the adjustment is performed so that the gradation values indicating the highest density of the specific pixel corresponding to the specific position are different from each other at the positions. With the above configuration, it is possible to obtain an image in which more gradation levels are maintained, and it is possible to contribute to a certain degree of image quality improvement even when toner save is performed.

また、本発明の画像処理装置では、前記ディザマトリクスの画素対応位置毎に、前記入力画像の階調値に対応する前記ディザ画像の階調値を決定するための閾値が定められており、前記ディザ処理部は、前記入力画像の階調値と閾値とを比較し、この比較の結果に応じて、前記入力画像の階調値から変換する前記ディザ画像の階調値を決定する構成であってもよい。さらに、本発明の画像処理装置において、前記ディザ処理部は、前記ディザマトリクスにて定められている前記入力画像の各画素の階調値と前記ディザ画像の各画素の階調値との対応関係を示したテーブルを用いて、前記入力画像の各画素の階調値を前記ディザ画像の各画素の階調値に変換する構成であってもよい。なお、前記テーブルを用いる構成の場合、多値ディザ処理の高速化を図ることができるというメリットを有する。   In the image processing apparatus of the present invention, for each pixel-corresponding position of the dither matrix, a threshold value for determining the gradation value of the dither image corresponding to the gradation value of the input image is determined. The dither processing unit is configured to compare the gradation value of the input image with a threshold value, and to determine the gradation value of the dither image to be converted from the gradation value of the input image according to the comparison result. May be. Furthermore, in the image processing apparatus of the present invention, the dither processing unit is configured such that the correspondence between the gradation value of each pixel of the input image and the gradation value of each pixel of the dither image defined by the dither matrix. The gradation value of each pixel of the input image may be converted to the gradation value of each pixel of the dither image using a table showing the above. The configuration using the table has an advantage that the multi-value dither processing can be speeded up.

さらに、本発明の画像処理装置は、補正前階調値と補正後階調値との関係を示した階調補正用テーブルを用いて、前記多値ディザ処理が実行される前の前記入力画像に対して階調補正処理を行う出力階調補正部を有していてもよい。さらに、この場合、前記出力階調補正部は、前記通常モードにおいて、通常モード用に設定された前記階調補正テーブルを用いて前記階調補正処理を行い、前記セーブモードにおいて、前記通常モード用に設定された階調補正テーブルに含まれる各補正後階調値に対して一定係数を乗じることによって当該階調補正テーブルを変更し、この変更後の階調補正テーブルを用いて前記階調補正処理を行う構成であることが好ましい。また、前記出力階調補正部は、前記セーブモードにおいて、セーブモード用に設定された階調補正用テーブルを用いて前記階調補正処理を行い、前記通常モードにおいて、前記通常モード用に設定された階調補正用テーブルに含まれる各補正後階調値に対して一定係数を乗じることによって前記階調補正用テーブルを修正し、この修正後の階調補正用テーブルを用いて階調補正処理を行う構成であることが好ましい。このようにすれば、一方のモード用に設定された階調補正テーブルを他方のモード時にも援用できる。それゆえ、一方のモード用に設定した階調補正テーブルのみをデフォルトとして記憶しておけば、通常モードとセーブモードとで別々のテーブルを記憶しておく必要はなく、画像処理装置の記憶容量を節約することが可能になる。   Furthermore, the image processing apparatus of the present invention uses the gradation correction table showing the relationship between the gradation value before correction and the gradation value after correction, and the input image before the multi-value dither processing is executed. There may be provided an output gradation correction unit for performing gradation correction processing. Further, in this case, the output gradation correction unit performs the gradation correction processing using the gradation correction table set for the normal mode in the normal mode, and for the normal mode in the save mode. The gradation correction table is changed by multiplying each corrected gradation value included in the gradation correction table set to a constant coefficient, and the gradation correction is performed using the gradation correction table after the change. It is preferable that the processing is performed. Further, the output gradation correction unit performs the gradation correction processing using the gradation correction table set for the save mode in the save mode, and is set for the normal mode in the normal mode. The gradation correction table is corrected by multiplying each corrected gradation value included in the gradation correction table by a constant coefficient, and gradation correction processing is performed using the corrected gradation correction table. It is preferable that it is the structure which performs. In this way, the gradation correction table set for one mode can be used in the other mode. Therefore, if only the gradation correction table set for one mode is stored as a default, it is not necessary to store separate tables for the normal mode and the save mode, and the storage capacity of the image processing apparatus is reduced. It becomes possible to save.

また、上述した画像処理装置を含む画像形成装置も本発明の範疇に含まれる。ここで、画像形成装置とは、電子写真方式またはインクジェット方式のプリンタ、当該プリンタを有する複写機、当該プリンタを有する複合機を意味する。   An image forming apparatus including the above-described image processing apparatus is also included in the scope of the present invention. Here, the image forming apparatus means an electrophotographic or inkjet printer, a copier having the printer, and a multifunction machine having the printer.

さらに、本発明は、多階調の入力画像の各画素と前記入力画像に多値ディザ処理を施すことによって得られる多階調のディザ画像の各画素とに対応する位置である画素対応位置毎に前記入力画像の各画素の階調値と前記ディザ画像の各画素の階調値との関係が定められているディザマトリクスに基づいて、前記入力画像の各画素の階調値を前記ディザ画像の各画素の階調値に変換する多値ディザ処理を行うディザ処理工程を含む画像処理方法において、通常モードと、前記ディザ画像が印刷される場合に前記通常モードの時よりも印刷用色材の消費量が抑制されるように前記多値ディザ処理を行うセーブモードとを含み、前記ディザ処理工程では、前記ディザマトリクスの全ての画素対応位置のうちの一部の特定位置に対応する前記ディザ画像の画素を特定画素とする場合、前記特定画素が前記通常モードおよび前記セーブモードのいずれのモードであっても多階調となり、且つ、前記セーブモードの時は前記通常モードの時よりも前記特定画素の最高濃度が抑制されるように、前記特定画素の階調数と前記最高濃度を示す階調値とを調整することを特徴としてもよい。   Furthermore, the present invention provides each pixel corresponding position which is a position corresponding to each pixel of the multi-tone input image and each pixel of the multi-tone dither image obtained by performing multi-value dither processing on the input image. The dither image is obtained from the tone value of each pixel of the input image based on a dither matrix in which the relationship between the tone value of each pixel of the input image and the tone value of each pixel of the dither image is defined. In an image processing method including a dither processing step of performing multi-value dither processing for converting to a gradation value of each pixel of the normal mode, and when the dither image is printed, the color material for printing is more than in the normal mode. A save mode for performing the multi-value dither processing so that the consumption amount of the dither is reduced, and in the dither processing step, the dither corresponding to some specific positions of all the pixel corresponding positions of the dither matrix Picture When the specific pixel is a specific pixel, the specific pixel has multiple gradations regardless of whether the specific mode is the normal mode or the save mode, and the specific pixel is more specific in the save mode than in the normal mode. The number of gradations of the specific pixel and the gradation value indicating the maximum density may be adjusted so that the maximum density of the pixel is suppressed.

さらに、上記画像処理装置は、コンピュータによって実現されてもよく、この場合には、コンピュータを上記各部として機能させる画像処理プログラム、および、この画像処理プログラムを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。   Furthermore, the image processing apparatus may be realized by a computer. In this case, an image processing program that causes the computer to function as each unit described above, and a computer-readable recording medium that records the image processing program are also provided. It falls into the category of the invention.

以上のように、本発明の画像処理装置は、前記ディザマトリクスの全ての画素対応位置のうちの一部の特定位置に対応する前記ディザ画像の画素を特定画素とする場合、前記特定画素が前記通常モードおよび前記セーブモードのいずれのモードであっても多階調となり、且つ、前記セーブモードの時は前記通常モードの時よりも前記特定画素の最高濃度が抑制されるように、前記特定画素の階調数と前記最高濃度を示す階調値とを調整する調整部を含むことを特徴とする。それゆえ、印刷されるディザ画像全体で階調再現性が不自然になってしまう事を抑制しつつ印刷時の色材の消費量を抑制することが可能となる。   As described above, in the image processing apparatus according to the present invention, when the pixels of the dither image corresponding to some specific positions among all the pixel corresponding positions of the dither matrix are set as specific pixels, the specific pixels are In any of the normal mode and the save mode, the specific pixel has multiple gradations, and the maximum density of the specific pixel is suppressed more in the save mode than in the normal mode. And an adjustment section for adjusting the number of gradations and the gradation value indicating the maximum density. Therefore, it is possible to suppress consumption of the color material during printing while suppressing unnatural gradation reproducibility in the entire printed dither image.

本発明の一実施形態に係るデジタルカラー複写機(画像形成装置)の概略構成を示すブロック図である。1 is a block diagram showing a schematic configuration of a digital color copying machine (image forming apparatus) according to an embodiment of the present invention. (a)は、本実施形態の多値ディザ処理にて用いられるディザマトリクスを示した図であり、(b)は、本実施形態の多値ディザ処理にて用いられるディザマトリクスのなかの濃度調整位置を示した図である。(A) is a diagram showing a dither matrix used in the multi-value dither processing of the present embodiment, and (b) is a density adjustment in the dither matrix used in the multi-value dither processing of the present embodiment. It is the figure which showed the position. (a)は、ディザマトリクス内の画素対応位置のうちの通常位置に対応付けられている閾値と出力値、および、前記画素対応位置のうちの濃度調整位置に対応付けられている通常モード用の閾値と出力値の例を示した図である。(b)は、ディザマトリクス内の画素対応位置のうちの濃度調整位置に対応付けられているトナーセーブモード用の閾値と出力値の例を示した図である。(A) shows the threshold value and output value associated with the normal position among the pixel corresponding positions in the dither matrix and the normal mode associated with the density adjustment position among the pixel corresponding positions. It is the figure which showed the example of a threshold value and an output value. (B) is a diagram showing an example of a threshold value and an output value for toner save mode associated with a density adjustment position among pixel corresponding positions in the dither matrix. 入力画像に対するディザマトリクスの適用手法を示した説明図である。It is explanatory drawing which showed the application method of the dither matrix with respect to an input image. 図1に示される階調再現処理部の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the gradation reproduction process part shown by FIG. 階調再現処理部にて実行される処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the process performed in a gradation reproduction process part. 通常モード時において、入力画像の濃度を一様に上昇させた場合のディザパターンの成長過程(ドットの成長過程)を示す図である。FIG. 10 is a diagram illustrating a dither pattern growth process (dot growth process) when the density of an input image is uniformly increased in a normal mode. トナーセーブモード時において、入力画像の濃度を一様に上昇させた場合のディザパターンの成長過程(ドットの成長過程)を示す図である。FIG. 7 is a diagram illustrating a dither pattern growth process (dot growth process) when the density of an input image is uniformly increased in the toner save mode. (a)は、通常モード時における入力画像の画素毎の階調値(入力値)と一つのディザマトリクスにおける総出力値との関係を示したグラフであり、(b)は、トナーセーブモード時における入力画像の画素毎の階調値と一つのディザマトリクスにおける総出力値との関係を示したグラフである。(A) is a graph showing the relationship between the gradation value (input value) for each pixel of the input image in the normal mode and the total output value in one dither matrix, and (b) is in the toner save mode. 5 is a graph showing the relationship between the gradation value for each pixel of the input image and the total output value in one dither matrix. ディザ出力変換テーブルを利用して多値ディザ処理を行う形態の階調再現処理部の概略構成を示したブロック図である。It is the block diagram which showed schematic structure of the gradation reproduction process part of the form which performs a multi-value dither process using a dither output conversion table. 本実施形態の画像処理装置を適用したプリンタ・ドライバをコンピュータにより実現した場合の構成を示すブロック図である。1 is a block diagram illustrating a configuration when a printer driver to which an image processing apparatus according to an embodiment is applied is realized by a computer. トナーセーブモード時において、互いに異なるサブマトリクスに属する濃度調整位置同士において最高出力値を異ならせる場合のディザパターンの成長過程(ドットの成長過程)を示す図である。FIG. 10 is a diagram showing a dither pattern growth process (dot growth process) when the maximum output value is made different between density adjustment positions belonging to different sub-matrices in the toner save mode. (a)は、ディザマトリクス内の全ての濃度調整位置の最高出力値を同一にする形態の出力画像の一例であり、図13(b)は、互いに異なるサブマトリクスに属する濃度調整位置同士において最高出力値を異ならせる形態の出力画像の一例である。FIG. 13A is an example of an output image in which the highest output values of all density adjustment positions in the dither matrix are made the same. FIG. 13B shows the highest density adjustment positions belonging to different sub-matrices. It is an example of the output image of the form which makes an output value different.

〔画像処理装置の構成〕
本発明の実施の形態を図面に基づいて以下に説明する。図1は、本発明の実施の形態のカラー画像処理装置(画像処理装置)10を備えるデジタルカラー複写機(画像形成装置)40の概略の構成を示すブロック図である。
[Configuration of image processing apparatus]
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a digital color copying machine (image forming apparatus) 40 including a color image processing apparatus (image processing apparatus) 10 according to an embodiment of the present invention.

デジタルカラー複写機40は、図1に示すように、画像処理装置10、カラー画像入力装置(画像入力装置)20およびカラー画像出力装置(画像出力装置)30を備えている。画像処理装置10および画像出力装置30は画像処理装置10に接続されている。デジタルカラー複写機40は操作パネル41を備えている。   As shown in FIG. 1, the digital color copying machine 40 includes an image processing device 10, a color image input device (image input device) 20, and a color image output device (image output device) 30. The image processing apparatus 10 and the image output apparatus 30 are connected to the image processing apparatus 10. The digital color copying machine 40 includes an operation panel 41.

画像処理装置10は、A/D変換部(アナログ/デジタル)11、シェーディング補正部12、入力階調補正部13、領域分離処理部14、色補正部15、黒生成下色除去部16、空間フィルタ処理部17、出力階調補正部18および階調再現処理部19を備えている。   The image processing apparatus 10 includes an A / D conversion unit (analog / digital) 11, a shading correction unit 12, an input tone correction unit 13, a region separation processing unit 14, a color correction unit 15, a black generation and under color removal unit 16, and a space. A filter processing unit 17, an output tone correction unit 18, and a tone reproduction processing unit 19 are provided.

画像入力装置20は、例えば、電荷結合素子(Charge Coupled Device;以下、CCDと称する)を備えたスキャナ部により構成され、画像が記録された原稿に光を照射し、その反射光像をCCDにてRGBのアナログ信号として読み取り、そのアナログ信号を画像処理装置10に入力する。   The image input device 20 includes, for example, a scanner unit including a charge coupled device (hereinafter referred to as a CCD), irradiates light on a document on which an image is recorded, and the reflected light image is applied to the CCD. Are read as RGB analog signals, and the analog signals are input to the image processing apparatus 10.

画像処理装置10に入力されたアナログ信号は、A/D変換部11、シェーディング補正部12、入力階調補正部13、領域分離処理部14、色補正部15、黒生成下色除去部16、空間フィルタ処理部17、出力階調補正部18および階調再現処理部19の順に送られ、CMYKのデジタルカラー信号として、カラー画像出力装置30へ出力される。   An analog signal input to the image processing apparatus 10 includes an A / D conversion unit 11, a shading correction unit 12, an input tone correction unit 13, a region separation processing unit 14, a color correction unit 15, a black generation and under color removal unit 16, The spatial filter processing unit 17, the output tone correction unit 18, and the tone reproduction processing unit 19 are sent in this order, and are output to the color image output device 30 as CMYK digital color signals.

A/D変換部11は、入力されてきたRGBのアナログ信号をデジタル信号に変換する。シェーディング補正部12は、A/D変換部11から出力されたRGBのデジタル信号に対して、画像入力装置20の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施す。   The A / D converter 11 converts the input RGB analog signal into a digital signal. The shading correction unit 12 performs processing for removing various distortions generated in the illumination system, the imaging system, and the imaging system of the image input device 20 on the RGB digital signals output from the A / D conversion unit 11.

入力階調補正部13は、シェーディング補正部12にて各種の歪みが取り除かれたRGB信号(RGBの反射率信号)に対して、カラーバランスを整える処理を施すとともに、カラー画像処理装置10に採用されている画像処理方式の扱い易い信号(例えば濃度信号など)に変換する。   The input tone correction unit 13 performs a process for adjusting the color balance on the RGB signal (RGB reflectance signal) from which various distortions have been removed by the shading correction unit 12 and is employed in the color image processing apparatus 10. It is converted into a signal (for example, a density signal) that is easy to handle in the image processing method.

領域分離処理部14は、入力階調補正部13から出力されたRGB信号が示す入力画像中の各画素を、例えば文字エッジ領域、網点領域、および写真領域などの複数の領域に分離する。また、領域分離処理部14は、上記分離結果に基づき、画素がどの領域に属しているかを示す領域識別信号を、黒生成下色除去部16、空間フィルタ処理部17、および階調再現処理部19へと出力するとともに、入力階調補正部13より出力された入力信号をそのまま後段の色補正部15に出力する。   The region separation processing unit 14 separates each pixel in the input image indicated by the RGB signal output from the input tone correction unit 13 into a plurality of regions such as a character edge region, a halftone dot region, and a photo region. Further, the region separation processing unit 14 generates a region identification signal indicating which region the pixel belongs to based on the separation result, and generates a black generation and under color removal unit 16, a spatial filter processing unit 17, and a tone reproduction processing unit. 19, and the input signal output from the input tone correction unit 13 is output to the subsequent color correction unit 15 as it is.

色補正部15は、色を忠実に再現するために、不要吸収成分を含むCMY色材の分光特性に基づいた色濁りを取り除く処理を行う。この場合の処理方法としては、入力RGB信号と出力CMY信号との対応関係をLUT(ルックアップテーブル)として保有する方法や、下記の式1のような変換行列を用いるカラーマスキング法などがある。   The color correction unit 15 performs a process of removing color turbidity based on the spectral characteristics of CMY color materials including unnecessary absorption components in order to faithfully reproduce colors. As a processing method in this case, there are a method of holding a correspondence relationship between an input RGB signal and an output CMY signal as an LUT (look-up table), a color masking method using a conversion matrix as shown in Equation 1 below, and the like.

例えばカラーマスキング法を用いる場合には、あるCMYを画像出力装置30に与えた場合に出力される色のL値(CIE1976L信号(CIE: Commission International de l’Eclairage :国際照明委員会。L: 明度、a、b: 色度))と同じLをもつカラーパッチをスキャナが読み込んだときのRGBデータと、画像出力装置30に与えたCMYデータとの組み合わせを多数用意し、それら組み合わせから下記の式1のa11からa33までの変換行列の係数を算出する。これらの係数を用いて色補正処理を行う。より精度を高めたい場合は、2次以上の高次の項を加えればよい。 For example, when the color masking method is used, an L * a * b * value (CIE 1976 L * a * b * signal (CIE: Commission International de l ' ) of a color output when a certain CMY is given to the image output device 30. Eclairage: International Lighting Commission, L * : Lightness, a * , b * : Chromaticity))) The RGB data when the scanner reads a color patch having the same L * a * b * and the image output device 30 A large number of combinations with the given CMY data are prepared, and coefficients of the transformation matrix from a 11 to a 33 in the following equation 1 are calculated from the combinations. Color correction processing is performed using these coefficients. When higher accuracy is desired, a higher-order term of second order or higher may be added.

Figure 2010157982
Figure 2010157982

黒生成下色除去部16は、色補正後のCMYの3色信号から黒(K)信号を生成する黒生成処理と、元のCMY信号が重なる部分を差し引いて新たなCMY信号を生成する処理とを行うものであって、CMYの3色信号をCMYKの4色信号に変換する。   The black generation and lower color removal unit 16 generates a new CMY signal by subtracting a portion where the original CMY signal overlaps with a black generation process that generates a black (K) signal from the CMY three-color signal after color correction. The CMY three-color signal is converted into a CMYK four-color signal.

空間フィルタ処理部17は、黒生成下色除去部16から入力されるCMYK信号の画像データに対して、領域識別信号を基にデジタルフィルタによる空間フィルタ処理を行う。これにより、空間周波数特性を補正し、出力画像のぼやけや粒状性劣化を防ぐ。   The spatial filter processing unit 17 performs a spatial filter process using a digital filter on the image data of the CMYK signal input from the black generation and under color removal unit 16 based on the region identification signal. As a result, the spatial frequency characteristics are corrected, and blurring and graininess deterioration of the output image are prevented.

出力階調補正部18は、空間フィルタ処理が施されたCMYK信号に対して画像出力装置30の出力特性値に応じた出力階調補正処理を行う。   The output tone correction unit 18 performs output tone correction processing according to the output characteristic value of the image output device 30 on the CMYK signal that has been subjected to the spatial filter processing.

階調再現処理部(ディザ処理部)19は、空間フィルタ処理部17と同様に、CMYK信号の画像データに対して領域識別信号を基に階調再現処理を施し、最終的に画像を擬似的に階調再現できるようにする。   Similar to the spatial filter processing unit 17, the gradation reproduction processing unit (dither processing unit) 19 performs gradation reproduction processing on the image data of the CMYK signal based on the region identification signal, and finally the image is simulated. So that the gradation can be reproduced.

上記空間フィルタ処理部17および階調再現処理部19での処理についてさらに説明する。例えば、領域分離処理部14にて文字エッジ領域として分離された領域に対して、特に黒文字または色文字の再現性を高めるために、空間フィルタ処理部17では空間フィルタ処理での鮮鋭強調処理により高周波成分を強調する。一方、階調再現処理部19では高周波成分の再現に適した高解像度のスクリーンでの多値化処理を行う。   Processing in the spatial filter processing unit 17 and the gradation reproduction processing unit 19 will be further described. For example, in order to improve the reproducibility of black characters or color characters particularly for the region separated as the character edge region by the region separation processing unit 14, the spatial filter processing unit 17 performs high frequency by sharp enhancement processing in the spatial filter processing. Emphasize ingredients. On the other hand, the gradation reproduction processing unit 19 performs multilevel processing on a high-resolution screen suitable for reproducing high-frequency components.

また、空間フィルタ処理部17では、領域分離処理部14にて網点領域として分離された領域に対して、入力網点成分を除去するためのローパス・フィルタ処理を施す。また、階調再現処理部19では、網点領域に対して、階調性を重視したスクリーンで多値化処理を施す。さらに、階調再現処理部19は、領域分離処理部14にて写真領域として分離された領域に対しては、階調再現性を重視したスクリーンにより多値化処理を行う。   In addition, the spatial filter processing unit 17 performs low-pass filter processing for removing the input halftone component on the region separated as the halftone region by the region separation processing unit 14. Further, the gradation reproduction processing unit 19 performs multi-value processing on the halftone dot area with a screen that emphasizes gradation. Further, the gradation reproduction processing unit 19 performs multi-value processing on a region separated as a photographic region by the region separation processing unit 14 using a screen that emphasizes gradation reproducibility.

なお、本実施形態のデジタルカラー複写機40では、多階調の入力画像を、この入力画像の階調数よりも少ない階調数(画像出力装置30にて表現可能な階調数)で再現するために、階調再現処理部19がディザスクリーン(ディザマトリクス)を用いて多値ディザ処理を行うようになっている。そして、本実施形態は、階調再現処理部19にて行われる多値ディザ処理に特徴がある。この多値ディザ処理については後に詳述する。   In the digital color copying machine 40 of the present embodiment, a multi-tone input image is reproduced with a smaller number of gradations (number of gradations that can be expressed by the image output device 30) than the number of gradations of the input image. For this purpose, the gradation reproduction processing unit 19 performs multi-value dither processing using a dither screen (dither matrix). The present embodiment is characterized by multi-value dither processing performed by the gradation reproduction processing unit 19. This multi-value dither process will be described in detail later.

操作パネル41は、例えば、液晶ディスプレイ等の表示部と設定ボタン等の操作部とが一体化されたタッチパネル等により構成される。画像入力装置20、画像処理装置10および画像出力装置30の動作は、操作パネル41から入力された情報に基づいて制御される。   The operation panel 41 includes, for example, a touch panel in which a display unit such as a liquid crystal display and an operation unit such as a setting button are integrated. The operations of the image input device 20, the image processing device 10, and the image output device 30 are controlled based on information input from the operation panel 41.

画像処理装置10において、上述の各処理が施された画像データは、一旦記憶部(図示せず)に記憶され、所定のタイミングで読み出されてカラー画像出力装置30に出力される。画像出力装置30は、電子写真方式のプリンタであり、画像データに示される画像を記録媒体(例えば紙等)上に出力(印刷)するものである。なお、以上の各処理は図示しないCPU(Central Processing Unit)により制御される。   In the image processing apparatus 10, the image data subjected to the above-described processes is temporarily stored in a storage unit (not shown), read out at a predetermined timing, and output to the color image output apparatus 30. The image output device 30 is an electrophotographic printer, and outputs (prints) an image indicated by image data on a recording medium (for example, paper). The above processes are controlled by a CPU (Central Processing Unit) (not shown).

〔多値ディザ処理の概要〕
以下では、まず、多値ディザ処理の概要について説明する。本実施形態では、入力画像に多値ディザ処理を施して得られる画像をディザ画像と称する。そして、原則として、階調数が256の入力画像(多値ディザ処理前の画像)を、多値ディザ処理によって階調数が16のディザ画像に変換するものとする。もちろん、入力画像およびディザ画像の階調数はこれらに限定されず、入力画像の階調数Mとディザ画像の階調数Nとは、M>N(但し、N≧3)を満たす値であれば、どのような値でもよい。また、入力画像のデータ(以下「入力画像データ」と称す)は、CMYKの各色成分の階調値(濃度を示す値)であり、多値ディザ処理は、各色成分の入力画像データに対して行われる。したがって、以下の説明では、1つの色成分の入力画像データに対する処理のみについて説明する。
[Overview of multi-value dither processing]
In the following, first, an outline of the multi-value dither process will be described. In the present embodiment, an image obtained by performing multi-value dither processing on an input image is referred to as a dither image. In principle, an input image having 256 gradations (an image before multi-value dither processing) is converted into a dither image having 16 gradations by multi-value dither processing. Of course, the number of gradations of the input image and the dither image is not limited to these, and the number of gradations M of the input image and the number of gradations N of the dither image are values that satisfy M> N (where N ≧ 3). Any value can be used. Further, input image data (hereinafter referred to as “input image data”) is a gradation value (value indicating density) of each color component of CMYK, and multi-value dither processing is performed on input image data of each color component. Done. Therefore, in the following description, only processing for input image data of one color component will be described.

図2(a)は、本実施形態の多値ディザ処理において用いられるディザマトリクスの構成を示す図である。本実施形態では、図2(a)に示すように、ディザマトリクス2は4つのサブマトリクス2a〜2dからなる構成である。   FIG. 2A is a diagram showing a configuration of a dither matrix used in the multi-value dither processing of the present embodiment. In the present embodiment, as shown in FIG. 2A, the dither matrix 2 is configured by four sub-matrices 2a to 2d.

さらに、各サブマトリクス2a〜2dは、入力画像の各画素と多値ディザ処理によって生成されるディザ画像の各画素とに対応する位置(以下では「画素対応位置」と称す))を有している。具体的には、各サブマトリクス2a〜2dの構成要素である1つのマス目が1つの画素対応位置となる。   Further, each of the sub-matrices 2a to 2d has a position corresponding to each pixel of the input image and each pixel of the dither image generated by the multi-value dither processing (hereinafter referred to as “pixel corresponding position”). Yes. Specifically, one square which is a constituent element of each of the sub-matrices 2a to 2d is one pixel corresponding position.

つまり、図2(a)の各サブマトリクス2a〜2dは10個の画素対応位置を有しており、ディザマトリクス2は40個の画素対応位置を有することになる。なお、図2(a)において、各マス目に記載されている数字は、ディザマトリクス2に対応して生成されるディザパターンにおいて高濃度の出力値が割り当てられる順番を示した値である。   That is, each of the sub-matrices 2a to 2d in FIG. 2A has 10 pixel corresponding positions, and the dither matrix 2 has 40 pixel corresponding positions. In FIG. 2A, the numbers described in the squares are values indicating the order in which high-density output values are assigned in the dither pattern generated corresponding to the dither matrix 2.

そして、ディザマトリクス2における各画素対応位置には、15個の閾値と16個の出力値(ディザ画像の階調値)とが対応付けられる。   Then, 15 threshold values and 16 output values (dither image gradation values) are associated with each pixel corresponding position in the dither matrix 2.

図3(a)は、1つの画素対応位置に対応付けられている閾値と出力値との一例を示した図である。また、図3(a)および以下の説明では、画素対応位置i(i=0,1,…,n)に対応付けられているj番目の閾値をTh[i][j](j=0,1,…,14)と称し、画素対応位置iに対応付けられているm番目の出力値をOut[m](m=0,1,…,15)と称する。なお、iは、ディザマトリクス2に対応して生成されるディザパターンにおいて高濃度の出力値が割り当てられる順番を示した値であるものとする(つまり、iは図2(a)の各マス目に示される値である)。また、Th[i][j]≦Th[i][j+1]が常に成立し、Out[m]≦Out[m+1]が常に成立するものとする。   FIG. 3A is a diagram illustrating an example of a threshold value and an output value associated with one pixel corresponding position. In FIG. 3A and the following description, the j-th threshold value associated with the pixel corresponding position i (i = 0, 1,..., N) is set to Th [i] [j] (j = 0 , 1,..., 14), and the m-th output value associated with the pixel corresponding position i is referred to as Out [m] (m = 0, 1,..., 15). Note that i is a value indicating the order in which high-density output values are assigned in the dither pattern generated corresponding to the dither matrix 2 (that is, i is a square in FIG. 2A). Is the value shown). Further, it is assumed that Th [i] [j] ≦ Th [i] [j + 1] always holds, and Out [m] ≦ Out [m + 1] always holds.

図3(a)に示されるように、画素対応位置iに対応する各閾値は、入力画像の画素毎の階調値(入力階調値X)のとり得る値の範囲(0〜255)内に設定される。そして、図3(a)に示されるように、15個の閾値によって、入力階調値Xのとり得る値の範囲(0〜255)が、ディザ画像の階調数と同じ16個の区間に区分され、この16個の区間の夫々には、閾値の小さい方から順に0から15までの出力値(ディザ画像の階調値)が対応付けられる。   As shown in FIG. 3A, each threshold corresponding to the pixel corresponding position i is within a range of values (0 to 255) that the gradation value (input gradation value X) for each pixel of the input image can take. Set to As shown in FIG. 3 (a), the range of values that the input gradation value X can take (0 to 255) is divided into 16 sections, which is the same as the number of gradations of the dither image, by 15 threshold values. Each of these 16 sections is associated with output values (dither image gradation values) from 0 to 15 in order from the smallest threshold.

多値ディザ処理では、入力画像に対してディザマトリクス2を重ね合わせ、入力画像の画素の階調値(0〜255)を、その画素と重なるディザマトリクス2内の画素対応位置に対応付けられた閾値群に基づいて0以上15以下の出力値(整数)に量子化する。図2(a)に示されるディザマトリクス2を用いる場合、図4に示すように、ディザマトリクス2を入力画像に重ね合わせながら破線で示す方向(スクリーン角の方向)に沿ってこの量子化処理を繰り返す。   In the multi-value dither processing, the dither matrix 2 is superimposed on the input image, and the gradation value (0 to 255) of the pixel of the input image is associated with the pixel corresponding position in the dither matrix 2 that overlaps the pixel. Based on the threshold value group, the output value (integer) of 0 or more and 15 or less is quantized. When the dither matrix 2 shown in FIG. 2A is used, as shown in FIG. 4, the quantization process is performed along the direction indicated by the broken line (screen angle direction) while superimposing the dither matrix 2 on the input image. repeat.

量子化処理の詳細は次の通りである。入力画像の画素(以下「入力画素」と称す)の階調値(入力画像データ)と、その入力画素に重なるディザマトリクス2内の画素対応位置に対応付けられている閾値群との大小比較を行い、上述した16個の区間のうち、入力画素の階調値が含まれる区間を特定する。そして、特定した区間に対応付けられている出力値(ディザ画像の階調値)を出力する。   The details of the quantization process are as follows. A size comparison between a gradation value (input image data) of a pixel of an input image (hereinafter referred to as “input pixel”) and a threshold value group associated with a pixel corresponding position in the dither matrix 2 overlapping the input pixel is performed. Then, a section including the gradation value of the input pixel is specified from the 16 sections described above. Then, an output value (dither image gradation value) associated with the identified section is output.

つまり、ディザマトリクス2とは、前記画素対応位置毎に、入力画像の各画素の階調値(階調値の範囲)とディザ画像の各画素の階調値との対応関係を定めたものである。なお、本実施形態では、画素対応位置に対応付けられている階調値は、値が小さいほど低濃度を示し、値が大きいほど高濃度を示すものとする。   In other words, the dither matrix 2 defines the correspondence between the gradation value (gradation value range) of each pixel of the input image and the gradation value of each pixel of the dither image for each pixel corresponding position. is there. In the present embodiment, the gradation value associated with the pixel corresponding position indicates a lower density as the value is smaller, and indicates a higher density as the value is larger.

〔階調再現処理部について〕
また、本実施形態の階調再現処理部19は、図2(b)に示すように、ディザマトリクス2内の全ての画素対応位置のうち、丸印によって示される画素対応位置を濃度調整位置(リミッター処理対象位置)とする。そして、階調再現処理部19は、トナーセーブモードに移行している時は、トナーセーブモード以外の通常モード時よりも、濃度調整位置(特定位置)に対応するディザ画像の画素(特定画素)の最高濃度を抑制する点に特徴がある。なお、図2(b)にて各マス目に記載されている数字は、図2(a)と同様、ディザマトリクス2に対応して生成されるディザパターンにおいて高濃度の階調値が割り当てられる順番を示した値であり、前記のiを示した値である。
[About the gradation reproduction processing section]
In addition, as shown in FIG. 2B, the gradation reproduction processing unit 19 according to the present embodiment converts the pixel corresponding position indicated by the circle among all the pixel corresponding positions in the dither matrix 2 to the density adjustment position ( Limiter processing target position). Then, the gradation reproduction processing unit 19 has a pixel (specific pixel) of the dither image corresponding to the density adjustment position (specific position) when shifting to the toner save mode than in the normal mode other than the toner save mode. It is characterized in that it suppresses the maximum concentration of. Note that the numbers written in the cells in FIG. 2B are assigned high-density gradation values in the dither pattern generated corresponding to the dither matrix 2 as in FIG. This is a value indicating the order, and is a value indicating i.

以下では、まず、トナーセーブモードと通常モードとを切り替えるためのモード切替部を説明した上で、階調再現処理部19の構成および処理内容について詳細に説明する。   In the following, first, a mode switching unit for switching between the toner save mode and the normal mode will be described, and then the configuration and processing contents of the gradation reproduction processing unit 19 will be described in detail.

なお、トナーセーブモード(セーブモード)とは、トナーの節約を重視するモードであり、通常モードとは、出力画像の画質を重視するモードである。具体的には、トナーセーブモードとは、階調再現処理部19から出力されるディザ画像が画像出力装置30にて印刷される場合に前記通常モード時よりも印刷用色材(トナー)の消費量が抑制されるように画像処理(多値ディザ処理を含む)を行うモードである。また、通常モードとは、階調再現処理部19から出力されるディザ画像が画像出力装置30にて印刷される場合にトナーセーブモード時よりも印刷画像の画質が高くなるように画像処理を行うモードである。   Note that the toner save mode (save mode) is a mode that places importance on saving toner, and the normal mode is a mode that places importance on the image quality of the output image. Specifically, the toner save mode is a consumption of color material (toner) for printing than in the normal mode when the dither image output from the gradation reproduction processing unit 19 is printed by the image output device 30. In this mode, image processing (including multi-value dither processing) is performed so that the amount is suppressed. In the normal mode, when the dither image output from the gradation reproduction processing unit 19 is printed by the image output device 30, image processing is performed so that the image quality of the print image is higher than that in the toner save mode. Mode.

本実施形態の画像処理装置10には、図1に示されるように、モード切替部(切替部)31が備えられている。   As shown in FIG. 1, the image processing apparatus 10 according to the present embodiment includes a mode switching unit (switching unit) 31.

モード切替部31は、利用者が通常モードを選択している場合、通常モードを示す通常信号を出力階調補正部18および階調再現処理部19に送信し、利用者がトナーセーブモードを選択している場合、トナーセーブモードを示すトナーセーブ信号を出力階調補正部18および階調再現処理部19に送信する。なお、利用者は、操作パネル41を操作することによって通常モードおよびトナーセーブモードのいずれかを選択できる。   When the user has selected the normal mode, the mode switching unit 31 transmits a normal signal indicating the normal mode to the output tone correction unit 18 and the tone reproduction processing unit 19, and the user selects the toner save mode. If it is, the toner save signal indicating the toner save mode is transmitted to the output tone correction unit 18 and the tone reproduction processing unit 19. Note that the user can select either the normal mode or the toner save mode by operating the operation panel 41.

これにより、利用者が通常モードを選択している場合に出力階調補正部18および階調再現処理部19を通常モードに移行させることができ、利用者がトナーセーブモードを選択している場合には出力階調補正部18および階調再現処理部19をトナーセーブモードに移行させることができる。   Thereby, when the user selects the normal mode, the output tone correction unit 18 and the tone reproduction processing unit 19 can be shifted to the normal mode, and the user selects the toner save mode. In this case, the output tone correction unit 18 and the tone reproduction processing unit 19 can be shifted to the toner save mode.

つぎに、階調再現処理部19について説明する。階調再現処理部19は、図5に示すように、閾値処理部51、閾値選択部(調整部)52、格納部53を有している。   Next, the gradation reproduction processing unit 19 will be described. As shown in FIG. 5, the gradation reproduction processing unit 19 includes a threshold processing unit 51, a threshold selection unit (adjustment unit) 52, and a storage unit 53.

格納部53は、ディザマトリクス2の画素対応位置毎に、前記閾値および前記出力値を格納している。より具体的に説明すると、格納部53は、前記濃度調整位置以外の画素対応位置(以下、「通常位置」と称す)については、15個の閾値および16個の出力値の組み合わせである第1の組み合わせを格納している。また、格納部53は、濃度調整位置については、15個の閾値および16個の出力値(0〜15)の組み合わせである第1の組み合わせと、4個の閾値および5個の出力値(0〜4)の組み合わせである第2の組み合わせとを格納している。   The storage unit 53 stores the threshold value and the output value for each pixel corresponding position of the dither matrix 2. More specifically, the storage unit 53 is a first combination of 15 threshold values and 16 output values for pixel corresponding positions (hereinafter referred to as “normal positions”) other than the density adjustment position. A combination of is stored. The storage unit 53 also has a first combination that is a combination of 15 threshold values and 16 output values (0 to 15), 4 threshold values, and 5 output values (0) for the density adjustment position. ˜4) are stored as the second combination.

ここで、第1の組み合わせおよび第2の組み合わせについて説明する。本実施形態の多値ディザ処理では、通常モードおよびトナーセーブモードのいずれのモードであっても、ディザマトリクス2の各通常位置においては、0〜255の入力画像の階調値を、0〜15のディザ画像の階調値に量子化する処理を行う。それゆえ、格納部53は、通常位置毎に、各通常位置用の前記第1の組み合わせを格納している。なお、図3(a)に示される閾値と出力値との組み合わせが第1の組み合わせに相当する。   Here, the first combination and the second combination will be described. In the multi-value dither processing of the present embodiment, the gradation values of the input image from 0 to 255 are set to 0 to 15 at each normal position of the dither matrix 2 in any of the normal mode and the toner save mode. The process of quantizing the tone value of the dither image is performed. Therefore, the storage unit 53 stores the first combination for each normal position for each normal position. The combination of the threshold value and the output value shown in FIG. 3A corresponds to the first combination.

また、通常モード時、ディザマトリクス2の各濃度調整位置においても通常位置と同様、0〜255の入力画像の階調値を、0〜15のディザ画像の階調値に量子化する処理を行う。しかし、トナーセーブモードが選択されている場合は、ディザマトリクス2の各濃度調整位置において、0〜255の入力画像の階調値を、0〜4の階調値に量子化する処理が行われる。それゆえ、格納部53は、濃度調整位置毎に、各濃度調整位置用の前記第1の組み合わせだけでなく、各濃度調整位置用の前記第2の組み合わせを格納しているのである。ここで、図3(b)に示される閾値と出力値との組み合わせが第2の組み合わせに相当する。   Also, in the normal mode, at each density adjustment position of the dither matrix 2, a process of quantizing the gradation value of the input image from 0 to 255 into the gradation value of the dither image from 0 to 15 is performed as in the normal position. . However, when the toner save mode is selected, at each density adjustment position of the dither matrix 2, a process of quantizing the gradation value of the input image from 0 to 255 to the gradation value from 0 to 4 is performed. . Therefore, the storage unit 53 stores not only the first combination for each density adjustment position but also the second combination for each density adjustment position for each density adjustment position. Here, the combination of the threshold value and the output value shown in FIG. 3B corresponds to the second combination.

つまり、トナーセーブモード時の濃度調整位置においては、前記第2の組み合わせにおける4個の閾値によって、入力画像の階調値Xのとり得る値の範囲(0〜255)が、5個の区間に区分され、この5個の区間の夫々には、閾値の小さい方から順に0から4までの出力値が対応付けられる。そして、濃度調整位置では、入力画素の階調値と、濃度調整位置に対応付けられている4つの閾値との大小比較を行い、上述した5個の区間のうち、入力画素の階調値が含まれる区間を特定する。そして、特定した区間に対応付けられている出力値を、出力ディザ画像における階調値とする。   That is, at the density adjustment position in the toner save mode, the range of possible values (0 to 255) of the gradation value X of the input image is divided into five sections by the four threshold values in the second combination. Each of the five sections is associated with output values from 0 to 4 in order from the smallest threshold. At the density adjustment position, the gradation value of the input pixel is compared with the four threshold values associated with the density adjustment position, and the gradation value of the input pixel among the five sections described above is compared. Identify the included sections. Then, the output value associated with the identified section is set as the gradation value in the output dither image.

なお、第2の組み合わせにおける出力値の数(階調数)は、5つに限定されないが、第1の組み合わせにおける出力値の数(階調数)よりも少なく且つ3つ以上に設定される必要がある。また、第2の組み合わせの出力値のうちの最高値は、第1の組み合わせの出力値の最高値よりも小さく、且つ2以上に設定される必要がある。このように設定する理由は、トナーセーブモード時の濃度調整位置において、通常モード時よりも最高濃度レベルを抑制しつつ、多値ディザ処理を可能とするためである。また、第2の組み合わせの出力値のうちの最高値を2以上に設定することにより、黒(最高濃度レベル)を示す入力階調値が白(最低濃度)を示す出力階調値に量子化されてしまうような事を抑制できる。   Note that the number of output values (number of gradations) in the second combination is not limited to five, but is set to be smaller than the number of output values (number of gradations) in the first combination and three or more. There is a need. In addition, the maximum value of the output values of the second combination needs to be set to be 2 or more than the maximum value of the output values of the first combination. The reason for setting in this way is to enable multi-value dither processing while suppressing the maximum density level at the density adjustment position in the toner save mode as compared with that in the normal mode. Further, by setting the maximum value of the output values of the second combination to 2 or more, the input gradation value indicating black (maximum density level) is quantized to the output gradation value indicating white (minimum density). Can be suppressed.

閾値選択部52は、格納部53から、第1の組み合わせの閾値および第2の組み合わせの閾値を読み出すブロックである。   The threshold selection unit 52 is a block that reads the first combination threshold and the second combination threshold from the storage unit 53.

より具体的に説明すると、閾値選択部52は、図5に示されるように、モード切替部31から通常信号を受信すると通常モードに移行し、トナーセーブ信号を受信するとトナーセーブモードに移行する。そして、閾値選択部52は、通常モードに移行している間、各画素対応位置について、順に、各画素対応位置に対応付けられている第1の組み合わせに含まれる15個の閾値を読み出す。   More specifically, as shown in FIG. 5, the threshold selection unit 52 shifts to the normal mode when receiving a normal signal from the mode switching unit 31, and shifts to the toner save mode when receiving a toner save signal. Then, during the transition to the normal mode, the threshold selection unit 52 sequentially reads 15 thresholds included in the first combination associated with each pixel corresponding position for each pixel corresponding position.

また、閾値選択部52は、通常モードではなくトナーセーブモードに移行している場合であっても、全画素対応位置のうちの各通常位置については、順に、各通常位置に対応付けられている第1の組み合わせに含まれる15個の閾値を読み出す。これに対し、閾値選択部52は、トナーセーブモードに移行している場合において、全画素対応位置のうちの各濃度調整位置については、順に、各濃度調整位置に対応付けられている第2の組み合わせに含まれる4つの閾値を読み出す。   Further, even when the threshold selection unit 52 is in the toner save mode instead of the normal mode, the normal positions of the all-pixel corresponding positions are sequentially associated with the normal positions. Fifteen threshold values included in the first combination are read out. On the other hand, when the threshold selection unit 52 has shifted to the toner save mode, each of the density adjustment positions in the all-pixel corresponding positions is sequentially associated with the second density adjustment position. Four threshold values included in the combination are read out.

閾値処理部51は、ディザマトリクス2における各画素対応位置について、順に、閾値選択部52にて読み出された閾値を用いて量子化処理を行う。より具体的に説明すると、閾値処理部51は、ディザマトリクス2における各画素対応位置について、順に、(1)入力画素の階調値(入力画像データ)と閾値選択部52にて読み出された閾値群との比較を行い、(2)前記比較の結果に基づいて、格納部53に格納されている出力値のなかから入力画素の階調値に対応する出力値を特定し、(3)特定した出力値を出力されるディザ画像の階調値として扱う。   The threshold processing unit 51 performs a quantization process on each pixel corresponding position in the dither matrix 2 in order using the threshold read by the threshold selection unit 52. More specifically, the threshold processing unit 51 sequentially reads out (1) the gradation value (input image data) of the input pixel and the threshold selection unit 52 for each pixel corresponding position in the dither matrix 2. Comparison with a threshold value group is performed. (2) Based on the result of the comparison, an output value corresponding to the gradation value of the input pixel is specified from the output values stored in the storage unit 53. (3) The specified output value is handled as the tone value of the output dither image.

つぎに、ある入力画素を処理対象とした場合の階調再現処理部19の処理手順を説明する。図6は階調再現処理部19にて実行される処理の流れを示すフローチャートである。   Next, a processing procedure of the gradation reproduction processing unit 19 when a certain input pixel is a processing target will be described. FIG. 6 is a flowchart showing the flow of processing executed by the gradation reproduction processing unit 19.

まず、閾値選択部52は、現在の処理モードがトナーセーブモードであるか否かを判断する(S1)。そして、閾値選択部52は、トナーセーブモードではないと判断した場合(S1にてNo)、処理対象となる入力画素に対応する画素対応位置の15個の閾値(第1の組み合わせに含まれる閾値)を格納部53から読み出す(S2)。その後、閾値処理部51は、処理対象となる入力画素の階調値について、閾値選択部52にて読み出された15個の閾値を用いて量子化処理を行う(S3)。具体的には、図3(a)に示される15個の閾値と16個の出力値との組み合わせ(第1の組み合わせ)を参照して、入力階調値に対応する出力値を前記16個の出力値(0〜15)の中から選択し、選択した出力値を、出力ディザ画像における階調値とする。   First, the threshold selection unit 52 determines whether or not the current processing mode is the toner save mode (S1). If the threshold selection unit 52 determines that the toner save mode is not selected (No in S1), the 15 threshold values corresponding to the pixel corresponding to the input pixel to be processed (threshold values included in the first combination). ) Is read from the storage unit 53 (S2). Thereafter, the threshold processing unit 51 performs a quantization process on the gradation value of the input pixel to be processed using the 15 threshold values read by the threshold selection unit 52 (S3). Specifically, referring to the combination (first combination) of 15 threshold values and 16 output values shown in FIG. 3A, the 16 output values corresponding to the input gradation values are set. Are selected from the output values (0 to 15), and the selected output value is set as the gradation value in the output dither image.

また、S1においてトナーセーブモードであると判断された場合(S1にてYes)、閾値選択部52は、処理対象となる入力画素に対応する画素対応位置が濃度調整位置か否かを判定する(S5)。そして、閾値選択部52は、濃度調整位置ではないと判定した場合(S5においてNo)、処理対象となる入力画素に対応する画素対応位置の15個の閾値(第1の組み合わせに含まれる閾値)を格納部53から読み出す(S6)。その後、閾値処理部51は、処理対象となる入力画素の階調値について、閾値選択部52にて読み出された15個の閾値を用いて量子化処理を行う(S3)。具体的には、図3(a)に示される15個の閾値と16個の出力値との組み合わせ(第1の組み合わせ)を参照して、入力階調値に対応する出力値を前記16個の出力値(0〜15)の中から選択し、選択した出力値を、出力ディザ画像における階調値とする。   If it is determined in S1 that the toner save mode is selected (Yes in S1), the threshold selection unit 52 determines whether the pixel corresponding position corresponding to the input pixel to be processed is the density adjustment position ( S5). When the threshold selection unit 52 determines that the position is not the density adjustment position (No in S5), the 15 threshold values corresponding to the pixel corresponding to the input pixel to be processed (thresholds included in the first combination) Is read from the storage unit 53 (S6). Thereafter, the threshold processing unit 51 performs a quantization process on the gradation value of the input pixel to be processed using the 15 threshold values read by the threshold selection unit 52 (S3). Specifically, referring to the combination (first combination) of 15 threshold values and 16 output values shown in FIG. 3A, the 16 output values corresponding to the input gradation values are set. Are selected from the output values (0 to 15), and the selected output value is set as the gradation value in the output dither image.

これに対し、S5において濃度調整位置であると判定された場合(S5においてYes)、閾値選択部52は、処理対象となる入力画素に対応する画素対応位置の4個の閾値(第2の組み合わせに含まれる閾値)を格納部53から読み出す(S7)。その後、閾値処理部51は、処理対象となる入力画素の階調値について、閾値選択部52にて読み出された4個の閾値を用いて量子化処理を行う(S3)。具体的には、図3(b)に示される4個の閾値と5個の出力値との組み合わせ(第2の組み合わせ)を参照して、入力階調値に対応する出力値を前記5個の出力値(0〜4)の中から選択し、選択した出力値を、出力ディザ画像における階調値とする。そして、入力画像の全画素に対してS1〜S7の処理が繰り返されることになる(S4にてNo)。   On the other hand, when it is determined in S5 that the position is the density adjustment position (Yes in S5), the threshold selection unit 52 uses the four thresholds (second combination) at the pixel corresponding position corresponding to the input pixel to be processed. Is read from the storage unit 53 (S7). Thereafter, the threshold processing unit 51 performs a quantization process on the gradation value of the input pixel to be processed using the four threshold values read by the threshold selection unit 52 (S3). Specifically, referring to the combination (second combination) of the four threshold values and the five output values shown in FIG. 3B, the five output values corresponding to the input gradation values are set. Are selected from the output values (0 to 4), and the selected output value is set as the gradation value in the output dither image. And the process of S1-S7 is repeated with respect to all the pixels of an input image (it is No at S4).

以上示した本実施形態の処理によれば、ユーザの意思に応じて、通常モードおよびトナーセーブモードのうちのいずれかが選択される。そして、トナーセーブモードの場合、特許文献1のように部分的な白マスク処理で濃度削減を行うのでなく、ディザマトリクス2中に濃度調整位置を設定し、当該濃度調整位置では多階調表現を可能にしつつ最高出力値(最高濃度)を抑制することで、階調性を良好に保ちつつトナーセーブによりトナー消費量を抑えることができる。また、図2(b)に示すようにディザマトリクス2全体において濃度調整位置が均一に分布しているため、濃度調整位置に対応する画素は、出力画像全体において、均一に分布し、部分的に偏在しない。それゆえ、濃度調整位置を設定していても階調性が損なわれることを抑制できる。   According to the processing of the present embodiment described above, either the normal mode or the toner save mode is selected according to the user's intention. In the toner save mode, density reduction is not performed by partial white mask processing as in Patent Document 1, but a density adjustment position is set in the dither matrix 2, and multi-tone expression is expressed at the density adjustment position. By suppressing the maximum output value (maximum density) while making it possible, toner consumption can be suppressed by toner saving while maintaining good gradation. Further, as shown in FIG. 2B, since the density adjustment positions are uniformly distributed in the entire dither matrix 2, the pixels corresponding to the density adjustment positions are uniformly distributed in the entire output image, and partially. Not unevenly distributed. Therefore, even if the density adjustment position is set, it can be suppressed that the gradation is impaired.

また、本実施形態の多値ディザ処理は閾値処理を利用した形態であるが、閾値処理を利用した形態に限定されるものではない。例えば、図2(a)および図2(b)に示されるディザマトリクス2の画素対応位置毎に入力値(入力画素の階調値)と出力値(ディザ画像の階調値)との対応関係を示したディザ出力変換テーブルを格納しておき、このディザ出力変換テーブルを用いて多値ディザ処理を行う形態であってもよい。   Further, the multi-value dither processing of the present embodiment is a form using threshold processing, but is not limited to the form using threshold processing. For example, the correspondence between the input value (tone value of the input pixel) and the output value (tone value of the dithered image) for each pixel corresponding position of the dither matrix 2 shown in FIGS. 2 (a) and 2 (b). The dither output conversion table indicating the above may be stored, and the multi-value dither processing may be performed using the dither output conversion table.

ここで、ディザ出力変換テーブルを利用して多値ディザ処理を行う形態を採用する場合の階調再現処理部19aの構成例を図10に示す。図10に示すように、階調再現処理部19aは、テーブル変換部61、テーブル選択部62、テーブル格納部63を有している。テーブル格納部63はディザ出力変換テーブルを記憶するブロックである。テーブル選択部62は、通常モード時には通常モード用のディザ出力変換テーブルをテーブル格納部63から選択して読み出し、トナーセーブモード時にはトナーセーブモード用のディザ出力変換テーブルをテーブル格納部63から選択して読み出すブロックである。テーブル変換部61は、テーブル選択部62によって読み出されたディザ出力変換テーブルを用いて入力画素の階調値を量子化して出力値に変換し、この出力値を、出力ディザ画像における階調値として扱う。   Here, FIG. 10 shows a configuration example of the gradation reproduction processing unit 19a in the case of adopting a form in which multi-value dither processing is performed using a dither output conversion table. As shown in FIG. 10, the gradation reproduction processing unit 19 a includes a table conversion unit 61, a table selection unit 62, and a table storage unit 63. The table storage unit 63 is a block that stores a dither output conversion table. The table selection unit 62 selects and reads the dither output conversion table for the normal mode from the table storage unit 63 in the normal mode, and selects the dither output conversion table for the toner save mode from the table storage unit 63 in the toner save mode. This is the block to read. The table conversion unit 61 quantizes the gradation value of the input pixel using the dither output conversion table read by the table selection unit 62 and converts it into an output value, and converts the output value into the gradation value in the output dither image. Treat as.

以上示したように、本実施形態の画像処理装置10は、通常モードと、前記ディザ画像が印刷される場合に前記通常モードの時よりも印刷用トナー(印刷用色材)が節約されるように前記多値ディザ処理が行われるセーブモードとを切り替えるモード切替部31を有している。さらに、本実施形態の画像処理装置10は閾値選択部52を有しており、この閾値選択部52は、ディザマトリクス2の全ての画素対応位置のうちの濃度調整位置(特定位置)に対応する前記ディザ画像の画素を特定画素とする場合、前記特定画素が前記通常モードおよび前記トナーセーブモードのいずれのモードであっても多階調となり、且つ、前記セーブモードの時は前記通常モードの時よりも前記特定画素の最高濃度が抑制されるように、前記特定画素の階調数と前記最高濃度を示す階調値とを調整していることになる(具体的には、前記トナーセーブモードの時は前記通常モードの時よりも前記特定画素の最高濃度が抑制されるように、前記トナーセーブモードの時は前記通常モードの時よりも前記特定画素の階調数を削減し、前記トナーセーブモードの時と前記通常モードの時とで最高濃度を示す階調値を変更する)。このような構成によれば、トナーセーブモード時、印刷されるディザ画像に含まれる一部の画素(前記特定画素)については、多階調(階調数が3以上)であることが維持されつつ最高濃度レベルが抑制されるため、印刷されるディザ画像全体で階調再現性が不自然になってしまう事を抑制しつつ印刷時トナーの消費量を抑制することが可能となる。   As described above, the image processing apparatus 10 according to the present embodiment saves printing toner (color material for printing) more than in the normal mode and when the dither image is printed. And a mode switching unit 31 for switching the save mode in which the multi-value dither processing is performed. Furthermore, the image processing apparatus 10 according to the present embodiment includes a threshold selection unit 52, and this threshold selection unit 52 corresponds to a density adjustment position (specific position) among all the pixel corresponding positions of the dither matrix 2. When the pixel of the dither image is a specific pixel, the specific pixel has multiple gradations regardless of whether the specific mode is the normal mode or the toner save mode, and when the save mode is the normal mode Therefore, the number of gradations of the specific pixel and the gradation value indicating the maximum density are adjusted so that the maximum density of the specific pixel is suppressed (specifically, the toner save mode). In such a case, the number of gradations of the specific pixel is reduced in the toner save mode than in the normal mode so that the maximum density of the specific pixel is suppressed more than in the normal mode. To change the tone value indicating the highest density in the case of the as in the toner saving mode Normal mode). According to such a configuration, in the toner save mode, some pixels (the specific pixels) included in the dithered image to be printed are maintained to have multiple gradations (the number of gradations is 3 or more). However, since the maximum density level is suppressed, it is possible to suppress the consumption of toner during printing while suppressing the unnatural gradation reproducibility of the entire printed dither image.

また、ある色成分の入力画像に対して多値ディザ処理を行う場合と別の色成分の入力画像に対して多値ディザ処理を行う場合とでディザマトリクス2内の濃度調整位置(特定位置)が同じであれば、印刷されるカラー画像において前記濃度調整位置に対応する領域の濃度が極端に低下してしまう事態が起こることもあり、この事態が生じると階調再現性が不自然になる可能性がある。そこで、閾値選択部52は、色成分毎にディザマトリクス2内の濃度調整位置の場所を異ならせるようにすることが好ましい。このようにすれば、ある色成分の入力画像に対して多値ディザ処理を行う場合と別の色成分の入力画像に対して多値ディザ処理を行う場合とで前記濃度調整位置を異ならせることになるため、印刷されるカラー画像において前記特定位置に対応する領域の濃度が極端に低下してしまう事態が生じることを抑制でき、階調再現性が低下してしまう事を抑制できる。   Also, the density adjustment position (specific position) in the dither matrix 2 when performing multi-value dither processing for an input image of a certain color component and when performing multi-value dither processing for an input image of another color component. If the same, the situation where the density of the area corresponding to the density adjustment position in the printed color image is extremely lowered may occur. When this situation occurs, the gradation reproducibility becomes unnatural. there is a possibility. Therefore, it is preferable that the threshold selection unit 52 changes the location of the density adjustment position in the dither matrix 2 for each color component. In this way, the density adjustment position is made different between when multi-value dither processing is performed on an input image of a certain color component and when multi-value dither processing is performed on an input image of another color component. Therefore, it is possible to suppress the occurrence of a situation where the density of the region corresponding to the specific position in the printed color image is extremely reduced, and it is possible to suppress the gradation reproducibility from being deteriorated.

さらに、前記濃度調整位置に対応する特定画素がディザ画像内のある領域に集中していると、当該領域の濃度が他の領域の濃度に比べて極端に低下してしまう事態が起こる可能性があり、この事態が生じると階調再現性が不自然になる可能性がある。この点、本実施形態によれば、図2(b)に示されるように、ディザマトリクス2の行方向に沿って前記濃度調整位置が連続せず、且つ、列方向(行方向に直交する方向)に沿って前記濃度調整位置が連続しないように、複数の濃度調整位置がディザマトリクス2に配置されている。それゆえ、濃度調整位置に対応する特定画素がディザ画像内のある領域に集中してしまうことを抑制でき、階調再現性が不自然になることを一層抑制できる。なお、画像処理装置10にて扱われる入力画像がCCDラインセンサにて読み取られたものである場合、ディザマトリクス2の行方向はCCDラインセンサにおける主走査方向(CCDラインセンサにおける画素配列方向)または副走査方向(主走査方向と直交する方向)に一致する。   Furthermore, if the specific pixels corresponding to the density adjustment position are concentrated in a certain area in the dither image, there is a possibility that the density of the area will be extremely lower than the density of other areas. There is a possibility that gradation reproducibility becomes unnatural when this situation occurs. In this regard, according to the present embodiment, as shown in FIG. 2B, the density adjustment positions are not continuous along the row direction of the dither matrix 2, and the column direction (the direction orthogonal to the row direction). ), A plurality of density adjustment positions are arranged in the dither matrix 2 so that the density adjustment positions are not continuous. Therefore, it is possible to suppress the specific pixels corresponding to the density adjustment position from being concentrated on a certain area in the dither image, and it is possible to further suppress the gradation reproducibility from becoming unnatural. When the input image handled by the image processing apparatus 10 is read by the CCD line sensor, the row direction of the dither matrix 2 is the main scanning direction (pixel arrangement direction in the CCD line sensor) in the CCD line sensor or It coincides with the sub-scanning direction (direction orthogonal to the main scanning direction).

〔ディザパターンについて〕
つぎに、通常モードの多値ディザ処理によって得られるディザパターンについて説明する。図2(a)のディザマトリクス2と同サイズ・同形状で濃度が一様な入力画像を想定した場合、通常モードにおいて、この入力画像の濃度を順次上昇させていくと、ディザパターン(ディザ処理後のディザ画像)は図7のように変化する。なお、図7において、各画素に付された数字はディザパターン中の画素の階調値を示している。
[About dither pattern]
Next, a dither pattern obtained by multilevel dither processing in the normal mode will be described. Assuming an input image having the same size and shape as the dither matrix 2 in FIG. 2A and having a uniform density, when the density of the input image is sequentially increased in the normal mode, a dither pattern (dither processing) The later dither image) changes as shown in FIG. In FIG. 7, the numbers assigned to the pixels indicate the gradation values of the pixels in the dither pattern.

より具体的に説明すると、ディザマトリクス2において、下記の式2〜式4が成立するように各画素対応位置同士の閾値の関係を設定することにより、図7のようなディザパターンを得ることができる。
Th[i][j]≦Th[i+1][j] 式2
Th[4k+3][j]≦Th[4k][j+1] 式3
Th[4k+3][14]≦Th[4k+4][0] 式4
(但し、k=0,1,…,8)
つまり、図2(a)に示される番号の順序および式2〜式4の関係に基づき、各画素対応位置iの出力値を順次15まで増加させる。例えば、本実施形態では、図2(a)に示される値が0,1,2,3である画素対応位置(各サブマトリクス2a〜2dにおいて核となる画素対応位置)の出力値を15とした後に、図2(a)に示される値が4,5,6,7である画素対応位置の出力値を増加させている。
More specifically, in the dither matrix 2, the dither pattern as shown in FIG. 7 can be obtained by setting the threshold value relationship between the pixel corresponding positions so that the following formulas 2 to 4 are established. it can.
Th [i] [j] ≦ Th [i + 1] [j] Equation 2
Th [4k + 3] [j] ≦ Th [4k] [j + 1] Equation 3
Th [4k + 3] [14] ≦ Th [4k + 4] [0] Equation 4
(However, k = 0,1, ..., 8)
That is, the output value at each pixel corresponding position i is sequentially increased to 15 based on the order of the numbers shown in FIG. For example, in this embodiment, the output value of the pixel corresponding position (the pixel corresponding position serving as the nucleus in each of the sub-matrices 2a to 2d) whose values shown in FIG. After that, the output value of the pixel corresponding position whose values shown in FIG. 2A are 4, 5, 6, and 7 is increased.

なお、本実施形態では、通常モードにおける各画素対応位置の出力値Out[m]を0から15までの4ビットの整数値としているが、0から255までの8ビットの整数値のうちの出力装置の特性を考えて選ばれている16個の値であっても構わない。   In this embodiment, the output value Out [m] at each pixel-corresponding position in the normal mode is a 4-bit integer value from 0 to 15. However, an output of 8-bit integer values from 0 to 255 is output. It may be 16 values selected in consideration of the characteristics of the apparatus.

つぎに、トナーセーブモードの多値ディザ処理によって得られるディザパターンを説明する。トナーセーブモードの多値ディザ処理においては、図2(b)に示すようにディザマトリクス2において濃度調整位置を設定する。そして、通常モード時よりも、濃度調整位置に対応するディザ画像の出力値(ディザデータ)の最高値を抑制する。なお、図2(a)および図2(b)に示すように、ディザマトリクス2の各画素対応位置に与えられる順番(高濃度の出力値が割り当てられる順番)は、トナーセーブモード時であっても通常モード時と同じである。   Next, a dither pattern obtained by multi-value dither processing in the toner save mode will be described. In the multi-value dither processing in the toner save mode, the density adjustment position is set in the dither matrix 2 as shown in FIG. Then, the maximum value of the output value (dither data) of the dither image corresponding to the density adjustment position is suppressed more than in the normal mode. As shown in FIGS. 2A and 2B, the order given to each pixel corresponding position in the dither matrix 2 (the order in which high-density output values are assigned) is in the toner save mode. Is the same as in the normal mode.

これにより、図2(b)のディザマトリクス2と同サイズ・同形状で濃度が一様な入力画像を想定した場合、トナーセーブモードにおいて、この入力画像の濃度を順次上昇させていくと、ディザパターン(ディザ処理後のディザ画像)は図8のように変化する。なお、図8において各画素に付された数字は、図7と同様、ディザパターン中の画素の階調値を示している。   Accordingly, assuming an input image having the same size and shape as the dither matrix 2 in FIG. 2B and a uniform density, if the density of the input image is sequentially increased in the toner save mode, The pattern (dithered image after dithering) changes as shown in FIG. In FIG. 8, the numbers given to the pixels indicate the tone values of the pixels in the dither pattern, as in FIG.

以下ではディザパターンについてより具体的に説明する。本実施形態では、4ビット出力であり、通常モード時、ディザマトリクス2における全ての画素対応位置の各々には16個の出力値が対応付けられる。それゆえ、図7に示すように、通常モード時にドットの成長レベルが最大になった場合はディザ画像の全ての画素の階調値が15となる。   Hereinafter, the dither pattern will be described more specifically. In this embodiment, it is a 4-bit output, and 16 output values are associated with each of all pixel corresponding positions in the dither matrix 2 in the normal mode. Therefore, as shown in FIG. 7, when the dot growth level is maximized in the normal mode, the gradation value of all the pixels of the dither image is 15.

これに対し、トナーセーブモード時、図2(b)に示すように、ディザマトリクス2に含まれる全ての画素対応位置のうちの一部の画素対応位置を濃度調整位置とし、濃度調整位置については出力値の最高値の抑制を行う(リミッター処理)。具体的には、トナーセーブモード時において、ディザマトリクス2の全画素対応位置のうち、濃度調整位置以外の位置(通常位置)の出力値の最高値(最高濃度レベル)は15に設定されるが、濃度調整位置の出力値の最高値(最高濃度レベル)は4に設定される。つまり、トナーセーブモード時のディザマトリクス2は、最大濃度レベルが4である画素対応位置と最大濃度レベルが15の画素対応位置とが混在する。   On the other hand, in the toner save mode, as shown in FIG. 2B, some of the pixel corresponding positions included in the dither matrix 2 are set as the density adjustment positions. Suppresses the maximum output value (limiter processing). Specifically, in the toner save mode, the maximum value (maximum density level) of the output value at the position (normal position) other than the density adjustment position among the positions corresponding to all pixels of the dither matrix 2 is set to 15. The maximum value (maximum density level) of the output value at the density adjustment position is set to 4. That is, in the dither matrix 2 in the toner save mode, a pixel corresponding position having a maximum density level of 4 and a pixel corresponding position having a maximum density level of 15 are mixed.

このようにすれば、通常モード時において全ての画素対応位置の出力値の最高値が15であり、トナーセーブモード時において通常位置(濃度調整位置以外の位置)の出力値の最高値が15であるのに対し、トナーセーブモード時において濃度調整位置の出力値の最高値は4になる。それゆえ、トナーセーブモードにおいて、濃度が一様な入力画像の濃度を順次上昇させていくことでディザパターンを成長させた場合、図8に示すように、濃度調整位置に対応する画素位置では濃度レベルが4のレベルまでしか上がらない。つまり、画像全体の濃度が上昇しても、濃度調整位置に対応する画素位置については4の濃度レベルを保ち続ける。   In this way, the maximum output value of all the pixel corresponding positions in the normal mode is 15, and the maximum output value of the normal position (position other than the density adjustment position) is 15 in the toner save mode. On the other hand, the maximum output value at the density adjustment position is 4 in the toner save mode. Therefore, when the dither pattern is grown by sequentially increasing the density of the input image having a uniform density in the toner save mode, the density at the pixel position corresponding to the density adjustment position as shown in FIG. The level can only go up to level 4. That is, even if the density of the entire image increases, the density level of 4 is continuously maintained at the pixel position corresponding to the density adjustment position.

また、トナーセーブモードでは、まず、図2(b)に示される値が0,1,2,3である画素対応位置(各サブマトリクス2a〜2dにおいて核となる画素対応位置)の出力値を15まで増加させる。その後、濃度調整位置以外の画素対応位置(通常位置)については出力値を15まで増加させるが、濃度調整位置では出力値を4までしか増加させないようにしつつ、図2(b)に示される番号の順序に従って出力値を割り当てていく。   In the toner save mode, first, output values of pixel corresponding positions (pixel corresponding positions serving as nuclei in each of the sub-matrices 2a to 2d) whose values shown in FIG. Increase to 15. Thereafter, the output value is increased to 15 for the pixel corresponding position (normal position) other than the density adjustment position, but the number shown in FIG. 2B is set so that the output value is increased only to 4 at the density adjustment position. The output values are assigned according to the order.

また、ディザマトリクス2内における濃度調整位置の配置は図2(b)の例に限定されるものではない。但し、濃度調整位置同士がなるべく隣接しないように、複数の濃度調整位置をディザマトリクス2内に配置することが好ましい。   Further, the arrangement of the density adjustment positions in the dither matrix 2 is not limited to the example of FIG. However, it is preferable to arrange a plurality of density adjustment positions in the dither matrix 2 so that the density adjustment positions are not adjacent to each other as much as possible.

さらに、濃度調整位置におけるトナーセーブモード時の出力値の最高値(上限値)は4に限定されるものではない。濃度調整位置の出力値の最高値がトナーセーブモード時において通常モード時よりも抑制され、濃度調整位置の出力値が多階調となってさえいれば、特に限定されるものではなく、目標とするトナー消費量削減のレベルや出力画像の画質に応じて設定できる。   Further, the maximum value (upper limit value) of the output value in the toner save mode at the density adjustment position is not limited to 4. There is no particular limitation as long as the maximum value of the output value at the density adjustment position is suppressed in the toner save mode compared to that in the normal mode, and the output value at the density adjustment position has multiple gradations. It can be set according to the level of toner consumption reduction to be performed and the image quality of the output image.

なお、本実施形態では、トナーセーブモードにおいても、通常モードと同様、各画素対応位置の出力値Out[m]を4ビットの整数値で表現するようにしている。具体的には、濃度調整位置については0〜4の出力値を4ビットデータで表現し、濃度調整位置以外の通常位置については0〜15の出力値を4ビットデータで表現している。しかし、出力値は、このような値に限定されるものではなく、0から255までの8ビットの整数値のうちの出力装置の特性を考えて選ばれている値であってもよい。   In the present embodiment, also in the toner save mode, as in the normal mode, the output value Out [m] at each pixel corresponding position is expressed by a 4-bit integer value. Specifically, the output value of 0 to 4 is expressed by 4-bit data for the density adjustment position, and the output value of 0 to 15 is expressed by 4-bit data for the normal position other than the density adjustment position. However, the output value is not limited to such a value, and may be a value selected in consideration of the characteristics of the output device among 8-bit integer values from 0 to 255.

〔出力階調補正部について〕
出力階調補正部18では、画像出力装置30の出力特性に基づいて階調補正を行っているが、この階調補正の入出力関係は画像出力装置30の特性のみならず階調再現処理部19での処理手法によって定められるものである。それゆえ、本来なら、階調再現処理部19における多値ディザ処理の内容を異ならせる場合、それぞれの多値ディザ処理に応じた階調補正の入出力関係が必要となる。すなわち、この階調補正がテーブル変換により行われているのであれば、互いに異なる複数のテーブルが必要となる。
[About output tone correction section]
The output tone correction unit 18 performs tone correction based on the output characteristics of the image output device 30. The input / output relationship of this tone correction is not only the characteristics of the image output device 30 but also the tone reproduction processing unit. 19 is determined by the processing method. Therefore, if the contents of the multi-value dither processing in the tone reproduction processing unit 19 are different from each other, an input / output relationship for gradation correction corresponding to each multi-value dither processing is required. That is, if this tone correction is performed by table conversion, a plurality of different tables are required.

つまり、本実施形態のように、通常モードとトナーセーブモードとで多値ディザ処理の内容を変更している場合、本来は通常モード用の階調補正テーブル(階調補正用カーブ)とトナーセーブモード用の階調補正テーブルとが必要になる。なお、階調補正テーブルとは、出力階調補正部18での出力階調補正処理に用いられ、当該補正処理における補正前階調値(入力値)と補正後階調値(出力値)との対応関係を示したテーブルである。   That is, when the contents of the multi-value dither processing are changed between the normal mode and the toner save mode as in the present embodiment, the normal mode gradation correction table (tone correction curve) and the toner save are originally set. A tone correction table for the mode is required. The tone correction table is used for the output tone correction process in the output tone correction unit 18, and includes a pre-correction tone value (input value) and a post-correction tone value (output value) in the correction process. It is the table which showed the corresponding relationship.

しかし、通常モードでの多値ディザ処理に応じた入出力関係を示した階調補正テーブルのみを出力階調補正部18に格納しておき、トナーセーブモードにおいては当該階調補正テーブルを利用して出力階調補正を行うことも可能である。以下では、この点について説明する。   However, only the gradation correction table showing the input / output relationship according to the multi-value dither processing in the normal mode is stored in the output gradation correction unit 18, and the gradation correction table is used in the toner save mode. It is also possible to perform output gradation correction. This point will be described below.

図9(a)は、通常モード時における入力画像の画素毎の階調値(入力値)と一つのディザマトリクス2における総出力値(一つのディザマトリクス2における全ての画素対応位置の出力値の合計)との関係を示したグラフであり、図9(b)は、トナーセーブモード時における入力画像の画素毎の階調値と一つのディザマトリクス2における総出力値との関係を示したグラフである。   FIG. 9A shows a gradation value (input value) for each pixel of the input image in the normal mode and a total output value in one dither matrix 2 (output values of all pixel corresponding positions in one dither matrix 2). 9B is a graph showing the relationship between the gradation value for each pixel of the input image and the total output value in one dither matrix 2 in the toner save mode. It is.

なお、図2(a)に示すように、通常モードでは、一つのディザマトリクス2には40個の画素対応位置が含まれ、各画素対応位置の出力値の最高値は15である。それゆえ、図9(a)に示すように、通常モードでは一つのディザマトリクス2における総出力値の最高値は600になる(15×40=600)。また、図2(b)に示すように、トナーセーブモードでは、一つのディザマトリクス2には16個の濃度調整位置と24個の通常位置とが含まれ、各濃度調整位置の出力値の最高値は4であり、各通常位置の出力値の最高値は15である。それゆえ、図9(b)に示すように、トナーセーブモードでは、1つのディザマトリクス2における総出力値の最高値は424となる(4×16+15×24=424)。   As shown in FIG. 2A, in the normal mode, one dither matrix 2 includes 40 pixel corresponding positions, and the maximum output value at each pixel corresponding position is 15. Therefore, as shown in FIG. 9A, in the normal mode, the maximum total output value in one dither matrix 2 is 600 (15 × 40 = 600). As shown in FIG. 2B, in the toner save mode, one dither matrix 2 includes 16 density adjustment positions and 24 normal positions, and the maximum output value at each density adjustment position. The value is 4, and the maximum output value at each normal position is 15. Therefore, as shown in FIG. 9B, in the toner save mode, the maximum total output value in one dither matrix 2 is 424 (4 × 16 + 15 × 24 = 424).

図9(a)および図9(b)に示すように、トナーセーブモード時では通常モード時に比べて、各入力値において当該入力値に対応する総出力値が低下するものの、ディザマトリクス2の各画素対応位置に与えられる順番(高濃度の出力値が割り当てられる順番)はトナーセーブモード時であっても通常モード時と同じである。   As shown in FIGS. 9A and 9B, although the total output value corresponding to the input value is lower in each input value in the toner save mode than in the normal mode, The order given to the pixel corresponding positions (the order in which high density output values are assigned) is the same as in the normal mode even in the toner save mode.

なお、各入力値に対応付けられている各総出力値の低下率は、一律に、トナーセーブモード時のディザマトリクス2の総出力値の最高値と通常モード時のディザマトリクス2の総出力値の最高値との比率に略一致するか若しくは一致するものと考えることができる。   The reduction rate of each total output value associated with each input value is uniformly the highest value of the total output value of the dither matrix 2 in the toner save mode and the total output value of the dither matrix 2 in the normal mode. It can be considered that it substantially coincides with or coincides with the ratio with the highest value of.

それゆえ、通常モード用の階調補正テーブルにおいて出力値のレベル(階調レベル)が前記の比率に応じて下がるように当該階調補正テーブルを変更すれば、当該変更後の階調補正テーブルをトナーセーブモードでも援用できる。それゆえ、通常モード用の階調補正テーブルのみを出力階調補正部18に格納しておけば、通常モード用の階調補正テーブルの他にトナーセーブモード用の階調補正テーブルを格納しておく必要はない。   Therefore, if the gradation correction table is changed so that the output value level (gradation level) decreases in accordance with the ratio in the gradation correction table for the normal mode, the gradation correction table after the change is displayed. It can also be used in toner save mode. Therefore, if only the gradation correction table for the normal mode is stored in the output gradation correction unit 18, the gradation correction table for the toner save mode is stored in addition to the gradation correction table for the normal mode. There is no need to keep it.

例えば、通常モード用の階調補正テーブルにおける各出力値に対して、一律に一定係数(トナーセーブモード時のディザマトリクスの総出力値の最高値と通常モード時のディザマトリクスの総出力値の最高値との比率)を乗じることによって、当該階調補正テーブルを変更すれば、出力値のレベル(階調レベル)を下げることが可能であり、当該変更後の階調補正テーブルをトナーセーブモード時の出力階調補正に援用できる。   For example, for each output value in the gradation correction table for the normal mode, a constant coefficient (the highest total dither matrix output value in the toner save mode and the highest total dither matrix output value in the normal mode) If the gradation correction table is changed, the output value level (gradation level) can be lowered by multiplying the ratio by the value), and the changed gradation correction table is displayed in the toner save mode. Can be used for the output gradation correction.

なお、一定係数は下記の式5により求めることができる。
一定係数=(トナーセーブモード時のディザマトリクスの総出力値の最高値)÷(通常モード時のディザマトリクスの総出力値の最高値) 式5
図9に示されるように、本実施形態のディザマトリクス2の場合、トナーセーブモード時の総出力値の最高値は424であり、通常モード時の総出力値の最高値は600であることから、
一定係数=424÷600=0.71
となる。
The constant coefficient can be obtained by the following equation 5.
Constant coefficient = (maximum value of total output value of dither matrix in toner save mode) / (maximum value of total output value of dither matrix in normal mode) Equation 5
As shown in FIG. 9, in the case of the dither matrix 2 of the present embodiment, the maximum total output value in the toner save mode is 424, and the maximum total output value in the normal mode is 600. ,
Constant coefficient = 424 ÷ 600 = 0.71
It becomes.

そして、この一定係数を通常モード用の階調補正テーブルの各出力値に乗じることによって、乗算後の階調補正テーブルをトナーセーブモード時にも用いることができる。これにより、通常モード用の階調補正テーブルをトナーセーブモードでも援用できるため、通常モード用の階調補正テーブルさえ画像処理装置10に記憶させておけば、トナーセーブモード用に設定された階調補正テーブルを記憶させておく必要はなく、画像処理装置10の記憶容量を節約できる。   Then, by multiplying each output value of the gradation correction table for the normal mode by this constant coefficient, the gradation correction table after multiplication can be used also in the toner save mode. As a result, the gradation correction table for the normal mode can also be used in the toner save mode. Therefore, if the gradation correction table for the normal mode is stored in the image processing apparatus 10, the gradation set for the toner save mode is stored. The correction table need not be stored, and the storage capacity of the image processing apparatus 10 can be saved.

なお、以上では、通常モード用に設定された階調補正テーブルをデフォルトとして保持しておき、トナーセーブモード時は、通常モード用の階調補正テーブルの各出力値に一定係数をかけることで当該階調補正テーブルを変更し、変更後の階調補正テーブルを用いる形態を説明した。しかし、この形態に限定されるものではなく、トナーセーブモード用に設定された階調補正テーブルをデフォルトとして保持しておき、通常モード時は、トナーセーブモード用の階調補正テーブルの各出力値に一定係数をかけることで当該階調補正テーブルを変更し、変更後の階調補正テーブルを用いる形態であってもよい。但し、この形態の場合、一定係数は下記の式6により求めることになる。
一定係数=(通常モード時のディザマトリクスの総出力値の最高値)÷(トナーセーブモード時のディザマトリクスの総出力値の最高値) 式6
また、出力階調補正は、階調再現処理部19の多値ディザ処理における閾値処理と同時に行うことができる。これは、入力値(入力画像データ)とディザマトリクス2内の総出力値との関係を画像出力装置30の出力特性に応じて設定することで可能になる。
In the above description, the gradation correction table set for the normal mode is stored as a default, and in the toner save mode, the output value of the gradation correction table for the normal mode is multiplied by a constant coefficient. The embodiment in which the gradation correction table is changed and the changed gradation correction table is used has been described. However, the present invention is not limited to this mode, and the tone correction table set for the toner save mode is held as a default, and in the normal mode, each output value of the tone correction table for the toner save mode is stored. The gradation correction table may be changed by applying a constant coefficient to, and the changed gradation correction table may be used. However, in this embodiment, the constant coefficient is obtained by the following equation (6).
Constant coefficient = (maximum total dither matrix output value in normal mode) / (maximum total dither matrix output value in toner save mode) Equation 6
Further, the output tone correction can be performed simultaneously with the threshold processing in the multi-value dither processing of the tone reproduction processing unit 19. This can be achieved by setting the relationship between the input value (input image data) and the total output value in the dither matrix 2 according to the output characteristics of the image output device 30.

例えば、通常モードにおける入力画素の階調値(入力値)とディザマトリクス2の総出力値との関係を画像出力装置30の出力特性に応じて図9(a)のように設定する。つまり、0〜255の入力値に対して0〜600の出力値が返される関係を設定する。そして、図9(a)に示される入力値と総出力値の関係を基に画素位置に応じた15個の閾値あるいはディザ出力変換テーブルを作成する。このように作成した閾値またはディザ出力変換テーブルを用いて通常モード時における多値ディザ処理を行えば、通常モードにおいて出力階調補正と多値ディザ処理とを同時に実行できる。   For example, the relationship between the gradation value (input value) of the input pixel in the normal mode and the total output value of the dither matrix 2 is set as shown in FIG. 9A according to the output characteristics of the image output device 30. That is, a relationship is set in which an output value of 0 to 600 is returned for an input value of 0 to 255. Then, 15 threshold values or dither output conversion tables corresponding to the pixel positions are created based on the relationship between the input values and the total output values shown in FIG. If multi-value dither processing in the normal mode is performed using the threshold value or dither output conversion table created in this way, output gradation correction and multi-value dither processing can be executed simultaneously in the normal mode.

これに対し、トナーセーブモードにおける入力値と総出力値の関係は、通常処理の多値ディザ処理の入力値と総出力値との関係から導出できる。つまり、図9(a)に示される各総出力値に対して前述した一定係数を乗じることによって、図9(b)に示すような、トナーセーブモードにおける入力値と総出力値の関係を導出できる。そして、このように導出した入力値と総出力値の関係を用いて、画素位置に応じた15個あるいは4個の閾値またはディザ出力変換テーブルを作成する。このように作成した閾値またはディザ出力変換テーブルを用いてトナーセーブモード時における多値ディザ処理を行えば、トナーセーブモードにおいて出力階調補正と多値ディザ処理とを同時に実行できる。   On the other hand, the relationship between the input value and the total output value in the toner save mode can be derived from the relationship between the input value and the total output value of the multi-value dither processing in the normal processing. That is, the relationship between the input value and the total output value in the toner save mode as shown in FIG. 9B is derived by multiplying each total output value shown in FIG. 9A by the constant coefficient described above. it can. Then, using the relationship between the input value derived in this way and the total output value, 15 or 4 threshold values or dither output conversion tables corresponding to the pixel positions are created. If multi-value dither processing in the toner save mode is performed using the threshold value or dither output conversion table created in this way, output gradation correction and multi-value dither processing can be executed simultaneously in the toner save mode.

〔最高出力値について〕
本実施の形態では、ディザマトリクスは複数のサブマトリクスからなる。図2(b)の例では、ディザマトリクス2は4つのサブマトリクス2a〜2dより構成されている。図2(b)に示されるように、各サブマトリクス2a〜2dには濃度調整位置が含まれている。閾値選択部52は、トナーセーブモード時において、通常モード時よりも、濃度調整位置(特定位置)に対応する画素(特定画素)の最高濃度が抑制されるように、濃度調整位置に対応する画素の最高出力値を調整している。そして、トナーセーブモード時、全ての通常位置(濃度調整位置以外の位置)において、出力値は0から15までの16段階で変化し、全ての濃度調整位置において、出力値は0から4までの5段階で変化する。つまり、トナーセーブモード時、通常位置の最高出力値は16であるものの、濃度調整位置の最高値は4に抑えられる。さらに、ディザマトリクス2内の全ての濃度調整位置においてトナーセーブモード時の最高出力値が互いに等しくなるように、各濃度調整位置の出力値が設定される。
[About the maximum output value]
In the present embodiment, the dither matrix is composed of a plurality of sub-matrices. In the example of FIG. 2B, the dither matrix 2 is composed of four sub-matrices 2a to 2d. As shown in FIG. 2B, each of the sub-matrices 2a to 2d includes a density adjustment position. In the toner save mode, the threshold selection unit 52 detects the pixel corresponding to the density adjustment position so that the maximum density of the pixel (specific pixel) corresponding to the density adjustment position (specific position) is suppressed compared to that in the normal mode. The maximum output value is adjusted. In the toner save mode, the output value changes in 16 steps from 0 to 15 at all normal positions (positions other than the density adjustment position), and the output value ranges from 0 to 4 at all density adjustment positions. It changes in 5 stages. That is, in the toner save mode, the maximum output value at the normal position is 16, but the maximum value at the density adjustment position is suppressed to 4. Further, the output values at the respective density adjustment positions are set so that the maximum output values in the toner save mode are equal to each other at all the density adjustment positions in the dither matrix 2.

図8は、ディザマトリクス2内の全ての濃度調整位置においてトナーセーブモード時の最高出力値が互いに等しくなる形態の濃度レベルの変化を示している。図8の例によれば、通常位置に対応する画素は全て16段階で濃度変化し、濃度調整位置に対応する画素は全て4段階で濃度変化する。そして、通常位置に対応する全ての画素は最高階調が黒(出力値が15)で示され、濃度調整位置に対応する全ての画素の最高階調は薄い黒(出力値が4)で示されることになる。   FIG. 8 shows changes in density levels in such a form that the maximum output values in the toner save mode are equal to each other at all density adjustment positions in the dither matrix 2. According to the example of FIG. 8, all the pixels corresponding to the normal position change in density in 16 levels, and all the pixels corresponding to the density adjustment position change in density in 4 levels. All pixels corresponding to the normal position are indicated by black (output value is 15), and the highest gradation of all pixels corresponding to the density adjustment position is indicated by light black (output value is 4). Will be.

以上のように、本実施の形態では、閾値選択部52は、同じディザマトリクス2内の全ての濃度調整位置において最高出力値が互いに同一になるように、各濃度調整位置に対応する画素の階調数と最高出力値とを調整する形態である。しかし、本発明は当該形態に限定されるものではない。   As described above, in the present embodiment, the threshold selection unit 52 determines the pixel level corresponding to each density adjustment position so that the maximum output values are the same at all density adjustment positions in the same dither matrix 2. This is a mode for adjusting the logarithm and the maximum output value. However, the present invention is not limited to this form.

例えば、閾値選択部52は、同じサブマトリクスに属する濃度調整位置同士では最高出力値が互いに同一値になり、互いに異なるサブマトリクスに属する濃度調整位置同士では最高出力値が互いに異なる値になるように、濃度調整位置に対応する画素の階調数と最高出力値とを調整するような形態であってもよい。以下では当該形態の実施例について図2(b)に基づいて説明する。   For example, the threshold selection unit 52 sets the maximum output value to the same value at the density adjustment positions belonging to the same sub-matrix, and the maximum output value from the density adjustment positions belonging to the different sub-matrices to different values. Alternatively, the number of gradation levels and the maximum output value of the pixel corresponding to the density adjustment position may be adjusted. Below, the Example of the said form is described based on FIG.2 (b).

閾値選択部52は、トナーセーブモード時、図2(b)のサブマトリクス2aに属する全ての濃度調整位置について、選択可能な出力値を0〜1に設定する(つまり最高出力値を1に設定する)。また、閾値選択部52は、図2(b)のサブマトリクス2bに属する全ての濃度調整位置について、選択可能な出力値を0〜3に設定する(つまり最高出力値を3に設定する)。さらに、閾値選択部52は、図2(b)のサブマトリクス2cに属する全ての濃度調整位置について、選択可能な出力値を0〜4に設定する(つまり最高出力値を4に設定する)。また、閾値選択部52は、図2(b)のサブマトリクス2dに属する全ての濃度調整位置について、選択可能な出力値を0〜2に設定する(つまり最高出力値を2に設定する)。最高出力値を以上のように設定した場合の濃度レベルの変化を図12に示す。図12から明らかであるが、同じサブマトリクスに属する濃度調整位置同士では、対応する画素の最高濃度は互いに等しくなるが、互いに異なるサブマトリクスに属する濃度調整位置同士では、対応する画素の最高濃度は互いに異なることになる。   The threshold selection unit 52 sets selectable output values from 0 to 1 (that is, sets the maximum output value to 1) for all density adjustment positions belonging to the sub-matrix 2a in FIG. To do). The threshold selection unit 52 sets selectable output values from 0 to 3 (that is, sets the maximum output value to 3) for all density adjustment positions belonging to the submatrix 2b in FIG. Further, the threshold selection unit 52 sets selectable output values from 0 to 4 (that is, sets the maximum output value to 4) for all density adjustment positions belonging to the sub-matrix 2c in FIG. Further, the threshold selection unit 52 sets selectable output values from 0 to 2 (that is, sets the maximum output value to 2) for all density adjustment positions belonging to the sub-matrix 2d in FIG. FIG. 12 shows changes in the density level when the maximum output value is set as described above. As is apparent from FIG. 12, the maximum densities of the corresponding pixels are equal to each other at the density adjustment positions belonging to the same sub-matrix. However, at the density adjustment positions belonging to different sub-matrices, the maximum density of the corresponding pixels is It will be different from each other.

図13(a)は、ディザマトリクス2内の全ての濃度調整位置の最高出力値を互いに等しくする形態の出力画像の一例であり、図13(b)は、互いに異なるサブマトリクスに属する濃度調整位置同士において最高出力値を異ならせる形態の出力画像の一例である。これら図面より明らかであるが、互いに異なるサブマトリクスに属する濃度調整位置同士において最高出力値を異ならせる形態の場合、階調レベルをより多く維持した画像を得られるようになり、トナーセーブを行った場合でも、ある程度の画質向上に寄与することが可能となる。   FIG. 13A is an example of an output image in which the maximum output values of all density adjustment positions in the dither matrix 2 are equal to each other, and FIG. 13B is a density adjustment position belonging to different sub-matrices. It is an example of the output image of the form which makes a maximum output value differ between. As is apparent from these drawings, in the case where the maximum output value is made different between the density adjustment positions belonging to different sub-matrices, an image maintaining more gradation levels can be obtained, and toner saving was performed. Even in this case, the image quality can be improved to some extent.

なお、図8のパターンのように、ディザマトリクス2内の全ての濃度調整位置について最高出力値を互いに同一にする場合、前述したように最高出力値を2以上にする必要があった。これは、最高出力値を2以上にしなければ、濃度調整位置のみに関していえば2値ディザ処理になってしまうからである。これに対し、図12のパターンのように、ディザマトリクス2内の全ての濃度調整位置のうち、互いに最高出力値を異ならせる複数の濃度調整位置が存在する場合、最高出力値が1となる濃度調整位置が存在していてもよい。この場合、最高出力値が1よりも大きな濃度調整位置が必ずマトリクス2内に存在することになるため、濃度調整位置のみに着目しても2値ディザ処理に該当せず、多値ディザ処理に該当するからである。   Note that when the maximum output values are made the same for all density adjustment positions in the dither matrix 2 as in the pattern of FIG. 8, the maximum output value needs to be 2 or more as described above. This is because, unless the maximum output value is set to 2 or more, the binary dither processing is performed only with respect to the density adjustment position. On the other hand, when there are a plurality of density adjustment positions that make the maximum output values different from each other among all density adjustment positions in the dither matrix 2, as shown in the pattern of FIG. There may be an adjustment position. In this case, since the density adjustment position where the maximum output value is larger than 1 always exists in the matrix 2, even if attention is paid only to the density adjustment position, it does not correspond to the binary dither process, and the multi-value dither process is performed. It is because it corresponds.

〔変形例〕
なお、本実施形態にて用いられるディザマトリクスは複数のサブマトリクスから構成されているが、ディザマトリクスは複数のサブマトリクスから構成されるものである必要はなく、1つのサブマトリクスを用いて多値ディザ処理を行うようにしてもよい(つまり、単一のサブマトリクスからなるディザマトリクスを多値ディザ処理に用いる)。また、このようなディザマトリクスにおいて、ディザマトリクス2内の全ての濃度調整位置(特定位置)のセーブモード時の最高出力値を互いに同一にしてもよいし、ディザマトリクス2内の全ての濃度調整位置のうちの少なくとも第1の濃度調整位置の最高出力値と第2の濃度調整位置の最高出力値と異ならせてもよい。
[Modification]
Note that the dither matrix used in the present embodiment is composed of a plurality of sub-matrices, but the dither matrix does not have to be composed of a plurality of sub-matrices, and is multi-valued using one sub-matrix. Dither processing may be performed (that is, a dither matrix including a single sub-matrix is used for multi-value dither processing). In such a dither matrix, the maximum output values in the save mode at all density adjustment positions (specific positions) in the dither matrix 2 may be the same, or all the density adjustment positions in the dither matrix 2 The maximum output value of at least the first density adjustment position may be different from the maximum output value of the second density adjustment position.

また、以上の実施形態によれば、利用者が通常モードを選択している場合に通常モードに切り替え、利用者がトナーセーブモードを選択している場合にトナーセーブモードに切り替える形態であるが、通常モードとトナーセーブモードとの切り替えは当該形態に限定されるものではない。   Further, according to the above embodiment, the mode is switched to the normal mode when the user selects the normal mode, and is switched to the toner save mode when the user selects the toner save mode. Switching between the normal mode and the toner save mode is not limited to this mode.

例えば、画像出力装置30においては、印刷処理に用いられるトナーを収容するトナーカートリッジと、前記トナーカートリッジ内のトナー残量を示す残量情報を出力する残量センサと、前記残量センサから出力される残量情報を画像処理装置10に送信する送信部とを備える。また、画像処理装置10において、前記残量情報に示されるトナー残量が所定量以下であるか否かを判断する判断部と、判断部が所定量以下であると判断する場合はトナーカートリッジの交換を促す情報を利用者または管理者に通知する通知部とを備える。そして、以上のような画像出力装置30および画像処理装置10において、判断部が所定量以下でないと判断する場合、モード切替部31は通常モードに切り替え、判断部が所定量以下と判断する場合、モード切替部31はトナーセーブモードに切り替えるような形態であってもよい。このような形態の場合、トナーカートリッジの交換の必要が生じた後の画像出力装置30ではトナー消費量を節約することができる。それゆえ、トナーカートリッジの交換を促す情報が利用者に通知された後、直ぐにトナーカートリッジを交換できない状況下(例えば、カートリッジのストックを切らしている時)で画像形成処理を行わざるを得ない場合であっても、画像出力装置30においてトナー切れが生じる事を抑制できる。なお、前記通知部は、操作パネル41の表示部にトナーカートリッジの交換を促す情報を表示することで前記通知を実現してもよいし、管理者の端末装置等にトナーカートリッジの交換を促す情報を伝送することで前記通知を実現してもよい。   For example, in the image output device 30, a toner cartridge that stores toner used for printing processing, a remaining amount sensor that outputs remaining amount information indicating the remaining amount of toner in the toner cartridge, and the remaining amount sensor are output. A transmission unit that transmits the remaining amount information to the image processing apparatus 10. Further, in the image processing apparatus 10, when the determination unit determines whether or not the remaining amount of toner indicated by the remaining amount information is equal to or less than a predetermined amount, A notification unit for notifying a user or an administrator of information for prompting replacement. In the image output device 30 and the image processing device 10 as described above, when the determination unit determines that it is not less than the predetermined amount, the mode switching unit 31 switches to the normal mode, and when the determination unit determines that it is less than the predetermined amount, The mode switching unit 31 may be configured to switch to the toner save mode. In such a form, the toner consumption can be saved in the image output device 30 after the toner cartridge needs to be replaced. Therefore, when the user is notified of information prompting the user to replace the toner cartridge, the image forming process must be performed in a situation where the toner cartridge cannot be replaced immediately (for example, when the cartridge is out of stock). Even in this case, it is possible to suppress the occurrence of toner out in the image output apparatus 30. The notification unit may realize the notification by displaying information prompting the replacement of the toner cartridge on the display unit of the operation panel 41, or information prompting the administrator's terminal device or the like to replace the toner cartridge. The notification may be realized by transmitting.

また、本実施形態では、画像処理装置10はデジタルカラー複写機40に備えられるが、画像処理装置10はデジタルカラー複合機に備えられるものであってもよい。つまり、本実施形態の階調再現処理部19は、デジタルカラー複合機に備えられる画像処理装置にも適用可能である。   In this embodiment, the image processing apparatus 10 is provided in the digital color copying machine 40. However, the image processing apparatus 10 may be provided in a digital color multifunction peripheral. That is, the gradation reproduction processing unit 19 of the present embodiment can be applied to an image processing apparatus provided in a digital color multifunction peripheral.

さらに、本実施形態の画像出力装置30は電子写真方式のプリンタであるが、画像出力装置30としては電子写真方式のプリンタに限定されるものではなく、例えばインクジェット方式のプリンタを画像出力装置30としてもよい。そして、インクジェット方式のプリンタを画像出力装置30とする場合、本実施形態のディザ処理によってインク消費量の削減という効果を奏することが可能となる。   Further, the image output device 30 of the present embodiment is an electrophotographic printer, but the image output device 30 is not limited to an electrophotographic printer, and for example, an ink jet printer is used as the image output device 30. Also good. When an ink jet printer is used as the image output device 30, the dither processing of the present embodiment can achieve the effect of reducing ink consumption.

また、上記した多値ディザ処理を行う階調再現処理部19を備えた画像処理装置10の奏する機能を、ソフトウェア(アプリケーションプログラム)にて実現してもかまわない。この場合、多値ディザ処理を実現するソフトウェアを組み込んだプリンタ・ドライバをコンピュータに設けることができる。   Further, the function performed by the image processing apparatus 10 including the gradation reproduction processing unit 19 that performs the multi-value dither processing described above may be realized by software (application program). In this case, the computer can be provided with a printer driver in which software for realizing multi-value dither processing is incorporated.

図11に示すように、コンピュータ200には、プリンタ・ドライバ201、通信ポートドライバ202および通信ポート(例えばRS232C・LAN等)203が組み込まれている。プリンタ・ドライバ201は、色補正部15、黒生成下色除去部16、階調再現処理部19およびプリンタ言語翻訳部91を有している。   As shown in FIG. 11, a printer driver 201, a communication port driver 202, and a communication port (for example, RS232C / LAN) 203 are incorporated in the computer 200. The printer driver 201 includes a color correction unit 15, a black generation and under color removal unit 16, a gradation reproduction processing unit 19, and a printer language translation unit 91.

また、コンピュータ200は、プリンタ(画像出力装置)204と接続されている。プリンタ204は、コンピュータ200から出力された画像データに基づいて印刷を行うようになっている。プリンタ204は、プリンタ機能の他に、コピー機能およびファックス機能を有するデジタル複合機であってもよい。   The computer 200 is connected to a printer (image output device) 204. The printer 204 performs printing based on the image data output from the computer 200. The printer 204 may be a digital multifunction machine having a copy function and a fax function in addition to the printer function.

例えばコンピュータ200において各種のアプリケーションプログラムを実行することにより生成された画像データは、色補正部15、黒生成下色除去部16および階調再現処理部19において先述のように処理される。これら各部の処理を経た画像データは、プリンタ言語翻訳部91にてプリンタ言語に変換され、通信ポートドライバ202および通信ポート203を介してプリンタ204に入力され、前記画像データに示される画像が用紙上に印刷される。   For example, image data generated by executing various application programs in the computer 200 is processed in the color correction unit 15, the black generation and under color removal unit 16, and the gradation reproduction processing unit 19 as described above. The image data that has undergone the processing of these units is converted into a printer language by the printer language translation unit 91 and input to the printer 204 via the communication port driver 202 and the communication port 203, and the image indicated by the image data is printed on the paper. Printed on.

本発明の実施の形態に示した画像処理装置10、プリンタ・ドライバ201の各ブロックは、ハードウェアロジックによって構成してもよいし、次のようにCPUを用いてソフトウェアによって実現してもよい。   Each block of the image processing apparatus 10 and the printer driver 201 shown in the embodiment of the present invention may be configured by hardware logic, or may be realized by software using a CPU as follows.

すなわち、上記各装置は、各機能を実現する制御プログラムの命令を実行するCPU(central processing unit)、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアである上記各装置の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、上記各装置に供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。   That is, each device includes a CPU (central processing unit) that executes instructions of a control program that realizes each function, a ROM (read only memory) that stores the program, a RAM (random access memory) that expands the program, A storage device (recording medium) such as a memory for storing the program and various data is provided. An object of the present invention is to provide a recording medium in which a program code (execution format program, intermediate code program, source program) of a control program for each of the above devices, which is software that realizes the above-described functions, is recorded in a computer-readable manner This can also be achieved by supplying each of the above devices and reading and executing the program code recorded on the recording medium by the computer (or CPU or MPU).

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などを用いることができる。   Examples of the recording medium include tapes such as magnetic tapes and cassette tapes, magnetic disks such as floppy (registered trademark) disks / hard disks, and disks including optical disks such as CD-ROM / MO / MD / DVD / CD-R. Card system such as IC card, IC card (including memory card) / optical card, or semiconductor memory system such as mask ROM / EPROM / EEPROM / flash ROM.

また、上記各装置を通信ネットワークと接続可能に構成し、上記プログラムコードを、通信ネットワークを介して供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   Further, each of the devices may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication. A net or the like is available. Also, the transmission medium constituting the communication network is not particularly limited. For example, even in the case of wired such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc., infrared rays such as IrDA and remote control, Bluetooth ( (Registered trademark), 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network, and the like can also be used. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

また、この場合、インターネットを含む通信ネットワークを接続可能なシステム構成であることから、本発明の実施形態は、通信ネットワークから上記プログラムコードをダウンロードするように流動的に上記プログラムコードを担持する媒体であってもよい。なお、このように通信ネットワークから上記プログラムコードをダウンロードする場合には、そのダウンロード用のプログラムコードは予め本体装置に格納しておくか、あるいは別の記録媒体からインストールされるものであってもよい。なお、本発明の実施形態は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   In this case, since the system configuration is such that a communication network including the Internet can be connected, the embodiment of the present invention is a medium that fluidly carries the program code so as to download the program code from the communication network. There may be. When the program code is downloaded from the communication network in this way, the program code for downloading may be stored in the main apparatus in advance or installed from another recording medium. . The embodiment of the present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

さらに、デジタルカラー画像形成装置やコンピュータシステムに備えられるプログラム読み取り装置に上記記録媒体が読み取られることによって、画像処理装置10、プリンタ・ドライバ201の各ブロックの処理を実現できる。なお、上記コンピュータシステムは、フラットベッドスキャナ・フィルムスキャナ・デジタルカメラなどの画像入力装置、所定のプログラムがロードされることによって上記画像処理装置10の各ブロックの処理が行われるコンピュータ、コンピュータの処理結果を表示するCRTディスクプレイ・液晶ディスプレイなどの画像表示装置、およびコンピュータの処理結果を紙に出力するプリンタより構成される。さらには、ネットワークを介してサーバーなどに接続するための通信手段としてのネットワークカードやモデムなどが備えられる。   Furthermore, the processing of each block of the image processing apparatus 10 and the printer driver 201 can be realized by reading the recording medium by a program reading apparatus provided in a digital color image forming apparatus or a computer system. The computer system includes an image input device such as a flatbed scanner, a film scanner, and a digital camera, a computer that performs processing of each block of the image processing device 10 by loading a predetermined program, and a processing result of the computer Image display devices such as a CRT display and a liquid crystal display, and a printer that outputs the processing results of the computer to paper. Furthermore, a network card, a modem, and the like are provided as communication means for connecting to a server or the like via a network.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、上述した実施形態において開示された各技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and the embodiments can be obtained by appropriately combining the respective technical means disclosed in the above-described embodiments. The form is also included in the technical scope of the present invention.

本発明は、画像処理機能を有するプリンタ、複写機、複合機、パーソナルコンピュータ等に好適である。   The present invention is suitable for a printer, a copier, a multifunction machine, a personal computer, etc. having an image processing function.

2 ディザマトリクス
2a〜2d サブマトリクス
10 画像処理装置
18 出力階調補正部
19 階調再現処理部(ディザ処理部)
31 モード切替部(切替部)
40 デジタルカラー複写機(画像形成装置)
51 閾値処理部
52 閾値選択部(調整部)
53 格納部
2 Dither matrixes 2a to 2d Sub-matrix 10 Image processing device 18 Output tone correction unit 19 Tone reproduction processing unit (dither processing unit)
31 Mode switching part (switching part)
40 Digital color copier (image forming device)
51 Threshold Processing Unit 52 Threshold Selection Unit (Adjustment Unit)
53 Storage

Claims (13)

多階調の入力画像の各画素と前記入力画像に多値ディザ処理を施すことによって得られる多階調のディザ画像の各画素とに対応する位置である画素対応位置毎に前記入力画像の各画素の階調値と前記ディザ画像の各画素の階調値との関係が定められているディザマトリクスに基づいて、前記入力画像の各画素の階調値を前記ディザ画像の各画素の階調値に変換する多値ディザ処理を行うディザ処理部を有する画像処理装置において、
通常モードと、前記ディザ画像が印刷される場合に前記通常モードの時よりも印刷用色材の消費量が抑制されるように前記多値ディザ処理が行われるセーブモードとを切り替える切替部を有し、
前記ディザ処理部は、前記ディザマトリクスの全ての画素対応位置のうちの一部の特定位置に対応する前記ディザ画像の画素を特定画素とする場合、前記特定画素が前記通常モードおよび前記セーブモードのいずれのモードであっても多階調となり、且つ、前記セーブモードの時は前記通常モードの時よりも前記特定画素の最高濃度が抑制されるように、前記特定画素の階調数と前記最高濃度を示す階調値とを調整する調整部を含むことを特徴とする画像処理装置。
Each of the input images for each pixel corresponding position, which is a position corresponding to each pixel of the multi-tone input image and each pixel of the multi-tone dither image obtained by performing multi-value dither processing on the input image. Based on the dither matrix in which the relationship between the gradation value of the pixel and the gradation value of each pixel of the dither image is determined, the gradation value of each pixel of the input image is converted to the gradation of each pixel of the dither image. In an image processing apparatus having a dither processing unit that performs multi-value dither processing for converting values into values,
There is a switching unit that switches between the normal mode and the save mode in which the multi-value dithering process is performed so that the consumption of the color material for printing is suppressed when the dither image is printed compared to the normal mode. And
When the dither processing unit sets the pixels of the dither image corresponding to some specific positions of all the pixel corresponding positions of the dither matrix as specific pixels, the specific pixels are in the normal mode and the save mode. Regardless of the mode, the number of gradations of the specific pixel and the maximum number of gradations are increased so that the maximum density of the specific pixel is more suppressed in the save mode than in the normal mode. An image processing apparatus comprising: an adjustment unit that adjusts a gradation value indicating density.
前記画像処理装置は、色成分毎の前記入力画像および前記ディザ画像を取り扱うカラー画像処理装置であり、
前記調整部は、前記色成分毎に前記ディザマトリクス内の前記特定位置の場所を異ならせることを特徴とする請求項1に記載の画像処理装置。
The image processing device is a color image processing device that handles the input image and the dither image for each color component,
The image processing apparatus according to claim 1, wherein the adjustment unit changes a location of the specific position in the dither matrix for each color component.
前記ディザマトリクスの行方向に沿って前記特定位置が連続せず、且つ、前記ディザマトリクスの列方向に沿って前記特定位置が連続しないように、複数の前記特定位置が前記ディザマトリクスに配置されていることを特徴とする請求項1または2に記載の画像処理装置。   A plurality of the specific positions are arranged in the dither matrix so that the specific positions are not continuous along the row direction of the dither matrix and the specific positions are not continuous along the column direction of the dither matrix. The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus. 前記ディザマトリクスは複数の特定位置を有し、当該複数の特定位置には少なくとも第1および第2特定位置が含まれており、
前記調整部は、第1特定位置に対応する第1特定画素の最高濃度を示す階調値と第2特定位置に対応する第2特定画素の最高濃度を示す階調値とが異なる値になるように、前記調整を行うことを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。
The dither matrix has a plurality of specific positions, and the plurality of specific positions include at least first and second specific positions;
The adjustment unit has a different value between a gradation value indicating the highest density of the first specific pixel corresponding to the first specific position and a gradation value indicating the highest density of the second specific pixel corresponding to the second specific position. The image processing apparatus according to claim 1, wherein the adjustment is performed as described above.
前記ディザマトリクスは複数のサブマトリクスからなり、各サブマトリクスは前記特定位置を有し、
前記調整部は、互いに異なるサブマトリクスに属する特定位置同士において、特定位置に対応する特定画素の最高濃度を示す階調値が互いに異なる値になるように、前記調整を行うことを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。
The dither matrix includes a plurality of sub-matrices, and each sub-matrix has the specific position,
The adjustment unit performs the adjustment so that gradation values indicating the highest density of specific pixels corresponding to a specific position are different from each other at specific positions belonging to different sub-matrices. Item 4. The image processing apparatus according to any one of Items 1 to 3.
前記ディザ処理部は、前記ディザマトリクスにて定められている前記入力画像の各画素の階調値と前記ディザ画像の各画素の階調値との対応関係を示したテーブルを用いて、前記入力画像の各画素の階調値を前記ディザ画像の各画素の階調値に変換することを特徴とする請求項1から5のいずれか1項に記載の画像処理装置。   The dither processing unit uses the table indicating a correspondence relationship between the gradation value of each pixel of the input image and the gradation value of each pixel of the dither image defined in the dither matrix. 6. The image processing apparatus according to claim 1, wherein a gradation value of each pixel of the image is converted into a gradation value of each pixel of the dither image. 前記ディザマトリクスの画素対応位置毎に、前記入力画像の階調値に対応する前記ディザ画像の階調値を決定するための閾値が定められており、
前記ディザ処理部は、前記入力画像の階調値と閾値とを比較し、この比較の結果に応じて、前記入力画像の階調値から変換する前記ディザ画像の階調値を決定することを特徴とする請求項1から5のいずれか1項に記載の画像処理装置。
For each pixel-corresponding position of the dither matrix, a threshold value for determining the tone value of the dither image corresponding to the tone value of the input image is defined,
The dither processing unit compares a gradation value of the input image with a threshold value, and determines a gradation value of the dither image to be converted from the gradation value of the input image according to a result of the comparison. The image processing apparatus according to claim 1, wherein the image processing apparatus is characterized.
前記多値ディザ処理が実行される前の前記入力画像に対して階調補正処理を行う出力階調補正部を有し、
前記出力階調補正部は、
前記通常モードにおいて、補正前階調値と補正後階調値との関係を示したテーブルであり且つ前記通常モード用に設定されたテーブルである階調補正テーブルを用いて前記階調補正処理を行い、
前記セーブモードにおいて、前記階調補正テーブルに含まれる各補正後階調値に対して一定係数を乗じることによって前記階調補正テーブルを変更し、この変更後の階調補正テーブルを用いて前記階調補正処理を行うことを特徴とする請求項1から7のいずれか1項に記載の画像処理装置。
An output tone correction unit that performs tone correction processing on the input image before the multi-value dither processing is executed;
The output gradation correction unit
In the normal mode, the gradation correction processing is performed using a gradation correction table which is a table showing the relationship between the gradation value before correction and the gradation value after correction, and is a table set for the normal mode. Done
In the save mode, the gradation correction table is changed by multiplying each corrected gradation value included in the gradation correction table by a constant coefficient, and the gradation correction table is used to change the gradation correction table. The image processing apparatus according to claim 1, wherein tone correction processing is performed.
前記多値ディザ処理が実行される前の前記入力画像に対して階調補正処理を行う出力階調補正部を有し、
前記出力階調補正部は、
前記セーブモードにおいて、補正前階調値と補正後階調値との関係を示したテーブルであり且つ前記セーブモード用に設定されたテーブルである階調補正用テーブルを用いて前記階調補正処理を行い、
前記通常モードにおいて、前記階調補正用テーブルに含まれる各補正後階調値に対して一定係数を乗じることによって前記階調補正用テーブルを変更し、この変更後の階調補正用テーブルを参照して階調補正処理を行うことを特徴とする請求項1から7のいずれか1項に記載の画像処理装置。
An output tone correction unit that performs tone correction processing on the input image before the multi-value dither processing is executed;
The output gradation correction unit
In the save mode, the gradation correction processing is performed using a gradation correction table that is a table showing a relationship between the gradation value before correction and the gradation value after correction, and is a table set for the save mode. And
In the normal mode, the gradation correction table is changed by multiplying each corrected gradation value included in the gradation correction table by a constant coefficient, and the gradation correction table after the change is referred to The image processing apparatus according to claim 1, wherein gradation correction processing is performed.
請求項1から9のいずれか1項に記載の画像処理装置を含むことを特徴とする画像形成装置。   An image forming apparatus comprising the image processing apparatus according to claim 1. 多階調の入力画像の各画素と前記入力画像に多値ディザ処理を施すことによって得られる多階調のディザ画像の各画素とに対応する位置である画素対応位置毎に前記入力画像の各画素の階調値と前記ディザ画像の各画素の階調値との関係が定められているディザマトリクスに基づいて、前記入力画像の各画素の階調値を前記ディザ画像の各画素の階調値に変換する多値ディザ処理を行うディザ処理工程を含む画像処理方法において、
通常モードと、前記ディザ画像が印刷される場合に前記通常モードの時よりも印刷用色材の消費量が抑制されるように前記多値ディザ処理を行うセーブモードとを含み、
前記ディザ処理工程では、前記ディザマトリクスの全ての画素対応位置のうちの一部の特定位置に対応する前記ディザ画像の画素を特定画素とする場合、前記特定画素が前記通常モードおよび前記セーブモードのいずれのモードであっても多階調となり、且つ、前記セーブモードの時は前記通常モードの時よりも前記特定画素の最高濃度が抑制されるように、前記特定画素の階調数と前記最高濃度を示す階調値とを調整することを特徴とする画像処理方法。
Each of the input images for each pixel corresponding position, which is a position corresponding to each pixel of the multi-tone input image and each pixel of the multi-tone dither image obtained by performing multi-value dither processing on the input image. Based on the dither matrix in which the relationship between the gradation value of the pixel and the gradation value of each pixel of the dither image is determined, the gradation value of each pixel of the input image is converted to the gradation of each pixel of the dither image. In an image processing method including a dither processing step of performing multi-value dither processing for converting to a value,
A normal mode, and a save mode for performing the multi-value dither processing so that the consumption of the printing color material is suppressed as compared with the normal mode when the dither image is printed,
In the dither processing step, when the pixels of the dither image corresponding to some specific positions among all the pixel corresponding positions of the dither matrix are set as specific pixels, the specific pixels are in the normal mode and the save mode. Regardless of the mode, the number of gradations of the specific pixel and the maximum number of gradations are increased so that the maximum density of the specific pixel is more suppressed in the save mode than in the normal mode. An image processing method comprising adjusting a gradation value indicating density.
請求項1から9のいずれか1項に記載の画像処理装置の前記の各部としてコンピュータを機能させる画像処理プログラム。   An image processing program for causing a computer to function as each unit of the image processing apparatus according to claim 1. 請求項12に記載の画像処理プログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the image processing program according to claim 12 is recorded.
JP2009080353A 2008-12-05 2009-03-27 Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium Active JP4991782B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009080353A JP4991782B2 (en) 2008-12-05 2009-03-27 Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2008311199 2008-12-05
JP2008311199 2008-12-05
JP2009080353A JP4991782B2 (en) 2008-12-05 2009-03-27 Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium

Publications (2)

Publication Number Publication Date
JP2010157982A true JP2010157982A (en) 2010-07-15
JP4991782B2 JP4991782B2 (en) 2012-08-01

Family

ID=42575529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009080353A Active JP4991782B2 (en) 2008-12-05 2009-03-27 Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium

Country Status (1)

Country Link
JP (1) JP4991782B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108873829A (en) * 2018-05-28 2018-11-23 上海新增鼎数据科技有限公司 A kind of phosphoric acid production parameter control method promoting decision tree based on gradient

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001061064A (en) * 1999-06-14 2001-03-06 Toshiba Tec Corp Image processor
JP2005086719A (en) * 2003-09-11 2005-03-31 Murata Mach Ltd Color image processor
JP2006333431A (en) * 2005-04-26 2006-12-07 Sharp Corp Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2007312033A (en) * 2006-05-17 2007-11-29 Ricoh Co Ltd Image processor and image processing method
JP2008092541A (en) * 2006-09-06 2008-04-17 Sharp Corp Image processing method, image processor, image forming apparatus, computer program, and recording medium
JP2008113364A (en) * 2006-10-31 2008-05-15 Konica Minolta Business Technologies Inc Image processor, processing circuit, and processing method, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001061064A (en) * 1999-06-14 2001-03-06 Toshiba Tec Corp Image processor
JP2005086719A (en) * 2003-09-11 2005-03-31 Murata Mach Ltd Color image processor
JP2006333431A (en) * 2005-04-26 2006-12-07 Sharp Corp Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2007312033A (en) * 2006-05-17 2007-11-29 Ricoh Co Ltd Image processor and image processing method
JP2008092541A (en) * 2006-09-06 2008-04-17 Sharp Corp Image processing method, image processor, image forming apparatus, computer program, and recording medium
JP2008113364A (en) * 2006-10-31 2008-05-15 Konica Minolta Business Technologies Inc Image processor, processing circuit, and processing method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108873829A (en) * 2018-05-28 2018-11-23 上海新增鼎数据科技有限公司 A kind of phosphoric acid production parameter control method promoting decision tree based on gradient
CN108873829B (en) * 2018-05-28 2020-09-15 上海新增鼎数据科技有限公司 Phosphoric acid production parameter control method based on gradient lifting decision tree

Also Published As

Publication number Publication date
JP4991782B2 (en) 2012-08-01

Similar Documents

Publication Publication Date Title
JP4173154B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4067532B2 (en) Color conversion apparatus, image forming apparatus, color conversion method, computer program, and recording medium
JP4139834B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, and computer-readable recording medium recording image processing program
JP3989738B2 (en) Image forming method, image forming apparatus, program, and recording medium
EP1558017A2 (en) Halftoning method and system
JP4368833B2 (en) Image processing apparatus, image processing method, image forming apparatus, program, and recording medium
JP2009100121A (en) Image processing method, image processing apparatus, image forming apparatus, computer program and recording medium
JP5095667B2 (en) Output instruction apparatus, image forming system, output instruction method, control program, and recording medium therefor
JP4731595B2 (en) Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP2010278933A (en) Image processing device, image forming device, image processing method, program and recording medium
JP4991782B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP2013074309A (en) Image processing apparatus, image forming apparatus, image processing method, computer program and recording medium
JP7266462B2 (en) IMAGE PROCESSING APPARATUS, IMAGE FORMING APPARATUS, IMAGE PROCESSING METHOD AND PROGRAM
JP2008306400A (en) Image processing method, image processing device, image forming apparatus, computer program, and record medium
JP2006011754A (en) Image processing device and image processing method
JP4499685B2 (en) Image processing apparatus, image forming apparatus including the same, image processing method, image processing program, and recording medium
JP2005072635A (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, and computer-readable recording medium stored with the image processing program
JP5011223B2 (en) Image processing apparatus, image forming apparatus including the same, image processing program, and recording medium
JP2006005907A (en) Image processing method, image processing apparatus, image forming apparatus, computer program and dummy halftone matrix creating method
JP3774127B2 (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium
JP4139752B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium recording the program
JP5079904B2 (en) Multilevel dither processing method, image processing apparatus, image forming apparatus, multi-function machine, multilevel dither processing program, and computer-readable recording medium
JP2009188453A (en) Gradation setting method for dither matrix, image processing method, image processing apparatus, image forming apparatus, program and recording medium
JP2007334520A (en) Image processor, image forming device, image processing method, image processing program, and recording medium recoding image processing program
JP2009296460A (en) Image processing method, image processing device, image forming apparatus, program and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110223

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: 20120403

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: 20120507

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4991782

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150511

Year of fee payment: 3