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

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

Info

Publication number
JP5101539B2
JP5101539B2 JP2009020791A JP2009020791A JP5101539B2 JP 5101539 B2 JP5101539 B2 JP 5101539B2 JP 2009020791 A JP2009020791 A JP 2009020791A JP 2009020791 A JP2009020791 A JP 2009020791A JP 5101539 B2 JP5101539 B2 JP 5101539B2
Authority
JP
Japan
Prior art keywords
image
amount
usage amount
color material
area
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.)
Active
Application number
JP2009020791A
Other languages
Japanese (ja)
Other versions
JP2010176024A (en
Inventor
英樹 大西
真 早崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2009020791A priority Critical patent/JP5101539B2/en
Publication of JP2010176024A publication Critical patent/JP2010176024A/en
Application granted granted Critical
Publication of JP5101539B2 publication Critical patent/JP5101539B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Color Electrophotography (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Color, Gradation (AREA)

Description

本発明は、色材を用いて印刷を行う通常モードと通常モードよりも色材の消費量を抑制して前記印刷を行うセーブモード(エコモード)とを有する画像形成装置、この画像形成装置にて扱われる画像データを処理する画像処理装置に関する。   The present invention relates to an image forming apparatus having a normal mode in which printing is performed using a color material and a save mode (eco mode) in which the printing is performed while suppressing consumption of the color material as compared with the normal mode. The present invention relates to an image processing apparatus that processes image data handled as described above.

近年、デジタル画像システムが目覚ましい発達を遂げ、デジタル画像処理技術が日々進歩している。例えば、電子写真方式やインクジェット方式等を用いた複写機や複合機においては、印刷の対象となる原稿の種類に応じて最適な画像処理を施すため、文字モード、写真モード、文字写真混在モード等の複数の画像処理モードが設定されている。また、原稿に複数の画像領域が存在する場合、各画像領域の種類を判別する領域分離処理が行われ、各画像領域に対して各画像領域の種類に適した画像処理が行われる。なお、画像領域の種類には、例えば、文字画像を有する文字領域、写真画像を有する写真領域等がある。   In recent years, digital image systems have been remarkably developed, and digital image processing technology is advancing day by day. For example, in copiers and multi-function peripherals that use electrophotography, ink jet, etc., character mode, photo mode, mixed text / photo mode, etc. to perform optimal image processing according to the type of document to be printed A plurality of image processing modes are set. Further, when a plurality of image areas exist in the document, area separation processing for determining the type of each image area is performed, and image processing suitable for the type of each image area is performed on each image area. Examples of the image area include a character area having a character image and a photographic area having a photographic image.

一方、通常の印刷を行う通常モードと、トナーを節約する目的でトナー使用量(トナー消費量)を通常モードより抑制して印刷を行うエコモード(セーブモード)とを有するプリンタがある。このようなプリンタにおいては、エコモードが設定された際、印刷物の画質を所定の基準以下に落とさずにトナー使用量を減少させるために、原稿画像の全領域から均一に画素を削除する画像処理(間引き処理等)が行なわれる。そのため、原稿が複数の画像領域(例えば文字領域と写真領域)に分けられ、ある画像領域の重要度が低くて当該画像領域が低画質でも問題ない場合であっても、各画像領域に対するトナー使用量の削減度は一定であるため、重要度の低い画像領域についてはトナー使用量をさらに削減できる余地を残すという問題を有する。なお、トナー使用量の削減度とは、通常モードでのトナー使用量に対するエコモードでのトナー使用量の削減度合を示したものである。   On the other hand, there is a printer having a normal mode for performing normal printing and an eco mode (save mode) for performing printing while suppressing the amount of toner used (toner consumption) from the normal mode for the purpose of saving toner. In such a printer, when the eco mode is set, image processing that uniformly deletes pixels from the entire area of the original image in order to reduce the amount of toner used without reducing the image quality of the printed matter below a predetermined standard (Thinning processing, etc.) is performed. Therefore, even if the document is divided into a plurality of image areas (for example, a character area and a photographic area) and the importance of a certain image area is low and the image area is low in quality, there is no problem in using toner for each image area. Since the degree of reduction of the amount is constant, there is a problem of leaving room for further reduction in the amount of toner used for an image area with low importance. The degree of reduction in the amount of toner used indicates the degree of reduction in the amount of toner used in the eco mode with respect to the amount of toner used in the normal mode.

以上の問題を解消するための技術として下記特許文献1および特許文献2が存在する。特許文献1の技術は、入力画像に含まれる文字領域および写真領域を判別し、エコモードが設定された際、文字領域と写真領域とでトナー使用量の削減度(画素削減率)を別々に設定し、設定した各削減度に応じて各画像領域を構成する画素の一部を削除する間引き処理を行うものである。また、特許文献2の技術は、指定されたパターンと生成された画像との論理積を計算し、画像から画素の間引きを行ってインクやトナー等の記録材を削減するものである。また、特許文献2には、文字や図形といったオブジェクトごとで記録材の削減率を異ならせている点も示されている。   The following Patent Document 1 and Patent Document 2 exist as techniques for solving the above problems. The technique of Patent Document 1 discriminates a character area and a photographic area included in an input image, and when the eco mode is set, the degree of reduction in toner usage (pixel reduction rate) is separately set for the character area and the photographic area. The thinning process is performed to delete a part of the pixels constituting each image area in accordance with the set reduction degree. The technique of Patent Document 2 calculates a logical product of a specified pattern and a generated image, and performs pixel thinning from the image to reduce recording materials such as ink and toner. Patent Document 2 also shows that the reduction rate of the recording material differs for each object such as a character or a figure.

特開2005−234391号公報(公開日:2005年9月2日)JP 2005-234391 A (publication date: September 2, 2005) 特開平9−245150号公報(公開日:1997年9月19日)JP 9-245150 A (publication date: September 19, 1997)

前記した削減度が画像領域毎で別々に設定される画像形成装置では、エコモード時において画像領域毎の削減度に基づいて画像領域毎に画像処理を行い、トナー使用量を抑制している。   In the image forming apparatus in which the degree of reduction described above is set separately for each image area, the amount of toner used is suppressed by performing image processing for each image area based on the degree of reduction for each image area in the eco mode.

ここで、利用者が印刷画像全体に対する削減度を制御できるようにすれば、エコモードを有する画像形成装置の利便性はさらに高まることになる。そして、削減度が画像領域毎で別々に設定される画像形成装置において、画像領域毎の削減度を利用者によって指定(入力)可能とする形態を採用すれば、印刷画像全体に対する削減度を一応は変更できることになる。   Here, if the user can control the degree of reduction with respect to the entire print image, the convenience of the image forming apparatus having the eco mode is further enhanced. In an image forming apparatus in which the degree of reduction is set separately for each image area, if the user can specify (input) the degree of reduction for each image area, the degree of reduction for the entire print image is temporarily increased. Can be changed.

しかし、削減度を画像領域毎に利用者に指定させる形態の場合、利用者からすれば、画像領域毎に指定した削減度から、印刷画像全体の削減度を認識する事までは困難である。つまり、この場合、利用者からすれば、印刷画像全体の削減度を変更可能ではあっても、当該変更後の印刷画像全体の削減度を認識できないため(どのように変更されるかが認識できない)、印刷画像全体の削減度を制御するまでは困難である。   However, in the case where the user designates the reduction degree for each image area, it is difficult for the user to recognize the reduction degree of the entire print image from the reduction degree designated for each image area. That is, in this case, even if the reduction degree of the entire print image can be changed, the user cannot recognize the reduction degree of the entire print image after the change (how the change is made cannot be recognized). ), It is difficult to control the degree of reduction of the entire printed image.

本発明は、通常モードでのトナー使用量に対するエコモードでのトナー使用量の削減度が画像領域毎に別々に設定される画像形成装置または画像処理装置であっても、印刷画像全体に対する前記削減度を利用者に制御させる事の可能な画像形成装置または画像処理装置を提供することを目的とする。   According to the present invention, even when the image forming apparatus or the image processing apparatus is configured such that the degree of reduction in the toner usage amount in the eco mode with respect to the toner usage amount in the normal mode is set separately for each image area, It is an object of the present invention to provide an image forming apparatus or an image processing apparatus capable of allowing a user to control the degree.

以上の目的を達成するために、本発明は、色材を用いて画像データの画像を印刷する通常モードと前記通常モードよりも前記色材の使用量を抑制して前記画像を印刷するセーブモードとを有する画像形成装置において扱われる前記画像データを処理する画像処理装置であって、前記通常モード時の前記画像全体の色材使用量に対する前記セーブモード時の前記画像全体の色材使用量の削減度を示した第1色材削減度が指定されると、第1色材削減度および前記画像データに基づき、前記セーブモード時の前記画像全体に対する色材使用量の目標量である目標使用量を求める目標使用量決定部と、前記画像データの画像を複数の画像領域に分離する領域分離部と、前記通常モード時の画像領域の色材使用量に対する前記セーブモード時の画像領域の色材使用量の削減度を示した第2色材削減度を画像領域毎に予め記憶する記憶装置と、画像領域毎に、前記画像データと第2色材削減度とに基づき、前記セーブモード時の画像領域に対する色材使用量の暫定値である暫定使用量を求める暫定使用量決定部と、暫定使用量決定部にて求められた暫定使用量の累計が前記目標使用量よりも少ない場合は各暫定使用量を増加させる増加処理を行い、前記累計が前記目標使用量よりも多い場合は各暫定使用量を減少させる減少処理を行うことにより、前記増加処理または減少処理後の暫定使用量である調整後使用量の累計を前記目標使用量に一致させる使用量調整部と、画像領域毎に、セーブモード時の画像領域の色材使用量が前記調整後使用量に一致するように前記画像データを補正する補正部とを有し、前記使用量調整部は、前記増加処理または前記減少処理において前記暫定使用量が多いほど増加量または減少量が多くなるように各暫定使用量に対する増加量または減少量を決定することを特徴とする。   In order to achieve the above object, the present invention provides a normal mode for printing an image of image data using a color material, and a save mode for printing the image while suppressing the use amount of the color material compared to the normal mode. An image processing apparatus that processes the image data handled in the image forming apparatus having the color material usage amount of the entire image in the save mode with respect to the color material usage amount of the entire image in the normal mode. When the first color material reduction degree indicating the reduction degree is designated, based on the first color material reduction degree and the image data, the target use which is the target amount of the color material usage amount for the entire image in the save mode A target usage amount determining unit for obtaining an amount; an area separating unit for separating an image of the image data into a plurality of image regions; and an image area in the save mode with respect to a color material usage amount in the image area in the normal mode. A storage device that stores in advance the second color material reduction degree indicating the degree of reduction of the color material usage amount for each image area, and the save based on the image data and the second color material reduction degree for each image area. The temporary usage amount determination unit for obtaining a temporary usage amount that is a provisional value of the color material usage amount for the image area in the mode, and the total of the temporary usage amounts determined by the temporary usage amount determination unit is less than the target usage amount If the cumulative usage is larger than the target usage, the temporary processing after the increase processing or the reduction processing is performed by performing the reduction processing to decrease the temporary usage. A usage amount adjusting unit that matches the accumulated usage amount after adjustment to the target usage amount, and for each image region, the color material usage amount in the image area in the save mode matches the adjusted usage amount. Correction for correcting the image data The usage amount adjustment unit determines an increase amount or a decrease amount for each temporary usage amount so that the increase amount or the reduction amount increases as the provisional usage amount increases in the increase process or the decrease process. It is characterized by that.

本発明の構成によれば、前記通常モード時の前記画像全体の色材使用量に対する前記セーブモード時の前記画像全体の色材使用量の削減度を示した第1色材削減度を利用者に指定させることが可能になる。そして、セーブモード時の印刷画像全体に対する色材使用量が前記第1色材削減度に適応したものとなるように、前記第2色材削減度に基づいて求められる各画像領域のセーブモード時の色材使用量(暫定使用量)を画像領域毎に調整(前記増加処理または前記減少処理)していることになる。それゆえ、本発明の構成によれば、通常モードでのトナー使用量に対するエコモードでのトナー使用量の削減度が画像領域毎に別々に設定される画像形成装置または画像処理装置であっても、印刷画像全体に対する前記削減度を利用者に制御させることが可能になるという効果を奏する。   According to the configuration of the present invention, the first color material reduction degree indicating the degree of reduction in the color material usage amount of the entire image in the save mode relative to the color material usage amount of the entire image in the normal mode is determined by the user. Can be specified. Then, in the save mode of each image area obtained based on the second color material reduction degree so that the color material usage amount for the entire print image in the save mode is adapted to the first color material reduction degree. The color material usage amount (temporary usage amount) is adjusted for each image area (the increase process or the decrease process). Therefore, according to the configuration of the present invention, even in the image forming apparatus or the image processing apparatus, the degree of reduction in the toner usage amount in the eco mode with respect to the toner usage amount in the normal mode is set separately for each image area. There is an effect that the user can control the degree of reduction with respect to the entire print image.

また、本発明の構成によれば、前記増加処理または減少処理によって、セーブモード時の印刷画像全体に対する色材使用量が前記第1色材削減度に適応したものとなるようにしているが、前記増加処理または減少処理においては前記暫定使用量が多いほど増加量または減少量が多くなるように各暫定使用量に対する増加量または減少量を決定している。それゆえ、トナー使用量の多い画像領域ほど前記増加処理または減少処理における増減度を高くしていることになるため、前記増加処理または減少処理によって生じる影響の大きさを全ての画像領域において略均等にでき、前記増加処理または減少処理に起因した局所的な画質劣化の発生を抑制できるという効果を奏する。   Further, according to the configuration of the present invention, the increase process or the decrease process is such that the color material usage amount for the entire print image in the save mode is adapted to the first color material reduction degree. In the increase process or the decrease process, the increase amount or the decrease amount for each temporary use amount is determined so that the increase amount or the decrease amount increases as the provisional use amount increases. Therefore, an image area with a large amount of toner used has a higher degree of increase / decrease in the increase process or decrease process, and therefore the magnitude of the effect caused by the increase process or decrease process is substantially equal in all image areas. Thus, it is possible to suppress the occurrence of local image quality deterioration due to the increase process or the decrease process.

なお、前記の画像処理装置にて取り扱われる目標使用量、暫定使用量、調整後使用量、累計は、演算にて得られる真の値(真の量)であることが最も好ましいが、真の値の他に近似値(近似量)も含むものとする。これは、実際の装置では、データ処理(演算)の過程において、近似計算を行うものがあるからである。また、処理手法やシステムの内容の関係上、許容誤差範囲(真の値と近似値とからなる数値範囲)を設定しないと処理を行えないものもあるからである。ここで、前記の近似値は、実際の装置にて実行されるデータ処理の内容からして真の値と同視できる数値範囲内の値を意味し、この数値範囲は例えば真の値の99〜101%というように設定される。   The target usage, provisional usage, adjusted usage, and total handled by the image processing apparatus are most preferably true values (true amounts) obtained by calculation. In addition to the value, an approximate value (approximate amount) is also included. This is because some actual devices perform approximate calculation in the process of data processing (calculation). In addition, because of the processing method and the contents of the system, there are some cases where processing cannot be performed unless an allowable error range (a numerical range consisting of a true value and an approximate value) is set. Here, the approximate value means a value within a numerical range that can be equated with the true value based on the contents of the data processing executed in the actual apparatus. This numerical range is, for example, 99 to 99 of the true value. 101% is set.

つまり、使用量調整部では、調整後使用量の累計を目標使用量に一致させる処理を行っているが、これは真の値同士を一致させる場合、近似値同士を一致させる場合、真の値と近似値とを一致させる場合のいずれであってもよい。また、補正部では、セーブモード時の画像領域の色材使用量を調整後使用量に一致させる処理を行っているが、これはセーブモード時の画像領域の色材使用量を調整後使用量のうちの真の値に一致させる場合、当該色材使用量を調整後使用量のうちの近似値に一致させる場合のいずれであってもよい。   In other words, the usage adjustment unit performs processing to match the cumulative total of the adjusted usage with the target usage, but this is true when matching true values, when matching approximate values, And approximate value may be used. In addition, the correction unit performs processing to match the color material usage in the image area in the save mode with the adjusted usage, but this is done after adjusting the color material usage in the image area in the save mode. When the color material usage amount is made to coincide with the true value, the color material usage amount may be matched with the approximate value of the adjusted usage amount.

また、本発明の画像処理装置において、前記領域分離部によって前記画像から分離される複数の画像領域には、少なくとも文字領域と写真領域とが含まれていてもよい。ところが、トナー使用量の削減度を高くしても文字は解読できることが多い一方、トナー使用量の削減度を高くすると写真は色味が薄くなって極端に画質が劣化したように見えてしまうという事態が生じる。そこで、本発明の画像処理装置において、前記領域分離部によって前記画像から分離される複数の画像領域に少なくとも文字領域と写真領域とが含まれている場合、前記写真領域の第2色材削減度を前記文字領域の第2色材削減度よりも低く設定することにより、前記の事態を抑制できる。   In the image processing apparatus of the present invention, the plurality of image regions separated from the image by the region separation unit may include at least a character region and a photographic region. However, characters can often be deciphered even if the toner usage reduction level is increased, but if the toner usage reduction level is increased, the color of the photograph will be light and the image quality will appear to be extremely degraded. Things happen. Therefore, in the image processing apparatus of the present invention, when the plurality of image regions separated from the image by the region separation unit include at least a character region and a photographic region, the second color material reduction degree of the photographic region. Is set lower than the second color material reduction degree of the character area, the above situation can be suppressed.

さらに、本発明の画像処理装置において、前記領域分離部によって前記画像から分離される複数の画像領域には、少なくとも図形領域と写真領域とが含まれていてもよい。ところが、トナー使用量の削減度を高くしても図形は解読できることが多い一方、トナー使用量の削減度を高くすると写真は色味が薄くなって極端に画質が劣化したように見えてしまうという事態が生じる。そこで、本発明の画像処理装置において、前記領域分離部によって前記画像から分離される複数の画像領域に少なくとも図形領域と写真領域とが含まれている場合、前記写真領域の第2色材削減度を前記図形領域の第2色材削減度よりも低く設定することにより、前記の事態を抑制できる。   Furthermore, in the image processing apparatus of the present invention, the plurality of image regions separated from the image by the region separation unit may include at least a graphic region and a photographic region. However, the figure can often be deciphered even if the toner usage reduction level is increased, but if the toner usage reduction level is increased, the color of the photograph will be light and the image quality will appear to be extremely deteriorated. Things happen. Therefore, in the image processing apparatus of the present invention, when the plurality of image regions separated from the image by the region separation unit include at least a graphic region and a photographic region, the second color material reduction degree of the photographic region. Is set lower than the second color material reduction degree of the graphic area, the above situation can be suppressed.

また、本発明の画像処理装置において、前記領域分離部によって前記画像から分離される複数の画像領域には、少なくとも文字領域と網点領域とが含まれていてもよい。ところが、トナー使用量の削減度を高くしても文字は解読できることが多い一方、トナー使用量の削減度を高くすると網点領域は濃淡差が小さくなって極端に画質が劣化したように見えてしまうという事態が生じる。そこで、本発明の画像処理装置において、前記領域分離部によって前記画像から分離される複数の画像領域に少なくとも文字領域と網点領域とが含まれている場合、前記網点領域の第2色材削減度を前記文字領域の第2色材削減度よりも低く設定することにより、前記の事態を抑制できる。   In the image processing apparatus of the present invention, the plurality of image regions separated from the image by the region separation unit may include at least a character region and a halftone dot region. However, characters can often be deciphered even if the toner usage reduction level is increased, but when the toner usage reduction level is increased, the halftone dot area becomes smaller and the image quality appears to be extremely deteriorated. It will happen. Therefore, in the image processing apparatus of the present invention, when at least a character region and a halftone dot region are included in the plurality of image regions separated from the image by the region separation unit, the second color material of the halftone dot region By setting the reduction degree lower than the second color material reduction degree of the character area, the above situation can be suppressed.

さらに、本発明の画像処理装置において、前記領域分離部によって前記画像から分離される複数の画像領域には、少なくとも文字領域と連続階調領域とが含まれていてもよい。ところが、トナー使用量の削減度を高くしても文字は解読できることが多い一方、トナー使用量の削減度を高くすると連続階調領域は濃淡差が小さくなって極端に画質が劣化したように見えてしまうという事態が生じる。そこで、本発明の画像処理装置において、前記領域分離部によって前記画像から分離される複数の画像領域に少なくとも文字領域と連続階調領域とが含まれている場合、前記連続階調領域の第2色材削減度を前記文字領域の第2色材削減度よりも低く設定することにより、前記の事態を抑制できる。   Furthermore, in the image processing apparatus of the present invention, the plurality of image regions separated from the image by the region separation unit may include at least a character region and a continuous tone region. However, characters can often be deciphered even if the toner usage reduction level is increased, but if the toner usage reduction level is increased, the gradation level in the continuous tone area becomes smaller and the image quality appears to be extremely deteriorated. A situation occurs. Therefore, in the image processing apparatus of the present invention, when the plurality of image regions separated from the image by the region separation unit include at least a character region and a continuous tone region, the second of the continuous tone regions. By setting the color material reduction degree lower than the second color material reduction degree of the character region, the above situation can be suppressed.

また、上述した画像処理装置を含む画像形成装置も本発明の範疇に含まれる。ここで、画像形成装置とは、電子写真方式またはインクジェット方式のプリンタ、当該プリンタを有する複写機、当該プリンタを有する複合機を意味する。   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.

また、本発明は、色材を用いて画像データの画像を印刷する通常モードと前記通常モードよりも前記色材の使用量を抑制して前記画像を印刷するセーブモードとを有する画像形成装置において扱われる前記画像データを処理する画像処理方法であって、前記通常モード時の前記画像全体の色材使用量に対する前記セーブモード時の前記画像全体の色材使用量の削減度を示した第1色材削減度が指定されると、第1色材削減度および前記画像データに基づき、前記セーブモード時の前記画像全体に対する色材使用量の目標量である目標使用量を求める目標使用量決定工程と、前記画像データの画像を複数の画像領域に分離する領域分離工程と、前記通常モード時の画像領域の色材使用量に対する前記セーブモード時の画像領域の色材使用量の削減度を示した第2色材削減度を画像領域毎に予め記憶する記憶装置から、前記領域分離工程にて分離された各画像領域の第2色材削減度を読み出す読出工程と、画像領域毎に、前記画像データと前記読出工程にて読み出された第2色材削減度とに基づき、前記セーブモード時の画像領域に対する色材使用量の暫定値である暫定使用量を求める暫定使用量決定工程と、暫定使用量決定工程にて求められた暫定使用量の累計が前記目標使用量よりも少ない場合は各暫定使用量を増加させる増加処理を行い、前記累計が前記目標使用量よりも多い場合は各暫定使用量を減少させる減少処理を行うことにより、前記増加処理または減少処理後の暫定使用量である調整後使用量の累計を前記目標使用量に一致させる使用量調整工程と、画像領域毎に、セーブモード時の画像領域の色材使用量が前記調整後使用量に一致するように前記画像データを補正する補正工程とを有し、前記使用量調整工程では、前記増加処理または前記減少処理において前記暫定使用量が多いほど増加量または減少量が多くなるように各暫定使用量に対する増加量または減少量を決定することを特徴とする。   According to another aspect of the present invention, there is provided an image forming apparatus having a normal mode for printing an image of image data using a color material and a save mode for printing the image while suppressing a use amount of the color material as compared with the normal mode. An image processing method for processing the image data to be handled, the first showing the degree of reduction of the color material usage amount of the entire image in the save mode relative to the color material usage amount of the entire image in the normal mode When a color material reduction degree is designated, target usage amount determination for obtaining a target usage amount that is a target amount of the color material usage amount for the entire image in the save mode based on the first color material reduction degree and the image data. A step of separating the image of the image data into a plurality of image regions, and a reduction of the color material usage amount of the image area in the save mode with respect to the color material usage amount of the image region in the normal mode. A step of reading out the second color material reduction degree of each image area separated in the area separation step from a storage device that stores in advance the second color material reduction degree indicating the degree for each image area; In addition, based on the image data and the second color material reduction degree read in the reading step, a provisional usage amount for obtaining a provisional usage amount that is a provisional value of the color material usage amount for the image area in the save mode. When the cumulative total of the temporary usage determined in the determining step and the temporary usage determining step is smaller than the target usage, an increase process is performed to increase each temporary usage, and the cumulative is less than the target usage A use amount adjustment step of making the cumulative amount of adjusted use amount, which is a provisional use amount after the increase process or the decrease process, coincide with the target use amount by performing a decrease process to decrease each provisional use amount when there are many; For each image area, A correction step of correcting the image data so that the amount of color material used in the image region in the mode matches the adjusted usage amount. In the usage amount adjustment step, in the increase process or the decrease process, The increase amount or the decrease amount for each temporary use amount is determined so that the increase amount or the decrease amount increases as the provisional use amount increases.

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

本発明の構成によれば、通常モードでのトナー使用量に対するエコモードでのトナー使用量の削減度が画像領域毎に別々に設定される画像形成装置または画像処理装置であっても、印刷画像全体に対する前記削減度を利用者に制御させることが可能になるという効果を奏する。   According to the configuration of the present invention, even in an image forming apparatus or an image processing apparatus in which the degree of reduction in the toner usage amount in the eco mode with respect to the toner usage amount in the normal mode is set separately for each image area, the printed image There is an effect that the user can control the degree of reduction with respect to the whole.

また、本発明の構成によれば、前記した増加処理または減少処理によって、セーブモード時の印刷画像全体に対する色材使用量を制御しているが、トナー使用量の多い画像領域ほど前記増加処理または減少処理における増減度を高くしている。これにより、前記増加処理または減少処理によって生じる影響の大きさを全ての画像領域において略均等にでき、前記増加処理または減少処理に起因した局所的な画質劣化の発生を抑制できるという効果を奏する。   Further, according to the configuration of the present invention, the color material usage amount for the entire print image in the save mode is controlled by the increase process or the decrease process described above. The degree of increase / decrease in the reduction process is increased. Thereby, the magnitude of the influence caused by the increase process or the decrease process can be made substantially uniform in all the image areas, and the occurrence of local image quality deterioration due to the increase process or the decrease process can be suppressed.

本発明の一実施形態に係るプリンタおよび当該プリンタに接続される端末装置の概略構成を示したブロック図である。1 is a block diagram illustrating a schematic configuration of a printer according to an embodiment of the present invention and a terminal device connected to the printer. 図1に示される使用量計算部の構成の詳細を示したブロック図である。It is the block diagram which showed the detail of the structure of the usage-amount calculation part shown by FIG. 図1に示される使用量計算部の処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the process of the usage-amount calculation part shown by FIG. 画像データの画像が文字領域と自然画像領域と図形領域とを含み、且つ、全ての暫定使用量の累計が目標使用量よりも少ない場合の使用量計算部の計算内容を示した説明図である。It is explanatory drawing which showed the calculation content of the usage-amount calculation part when the image of image data contains a character area, a natural image area | region, and a graphic area, and the total of all the temporary usage is less than a target usage. . 画像データの画像が文字領域と自然画像領域と図形領域とを含み、且つ、全ての暫定使用量の累計が目標使用量よりも多い場合の使用量計算部の計算内容を示した説明図である。It is explanatory drawing which showed the calculation content of the usage amount calculation part when the image of image data contains a character area, a natural image area | region, and a graphic area, and the total of all the temporary usage amounts is larger than a target usage amount. . 画像データの画像が文字領域と自然画像領域とを含むが図形領域を含まない場合の使用量計算部の計算内容を示した説明図である。It is explanatory drawing which showed the calculation content of the usage-amount calculation part in case the image of image data contains a character area | region and a natural image area | region, but does not contain a figure area | region. 画像データの画像が文字領域と図形領域とを含むが自然画像領域を含まない場合の使用量計算部の計算内容を示した説明図である。It is explanatory drawing which showed the calculation content of the usage-amount calculation part in case the image of image data contains a character area | region and a graphics area | region, but does not contain a natural image area | region. 文字重視モードが選択されている場合の使用量計算部の計算内容を示した説明図である。It is explanatory drawing which showed the calculation content of the usage-amount calculation part when the character emphasis mode is selected. 写真重視モードが選択されている場合の使用量計算部の計算内容を示した説明図である。It is explanatory drawing which showed the calculation content of the usage-amount calculation part when the photograph emphasis mode is selected. 本発明の別の実施形態である複写機の概略構成を示したブロック図である。FIG. 6 is a block diagram showing a schematic configuration of a copying machine which is another embodiment of the present invention. 文字領域と写真領域と図形領域とを含む画像の一例を示す図である。It is a figure which shows an example of the image containing a character area | region, a photography area | region, and a graphic area. 図11に示される画像の画像データをPDLで記述した場合のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure at the time of describing the image data of the image shown by FIG. 11 by PDL.

以下、本発明の実施の形態について図に基づいて詳細に説明する。図1は、本発明の画像形成装置の一実施形態であるプリンタと、当該プリンタに接続されている端末装置とを示すブロック図である。なお、本実施形態のプリンタ2は、トナーを用いて画像データの画像を印刷する通常モードと、通常モードよりもトナーの使用量を抑制して前記画像を印刷するトナーセーブモードとを有しているものとする。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a printer which is an embodiment of an image forming apparatus of the present invention and a terminal device connected to the printer. Note that the printer 2 of the present embodiment has a normal mode for printing an image of image data using toner, and a toner save mode for printing the image while suppressing the amount of toner used compared to the normal mode. It shall be.

端末装置1は、プリンタ2の利用者が使用するものであり、画像編集ソフト等の各種アプリケーションソフトウェアの他、プリンタ2を操作するためのプリンタドライバがインストールされているパーソナルコンピュータである。端末装置1において、画像編集ソフトなどのアプリケーションソフトウェアによって作成された画像データは、プリンタドライバによって、PDL(Page Description Language:ページ記述言語)で記述された画像データに変換される。そして、PDLで記述された画像データはプリンタ2に伝送されることになる。なお、PDLで記述された画像データには、各画像領域の起点位置、サイズ、色を示す情報が示されている。また、図1に示すように、端末装置1からプリンタ2に伝送される画像データはRGBで色指定されているものとする。なお、Rは赤、Gは緑、Bは青である。   The terminal device 1 is used by a user of the printer 2 and is a personal computer in which a printer driver for operating the printer 2 is installed in addition to various application software such as image editing software. In the terminal device 1, image data created by application software such as image editing software is converted into image data described in PDL (Page Description Language) by a printer driver. Then, the image data described in PDL is transmitted to the printer 2. The image data described in PDL shows information indicating the starting position, size, and color of each image area. Further, as shown in FIG. 1, it is assumed that image data transmitted from the terminal device 1 to the printer 2 is color-specified in RGB. R is red, G is green, and B is blue.

さらに、本実施形態では、利用者は、端末装置1のプリンタドライバの設定画面において、キーボードやマウスによって前記通常モードまたは前記トナーセーブモードのいずれかを選択できるようになっている(各モードのチェックボックスにチェックを入れるようになっていてもよい)。   Further, in the present embodiment, the user can select either the normal mode or the toner save mode on the printer driver setting screen of the terminal device 1 by using a keyboard or a mouse (check each mode). Or you can check the box).

そして、利用者は、端末装置1のプリンタドライバによってトナーセーブモードを選択した後、通常モード時の前記画像全体のトナー使用量(色材使用量)に対する前記セーブモード時の前記画像全体のトナー使用量の削減度を示した第1色材削減度を入力するようになっている。つまり、この入力作業によって、プリンタ2における第1色材削減度が利用者に指定されることになる。   Then, after the user selects the toner save mode by the printer driver of the terminal device 1, the toner use of the entire image in the save mode with respect to the toner use amount (color material use amount) of the entire image in the normal mode The first color material reduction degree indicating the amount reduction degree is input. That is, by this input work, the first color material reduction degree in the printer 2 is designated to the user.

なお、前記の第1色材削減度としては、通常モード時の前記画像全体のトナー使用量(色材使用量)に対する前記セーブモード時の前記画像全体のトナー使用量の削減度を示した値であればどのような値でもよいが、本実施形態では、下記の式1に示される第1削減率を前記第1色材削減度として端末装置1に入力するようになっている。
第1削減率(%)=100×(通常モード時の印刷画像全体に対するトナー使用量−トナーセーブモード時の印刷画像全体に対するトナー使用量)/(通常モード時の印刷画像全体に対するトナー使用量) …式1
また、第1削減率として入力される値は、利用者によって設定される任意値であってもよいし、予め設定されている複数の第1削減率のなかから利用者に選択された値であってもよい。さらに、複数のプリンタ2と制御装置とがネットワークを介して接続されている印刷システムを構築し、当該制御装置が複数のプリンタ2を一元管理するようにし、制御装置が全てのプリンタ2に対して第1削減率を設定できるようにしてもよい。
The first color material reduction degree is a value indicating the reduction degree of the toner use amount of the entire image in the save mode with respect to the toner use amount (color material use amount) of the entire image in the normal mode. Any value may be used, but in the present embodiment, the first reduction rate represented by the following Equation 1 is input to the terminal device 1 as the first color material reduction degree.
First reduction rate (%) = 100 × (toner usage amount for entire print image in normal mode−toner usage amount for entire print image in toner save mode) / (toner usage amount for entire print image in normal mode) ... Formula 1
Also, the value input as the first reduction rate may be an arbitrary value set by the user, or a value selected by the user from among a plurality of preset first reduction rates. There may be. Furthermore, a printing system is constructed in which a plurality of printers 2 and control devices are connected via a network so that the control device manages the plurality of printers 2 in a unified manner. The first reduction rate may be set.

そして、第1削減率が端末装置1に入力されると、端末装置1のプリンタドライバは、前記画像データに対して、入力された第1削減率を記述するようになっている。   When the first reduction rate is input to the terminal device 1, the printer driver of the terminal device 1 describes the input first reduction rate for the image data.

プリンタ(画像形成装置)2は、電子写真方式の印刷装置であり、図1に示されるように印刷エンジン部4および画像処理部5を有している。なお、プリンタ2としては、電子写真方式の印刷装置に限定されるものではなく、インクジェット方式の印刷装置であってもよい。   The printer (image forming apparatus) 2 is an electrophotographic printing apparatus, and includes a print engine unit 4 and an image processing unit 5 as shown in FIG. The printer 2 is not limited to an electrophotographic printing apparatus, and may be an inkjet printing apparatus.

画像処理部(画像処理装置)5は、画像データに対して画像処理を行い、当該画像処理を施した後の画像データを印刷エンジン部4へ送るブロックである。印刷エンジン部4は、画像処理部5から画像データが送られてくると、この画像データに応じた画像を所定のシート(用紙、OHP等)に形成する。   The image processing unit (image processing apparatus) 5 is a block that performs image processing on the image data and sends the image data after the image processing to the print engine unit 4. When the image data is sent from the image processing unit 5, the print engine unit 4 forms an image corresponding to the image data on a predetermined sheet (paper, OHP, etc.).

つぎに、画像処理部5の詳細について説明する。図1に示すように、画像処理部5は、領域判別部11、色補正部12、使用量計算部13、出力階調補正部14、中間調処理部15を有している。   Next, details of the image processing unit 5 will be described. As shown in FIG. 1, the image processing unit 5 includes an area determination unit 11, a color correction unit 12, a usage amount calculation unit 13, an output tone correction unit 14, and a halftone processing unit 15.

まず、PDLで記述された画像データが画像処理部5に送られると、図示しない変換処理部が、PDLの画像データを、RGBの階調値を示した画像データと画像領域の属性を示したタグデータとに変換するようになっている。そして、RGBの画像データおよびタグデータは領域判別部11に入力される。   First, when image data described in PDL is sent to the image processing unit 5, a conversion processing unit (not shown) indicates the PDL image data, the image data indicating RGB gradation values, and the attributes of the image area. It is designed to be converted to tag data. Then, RGB image data and tag data are input to the region discriminating unit 11.

領域判別部(領域分離部)11は、端末装置1から送られてくる画像データの画像を画像領域毎に分離する領域分離処理、つまり、画像データの画像に含まれる各画像領域の種類を判別する処理を施すものである。より具体的に説明すると、領域判別部11は、前記タグデータに基づいて各画像領域の属性情報を調べることにより、テキストデータからなる文字領域、図形またはグラフからなる図形領域、写真画像データからなる自然画像領域を判別する。   The area discriminating unit (area separating unit) 11 discriminates the type of each image area included in the image of the image data, that is, the area separating process for separating the image of the image data sent from the terminal device 1 for each image area. The process which performs is performed. More specifically, the area discriminating unit 11 is composed of a character area composed of text data, a graphic area composed of a graphic or a graph, and photographic image data by examining the attribute information of each image area based on the tag data. A natural image area is determined.

また、領域判別部11は、前記の領域分離処理を行う他、端末装置1から送られてきた画像データをそのまま色補正部12へ伝送する。さらに、領域判別部11は、領域分離処理の結果を示した領域識別信号を後段の使用量計算部13、出力階調補正部14、中間調処理部15に伝送する。   In addition to performing the region separation process, the region determination unit 11 transmits the image data sent from the terminal device 1 to the color correction unit 12 as it is. Further, the region discriminating unit 11 transmits a region identification signal indicating the result of the region separation processing to the subsequent use amount calculating unit 13, the output tone correcting unit 14, and the halftone processing unit 15.

色補正部12は、色再現の忠実化実現のために、不要吸収成分を含むCMY(C:シアン・M:マゼンタ・Y:イエロー)色材の分光特性に基づいた色濁りを取り除く処理を行うと共に、CMYの3色信号から黒(K)信号を生成する黒生成、つまり、CMY信号から黒生成で得たK信号を差し引いて新たなCMY信号を生成する下色除去処理(UCR:Under Color Removal)を行う。すなわち、色補正部12は、図1に示すように、領域判別部11から送られてくるRGB信号からなる画像データを、CMYK信号からなる画像データに変換する。そして、色補正部12は、CMYK信号からなる画像データを使用量計算部13に伝送する。   The color correction unit 12 performs processing to remove color turbidity based on the spectral characteristics of CMY (C: cyan, M: magenta, Y: yellow) color materials including unnecessary absorption components in order to realize faithful color reproduction. At the same time, black generation for generating a black (K) signal from the three color signals of CMY, that is, under color removal processing (UCR: Under Color) for generating a new CMY signal by subtracting the K signal obtained by black generation from the CMY signal. Removal). That is, as shown in FIG. 1, the color correction unit 12 converts the image data composed of RGB signals sent from the region discrimination unit 11 into image data composed of CMYK signals. Then, the color correction unit 12 transmits image data composed of CMYK signals to the usage amount calculation unit 13.

使用量計算部13は、トナーセーブモード時、色補正部12から送られてきた画像データと領域判別部11から送られてきた領域識別信号とに基づいて、前記画像データの画像に含まれる画像領域毎に、各画像領域に対するトナー使用量の暫定値である暫定使用量を算出する。さらに、使用量計算部13は、前述した第1削減率に基づいて、画像領域毎に算出された各暫定使用量を調整する。そして、使用量計算部13は、当該調整後の暫定使用量である調整後使用量を画像領域毎に示した使用量情報を作成し、この使用量情報を前記画像データと共に出力階調補正部14に伝送する。また、この使用量情報には、後述する通常使用量(図4参照)も示されることになっている。   In the toner save mode, the usage amount calculation unit 13 is based on the image data sent from the color correction unit 12 and the area identification signal sent from the area determination unit 11, and the image included in the image of the image data. For each region, a provisional usage amount that is a provisional value of the toner usage amount for each image region is calculated. Further, the usage amount calculation unit 13 adjusts each provisional usage amount calculated for each image region based on the first reduction rate described above. Then, the usage amount calculation unit 13 creates usage amount information indicating the adjusted usage amount, which is the provisional usage amount after the adjustment, for each image region, and outputs the usage amount information together with the image data to the output tone correction unit. 14 for transmission. In addition, this usage amount information also indicates a normal usage amount (see FIG. 4) described later.

なお、使用量計算部13は、入力した画像データに第1削減率が記述されている事をもってトナーセーブモードが選択されていることを認識するようになっている。   The usage amount calculation unit 13 recognizes that the toner save mode is selected when the first reduction rate is described in the input image data.

また、使用量計算部13は、入力した画像データに第1削減率が記述されていない事をもって通常モードが選択されている事を認識するようになっている。そして、使用量計算部13は、通常モード時、前記の使用量情報の作成を行わず、色補正部12から送られてきた画像データをそのまま出力階調補正部14へ伝送する。なお、使用量計算部13にて実行される処理内容については、後にさらに詳細に説明する。   In addition, the usage amount calculation unit 13 recognizes that the normal mode is selected when the first reduction rate is not described in the input image data. In the normal mode, the usage amount calculation unit 13 does not create the usage amount information and transmits the image data sent from the color correction unit 12 to the output gradation correction unit 14 as it is. The processing content executed by the usage amount calculation unit 13 will be described in detail later.

出力階調補正部(補正部)14は、使用量計算部13から送られてきた画像データに対し、印刷エンジン部4の出力特性値に応じた出力階調補正処理を実行するものである。なお、出力階調補正処理は出力階調補正曲線(ガンマカーブ)を用いて実行される。   The output tone correction unit (correction unit) 14 executes output tone correction processing corresponding to the output characteristic value of the print engine unit 4 for the image data sent from the usage amount calculation unit 13. The output gradation correction process is executed using an output gradation correction curve (gamma curve).

また、出力階調補正部14は、使用量計算部13から使用量情報が送られてきた事をもってトナーセーブモードが選択されている事を認識するようになっている。そして、出力階調補正部14は、トナーセーブモード時、使用量計算部13から送られてきた使用量情報と領域判別部11から送られてきた領域識別信号とに基づき、画像データの画像に含まれる各画像領域に対するトナー使用量が使用量情報に示される調整後使用量に一致するものとなるように前記画像データに対して補正処理を行う。   The output tone correction unit 14 recognizes that the toner save mode is selected when the usage amount information is sent from the usage amount calculation unit 13. Then, in the toner save mode, the output tone correction unit 14 converts the image data into an image based on the usage amount information sent from the usage amount calculation unit 13 and the region identification signal sent from the region discrimination unit 11. Correction processing is performed on the image data so that the toner usage amount for each included image area matches the adjusted usage amount indicated in the usage amount information.

具体的に、出力階調補正部14は、画像データの画像に含まれる画像領域毎に、各画像領域の印刷時のトナー使用量が使用量計算部13から出力される使用量情報に示される調整後使用量に一致したものとなるように、出力階調補正処理に用いられる出力階調補正曲線を変更する処理を行う。なお、出力階調補正曲線の変更方法については後に詳述する。   Specifically, the output gradation correction unit 14 indicates, for each image region included in the image of the image data, the toner usage amount at the time of printing each image region in the usage amount information output from the usage amount calculation unit 13. A process for changing the output tone correction curve used for the output tone correction process is performed so as to match the adjusted usage amount. The method for changing the output tone correction curve will be described in detail later.

中間調処理部15は、出力階調補正部14から送られてきた画像データに対して、領域識別信号を基に階調再現処理(中間調生成,ハーフトーン処理)を施し、最終的に画像を擬似的に階調再現できるようにするものである。   The halftone processing unit 15 performs tone reproduction processing (halftone generation, halftone processing) on the image data sent from the output tone correction unit 14 based on the region identification signal, and finally the image Can be reproduced in a pseudo gradation.

中間調処理部15において階調再現処理の施された画像データは印刷エンジン部4に送られ、これにより、当該画像データに示される画像が印刷されることになる。   The image data that has been subjected to the gradation reproduction process in the halftone processing unit 15 is sent to the print engine unit 4, whereby the image indicated by the image data is printed.

なお、図1は、RGBで色指定されたPDLデータが端末装置1からプリンタ2に送られた例を示したものであるが、PDLデータはCMYKで色指定されていてもよく、この場合、領域判定部11を経由して色補正部12に入力される画像データはCMYKのデータとなる。また、この場合、色補正部12は、入力したCMYKのデータに処理を施さず、そのまま使用量計算部13に伝送する。   FIG. 1 shows an example in which PDL data specified by RGB color is sent from the terminal device 1 to the printer 2, but the PDL data may be color specified by CMYK. The image data input to the color correction unit 12 via the region determination unit 11 is CMYK data. In this case, the color correction unit 12 does not process the input CMYK data, and transmits the data to the usage amount calculation unit 13 as it is.

つぎに、前記した使用量計算部13について詳細に説明する。使用量計算部13は、図2に示すように、目標量演算部101、暫定量演算部102、調整部103、記憶装置34を有する構成である。なお、図2に示すように、使用量計算部13に含まれる各部は、領域判別部11から領域識別信号を入力するようになっており、当該領域識別信号によって、入力した画像データの画像に含まれる各画像領域の種類を認識できるようになっている。   Next, the above-described usage amount calculation unit 13 will be described in detail. As shown in FIG. 2, the usage amount calculation unit 13 includes a target amount calculation unit 101, a provisional amount calculation unit 102, an adjustment unit 103, and a storage device 34. As shown in FIG. 2, each unit included in the usage amount calculation unit 13 receives a region identification signal from the region determination unit 11, and an image of the input image data is input by the region identification signal. The type of each image area included can be recognized.

目標量演算部(目標使用量決定部)101は、トナーセーブモード時において、前記画像データおよび前記画像データに記述されている第1削減率に基づき、画像データの画像全体に対するトナー使用量の目標量である目標使用量を求めるブロックである。   A target amount calculation unit (target usage amount determination unit) 101 in the toner save mode, based on the image data and the first reduction rate described in the image data, a target of the toner usage amount for the entire image of the image data. This is a block for obtaining a target usage amount.

記憶装置34は、ROM(Read Only Memory)等の情報記憶手段であって、通常モード時の画像領域のトナー使用量(色材使用量)に対するトナーセーブモード時の当該画像領域のトナー使用量の削減度を示した第2色材削減度を画像領域毎に記憶する装置である。なお、前記の第2色材削減度としては、画像領域毎に設定される値であって、通常モード時の画像領域のトナー使用量に対するトナーセーブモード時の当該画像領域のトナー使用量の削減度を示した値であればどのような値でもよいが、本実施形態では、下記の式2に示される第2削減率を前記第2色材削減度として画像領域毎に記憶装置34に保存している。
第2削減率(%)=100×(通常モード時の各画像領域に対するトナー使用量−トナーセーブモード時の各画像領域に対するトナー使用量)/(通常モード時の各画像領域に対するトナー使用量) …式2
暫定量演算部(暫定使用量決定部)102は、前記画像データを入力すると、記憶装置34に記憶されている第2削減率と前記画像データとに基づき、各画像領域に対するトナー使用量の暫定値である暫定使用量を画像領域毎に求める。
The storage device 34 is information storage means such as a ROM (Read Only Memory), and the amount of toner used in the image area in the toner save mode relative to the amount of toner used in the image area (color material usage) in the normal mode. The second color material reduction degree indicating the reduction degree is stored in each image area. The second color material reduction degree is a value set for each image area, and the reduction of the toner usage amount of the image area in the toner save mode with respect to the toner usage amount of the image area in the normal mode. Any value may be used as long as the value indicates the degree, but in the present embodiment, the second reduction rate represented by the following Expression 2 is stored in the storage device 34 for each image area as the second color material reduction degree. is doing.
Second reduction rate (%) = 100 × (toner usage for each image area in normal mode−toner usage for each image area in toner save mode) / (toner usage for each image area in normal mode) ... Formula 2
When the image data is input, the provisional amount calculation unit (provisional use amount determination unit) 102 provisionally uses the toner amount for each image region based on the second reduction rate stored in the storage device 34 and the image data. A temporary usage amount as a value is obtained for each image area.

調整部(使用量調整部)103は、暫定量演算部102にて求められた全ての暫定使用量の累計が目標量演算部101にて求められた目標使用量よりも少ない場合、各暫定使用量を増加させる増加処理を行い、暫定量演算部102にて求められた全ての暫定使用量の累計が目標量演算部101にて求められた目標使用量よりも多い場合、各暫定使用量を減少させる減少処理を行う。ここで、増加処理後または減少処理後の暫定使用量を調整後使用量とする。そして、調整部103は、全ての調整後使用量の累計が前記目標使用量一致するものとなるように前記増加処理または前記減少処理を行う。さらに、調整部103は、前記の調整後使用量と後述する通常使用量とを画像領域毎に示した使用量情報を作成し、この使用量情報を前記画像データと共に出力階調補正部14に伝送する。   The adjustment unit (usage amount adjustment unit) 103 determines that each provisional use is performed when the total of all the provisional use amounts obtained by the provisional amount calculation unit 102 is smaller than the target use amount obtained by the target amount calculation unit 101. When an increase process for increasing the amount is performed and the total of all the temporary usage amounts obtained by the temporary amount calculation unit 102 is larger than the target usage amount obtained by the target amount calculation unit 101, each temporary usage amount is Decrease process to decrease. Here, the provisional use amount after the increase process or the decrease process is set as the adjusted use amount. Then, the adjustment unit 103 performs the increase process or the decrease process so that the total of all the adjusted usage amounts matches the target usage amount. Further, the adjustment unit 103 creates usage amount information indicating the adjusted usage amount and a normal usage amount, which will be described later, for each image area, and sends the usage amount information to the output tone correction unit 14 together with the image data. To transmit.

つぎに、使用量計算部13にて実行される処理の流れをより詳細に説明する。図3は、使用量計算部13の処理の流れを示したフローチャートである。使用量計算部13は、上述したように、領域判別部11にて判別された画像領域毎に前記暫定使用量および調整後使用量を求めている。それゆえ、図3に示すように、使用量計算部13が実行する処理内容は以下のケース1〜ケース7の各々に分類される。
ケース1:画像データの画像が文字領域と自然画像領域と図形領域とを含む場合(S1〜S8)
ケース2:画像データの画像が文字領域と自然画像領域とを含むが図形領域を含まない場合(S1〜S5,S9〜S11)
ケース3:画像データの画像が文字領域と図形領域とを含むが自然画像領域を含まない場合(S1〜S4,S12〜S15)
ケース4:画像データの画像が図形領域と自然画像領域とを含むが文字領域を含まない場合(S1〜S3,S17〜S21)
ケース5:画像データの画像が文字領域のみからなる場合(S1〜S4,S12,S16)
ケース6:画像データの画像が自然画像領域のみからなる場合(S1〜S3,S17〜S18,S22)
ケース7:画像データの画像が図形領域のみからなる場合(S1〜S3,S17,S23)
以下では、ケース1〜ケース7の使用量計算部13の処理内容について図を参照して説明する。
Next, the flow of processing executed by the usage amount calculation unit 13 will be described in more detail. FIG. 3 is a flowchart showing a processing flow of the usage amount calculation unit 13. As described above, the usage amount calculation unit 13 obtains the provisional usage amount and the adjusted usage amount for each image region determined by the region determination unit 11. Therefore, as shown in FIG. 3, the processing content executed by the usage amount calculation unit 13 is classified into each of Case 1 to Case 7 below.
Case 1: When the image of the image data includes a character area, a natural image area, and a graphic area (S1 to S8)
Case 2: When the image of the image data includes a character area and a natural image area but does not include a graphic area (S1 to S5, S9 to S11)
Case 3: When the image of the image data includes a character area and a graphic area but does not include a natural image area (S1 to S4, S12 to S15)
Case 4: When the image of the image data includes a graphic area and a natural image area but does not include a character area (S1 to S3, S17 to S21)
Case 5: When the image of the image data consists only of a character area (S1 to S4, S12, S16)
Case 6: When the image of the image data consists only of a natural image area (S1 to S3, S17 to S18, S22)
Case 7: When the image of the image data consists only of a graphic area (S1 to S3, S17, S23)
Below, the processing content of the usage amount calculation part 13 of case 1-case 7 is demonstrated with reference to figures.

(ケース1について)
図4は、画像データの画像が文字領域と自然画像領域と図形領域とを含み、且つ、全ての暫定使用量の累計が目標使用量よりも少ない場合の使用量計算部13の計算内容を示した説明図である。以下では図3の他に図4を参照して上述したケース1での使用量計算部13の計算内容を説明する。
(Case 1)
FIG. 4 shows calculation contents of the usage amount calculation unit 13 when the image of the image data includes a character area, a natural image area, and a graphic area, and the total of all the temporary usage amounts is smaller than the target usage amount. FIG. Hereinafter, the calculation contents of the usage amount calculation unit 13 in the case 1 described above will be described with reference to FIG. 4 in addition to FIG. 3.

まず、色補正部12から出力された画像データが使用量計算部13に入力すると、使用量計算部13は、当該画像データに第1削減率が記述されているか否かを判定する(S1)。そして、画像データに第1削減率が記述されていない場合(S1においてNO)、使用量計算部13は、入力した画像データをそのまま出力階調補正部14へ送った上で処理を終了する。   First, when the image data output from the color correction unit 12 is input to the usage amount calculation unit 13, the usage amount calculation unit 13 determines whether or not the first reduction rate is described in the image data (S1). . If the first reduction rate is not described in the image data (NO in S1), the usage amount calculation unit 13 sends the input image data as it is to the output tone correction unit 14, and then ends the process.

これに対し、画像データに第1削減率が記述されている場合(S1においてYES)、目標量演算部101は、入力した画像データおよび第1削減率に基づいて目標使用量を算出する(S2)。以下では、目標使用量を算出する手法を説明する。まず、図4において、通常使用量とは、通常モード時における各画像領域のトナー使用量を意味する。また、通常使用量総数とは、通常モード時における画像全体のトナー使用量、つまり通常使用量の累計に相当する量である。そして、目標量演算部101は、入力した画像データから各画像領域の通常使用量を求め、さらに、通常使用量を累計することで通常使用量総数を求める。その後、目標量演算部101は、図4の式10に対して通常使用量総数と第1削減率とを代入することで、目標使用量を求める。図4の例では、第1削減率は30%であり、通常使用量総数が10000になる画像データを入力しているので、目標使用量は7000となる。   On the other hand, when the first reduction rate is described in the image data (YES in S1), the target amount calculation unit 101 calculates the target usage amount based on the input image data and the first reduction rate (S2). ). Hereinafter, a method for calculating the target usage will be described. First, in FIG. 4, the normal usage amount means the toner usage amount of each image area in the normal mode. Further, the total normal usage amount is a toner usage amount of the entire image in the normal mode, that is, an amount corresponding to a cumulative total of the normal usage amounts. Then, the target amount calculation unit 101 calculates the normal usage amount of each image area from the input image data, and further calculates the total normal usage amount by accumulating the normal usage amount. Thereafter, the target amount calculation unit 101 obtains the target usage amount by substituting the total normal usage amount and the first reduction rate into Equation 10 of FIG. In the example of FIG. 4, the first reduction rate is 30%, and image data with the total normal usage amount being 10,000 is input, so the target usage amount is 7000.

なお、目標量演算部101は、各画像領域について、画像データの画素毎の濃度値と通常使用量との関係を示したテーブルを参照することで、入力した画像データから各画像領域の通常使用量を求めている。ここで、当該テーブルは、予め複数の画像サンプルを用いて試験することによって作成され、図2の記憶装置34に保存されているものである。なお、図4に示される構成比率は、画像全体の出力画素数(ドット数)と各画像領域の出力画素数との比率を示したものである。   The target amount calculation unit 101 refers to a table showing the relationship between the density value for each pixel of the image data and the normal use amount for each image region, so that the normal use of each image region is input from the input image data. Seeking the amount. Here, the table is created by testing using a plurality of image samples in advance, and is stored in the storage device 34 of FIG. 4 indicates the ratio between the number of output pixels (number of dots) of the entire image and the number of output pixels of each image area.

つぎに、S2以降の処理を説明する。ケース1では画像データの画像が文字領域と自然画像領域と図形領域とを含んでいるため、処理はS6に移行する(S3〜S5においてYes)。S6において、暫定量演算部102は、画像データの画像に含まれる各画像領域の第2削減率を記憶装置34から読み出す。ここで、本実施形態においては、図4に示されるように、文字領域の第2削減率は50%に設定され、図形領域の第2削減率は30%に設定され、自然画像領域の第2削減率は20%に設定されている。   Next, the processes after S2 will be described. In case 1, since the image of the image data includes a character area, a natural image area, and a graphic area, the process proceeds to S6 (Yes in S3 to S5). In S <b> 6, the provisional amount calculation unit 102 reads out the second reduction rate of each image area included in the image of the image data from the storage device 34. Here, in the present embodiment, as shown in FIG. 4, the second reduction rate of the character region is set to 50%, the second reduction rate of the graphic region is set to 30%, and the second reduction rate of the natural image region is set. 2. The reduction rate is set to 20%.

S7において、暫定量演算部102は、各画像領域について、暫定使用量を求める。以下では、暫定使用量を算出する手法を詳細に説明する。まず、暫定量演算部102は、各画像領域について、図4の式11に対して第2削減率を代入することによって使用率を求める。つぎに、暫定量演算部102は、各画像領域について、図4の式12に対して使用率と通常使用量とを代入することによって暫定使用量を求めることができる。   In S <b> 7, the provisional amount calculation unit 102 obtains a provisional usage amount for each image region. Hereinafter, a method for calculating the temporary usage amount will be described in detail. First, the provisional amount calculation unit 102 obtains the usage rate for each image region by substituting the second reduction rate into Equation 11 in FIG. Next, the provisional amount calculation unit 102 can obtain the provisional use amount for each image region by substituting the use rate and the normal use amount into Expression 12 in FIG.

なお、図4の例では、文字領域において、通常使用量は4000であり、第2削減率は50%であるため、暫定使用量は2000になる。また、図形領域において、通常使用量は2000であり、第2削減率は30%であるため、暫定使用量は1400になる。さらに、自然画像領域において、通常使用量は4000であり、第2削減率は20%であるため、暫定使用量は3200になる。   In the example of FIG. 4, the normal usage amount is 4000 and the second reduction rate is 50% in the character area, so the temporary usage amount is 2000. In the graphic area, the normal usage amount is 2000 and the second reduction rate is 30%, so the provisional usage amount is 1400. Furthermore, in the natural image area, the normal usage amount is 4000, and the second reduction rate is 20%, so that the temporary usage amount is 3200.

S7の後、調整部103は、各画像領域について、調整後使用量を求める(S8)。以下では、調整後使用量を求める手法を詳細に説明する。まず、調整部103は、図4の式15に対して、S7で求められた全ての暫定使用量の累計とS2で求められた目標使用量とを代入することによって、図4に示される過不足量を算出する。つぎに、調整部103は、図4の式13に基づき、S7にて求められた全ての暫定使用量の最大公約数を算出する。さらに、調整部103は、各画像領域について、図4の式14に対して暫定使用量と前記最大公約数とを代入することで図4に示される増減割合を求める。また、調整部103は、求めた全ての増減割合の累計と前記過不足量とを図4の式16に対して代入することで、図4に示される係数を得る。その後、調整部103は、各画像領域について、図4の式17に対して前記増減割合と前記係数とを代入することで図4に示される増減量を求める。さらに、調整103は、各画像領域について、図4の式18に対して暫定使用量と増減量とを代入することで調整後使用量を算出している。   After S7, the adjustment unit 103 obtains an adjusted usage amount for each image region (S8). Below, the method of calculating | requiring the usage-amount after adjustment is demonstrated in detail. First, the adjustment unit 103 substitutes the cumulative total of all the temporary usage amounts obtained in S7 and the target usage amount obtained in S2 into Equation 15 in FIG. Calculate the deficiency. Next, the adjustment unit 103 calculates the greatest common divisor of all the provisional usages obtained in S7 based on Equation 13 in FIG. Further, the adjustment unit 103 obtains the increase / decrease ratio shown in FIG. 4 by substituting the provisional usage amount and the greatest common divisor for Expression 14 in FIG. 4 for each image region. Further, the adjusting unit 103 obtains the coefficient shown in FIG. 4 by substituting the total of the obtained increase / decrease ratios and the excess / deficiency amount into the equation 16 in FIG. Thereafter, the adjustment unit 103 obtains the increase / decrease amount shown in FIG. 4 by substituting the increase / decrease ratio and the coefficient into the equation 17 in FIG. 4 for each image region. Further, the adjustment 103 calculates the adjusted usage amount for each image region by substituting the temporary usage amount and the increase / decrease amount into Equation 18 in FIG.

なお、図4の例では、文字領域において、暫定使用量が2000であるところ、調整後使用量は2121になっているため、調整部103によってトナー使用量が121だけ増加したことになる。また、図形領域において、暫定使用量は1400であるところ、調整後使用量は1485になっており、調整部103によってトナー使用量が85だけ増加したことになる。さらに、自然画像領域において、暫定使用量は3200であるところ、調整後使用量は3394になっており、調整部103によってトナー使用量が194だけ増加したことになる。   In the example of FIG. 4, the provisional usage amount is 2000 in the character area, and the adjusted usage amount is 2121. Therefore, the adjustment unit 103 increases the toner usage amount by 121. In the graphic area, the provisional usage amount is 1400, and the post-adjustment usage amount is 1485, which means that the adjustment unit 103 increases the toner usage amount by 85. Further, in the natural image area, the provisional usage amount is 3200, but the adjusted usage amount is 3394, and the adjustment unit 103 increases the toner usage amount by 194.

その後、調整部103は、各画像領域の通常使用量とS8で算出した各画像領域の調整後使用量とを示した使用量情報を作成し、この使用量情報を前記画像データと共に出力階調補正部14に送る。これにより、使用量計算部13の処理が終了する。   Thereafter, the adjustment unit 103 creates usage amount information indicating the normal usage amount of each image region and the adjusted usage amount of each image region calculated in S8, and outputs the usage amount information together with the image data to output gradation. This is sent to the correction unit 14. Thereby, the process of the usage amount calculation part 13 is complete | finished.

なお、図4の処理では、演算にて求められる各値は四捨五入して小数点以下が切り捨てられたものとなっている(例えば、式17の演算結果は小数点を含む値であるが、図4に示されている増減量の各値は四捨五入されている)。つまり、図4の処理において取り扱われる各値(通常使用量,通常使用量総数,目標使用量,暫定使用量,過不足量,係数,増減割合,増減量,最大公約数,調整後使用量,各累計値等)は、真の値のみならず近似値も含めたものである。以上のように、真の値だけでなく近似値をも許容しているのは、実際の装置ではデータ処理の過程において近似演算をすることが多く、近似値も許容しないと実情に沿わないからである。ここで、前記の近似値は、画像処理部5にて実行されるデータ処理の内容および真の値の大きさ等からして真の値と同視できるような数値範囲内の値を意味する。当該数値範囲は、その数値範囲の値が取り扱われるデータ処理の内容や真の値の大きさに応じて変動可能に設定され、例えば真の値の95〜105%というように設定される。   In the process of FIG. 4, each value obtained by the calculation is rounded off and the decimal part is rounded down (for example, the calculation result of Expression 17 is a value including a decimal point. Each increase / decrease value shown is rounded). That is, each value handled in the processing of FIG. 4 (normal use amount, normal use total number, target use amount, provisional use amount, excess / deficiency amount, coefficient, increase / decrease rate, increase / decrease amount, greatest common divisor, adjusted use amount, Each cumulative value etc. includes not only true values but also approximate values. As described above, not only a true value but also an approximate value is allowed because an actual device often performs an approximate operation in the process of data processing, and if an approximate value is not allowed, it does not follow the actual situation. It is. Here, the approximate value means a value within a numerical range that can be equated with the true value based on the content of the data processing executed by the image processing unit 5 and the size of the true value. The numerical range is set to be variable according to the content of the data processing in which the value of the numerical range is handled and the size of the true value, for example, 95 to 105% of the true value.

以上では全ての暫定使用量の累計が目標使用量よりも多い場合の使用量計算部13の処理内容について説明したが、全ての暫定使用量の累計が目標使用量よりも少ない場合の使用量計算部13の処理内容も、全ての暫定使用量の累計が目標使用量よりも多い場合と同様である。   Although the processing content of the usage amount calculation unit 13 when the total of all the temporary usage amounts is larger than the target usage amount has been described above, the usage amount calculation when the total of all the temporary usage amounts is smaller than the target usage amount The processing contents of the unit 13 are also the same as the case where the total of all the temporary usage amounts is larger than the target usage amount.

図5は、画像データの画像が文字領域と自然画像領域と図形領域とを含み、且つ、全ての暫定使用量の累計が目標使用量よりも少ない場合の使用量計算部13の計算内容を示した説明図である。上述したように、全ての暫定使用量の累計が目標使用量よりも少ない場合の計算内容は、全ての暫定使用量の累計が目標使用量よりも多い場合と同じである。したがって、図5においても、図4に示される式10〜式18と同じ式を用いて各種演算処理が行われる。   FIG. 5 shows the calculation content of the usage amount calculation unit 13 when the image of the image data includes a character area, a natural image area, and a graphic area, and the total of all the temporary usage amounts is smaller than the target usage amount. FIG. As described above, the calculation content when the total of all the temporary usage amounts is smaller than the target usage amount is the same as the case where the total of all the temporary usage amounts is larger than the target usage amount. Therefore, also in FIG. 5, various arithmetic processes are performed using the same expressions as Expressions 10 to 18 shown in FIG.

以下、図5について説明する。図5においても、図4と同様、第1削減率は30%であり、通常使用量総数が10000になる画像データを入力しているものとする。しかし、図5では、文字領域の通常使用量が2000であり、図形領域の通常使用量が3000であり、自然画像領域の通常使用量が5000となっている点が図4とは異なる。   Hereinafter, FIG. 5 will be described. Also in FIG. 5, it is assumed that, as in FIG. 4, the first reduction rate is 30%, and image data in which the total amount of normal use is 10,000 is input. However, FIG. 5 is different from FIG. 4 in that the normal use amount of the character area is 2000, the normal use amount of the graphic area is 3000, and the normal use amount of the natural image area is 5000.

そして、各画像領域の通常使用量と第1削減率が図5に示される値である場合、式15によって算出される過不足量は−100となる。つまり、全ての暫定使用量の累計が目標使用量よりも少なくなる。   When the normal usage amount and the first reduction rate of each image region are the values shown in FIG. 5, the excess / deficiency amount calculated by Expression 15 is −100. That is, the total of all the temporary usage amounts is smaller than the target usage amount.

さらに、図5に示されるように、全ての暫定使用量の累計が目標使用量よりも少なくなる場合、過不足量がマイナス値であることから、式16によって算出される係数もマイナス値となり、式17によって算出される増減量もマイナス値となる。それゆえ、式18によって算出される調整後使用量は、暫定使用量から増減量の絶対値だけ減少した値になる。   Further, as shown in FIG. 5, when the cumulative total of all the temporary usage amounts is smaller than the target usage amount, the excess / deficiency amount is a negative value, so the coefficient calculated by Equation 16 is also a negative value, The increase / decrease amount calculated by Expression 17 is also a negative value. Therefore, the adjusted usage amount calculated by Equation 18 is a value that is reduced from the temporary usage amount by the absolute value of the increase / decrease amount.

具体的には、図5の文字領域においては、暫定使用量が1000であって増減量は−14であるため、調整後使用量は986となり、調整部103によってトナー使用量が14だけ減少したことになる。また、図5の図形領域においては、暫定使用量が2100であって増減量は−30であるため、調整後使用量は2070となり、調整部103によってトナー使用量が30だけ減少したことになる。さらに、図5の自然画像領域においては、暫定使用量が4000であって増減量は−56であるため、調整後使用量は3944となり、調整部103によってトナー使用量が56だけ減少したことになる。   Specifically, in the character area of FIG. 5, since the temporary usage amount is 1000 and the increase / decrease amount is −14, the adjusted usage amount is 986, and the adjustment unit 103 decreases the toner usage amount by 14. It will be. Further, in the graphic area of FIG. 5, since the temporary usage amount is 2100 and the increase / decrease amount is −30, the adjusted usage amount is 2070, and the adjustment unit 103 reduces the toner usage amount by 30. . Further, in the natural image area of FIG. 5, the provisional usage amount is 4000 and the increase / decrease amount is −56. Therefore, the adjusted usage amount is 3944, and the adjustment unit 103 reduces the toner usage amount by 56. Become.

以上にて示したように、本実施形態の構成によれば、トナーセーブモード時の印刷画像全体に対するトナー使用量が第1削減率に適応したものとなるように、各画像領域の第2削減率に基づいて求められる各画像領域のトナーセーブモード時のトナー使用量(暫定使用量)を調整していることになる。つまり、本実施形態の構成によれば、通常モード時のトナー使用量に対するトナーセーブモード時のトナー使用量の削減度が画像領域毎に別々に設定されるプリンタ2において、印刷画像全体の前記削減度を利用者に制御させることが可能になるという効果を奏する。   As described above, according to the configuration of the present embodiment, the second reduction of each image area is performed so that the amount of toner used for the entire print image in the toner save mode is adapted to the first reduction rate. This means that the toner usage (provisional usage) in the toner save mode for each image area obtained based on the rate is adjusted. That is, according to the configuration of the present embodiment, in the printer 2 in which the degree of reduction in the toner usage amount in the toner save mode with respect to the toner usage amount in the normal mode is set separately for each image area, the reduction of the entire print image is performed. There is an effect that the user can control the degree.

また、本実施形態の構成によれば、調整部103は、式13〜式18を用いて、各画像領域の暫定使用量を増加または減少させ、増加または減少後の暫定使用量を調整後使用量として出力している。ここで、式14および式15から明らかであるが、前記増加または減少における増減量は暫定使用量に比例した値になるため、調整部103は、前記暫定使用量が多いほど増加量または減少量が多くなるように各暫定使用量に対する増加量または減少量を決定していることになる。それゆえ、トナー使用量の多い画像領域ほど前記増加または減少における増減度を高くしていることになるため、前記増加または減少によって生じる影響の大きさを全ての画像領域において略均等にでき、前記増加または減少に起因した局所的な画質劣化の発生を抑制できるという効果を奏する。   Also, according to the configuration of the present embodiment, the adjustment unit 103 increases or decreases the provisional usage amount of each image area using Expressions 13 to 18, and uses the adjusted provisional usage amount after the increase or decrease. It is output as a quantity. Here, as is apparent from Equations 14 and 15, since the increase / decrease amount in the increase or decrease becomes a value proportional to the provisional use amount, the adjustment unit 103 increases or decreases as the provisional use amount increases. That is, the increase amount or the decrease amount for each provisional use amount is determined so as to increase. Therefore, since the degree of increase / decrease in the increase / decrease is higher in an image area where the amount of toner used is large, the magnitude of the effect caused by the increase / decrease can be made substantially uniform in all image areas, There is an effect that it is possible to suppress the occurrence of local image quality degradation caused by the increase or decrease.

つぎに、図4を用いて本実施形態の別のメリットを説明する。例えば、図4の例と同様に第1削減率を30%とする一方で、図4の例とは異なり全ての画像領域に対して均一にトナー使用量が30%削減されるようにデータを間引いた場合、間引き後のデータは第1削減率に適合しているものの、画像領域間で画質劣化の程度に差が生じ、ある画像領域のみ画質劣化が顕著に生じるという弊害が生じる(例えば、文字は読めるが、自然画像は色が消えてしまって見えなくなる)。   Next, another advantage of this embodiment will be described with reference to FIG. For example, as in the example of FIG. 4, the first reduction rate is set to 30%, but unlike the example of FIG. 4, the data is used so that the toner usage is uniformly reduced by 30% for all image areas. In the case of thinning, although the data after thinning conforms to the first reduction rate, there is a difference in the degree of image quality degradation between image areas, and there is a problem that image quality degradation is noticeably caused only in certain image areas (for example, You can read the text, but the natural image disappears and disappears).

より具体的に説明すると、図4の例において、全ての画像領域に対して共通となる共通削減率を30%と設定し、式12の「第2削減率」を「共通削減率」に置き換えた場合、文字領域の暫定使用量が2800となって図形領域の暫定使用量が1400となって自然画像領域の暫定使用量が2800となり、画像全体の暫定使用量の累計は7000となり、この累計は第1削減率に適応した値となる。しかし、以上のような共通削減率から求めた暫定使用量に基づいて画像を出力した場合、文字はコントラストが高いので十分に読めるが、コントラストの低い自然画像領域は薄くなってぼやけるという弊害が生じる。   More specifically, in the example of FIG. 4, the common reduction rate common to all image areas is set to 30%, and the “second reduction rate” in Expression 12 is replaced with “common reduction rate”. In this case, the temporary usage amount of the character region is 2800, the temporary usage amount of the graphic region is 1400, the temporary usage amount of the natural image region is 2800, and the total temporary usage amount of the entire image is 7000. Is a value adapted to the first reduction rate. However, when an image is output based on the provisional usage amount obtained from the common reduction rate as described above, characters can be read sufficiently because the contrast is high, but a natural image region having a low contrast becomes thin and blurred. .

そこで、種々の画像を用いた実験および主観的評価によって、各画像領域の第2削減率を予め定めておく。具体的には、文字領域の第2削減率が自然画像領域の第2削減率よりも大きくなり、図形領域の第2削減率が自然画像領域の第2削減率よりも大きくなるように、各画像領域の第2削減率を定めれば、前記した弊害を抑制できる。図4の例では、文字領域の第2削減率(データ削減率)を50%に設定し、図形領域の第2削減率を30%に設定し、自然画像領域の第2削減率を20%に設定している。なお、図4の例では、文字領域の第2削減率の方が図形領域の第2削減率よりも高くなっているが、文字領域の第2削減率と図形領域の第2削減率とが互いに等しくても構わない。   Therefore, the second reduction rate for each image region is determined in advance by experiments and subjective evaluation using various images. Specifically, the second reduction rate of the character region is larger than the second reduction rate of the natural image region, and the second reduction rate of the graphic region is larger than the second reduction rate of the natural image region. If the second reduction rate of the image area is determined, the above-described adverse effects can be suppressed. In the example of FIG. 4, the second reduction rate (data reduction rate) of the character area is set to 50%, the second reduction rate of the graphic area is set to 30%, and the second reduction rate of the natural image area is set to 20%. Is set. In the example of FIG. 4, the second reduction rate of the character area is higher than the second reduction rate of the graphic area, but the second reduction rate of the character area and the second reduction rate of the graphic area are They may be equal to each other.

しかし、図4の例において、第2削減率に基づいて暫定使用量を求めただけでは、各画像領域の画質の程度は同等になるが、文字領域の暫定使用量が2000であって図形領域の暫定使用量が1400であって自然画像領域の暫定使用量が3200となり、全体で34%のトナー削減となってしまい、出力画像は入力した第1削減率(30%)に適応しなくなる。   However, in the example of FIG. 4, the image quality level of each image area is equal only by obtaining the temporary usage amount based on the second reduction rate, but the temporary usage amount of the character area is 2000 and the graphic area is The temporary usage amount is 1400, the temporary usage amount of the natural image region is 3200, and the total toner reduction is 34%, and the output image is not adapted to the input first reduction rate (30%).

そこで、本実施形態では、図4に示すように、入力した第1削減率から目標使用量(7000)を求め、目標使用量から前記暫定使用量の累計値を差し引くことによって、目標使用量に対する過不足量を求める。そして、各画像領域の暫定使用量に対して当該過不足量を割り当てることによって、画像領域毎で削減率を異ならせつつ、出力画像全体のトナー使用量を前記目標使用量に一致させている。これにより、出力画像全体のトナー使用量を利用者が入力した条件に適応させつつ、良質な画像を得ることができる。   Therefore, in the present embodiment, as shown in FIG. 4, the target usage amount (7000) is obtained from the input first reduction rate, and the cumulative value of the provisional usage amount is subtracted from the target usage amount, thereby obtaining the target usage amount. Find the excess or deficiency. Then, by assigning the excess / deficiency amount to the temporary use amount of each image area, the toner use amount of the entire output image is matched with the target use amount while varying the reduction rate for each image area. Thereby, it is possible to obtain a high-quality image while adapting the toner usage amount of the entire output image to the conditions input by the user.

また、本実施形態では、図4のように、自然画像領域(写真領域)の第2削減率は文字領域の第2削減率および図形領域の第2削減率よりも低く設定されている。これは、写真についてはトナー使用量の削減度を高くすると色味が薄くなって極端に画質が劣化したように見えてしまうからである。   In the present embodiment, as shown in FIG. 4, the second reduction rate of the natural image region (photo region) is set lower than the second reduction rate of the character region and the second reduction rate of the graphic region. This is because, if the degree of reduction in toner usage is increased for photographs, the color becomes lighter and the image quality appears to be extremely deteriorated.

(ケース2について)
つぎに、画像データの画像が文字領域と自然画像領域とを含むが図形領域を含まない場合(ケース2)における使用量計算部13の処理内容を説明する。図6は、画像データの画像が文字領域と自然画像領域とを含むが図形領域を含まない場合の使用量計算部13の計算内容を示した説明図である。ここで、ケース2の計算内容はケース1の計算内容と同一である。したがって、図6においても、図4または図5に示される式10〜式18と同じ式を用いて各種演算処理が行われる。
(About Case 2)
Next, the processing content of the usage amount calculation unit 13 when the image of the image data includes a character region and a natural image region but does not include a graphic region (case 2) will be described. FIG. 6 is an explanatory diagram showing calculation contents of the usage amount calculation unit 13 when an image of image data includes a character area and a natural image area but does not include a graphic area. Here, the calculation contents of case 2 are the same as the calculation contents of case 1. Therefore, also in FIG. 6, various arithmetic processes are performed using the same expressions as Expressions 10 to 18 shown in FIG. 4 or FIG.

以下、図3および図6に基づいてケース2の処理を説明する。図6においても、図4と同様、第1削減率は30%であり、通常使用量総数が10000になる画像データを入力しているものとする。しかし、図6では、画像データの画像が文字領域と自然画像領域を含むが図形領域を含まない点で図4とは異なる。そして、図6では、文字画像の通常使用量は4000であり、自然画像領域の通常使用量は6000である。   Hereinafter, processing of case 2 will be described based on FIGS. 3 and 6. In FIG. 6, as in FIG. 4, it is assumed that the first reduction rate is 30%, and image data whose normal usage amount is 10,000 is input. However, FIG. 6 differs from FIG. 4 in that the image data image includes a character area and a natural image area but does not include a graphic area. In FIG. 6, the normal usage amount of the character image is 4000, and the normal usage amount of the natural image area is 6000.

ケース2においても、ケース1と同様、画像データが使用量計算部13に入力した後、図3のS1およびS2の処理が行われ、目標使用量が算出される。そして、ケース2では、画像データの画像が文字領域と自然画像領域を含むが図形領域を含まないため、S2が行われた後、処理はS9に移行する(S5においてNO)。   Also in case 2, as in case 1, after the image data is input to the usage amount calculation unit 13, the processing of S1 and S2 in FIG. 3 is performed to calculate the target usage amount. In case 2, since the image of the image data includes the character area and the natural image area but does not include the graphic area, the process proceeds to S9 after S2 (NO in S5).

S9では、S6と同様、暫定量演算部102が、画像データの画像に含まれる各画像領域の第2削減率を記憶装置34から読み出す。但し、ケース2では、画像データの画像が文字領域および自然画像領域を含むものの図形領域を含まないため、S9で読み出されるのは文字領域の第2削減率および自然画像領域の第2削減率のみである。   In S9, similar to S6, the provisional amount calculation unit 102 reads the second reduction rate of each image area included in the image of the image data from the storage device 34. However, in case 2, since the image of the image data includes the character area and the natural image area but does not include the graphic area, only the second reduction ratio of the character area and the second reduction ratio of the natural image area are read in S9. It is.

S10では、S7と同様、暫定量演算部102が、各画像領域について、暫定使用量を求める。なお、図6の例では、文字領域において、通常使用量は4000であり、第2削減率は50%であるため、暫定使用量は2000になる。また、自然画像領域において、通常使用量は6000であり、第2削減率は20%であるため、暫定使用量は4800になる。   In S10, as in S7, the provisional amount calculation unit 102 obtains a provisional usage amount for each image region. In the example of FIG. 6, since the normal usage amount is 4000 and the second reduction rate is 50% in the character area, the temporary usage amount is 2000. In the natural image area, the normal usage amount is 6000, and the second reduction rate is 20%, so the provisional usage amount is 4800.

S11では、S8と同様、調整部103が、各画像領域について、調整後使用量を求める。なお、図6の例では、文字領域において、暫定使用量が2000であるのに対し、調整後使用量は2059になっており、調整部103によってトナー使用量が59だけ増加したことになる。また、自然画像領域において、暫定使用量は4800であるところ、調整後使用量は4941になっており、調整部103によってトナー使用量が141だけ増加したことになる。すなわち、ケース2についても、ケース1と同様、調整部103は、暫定使用量が多いほど増加量が多くなるように各暫定使用量に対する増加量を決定している。   In S <b> 11, as in S <b> 8, the adjustment unit 103 obtains an adjusted usage amount for each image area. In the example of FIG. 6, the provisional usage amount is 2000 in the character area, but the adjusted usage amount is 2059, and the adjustment unit 103 increases the toner usage amount by 59. Further, in the natural image area, the provisional usage amount is 4800, but the post-adjustment usage amount is 4941, which means that the adjustment unit 103 increases the toner usage amount by 141. That is, in Case 2, as in Case 1, the adjustment unit 103 determines an increase amount for each temporary use amount so that the increase amount increases as the provisional use amount increases.

(ケース3について)
つぎに、画像データの画像が文字領域と図形領域とを含むが自然画像領域を含まない場合(ケース3)における使用量計算部13の処理内容を説明する。図7は、画像データの画像が文字領域と図形領域とを含むが自然画像領域を含まない場合の使用量計算部13の計算内容を示した説明図である。ここで、ケース3の計算内容はケース2の計算内容と同一である。したがって、図7においても、図6に示される式10〜式18と同じ式を用いて各種演算処理が行われる。
(Case 3)
Next, processing contents of the usage amount calculation unit 13 when the image of the image data includes a character area and a graphic area but does not include a natural image area (case 3) will be described. FIG. 7 is an explanatory diagram showing calculation contents of the usage amount calculation unit 13 when an image of image data includes a character area and a graphic area but does not include a natural image area. Here, the calculation content of case 3 is the same as the calculation content of case 2. Therefore, also in FIG. 7, various arithmetic processes are performed using the same expressions as Expressions 10 to 18 shown in FIG.

以下、図3および図7に基づいてケース3の処理を説明する。図7においても、図6と同様、第1削減率は30%であり、通常使用量総数が10000になる画像データを入力しているものとする。しかし、図7では、画像データの画像が文字領域と図形領域とを含むが自然画像領域を含まない点で図6とは異なる。そして、図7では、文字領域の通常使用量は3000であり、図形領域の通常使用量は7000である。   Hereinafter, processing of case 3 will be described based on FIGS. 3 and 7. In FIG. 7, as in FIG. 6, it is assumed that the first reduction rate is 30%, and image data whose normal usage amount is 10,000 is input. However, FIG. 7 differs from FIG. 6 in that the image data image includes a character area and a graphic area but does not include a natural image area. In FIG. 7, the normal usage amount of the character area is 3000, and the normal usage amount of the graphic area is 7000.

ケース3においても、ケース2と同様、画像データが使用量計算部13に入力した後、図3のS1およびS2の処理が行われ、目標使用量が算出される。そして、ケース3では、画像データの画像が文字領域と図形領域を含むが自然画像領域を含まないため、S2が行われた後、処理はS13に移行する(S12においてYES)。   Also in case 3, as in case 2, after the image data is input to the usage amount calculation unit 13, the processing of S1 and S2 in FIG. 3 is performed, and the target usage amount is calculated. In case 3, since the image of the image data includes the character area and the graphic area but does not include the natural image area, the process proceeds to S13 after S2 (YES in S12).

S13では、S9と同様、暫定量演算部102が、画像データの画像に含まれる各画像領域の第2削減率を記憶装置34から読み出す。但し、ケース3では、画像データの画像が文字領域および図形領域を含むものの写真画像領域を含まないため、S13で読み出されるのは文字領域の第2削減率および図形領域の第2削減率のみである。   In S <b> 13, similar to S <b> 9, the provisional amount calculation unit 102 reads out the second reduction rate of each image area included in the image of the image data from the storage device 34. However, in case 3, since the image of the image data includes a character area and a graphic area but does not include a photographic image area, only the second reduction ratio of the character area and the second reduction ratio of the graphic area are read in S13. is there.

S14では、S10と同様、暫定量演算部102が、各画像領域について、暫定使用量を求める。なお、図7の例では、文字領域において、通常使用量は3000であり、第2削減率は50%であるため、暫定使用量は1500になる。また、図形領域において、通常使用量は7000であり、第2削減率は30%であるため、暫定使用量は4900になる。   In S14, as in S10, the provisional amount calculation unit 102 obtains a provisional usage amount for each image region. In the example of FIG. 7, the normal usage amount is 3000 and the second reduction rate is 50% in the character area, so the temporary usage amount is 1500. In the graphic area, the normal usage amount is 7000 and the second reduction rate is 30%, so the temporary usage amount is 4900.

S15では、S11と同様、調整部103が、各画像領域について、調整後使用量を求める。なお、図7の例では、文字領域において、暫定使用量が1500であるのに対し、調整後使用量は1641になっているため、調整部103によってトナー使用量が141だけ増加したことになる。また、図形領域において、暫定使用量は4900であるところ、調整後使用量は5359になっており、調整部103によってトナー使用量が459だけ増加したことになる。すなわち、ケース3についても、ケース2と同様、調整部103は、暫定使用量が多いほど増加量が多くなるように各暫定使用量に対する増加量を決定している。   In S15, as in S11, the adjustment unit 103 obtains an adjusted usage amount for each image region. In the example of FIG. 7, the temporary usage amount is 1500 in the character area, but the adjusted usage amount is 1641. Therefore, the adjustment unit 103 increases the toner usage amount by 141. . Further, in the graphic area, the temporary usage amount is 4900, but the adjusted usage amount is 5359, and the adjustment unit 103 increases the toner usage amount by 459. That is, in Case 3, as in Case 2, the adjustment unit 103 determines an increase amount for each temporary use amount so that the increase amount increases as the provisional use amount increases.

(ケース4について)
画像データの画像が図形領域と自然画像領域とを含むが文字領域を含まない場合(ケース4)も、ケース1〜3と同様の処理がおこなわれる。つまり、ケース4においても、図4〜図6に示される式10〜式18と同じ式を用いて各種演算処理が行われることになる。但し、ケース4では、画像データの画像が図形領域と自然画像領域とを含むが文字領域を含まないため、図3のS2の後、処理はS19に移行する。そして、S19では、暫定量演算部102が、図形領域の第2削減率と自然画像領域の第2削減率とを記憶装置34から読み出す。S20では、暫定量演算部102が、図形領域の暫定使用量と自然画像領域の暫定使用量とを求める。S21では、調整部103が、図形領域の調整後使用量と自然画像領域の調整後使用量とを求める。
(Case 4)
When the image of the image data includes a graphic area and a natural image area but does not include a character area (case 4), the same processing as in cases 1 to 3 is performed. That is, also in Case 4, various arithmetic processes are performed using the same equations as Equations 10 to 18 shown in FIGS. However, in case 4, since the image of the image data includes the graphic area and the natural image area but does not include the character area, the process proceeds to S19 after S2 in FIG. In S <b> 19, the provisional amount calculation unit 102 reads out the second reduction rate of the graphic area and the second reduction rate of the natural image area from the storage device 34. In S20, the provisional amount calculation unit 102 obtains a provisional usage amount for the graphic area and a provisional usage amount for the natural image area. In S21, the adjustment unit 103 obtains the adjusted usage amount of the graphic area and the adjusted usage amount of the natural image area.

(ケース5〜7について)
画像データの画像が文字領域のみからなる場合(ケース5)、ケース1〜4と同様に、図3のS1およびS2の処理が行われ、目標使用量が算出される。但し、ケース5では、画像データの画像が文字領域からなるものであるため、図3のS2の後、処理はS16に移行する(S12にてNO)。そして、S16において、使用量計算部13は、目標使用量を印刷画像全体のトナー使用量として決定し、決定したトナー使用量を示した使用量情報を作成し、当該使用量情報を出力階調補正部14に送信する。
(About Cases 5-7)
When the image of the image data consists only of a character area (case 5), the processing of S1 and S2 in FIG. 3 is performed as in cases 1 to 4, and the target usage is calculated. However, in case 5, since the image of the image data consists of character areas, the process proceeds to S16 after S2 in FIG. 3 (NO in S12). In step S16, the usage amount calculation unit 13 determines the target usage amount as the toner usage amount of the entire print image, creates usage amount information indicating the determined toner usage amount, and uses the usage amount information as an output gradation. The data is transmitted to the correction unit 14.

また、画像データの画像が自然画像領域のみからなる場合(ケース6)、ケース5と同様に、図3のS1およびS2の処理が行われ、目標使用量が算出される。但し、ケース6では、画像データの画像が自然画像領域からなるものであるため、図3のS2の後、処理はS22に移行する(S18にてNO)。そして、S22において、使用量計算部13は、目標使用量を印刷画像全体のトナー使用量として決定し、決定したトナー使用量を示した使用量情報を作成し、当該使用量情報を出力階調補正部14に送信する。   Further, when the image of the image data is composed only of the natural image area (case 6), similarly to the case 5, the processes of S1 and S2 in FIG. However, in case 6, since the image of the image data is a natural image area, the process proceeds to S22 after S2 in FIG. 3 (NO in S18). In step S22, the usage amount calculation unit 13 determines the target usage amount as the toner usage amount of the entire print image, creates usage amount information indicating the determined toner usage amount, and outputs the usage amount information as an output tone. The data is transmitted to the correction unit 14.

さらに、画像データの画像が図形領域のみからなる場合(ケース7)、ケース5と同様に、図3のS1およびS2の処理が行われ、目標使用量が算出される。但し、ケース7では、画像データの画像が図形領域からなるものであるため、図3のS2の後、処理はS23に移行する(S17にてNO)。そして、S23において、使用量計算部13は、目標使用量を印刷画像全体のトナー使用量として決定し、決定したトナー使用量を示した使用量情報を作成し、当該使用量情報を出力階調補正部14に送信する。   Further, when the image of the image data consists only of the graphic area (case 7), the processing of S1 and S2 in FIG. 3 is performed as in case 5 to calculate the target usage. However, in case 7, since the image of the image data is made up of graphic areas, the process proceeds to S23 after S2 in FIG. 3 (NO in S17). In step S23, the usage amount calculation unit 13 determines the target usage amount as the toner usage amount of the entire print image, creates usage amount information indicating the determined toner usage amount, and outputs the usage amount information as an output tone. The data is transmitted to the correction unit 14.

(出力階調補正曲線について)
上述したように、出力階調補正部14は、画像領域毎に、各画像領域の印刷時のトナー使用量が使用量計算部13から出力される使用量情報に示される調整後使用量に一致したものとなるように、出力階調補正処理に用いられる出力階調補正曲線(ルックアップテーブル)を変更する。なお、ここでいう「使用量情報」は、使用量計算部13の計算によって得られた値を真の値とする場合、当該真の値の他、当該真の値の近似値をも含めたものとする。
(About output tone correction curve)
As described above, for each image area, the output tone correction unit 14 matches the adjusted usage amount indicated by the usage amount information output from the usage amount calculation unit 13 with the toner usage amount at the time of printing each image area. The output tone correction curve (look-up table) used in the output tone correction process is changed so as to achieve the above. Note that the “use amount information” here includes not only the true value but also an approximate value of the true value when the value obtained by the use amount calculation unit 13 is a true value. Shall.

ここで、出力階調補正曲線(以下、「補正曲線」と称す)の変更処理について以下に詳細に説明する。まず、補正曲線の補正率を下記式3のように定義する。そして、試験用の基準画像を用いた実験によって、補正率1%,補正率2%,補正率3%,…,補正率70%の各々の補正曲線を予め作成しておき、画像処理部5内の記憶装置(不図示)に格納しておく。つまり、各々補正率の異なる70個の補正曲線が記憶装置に保存されていることになる。
補正率(%)=100×(補正前画像データで印刷した場合のトナー使用量−補正後画像データで印刷した場合のトナー使用量)/(補正前画像データで印刷した場合のトナー使用量)…式3
そして、出力階調補正部14は、画像データと共に、通常使用量と調整後使用量とが画像領域毎に示された使用量情報を調整部103から受け取ると、画像領域毎に下記の式4に示される第3削減率を算出する。
第3削減率(%)=100×(通常使用量−調整後使用量)/(通常使用量)…式4
その後、出力階調補正部14は、画像領域毎に、式4にて得られた第3削減率に最も近い補正率の補正曲線を選択し、選択した補正曲線を用いて画像データの補正を行う。これにより、各画像領域の印刷時のトナー使用量を、調整後使用量(真の値または近似値)に一致させることができる。
Here, the processing for changing the output gradation correction curve (hereinafter referred to as “correction curve”) will be described in detail below. First, the correction rate of the correction curve is defined as in the following Equation 3. Then, through an experiment using a reference image for testing, correction curves of 1% correction rate, 2% correction rate, 3% correction rate,... It is stored in a storage device (not shown). That is, 70 correction curves having different correction rates are stored in the storage device.
Correction rate (%) = 100 × (toner usage when printing with uncorrected image data−toner usage when printing with corrected image data) / (toner usage when printing with uncorrected image data) ... Formula 3
When the output tone correction unit 14 receives the usage amount information indicating the normal usage amount and the adjusted usage amount for each image area from the adjustment unit 103 together with the image data, the following equation 4 is obtained for each image region. The third reduction rate shown in FIG.
Third reduction rate (%) = 100 × (normal use amount−adjusted use amount) / (normal use amount)... Formula 4
Thereafter, the output tone correction unit 14 selects a correction curve having a correction rate closest to the third reduction rate obtained by Expression 4 for each image region, and corrects the image data using the selected correction curve. Do. As a result, the amount of toner used at the time of printing in each image area can be matched with the amount of use after adjustment (true value or approximate value).

なお、以上の構成では、補正率1%〜70%までの補正曲線を保持していることになるが、特に1%〜70%の範囲に限られるものではなく、例えば補正率1%〜60%の範囲までの補正曲線を持つような構成であってもよい。また、記憶装置の容量の関係で、60個〜70個もの補正曲線を保持することが困難な場合、5%間隔で補正曲線を保持するようにしてもよい。また、頻繁に使用する補正率の範囲(例えば、20〜40%)では1%間隔で補正曲線を保持し、それ以外の範囲では5%間隔で補正曲線を保持してもよい。   In the above configuration, a correction curve with a correction rate of 1% to 70% is held. However, the correction curve is not particularly limited to a range of 1% to 70%, and for example, a correction rate of 1% to 60%. It may be configured to have a correction curve up to a range of%. Further, when it is difficult to hold 60 to 70 correction curves due to the capacity of the storage device, the correction curves may be held at 5% intervals. Further, correction curves may be held at 1% intervals in a frequently used correction rate range (for example, 20 to 40%), and correction curves may be held at 5% intervals in other ranges.

(変形例1)
また、以上示したプリンタ2は、利用者からのコマンドに応じて各画像領域の第2削減率を変更する機能を有していてもよい。この点について以下説明する。
(Modification 1)
Further, the printer 2 described above may have a function of changing the second reduction rate of each image area in accordance with a command from the user. This point will be described below.

利用者は、端末装置1を操作することによって、トナーセーブモードを選択すると共に、通常画質モードと文字重視モードと写真重視モードとのいずれかを選択できるようにする。   The user operates the terminal device 1 to select the toner save mode and to select any one of the normal image quality mode, the character emphasis mode, and the photo emphasis mode.

そして、通常画質モードが選択されている場合、暫定量演算部102は、図4〜図7に示される第2削減率を記憶装置34から読み出し、読み出した第2削減率を用いて画像領域毎の暫定使用量を求める。つまり、通常画質モード時、文字領域の第2削減率は50%となり、図形領域の第2削減率は30%となり、自然画像領域の第2削減率は20%となる。   When the normal image quality mode is selected, the provisional amount calculation unit 102 reads the second reduction rate shown in FIGS. 4 to 7 from the storage device 34 and uses the read second reduction rate for each image area. Find the provisional usage of. That is, in the normal image quality mode, the second reduction rate of the character region is 50%, the second reduction rate of the graphic region is 30%, and the second reduction rate of the natural image region is 20%.

これに対し、文字重視モードが選択されている場合、暫定量演算部102は、図8に示される各第2削減率を記憶装置34から読み出し、読み出した第2削減率を用いて画像領域毎の暫定使用量を求める。つまり、文字重視モード時、文字領域の第2削減率は40%となり、図形領域の第2削減率は35%となり、自然画像領域の第2削減率は25%となる。したがって、通常画質モード時の文字領域の第2削減率は50%であるところ、文字重視モードの文字領域の第2削減率は40%となり、文字重視モード時は通常画質モード時よりも文字領域の第2削減率が抑制される。これにより、文字重視モードが利用者に選択されると、通常画質モードが選択される場合よりも文字領域の画質が高くなる。   On the other hand, when the character emphasis mode is selected, the provisional amount calculation unit 102 reads each second reduction rate shown in FIG. 8 from the storage device 34 and uses the read second reduction rate for each image area. Find the provisional usage of. That is, in the character emphasis mode, the second reduction rate of the character region is 40%, the second reduction rate of the graphic region is 35%, and the second reduction rate of the natural image region is 25%. Therefore, the second reduction rate of the character area in the normal image quality mode is 50%, and the second reduction rate of the character area in the character emphasis mode is 40%. In the character emphasis mode, the character area is more than in the normal image quality mode. The second reduction rate is suppressed. Thereby, when the character emphasis mode is selected by the user, the image quality of the character area becomes higher than when the normal image quality mode is selected.

また、写真重視モードが選択されている場合、暫定量演算部102は、図9に示される各第2削減率を記憶装置34から読み出し、読み出した第2削減率を用いて画像領域毎の暫定使用量を求める。つまり、写真重視モード時、文字領域の第2削減率は55%となり、図形領域の第2削減率は35%となり、自然画像領域の第2削減率は10%となる。したがって、通常画質モード時の自然画像領域の第2削減率は20%であるところ、写真重視モードの自然画像領域の第2削減率は10%となり、写真重視モード時は通常画質モード時よりも自然画像領域の第2削減率が抑制される。これにより、写真重視モードが利用者に選択されると、通常画質モードが選択される場合よりも自然画像領域の画質が高くなる。   When the photo emphasis mode is selected, the provisional amount calculation unit 102 reads each second reduction rate shown in FIG. 9 from the storage device 34, and uses the read second reduction rate to provisionally each image area. Find usage. That is, in the photo emphasis mode, the second reduction rate of the character region is 55%, the second reduction rate of the graphic region is 35%, and the second reduction rate of the natural image region is 10%. Accordingly, the second reduction rate of the natural image area in the normal image quality mode is 20%, but the second reduction rate of the natural image area in the photo emphasis mode is 10%. The second reduction rate of the natural image area is suppressed. As a result, when the photograph-oriented mode is selected by the user, the image quality of the natural image region is higher than when the normal image quality mode is selected.

(変形例2)
また、複写機に備えられる画像処理装置に本実施形態の使用量計算部を備えてもよい。そこで、この点について図10に基づいて以下説明する。
(Modification 2)
Further, the image processing apparatus provided in the copying machine may include the usage amount calculation unit of the present embodiment. This point will be described below with reference to FIG.

図10に示すように、複写機(デジタルカラー複写機,画像形成装置)20は、画像入力装置(カラー画像入力装置)21、画像処理装置(カラー画像処理装置)22、および画像出力装置(カラー画像出力装置)23により構成される。   As shown in FIG. 10, a copying machine (digital color copying machine, image forming apparatus) 20 includes an image input device (color image input device) 21, an image processing device (color image processing device) 22, and an image output device (color). Image output device) 23.

画像入力装置21は、例えばCCDなどの光学情報を電気信号に変換するデバイスを備えたスキャナ部より構成され、原稿からの反射光像を、RGBのアナログ信号として出力する。   The image input device 21 includes a scanner unit including a device that converts optical information, such as a CCD, into an electrical signal, and outputs a reflected light image from a document as an RGB analog signal.

画像入力装置21にて読み取られた画像信号は、画像処理装置22内を、A/D変換部24、シェーディング補正部25、入力階調補正部26、領域分離処理部27、使用量計算部13a、色補正部29、黒生成下色除去部30、空間フィルタ処理部31、出力階調補正部32、および階調再現処理部33の順で送られ、CMYKの画像データとして、画像出力装置23へ送られる。   An image signal read by the image input device 21 passes through the image processing device 22 in an A / D conversion unit 24, a shading correction unit 25, an input tone correction unit 26, a region separation processing unit 27, and a usage amount calculation unit 13a. , The color correction unit 29, the black generation and under color removal unit 30, the spatial filter processing unit 31, the output tone correction unit 32, and the tone reproduction processing unit 33 in this order, and the image output device 23 as CMYK image data. Sent to.

A/D変換部24は、RGBのアナログ信号をデジタルの信号(画像データ)に変換するもので、シェーディング補正部25では、A/D変換部より送られてきたRGBの画像データに対して、画像入力装置21の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施す。また、シェーディング補正部25は、カラーバランスを整えると同時に、濃度信号など画像処理装置22に採用されている画像処理システムの扱い易い信号に変換する処理を施す。入力階調補正部26は、シェーディング補正部25にて各種の歪みが取り除かれたRGBの画像データに対して、下地濃度の除去やコントラストなどの画質調整処理を施す。   The A / D conversion unit 24 converts RGB analog signals into digital signals (image data). The shading correction unit 25 performs RGB image data sent from the A / D conversion unit on the RGB image data. Processing for removing various distortions generated in the illumination system, imaging system, and imaging system of the image input device 21 is performed. In addition, the shading correction unit 25 adjusts the color balance, and at the same time, performs processing for converting the signals such as density signals into signals that can be handled easily by the image processing system employed in the image processing apparatus 22. The input tone correction unit 26 performs image quality adjustment processing such as background density removal and contrast on the RGB image data from which various distortions have been removed by the shading correction unit 25.

領域分離処理部(領域分離部)27は、RGBの画像データに基づき、入力画像を文字領域、網点領域、連続階調領域(印画紙領域、写真領域)の何れかに分離する。また、領域分離処理部27は、分離結果に基づき、画素がどの領域に属しているかを示す領域識別信号を、使用量計算部13a、黒生成下色除去部30、空間フィルタ処理部31、出力階調補正部32、および階調再現処理部33へと出力すると共に、入力階調補正部26から送られてきた画像データをそのまま後段の使用量計算部13aに送る。   A region separation processing unit (region separation unit) 27 separates the input image into one of a character region, a halftone region, and a continuous tone region (printing paper region, photographic region) based on RGB image data. In addition, the region separation processing unit 27 outputs, based on the separation result, a region identification signal indicating which region the pixel belongs to, a usage amount calculation unit 13a, a black generation and under color removal unit 30, a spatial filter processing unit 31, and an output. While outputting to the gradation correction | amendment part 32 and the gradation reproduction | regeneration processing part 33, the image data sent from the input gradation correction | amendment part 26 are sent to the subsequent use amount calculation part 13a as it is.

使用量計算部13aは、図2の使用量計算部13と同様の構成を有し、図2の使用量計算部13と同様の処理を行うことによって、各画像領域の調整後使用量を示した使用量情報を作成し、この使用量情報を出力階調補正部32に送る。但し、使用量計算部13aは、領域分離処理部27から送られてくる画像データおよび領域識別信号に基づいて処理を行うため、図4等に示される通常使用量をRGBの画像データから算出するようになっている。また、使用量計算部13aは、文字領域、網点領域、連続階調領域の各々について、第2削減率を記憶しておき、暫定使用量および調整後使用量を算出することになる。さらに、使用量計算部13aは、RGBの画像データを後段の色補正部29に送るようになっている。   The usage amount calculation unit 13a has the same configuration as the usage amount calculation unit 13 in FIG. 2, and performs the same processing as the usage amount calculation unit 13 in FIG. 2 to indicate the adjusted usage amount of each image area. The used amount information is created, and this used amount information is sent to the output gradation correction unit 32. However, since the usage amount calculation unit 13a performs processing based on the image data and the region identification signal sent from the region separation processing unit 27, the normal usage amount shown in FIG. 4 and the like is calculated from the RGB image data. It is like that. Further, the usage amount calculation unit 13a stores the second reduction rate for each of the character region, the halftone dot region, and the continuous tone region, and calculates the temporary usage amount and the adjusted usage amount. Further, the usage amount calculation unit 13a sends the RGB image data to the color correction unit 29 at the subsequent stage.

また、網点領域の第2削減率および連続階調領域の第2削減率は、文字領域の第2削減率よりも低く設定される。これは、網点領域および連続階調領域についてはトナー使用量の削減度を高くすると濃淡差が小さくなって極端に画質が劣化したように見えてしまうからである。   Further, the second reduction rate of the halftone dot region and the second reduction rate of the continuous tone region are set lower than the second reduction rate of the character region. This is because in the halftone area and the continuous tone area, if the degree of reduction in the toner usage is increased, the difference in density becomes smaller and the image quality appears to be extremely deteriorated.

色補正部29は、色再現の忠実化を図るために、不要吸収成分を含むCMY色材の分光特性に基づいた色濁りを取り除く処理を行う。つまり、色補正部29は、使用量計算部13aから送られてきたRGBの画像データをCMYの画像データに変換し、変換後のCMYの画像データを黒生成下色除去部30に送る。   The color correction unit 29 performs a process of removing color turbidity based on the spectral characteristics of the CMY color material including unnecessary absorption components in order to achieve faithful color reproduction. That is, the color correction unit 29 converts the RGB image data sent from the usage amount calculation unit 13 a into CMY image data, and sends the converted CMY image data to the black generation and under color removal unit 30.

黒生成下色除去部30は、色補正後のCMYの画像データから黒(K)の画像データを生成する黒生成、元のCMYの画像データから黒生成で得た画像データを差し引いて新たなCMYの画像データを生成する処理を行うものである。これによりCMYの画像データはCMYKの画像データに変換される。   The black generation and under color removal unit 30 generates black (K) image data from the CMY image data after color correction, and subtracts the image data obtained by black generation from the original CMY image data to create a new image data. A process for generating CMY image data is performed. As a result, the CMY image data is converted into CMYK image data.

空間フィルタ処理部31は、黒生成下色除去部30から送られてくるCMYKの画像データに対して、領域識別信号を基にデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正する。これにより出力画像のぼやけや粒状性劣化を軽減することができる。   The spatial filter processing unit 31 performs spatial filter processing using a digital filter on the CMYK image data sent from the black generation and under color removal unit 30 to correct the spatial frequency characteristics. As a result, blurring of the output image and deterioration of graininess can be reduced.

出力階調補正部32は、空間フィルタ処理が施されたCMYKの画像データに対して画像出力装置23の出力特性値に応じた出力階調補正処理を行う。また、出力階調補正部(補正部)32は、図1にて示される出力階調補正部14と同様、使用量計算部13から送られてきた使用量情報と空間フィルタ処理部31から送られてきたCMYKの画像データとに基づき、画像データの画像に含まれる各画像領域に対するトナー使用量が使用量情報に示される値に一致するものとなるように前記画像データに対して補正処理を行う。   The output tone correction unit 32 performs output tone correction processing corresponding to the output characteristic value of the image output device 23 on the CMYK image data that has been subjected to the spatial filter processing. Similarly to the output tone correction unit 14 shown in FIG. 1, the output tone correction unit (correction unit) 32 sends the usage amount information sent from the usage amount calculation unit 13 and the spatial filter processing unit 31. Based on the received CMYK image data, correction processing is performed on the image data so that the toner usage amount for each image area included in the image data image matches the value indicated in the usage amount information. Do.

階調再現処理部33は、CMYKの画像データに対して領域識別信号を基に階調再現処理を施し、最終的に画像を擬似的に階調再現できるようにする。   The gradation reproduction processing unit 33 performs gradation reproduction processing on the CMYK image data based on the region identification signal so that the image can finally be reproduced in a pseudo gradation.

上記空間フィルタ処理部31および階調再現処理部33での処理についてさらに説明する。例えば、領域分離処理部27にて文字に分離された領域は、文字の再現性を高めるために、空間フィルタ処理部31における空間フィルタに高周波成分の強調量が大きいフィルタが用いられる。同時に、階調再現処理部33においては、高域周波成分の再現に適した高解像度のスクリーンによる2値化もしくは多値化処理が実施される。   Processing in the spatial filter processing unit 31 and the gradation reproduction processing unit 33 will be further described. For example, in a region separated into characters by the region separation processing unit 27, a filter having a high high-frequency component enhancement amount is used as a spatial filter in the spatial filter processing unit 31 in order to improve the reproducibility of characters. At the same time, the tone reproduction processing unit 33 performs binarization or multi-value processing using a high-resolution screen suitable for reproducing high-frequency components.

また、空間フィルタ処理部31では、領域分離処理部27にて網点領域として分離された領域に対して、入力網点成分を除去するためのローパス・フィルタ処理を施す。また、階調再現処理部33では、網点領域に対して、階調性を重視したスクリーンで2値化または多値化処理を施す。さらに、階調再現処理部33は、領域分離処理部27にて写真領域として分離された領域に対して、階調再現性を重視したスクリーンにより2値化または多値化処理を行う。   Further, the spatial filter processing unit 31 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 27. The tone reproduction processing unit 33 performs binarization or multi-value processing on the halftone dot area using a screen that emphasizes tone characteristics. Further, the tone reproduction processing unit 33 performs binarization or multi-value processing on a region separated as a photographic region by the region separation processing unit 27 using a screen that emphasizes tone reproducibility.

上述した各処理が施された画像データは、いったん図示しない記憶部に記憶され、所定のタイミングで読み出されて画像出力装置23に送られる。   The image data subjected to the above-described processes is temporarily stored in a storage unit (not shown), read at a predetermined timing, and sent to the image output device 23.

画像出力装置23は、画像データを紙などの記録媒体上に印刷するものであり、例えば、電子写真方式やインクジェット方式を用いたプリンタであるが特に限定されるものではない。なお、以上の処理は不図示のCPU(Central Processing Unit)によって制御される。   The image output device 23 prints image data on a recording medium such as paper. For example, the image output device 23 is a printer using an electrophotographic method or an inkjet method, but is not particularly limited. The above processing is controlled by a CPU (Central Processing Unit) (not shown).

また、領域分離処理部27における領域分離処理方法としては、例えば、特開2002−232708に記載の方法を利用できる。この方法は、注目画素を含むn×mのブロック(例えば、15×15のブロック)における最小濃度値と最大濃度値との差分である最大濃度差と、隣接する画素の濃度差の絶対値の総和である総和濃度繁雑度とを算出し、最大濃度差および総和濃度繁雑度を予め定められる複数の閾値と比較することにより、下地領域・連続階調領域と文字エッジ領域・網点領域とを判別するものである。なお、下記の(1)〜(4)に示される特徴に基づいて判別が行われる。
(1)下地領域の濃度分布では、通常、濃度変化が少ない。それゆえ、下地領域においては最大濃度差及び総和濃度繁雑度ともに非常に小さくなる。
(2)連続階調領域の濃度分布は滑らかな濃度変化をしている。それゆえ、連続階調領域において、最大濃度差及び総和濃度繁雑度はともに小さく、かつ、下地領域よりは多少大きくなる。
(3)網点領域において、最大濃度差はさまざまであるが、網点の数だけ濃度変化が存在するので、最大濃度差に対する総和濃度繁雑度の割合が大きくなる。したがって、最大濃度差と文字・網点判定閾値(上記複数の閾値の1つ)との積よりも総和濃度繁雑度が大きい場合には、網点画素であると判別することが可能である。
(4)文字領域の濃度分布では、最大濃度差が大きく、これに伴い総和濃度繁雑度も大きくなる。しかし、文字領域では網点領域よりも濃度変化が少ないため、文字領域の総和濃度繁雑度は網点領域の総和濃度繁雑度よりも小さくなる。したがって、最大濃度差と文字・網点判定閾値との積よりも総和濃度繁雑度が小さい場合には、文字エッジ画素であると判別することが可能である。
As a region separation processing method in the region separation processing unit 27, for example, a method described in JP-A-2002-232232 can be used. In this method, a maximum density difference that is a difference between a minimum density value and a maximum density value in an n × m block (for example, a 15 × 15 block) including a target pixel and an absolute value of a density difference between adjacent pixels are calculated. By calculating the total density busyness, which is the sum, and comparing the maximum density difference and the total density busyness with a plurality of predetermined thresholds, the background area / continuous tone area and the character edge area / halftone area are It is to be determined. Note that the determination is made based on the characteristics shown in the following (1) to (4).
(1) In the density distribution of the base region, the density change is usually small. Therefore, both the maximum density difference and the total density busyness are very small in the base area.
(2) The density distribution in the continuous tone region has a smooth density change. Therefore, in the continuous tone region, the maximum density difference and the total density busyness are both small and slightly larger than the background region.
(3) In the halftone dot region, the maximum density difference varies, but since there are density changes as many as the number of halftone dots, the ratio of the total density busyness to the maximum density difference increases. Therefore, when the total density busyness is larger than the product of the maximum density difference and the character / halftone dot determination threshold (one of the plurality of thresholds), it can be determined that the pixel is a halftone pixel.
(4) In the density distribution of the character area, the maximum density difference is large, and the total density busyness increases accordingly. However, since the density change in the character area is less than that in the halftone area, the total density busyness of the character area is smaller than the total density busyness of the halftone area. Therefore, when the total density busyness is smaller than the product of the maximum density difference and the character / halftone dot determination threshold, it is possible to determine that the pixel is a character edge pixel.

つぎに、領域分離処理の内容の一例を説明する。算出された最大濃度差と最大濃度差閾値との比較、及び、算出された総和濃度繁雑度と総和濃度繁雑度閾値との比較が行われる。そして、最大濃度差が最大濃度差閾値よりも小さく、かつ、総和濃度繁雑度が総和濃度繁雑度閾値よりも小さい場合、注目画素は下地領域または連続階調領域の画素であると判定され、そうでない場合は、文字・網点領域の画素であると判定される。また、文字・網点領域の画素であると判定された場合、算出された総和濃度繁雑度と最大濃度差に文字・網点判定閾値を掛けた値との比較が行われ、総和濃度繁雑度の方が小さければ文字エッジ領域の画素であると判定され、総和濃度繁雑度の方が大きければ、網点領域の画素であると判定される。   Next, an example of the contents of the region separation process will be described. A comparison between the calculated maximum density difference and the maximum density difference threshold and a comparison between the calculated total density busyness and the total density busyness threshold are performed. When the maximum density difference is smaller than the maximum density difference threshold and the total density busyness is smaller than the total density busyness threshold, it is determined that the target pixel is a pixel in the background area or the continuous tone area, and so on. Otherwise, it is determined that the pixel is in the character / halftone area. In addition, when it is determined that the pixel is a character / halftone area pixel, the calculated total density busyness is compared with a value obtained by multiplying the maximum density difference by the character / halftone determination threshold value to obtain the total density busyness. If it is smaller, it is determined as a pixel in the character edge region, and if the total density busyness is larger, it is determined as a pixel in the halftone dot region.

なお、以上の説明では使用量計算部13aは複写機20の画像処理装置22に備えられているが、使用量計算部13aは複合機の画像処理装置に備えられていてもよい。   In the above description, the usage amount calculation unit 13a is provided in the image processing device 22 of the copying machine 20, but the usage amount calculation unit 13a may be provided in the image processing device of the multifunction peripheral.

(PDLについて)
図11は端末装置1の画像編集ソフトで作成された画像の例を示したものである。図11の画像は、文字領域、自然画像領域(写真領域)、図形領域といった各種領域の集合体として構成される。また、図12は、図11の画像の画像データをPDLで記述した場合のデータ構造を示したものである。なお、図12は、CMYKで色指定されたPDLデータのデータ構造を示したものである。
(About PDL)
FIG. 11 shows an example of an image created by the image editing software of the terminal device 1. The image in FIG. 11 is configured as a collection of various areas such as a character area, a natural image area (photo area), and a graphic area. FIG. 12 shows the data structure when the image data of the image of FIG. 11 is described in PDL. FIG. 12 shows the data structure of PDL data whose color is designated by CMYK.

図12において、例えば、参照符41は文字領域の画像データ(印刷データ)であり、参照符42は写真領域の画像データであり、参照符43は図形領域を示す画像データである。   In FIG. 12, for example, reference numeral 41 is image data (print data) of a character area, reference numeral 42 is image data of a photographic area, and reference numeral 43 is image data indicating a graphic area.

そして、各画像データには、書体情報、領域属性、起点位置情報、サイズ情報、色情報等が含まれており、このようなデータに基づいて各領域の種類の判定も行える。例えば、領域判別部11は、図12に示される書体情報に基づいて文字領域を判別でき、参照符43に示される情報のうち「lineto」や「closepath fill」といった描画コマンドに基づいて図形領域であることを判別できる。なお、各画像データに含まれる情報に基づいて、各画像領域のサイズを判別することも可能である。   Each image data includes typeface information, region attributes, starting position information, size information, color information, and the like, and the type of each region can be determined based on such data. For example, the area discriminating unit 11 can discriminate a character area based on the typeface information shown in FIG. 12, and the graphic area can be determined based on drawing commands such as “lineto” and “closepath fill” among the information indicated by the reference mark 43. It can be determined. It is possible to determine the size of each image area based on information included in each image data.

また、図11に示す写真領域は、図11の参照符42に示されるように、起点(図3のA点)の座標が(50,300)であって、サイズが(100,200)となっている。それゆえ、図11に示す写真画像領域におけるB,C,Dの座標は、B(250,300)、C(50,400)、D(250,400)となる。   Further, as shown by the reference numeral 42 in FIG. 11, the photographic area shown in FIG. 11 has coordinates (50, 300) of the starting point (point A in FIG. 3) and a size (100, 200). It has become. Therefore, the coordinates of B, C, and D in the photographic image area shown in FIG. 11 are B (250, 300), C (50, 400), and D (250, 400).

また、参照符43の「0 250 translate」は、写真領域の起点に対して、水平方向に0、垂直方向に250移動させた点を起点(図11のE点)とするという意味である。それゆえ、図11に示す図形領域におけるE,F,G,Hの座標は、E(50,550)、F(250,550)、G、(50,650)H(250,650)となる。なお、図11の例において原点はO(0,0)である。   Further, “0 250 translate” of the reference mark 43 means that a point moved by 0 in the horizontal direction and 250 in the vertical direction with respect to the starting point of the photographic area is set as the starting point (point E in FIG. 11). Therefore, the coordinates of E, F, G, and H in the graphic area shown in FIG. 11 are E (50, 550), F (250, 550), G, (50, 650) H (250, 650). . In the example of FIG. 11, the origin is O (0, 0).

(プログラムについて)
本実施形態は、コンピュータに処理を実行させるためのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)を記録したコンピュータ読み取り可能な記録媒体に、コンピュータを使用量計算部13に含まれる各部として機能させるための制御プログラムを記録するものとすることもできる。この結果、上記制御プログラムを記録した記録媒体を持ち運び自在に提供することができる。なお、マイクロコンピュータに処理を行われるために図示していないメモリ、例えばROMのようなものそのものをプログラムメディアとしてもよいし、また、図示していないが外部記憶装置としてプログラム読み取り装置がプログラムメディアとして設けられ、そこに記録媒体を挿入することで読み取り可能になっている形態でもよい。
(About the program)
In this embodiment, a computer is recorded on a computer-readable recording medium in which program code (execution format program, intermediate code program, source program) for causing a computer to execute processing is recorded. It is also possible to record a control program for functioning. As a result, it is possible to provide a portable recording medium on which the control program is recorded. Note that a memory (not shown) such as a ROM itself may be used as a program medium for processing by the microcomputer, or a program reading device may be used as a program medium as an external storage device (not shown). It may be provided and can be read by inserting a recording medium therein.

いずれの場合においても、格納されているプログラムコードはマイクロプロセッサがアクセスして実行させる構成であっても良いし、あるいは、いずれの場合もプログラムコードを読み出し、読み出されたプログラムコードは、マイクロコンピュータの図示されていないプログラム記憶エリアにダウンロードされて、そのプログラムコードが実行される方式であってもよい。このダウンロード用のプログラムは予め本体装置に格納されているものとする。   In any case, the stored program code may be configured to be accessed and executed by the microprocessor, or in any case, the program code is read and the read program code is the microcomputer. The program code may be downloaded to a program storage area (not shown) and executed. It is assumed that this download program is stored in the main device in advance.

また、上記記録媒体は、本体と分離可能に構成される記録媒体であってもよく、磁気テープやカセットテープ等のテープ系、フレキシブルディスクやハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory)、フラッシュROM等の半導体メモリ系を含めた固定的にプログラムコードを担持する媒体であっても良い。   The recording medium may be a recording medium configured to be separable from the main body, such as a tape system such as a magnetic tape or a cassette tape, a magnetic disk such as a flexible disk or a hard disk, or a CD-ROM / MO / MD / Disk system including optical disk such as DVD, card system such as IC card (including memory card) / optical card, mask ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash ROM A medium that carries a fixed program code including a semiconductor memory system such as the above may be used.

また、インターネットを含む通信ネットワークを接続可能なシステム構成である場合、通信ネットワークからプログラムコードをダウンロードするように流動的にプログラムコードを担持する媒体であっても良い。なお、このように通信ネットワークからプログラムコードをダウンロードする場合には、そのダウンロード用のプログラムは予め本体装置に格納しておくか、あるいは別な記録媒体からインストールされるものであっても良い。なお、本実施形態は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。上記記録媒体は、デジタルカラー画像形成装置やコンピュータシステムに備えられるプログラム読み取り装置により読み取られることで使用量計算部13の処理が実行される。   Further, in the case of a system configuration capable of connecting a communication network including the Internet, a medium that fluidly carries the program code so as to download the program code from the communication network may be used. When the program code is downloaded from the communication network in this way, the download program may be stored in the main device in advance, or may be installed from another recording medium. The present embodiment 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. The recording medium is read by a program reading device provided in a digital color image forming apparatus or a computer system, whereby processing of the usage amount calculation unit 13 is executed.

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

本発明は、プリンタ、複写機、複合機、ファクシミリ装置等の画像形成装置、および当該画像形成装置にて扱われる画像データを処理する画像処理装置に好適である。   The present invention is suitable for an image forming apparatus such as a printer, a copier, a multifunction peripheral, and a facsimile machine, and an image processing apparatus that processes image data handled by the image forming apparatus.

1 端末装置
2 プリンタ(画像形成装置)
4 印刷エンジン部
5 画像処理部(画像処理装置)
11 領域判別部(領域分離部)
13 使用量計算部
14 出力階調補正部(補正部)
20 複写機(画像形成装置)
22 画像処理装置
27 領域分離処理部(領域分離部)
32 出力階調補正部(補正部)
34 記憶装置
101 目標量演算部(目標使用量決定部)
102 暫定量演算部(暫定使用量決定部)
103 調整部(使用量調整部)
1 Terminal device 2 Printer (image forming device)
4 Print Engine Unit 5 Image Processing Unit (Image Processing Device)
11 Region discriminating unit (region separating unit)
13 Usage Calculation Unit 14 Output Tone Correction Unit (Correction Unit)
20 Copying machine (image forming device)
22 Image Processing Device 27 Region Separation Processing Unit (Region Separation Unit)
32 Output tone correction unit (correction unit)
34 Storage Device 101 Target Amount Calculation Unit (Target Usage Amount Determination Unit)
102 Provisional amount calculation unit (provisional usage determination unit)
103 Adjustment unit (Use amount adjustment unit)

Claims (9)

色材を用いて画像データの画像を印刷する通常モードと前記通常モードよりも前記色材の使用量を抑制して前記画像を印刷するセーブモードとを有する画像形成装置において扱われる前記画像データを処理する画像処理装置であって、
前記通常モード時の前記画像全体の色材使用量に対する前記セーブモード時の前記画像全体の色材使用量の削減度を示した第1色材削減度が指定されると、第1色材削減度および前記画像データに基づき、前記セーブモード時の前記画像全体に対する色材使用量の目標量である目標使用量を求める目標使用量決定部と、
前記画像データの画像を複数の画像領域に分離する領域分離部と、
前記通常モード時の画像領域の色材使用量に対する前記セーブモード時の画像領域の色材使用量の削減度を示した第2色材削減度を画像領域毎に予め記憶する記憶装置と、
画像領域毎に、前記画像データと第2色材削減度とに基づき、前記セーブモード時の画像領域に対する色材使用量の暫定値である暫定使用量を求める暫定使用量決定部と、
暫定使用量決定部にて求められた暫定使用量の累計が前記目標使用量よりも少ない場合は各暫定使用量を増加させる増加処理を行い、前記累計が前記目標使用量よりも多い場合は各暫定使用量を減少させる減少処理を行うことにより、前記増加処理または減少処理後の暫定使用量である調整後使用量の累計を前記目標使用量に一致させる使用量調整部と、
画像領域毎に、セーブモード時の画像領域の色材使用量が前記調整後使用量に一致するように前記画像データを補正する補正部とを有し、
前記使用量調整部は、前記増加処理または前記減少処理において前記暫定使用量が多いほど増加量または減少量が多くなるように各暫定使用量に対する増加量または減少量を決定することを特徴とする画像処理装置。
The image data handled in an image forming apparatus having a normal mode for printing an image of image data using a color material and a save mode for printing the image while suppressing the amount of use of the color material compared to the normal mode. An image processing apparatus for processing,
When the first color material reduction degree indicating the degree of reduction of the color material usage amount of the entire image in the save mode relative to the color material usage amount of the entire image in the normal mode is designated, the first color material reduction A target usage amount determining unit that calculates a target usage amount that is a target amount of the color material usage amount for the entire image in the save mode based on the degree and the image data;
An area separation unit for separating an image of the image data into a plurality of image areas;
A storage device that stores in advance, for each image area, a second color material reduction degree indicating a reduction degree of the color material usage amount of the image area in the save mode with respect to the color material usage amount of the image area in the normal mode;
For each image area, based on the image data and the second color material reduction degree, a provisional use amount determination unit that obtains a provisional use amount that is a provisional value of the color material use amount for the image area in the save mode;
When the cumulative amount of provisional usage determined by the provisional usage amount determination unit is smaller than the target usage amount, an increase process for increasing each temporary usage amount is performed, and when the cumulative amount is larger than the target usage amount, A use amount adjustment unit that performs a reduction process to reduce the provisional use amount, so that a cumulative amount of the adjusted use amount that is the provisional use amount after the increase process or the decrease process matches the target use amount;
A correction unit that corrects the image data so that the color material usage amount of the image region in the save mode matches the adjusted usage amount for each image region;
The usage amount adjusting unit determines an increase amount or a decrease amount for each temporary use amount so that the increase amount or the decrease amount increases as the provisional use amount increases in the increase process or the decrease process. Image processing device.
前記領域分離部によって前記画像から分離される複数の画像領域には、少なくとも文字領域と写真領域とが含まれており、
前記写真領域の第2色材削減度は前記文字領域の第2色材削減度よりも低く設定されていることを特徴とする請求項1に記載の画像処理装置。
The plurality of image regions separated from the image by the region separation unit includes at least a character region and a photo region,
The image processing apparatus according to claim 1, wherein the second color material reduction degree of the photographic area is set lower than the second color material reduction degree of the character area.
前記領域分離部によって前記画像から分離される複数の画像領域には、少なくとも図形領域と写真領域とが含まれており、
前記写真領域の第2色材削減度は前記図形領域の第2色材削減度よりも低く設定されていることを特徴とする請求項1に記載の画像処理装置。
The plurality of image regions separated from the image by the region separation unit includes at least a graphic region and a photographic region,
The image processing apparatus according to claim 1, wherein the second color material reduction degree of the photographic area is set lower than the second color material reduction degree of the graphic area.
前記領域分離部によって前記画像から分離される複数の画像領域には、少なくとも文字領域と網点領域とが含まれており、
前記網点領域の第2色材削減度は前記文字領域の第2色材削減度よりも低く設定されていることを特徴とする請求項1に記載の画像処理装置。
The plurality of image regions separated from the image by the region separation unit includes at least a character region and a dot region,
The image processing apparatus according to claim 1, wherein a second color material reduction degree of the halftone dot region is set lower than a second color material reduction degree of the character region.
前記領域分離部によって前記画像から分離される複数の画像領域には、少なくとも文字領域と連続階調領域とが含まれており、
前記連続階調領域の第2色材削減度は前記文字領域の第2色材削減度よりも低く設定されていることを特徴とする請求項1に記載の画像処理装置。
The plurality of image regions separated from the image by the region separation unit includes at least a character region and a continuous tone region,
The image processing apparatus according to claim 1, wherein a second color material reduction degree of the continuous tone area is set lower than a second color material reduction degree of the character area.
請求項1から請求項5のいずれか1項に記載の画像処理装置を備えることを特徴とする画像形成装置。   An image forming apparatus comprising the image processing apparatus according to claim 1. 色材を用いて画像データの画像を印刷する通常モードと前記通常モードよりも前記色材の使用量を抑制して前記画像を印刷するセーブモードとを有する画像形成装置において扱われる前記画像データを処理する画像処理方法であって、
前記通常モード時の前記画像全体の色材使用量に対する前記セーブモード時の前記画像全体の色材使用量の削減度を示した第1色材削減度が指定されると、第1色材削減度および前記画像データに基づき、前記セーブモード時の前記画像全体に対する色材使用量の目標量である目標使用量を求める目標使用量決定工程と、
前記画像データの画像を複数の画像領域に分離する領域分離工程と、
前記通常モード時の画像領域の色材使用量に対する前記セーブモード時の画像領域の色材使用量の削減度を示した第2色材削減度を画像領域毎に予め記憶する記憶装置から、前記領域分離工程にて分離された各画像領域の第2色材削減度を読み出す読出工程と、
画像領域毎に、前記画像データと前記読出工程にて読み出された第2色材削減度とに基づき、前記セーブモード時の画像領域に対する色材使用量の暫定値である暫定使用量を求める暫定使用量決定工程と、
暫定使用量決定工程にて求められた暫定使用量の累計が前記目標使用量よりも少ない場合は各暫定使用量を増加させる増加処理を行い、前記累計が前記目標使用量よりも多い場合は各暫定使用量を減少させる減少処理を行うことにより、前記増加処理または減少処理後の暫定使用量である調整後使用量の累計を前記目標使用量に一致させる使用量調整工程と、
画像領域毎に、セーブモード時の画像領域の色材使用量が前記調整後使用量に一致するように前記画像データを補正する補正工程とを有し、
前記使用量調整工程では、前記増加処理または前記減少処理において前記暫定使用量が多いほど増加量または減少量が多くなるように各暫定使用量に対する増加量または減少量を決定することを特徴とする画像処理方法。
The image data handled in an image forming apparatus having a normal mode for printing an image of image data using a color material and a save mode for printing the image while suppressing the amount of use of the color material compared to the normal mode. An image processing method to process,
When the first color material reduction degree indicating the degree of reduction of the color material usage amount of the entire image in the save mode relative to the color material usage amount of the entire image in the normal mode is designated, the first color material reduction A target usage amount determining step for obtaining a target usage amount that is a target amount of the color material usage amount for the entire image in the save mode based on the degree and the image data;
A region separation step of separating an image of the image data into a plurality of image regions;
From a storage device that stores in advance for each image area a second color material reduction degree indicating a degree of reduction of the color material usage amount of the image area in the save mode with respect to the color material usage amount of the image area in the normal mode, A reading step of reading the second color material reduction degree of each image region separated in the region separation step;
For each image area, a provisional usage amount that is a provisional value of the color material usage amount for the image area in the save mode is obtained based on the image data and the second color material reduction degree read in the reading step. A provisional usage determination process;
When the cumulative amount of provisional usage determined in the provisional usage amount determination step is smaller than the target usage amount, an increase process for increasing each temporary usage amount is performed, and when the cumulative amount is larger than the target usage amount, A use amount adjusting step of making a cumulative amount of adjusted use amounts, which are provisional use amounts after the increase process or decrease process, coincide with the target use amount by performing a decrease process for reducing the provisional use amount;
A correction step for correcting the image data so that the amount of color material used in the image area in the save mode matches the amount of use after adjustment for each image area;
In the use amount adjustment step, an increase amount or a decrease amount for each provisional use amount is determined such that the increase amount or the decrease amount increases as the provisional use amount increases in the increase process or the decrease process. Image processing method.
請求項1から請求項5のいずれか1項に記載の画像処理装置を制御する制御プログラムであって、コンピュータを前記の各部として機能させる制御プログラム。   A control program for controlling the image processing apparatus according to any one of claims 1 to 5, wherein the control program causes a computer to function as each of the units. 請求項8に記載の制御プログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the control program according to claim 8 is recorded.
JP2009020791A 2009-01-30 2009-01-30 Image processing apparatus, image forming apparatus, image processing method, control program, and recording medium Active JP5101539B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009020791A JP5101539B2 (en) 2009-01-30 2009-01-30 Image processing apparatus, image forming apparatus, image processing method, control program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009020791A JP5101539B2 (en) 2009-01-30 2009-01-30 Image processing apparatus, image forming apparatus, image processing method, control program, and recording medium

Publications (2)

Publication Number Publication Date
JP2010176024A JP2010176024A (en) 2010-08-12
JP5101539B2 true JP5101539B2 (en) 2012-12-19

Family

ID=42707038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009020791A Active JP5101539B2 (en) 2009-01-30 2009-01-30 Image processing apparatus, image forming apparatus, image processing method, control program, and recording medium

Country Status (1)

Country Link
JP (1) JP5101539B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3559642B2 (en) * 1996-03-12 2004-09-02 キヤノン株式会社 Image forming method and apparatus
JP2001232903A (en) * 2000-02-23 2001-08-28 Minolta Co Ltd Image processor, imaging apparatus, image processing method and imaging method
JP2005234391A (en) * 2004-02-20 2005-09-02 Kyocera Mita Corp Image forming apparatus
JP2007098771A (en) * 2005-10-04 2007-04-19 Sharp Corp Image forming apparatus, control program and computer readable recording medium
JP4464420B2 (en) * 2007-04-18 2010-05-19 キヤノン株式会社 Image processing apparatus, image processing method, and program

Also Published As

Publication number Publication date
JP2010176024A (en) 2010-08-12

Similar Documents

Publication Publication Date Title
US8170336B2 (en) Image processing apparatus, image forming apparatus, image processing method and computer-readable recording medium
US8477324B2 (en) Image processor and image processing method that uses s-shaped gamma curve
JP4166744B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JP4170353B2 (en) Image processing method, image processing apparatus, image reading apparatus, image forming apparatus, program, and recording medium
JP2008011267A (en) Image processor, image processing method, image processing program, and memory medium
JP4402090B2 (en) Image forming apparatus, image forming method, program, and recording medium
US8073251B2 (en) Image processing apparatus and method including page-background process capability, and non-transitory computer readable storage medium for causing computer to function as the same
JP5095667B2 (en) Output instruction apparatus, image forming system, output instruction method, control program, and recording medium therefor
JP4226278B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium recording the same
JP4884305B2 (en) Image processing apparatus, image forming apparatus, computer program, and recording medium
JP2007049488A (en) Image processing apparatus, image processing method, and program enforcing computer to perform the method
JP6474315B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP4549227B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4545766B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing program, and recording medium
JP5101539B2 (en) Image processing apparatus, image forming apparatus, image processing method, control program, and recording medium
JP4080252B2 (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium
JP2006157539A (en) Image processing apparatus
JP5122507B2 (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium
JP4452639B2 (en) Image processing apparatus, image processing method, program for causing computer to execute the method, and recording medium
JP2009055121A (en) Image processing device, image processing method, image forming apparatus and program, recording medium
JP4271644B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium recording image processing program
JP2005012668A (en) Image processing method, image processing device, image scanner, image forming apparatus, and computer program
JP2023163897A (en) Image processing apparatus, image processing method, and program
JP2008099148A (en) Image processing apparatus, image forming device, image processing method, image processing program and recording medium with the image processing program recorded thereon

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120829

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120926

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

Free format text: PAYMENT UNTIL: 20151005

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5101539

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150