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

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

Info

Publication number
JP5122507B2
JP5122507B2 JP2009061994A JP2009061994A JP5122507B2 JP 5122507 B2 JP5122507 B2 JP 5122507B2 JP 2009061994 A JP2009061994 A JP 2009061994A JP 2009061994 A JP2009061994 A JP 2009061994A JP 5122507 B2 JP5122507 B2 JP 5122507B2
Authority
JP
Japan
Prior art keywords
pixel
region
image
filter
value
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
JP2009061994A
Other languages
Japanese (ja)
Other versions
JP2010214665A (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 JP2009061994A priority Critical patent/JP5122507B2/en
Publication of JP2010214665A publication Critical patent/JP2010214665A/en
Application granted granted Critical
Publication of JP5122507B2 publication Critical patent/JP5122507B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、色材を用いて画像の印刷を行う通常モードと通常モードよりも色材の消費量を抑制して前記印刷を行う節約モード(セーブモード)とを有する画像形成装置、この画像形成装置にて扱われる画像データを処理する画像処理装置に関する。   The present invention relates to an image forming apparatus having a normal mode in which an image is printed using a color material, and a saving mode (save 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 by the apparatus.

スキャナ等で読み取られた原稿の画像、あるいは文書作成ソフトなどのコンピュータアプリケーションで作成された原稿の画像を印刷する印刷システムには、通常印刷モードとセーブモードとを有し、セーブモード時には画素を一律に間引くことによって通常モード時よりも印刷時の色材(トナー)の使用量を節約するものが知られている。そして、色材の使用量を節約することで、コスト削減および環境保護推進のメリットが得られる。   A printing system that prints an image of a document read by a scanner or the like or a document image created by a computer application such as document creation software has a normal print mode and a save mode, and the pixels are uniformly set in the save mode. It is known that the amount of color material (toner) used in printing can be saved more than in the normal mode. And, by saving the amount of color material used, the advantages of cost reduction and environmental protection promotion can be obtained.

しかし、一律に画素を間引く手法によれば、小さな文字やラインに途切れが生じ、小さな文字やラインの判読性が低下するという問題が生じる。また、この手法によれば、大きな文字やベタ部分については、色材使用量をさらに削減できる余地を残してしまい、充分に色材消費量を抑制できないという問題が生じる。そして、これら問題に対して下記特許文献1が存在する。   However, according to the method of thinning out pixels uniformly, there is a problem in that small characters and lines are interrupted and the legibility of small characters and lines is lowered. Also, according to this method, there is a problem that a large amount of text and solid portions leave room for further reduction in the amount of color material used, and the color material consumption cannot be sufficiently suppressed. And the following patent document 1 exists with respect to these problems.

特許文献1には、ユーザーによって印刷材料節約モードが指示された場合、入力された画像のドットパターンを千鳥状格子やディザマトリクスにより変更させる手法が示されている。さらに、特許文献1には、入力画像データの種類に応じてパターン変更の有無を設定する点が示されている。より具体的に説明すると、特許文献1には、小さい文字、大きな文字、エッジ、網点、ラインデータなどの画像種類に応じて、パターン変更の有無を切り替えている。   Japanese Patent Application Laid-Open No. 2004-151561 discloses a method of changing a dot pattern of an input image by a staggered lattice or a dither matrix when a printing material saving mode is instructed by a user. Further, Japanese Patent Laid-Open No. 2004-228561 shows that the presence / absence of pattern change is set according to the type of input image data. More specifically, in Patent Document 1, the presence / absence of pattern change is switched according to the image type such as a small character, a large character, an edge, a halftone dot, or line data.

特開平7−314783号公報(1995年12月05日公開)Japanese Patent Laid-Open No. 7-314783 (released on December 05, 1995)

特許文献1の手法によれば、画像を構成する要素の種類に応じてドットパターンの変更の有無を切り替えているため、画像を構成する要素の種類を正確に判定する必要がある。この点、文字と印画紙写真との判別や、文字と網点との判別等については誤判定が生じることが少ない。ところが、特許文献1の手法によれば、大きな文字の場合は千鳥状パターンを用い、小さな文字の場合はパターン変更を行わないことにしているため、大きな文字と小さな文字との判別を正確に行う必要がある。しかし、大きな文字と小さな文字との判別には誤判定が生じることが少なくなく、判定処理に要する時間も増大する。   According to the method of Patent Document 1, since the presence / absence of change of the dot pattern is switched according to the type of element constituting the image, it is necessary to accurately determine the type of element constituting the image. In this regard, there are few misjudgments with regard to discrimination between characters and photographic paper photographs, discrimination between characters and halftone dots, and the like. However, according to the method of Patent Document 1, since a staggered pattern is used for large characters and pattern change is not performed for small characters, large characters and small characters are accurately discriminated. There is a need. However, it is not uncommon for an erroneous determination to occur when determining a large character and a small character, and the time required for the determination process also increases.

ここで、大きな文字と小さな文字との判別にエラーが生じた場合、大きな文字に対してパターン変更が行われないといった事が生じる。その結果、大きな文字について十分にトナー消費量を削減できないといった事が起こってしまう。それゆえ、文字の判読性を維持しつつトナー消費量抑制効果を充分に得るには、特許文献1の手法を用いても不十分であった。   Here, when an error occurs in discrimination between a large character and a small character, a pattern change is not performed on the large character. As a result, the toner consumption cannot be reduced sufficiently for large characters. Therefore, it is not sufficient to use the technique of Patent Document 1 in order to obtain a sufficient toner consumption suppressing effect while maintaining the legibility of characters.

本発明は、以上の問題に鑑みてなされたものであり、文字の判読性を維持しつつ色材消費量の抑制効果を充分に得ることの可能な画像形成装置、この画像形成装置に備えられる
画像処理装置を提供することである。
The present invention has been made in view of the above problems, and is provided with an image forming apparatus capable of sufficiently obtaining a color material consumption suppression effect while maintaining the legibility of characters, and the image forming apparatus. An image processing apparatus is provided.

前記課題を解決するために、本発明は、色材を用いて画像データの画像を印刷する通常モードと前記通常モードよりも前記色材の使用量を抑制して前記画像を印刷するセーブモードとを有する画像形成装置において扱われる画像データを処理する画像処理装置であって、前記セーブモード時において、前記通常モード時よりも前記色材の使用量が抑制されるように前記画像データに対して画像処理を行う色材量抑制部を有し、前記色材量抑制部は、前記画像データの画像にベタ部分が含まれている場合、当該部分の濃度を、当該部分の輪郭から内側に向かうにつれて段階的に低下させることを特徴とする。本発明の構成によれば、処理対象の画像に太文字(ラインの太い文字)等のベタ部分が含まれている場合、当該部分の輪郭から当該輪郭の内側に向かうにつれて濃度が段階的に低下するように画像処理が行われる。それゆえ、太文字の輪郭の形状が損なわれることなく太文字全体の濃度を低下させることができるため、太文字の判読性を維持しつつ、色材消費量を十分に抑制できるという効果を奏する。   In order to solve the above problems, 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 amount of color material used compared to the normal mode. An image processing apparatus that processes image data handled in an image forming apparatus having the image data, wherein the amount of the color material used in the save mode is smaller than that in the normal mode. A color material amount suppression unit that performs image processing; and when the image of the image data includes a solid part, the color material amount suppression unit moves the density of the part inward from the contour of the part It is characterized by being lowered step by step. According to the configuration of the present invention, when the image to be processed includes a solid portion such as a bold character (a thick character of a line), the density gradually decreases from the contour of the portion toward the inside of the contour. In this way, image processing is performed. Therefore, the density of the entire bold character can be reduced without impairing the shape of the outline of the bold character, so that the color material consumption can be sufficiently suppressed while maintaining the legibility of the bold character. .

また、本発明の画像処理装置は、前記構成に加えて、前記画像データは画素の濃度を示した画素値を含むデータであり、前記画素値は濃度が低いほど値が小さくなるように設定されており、前記色材量抑制部は、注目画素を含む複数の画素からなるブロック内の各画素の画素値に対して重み付けフィルタを用いて重み付けを行い、重み付け後の各画素値の総和である積和値が小さいほど濃度が低くなるような画素値を前記注目画素の画素値として出力するものであり、前記ブロックは、前記注目画素を含む第1領域と、前記第1領域を囲むように配される領域であり且つ前記ブロックの外周の画素に隣接する画素を含む領域である第2領域とを有し、前記重み付けフィルタは、前記ブロック内の各画素の画素値に対してかけられる重み付け係数を定めたものであり、前記第2領域の各画素の画素値にかけられる重み付け係数はゼロ以下の値になり、前記第1領域および前記第2領域に含まれる画素の画素値にかけられる重み付け係数の総和がゼロまたは実質的にゼロになるように設定されていてもよい。さらに、本発明の画像処理装置は、前記構成に加えて、前記画像データは画素の濃度を示した画素値を含むデータであり、前記画素値は濃度が低いほど値が大きくなるように設定されており、前記色材量抑制部は、注目画素を含む複数の画素からなるブロック内の各画素の画素値に対して重み付けフィルタを用いて重み付けを行い、重み付け後の各画素値の総和である積和値が小さいほど濃度が低くなるような画素値を前記注目画素の画素値として出力するものであり、前記ブロックは、前記注目画素を含む第1領域と、前記第1領域を囲むように配される領域であり且つ前記ブロックの外周の画素に隣接する画素を含む領域である第2領域とを有し、前記重み付けフィルタは、前記ブロック内の各画素の画素値に対してかけられる重み付け係数を定めたものであり、前記第2領域の各画素の画素値にかけられる重み付け係数はゼロ以上の値になり、前記第1領域および前記第2領域に含まれる画素の画素値にかけられる重み付け係数の総和がゼロまたは実質的にゼロになるように設定されていてもよい。   In the image processing apparatus of the present invention, in addition to the above configuration, the image data is data including a pixel value indicating a pixel density, and the pixel value is set so that the value decreases as the density decreases. The color material amount suppression unit weights the pixel values of each pixel in a block including a plurality of pixels including the target pixel using a weighting filter, and is a sum of the weighted pixel values. A pixel value that decreases in density as the product-sum value decreases is output as the pixel value of the target pixel, and the block surrounds the first region including the target pixel and the first region. And a second region that is a region including pixels adjacent to the pixels on the outer periphery of the block, and the weighting filter is a weight applied to a pixel value of each pixel in the block Person in charge The weighting coefficient applied to the pixel value of each pixel in the second area is a value less than or equal to zero, and the weighting coefficient applied to the pixel value of the pixel included in the first area and the second area The sum may be set to be zero or substantially zero. Further, in the image processing apparatus of the present invention, in addition to the above configuration, the image data is data including a pixel value indicating a pixel density, and the pixel value is set so that the value becomes larger as the density is lower. The color material amount suppression unit weights the pixel values of each pixel in a block including a plurality of pixels including the target pixel using a weighting filter, and is a sum of the weighted pixel values. A pixel value that decreases in density as the product-sum value decreases is output as the pixel value of the target pixel, and the block surrounds the first region including the target pixel and the first region. And a second region that is a region including pixels adjacent to the pixels on the outer periphery of the block, and the weighting filter is a weight applied to a pixel value of each pixel in the block The weighting coefficient applied to the pixel value of each pixel in the second area is a value greater than or equal to zero, and the weighting coefficient applied to the pixel value of the pixels included in the first area and the second area May be set to be zero or substantially zero.

また、本発明の画像処理装置は、前記構成に加えて、前記色材量抑制部は、前記ブロック内の注目画素以外の参照画素の色と前記注目画素の色とが類似しているか否かを判定する類似度判定部を有し、前記注目画素の色と非類似と判定された色を有する参照画素の画素値を、最低濃度を示す画素値に変換し、当該変換した画素値に対して前記重み付けを行うことが好ましい。この発明によれば、処理前の画像に存在しない色が生成されるといった不都合を回避できるという効果を奏する。   In the image processing apparatus according to the aspect of the invention, in addition to the configuration, the color material amount suppression unit may determine whether the color of the reference pixel other than the target pixel in the block is similar to the color of the target pixel. A similarity determination unit that determines a pixel value of a reference pixel having a color determined to be dissimilar to the color of the target pixel, and converts the pixel value to a pixel value indicating a minimum density. It is preferable to perform the weighting. According to the present invention, there is an effect that it is possible to avoid the disadvantage that a color that does not exist in the image before processing is generated.

また、文字領域やグラフィックは、ベタ部分を含む頻度が高いため、前記重み付けフィルタによる処理が行われると、判読性が保たれつつトナー消費量を削減できるというメリットが生じる。これに対し、写真領域は、前記ベタ部分を含むことが少なく、前記重み付
けフィルタによる処理が行われると、前記メリットよりも画質劣化の弊害の方が大きくなることが多い。そこで、本発明の画像処理装置は、前記構成に加えて、前記画像データの画像に含まれる各画像領域が、文字領域、グラフィック領域、写真領域のいずれに該当するかを判定する判定処理部を有し、前記色材量抑制部は、前記判定処理部によって文字領域またはグラフィック領域と判定された画像領域に対しては前記重み付けフィルタを用いた処理を行い、前記判定処理部によって写真領域と判定された画像領域に対しては前記重み付けフィルタを用いた処理を行わない構成であってもよい。これにより、写真領域についての画質劣化を抑制できる。なお、写真領域に対しては、領域全体に渡って略均一に輝度が上昇するように重み付け係数が定められたフィルタを用いて処理を行えば、写真領域についても違和感を生じさせることなくトナー消費量抑制効果を得ることができる。
In addition, since the character region and the graphic frequently include a solid portion, the processing by the weighting filter has an advantage that the toner consumption can be reduced while the legibility is maintained. On the other hand, a photographic region rarely includes the solid portion, and when the processing by the weighting filter is performed, the adverse effect of image quality deterioration is often greater than the merits. Therefore, in addition to the above configuration, the image processing apparatus of the present invention includes a determination processing unit that determines whether each image area included in the image of the image data corresponds to a character area, a graphic area, or a photographic area. And the color material amount suppression unit performs processing using the weighting filter on the image region determined as the character region or the graphic region by the determination processing unit, and determines the photographic region as the determination processing unit. A configuration in which the processing using the weighting filter is not performed on the image region that has been performed may be employed. Thereby, it is possible to suppress deterioration in image quality for a photographic region. Note that, for a photo area, if processing is performed using a filter in which a weighting coefficient is set so that the luminance increases substantially uniformly over the entire area, toner consumption is not caused in the photo area. An amount suppressing effect can be obtained.

さらに、文字領域は、ベタ部分を含む頻度が高いため、前記重み付けフィルタによる処理が行われると、判読性が保たれつつトナー消費量を削減できるというメリットが生じる。これに対し、網点領域や連続階調領域は、前記ベタ部分を含むことが少なく、前記重み付けフィルタによる処理が行われると、前記メリットよりも画質劣化の弊害の方が大きくなることが多い。そこで、本発明の画像処理装置は、前記構成に加えて、前記画像データの画像に含まれる各画像領域が、文字領域、網点領域、連続階調領域のいずれに該当するかを判定する判定処理部を有し、前記色材量抑制部は、前記判定処理部によって文字領域と判定された画像領域に対しては前記重み付けフィルタを用いた処理を行い、前記判定処理部によって網点領域または連続階調領域と判定された画像領域に対しては前記重み付けフィルタを用いた処理を行わない構成であってもよい。これにより、網点領域または連続階調領域についての画質劣化を抑制できる。なお、網点領域または連続階調領域に対しては、領域全体に渡って略均一に輝度が上昇するように重み付け係数が定められたフィルタを用いて処理を行えば、網点領域または連続階調領域についても違和感を生じさせることなくトナー消費量抑制効果を得ることができる。   Further, since the character region frequently includes a solid portion, the processing by the weighting filter has an advantage that the toner consumption can be reduced while the legibility is maintained. On the other hand, the halftone dot region and the continuous tone region rarely include the solid portion, and when the processing by the weighting filter is performed, the adverse effect of the image quality deterioration is often larger than the merit. Therefore, in addition to the above configuration, the image processing apparatus of the present invention determines whether each image area included in the image of the image data corresponds to a character area, a dot area, or a continuous tone area. A processing unit, and the color material amount suppression unit performs processing using the weighting filter on the image region determined as the character region by the determination processing unit, and the determination processing unit performs a halftone region or A configuration in which processing using the weighting filter is not performed on an image region determined to be a continuous tone region may be employed. As a result, it is possible to suppress image quality deterioration in the halftone area or continuous tone area. Note that for a halftone dot area or continuous tone area, if processing is performed using a filter in which a weighting coefficient is set so that the luminance increases substantially uniformly throughout the whole area, the halftone dot area or continuous gradation area is obtained. The toner consumption amount suppressing effect can be obtained without causing a sense of incongruity in the tone area.

また、本発明の画像処理装置は、前記構成に加えて、前記画像データは画素の濃度を示した画素値を含むデータであり、前記画素値は濃度が低いほど値が小さくなるように設定されており、前記色材量抑制部は、注目画素を含む複数の画素からなる小領域内の各画素の画素値に対して重み付けを行う小領域処理部と、前記小領域を含み且つ前記小領域よりも画素数の多い大領域内の各画素の画素値に対して重み付けを行う大領域処理部と、前記小領域処理部にて重み付けされた各画素値の総和である第1積和値から前記大領域処理部にて重み付けされた各画素値の総和である第2積和値を差し引いた差分値が小さいほど低い濃度の画素値を前記注目画素の画素値として出力する画素値出力部とを有し、前記小領域処理部は、前記小領域に属する各画素の画素値にかけられる各重み付け係数を定めた小領域フィルタを用いて重み付けを行い、前記大領域処理部は、前記大領域に属する各画素の画素値にかけられる各重み付け係数を定めた大領域フィルタを用いて重み付けを行うものであり、前記小領域フィルタおよび前記大領域フィルタは、前記小領域フィルタの重み付け係数の総和と前記大領域フィルタの重み付け係数の総和とが等しくまたは実質的に等しくなるように設定されていてもよい。さらに、本発明の画像処理装置は、前記構成に加えて、前記画像データは画素の濃度を示した画素値を含むデータであり、前記画素値は濃度が低いほど値が大きくなるように設定されており、前記色材量抑制部は、注目画素を含む複数の画素からなる小領域内の各画素の画素値に対して重み付けを行う小領域処理部と、前記小領域を含み且つ前記小領域よりも画素数の多い大領域内の各画素の画素値に対して重み付けを行う大領域処理部と、前記大領域処理部にて重み付けされた各画素値の総和である第2積和値から前記小領域処理部にて重み付けされた各画素値の総和である第1積和値を差し引いた差分値が小さいほど低い濃度の画素値を前記注目画素の画素値として出力する画素値出力部とを有し、前記小領域処理部は、前記小領域に属する各画素の画素値にかけられる各重み付け係数を定めた小領域フィルタを用いて重み付けを行い、前記大領域処理部は、前記大領域に属する各画素の画素値にかけられる各重み付け係数を定めた大
領域フィルタを用いて重み付けを行うものであり、前記小領域フィルタおよび前記大領域フィルタは、前記小領域フィルタの重み付け係数の総和と前記大領域フィルタの重み付け係数の総和とが等しくまたは実質的に等しくなるように設定される。以上の構成によれば、前記画像データの画像にベタ部分が含まれている場合、前記ベタ部分の濃度を、ベタ部分の輪郭から内側に向かうにつれて段階的に低下させることが可能になる。
In the image processing apparatus of the present invention, in addition to the above configuration, the image data is data including a pixel value indicating a pixel density, and the pixel value is set so that the value decreases as the density decreases. The color material amount suppression unit includes a small region processing unit that weights the pixel value of each pixel in a small region including a plurality of pixels including the target pixel, and includes the small region and the small region. A large area processing unit that weights the pixel values of each pixel in the large area having a larger number of pixels, and a first product sum value that is the sum of the pixel values weighted by the small area processing unit A pixel value output unit that outputs a pixel value having a lower density as a pixel value of the pixel of interest as a difference value obtained by subtracting a second product sum value that is a sum of pixel values weighted by the large region processing unit is smaller; And the small region processing unit belongs to the small region. Weighting is performed using a small region filter that defines each weighting factor to be applied to the pixel value of each pixel, and the large region processing unit is a large region that defines each weighting factor to be applied to the pixel value of each pixel belonging to the large region Weighting is performed using a filter, and in the small area filter and the large area filter, the sum of the weighting coefficients of the small area filter and the sum of the weighting coefficients of the large area filter are equal or substantially equal. It may be set as follows. Further, in the image processing apparatus of the present invention, in addition to the above configuration, the image data is data including a pixel value indicating a pixel density, and the pixel value is set so that the value becomes larger as the density is lower. The color material amount suppression unit includes a small region processing unit that weights the pixel value of each pixel in a small region including a plurality of pixels including the target pixel, and includes the small region and the small region. A large area processing unit that weights the pixel values of each pixel in the large area having a larger number of pixels, and a second product sum value that is the sum of the pixel values weighted by the large area processing unit. A pixel value output unit for outputting a pixel value having a lower density as the pixel value of the target pixel as the difference value obtained by subtracting the first product sum value that is the sum of the pixel values weighted by the small region processing unit is smaller; And the small region processing unit belongs to the small region. Weighting is performed using a small area filter that defines a weighting coefficient to be applied to the pixel value of each pixel, and the large area processing unit determines a weighting coefficient to be applied to the pixel value of each pixel belonging to the large area. Weighting is performed using an area filter, and in the small area filter and the large area filter, the sum of the weighting coefficients of the small area filter and the sum of the weighting coefficients of the large area filter are equal or substantially equal. Is set to be According to the above configuration, when a solid part is included in the image of the image data, the density of the solid part can be decreased stepwise as it goes inward from the outline of the solid part.

さらに、本発明の画像処理装置は、前記構成に加えて、前記色材量抑制部は、前記小領域および前記大領域内の注目画素以外の参照画素の色と前記注目画素の色とが類似しているか否かを判定する類似度判定部を有し、前記大領域処理部および前記小領域処理部は、注目画素の色と非類似と判定された色を有する参照画素の画素値を、最低濃度を示す画素値に変換し、当該変換した画素値を用いて前記重み付けを行うことが好ましい。この発明によれば、処理前の画像に存在しない色が生成されるといった不都合を回避できるという効果を奏する。   Furthermore, in the image processing apparatus according to the aspect of the invention, in addition to the above configuration, the color material amount suppression unit may have similar colors of reference pixels other than the target pixel in the small region and the large region and the color of the target pixel. A similarity determination unit for determining whether or not the large region processing unit and the small region processing unit, the pixel value of the reference pixel having a color determined to be dissimilar to the color of the target pixel, It is preferable that the pixel value indicating the minimum density is converted, and the weighting is performed using the converted pixel value. According to the present invention, there is an effect that it is possible to avoid the disadvantage that a color that does not exist in the image before processing is generated.

また、文字領域やグラフィックは、ベタ部分を含む頻度が高いため、前記重み付けフィルタによる処理が行われると、判読性が保たれつつトナー消費量が抑制されるというメリットが生じる。これに対し、写真領域は、前記ベタ部分を含むことが少なく、前記重み付けフィルタによる処理が行われると、前記メリットよりも画質劣化の弊害の方が大きくなることが多い。そこで、本発明の画像処理装置は、前記構成に加えて、前記画像データの画像に含まれる各画像領域が、文字領域、グラフィック領域、写真領域のいずれに該当するかを判定する判定処理部を有し、前記色材量抑制部は、前記判定処理部によって文字領域またはグラフィック領域と判定された画像領域に対しては前記小領域フィルタおよび前記大領域フィルタを用いた処理を行い、前記判定処理部によって写真領域と判定された画像領域に対しては前記小領域フィルタおよび前記大領域フィルタを用いた処理を行わない構成であってもよい。これにより、写真領域についての画質劣化を抑制できる。なお、写真領域に対しては、領域全体に渡って略均一に輝度が上昇するように重み付け係数が定められたフィルタを用いて処理を行えば、写真領域についても違和感を生じさせることなくトナー消費量抑制効果を得ることができる。   In addition, since the character region and the graphic frequently include a solid portion, when the processing by the weighting filter is performed, there is a merit that the toner consumption is suppressed while the legibility is maintained. On the other hand, a photographic region rarely includes the solid portion, and when the processing by the weighting filter is performed, the adverse effect of image quality deterioration is often greater than the merits. Therefore, in addition to the above configuration, the image processing apparatus of the present invention includes a determination processing unit that determines whether each image area included in the image of the image data corresponds to a character area, a graphic area, or a photographic area. And the color material amount suppression unit performs processing using the small region filter and the large region filter on the image region determined as the character region or the graphic region by the determination processing unit, and performs the determination processing. The image region determined to be a photographic region by the unit may not be processed using the small region filter and the large region filter. Thereby, it is possible to suppress deterioration in image quality for a photographic region. Note that, for a photo area, if processing is performed using a filter in which a weighting coefficient is set so that the luminance increases substantially uniformly over the entire area, toner consumption is not caused in the photo area. An amount suppressing effect can be obtained.

さらに、文字領域は、ベタ部分を含む頻度が高いため、前記重み付けフィルタによる処理が行われると、判読性が保たれつつトナー消費量が抑制されるというメリットが生じる。これに対し、網点領域や連続階調領域は、前記ベタ部分を含むことが少なく、前記重み付けフィルタによる処理が行われると、前記メリットよりも画質劣化の弊害の方が大きくなることが多い。そこで、本発明の画像処理装置は、前記構成に加えて、前記画像データの画像に含まれる各画像領域が、文字領域、網点領域、連続階調領域のいずれに該当するかを判定する判定処理部を有し、前記色材量抑制部は、前記判定処理部によって文字領域と判定された画像領域に対しては前記小領域フィルタおよび前記大領域フィルタを用いた処理を行い、前記判定処理部によって網点領域または連続階調領域と判定された画像領域に対しては前記小領域フィルタおよび前記大領域フィルタを用いた処理を行わない構成であってもよい。これにより、網点領域または連続階調領域についての画質劣化を抑制できる。なお、網点領域または連続階調領域に対しては、領域全体に渡って略均一に輝度が上昇するように重み付け係数が定められたフィルタを用いて処理を行えば、網点領域または連続階調領域についても違和感を生じさせることなくトナー消費量抑制効果を得ることができる。   Furthermore, since the character region frequently includes a solid portion, the processing by the weighting filter has a merit that the toner consumption is suppressed while the legibility is maintained. On the other hand, the halftone dot region and the continuous tone region rarely include the solid portion, and when the processing by the weighting filter is performed, the adverse effect of the image quality deterioration is often larger than the merit. Therefore, in addition to the above configuration, the image processing apparatus of the present invention determines whether each image area included in the image of the image data corresponds to a character area, a dot area, or a continuous tone area. A processing unit, and the color material amount suppression unit performs processing using the small region filter and the large region filter on the image region determined as the character region by the determination processing unit, and performs the determination processing. The image area determined to be a halftone dot area or a continuous tone area by the section may not be processed using the small area filter and the large area filter. As a result, it is possible to suppress image quality deterioration in the halftone area or continuous tone area. Note that for a halftone dot area or continuous tone area, if processing is performed using a filter in which a weighting coefficient is set so that the luminance increases substantially uniformly throughout the whole area, the halftone dot area or continuous gradation area is obtained. The toner consumption amount suppressing effect can be obtained without causing a sense of incongruity in the tone area.

また、本発明の画像処理装置は、色材を用いて画像データの画像を印刷する通常モードと前記通常モードよりも前記色材の使用量を抑制して前記画像を印刷するセーブモードとを有する画像形成装置に備えられていてもよい。さらに、本発明は、色材を用いて画像データの画像を印刷する通常モードと前記通常モードよりも前記色材の使用量を抑制して前記画像を印刷するセーブモードとを有する画像形成装置において扱われる画像データを処
理する画像処理方法であって、前記セーブモード時において、前記通常モード時よりも前記色材の使用量が抑制されるように前記画像データに対して画像処理を行う色材量抑制工程を有し、前記色材量抑制工程は、前記画像データの画像にベタ部分が含まれている場合、当該部分の濃度を、当該部分の輪郭から内側に向かうにつれて段階的に低下させる工程であることを特徴とする。
The image processing apparatus of the present invention includes 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 the color material used compared to the normal mode. The image forming apparatus may be provided. Furthermore, the present invention provides 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 the color material used compared to the normal mode. An image processing method for processing image data to be handled, the color material performing image processing on the image data in the save mode so that a use amount of the color material is suppressed as compared with the normal mode An amount suppressing step, and when the solid portion is included in the image of the image data, the color material amount suppressing step gradually decreases the density of the portion inward from the contour of the portion. It is a process.

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

本発明の構成によれば、処理対象の画像に太文字等のベタ部分が含まれている場合、当該部分の輪郭から当該輪郭の内側に向かうにつれて濃度が段階的に低下するように画像処理が行われる。それゆえ、太文字の輪郭の形状が損なわれることなく太文字全体の濃度を低下させることができるため、太文字の判読性を維持しつつ、色材消費量を十分に抑制できるという効果を奏する。   According to the configuration of the present invention, when the image to be processed includes a solid part such as a bold character, the image processing is performed so that the density gradually decreases from the outline of the part toward the inside of the outline. Done. Therefore, the density of the entire bold character can be reduced without impairing the shape of the outline of the bold character, so that the color material consumption can be sufficiently suppressed while maintaining the legibility of the bold character. .

本発明の一実施形態の画像処理装置を有する印刷システムの概略構成を示したブロック図である。1 is a block diagram illustrating a schematic configuration of a printing system having an image processing apparatus according to an embodiment of the present invention. 図1に示される色材量抑制部の内部構成例を示したブロック図である。It is the block diagram which showed the example of an internal structure of the color material amount suppression part shown by FIG. 図1に示される色材量抑制部の処理の流れを示したフローチャートである。2 is a flowchart showing a flow of processing of a color material amount suppression unit shown in FIG. 1. 本発明の一実施形態にて用いられる大領域フィルタの一例および小領域フィルタの一例を示した図である。It is the figure which showed an example of the large area filter used in one Embodiment of this invention, and an example of a small area filter. (a)は、ある画像データを通常モードで処理した場合に印刷される画像を示す図である。(b)は当該画像データをセーブモードで処理した場合に印刷される画像を示す図である。(A) is a figure which shows the image printed when a certain image data is processed in normal mode. (B) is a diagram showing an image to be printed when the image data is processed in the save mode. (a)は、小領域フィルタの全域および大領域フィルタの全域が共に黒色ベタ領域に対向している状況を示した図である。(b)は、大領域フィルタが黒色ベタ領域と白色ベタ領域とに対向しつつ小領域フィルタの全域が黒色ベタ領域に対向している状況を示した図である。(c)は、大領域フィルタが黒色ベタ領域と白色ベタ領域とに対向しつつ小領域フィルタの全域が白色ベタ領域に対向している状況を示した図である。(d)は、大領域フィルタの全域および小領域フィルタの全域が共に白色ベタ領域に対向している状況を示した図である。(A) is the figure which showed the condition where the whole area of a small area filter and the whole area of a large area filter are both facing the black solid area | region. (B) is the figure which showed the condition where the whole area | region of the small area | region filter has opposed the black solid area | region, while the large area filter has opposed the black solid area | region and the white solid area | region. (C) is the figure which showed the condition where the whole area | region of the small area | region filter has opposed the white solid area | region, while the large area filter has opposed the black solid area | region and the white solid area | region. (D) is the figure which showed the condition where the whole area of a large area filter and the whole area of a small area filter are facing the white solid area | region. 本発明の第2の実施形態に係る色材量抑制部の内部構成例を示したブロック図である。It is the block diagram which showed the example of an internal structure of the color material amount suppression part which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る色材量抑制部の処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the process of the color material amount suppression part which concerns on the 2nd Embodiment of this invention. (a)は、赤色下地領域上に黒色文字が形成されている画像を示す図である。(b)は、本発明の第3の実施形態に係る類似判定処理を行わずに(a)の画像に対して色材量抑制部による処理を施した場合の処理後画像を示す図である。(c)は、前記類似判定処理の結果を用いて(a)の画像に対して色材量抑制部による処理を施した場合の処理後画像を示す図である。(A) is a figure which shows the image in which the black character is formed on the red base area | region. (B) is a figure which shows the image after a process at the time of performing the process by a color material amount suppression part with respect to the image of (a), without performing the similarity determination process which concerns on the 3rd Embodiment of this invention. . (C) is a figure which shows the image after a process at the time of performing the process by a color material amount suppression part with respect to the image of (a) using the result of the said similarity determination process. 本発明の第2の実施形態にて用いられる第1重み付けフィルタの一例および第2重み付けフィルタの一例を示した図である。It is the figure which showed an example of the 1st weighting filter used in the 2nd Embodiment of this invention, and an example of a 2nd weighting filter. 解像度の低い色チャンネル向けの大領域フィルタおよび小領域フィルタを示す図である。It is a figure which shows the large region filter and small region filter for color channels with low resolution. 高輝度化フィルタを示した図である。It is the figure which showed the high brightness filter. 本発明の実施形態の色材量抑制部が適用される画像処理装置を有する複合機を示すブロック図である。1 is a block diagram illustrating a multifunction machine having an image processing apparatus to which a color material amount suppression unit according to an embodiment of the present invention is applied. 本発明の実施形態の色材量抑制部が適用される画像処理装置を有するカラープリンタと、このカラープリンタに接続される端末装置とを示すブロック図である。1 is a block diagram illustrating a color printer having an image processing apparatus to which a color material amount suppression unit of an embodiment of the present invention is applied, and a terminal device connected to the color printer. (a)は、図14の端末装置にて作成される画像の例を示した図である。(b)は、(a)の画像に対応するラスタデータの例を示した図である。(A) is the figure which showed the example of the image produced with the terminal device of FIG. (B) is a diagram showing an example of raster data corresponding to the image of (a). PDLデータの構造の例を示した図である。It is the figure which showed the example of the structure of PDL data. (a)は、黒文字および白色下地領域を含む画像における黒文字の輪郭部分を拡大して示した図であって、色材量抑制部による処理が施される前の状態を示した図である。(b)は、(a)の黒文字の輪郭部分と同じ部分を示した図であって、色材量抑制部による処理が施された後の状態を示した図である。(c)は、色材量抑制部が減法混色の画像データに対して処理を施した場合に算出される各値を示す表である。(d)は、色材量抑制部が加法混色の画像データに対して処理を施した場合に算出される各値を示す表である。(A) is the figure which expanded and showed the outline part of the black character in the image containing a black character and a white base area | region, Comprising: It is the figure which showed the state before performing the process by a color material amount suppression part. (B) is the figure which showed the part same as the outline part of the black character of (a), Comprising: It is the figure which showed the state after the process by a color material amount suppression part was performed. (C) is a table | surface which shows each value calculated when a color material amount suppression part processes with respect to the image data of a subtractive color mixture. (D) is a table | surface which shows each value calculated when a color material amount suppression part processes with respect to the image data of an additive color mixture. 図12の高輝度化フィルタとは別の高輝度化フィルタを示す図である。It is a figure which shows the brightening filter different from the brightening filter of FIG.

〔実施の形態1〕
本発明の画像処理装置の一実施形態を図に基づいて以下説明する。図1は、本実施形態の画像処理装置を有する印刷システムの概略構成を示したブロック図である。
[Embodiment 1]
An image processing apparatus according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a printing system having an image processing apparatus according to the present embodiment.

図1の印刷システム1は、画像処理装置10と印刷部20とを有する構成になっている。画像処理装置10は、入力した画像データに対して画像処理を施し、画像処理を施した後の画像データを印刷部20に伝送する装置である。印刷部20は、画像処理装置10から送られてきた画像データの画像を用紙に印刷する電子写真方式の印刷エンジンである。つまり、画像処理装置10は、印刷処理に用いられる画像データに対して画像処理を施すものである。   The printing system 1 in FIG. 1 includes an image processing apparatus 10 and a printing unit 20. The image processing apparatus 10 is an apparatus that performs image processing on input image data and transmits the image data after the image processing to the printing unit 20. The printing unit 20 is an electrophotographic printing engine that prints an image of image data sent from the image processing apparatus 10 on a sheet. That is, the image processing apparatus 10 performs image processing on image data used for printing processing.

また、本実施形態の印刷システム1は、トナー(色材)を用いて画像データの画像の印刷を行う通常モードと、通常モードよりもトナーの消費量を抑制して前記印刷を行うセーブモード(節約モード)とを有している。そして、印刷システム1では、利用者から入力されるコマンドに応じて通常モードとセーブモードとの切り替えが行われるようになっている。   The printing system 1 according to the present embodiment includes a normal mode in which an image of image data is printed using toner (coloring material), and a save mode (in which the printing is performed while suppressing toner consumption compared to the normal mode). Saving mode). In the printing system 1, switching between the normal mode and the save mode is performed in accordance with a command input from the user.

なお、印刷システム1に入力される画像データが外部端末にて作成されたPDL(ページ記述言語)形式のデータである場合、当該データにおいて通常モードまたはセーブモードを指定する命令文が記述され、印刷システム1はこの命令文に応じて通常モードとセーブモードとの切り替えを行うようになっていてもよい。つまり、この場合、利用者が外部端末にコマンドを入力することによって、外部端末にて作成されるPDL形式の画像データに前記命令文が記述される。そして、外部端末から印刷システム1に当該画像データが伝送され、印刷システム1は、当該画像データに記述されている命令文に応じて通常モードとセーブモードとの切り替えを行う。   When the image data input to the printing system 1 is PDL (page description language) format data created by an external terminal, a command statement specifying the normal mode or the save mode is described in the data, and printing is performed. The system 1 may be adapted to switch between the normal mode and the save mode in accordance with this command statement. That is, in this case, when the user inputs a command to the external terminal, the command statement is described in the image data in the PDL format created by the external terminal. Then, the image data is transmitted from the external terminal to the printing system 1, and the printing system 1 switches between the normal mode and the save mode according to the command statement described in the image data.

画像処理装置10は、図1に示すように、前処理部11、色材量抑制部12、後処理部13を有している。   As illustrated in FIG. 1, the image processing apparatus 10 includes a preprocessing unit 11, a color material amount suppression unit 12, and a postprocessing unit 13.

前処理部11は、後処理部13の処理を実行する上で必要となる前処理を入力画像データに施すブロックである。より具体的に説明すると、前処理部11は、入力画像データがスキャナにて読み取られた画像データである場合(複写処理の場合)、いわゆるシェーディング補正や領域分離処理を行う。また、前処理部11は、入力画像データがPDL形式の画像データである場合、このPDL形式の画像データを、後処理部13にて取り扱い可能な画像データ(画素毎の画素値を示した画像データ)に変換する処理(画像展開処理)
を行う。
The pre-processing unit 11 is a block that performs pre-processing necessary for executing the processing of the post-processing unit 13 on the input image data. More specifically, the preprocessing unit 11 performs so-called shading correction and region separation processing when the input image data is image data read by a scanner (in the case of copying processing). Further, when the input image data is image data in the PDL format, the preprocessing unit 11 converts the image data in the PDL format into image data that can be handled by the post-processing unit 13 (an image indicating a pixel value for each pixel). Data) (image development processing)
I do.

色材量抑制部12は、通常モード時、前処理部11から送られてくる画像データに対して処理を施さず、当該画像データをそのまま後処理部13に伝送する。これに対し、色材量抑制部12は、セーブモード時、前記通常モード時よりも印刷部20におけるトナー消費量が抑制されるように、前記画像データに対して画像処理を行う。そして、色材量抑制部12は、画像処理後の画像データを後処理部13に送る。なお、色材量抑制部12については後に詳細に説明する。   In the normal mode, the color material amount suppression unit 12 does not process the image data sent from the preprocessing unit 11 and transmits the image data to the postprocessing unit 13 as it is. On the other hand, the color material amount suppression unit 12 performs image processing on the image data so that the toner consumption amount in the printing unit 20 is suppressed more in the save mode than in the normal mode. Then, the color material amount suppression unit 12 sends the image data after the image processing to the post-processing unit 13. The color material amount suppression unit 12 will be described in detail later.

後処理部13は、色材量抑制部12から送られてきた画像データに対し、印刷処理を行う上で必要となる画像処理を施すブロックである。より具体的に説明すると、後処理部13は、ガンマ補正(出力階調補正)やハーフトーン処理(例えばディザ処理)などを行う。   The post-processing unit 13 is a block that performs image processing necessary for performing print processing on the image data sent from the color material amount suppressing unit 12. More specifically, the post-processing unit 13 performs gamma correction (output tone correction), halftone processing (for example, dither processing), and the like.

また、後処理部13は、色材量抑制部12から送られてきた画像データがRGBの画像データである場合、RGBの画像データをCMYKの画像データに変換する処理を行い、さらに、このCMYKの画像データにハーフトーン処理等を施し、当該画像データを印刷部20へ送るようになっている。これに対し、後処理部13は、色材量抑制部12から送られてきた画像データがCMYKの画像データである場合、このCMYKの画像データにハーフトーン処理等を施し、当該画像データを印刷部20へ送るようになっている。つまり、画像処理装置10には、RGBの画像データが入力される場合もあるし、CMYKの画像データが入力される場合もあるが、いずれも場合も最終的にはCMYKの画像データが出力されるようになっている。なお、Rは赤、Gは緑、Bは青、Cはシアン、Mはマゼンタ、Yは黄、Kは黒を意味する。   Further, when the image data sent from the color material amount suppression unit 12 is RGB image data, the post-processing unit 13 performs processing to convert the RGB image data into CMYK image data, and further, this CMYK. The image data is subjected to halftone processing and the like, and the image data is sent to the printing unit 20. On the other hand, when the image data sent from the color material amount suppression unit 12 is CMYK image data, the post-processing unit 13 performs halftone processing on the CMYK image data and prints the image data. It is to be sent to the part 20. In other words, RGB image data may be input to the image processing apparatus 10 or CMYK image data may be input. In either case, CMYK image data is finally output. It has become so. Note that R means red, G means green, B means blue, C means cyan, M means magenta, Y means yellow, and K means black.

また、以下では、RGBの画像データを加法混色の画像データと称し、CMYKの画像データを減法混色の画像データと称す。なお、本明細書において、画像データとは、各画素の濃度を示した画素値を含むデータである。そして、加法混色の画像データの画素値は、画素の濃度が低いほど値が大きくなるように設定されている。例えば、8ビットの加法混色の画像データにおいては、0の画素値は最高濃度(黒)を示し、255の画素値は最低濃度(白)を示す。これに対し、減法混色の画像データの画素値は、画素の濃度が低いほど値が小さくなるように設定されている。例えば、8ビットの減法混色の画像データにおいては、0の画素値は最低濃度(白)を示し、255の画素値は最高濃度(黒)を示す。   Hereinafter, RGB image data is referred to as additive color image data, and CMYK image data is referred to as subtractive color image data. In this specification, image data is data including pixel values indicating the density of each pixel. The pixel value of the additive color mixture image data is set so that the value increases as the pixel density decreases. For example, in 8-bit additive color image data, a pixel value of 0 indicates the highest density (black), and a pixel value of 255 indicates the lowest density (white). On the other hand, the pixel value of the subtractive color image data is set so that the value decreases as the pixel density decreases. For example, in 8-bit subtractive color image data, a pixel value of 0 indicates a minimum density (white) and a pixel value of 255 indicates a maximum density (black).

また、図1には示されていないが、画像処理装置10には、画像データが展開されるメモリと、装置内の各部を制御する制御装置(CPU:Central Processing Unit)とが備えられている。そして、装置内の各部とメモリとの間の画像データの転送制御も制御装置によって行われるようになっている。   Although not shown in FIG. 1, the image processing apparatus 10 includes a memory in which image data is expanded and a control device (CPU: Central Processing Unit) that controls each unit in the apparatus. . The control device also controls transfer of image data between each unit in the apparatus and the memory.

つぎに、色材量抑制部12について詳細に説明する。図2は、図1に示される色材量抑制部12の内部構成例を示したブロック図である。色材量抑制部12は、図2に示されるように、大領域処理部31、小領域処理部32、差分算出部33、調整演算部34、画素値出力部(画素値処理部)35を有している。   Next, the color material amount suppression unit 12 will be described in detail. FIG. 2 is a block diagram showing an example of the internal configuration of the color material amount suppression unit 12 shown in FIG. As shown in FIG. 2, the color material amount suppression unit 12 includes a large region processing unit 31, a small region processing unit 32, a difference calculation unit 33, an adjustment calculation unit 34, and a pixel value output unit (pixel value processing unit) 35. Have.

大領域処理部31は、注目画素を含むM×M画素(M:2以上の整数)からなる領域の各画素に対応する各位置を有すると共に各位置に重み付け係数が設定される大領域フィルタ(ウィンドウ)を用いて、当該領域の各画素の画素値の積和値Rm(第2積和値)を算出するブロックである。なお、積和値Rmは下記の〔数1〕によって求められる。〔数1〕のKijは大領域フィルタ内のi行且つj列目の位置にある重み付け係数を示し、〔数
1〕のIijは大領域フィルタ内のi行且つj列目の位置に対応する画素の画素値を示す。
The large area processing unit 31 has a position corresponding to each pixel in an area composed of M × M pixels (M: an integer equal to or larger than 2) including the target pixel, and a weighting coefficient is set at each position ( Window), the product sum value Rm (second product sum value) of the pixel values of each pixel in the region is calculated. The product sum value Rm is obtained by the following [Equation 1]. K ij in [ Equation 1] indicates a weighting coefficient at the position of the i-th row and the j-th column in the large region filter, and I ij in [ Equation 1] is at the position of the i-th row and the j-th column in the large region filter. The pixel value of the corresponding pixel is shown.

Figure 0005122507
Figure 0005122507

つまり、積和値Rmとは、M×M画素からなる領域の各画素について、画素値と重み付け係数とを乗じることで画素値に対して重み付けを行い、重み付け後の各画素値を合計(総計,累計)した値である。 In other words, the product-sum value Rm weights the pixel value by multiplying the pixel value and the weighting coefficient for each pixel in the region composed of M × M pixels, and sums the weighted pixel values (total amount). , Cumulative).

なお、本実施の形態において、大領域処理部31は、図4に示す大領域フィルタ51を用いて積和値Rmを求める。図4に示すように、大領域フィルタ51は7×7画素のサイズに対応するものであり、大領域フィルタ51内の各位置に示される値は重み付け係数を示したものである。また、大領域フィルタ51は、中心位置(重み付け係数が49の位置)が注目画素に対応する位置になっている。   In the present embodiment, the large area processing unit 31 obtains the product sum value Rm using the large area filter 51 shown in FIG. As shown in FIG. 4, the large area filter 51 corresponds to a size of 7 × 7 pixels, and the values shown at the respective positions in the large area filter 51 indicate weighting coefficients. In the large area filter 51, the center position (position where the weighting coefficient is 49) is a position corresponding to the target pixel.

小領域処理部32は、注目画素を含むN×N画素(N:1以上且つMより小さい整数)からなる領域の各画素に対応する各位置を有すると共に各位置に重み付け係数が設定される小領域フィルタ(ウィンドウ)を用いて、当該領域の各画素の画素値の積和値Rn(第1積和値)を算出するブロックである。なお、積和値Rnは下記数2によって求められる。〔数2〕のKijは小領域フィルタ内のi行且つj列目の位置にある重み付け係数を示し、〔数2〕のIijは小領域フィルタ内のi行且つj列目の位置に対応する画素の画素値を示す。 The small region processing unit 32 has each position corresponding to each pixel in a region composed of N × N pixels (N: 1 or more and an integer smaller than M) including the target pixel, and a small weight coefficient is set at each position. This is a block for calculating a product sum value Rn (first product sum value) of pixel values of each pixel in the region using a region filter (window). The product-sum value Rn is obtained by the following formula 2. K ij in [ Expression 2] indicates a weighting coefficient at the position of the i-th row and j-th column in the small region filter, and I ij in [ Expression 2] is at the position of the i-th row and j-th column in the small region filter. The pixel value of the corresponding pixel is shown.

Figure 0005122507
Figure 0005122507

つまり、積和値Rnとは、N×N画素からなる領域の各画素について、画素値と重み付け係数とを乗じることで画素値に対して重み付けを行い、重み付け後の各画素値を合計(総計,累計)した値である。 In other words, the product-sum value Rn is obtained by weighting the pixel value by multiplying the pixel value and the weighting coefficient for each pixel in the area composed of N × N pixels, and summing the weighted pixel values (total amount). , Cumulative).

なお、本実施の形態では、小領域処理部32は図4に示される小領域フィルタ52を用いて積和値Rnを求める。図4に示すように、小領域フィルタ52は、3×3画素のサイズに対応するものであり、小領域フィルタ52内の各位置に示される値は重み付け係数を示したものである。また、小領域フィルタ52は、中心位置(重み付け係数が220の位置)が注目画素に対応するようになっている。   In the present embodiment, the small region processing unit 32 obtains the product sum value Rn using the small region filter 52 shown in FIG. As shown in FIG. 4, the small area filter 52 corresponds to a size of 3 × 3 pixels, and the values shown at each position in the small area filter 52 indicate weighting coefficients. The small region filter 52 has a center position (a position where the weighting coefficient is 220) corresponding to the target pixel.

また、本実施の形態では、大領域フィルタ51の重み付け係数の総和と小領域フィルタ52の重み付け係数の総和とが等しくなるように、大領域フィルタ51および小領域フィルタ52の各重み付け係数の値が定められている。図4の例においては、大領域フィルタ51、小領域フィルタ52共に、重み付け係数の総和は360である。   In the present embodiment, the values of the weighting coefficients of the large area filter 51 and the small area filter 52 are set so that the sum of the weighting coefficients of the large area filter 51 is equal to the sum of the weighting coefficients of the small area filter 52. It has been established. In the example of FIG. 4, the sum of the weighting coefficients is 360 for both the large area filter 51 and the small area filter 52.

差分算出部33は、大領域処理部31によって求められたRmと小領域処理部32によって求められたRnとの差分値を求め、求めた差分値を調整演算部34に伝送する。但し、差分算出部33は、色材量抑制部12に入力した画像データが加法混色の画像データで
ある場合と減法混色の画像データである場合とで前記差分値の算出方法を異ならせる。
The difference calculation unit 33 obtains a difference value between Rm obtained by the large region processing unit 31 and Rn obtained by the small region processing unit 32, and transmits the obtained difference value to the adjustment calculation unit 34. However, the difference calculation unit 33 makes the difference value calculation method different depending on whether the image data input to the color material amount suppression unit 12 is additive color mixture image data or subtractive color mixture image data.

具体的に説明すると、差分算出部33は、色材量抑制部12に入力した画像データが加法混色の画像データである場合は下記の式(1)によって差分値を求め、色材量抑制部12に入力した画像データが減法混色の画像データである場合は下記の式(2)によって差分値を求めている。
差分値=Rm−Rn 式(1)
差分値=Rn−Rm 式(2)
つまり、加法混色の画像データの場合、大領域フィルタ51を用いて得られる積和値から、小領域フィルタ52を用いて得られる積和値を差し引いている。これに対し、減法混色の画像データの場合、小領域フィルタ52を用いて得られる積和値から、大領域フィルタ51を用いて得られる積和値を差し引いている。
More specifically, when the image data input to the color material amount suppression unit 12 is additive color mixture image data, the difference calculation unit 33 obtains a difference value by the following equation (1), and the color material amount suppression unit When the image data input to 12 is subtractive color image data, the difference value is obtained by the following equation (2).
Difference value = Rm−Rn Formula (1)
Difference value = Rn−Rm Formula (2)
In other words, in the case of additive color mixture image data, the product-sum value obtained using the small region filter 52 is subtracted from the product-sum value obtained using the large region filter 51. On the other hand, in the case of subtractive color image data, the product-sum value obtained using the large region filter 51 is subtracted from the product-sum value obtained using the small region filter 52.

また、差分算出部33は、式(1)または式(2)にて算出された差分値がビット数との関係から使用不可能な値である場合、当該差分値を補正する。具体的に、差分算出部33は、式(1)または式(2)の算出結果が使用不可能な値である場合、使用可能な値のなかで当該算出結果に最も近い値を前記差分値とする。例えば、画像データが8ビットでのデータである場合、使用可能な値は0から255であってそれ以外の値は使用不可能であるため、式(1)または式(2)の算出結果が負の値の場合は差分値をゼロにし、式(1)または式(2)の算出結果が256以上の場合は差分値を255にする。   Further, the difference calculation unit 33 corrects the difference value when the difference value calculated by Expression (1) or Expression (2) is an unusable value due to the relationship with the number of bits. Specifically, when the calculation result of the formula (1) or the formula (2) is an unusable value, the difference calculation unit 33 sets the value closest to the calculation result among the usable values as the difference value. And For example, when the image data is 8-bit data, usable values are 0 to 255, and other values cannot be used. Therefore, the calculation result of Expression (1) or Expression (2) is In the case of a negative value, the difference value is set to zero, and in the case where the calculation result of Expression (1) or Expression (2) is 256 or more, the difference value is set to 255.

調整演算部34は、下記式(3)に基づき、差分算出部33から伝送されてくる差分値に調整用係数を乗じることによって、調整後差分値を出力する。そして、調整演算部34は、調整後差分値を画素値出力部35に伝送する。
調整後差分値=調整係数×差分値 式(3)
なお、差分値を調整係数で乗じているのは、最終的な出力画像における画像全体の濃度を調整するためである。調整係数が小さいほど出力画像全体の濃度が低くなる。
The adjustment calculation unit 34 outputs an adjusted difference value by multiplying the difference value transmitted from the difference calculation unit 33 by the adjustment coefficient based on the following equation (3). Then, the adjustment calculation unit 34 transmits the adjusted difference value to the pixel value output unit 35.
Difference value after adjustment = Adjustment coefficient × Difference value Formula (3)
The reason why the difference value is multiplied by the adjustment coefficient is to adjust the density of the entire image in the final output image. The smaller the adjustment coefficient, the lower the density of the entire output image.

ここで、調整係数は、大領域フィルタ51の重み付け係数の総和の数%〜数十%の値の逆数に設定される。本実施形態では当該調整係数を1/85とする。この場合、調整係数である「1/85」は「85」の逆数であり、「85」は大領域フィルタ51または小領域フィルタ52の重み付け係数の総和である「360」の24%に相当する。   Here, the adjustment coefficient is set to the reciprocal of a value of several percent to several tens of percent of the sum of the weighting factors of the large area filter 51. In the present embodiment, the adjustment coefficient is 1/85. In this case, the adjustment coefficient “1/85” is the reciprocal of “85”, and “85” corresponds to 24% of “360”, which is the sum of the weighting coefficients of the large area filter 51 or the small area filter 52. .

なお、大領域フィルタ51または小領域フィルタ52の重み付け係数の総和の逆数(1/360)を調整係数とする場合、調整後差分値は、大領域フィルタ51を用いて得られる加重平均値と小領域フィルタ52を用いて得られる加重平均値との差分値になる。しかし、この場合、出力画像の濃度が低くなり過ぎるため、本実施の形態では、前記総和の24%の逆数を調整係数として濃度調整を行っているのである。   When the reciprocal (1/360) of the sum of the weighting coefficients of the large area filter 51 or the small area filter 52 is used as the adjustment coefficient, the adjusted difference value is smaller than the weighted average value obtained by using the large area filter 51. This is a difference value from the weighted average value obtained using the region filter 52. However, in this case, since the density of the output image becomes too low, in this embodiment, the density adjustment is performed using the reciprocal of 24% of the sum as an adjustment coefficient.

画素値出力部35は、調整演算部34から伝送されてくる調整後差分値に基づいて、注目画素の画素値を出力するブロックである。具体的に、画素値出力部35は、色材量抑制部12に入力した画像データが減法混色の画像データである場合、下記の式(4)に従い、調整後差分値をそのまま注目画素の画素値とする。
減法混色の場合: 画素値=調整後差分値 式(4)
つまり、画像データが減法混色である場合、画素値出力部35は、調整後差分値を注目画素の画素値として後段の後処理部13へ出力していることになる。これにより、調整後差分値が小さいほど注目画素の濃度が低くなり、調整後差分値が大きいほど注目画素の濃度が高くなるように、注目画素の画素値が定められる。
The pixel value output unit 35 is a block that outputs the pixel value of the pixel of interest based on the adjusted difference value transmitted from the adjustment calculation unit 34. Specifically, when the image data input to the color material amount suppression unit 12 is subtractive color mixing image data, the pixel value output unit 35 directly uses the adjusted difference value as the pixel of the target pixel according to the following equation (4). Value.
In the case of subtractive color mixture: pixel value = difference value after adjustment Equation (4)
That is, when the image data is subtractive color mixture, the pixel value output unit 35 outputs the adjusted difference value as the pixel value of the target pixel to the subsequent post-processing unit 13. Accordingly, the pixel value of the target pixel is determined such that the smaller the adjusted difference value, the lower the density of the target pixel, and the higher the adjusted difference value, the higher the target pixel density.

これに対し、画素値出力部35は、色材量抑制部12に入力した画像データが加法混色
の画像データである場合、下記の式(5)を演算することで注目画素の画素値を得る。式(5)における「最高値」は画素値のとり得る数値範囲内の最も高い値を意味し、画像データが8ビットのデータである場合は255となる。なお、本明細書では、下記の式(5)による演算を「反転処理」と称することにする。
加法混色の場合: 画素値=最高値−調整後差分値 式(5)
つまり、画像データが加法混色である場合、画素値出力部35は、前記最高値から調整後差分値を減じて得られる値を注目画素の画素値として後段の後処理部13へ出力していることになる。
ここで、画像データが加法混色の場合に反転処理を行う理由について説明する。本実施の形態では、前記差分値(調整後差分値)の値が小さいほど、注目画素の濃度を低く設定し、前記差分値(調整後差分値)の値が大きいほど注目画素の濃度を高く設定するためである。つまり、反転処理を行うことによって、画像データが加法混色の場合においても、調整後差分値が小さいほど注目画素の濃度が低くなり、調整後差分値が大きいほど注目画素の濃度が高くなるように、注目画素の画素値が定められることになる。
On the other hand, when the image data input to the color material amount suppression unit 12 is additive color mixture image data, the pixel value output unit 35 obtains the pixel value of the target pixel by calculating the following equation (5). . The “maximum value” in the equation (5) means the highest value within the numerical range that the pixel value can take, and is 255 when the image data is 8-bit data. In the present specification, the calculation according to the following equation (5) is referred to as “inversion processing”.
In case of additive color mixture: pixel value = maximum value−difference value after adjustment Equation (5)
That is, when the image data is additive color mixture, the pixel value output unit 35 outputs a value obtained by subtracting the adjusted difference value from the maximum value to the post-processing unit 13 at the subsequent stage as the pixel value of the target pixel. It will be.
Here, the reason why the inversion process is performed when the image data is additive color mixture will be described. In the present embodiment, the smaller the difference value (adjusted difference value), the lower the target pixel density, and the larger the difference value (adjusted difference value) value, the higher the target pixel density. This is for setting. That is, by performing the inversion process, even when the image data is additive color mixture, the smaller the adjusted difference value, the lower the density of the target pixel, and the larger the adjusted difference value, the higher the target pixel density. The pixel value of the target pixel is determined.

そして、画素値出力部35は、以上の式(4)または式(5)によって定めた注目画素の画素値を後段の後処理部13(図1参照)に伝送する。   Then, the pixel value output unit 35 transmits the pixel value of the target pixel determined by the above formula (4) or formula (5) to the post-processing unit 13 (see FIG. 1) at the subsequent stage.

つぎに、色材量抑制部12の処理の順序を図3に基づいて説明する。図3は、色材量抑制部12の処理の順序を示したフローチャートである。   Next, the processing order of the color material amount suppression unit 12 will be described with reference to FIG. FIG. 3 is a flowchart showing the processing order of the color material amount suppression unit 12.

色材量抑制部12は、画像データを入力すると、注目画素を含むM×M領域について、大領域フィルタ51を用いて積和値Rmを求める(S1)。つぎに、色材量抑制部12は、注目画素を含むN×N領域について、小領域フィルタ52を用いて積和値Rnを求める(S2)。S2の後、色材量抑制部12は、入力画像データの色空間を判定する(S3)。   When the image data is input, the color material amount suppression unit 12 obtains the product sum value Rm using the large region filter 51 for the M × M region including the target pixel (S1). Next, the color material amount suppression unit 12 calculates the product sum value Rn using the small region filter 52 for the N × N region including the target pixel (S2). After S2, the color material amount suppression unit 12 determines the color space of the input image data (S3).

S3において入力画像データの色空間が減法混色の色空間であると判定された場合、色材量抑制部12は、Rn−Rmを演算することによって、積和値Rmと積和値Rnとの差分値を算出する(S4)。その後、色材量抑制部12は、S4にて算出した差分値に調整係数を乗じることによって調整後差分値を求める。さらに、色材量抑制部12は、この調整後差分値を注目画素の画素値として出力する。そして、色材量抑制部12は、入力画像の全ての画素が注目画素として扱われていない場合(S5にてNo)、次の注目画素についてS1〜S4を行う。これに対し、色材量抑制部12は、入力画像データの全ての画素が注目画素として扱われた場合(S5にてYes)、処理を終了する。   When it is determined in S3 that the color space of the input image data is a subtractive color space, the color material amount suppression unit 12 calculates Rn−Rm, thereby calculating the product sum value Rm and the product sum value Rn. A difference value is calculated (S4). Thereafter, the color material amount suppression unit 12 obtains the adjusted difference value by multiplying the difference value calculated in S4 by the adjustment coefficient. Further, the color material amount suppression unit 12 outputs the adjusted difference value as the pixel value of the target pixel. Then, when all the pixels of the input image are not handled as the target pixel (No in S5), the color material amount suppression unit 12 performs S1 to S4 for the next target pixel. On the other hand, the color material amount suppression unit 12 ends the process when all the pixels of the input image data are handled as the target pixel (Yes in S5).

また、S3において入力画像データの色空間が加法混色の色空間であると判定された場合、色材量抑制部12は、Rm−Rnを演算することによって、積和値Rmと積和値Rnとの差分値を算出する(S6)。その後、色材量抑制部12は、S6にて算出した差分値に調整係数を乗じることによって調整後差分値を求める。さらに、色材量抑制部12は、この調整後差分値に対して反転処理を施し(S7)、反転処理にて得られた値を注目画素の画素値として出力する。そして、色材量抑制部12は、入力画像の全ての画素が注目画素として扱われていない場合(S5にてNo)、次の注目画素についてS1〜S3,S6,S7を行う。これに対し、色材量抑制部12は、入力画像データの全ての画素が注目画素として扱われた場合(S5にてYes)、処理を終了する。   When it is determined in S3 that the color space of the input image data is an additive color space, the color material amount suppression unit 12 calculates Rm−Rn, thereby calculating the product sum value Rm and the product sum value Rn. Is calculated (S6). Thereafter, the color material amount suppression unit 12 obtains the adjusted difference value by multiplying the difference value calculated in S6 by the adjustment coefficient. Furthermore, the color material amount suppression unit 12 performs inversion processing on the adjusted difference value (S7), and outputs the value obtained by the inversion processing as the pixel value of the target pixel. Then, when all the pixels of the input image are not handled as the target pixel (No in S5), the color material amount suppression unit 12 performs S1 to S3, S6, and S7 for the next target pixel. On the other hand, the color material amount suppression unit 12 ends the process when all the pixels of the input image data are handled as the target pixel (Yes in S5).

以上示した色材量抑制部12の処理によれば、処理対象となる画像にベタ部分(例えば太文字)が含まれている場合、当該部分の輪郭(外側)から内側に向かうにつれて濃度が段階的に低下するように補正された画像を出力することになる。そして、当該部分の中央は白(無地)になる。この点について、図5を用いて以下説明する。   According to the processing of the color material amount suppression unit 12 described above, when a solid portion (for example, bold characters) is included in the image to be processed, the density is gradually increased from the contour (outside) of the portion toward the inside. Therefore, an image corrected so as to be lowered is output. And the center of the said part turns into white (solid color). This point will be described below with reference to FIG.

図5(a)は、ある画像データを通常モードで処理した場合に印刷される画像を示す図である。図5(b)は、図5(a)の場合と同じ画像データをセーブモードで処理した場合に印刷される画像を示す図である。なお、図5に示すように印刷画像が文字画像である場合、下地領域が低濃度であり、文字領域が高濃度になっている場合が多い(例えば、下地領域が白色であり、文字領域が黒色)。   FIG. 5A is a diagram showing an image printed when certain image data is processed in the normal mode. FIG. 5B is a diagram showing an image printed when the same image data as in FIG. 5A is processed in the save mode. As shown in FIG. 5, when the print image is a character image, the background region has a low density and the character region often has a high density (for example, the background region is white and the character region is Black).

セーブモードが選択された場合(色材量抑制部12による処理が施された場合)、文字画像の輪郭の濃度は残るものの、当該輪郭よりも内側領域はほぼ白(無地)になる。例えば、図5(a)に示すように、通常モードが選択されている場合において、ベタ部分からなる太文字61を示す画像が印刷されるような画像データがあるものとする。これに対し、図5(b)に示すように、セーブモードが選択されると、太文字61の輪郭はラインとして残存するものの、輪郭の内側はほぼ無地(白)になって印刷されることになる。それゆえ、セーブモードでは、太文字61の形状が維持されつつ、太文字61の形成に用いられるトナー量は通常モード時よりも大幅に抑えられる。   When the save mode is selected (when the processing by the color material amount suppression unit 12 is performed), the density of the outline of the character image remains, but the area inside the outline becomes almost white (solid). For example, as shown in FIG. 5A, it is assumed that there is image data that prints an image showing a thick character 61 composed of a solid portion when the normal mode is selected. On the other hand, as shown in FIG. 5B, when the save mode is selected, the outline of the bold character 61 remains as a line, but the inside of the outline is printed as being almost plain (white). become. Therefore, in the save mode, the shape of the bold character 61 is maintained, and the amount of toner used to form the bold character 61 is significantly reduced compared to that in the normal mode.

さらに、図5(b)からは明らかでないが、色材量抑制部12による処理が施された後の出力画像においては、処理前にベタ部分であった箇所は当該部分の輪郭から内側に向かうにつれて段階的に(グラデーション状に)濃度が低下している。図17(a)は、黒文字および白色下地領域を含む画像における黒文字の輪郭部分を拡大して示した図であって、色材量抑制部12による処理が施される前の状態を示した図であり、図17(b)は、図17(a)の黒文字の輪郭部分と同じ部分を示した図であって、色材量抑制部12による処理が施された後の状態を示した図である。なお、図17(a)において、X座標が1〜7の全画素は黒文字に属する画素であり、X座標が8〜14の全画素は白色下地領域に属する画素である。図17(a)および図17(b)から、色材量抑制部12による処理が施された後の出力画像においては黒文字の輪郭(エッジ)から内側に向かうにつれて濃度が段階的に低下していることがわかる。   Furthermore, although it is not clear from FIG. 5B, in the output image after the processing by the color material amount suppressing unit 12, the portion that was a solid portion before processing is directed inward from the contour of the portion. The density decreases gradually (gradually). FIG. 17A is an enlarged view showing the outline portion of the black character in the image including the black character and the white background region, and shows a state before the processing by the color material amount suppression unit 12 is performed. FIG. 17B is a view showing the same portion as the outline portion of the black character in FIG. 17A, and shows a state after the processing by the color material amount suppression unit 12 is performed. It is. In FIG. 17A, all pixels with X coordinates 1 to 7 are pixels belonging to black characters, and all pixels with X coordinates 8 to 14 are pixels belonging to a white background region. From FIG. 17A and FIG. 17B, in the output image after the processing by the color material amount suppression unit 12, the density gradually decreases from the black character outline (edge) toward the inside. I understand that.

また、色材量抑制部12による処理が施される場合、処理前のベタ部分について、当該部分の輪郭が残りつつ輪郭から内側へ向けて濃度が段階的に低下するようになっているため、細かな文字画像については、輪郭がそのまま残りつつ中央部においては若干濃度が低下するだけであり(肉眼では観測不可能な程度)、中央部は白くならない。つまり、図5に示すように細いラインからなる小文字62が印刷される場合、セーブモードが選択されていても、肉眼では濃度低下を殆ど確認できず、且つ、小文字62の輪郭が途切れてしまう事がないため、小文字62の判読性は維持される。   Further, when the processing by the color material amount suppression unit 12 is performed, the density of the solid part before the processing is gradually reduced from the outline toward the inside while the outline of the part remains. For a fine character image, the outline remains as it is, but the density is only slightly reduced in the central portion (to the extent that it cannot be observed with the naked eye), and the central portion does not become white. In other words, as shown in FIG. 5, when the small letter 62 composed of thin lines is printed, even if the save mode is selected, the density reduction is hardly confirmed with the naked eye, and the outline of the small letter 62 is interrupted. Therefore, the legibility of the lowercase letter 62 is maintained.

以上のように、本実施形態の印刷システム1のセーブモードによれば、太文字および小文字のいずれもその輪郭が維持される。それゆえ、一般的な画素間引き処理では小文字のラインが途切れて文字の判読性が低下するという問題が生じていたところ、本実施形態の印刷システム1のセーブモードでは当該問題を抑制できる。また、本実施形態の印刷システム1のセーブモードによれば、処理対象の画像に太文字が含まれている場合、太文字の輪郭から内側に向かうにつれて濃度が段階的に低下し、太文字の中央部がほぼ白(無地)になるように画像処理が行われる。それゆえ、太文字の輪郭の形状が損なわれることなく太文字全体の濃度を充分に低下させることができ、一般的な画素間引き処理では太文字のベタ部分についてトナー使用量抑制の余地が残るという問題が生じていたところ、本実施形態の印刷システム1のセーブモードでは当該問題を抑制できる。   As described above, according to the save mode of the printing system 1 of the present embodiment, the outline of both bold and small letters is maintained. Therefore, in a general pixel thinning process, there is a problem that the lower-case line is interrupted and the legibility of the character is deteriorated. However, the problem can be suppressed in the save mode of the printing system 1 of the present embodiment. Further, according to the save mode of the printing system 1 according to the present embodiment, when the image to be processed includes bold characters, the density gradually decreases from the outline of the bold characters toward the inside, Image processing is performed so that the central portion is substantially white (solid color). Therefore, it is possible to sufficiently reduce the density of the entire bold character without losing the outline shape of the bold character, and in general pixel thinning processing, there remains a room for suppressing the amount of toner used for the solid portion of the bold character. When a problem has occurred, the problem can be suppressed in the save mode of the printing system 1 of the present embodiment.

つぎに、色材量抑制部12による処理が行われた場合、図5に示すように、太文字の輪郭がラインとして残りつつ、太文字の中央部がほぼ白(無地)に補正される理由を説明する。図6(a)〜図6(d)は、色材量抑制部12による処理の効果を説明するための図
である。
Next, when the processing by the color material amount suppression unit 12 is performed, as shown in FIG. 5, the outline of the bold character remains as a line and the central part of the bold character is corrected to almost white (plain color). Will be explained. FIG. 6A to FIG. 6D are diagrams for explaining the effect of the processing by the color material amount suppression unit 12.

図6は、白色下地上に形成される黒文字(黒色ベタ部分)の輪郭を拡大して示したものである。また、画像データは、減法混色の黒のデータであって、8ビットのデータであるものとする。そして、図6において、黒色ベタ領域の画素値は255であって全て均等であり、白色ベタ領域の画素値は0であって全て均等であるものとする。   FIG. 6 shows an enlarged outline of a black character (black solid portion) formed on a white background. Also, the image data is subtractive color black data and is 8-bit data. In FIG. 6, it is assumed that the pixel values of the black solid region are 255 and all are equal, and the pixel values of the white solid region are 0 and all are equal.

図6(a)に示されるように、大領域フィルタ51の全域と小領域フィルタ52の全域と注目画素とが黒文字の黒色ベタ領域に対向しているとき、注目画素の画素値は0(白)になる。これは、大領域フィルタ51の重み付け係数の総和と小領域フィルタ52の重み付け係数の総和とが等しいため、式(2)の差分値が0になるからである。   As shown in FIG. 6A, when the entire area of the large area filter 51, the entire area of the small area filter 52, and the target pixel face the black solid area of black characters, the pixel value of the target pixel is 0 (white). )become. This is because the sum of the weighting coefficients of the large area filter 51 and the sum of the weighting coefficients of the small area filter 52 are equal, so that the difference value of Equation (2) becomes zero.

つぎに、図6(b)に示されるように、小領域フィルタ52の全域と注目画素とが黒色ベタ領域に対向しているものの、大領域フィルタ51が黒色ベタ領域と白色ベタ領域(白色下地)との両方に対向しているとき、色材量抑制部12から出力される注目画素の画素値は正の値になる。これは、大領域フィルタ51の重み付け係数の総和と小領域フィルタ52の重み付け係数の総和とが等しいため、図6(b)に示されるような状況ではRn>Rmとなり、式(2)にて得られる差分値が正になるからである。   Next, as shown in FIG. 6B, the entire area of the small area filter 52 and the target pixel face the black solid area, but the large area filter 51 has a black solid area and a white solid area (white background). ), The pixel value of the pixel of interest output from the color material amount suppression unit 12 is a positive value. This is because the sum of the weighting coefficients of the large area filter 51 and the sum of the weighting coefficients of the small area filter 52 are equal, so that Rn> Rm in the situation shown in FIG. This is because the obtained difference value becomes positive.

また、図6(b)に示されるような状況の場合、注目画素が文字の輪郭に近づくほどRmの値が小さくなる。それゆえ、黒文字領域においては、輪郭に近い画素ほど画素値が大きくなり、その結果、文字の輪郭から文字の内側に向かうにつれて段階的に濃度が低下することになる。   In the situation as shown in FIG. 6B, the value of Rm decreases as the target pixel approaches the outline of the character. Therefore, in the black character region, the pixel value becomes larger as the pixel is closer to the contour, and as a result, the density gradually decreases from the character contour toward the inside of the character.

図6(c)に示されるように、小領域フィルタ52の全域と注目画素とが白色ベタ領域に対向しているものの、大領域フィルタ51が黒色ベタ領域と白色ベタ領域との両方に対向しているとき、色材量抑制部12から出力される注目画素の画素値は0になる。これは、図6(c)に示されるような状況ではRn<Rmとなり、式(2)にて得られる差分値が負になるが、負の値は使用不可能な値であるため、0に補正されるからである。   As shown in FIG. 6C, the entire region of the small region filter 52 and the target pixel face the white solid region, but the large region filter 51 faces both the black solid region and the white solid region. The pixel value of the pixel of interest output from the color material amount suppression unit 12 is zero. This is because Rn <Rm in the situation as shown in FIG. 6C, and the difference value obtained by the equation (2) is negative, but the negative value is an unusable value. It is because it is corrected to.

図6(d)に示されるように、大領域フィルタ51の全域と小領域フィルタ52の全域と注目画素とが白色ベタ領域に対向しているとき、注目画素の画素値は0(白)になる。これは、大領域フィルタ51の重み付け係数の総和と小領域フィルタ52の重み付け係数の総和とが等しいため、式(2)の差分値が0になるからである。   As shown in FIG. 6D, when the entire area of the large area filter 51, the entire area of the small area filter 52, and the target pixel are opposed to the white solid area, the pixel value of the target pixel is 0 (white). Become. This is because the sum of the weighting coefficients of the large area filter 51 and the sum of the weighting coefficients of the small area filter 52 are equal, so that the difference value of Equation (2) becomes zero.

以上のことからすれば、大領域フィルタ51の全域が黒ベタ領域に対向している場合は注目画素の画素値は白を示す値になり、大領域フィルタ51の全域が白ベタ領域に対向している場合も注目画素の画素値は白を示す値になる。そして、大領域フィルタ51が黒文字の輪郭を跨いでいる場合(図6(b)の場合)、注目画素の画素値は正の値になる。それゆえ、白ベタ領域は白が維持され、黒ベタ領域は白に変換され、文字の輪郭がラインとして残存することになる。   From the above, when the entire area of the large area filter 51 is opposed to the black solid area, the pixel value of the target pixel is white, and the entire area of the large area filter 51 is opposed to the white solid area. The pixel value of the target pixel is also a value indicating white even when the When the large area filter 51 straddles the outline of the black character (in the case of FIG. 6B), the pixel value of the target pixel becomes a positive value. Therefore, white is maintained in the white solid area, the black solid area is converted to white, and the outline of the character remains as a line.

つぎに、図6(a)〜図6(d)に示す黒文字および白色下地の画像データが加法混色である場合について説明する。以下の説明では、画像データが8ビットであるものとし、黒色ベタ領域の全ての画素の画素値は(R,G,B)=(0,0,0)とし、白色ベタ領域の全ての画素の画素値は(R,G,B)=(255,255,255)であるものとする。また、以下ではRの画素値の処理についてのみ説明するが、その他の色成分も同様とする。   Next, the case where the black character and the white background image data shown in FIGS. 6A to 6D are additive color mixture will be described. In the following description, it is assumed that the image data is 8 bits, the pixel values of all the pixels in the black solid region are (R, G, B) = (0, 0, 0), and all the pixels in the white solid region are Assume that the pixel values of (R, G, B) = (255, 255, 255). Hereinafter, only the processing of the R pixel value will be described, but the same applies to other color components.

図6(a)に示されるように、大領域フィルタ51の全域と小領域フィルタ52の全域
と注目画素とが黒文字の黒色ベタ領域に対向しているとき、注目画素の画素値は255(白)になる。これは、大領域フィルタ51の重み付け係数の総和と小領域フィルタ52の重み付け係数の総和とが等しいため、式(1)の差分値は0になり、この差分値は式(5)によって255を示す画素値に変換されるからである。
As shown in FIG. 6A, when the entire area of the large area filter 51, the entire area of the small area filter 52, and the target pixel face the black solid area of black characters, the pixel value of the target pixel is 255 (white). )become. This is because the sum of the weighting coefficients of the large area filter 51 and the sum of the weighting coefficients of the small area filter 52 are equal, the difference value of equation (1) is 0, and this difference value is 255 according to equation (5). This is because it is converted into the pixel value shown.

図6(b)に示されるように、小領域フィルタ52の全域と注目画素とが黒色ベタ領域に対向しているものの、大領域フィルタ51が黒色ベタ領域と白色ベタ領域(白色下地)との両方に対向しているとき、色材量抑制部12から出力される注目画素の画素値は255未満の値になる。これは、図6(b)に示されるような状況ではRm>Rnとなることから式(1)の差分値は0より大きな値になり、その結果、式(5)にて得られる画素値は255未満の値になるからである。   As shown in FIG. 6B, although the entire region of the small region filter 52 and the target pixel are opposed to the black solid region, the large region filter 51 has a black solid region and a white solid region (white background). When both face each other, the pixel value of the target pixel output from the color material amount suppression unit 12 is a value less than 255. This is because, in the situation as shown in FIG. 6B, Rm> Rn, so that the difference value of Equation (1) is larger than 0, and as a result, the pixel value obtained by Equation (5) This is because the value becomes less than 255.

また、図6(b)に示されるような状況の場合、注目画素が文字の輪郭に近づくほどRmの値が大きくなる。それゆえ、黒文字領域においては、輪郭に近い画素ほど画素値が小さくなり、その結果、文字の輪郭から文字の内側に向かうにつれて段階的に濃度が低下することになる。   In the situation as shown in FIG. 6B, the value of Rm increases as the target pixel approaches the outline of the character. Therefore, in the black character region, the pixel value becomes smaller as the pixel is closer to the contour, and as a result, the density gradually decreases from the character contour toward the inside of the character.

図6(c)に示されるように、小領域フィルタ52の全域と注目画素とが白色ベタ領域に対向しているものの、大領域フィルタ51が黒色ベタ領域と白色ベタ領域との両方に対向しているとき、色材量抑制部12から出力される注目画素の画素値は255(白)になる。これは、図6(c)に示されるような状況ではRn>Rmとなり、式(1)にて得られる差分値は負になるが、負の値は使用不可能な値であるため差分値は0に補正され、この差分値は式(5)によって255を示す画素値に変換されるからである。   As shown in FIG. 6C, the entire region of the small region filter 52 and the target pixel face the white solid region, but the large region filter 51 faces both the black solid region and the white solid region. The pixel value of the target pixel output from the color material amount suppression unit 12 is 255 (white). This is because, in the situation shown in FIG. 6C, Rn> Rm, and the difference value obtained by Equation (1) is negative, but the negative value is an unusable value, so the difference value Is corrected to 0, and this difference value is converted into a pixel value indicating 255 by Equation (5).

図6(d)に示されるように、大領域フィルタ51の全域と小領域フィルタ52の全域と注目画素とが白色ベタ領域に対向しているとき、色材量抑制部12から出力される注目画素の画素値は255(白)になる。これは、大領域フィルタ51の重み付け係数の総和と小領域フィルタ52の重み付け係数の総和とが等しいため、式(1)の差分値が0になり、この差分値は式(5)によって255を示す画素値に変換されるからである。   As shown in FIG. 6D, when the entire area of the large area filter 51, the entire area of the small area filter 52, and the target pixel are opposed to the white solid area, the attention output from the color material amount suppressing unit 12 is performed. The pixel value of the pixel is 255 (white). This is because the sum of the weighting coefficients of the large area filter 51 and the sum of the weighting coefficients of the small area filter 52 are equal, the difference value of the equation (1) becomes 0, and this difference value is 255 according to the equation (5). This is because it is converted into the pixel value shown.

以上のことからすれば、画像データが加法混色の場合でも、大領域フィルタ51の全域が黒ベタ領域に対向している場合は注目画素の画素値は白を示す値になり、大領域フィルタ51の全域が白ベタ領域に対向している場合も注目画素の画素値は白を示す値になる。そして、大領域フィルタ51が黒文字の輪郭を跨いでいる場合(図6(b)の場合)、注目画素の画素値は白を示す値以外の値(255未満)になる。それゆえ、白ベタ領域は白が維持され、黒ベタ領域は白色に変換され、文字の輪郭がラインとして残存することになる。   From the above, even when the image data is additive color mixture, if the entire area of the large area filter 51 faces the black solid area, the pixel value of the target pixel becomes a value indicating white, and the large area filter 51 The pixel value of the target pixel is also a value indicating white even when the whole area of the pixel faces the white solid region. When the large area filter 51 straddles the outline of the black character (in the case of FIG. 6B), the pixel value of the target pixel becomes a value other than the value indicating white (less than 255). Therefore, the white solid area is maintained white, the black solid area is converted to white, and the outline of the character remains as a line.

以上示した構成において、小領域処理部32は、N×N画素からなる領域(小領域)についての画素値の積和値Rnを求め、大領域処理部31は、M×M画素からなる領域(大領域)についての画素値の積和値Rmを求めている。そして、画素値出力部35は、画像データが減法混色の場合、式(2)にて得られる差分値が小さいほど濃度の低い画素値を注目画素の画素値として出力し、画像データが加法混色の場合、式(1)にて得られる差分値が小さいほど濃度の低い画素値を注目画素の画素値として出力している。また、小領域処理部32は、N×N画素からなる領域に属する各画素の画素値に掛けられる各重み付け係数を定めた小領域フィルタ52を用いて積和値Rnを求め、大領域処理部31は、M×M画素からなる領域に属する各画素の画素値に掛けられる各重み付け係数を定めた大領域フィルタ51を用いて積和値Rmを求めている。そして、小領域フィルタ52および大領域フィルタ51の各重み付け係数は、小領域フィルタ52の各重み付け係数の総和と大領域フィルタ51の各重み付け係数の総和とが等しくなるように定められている。このよ
うな構成によれば、処理対象となる画像にベタ部分(例えば太文字)が含まれている場合、当該部分の輪郭から内側に向かうにつれて濃度が段階的に低下して当該部分の中央が白(無地)になるように、前記画像を補正することが可能になる。
In the configuration described above, the small region processing unit 32 obtains a product sum value Rn of pixel values for a region (small region) composed of N × N pixels, and the large region processing unit 31 represents a region composed of M × M pixels. The product sum Rm of pixel values for (large region) is obtained. Then, when the image data is subtractive color mixture, the pixel value output unit 35 outputs the pixel value having a lower density as the pixel value of the target pixel as the difference value obtained by Expression (2) is smaller, and the image data is additive color mixture. In this case, the smaller the difference value obtained by Equation (1), the lower the pixel value is output as the pixel value of the target pixel. The small region processing unit 32 obtains the product sum value Rn by using the small region filter 52 that determines each weighting coefficient to be applied to the pixel value of each pixel belonging to the region composed of N × N pixels, and the large region processing unit No. 31 obtains the product sum value Rm using a large area filter 51 that defines each weighting coefficient to be multiplied to the pixel value of each pixel belonging to the area composed of M × M pixels. The weighting coefficients of the small area filter 52 and the large area filter 51 are determined so that the sum of the weighting coefficients of the small area filter 52 is equal to the sum of the weighting coefficients of the large area filter 51. According to such a configuration, when a solid portion (for example, bold text) is included in the image to be processed, the density gradually decreases as it goes inward from the contour of the portion, and the center of the portion becomes The image can be corrected so as to be white (solid).

なお、小領域フィルタ52の各重み付け係数の総和と大領域フィルタ51の各重み付け係数の総和とが僅かにずれていても、処理対象の画像にベタ部分がある場合において当該部分の輪郭から内側に向かうにつれて濃度が段階的に低下するような効果が得られるようであれば、小領域フィルタ52の各重み付け係数の総和と大領域フィルタ51の各重み付け係数の総和とは実質的に等しいといえる。   Even if the sum of the weighting coefficients of the small area filter 52 and the sum of the weighting coefficients of the large area filter 51 are slightly shifted, if there is a solid part in the image to be processed, the outline of the part is inward. If the effect of decreasing the density stepwise as it goes is obtained, it can be said that the sum of the weighting coefficients of the small area filter 52 and the sum of the weighting coefficients of the large area filter 51 are substantially equal.

例えば、小領域フィルタ52の各重み付け係数の総和と大領域フィルタ51の各重み付け係数の総和との誤差が1の場合に調整演算部34にて求められる調整後差分値と、前記誤差がゼロの場合に調整演算部34にて求められる調整後差分値とが一致するような場合、両総和の誤差が1あっても両総和は実質的に等しいと考えられる。より具体的に説明すると、画像データのビット数が8であって、ベタ画像の中心に位置する画素を注目画素としてRnおよびRmを算出する場合、前記誤差が1あれば、RnとRmとは最大で255ずれることがある。しかし、通常、調整演算部34にて求められる調整後差分値の小数点以下の値が四捨五入されるようにシステム構築されるため、調整係数が1/512以下であれば前記誤差が1の場合とゼロの場合とで最終的に出力される調整後差分値は一致することになる。   For example, when the error between the sum of the weighting coefficients of the small area filter 52 and the sum of the weighting coefficients of the large area filter 51 is 1, the adjusted difference value obtained by the adjustment calculation unit 34 and the error is zero. In such a case, if the difference value after adjustment obtained by the adjustment calculation unit 34 matches, even if there is an error in both sums, it is considered that both sums are substantially equal. More specifically, when Rn and Rm are calculated with the number of bits of image data being 8 and a pixel located at the center of the solid image as a target pixel, if the error is 1, Rn and Rm are There may be a deviation of up to 255. However, since the system is normally constructed so that the value after the decimal point of the adjusted difference value obtained by the adjustment calculation unit 34 is rounded off, if the adjustment coefficient is 1/512 or less, the error is 1. The adjusted difference value that is finally output in the case of zero matches.

また、本実施形態の入力画像データはRGBのデータまたはCMYKのデータであるため、以上の色材量抑制部12による処理は色チャンネル毎(色成分毎)に行われることになる。そして、大領域フィルタ51および小領域フィルタ52内の重み付け係数は、色チャンネル毎で切り替えられてもよいし、各色成分で互いに同一としてもよい。そして、色チャンネル毎で重み付け係数を切り替える構成では、入力画像データがスキャナから読み取られたデータである場合に、光学系の特性などが原因で色チャンネルごとに解像力のばらつきがあると、これを抑えることが可能となる。例えば、図11に示す大領域フィルタ51bおよび小領域フィルタ52bは、解像力の低い色チャンネル向けのフィルタ(平滑度の低いフィルタ)である。   In addition, since the input image data of the present embodiment is RGB data or CMYK data, the above processing by the color material amount suppression unit 12 is performed for each color channel (each color component). The weighting coefficients in the large area filter 51 and the small area filter 52 may be switched for each color channel or may be the same for each color component. In the configuration in which the weighting coefficient is switched for each color channel, when the input image data is data read from the scanner, if there is a variation in resolution for each color channel due to the characteristics of the optical system, this is suppressed. It becomes possible. For example, the large area filter 51b and the small area filter 52b shown in FIG. 11 are filters for color channels with low resolving power (filters with low smoothness).

また、特許文献1においては、エッジ部分ではパターン変更をさせずに、それ以外でパターン変更を行う場合、そのパターン変更は1種類しかないため、その境目でのギャップが目立つとともに、充分な印刷材料の削減効果が望めない可能性がある。これに対し、本実施の形態では、各サイズの異なるフィルタによる加重的な値を用いることで、画像データ中のノイズや網点パターンなどに耐性のある出力結果を得ることが可能となり、印刷材料削減画像を生成する上で、網点パターンを意識することなく、特に文字部分に関して比較的単純なフィルタ処理を行うことで、良好な文字の判読性とトナー削減効果の両立が図れる。   Further, in Patent Document 1, when the pattern is changed at the edge portion without changing the pattern, since there is only one type of pattern change, the gap at the boundary is conspicuous and sufficient printing material is used. The reduction effect may not be expected. In contrast, in the present embodiment, it is possible to obtain an output result that is resistant to noise, halftone dot patterns, and the like in the image data by using weighted values by filters of different sizes. When generating a reduced image, it is possible to achieve both good character readability and toner reduction effect by performing relatively simple filter processing, particularly on the character portion, without being aware of the halftone dot pattern.

また、図17(a)および図17(b)に示したように、色材量抑制部12による処理が施された後の出力画像においては黒文字の輪郭(エッジ)から内側に向かうにつれて段階的に濃度が低下しているが、この理由を以下に説明する。   In addition, as shown in FIGS. 17A and 17B, the output image after the processing by the color material amount suppressing unit 12 is stepped inward from the outline (edge) of the black character. The reason for this is explained below.

なお、図17(a)および図17(b)の画像は減法混色且つ8ビットの画像データからなるものとする。また、図17(a)において、X座標が1〜7の画素はK(黒)の値が255である。なお、図17(a)において、図示されていないが、Y座標が1より小さい領域およびY座標が8以上の領域も、X座標が1〜7の画素はK(黒)の値が255であるものとする。また、図17(a)において、X座標が8〜14の全画素はKの値が0であるものとする。なお、図17(a)において、図示されていないが、Y座標が1よ
り小さい領域およびY座標が8以上の領域も、X座標が1〜7の画素はK(黒)の値が0であるものとする。さらに、図17(a)および図17(b)の画像では、X=7の画素が黒文字の輪郭(エッジ)に相当し、X軸に平行な方向であってX=7の画素からX=1の画素へ向かう方向が黒文字の輪郭から内側に向かう方向である。
It is assumed that the images in FIGS. 17A and 17B are subtractive color and 8-bit image data. Also, in FIG. 17A, the value of K (black) is 255 for the pixels whose X coordinates are 1 to 7. In FIG. 17A, although not shown in the figure, the area where the Y coordinate is smaller than 1 and the area where the Y coordinate is 8 or more have a K (black) value of 255 for the pixels whose X coordinate is 1 to 7. It shall be. Further, in FIG. 17A, it is assumed that the value of K is 0 for all pixels whose X coordinates are 8 to 14. In FIG. 17A, although not shown in the figure, the area where the Y coordinate is smaller than 1 and the area where the Y coordinate is 8 or more also have a K (black) value of 0 for the pixels whose X coordinate is 1 to 7. It shall be. Further, in the images of FIGS. 17A and 17B, X = 7 pixels correspond to the outline (edge) of the black character, and the direction parallel to the X axis and X = 7 pixels A direction toward one pixel is a direction toward the inside from the outline of the black character.

まず、色材量抑制部12が、図17(a)の画像に対して、図4の大領域フィルタ51および小領域フィルタ52を用いて図3の処理を施すと(調整係数は1/85とする)、注目画素のX座標の値が4〜11である画素のRn,Rm,差分値,調整後差分値は図17(c)に示される値になる。なお、注目画素のX座標の値が8〜10の画素について、前記差分値は負の値になる。しかし、前記差分値が負の値の場合、当該差分値はゼロに補正されるため、図17(c)のように、調整後差分値もゼロになる。   First, when the color material amount suppression unit 12 performs the process of FIG. 3 on the image of FIG. 17A using the large area filter 51 and the small area filter 52 of FIG. 4 (the adjustment coefficient is 1/85). ), The Rn, Rm, difference value, and adjusted difference value of the pixel whose X coordinate value of the target pixel is 4 to 11 are the values shown in FIG. Note that the difference value is a negative value for a pixel whose X coordinate value of the target pixel is 8 to 10. However, when the difference value is a negative value, the difference value is corrected to zero, so that the adjusted difference value is also zero as shown in FIG.

なお、図17(c)は、Y座標が4であってX座標が4〜11である各画素についての演算結果を示したものであるが、Y座標が4以外の領域においてもX座標が4〜11である各画素について同様の結果が得られる。   FIG. 17C shows the calculation result for each pixel having a Y coordinate of 4 and an X coordinate of 4 to 11, but the X coordinate is also obtained in a region other than the Y coordinate of 4. Similar results are obtained for each pixel 4-11.

そして、図17(c)に示される結果に基づいて図17(b)の画像が出力されることになる。ここで、図17(b)および図17(c)から明らかであるが、出力画像において、X=7の画素が最も濃度が高く、X=6の画素はX=7の画素の次に濃度が高く、X=5の画素はX=6の画素の次に濃度が高く、X=4の画素は最低濃度(白)になる。つまり、出力画像においては、黒文字の輪郭から内側に向けて黒文字の濃度が段階的に(グラデーション状に)低下していることになる。   Then, based on the result shown in FIG. 17C, the image of FIG. 17B is output. Here, as apparent from FIGS. 17B and 17C, in the output image, the pixel with X = 7 has the highest density, and the pixel with X = 6 has the density next to the pixel with X = 7. The pixel with X = 5 has the next highest density after the pixel with X = 6, and the pixel with X = 4 has the lowest density (white). In other words, in the output image, the density of the black characters decreases stepwise (in a gradation) from the outline of the black characters toward the inside.

なお、図17(b)には示されていないが、Y座標が1より小さい領域およびY座標が8以上の領域においても、Y座標が1〜7の領域と同じグラデーションパターンが形成されることになる。   Although not shown in FIG. 17 (b), the same gradation pattern as the region having the Y coordinate of 1 to 7 is formed even in the region where the Y coordinate is smaller than 1 and the region where the Y coordinate is 8 or more. become.

また、グラデーションの状態は、フィルタサイズ、フィルタ係数、調整演算部34の調整係数によって変化する。さらに、大領域フィルタ51のサイズと小領域フィルタ52のサイズとの差に応じて、グラデーションの段階数が変化する。例えば、M×M画素の大領域フィルタ51とN×N画素の小領域フィルタ52とのサイズの差の指標値をM−Nとする場合、グラデーションの段階数はM−Nが大きくなるほど多くなる。例えば、図4の大領域フィルタ51および小領域フィルタ52の組み合わせの場合、M−Nは4となり、図17(b)のようにグラデーションの段階数が3になる。また、大領域フィルタが9×9画素サイズで、小領域フィルタが3×3画素サイズの場合、M−Nは6となり、グラデーションの段階数が4になる。さらに、大領域フィルタが13×13画素サイズで、小領域フィルタが5×5画素サイズの場合、M−Nは8となり、グラデーションの段階数が5になる。   The gradation state varies depending on the filter size, the filter coefficient, and the adjustment coefficient of the adjustment calculation unit 34. Furthermore, the number of gradation steps changes according to the difference between the size of the large area filter 51 and the size of the small area filter 52. For example, when the index value of the size difference between the large area filter 51 of M × M pixels and the small area filter 52 of N × N pixels is MN, the number of gradation steps increases as MN increases. . For example, in the case of the combination of the large area filter 51 and the small area filter 52 in FIG. 4, MN is 4, and the number of gradation steps is 3 as shown in FIG. When the large area filter is 9 × 9 pixels and the small area filter is 3 × 3 pixels, MN is 6 and the number of gradation steps is 4. Further, when the large region filter has a size of 13 × 13 pixels and the small region filter has a size of 5 × 5 pixels, MN is 8 and the number of gradation steps is 5.

また、図17(a)の画像が加法混色の画像データからなる場合、Rn,Rm,差分値,調整後差分値は図17(d)のようになる。   When the image in FIG. 17A is composed of additive color mixture image data, Rn, Rm, the difference value, and the adjusted difference value are as shown in FIG.

〔実施の形態2〕
実施の形態1では、大領域フィルタ51を用いて積和値Rmを求める演算と、小領域フィルタ52を用いて積和値Rnを求める演算と、RmとRnとの差分値を求める演算と、当該差分値に対して調整係数を乗じることにより調整後差分値を求める演算とを行っている。そして、前記差分値は、画像データが加法混色の場合はRm−Rnであり、画像データが減法混色の場合はRn−Rmである。
[Embodiment 2]
In the first embodiment, an operation for obtaining the product-sum value Rm using the large region filter 51, an operation for obtaining the product-sum value Rn using the small region filter 52, an operation for obtaining a difference value between Rm and Rn, The difference value is multiplied by an adjustment coefficient to obtain an adjusted difference value. The difference value is Rm−Rn when the image data is additive color mixture, and is Rn−Rm when the image data is subtractive color mixture.

これに対し、大領域フィルタ51と小領域フィルタ52との互いに対応する位置同士に
おいて、大領域フィルタ51の重み付け係数と小領域フィルタ52の重み付け係数と前記調整係数とを纏めた係数を予め算出しておき、この係数を重み付け係数としたフィルタを用いて前記調整後差分値に相当する値を求めるようにしてもよい。つまり、大領域フィルタ51と小領域フィルタ52とを纏めることによって単一の重み付けフィルタを作成するのである。以下ではこの重み付けフィルタの作成手法から説明する。なお、以下の説明では、大領域フィルタ51の重み付け係数を第1係数と称し、小領域フィルタ52の重み付け係数を第2係数と称する。
On the other hand, a coefficient in which the weighting coefficient of the large area filter 51, the weighting coefficient of the small area filter 52, and the adjustment coefficient are calculated in advance at positions corresponding to each other in the large area filter 51 and the small area filter 52. In addition, a value corresponding to the adjusted difference value may be obtained using a filter using this coefficient as a weighting coefficient. That is, a single weighting filter is created by combining the large area filter 51 and the small area filter 52. Hereinafter, this weighting filter creation method will be described. In the following description, the weighting coefficient of the large area filter 51 is referred to as a first coefficient, and the weighting coefficient of the small area filter 52 is referred to as a second coefficient.

まず、加法混色の画像データ用の重み付けフィルタの作成手法について説明する。図4に示す大領域フィルタ51と小領域フィルタ52との互いに対応する位置同士において、第1係数から第2係数を引くことによって差分を求め、当該差分に対して調整係数(1/85)を乗じて得られる値を第3係数とする。なお、大領域フィルタ51の各位置のうち、対応する小領域フィルタ52の位置がないものについては第2係数を0として計算する。   First, a method for creating a weighting filter for additive color mixture image data will be described. A difference is obtained by subtracting the second coefficient from the first coefficient at positions corresponding to each other of the large area filter 51 and the small area filter 52 shown in FIG. 4, and an adjustment coefficient (1/85) is calculated for the difference. The value obtained by multiplication is taken as the third coefficient. Of the positions of the large area filter 51, those having no corresponding small area filter 52 are calculated with the second coefficient set to zero.

例えば、大領域フィルタ51の中心位置と小領域フィルタ52の中心位置とは互いに対応し、図4に示すように、大領域フィルタ51の中心位置の第1係数は48であり、小領域フィルタ52の中心位置の第2係数は220である。それゆえ、(48−220)×(1/85)を演算することで、中心位置の第3係数として−2.024が求められる。   For example, the center position of the large area filter 51 and the center position of the small area filter 52 correspond to each other, and the first coefficient of the center position of the large area filter 51 is 48 as shown in FIG. The second coefficient at the center position of 220 is 220. Therefore, by calculating (48−220) × (1/85), −2.024 is obtained as the third coefficient of the center position.

また、大領域フィルタ51の中心位置の右隣位置と小領域フィルタ52の中心位置の右隣位置とは互いに対応し、図4に示すように、大領域フィルタ51の中心位置の右隣位置の第1係数は17であり、小領域フィルタ52の中心位置の右隣位置の第2係数は24である。それゆえ、(17−24)×(1/85)を演算することで、前記右隣位置の第3係数として−0.082が求められる。   Further, the right adjacent position of the center position of the large area filter 51 and the right adjacent position of the center position of the small area filter 52 correspond to each other, and as shown in FIG. The first coefficient is 17, and the second coefficient at the position right next to the center position of the small region filter 52 is 24. Therefore, by calculating (17-24) × (1/85), −0.082 is obtained as the third coefficient at the right adjacent position.

さらに、図4に示すように、大領域フィルタ51の頂点位置には第1係数として1が設定されているが、この頂点位置には、対応する小領域フィルタ52の位置が存在しない。それゆえ、(1−0)×(1/85)を演算することで、前記頂点位置の第3係数として0.012が求められる。   Furthermore, as shown in FIG. 4, 1 is set as the first coefficient at the vertex position of the large area filter 51, but the position of the corresponding small area filter 52 does not exist at this vertex position. Therefore, by calculating (1-0) × (1/85), 0.012 is obtained as the third coefficient of the vertex position.

以上のようにして大領域フィルタ51の位置毎に第3係数を求めていき、求めた全ての第3係数を重み付け係数として定めた第1重み付けフィルタを作成する。第1重み付けフィルタの一例を図10に示す。   As described above, the third coefficient is obtained for each position of the large area filter 51, and a first weighting filter in which all the obtained third coefficients are determined as weighting coefficients is created. An example of the first weighting filter is shown in FIG.

なお、大領域フィルタ51の係数の総和と小領域フィルタ52の係数の総和とは等しいため、第1重み付けフィルタの係数の総和は通常はゼロになる。しかし、以上にて示した演算例にように第3係数の小数点以下の値を四捨五入する場合、第1重み付けフィルタの係数の総和がゼロから僅かにずれた値になる場合がある。以上の演算例においても、第3係数の小数点以下第4位を四捨五入しているため、第1重み付けフィルタの係数の総和は0.008になってしまう。そこで、第1重み付けフィルタの係数の総和がゼロになるように、第1重み付けフィルタ内の係数の調整を行う。例えば、上述の演算例では、大領域フィルタ51および小領域フィルタ52から作成される第1重み付けフィルタにおいて、中心位置の係数は−2.024となるが、この中心位置の係数を−2.024から−2.032に変更(補正)することで、第1重み付けフィルタの係数の総和をゼロにできる。なお、図10の第1重み付けフィルタ53は、大領域フィルタ51および小領域フィルタ52から作成されたものであって、中心位置の係数を−2.024から−2.032に変更したものである。   Since the sum of the coefficients of the large area filter 51 is equal to the sum of the coefficients of the small area filter 52, the sum of the coefficients of the first weighting filter is usually zero. However, when the value after the decimal point of the third coefficient is rounded off as in the calculation example described above, the sum of the coefficients of the first weighting filter may be slightly deviated from zero. Also in the above calculation example, since the third decimal place of the third coefficient is rounded off, the sum of the coefficients of the first weighting filter is 0.008. Therefore, the coefficients in the first weighting filter are adjusted so that the sum of the coefficients of the first weighting filter becomes zero. For example, in the above calculation example, in the first weighting filter created from the large area filter 51 and the small area filter 52, the coefficient at the center position is −2.024, but the coefficient at the center position is −2.024. By changing (correcting) from -2.032, the sum of the coefficients of the first weighting filter can be made zero. The first weighting filter 53 in FIG. 10 is created from the large area filter 51 and the small area filter 52, and the coefficient of the center position is changed from −2.024 to −2.032. .

また、係数の調整位置は中心位置に限定されるものではない。例えば、上述の演算例に
基づいて大領域フィルタ51および小領域フィルタ52から作成した第1重み付けフィルタにおいて、中心位置の係数を−2.024にしたままで、各頂点位置の係数を0.012から0.010に変更しても、第1重み付けフィルタの係数の総和をゼロにできる。また、第1重み付けフィルタの各重み付け係数の総和がゼロから僅かにずれた値であっても各重み付け係数の総和が実質的にゼロであるような場合は、第1重み付けフィルタの係数の総和をゼロにする必要はない。各重み付け係数の総和は実質的にゼロである場合については後に詳述する。
The coefficient adjustment position is not limited to the center position. For example, in the first weighting filter created from the large area filter 51 and the small area filter 52 based on the above calculation example, the coefficient at each vertex position is set to 0.012 while the coefficient at the center position is kept at −2.024. Even if the value is changed from 0.010 to 0.010, the sum of the coefficients of the first weighting filter can be made zero. If the sum of the weighting coefficients of the first weighting filter is a value slightly deviated from zero, if the sum of the weighting coefficients is substantially zero, the sum of the coefficients of the first weighting filter is There is no need to make it zero. The case where the sum of the weighting coefficients is substantially zero will be described in detail later.

つぎに、図10の第1重み付けフィルタ53について説明する。図10の第1重み付けフィルタ53は、大領域フィルタ51と同じサイズ、つまりM×M画素のサイズに対応したものであり、加法混色の画像データに用いられるものである。この第1重み付けフィルタ53は、注目画素を中心とした7×7画素からなるブロックの各画素に対応する各位置を有するものである。そして、第1重み付けフィルタ53の各位置には、各位置に対応する各画素に掛けられる重み付け係数が対応付けられている。さらに、図10の第1重み付けフィルタ53において、符号αにて示される太線より内側の各位置は、注目画素を中心とした3×3画素からなる第1領域の各画素に対応するものである。また、符号αにて示される太線より外側の各位置は、注目画素を中心とした7×7画素からなるブロックにおいて前記第1領域を囲むように配置される領域であり且つ当該ブロックの外周の画素に隣接する画素を含む第2領域の各画素に対応し、正の符号の重み付け係数が対応付けられている。そして、第1重み付けフィルタ53の各重み付け係数は、その総和がゼロになるように設定されている。   Next, the first weighting filter 53 in FIG. 10 will be described. The first weighting filter 53 of FIG. 10 corresponds to the same size as the large area filter 51, that is, the size of M × M pixels, and is used for image data of additive color mixture. The first weighting filter 53 has each position corresponding to each pixel of a block composed of 7 × 7 pixels centered on the target pixel. Each position of the first weighting filter 53 is associated with a weighting coefficient to be applied to each pixel corresponding to each position. Furthermore, in the first weighting filter 53 of FIG. 10, each position inside the thick line indicated by the symbol α corresponds to each pixel in the first region composed of 3 × 3 pixels centered on the target pixel. . Further, each position outside the thick line indicated by the symbol α is an area arranged so as to surround the first area in a block composed of 7 × 7 pixels centered on the target pixel, and on the outer periphery of the block. Corresponding to each pixel in the second region including the pixel adjacent to the pixel, a positive sign weighting coefficient is associated. The weighting coefficients of the first weighting filter 53 are set so that the sum is zero.

つぎに、減法混色の画像データ用の重み付けフィルタの作成手法について説明する。まず、図4に示す大領域フィルタ51と小領域フィルタ52との互いに対応する位置同士において、第2係数から第1係数を引くことによって差分を求め、当該差分に対して調整係数(1/85)を乗じて得られる値を第4係数とする。なお、大領域フィルタ51の各位置のうち、対応する小領域フィルタ52の位置がないものについては第2係数を0として計算する。   Next, a method for creating a weighting filter for subtractive color image data will be described. First, a difference is obtained by subtracting the first coefficient from the second coefficient at positions corresponding to each other in the large area filter 51 and the small area filter 52 shown in FIG. 4, and an adjustment coefficient (1/85) is obtained with respect to the difference. ) Is used as the fourth coefficient. Of the positions of the large area filter 51, those having no corresponding small area filter 52 are calculated with the second coefficient set to zero.

図4に示す例においては、大領域フィルタ51の中心位置の第1係数は48であり、小領域フィルタ52の中心位置の第2係数は220である。それゆえ、(220−48)×(1/85)を演算することで、中心位置の第4係数として2.024が求められる。また、大領域フィルタ51の頂点位置には第1係数として1が設定されているが、この頂点位置には、対応する小領域フィルタ52の位置が存在しない。それゆえ、(0−1)×(1/85)を演算することで、第4係数として−0.012が求められる。   In the example shown in FIG. 4, the first coefficient at the center position of the large area filter 51 is 48, and the second coefficient at the center position of the small area filter 52 is 220. Therefore, by calculating (220−48) × (1/85), 2.024 is obtained as the fourth coefficient of the center position. Further, although 1 is set as the first coefficient at the vertex position of the large area filter 51, the position of the corresponding small area filter 52 does not exist at this vertex position. Therefore, by calculating (0-1) × (1/85), −0.012 is obtained as the fourth coefficient.

このようにして大領域フィルタ51の各位置毎に第4係数を求めていき、求めた全ての第4係数を重み付け係数として定めた第2重み付けフィルタを作成する。第2重み付けフィルタの一例を図10に示す。   In this way, the fourth coefficient is obtained for each position of the large area filter 51, and a second weighting filter is created in which all the obtained fourth coefficients are determined as weighting coefficients. An example of the second weighting filter is shown in FIG.

なお、大領域フィルタ51の係数の総和と小領域フィルタ52の係数の総和とは等しいため、第2重み付けフィルタの係数の総和は通常はゼロになる。しかし、以上にて示した演算例にように第4係数の小数点以下の値を四捨五入する場合、第2重み付けフィルタの係数の総和がゼロにならない場合がある。以上の演算例においても、第4係数の小数点以下第4位を四捨五入しているため、第2重み付けフィルタの係数の総和は−0.008になってしまう。そこで、第1重み付けフィルタの場合と同様、第2重み付けフィルタの係数の総和がゼロになるように、第2重み付けフィルタ内の係数の調整を行う。なお、図10の第2重み付けフィルタ54は、大領域フィルタ51および小領域フィルタ52から作成されたものであって、係数の総和がゼロになるように中心位置の係数を2.024から2.032に変更したものである。   Since the sum of the coefficients of the large area filter 51 is equal to the sum of the coefficients of the small area filter 52, the sum of the coefficients of the second weighting filter is usually zero. However, when the value after the decimal point of the fourth coefficient is rounded off as in the calculation example described above, the sum of the coefficients of the second weighting filter may not be zero. In the above calculation example as well, since the fourth decimal place of the fourth coefficient is rounded off, the sum of the coefficients of the second weighting filter becomes −0.008. Therefore, as in the case of the first weighting filter, the coefficients in the second weighting filter are adjusted so that the sum of the coefficients of the second weighting filter becomes zero. The second weighting filter 54 in FIG. 10 is created from the large area filter 51 and the small area filter 52, and the coefficient at the center position is set to 2.024 to 2. It is changed to 032.

また、第2重み付けフィルタにおいて係数の調整位置が中心位置に限定されるものでない事は第1重み付けフィルタの場合と同様である。また、第2重み付けフィルタの各重み付け係数の総和が実質的にゼロであるような場合は係数の総和をゼロにする必要はない事も、第1重み付けフィルタの場合と同様である。   The coefficient adjustment position in the second weighting filter is not limited to the center position, as in the case of the first weighting filter. Similarly to the case of the first weighting filter, it is not necessary to make the sum of the coefficients zero when the sum of the weighting coefficients of the second weighting filter is substantially zero.

つぎに、図10の第2重み付けフィルタ54について説明する。第2重み付けフィルタ54は、注目画素を中心とした7×7画素からなるブロックの各画素に対応する各位置を有するものである。そして、第2重み付けフィルタ54の各位置には、各位置に対応する各画素に掛けられる重み付け係数が対応付けられている。さらに、図10の第2重み付けフィルタ54において、符号βにて示される太線より内側の各位置は、注目画素を中心とした3×3画素からなる第1領域の各画素に対応するものである。また、符号βにて示される太線より外側の各位置は、注目画素を中心とした7×7画素からなるブロックにおいて前記第1領域を囲むように配置される領域であり且つ当該ブロックの外周の画素に隣接する画素を含む第2領域の各画素に対応し、負の符号の重み付け係数が対応付けられている。そして、第2重み付けフィルタ54の各重み付け係数は、その総和がゼロになるように設定されている。   Next, the second weighting filter 54 in FIG. 10 will be described. The 2nd weighting filter 54 has each position corresponding to each pixel of the block which consists of a 7x7 pixel centering on an attention pixel. Each position of the second weighting filter 54 is associated with a weighting coefficient to be applied to each pixel corresponding to each position. Furthermore, in the second weighting filter 54 of FIG. 10, each position inside the thick line indicated by the symbol β corresponds to each pixel in the first region composed of 3 × 3 pixels centered on the target pixel. . Further, each position outside the thick line indicated by the symbol β is an area arranged so as to surround the first area in a block of 7 × 7 pixels centered on the target pixel, and on the outer periphery of the block. A negative sign weighting coefficient is associated with each pixel in the second region including the pixel adjacent to the pixel. Each weighting coefficient of the second weighting filter 54 is set so that the sum thereof becomes zero.

以上のような第1重み付けフィルタ53または第2重み付けフィルタ54を用いてM×M画素からなる領域の画素値の積和値Rm´を求めた場合、積和値Rm´は、実施の形態1の調整後差分値と等しい値になる。それゆえ、第1重み付けフィルタ53または第2重み付けフィルタ54を用いることによって積和値Rm´(調整後差分値と等しい値)を求めれば、大領域フィルタ51および小領域フィルタ52の両フィルタを用いて調整後差分値を求める実施の形態1よりも、使用するフィルタ数を削減できるため、演算工程を大幅に削減できる。   When the product sum value Rm ′ of the pixel values of the region composed of M × M pixels is obtained using the first weighting filter 53 or the second weighting filter 54 as described above, the product sum value Rm ′ is determined as the first embodiment. It becomes a value equal to the adjusted difference value. Therefore, if the product sum value Rm ′ (a value equal to the adjusted difference value) is obtained by using the first weighting filter 53 or the second weighting filter 54, both the large region filter 51 and the small region filter 52 are used. Thus, since the number of filters to be used can be reduced as compared with the first embodiment for obtaining the adjusted difference value, the calculation process can be greatly reduced.

なお、積和値Rm´は下記数3によって求められる。〔数3〕のKijは第1重み付けフィルタ53または第2重み付けフィルタ54のi行且つj列目の位置にある重み付け係数を示し、〔数3〕のIijは第1重み付けフィルタ53または第2重み付けフィルタ54のi行且つj列目の位置に対応する画素の画素値を示す。 The product-sum value Rm ′ is obtained by the following formula 3. K ij in [ Expression 3] indicates a weighting coefficient at the position of the i-th row and the j-th column of the first weighting filter 53 or the second weighting filter 54, and I ij in [ Expression 3] indicates the first weighting filter 53 or the first weighting filter 53. The pixel value of the pixel corresponding to the position of i row and j column of the 2 weighting filter 54 is shown.

Figure 0005122507
Figure 0005122507

つまり、積和値Rm´とは、M×M画素からなる領域の各画素について、画素値と重み付け係数とを乗じることで画素値に対して重み付けを行い、重み付け後の画素値を合計(総計,累計)した値である。 That is, the product-sum value Rm ′ is obtained by weighting the pixel value by multiplying the pixel value and the weighting coefficient for each pixel in the region of M × M pixels, and summing the weighted pixel values (total , Cumulative).

つぎに、第1重み付けフィルタ53または第2重み付けフィルタ54を用いて画像処理する場合の色材量抑制部12の構成例を説明する。図7は、実施の形態2における色材量抑制部12の内部構成例を示したブロック図である。本実施形態では、色材量抑制部12は、図7に示されるように、フィルタ選択部71、積和値算出部72、画素値出力部73を有している。   Next, a configuration example of the color material amount suppression unit 12 when image processing is performed using the first weighting filter 53 or the second weighting filter 54 will be described. FIG. 7 is a block diagram illustrating an internal configuration example of the color material amount suppressing unit 12 according to the second embodiment. In the present embodiment, the color material amount suppression unit 12 includes a filter selection unit 71, a product sum calculation unit 72, and a pixel value output unit 73, as shown in FIG.

フィルタ選択部71は、入力画像データの色空間を判定し、判定結果に応じたフィルタを選択するブロックである。より具体的に説明すると、フィルタ選択部71は、入力画像データが加法混色のデータである場合は図10に示す第1重み付けフィルタ53を選択し、入力画像データが減法混色のデータである場合は図10に示す第2重み付けフィルタ5
4を選択するようになっている。
The filter selection unit 71 is a block that determines the color space of the input image data and selects a filter according to the determination result. More specifically, the filter selection unit 71 selects the first weighting filter 53 shown in FIG. 10 when the input image data is additive color mixture data, and when the input image data is subtractive color mixture data. Second weighting filter 5 shown in FIG.
4 is selected.

積和値算出部72は、フィルタ選択部71にて選択されたフィルタを用いて積和値Rm´を算出し、算出した積和値Rm´を画素値出力部73に伝送するブロックである。但し、積和値算出部72は、算出された積和値Rm´がビット数との関係から使用不可能な値である場合、差分算出部33にて行われる補正と同じ補正を積和値Rm´に対して行い、補正後の積和値Rm´を画素値出力部73に伝送する。   The product-sum value calculation unit 72 is a block that calculates the product-sum value Rm ′ using the filter selected by the filter selection unit 71 and transmits the calculated product-sum value Rm ′ to the pixel value output unit 73. However, when the calculated product-sum value Rm ′ is an unusable value due to the relationship with the number of bits, the product-sum value calculation unit 72 performs the same correction as the correction performed by the difference calculation unit 33. The correction is performed on Rm ′, and the corrected product-sum value Rm ′ is transmitted to the pixel value output unit 73.

画素値出力部73は、積和値算出部72から送られてくる積和値Rm´に基づいて、注目画素の画素値を出力するブロックである。具体的に、画素値出力部35は、入力画像データが減法混色の画像データである場合、下記の式(6)に従い、積和値Rm´をそのまま注目画素の画素値とする。
減法混色の場合: 画素値=積和値Rm´ 式(6)
これに対し、画素値出力部35は、入力画像データが加法混色の画像データである場合、下記の式(7)を演算することで注目画素の画素値を得る。式(7)における「最高値」は画素値のとり得る数値範囲内の最も高い値を意味し、画像データが8ビットのデータである場合は255となる。なお、本明細書では、前記式(5)による演算の他、下記式(7)による演算も「反転処理」と称することにする。
加法混色の場合: 画素値=最高値−積和値Rm´ 式(7)
なお、画像データが加法混色の場合に反転処理を行う理由は実施の形態1の場合と同様である。
The pixel value output unit 73 is a block that outputs the pixel value of the pixel of interest based on the product sum value Rm ′ sent from the product sum value calculation unit 72. Specifically, when the input image data is subtractive color image data, the pixel value output unit 35 uses the product-sum value Rm ′ as it is as the pixel value of the pixel of interest according to the following equation (6).
In the case of subtractive color mixture: pixel value = product sum value Rm ′ Expression (6)
On the other hand, when the input image data is additive color mixture image data, the pixel value output unit 35 obtains the pixel value of the target pixel by calculating the following equation (7). “Maximum value” in the equation (7) means the highest value within a numerical range that the pixel value can take, and is 255 when the image data is 8-bit data. In this specification, in addition to the calculation according to the equation (5), the calculation according to the following equation (7) is also referred to as “inversion processing”.
In the case of additive color mixture: pixel value = maximum value−product sum value Rm ′ Expression (7)
Note that the reason for performing the reversal process when the image data is additive color mixture is the same as in the first embodiment.

つぎに、本実施形態の色材量抑制部12の処理順序を図8に基づいて説明する。図8は、実施の形態2における色材量抑制部12の処理の順序を示したフローチャートである。   Next, the processing order of the color material amount suppression unit 12 of this embodiment will be described with reference to FIG. FIG. 8 is a flowchart showing the processing order of the color material amount suppression unit 12 according to the second embodiment.

色材量抑制部12は、画像データを入力すると、入力画像データの色空間を判定する(S11)。そして、色材量抑制部12は、入力画像データが加法混色のデータである場合は図10の第1重み付けフィルタ53を選択し(S17)、入力画像データが減法混色のデータである場合は第2重み付けフィルタ54を選択する(S12)。   When the image data is input, the color material amount suppression unit 12 determines the color space of the input image data (S11). Then, the color material amount suppression unit 12 selects the first weighting filter 53 of FIG. 10 when the input image data is additive color mixture data (S17), and when the input image data is subtractive color mixture data, The 2-weighting filter 54 is selected (S12).

つぎに、色材量抑制部12は、注目画素について、S12またはS17にて選択したフィルタを用いて積和値Rm´を求める(S13)。S13の後、色材量抑制部12は、入力画像データが減法混色のデータである場合(S14にてNo)、積和値Rm´を注目画素の画素値として出力し、処理をS16に移行させる。これに対し、S13の後、色材量抑制部12は、入力画像データが加法混色のデータである場合(S14にてYes)、積和値Rm´に対して反転処理を施し、反転処理にて得られた値を注目画素の画素値として出力し(S15)、処理をS16に移行させる。   Next, the color material amount suppression unit 12 calculates a product sum value Rm ′ for the target pixel using the filter selected in S12 or S17 (S13). After S13, when the input image data is subtractive color mixture data (No in S14), the color material amount suppression unit 12 outputs the product sum value Rm ′ as the pixel value of the target pixel, and the process proceeds to S16. Let On the other hand, after S13, when the input image data is additive color mixture data (Yes in S14), the color material amount suppression unit 12 performs an inversion process on the product sum value Rm ′ and performs the inversion process. The value obtained in this way is output as the pixel value of the target pixel (S15), and the process proceeds to S16.

そして、色材量抑制部12は、入力画像の全ての画素が注目画素として扱われていない場合(S16にてNo)、次の注目画素についてS13以降の処理を行う。これに対し、色材量抑制部12は、入力画像データの全ての画素が注目画素として扱われた場合(S16にてYes)、処理を終了する。   Then, when all the pixels of the input image are not handled as the target pixel (No in S16), the color material amount suppression unit 12 performs the processing from S13 onward for the next target pixel. On the other hand, the color material amount suppression unit 12 ends the process when all the pixels of the input image data are handled as the target pixel (Yes in S16).

以上示したように、本実施の形態では、色材量抑制部12は積和値算出部72および画素値出力部73を含んでいる。そして、積和値算出部72は、第1重み付けフィルタ53または第2重み付けフィルタ54を用いて、注目画素を含む7×7画素からなるブロックについての画素値の積和値Rm´を求めている。また、画素値出力部73は、積和値Rm´が小さいほど濃度の低い画素値を注目画素の画素値として出力していることになる。   As described above, in the present embodiment, the color material amount suppression unit 12 includes the product sum value calculation unit 72 and the pixel value output unit 73. Then, the product-sum value calculation unit 72 uses the first weighting filter 53 or the second weighting filter 54 to obtain a product-sum value Rm ′ of pixel values for a block composed of 7 × 7 pixels including the target pixel. . The pixel value output unit 73 outputs a pixel value having a lower density as the pixel value of the target pixel as the product sum value Rm ′ is smaller.

ここで、積和値Rm´は、上述したように、実施の形態1の調整後差分値と等しい値に
なる。それゆえ、以上の処理においても、実施の形態1と同様の効果を奏することが可能となる。つまり、処理対象となる画像にベタ部分(例えば太文字)が含まれている場合、当該部分の輪郭から内側に向かうにつれて濃度が段階的に低下して当該部分の中央が白(無地)になるように、前記画像を補正することが可能になる。
Here, the product-sum value Rm ′ is equal to the adjusted difference value in the first embodiment as described above. Therefore, the same effects as those of the first embodiment can be obtained in the above processing. That is, when the image to be processed includes a solid part (for example, bold characters), the density gradually decreases as it goes inward from the outline of the part, and the center of the part becomes white (solid). As described above, the image can be corrected.

なお、図10の第1重み付けフィルタ53において、各重み付け係数の総和がゼロから僅かにずれた値であっても、処理対象の画像にベタ部分がある場合において当該部分の輪郭から内側に向かうにつれて濃度が段階的に低下するような効果が得られるようであれば、各重み付け係数の総和は実質的にゼロであるといえる。例えば、画像データのビット数が8であって、重み付けフィルタの重み付け係数が小数点第3位まで有効であり、重み付けフィルタにおいて各重み付け係数の総和が0.001になる場合を想定する。ところが、通常、積和値算出部72にて求められる積和値は小数点以下の値が四捨五入されるようにシステム構築されるため、各重み付け係数の総和が0.001の場合に求められる積和値は、各重み付け係数の総和がゼロの場合に求められる積和値と一致する。それゆえ、各重み付け係数の総和が0.001であっても各重み付け係数の総和は実質的にゼロであるといえる。   In the first weighting filter 53 of FIG. 10, even when the total sum of the weighting coefficients is slightly deviated from zero, when there is a solid part in the image to be processed, as it goes inward from the outline of the part If the effect of decreasing the density stepwise is obtained, it can be said that the sum of the weighting coefficients is substantially zero. For example, it is assumed that the number of bits of image data is 8, the weighting coefficient of the weighting filter is valid up to the third decimal place, and the sum of the weighting coefficients in the weighting filter is 0.001. However, the product sum value obtained by the product sum value calculation unit 72 is normally constructed so that the value after the decimal point is rounded off, so that the product sum obtained when the sum of each weighting coefficient is 0.001. The value matches the product-sum value obtained when the sum of the weighting coefficients is zero. Therefore, even if the sum of the weighting coefficients is 0.001, it can be said that the sum of the weighting coefficients is substantially zero.

また、図10の第1重み付けフィルタ53および第2重み付けフィルタ54には、ゼロの重み付け係数が含まれていてもよい。つまり、第1重み付けフィルタ53において、符号αの太線よりも外側の各係数は正の値に限定されずゼロ以上の値であればよい。また、第2重み付けフィルタ54において、符号βの太線よりも外側の各係数は負の値に限定されずゼロ以下の値であればよい。さらに、第1重み付けフィルタ53の符号αの太線よりも内側の各係数、および、第2重み付けフィルタ54の符号βの太線よりも内側の各係数は、正の値であっても負の値であってもよいしゼロでもよい。   Further, the first weighting filter 53 and the second weighting filter 54 in FIG. 10 may include a zero weighting coefficient. That is, in the first weighting filter 53, each coefficient outside the thick line indicated by the symbol α is not limited to a positive value and may be a value of zero or more. Further, in the second weighting filter 54, each coefficient outside the thick line of the symbol β is not limited to a negative value and may be a value equal to or less than zero. Further, each coefficient inside the thick line of the sign α of the first weighting filter 53 and each coefficient inside the thick line of the sign β of the second weighting filter 54 is a negative value even if it is a positive value. It may be zero or zero.

〔実施の形態3〕
図5(a)のように入力画像において白下地領域に文字画像が形成されているような場合、実施の形態1、2の色材量抑制部12の処理によれば、図5(b)のように、補正後における文字画像の輪郭部分の色を補正前の文字画像の色とほぼ同一にできる。
[Embodiment 3]
When a character image is formed in the white background area in the input image as shown in FIG. 5A, according to the processing of the color material amount suppression unit 12 of the first and second embodiments, FIG. As described above, the color of the contour portion of the character image after correction can be made almost the same as the color of the character image before correction.

しかし、図9(a)に示すように、入力画像において色付きの下地領域に文字画像が形成されているような場合、実施の形態1、2の色材量抑制部12の処理を行うだけでは、補正後における文字画像の輪郭部分の色が補正前の文字画像の色や下地領域の色と全く異なるものになるような事態が起こり得る。以下、この理由について説明する。   However, as shown in FIG. 9A, when a character image is formed in a colored background region in the input image, it is only necessary to perform the processing of the color material amount suppression unit 12 of the first and second embodiments. A situation may occur in which the color of the contour portion of the character image after correction is completely different from the color of the character image before correction or the color of the background area. Hereinafter, this reason will be described.

例えば、図9(a)のように、赤色下地領域89の上に黒色の文字90が形成された加法混色の画像データを入力し、実施の形態1の色材量抑制部12が当該画像データを処理する場合を考える。なお、図9(a)において、赤色下地領域89の各画素値は(R,G,B)=(255,0,0)であり、黒文字90の各画素値は(R,G,B)=(0,0,0)である。   For example, as shown in FIG. 9A, additive color mixture image data in which black characters 90 are formed on a red background area 89 is input, and the color material amount suppression unit 12 according to the first embodiment uses the image data. Consider the case of processing. In FIG. 9A, each pixel value of the red background region 89 is (R, G, B) = (255, 0, 0), and each pixel value of the black character 90 is (R, G, B). = (0, 0, 0).

この場合において、図6(b)のように、小領域フィルタ52の全域および注目画素が黒色ベタ領域(黒文字)に対向し、大領域フィルタ51が下地領域および黒色ベタ領域に対向しているとき(なお、図6(b)では下地は白色だが、ここでは下地の色を赤と仮定する)、Rについての式3の調整後差分値をαとすると、注目画素の画素値は(255−α、255、255)になる。つまり、出力される注目画素の画素値は、当該注目画素の本来の色(黒色)を示さず、フィルタ演算にて参照される参照画素の色の補色を示すことになる。   In this case, as shown in FIG. 6B, when the entire region of the small region filter 52 and the target pixel are opposed to the black solid region (black character), and the large region filter 51 is opposed to the base region and the black solid region. (Note that the background is white in FIG. 6B, but the background color is assumed to be red here.) If the adjusted difference value of Equation 3 for R is α, the pixel value of the pixel of interest is (255− α, 255, 255). That is, the pixel value of the target pixel that is output does not indicate the original color (black) of the target pixel, but indicates a complementary color of the color of the reference pixel that is referred to in the filter calculation.

図9(b)は、実施の形態1の色材量抑制部12が図9(a)の画像を処理した場合の
処理後画像を示した図である。図9(b)においては、文字の輪郭が残存しつつ、当該輪郭の内側と赤色背景領域であった箇所とが白色に置換されている。しかし、図9(b)において、文字の輪郭92は青緑色(赤色の補色)になっている。つまり、文字の本来の色と下地の本来の色とは異なる色が文字または下地の輪郭として示されるという問題が生じる。
FIG. 9B is a diagram illustrating a processed image when the color material amount suppressing unit 12 according to the first embodiment processes the image of FIG. In FIG. 9B, while the outline of the character remains, the inside of the outline and the portion that was the red background area are replaced with white. However, in FIG. 9B, the character outline 92 is blue-green (red complementary color). That is, there arises a problem that a color different from the original color of the character and the original color of the background is indicated as the outline of the character or the background.

このような問題を回避するためには、以下の類似度判定部を色材量抑制部12に設ければよい。類似度判定部は、大領域処理部31および小領域処理部32においてフィルタ演算が行われる前に、フィルタ内部の全ての参照画素(注目画素以外の画素)の色について、注目画素の色との類似度を示す類似度データを算出し、類似度データと閾値とを対比し、参照画素の色が注目画素の色と類似しているか否かを判定する。   In order to avoid such a problem, the color material amount suppression unit 12 may be provided with the following similarity determination unit. The similarity determination unit calculates the color of all the reference pixels (pixels other than the target pixel) in the filter with the color of the target pixel before the filter calculation is performed in the large region processing unit 31 and the small region processing unit 32. Similarity data indicating similarity is calculated, the similarity data is compared with a threshold value, and it is determined whether the color of the reference pixel is similar to the color of the target pixel.

ここで、類似度データとしては、画素Aの色と画素Bの色との相違度を示す値として一般的に用いられている値であればどのような値でもよい。例えば、画像データが加法混色のデータである場合、注目画素と参照画素とのユークリッド距離(色チャンネルごとの画素値の差分値の2乗和の平方根)を前記類似度データとしてもよい。この場合、類似度判定部は、注目画素と参照画素とのユークリッド距離を閾値と対比し、ユークリッド距離が閾値以上であれば、当該参照画素の色は注目画素の色と非類似であると判定し、ユークリッド距離が閾値未満であれば、当該参照画素の色は注目画素の色と類似であると判定する。また、画像データが減法混色の場合であっても、加法混色の画像データに変換することでユークリッド距離を求めることができるため、ユークリッド距離を前記類似度データとしてもよい。   Here, the similarity data may be any value as long as it is a value generally used as a value indicating the degree of difference between the color of the pixel A and the color of the pixel B. For example, when the image data is additive color mixture data, the Euclidean distance between the target pixel and the reference pixel (the square root of the square sum of the difference values of the pixel values for each color channel) may be used as the similarity data. In this case, the similarity determination unit compares the Euclidean distance between the target pixel and the reference pixel with a threshold, and determines that the color of the reference pixel is dissimilar to the color of the target pixel if the Euclidean distance is equal to or greater than the threshold. If the Euclidean distance is less than the threshold value, it is determined that the color of the reference pixel is similar to the color of the target pixel. Even if the image data is subtractive color mixture, the Euclidean distance can be obtained by converting the image data into additive color mixture image data. Therefore, the Euclidean distance may be used as the similarity data.

また、加法混色および減法混色以外の色空間のデータに変換して得られる値を前記類似度データとしてもよい。例えば、入力画像データを、HSI(H:色相,S:彩度,I:明度)の色空間のデータに変換し、注目画素の色相値(色相角度)と参照画素の色相値との差分である第1差分値、注目画素の彩度値と参照画素の彩度値との差分である第2差分値、注目画素の明度値と参照画素の明度値との差分である第3差分値を求め、これら差分値を前記類似度データとしてもよい。そして、類似度判定部は、これら差分値を閾値と比較し、全ての差分値が閾値未満である場合、参照画素の色は注目画素の色と類似であると判定し、それ以外の場合は非類似と判定する。但し、ノイズの影響なども考えて、第1差分値と第2差分値と第3差分値とで互いに異なる閾値が設定される。   Further, the similarity data may be a value obtained by converting into data in a color space other than the additive color mixture and subtractive color mixture. For example, the input image data is converted into HSI (H: Hue, S: Saturation, I: Lightness) color space data, and the difference between the hue value (hue angle) of the target pixel and the hue value of the reference pixel A first difference value, a second difference value that is the difference between the saturation value of the target pixel and the saturation value of the reference pixel, and a third difference value that is the difference between the lightness value of the target pixel and the lightness value of the reference pixel These difference values may be obtained as the similarity data. Then, the similarity determination unit compares these difference values with a threshold value, and determines that the color of the reference pixel is similar to the color of the target pixel if all the difference values are less than the threshold value, and otherwise. Judged as dissimilar. However, considering the influence of noise and the like, different thresholds are set for the first difference value, the second difference value, and the third difference value.

そして、図2の大領域処理部31および小領域処理部32は、注目画素の色と非類似と判定された色を有する参照画素の画素値を、白(最低濃度)を示す画素値に変換し、当該変換した値を用いて積和値Rm,Rnを算出する(なお、注目画素の色と類似と判定された色を有する参照画素については前記変換を行わず入力画素値をそのまま用いる)。   Then, the large region processing unit 31 and the small region processing unit 32 in FIG. 2 convert the pixel value of the reference pixel having a color determined to be dissimilar to the color of the target pixel into a pixel value indicating white (minimum density). Then, the product-sum values Rm and Rn are calculated using the converted values (Note that the input pixel value is used as it is without performing the conversion for a reference pixel having a color determined to be similar to the color of the target pixel). .

例えば、入力画像データが8ビットの加法混色のデータである場合、注目画素の色と非類似と判定された色を有する参照画素のデータが(R,G,B)=(255,255,255)に変換された上で、積和値Rm,Rnの算出が行われる。また、入力画像データが8ビットの減法混色のデータである場合、注目画素の色と非類似と判定された色を有する参照画素のデータが(C,M,Y)=(0,0,0)に変換された上で、積和値Rm,Rnの算出が行われる。   For example, when the input image data is 8-bit additive color mixture data, the reference pixel data having a color determined to be dissimilar to the color of the target pixel is (R, G, B) = (255, 255, 255). The product sum values Rm and Rn are calculated. When the input image data is 8-bit subtractive color mixture data, the reference pixel data having a color determined to be dissimilar to the color of the target pixel is (C, M, Y) = (0, 0, 0). The product sum values Rm and Rn are calculated.

これにより、入力画像には存在しない色が生成されるという問題が生じることを抑制できる。例えば、類似度判定部を備えた構成において、図9(a)の画像を処理した場合、図9(c)に示される画像が出力されることになる。図9(c)に示される画像においては、黒文字の輪郭95と赤色下地領域の輪郭94とが互いに隣接し合うように形成される。そして、輪郭95は黒色であり、輪郭94は赤色であり、文字の本来の色とは異なる色
や下地の本来の色とは異なる色が文字または下地の輪郭として示されるような事態は生じていない。
Thereby, it can suppress that the problem that the color which does not exist in an input image produces | generates arises. For example, when the image shown in FIG. 9A is processed in the configuration including the similarity determination unit, the image shown in FIG. 9C is output. In the image shown in FIG. 9C, the black character outline 95 and the red base area outline 94 are formed adjacent to each other. The contour 95 is black, the contour 94 is red, and there is a situation in which a color different from the original color of the character or a color different from the original color of the background is shown as the outline of the character or the background. Absent.

また、以上にて説明した類似度判定部は実施の形態2の積和値算出部72(図7)に設けられてもよい。そして、積和値算出部72は、注目画素の色と非類似と判定された色を有する参照画素の入力画素値を、白を表す画素値に変換した上で、積和値Rm´を算出する。   Moreover, the similarity determination part demonstrated above may be provided in the product sum value calculation part 72 (FIG. 7) of Embodiment 2. FIG. Then, the product-sum value calculation unit 72 calculates the product-sum value Rm ′ after converting the input pixel value of the reference pixel having a color determined to be dissimilar to the color of the target pixel into a pixel value representing white. To do.

〔実施の形態4〕
文字画像やグラフィック画像はベタ部分を含む頻度が高い。それゆえ、文字画像やグラフィック画像に対して、大領域フィルタ51および小領域フィルタ52を用いた処理や、重み付けフィルタ53・54を用いた処理を行うことで、画像の判読性を保ちつつトナー消費量を抑制できるというメリットを有する。
[Embodiment 4]
Character images and graphic images frequently contain solid portions. Therefore, by performing processing using the large region filter 51 and the small region filter 52 and processing using the weighting filters 53 and 54 on the character image or graphic image, toner consumption is maintained while maintaining image readability. It has the merit that the amount can be suppressed.

しかしながら、自然画像(写真領域)はベタ部分を含む頻度が低いため、大領域フィルタ51および小領域フィルタ52を用いた処理や、重み付けフィルタ53・54を用いた処理を行うと、前記のメリットよりも、違和感のある画像が出力されるというデメリットが生じてしまう。   However, since natural images (photo areas) have a low frequency of including a solid portion, processing using the large area filter 51 and the small area filter 52 and processing using the weighting filters 53 and 54 are more effective than the above-described merit. However, there is a demerit that an uncomfortable image is output.

そこで、文字画像やグラフィック画像に対しては、大領域フィルタ51および小領域フィルタ52を用いた処理や、重み付けフィルタ53・54を用いた処理を行う一方、自然画像に対してはこれら処理を行わないようにすれば、違和感のある画像が出力されるというデメリットを抑制できる。以下では、この点について、図7の色材量抑制部12を例にして説明する。なお、以下の説明では入力画像データは加法混色のデータであるものとして説明する。   Therefore, for character images and graphic images, processing using the large region filter 51 and small region filter 52 and processing using the weighting filters 53 and 54 are performed, while these processing is performed for natural images. If not, the demerit that an uncomfortable image is output can be suppressed. Hereinafter, this point will be described by taking the color material amount suppression unit 12 of FIG. 7 as an example. In the following description, the input image data is assumed to be additive color mixture data.

印刷システム1に入力される画像データが外部端末にて作成されたPDL形式のデータである場合、当該画像データには、各画像領域の種類を示したフラグが記述されている。ここで、画像領域の種類には、文字(テキスト)領域、グラフィック領域、自然画像(写真)領域等の種類がある。   When the image data input to the printing system 1 is PDL format data created by an external terminal, a flag indicating the type of each image area is described in the image data. Here, there are types of image areas such as a character (text) area, a graphic area, and a natural image (photo) area.

前処理部(判定処理部)11は、画像データが外部端末にて作成されたPDL形式のデータである場合、当該画像データに記述されているフラグに基づいて、画像データの各画像領域の種類を判定し、判定結果を示すタグデータを生成するようになっている。ここで判定される画像領域の種類には、上述通り、文字領域、グラフィック領域、自然画像領域等がある。そして、前処理部11は前記タグデータを色材量抑制部12に送るようになっている。   When the image data is PDL format data created by an external terminal, the preprocessing unit (determination processing unit) 11 determines the type of each image area of the image data based on the flag described in the image data. The tag data indicating the determination result is generated. As described above, the types of image areas determined here include character areas, graphic areas, natural image areas, and the like. Then, the preprocessing unit 11 sends the tag data to the color material amount suppression unit 12.

色材量抑制部12は、タグデータに基づいて注目画素の属する画像領域を判定し、画像領域に応じて処理を切り替えるようになっている。   The color material amount suppression unit 12 determines an image area to which the target pixel belongs based on the tag data, and switches processing according to the image area.

具体的に説明すると、注目画素の属する画像領域が文字領域またはグラフィック領域の場合、図7の色材量抑制部12のフィルタ選択部71は、図10に示す第1重み付けフィルタ53を選択するようになっている。これに対し、注目画素の属する画像領域が自然画像領域の場合、フィルタ選択部71は、図10に示される第1重み付けフィルタ53を選択せず、図12に示す高輝度化フィルタ60aを選択するようになっている。   More specifically, when the image region to which the target pixel belongs is a character region or a graphic region, the filter selection unit 71 of the color material amount suppression unit 12 in FIG. 7 selects the first weighting filter 53 shown in FIG. It has become. On the other hand, when the image region to which the target pixel belongs is a natural image region, the filter selection unit 71 does not select the first weighting filter 53 shown in FIG. 10, but selects the high-intensity filter 60a shown in FIG. It is like that.

そして、積和値算出部72は、フィルタ選択部71にて選択されたフィルタを用いて積和値Rm´を算出するようになっており、画素値出力部73は、積和値算出部72に算出された積和値Rm´に基づいて注目画素の画素値を出力するようになっている。   The product-sum value calculation unit 72 calculates the product-sum value Rm ′ using the filter selected by the filter selection unit 71, and the pixel value output unit 73 includes the product-sum value calculation unit 72. The pixel value of the target pixel is output based on the product-sum value Rm ′ calculated in step (b).

つまり、色材量抑制部12は、文字領域またはグラフィック領域と判定された画像領域に対しては第1重み付けフィルタ53を用いた処理を行い、自然画像領域と判定された画像領域に対しては第1重み付けフィルタ53を用いた処理を行わないことになる。これにより、自然画像領域について違和感のある画像が出力されるというデメリットを抑制することができる。   That is, the color material amount suppression unit 12 performs processing using the first weighting filter 53 for an image area determined as a character area or a graphic area, and for an image area determined as a natural image area. Processing using the first weighting filter 53 is not performed. As a result, it is possible to suppress the demerit that an image having a sense of incongruity with respect to the natural image region is output.

また、本実施形態では、自然画像領域に対して、第1重み付けフィルタ53を用いた処理を行う代わりに、図12に示す高輝度化フィルタ60aを用いた処理が行われるようになっている。ここで、図12に示される高輝度化フィルタ60aとは、処理対象となる領域全体に渡って略均一に輝度が上昇するように重み付け係数が定められたフィルタである。それゆえ、本実施形態では、自然画像領域についても違和感を生じさせることなくトナー消費量抑制効果を得ることができる。   In the present embodiment, instead of performing the process using the first weighting filter 53 on the natural image region, the process using the high brightness filter 60a shown in FIG. 12 is performed. Here, the high-intensity filter 60a shown in FIG. 12 is a filter in which a weighting coefficient is determined so that the luminance increases substantially uniformly over the entire region to be processed. Therefore, in this embodiment, it is possible to obtain a toner consumption suppression effect without causing a sense of incongruity even in the natural image region.

なお、図12の高輝度化フィルタ60aは、図10の第1重み付けフィルタ53と同じサイズ(7×7画素)であるが、高輝度化フィルタのサイズは第1重み付けフィルタ53と同じサイズである必要はない。例えば、文字領域またはグラフィック領域に対して7×7画素の第1重み付けフィルタ53が用いられる一方、自然画像領域に対しては、5×5画素の重み付けフィルタ60b(図12参照)が用いられてもよい。   12 is the same size (7 × 7 pixels) as the first weighting filter 53 in FIG. 10, but the size of the brightening filter is the same size as the first weighting filter 53. There is no need. For example, a 7 × 7 pixel first weighting filter 53 is used for a character region or a graphic region, while a 5 × 5 pixel weighting filter 60b (see FIG. 12) is used for a natural image region. Also good.

また、図2の色材量抑制部12においても、画像領域の種類に応じて処理内容を変更してもよい。例えば、図2の大領域処理部31および小領域処理部32は、文字領域またはグラフィック領域と判定された画像領域に対して大領域フィルタ51および小領域フィルタ52を用いた処理を行い、自然画像領域と判定された画像領域に対しては大領域フィルタ51および小領域フィルタ52を用いた処理を行わないようにすればよい。
さらに、自然画像領域と判定された画像領域に対して、大領域処理部31は図18の高輝度化フィルタ63aを用いて積和値Rmを求め、小領域処理部32および差分算出部33は処理を行わず、調整演算部34は下記式(8)に基づいて調整後積和値を求める。なお、図18の高輝度化フィルタ63aが用いられる場合の下記式(8)の調整係数は1/100であるものとする。
In the color material amount suppression unit 12 of FIG. 2, the processing content may be changed according to the type of image area. For example, the large region processing unit 31 and the small region processing unit 32 in FIG. 2 perform processing using the large region filter 51 and the small region filter 52 on the image region determined to be a character region or a graphic region, and thus a natural image The processing using the large area filter 51 and the small area filter 52 may not be performed on the image area determined as the area.
Further, for the image area determined to be a natural image area, the large area processing unit 31 obtains the product sum value Rm using the brightness enhancement filter 63a of FIG. 18, and the small area processing unit 32 and the difference calculation unit 33 Without performing the processing, the adjustment calculation unit 34 obtains an adjusted product sum value based on the following equation (8). It is assumed that the adjustment coefficient of the following formula (8) when the high brightness filter 63a of FIG. 18 is used is 1/100.

調整後積和値=調整係数×積和値Rm 式(8)
そして、画素値出力部35は、入力画像データが減法混色のデータである場合、式(8)にて得られた調整後積和値を注目画素の画素値として出力し、入力画像データが加法混色のデータである場合、下記の式(9)を演算して得られる画素値を注目画素の画素値として出力する。なお、式(9)における「最高値」は画素値のとり得る数値範囲内の最も高い値を意味し、画像データが8ビットのデータである場合は255となる。
画素値=最高値−調整後積和値 式(9)
これにより、図2の構成においても、自然画像領域について、違和感のある画像が出力されるというデメリットを抑制しつつ、トナー消費量抑制効果を得ることができる。
Adjusted product sum value = adjustment coefficient × product sum value Rm Formula (8)
Then, when the input image data is subtractive color mixing data, the pixel value output unit 35 outputs the adjusted product sum value obtained by Expression (8) as the pixel value of the target pixel, and the input image data is additive. In the case of mixed color data, the pixel value obtained by calculating the following equation (9) is output as the pixel value of the target pixel. Note that the “maximum value” in equation (9) means the highest value within the numerical range that the pixel value can take, and is 255 when the image data is 8-bit data.
Pixel value = Maximum value−Adjusted product sum value Equation (9)
Thereby, also in the configuration of FIG. 2, it is possible to obtain a toner consumption suppression effect while suppressing the demerit that an uncomfortable image is output for the natural image region.

なお、図18の高輝度化フィルタ63aは、図4の大領域フィルタ51と同じサイズ(7×7画素)であるが、高輝度化フィルタのサイズは大領域フィルタ51または小領域フィルタ52と同じサイズである必要はない。例えば、自然画像領域に対して、5×5画素の高輝度化フィルタ63b(図18参照)が用いられてもよい。   18 is the same size (7 × 7 pixels) as the large area filter 51 in FIG. 4, but the size of the high intensity filter is the same as that of the large area filter 51 or the small area filter 52. It doesn't have to be size. For example, a 5 × 5 pixel high brightness filter 63b (see FIG. 18) may be used for the natural image region.

また、前処理部11にて判定される画像領域の種類に応じて、実施の形態1の式(3)における調整係数を変更するようにしても構わない。   Further, the adjustment coefficient in the expression (3) of the first embodiment may be changed according to the type of the image area determined by the preprocessing unit 11.

〔実施の形態5〕
また、印刷システム1に入力される画像データがスキャナにて読み取られた画像データである場合、領域分離処理を行うことによって注目画素の属する画像領域の種類を判定し、画像領域の種類毎に、使用するフィルタを変更するようになっていてもよい。以下ではこの点について、図7の色材量抑制部12を例にして説明する。
[Embodiment 5]
Further, when the image data input to the printing system 1 is image data read by a scanner, the type of the image region to which the target pixel belongs is determined by performing region separation processing, and for each type of image region, The filter to be used may be changed. Hereinafter, this point will be described by taking the color material amount suppression unit 12 of FIG. 7 as an example.

前処理部(判定処理部)11は、入力画像データがスキャナにて読み取られた画像データである場合、画像データの画像に含まれる各画像領域の種類を判定する領域分離処理を行うようになっている。ここで、領域分離処理にて判定される画像領域の種類には、文字領域、網点領域、連続階調領域(印画紙写真領域)等がある。そして、前処理部11は、画像データの各画素がどの画像領域に属するのかを示した領域識別信号を色材量抑制部12に送るようになっている。   When the input image data is image data read by a scanner, the preprocessing unit (determination processing unit) 11 performs region separation processing for determining the type of each image region included in the image of the image data. ing. Here, the types of image areas determined by the area separation processing include character areas, halftone dot areas, continuous tone areas (photographic paper photograph areas), and the like. Then, the preprocessing unit 11 sends an area identification signal indicating to which image area each pixel of the image data belongs to the color material amount suppression unit 12.

色材量抑制部12は、領域識別信号に基づいて注目画素の属する画像領域を判定し、画像領域に応じて使用するフィルタを変更するようになっている。   The color material amount suppression unit 12 determines an image region to which the target pixel belongs based on the region identification signal, and changes a filter to be used according to the image region.

具体的に説明すると、注目画素の属する画像領域が文字領域の場合、図7の色材量抑制部12のフィルタ選択部71は、図10に示す第1重み付けフィルタ53を選択するようになっている。これに対し、注目画素の属する画像領域が網点領域または連続階調領域の場合、フィルタ選択部71は、図10に示す第1重み付けフィルタ53を選択せず、図12に示す高輝度化フィルタ60aを選択するようになっている。   More specifically, when the image region to which the target pixel belongs is a character region, the filter selection unit 71 of the color material amount suppression unit 12 in FIG. 7 selects the first weighting filter 53 shown in FIG. Yes. On the other hand, when the image region to which the target pixel belongs is a halftone region or a continuous tone region, the filter selection unit 71 does not select the first weighting filter 53 shown in FIG. 60a is selected.

そして、積和値算出部72は、フィルタ選択部71にて選択されたフィルタを用いて積和値Rm´を算出するようになっており、画素値出力部73は、積和値算出部72に算出された積和値Rm´に基づいて注目画素の画素値を出力するようになっている。   The product-sum value calculation unit 72 calculates the product-sum value Rm ′ using the filter selected by the filter selection unit 71, and the pixel value output unit 73 includes the product-sum value calculation unit 72. The pixel value of the target pixel is output based on the product-sum value Rm ′ calculated in step (b).

これにより、色材量抑制部12は、文字領域と判定された画像領域に対しては第1重み付けフィルタ53を用いた処理を行い、網点領域または連続階調領域と判定された画像領域に対しては第1重み付けフィルタ53を用いた処理を行わないことになる。これにより、自然画像領域について違和感のある画像が出力されるというデメリットを抑制することができる。   As a result, the color material amount suppression unit 12 performs processing using the first weighting filter 53 on the image area determined as the character area, and the image area determined as the halftone area or the continuous tone area. On the other hand, the process using the first weighting filter 53 is not performed. As a result, it is possible to suppress the demerit that an image having a sense of incongruity with respect to the natural image region is output.

なお、高輝度化フィルタのサイズを第1重み付けフィルタ53のサイズと同じにする必然性がない事は実施の形態4の場合と同様である。   Note that the size of the high brightness filter is not necessarily the same as the size of the first weighting filter 53 as in the case of the fourth embodiment.

また、本実施形態では、網点領域または連続階調領域に対して、第1重み付けフィルタ53を用いた処理を行う代わりに、図12に示す高輝度化フィルタ60aを用いた処理が行われるようになっている。ここで、図12に示される高輝度化フィルタ60aは、処理対象となる領域全体に渡って略均一に輝度が上昇するように重み付け係数が定められたフィルタである。それゆえ、本実施形態では、網点領域または連続階調領域についても違和感を生じさせることなくトナー消費量抑制効果を得ることができる。   In the present embodiment, instead of performing the process using the first weighting filter 53 on the halftone area or the continuous tone area, the process using the high brightness filter 60a shown in FIG. 12 is performed. It has become. Here, the brightening filter 60a shown in FIG. 12 is a filter in which a weighting coefficient is determined so that the luminance increases substantially uniformly over the entire region to be processed. Therefore, in the present embodiment, it is possible to obtain a toner consumption suppression effect without causing a sense of incongruity also in the halftone area or the continuous tone area.

さらに、図2の色材量抑制部12においても、領域分離処理の結果に応じて、使用するフィルタを切り替えるようにしてもよい。例えば、図2の大領域処理部31および小領域処理部32は、文字領域と判定された画像領域に対しては大領域フィルタ51および小領域フィルタ52を用いた処理を行い、網点領域または連続階調領域と判定された画像領域に対しては大領域フィルタ51および小領域フィルタ52を用いた処理を行わないようにすればよい。さらに、網点領域または連続階調領域に対して、大領域処理部31は図18の高輝度化フィルタ63aを用いて積和値Rmを求め、小領域処理部32および差分算出部33は処理を行わず、調整演算部34は前記式(8)に基づいて調整後積和値を求める。そして、画素値出力部35は、入力画像データが減法混色のデータである場合、調整後
積和値を注目画素の画素値として出力し、入力画像データが加法混色のデータである場合、前記式(9)を演算して得られる画素値を注目画素の画素値として出力する。これにより、図2の色材量抑制部12においても、網点領域または連続階調領域に対して違和感を生じさせることなくトナー消費量抑制効果を得ることができる。
Furthermore, in the color material amount suppression unit 12 of FIG. 2, the filter to be used may be switched according to the result of the region separation process. For example, the large region processing unit 31 and the small region processing unit 32 in FIG. 2 perform processing using the large region filter 51 and the small region filter 52 on the image region determined as the character region, The processing using the large area filter 51 and the small area filter 52 may not be performed on the image area determined as the continuous tone area. Further, for the halftone dot area or continuous tone area, the large area processing unit 31 obtains the product-sum value Rm using the brightness enhancement filter 63a of FIG. 18, and the small area processing unit 32 and the difference calculation unit 33 perform processing. The adjustment calculation unit 34 obtains an adjusted product sum value based on the equation (8). The pixel value output unit 35 outputs the adjusted product sum value as the pixel value of the pixel of interest when the input image data is subtractive color mixture data, and when the input image data is additive color mixture data, The pixel value obtained by calculating (9) is output as the pixel value of the target pixel. As a result, the color material amount suppression unit 12 of FIG. 2 can also obtain a toner consumption suppression effect without causing a sense of incongruity in the halftone area or continuous tone area.

なお、高輝度化フィルタのサイズを大領域フィルタ51や小領域フィルタ52のサイズと同じにする必然性がない事は実施の形態4の場合と同様である。   As in the case of the fourth embodiment, the size of the high brightness filter is not necessarily the same as the size of the large area filter 51 or the small area filter 52.

また、前処理部11における領域分離処理としては、例えば、特開2002−232708に記載の方法を利用できる。この方法は、注目画素を含むn×mのブロック(例えば、15×15のブロック)における最小濃度値と最大濃度値との差分である最大濃度差と、隣接する画素の濃度差の絶対値の総和である総和濃度繁雑度とを算出し、最大濃度差および総和濃度繁雑度を予め定められる複数の閾値と比較することにより、下地領域・連続階調領域と文字エッジ領域・網点領域とを判別するものである。なお、下記の(11)〜(14)に示される特徴に基づいて判別が行われる。
(11)下地領域の濃度分布では、通常、濃度変化が少ない。それゆえ、下地領域においては最大濃度差及び総和濃度繁雑度ともに非常に小さくなる。
(12)連続階調領域の濃度分布は滑らかな濃度変化をしている。それゆえ、連続階調領域において、最大濃度差及び総和濃度繁雑度はともに小さく、かつ、下地領域よりは多少大きくなる。
(13)網点領域において、最大濃度差はさまざまであるが、網点の数だけ濃度変化が存在するので、最大濃度差に対する総和濃度繁雑度の割合が大きくなる。したがって、最大濃度差と文字・網点判定閾値(上記複数の閾値の1つ)との積よりも総和濃度繁雑度が大きい場合には、網点画素であると判別することが可能である。
(14)文字領域の濃度分布では、最大濃度差が大きく、これに伴い総和濃度繁雑度も大きくなる。しかし、文字領域では網点領域よりも濃度変化が少ないため、文字領域の総和濃度繁雑度は網点領域の総和濃度繁雑度よりも小さくなる。したがって、最大濃度差と文字・網点判定閾値との積よりも総和濃度繁雑度が小さい場合には、文字エッジ画素であると判別することが可能である。
Further, as the region separation processing in the preprocessing unit 11, for example, the method described in JP-A-2002-232708 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 (11) to (14).
(11) 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.
(12) 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.
(13) 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.
(14) 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.

なお、前処理部11にて判定される画像領域の種類に応じて、実施の形態1の式(3)における調整係数を変更するようにしても構わない。   Note that the adjustment coefficient in the expression (3) of the first embodiment may be changed according to the type of the image area determined by the preprocessing unit 11.

〔複写機について〕
また、以上にて説明した色材量抑制部は、複写機に備えられている画像処理装置に適用されてもよい。そこで、この点について図13に基づいて以下説明する。
[About copiers]
The color material amount suppression unit described above may be applied to an image processing apparatus provided in a copying machine. This point will be described below with reference to FIG.

デジタルカラー複写機100は、カラー画像入力装置101、カラー画像処理装置102、およびカラー画像出力装置103により構成される。なお、以下では、デジタルカラー複写機100、カラー画像入力装置101、カラー画像処理装置102、カラー画像出
力装置103を、各々、複写機100、画像入力装置101、画像処理装置102、画像出力装置103と称す。
The digital color copying machine 100 includes a color image input device 101, a color image processing device 102, and a color image output device 103. Hereinafter, the digital color copying machine 100, the color image input apparatus 101, the color image processing apparatus 102, and the color image output apparatus 103 are respectively referred to as the copying machine 100, the image input apparatus 101, the image processing apparatus 102, and the image output apparatus 103. Called.

画像入力装置101は、例えばCCDなどの光学情報を電気信号に変換するデバイスを備えたスキャナ部より構成され、原稿からの反射光像を、RGBのアナログ信号として出力する。   The image input apparatus 101 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 the document as an RGB analog signal.

画像入力装置101にて読み取られたアナログ信号は、画像処理装置102内を、A/D変換部104、シェーディング補正部105、入力階調補正部106、領域分離処理部107、色材量抑制部12a、色補正部109、黒生成下色除去部110、空間フィルタ処理部111、出力階調補正部112、階調再現処理部113の順で送られ、CMYKのデジタルカラー信号として、画像出力装置103へ送られる。   An analog signal read by the image input device 101 is converted into an A / D conversion unit 104, a shading correction unit 105, an input tone correction unit 106, a region separation processing unit 107, and a color material amount suppression unit in the image processing device 102. 12a, a color correction unit 109, a black generation and under color removal unit 110, a spatial filter processing unit 111, an output gradation correction unit 112, and a gradation reproduction processing unit 113, which are sent in this order, and are output as CMYK digital color signals as image output devices 103.

A/D変換部104は、RGBのアナログ信号をデジタル信号に変換するもので、シェーディング補正部105では、A/D変換部104より送られてきたデジタルのRGB信号に対して、画像入力装置101の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施す。また、シェーディング補正部105は、カラーバランスを整えると同時に、濃度信号など画像処理装置102に採用されている画像処理システムの扱い易い信号に変換する処理を施す。   The A / D conversion unit 104 converts RGB analog signals into digital signals. The shading correction unit 105 performs image input device 101 on the digital RGB signals sent from the A / D conversion unit 104. A process for removing various distortions generated in the illumination system, imaging system, and imaging system is performed. In addition, the shading correction unit 105 adjusts the color balance, and at the same time, performs processing for converting the signal such as a density signal into a signal that can be easily handled by the image processing system employed in the image processing apparatus 102.

入力階調補正部106は、シェーディング補正部105にて各種の歪みが取り除かれたRGB信号に対して、下地濃度の除去やコントラストなどの画質調整処理を施す。領域分離処理部107は、RGB信号より、入力画像中の各画素を文字領域、網点領域、写真領域の何れかに分離するものである。領域分離処理部107は、分離結果に基づき、画素がどの領域に属しているかを示す領域識別信号を、黒生成下色除去部110、空間フィルタ処理部111、および階調再現処理部113へと出力すると共に、入力階調補正部106より送られてきたRGB信号をそのまま後段の色材量抑制部12aへ転送する。   The input tone correction unit 106 performs image quality adjustment processing such as background density removal and contrast on the RGB signal from which various distortions have been removed by the shading correction unit 105. The region separation processing unit 107 separates each pixel in the input image into one of a character region, a halftone dot region, and a photographic region from the RGB signal. Based on the separation result, the region separation processing unit 107 transmits a region identification signal indicating which region the pixel belongs to to the black generation and under color removal unit 110, the spatial filter processing unit 111, and the gradation reproduction processing unit 113. In addition to the output, the RGB signal sent from the input tone correction unit 106 is transferred to the subsequent color material amount suppression unit 12a as it is.

色材量抑制部12aは、色材量抑制部12と同様、複写機100の操作パネルよりセーブモードが選択された場合、大領域フィルタ51および小領域フィルタ52を用いて図3に示す処理を行い、処理後の画像データを後段の色補正部109に送る。また、色材量抑制部12は、トナーセーブモードが選択されない場合は、画像データをそのまま色補正部109に転送する。   Similar to the color material amount suppression unit 12, the color material amount suppression unit 12 a uses the large area filter 51 and the small area filter 52 to perform the process shown in FIG. 3 when the save mode is selected from the operation panel of the copying machine 100. The processed image data is sent to the subsequent color correction unit 109. Further, the color material amount suppression unit 12 transfers the image data as it is to the color correction unit 109 when the toner save mode is not selected.

なお、図13に示すように、色材量抑制部12aに入力される画像データは常にRGBの画像データである。それゆえ、色材量抑制部12aにおいては、図3のS3およびS4は使用せず、S2の後は必ずS6に移行するように設定されていてもよい。   As shown in FIG. 13, the image data input to the color material amount suppression unit 12a is always RGB image data. Therefore, the color material amount suppression unit 12a may be set so that S3 and S4 in FIG. 3 are not used and the process proceeds to S6 after S2.

また、色材量抑制部12aは、図10の第1重み付けフィルタ53または第2重み付けフィルタ54を用いて図8の処理を行う構成であってもよい。   Further, the color material amount suppression unit 12a may be configured to perform the process of FIG. 8 using the first weighting filter 53 or the second weighting filter 54 of FIG.

色補正部109は、色再現の忠実化を図るために、不要吸収成分を含むCMY色材の分光特性に基づいた色濁りを取り除く処理を行う。色補正部109において、RGB信号はCMY信号に変換される。   The color correction unit 109 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. In the color correction unit 109, the RGB signals are converted into CMY signals.

黒生成下色除去部110は、色補正後のCMYの3色信号から黒(K)信号を生成する黒生成、元のCMY信号から黒生成で得たK信号を差し引いて新たなCMY信号を生成する処理を行うものである。これによりCMYの3色信号はCMYKの4色信号に変換される。   The black generation and under color removal unit 110 generates black (K) signals from the CMY three-color signals after color correction, and subtracts the K signals obtained by black generation from the original CMY signals to generate new CMY signals. The process to generate is performed. As a result, the CMY three-color signal is converted into a CMYK four-color signal.

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

また、特に色材量抑制部12aを設けず、空間フィルタ処理部111において色材量抑制部の処理(図3の処理)を行うようにしてもよい。この場合、トナーセーブモードの指定があった場合、該当するフィルタ係数を用いるように設定する。そして、上記フィルタ処理が行われた後、領域識別信号に基づいて、強調や平滑化処理が施される。   In addition, the color material amount suppression unit 12a is not particularly provided, and the spatial filter processing unit 111 may perform the processing of the color material amount suppression unit (the process of FIG. 3). In this case, when the toner save mode is designated, the corresponding filter coefficient is set to be used. Then, after the filter processing is performed, enhancement or smoothing processing is performed based on the region identification signal.

なお、図13に示すように、空間フィルタ処理部111に入力される画像データは常にCMYKの画像データである。それゆえ、空間フィルタ処理部111において色材量抑制部の処理を行う場合、図3のS3、S6、S7は使用せず、S2の後は必ずS4に移行するように設定されていてもよい。   As shown in FIG. 13, the image data input to the spatial filter processing unit 111 is always CMYK image data. Therefore, when the processing of the color material amount suppression unit is performed in the spatial filter processing unit 111, S3, S6, and S7 in FIG. 3 may not be used, and the process may be set to always shift to S4 after S2. .

出力階調補正部112は、空間フィルタ処理が施されたCMYK信号に対して画像出力装置103の出力特性値に応じた出力階調補正処理を行う。階調再現処理部113は、最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理を実行する。   The output tone correction unit 112 performs output tone correction processing according to the output characteristic value of the image output device 103 on the CMYK signal that has been subjected to the spatial filter processing. The gradation reproduction processing unit 113 executes gradation reproduction processing for finally processing the image so that each gradation can be reproduced by separating the image into pixels.

また、階調再現処理部113は、空間フィルタ処理部111と同様に、CMYK信号の画像データに対して領域識別信号に基づいて後述する所定の処理を施すようになっている。例えば、領域分離処理部107にて文字として判定された領域には、文字の再現性を高めるために、空間フィルタ処理部111における空間フィルタに高周波成分の強調量が大きいフィルタが用いられる。同時に、階調再現処理部113においては、高域周波成分の再現に適した高解像度のスクリーンによる2値化もしくは多値化処理が実施される。   In addition, similar to the spatial filter processing unit 111, the gradation reproduction processing unit 113 performs predetermined processing to be described later on the image data of the CMYK signal based on the region identification signal. For example, in a region determined as a character by the region separation processing unit 107, a filter having a large high-frequency component enhancement amount is used as a spatial filter in the spatial filter processing unit 111 in order to improve the reproducibility of characters. At the same time, the gradation reproduction processing unit 113 performs binarization or multi-value processing using a high-resolution screen suitable for reproducing high-frequency components.

また、領域分離処理部107にて網点に分離された領域に関しては、空間フィルタ処理部111において、入力網点成分を除去するためのローパス・フィルタ処理が施される。領域分離処理部107にて写真に分離された領域に関しては、階調再現処理部113において、階調再現性を重視したスクリーンでの2値化または多値化処理が行われる。   In addition, with respect to the region separated into halftone dots by the region separation processing unit 107, the spatial filter processing unit 111 performs low-pass filter processing for removing the input halftone component. For the region separated into photographs by the region separation processing unit 107, the gradation reproduction processing unit 113 performs binarization or multi-value processing on the screen with an emphasis on gradation reproducibility.

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

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

また、以上にて説明した色材量抑制部は、コピア機能、プリンタ機能、ファクシミリ送信機能、scan to e-mail機能等を有するデジタルカラー複合機に備えられる画像処理装置に適用されてもよい。当該デジタルカラー複合機は、さらに、例えば、モデムやネットワークカードよりなる通信装置を備えていてもよい。   Further, the color material amount suppression unit described above may be applied to an image processing apparatus provided in a digital color multifunction peripheral having a copier function, a printer function, a facsimile transmission function, a scan to e-mail function, and the like. The digital color multifunction peripheral may further include a communication device including a modem or a network card, for example.

また、デジタルカラー複合機においてファクシミリの送信が行われる場合、モデムにて相手先との送信手続きを行い送信可能な状態が確保されると、所定の形式で圧縮された画像データ(スキャナで読み込まれた画像データ)がメモリから読み出される。そして、メモリから読み出された画像データは、圧縮形式の変更などの必要な処理が施されて、相手先に通信回線を介して順次送信される。   Also, when a facsimile transmission is performed in a digital color multifunction peripheral, if a transmission procedure with the other party is performed by a modem and a transmission ready state is secured, image data compressed in a predetermined format (read by a scanner) Image data) is read from the memory. Then, the image data read from the memory is subjected to necessary processing such as changing the compression format and sequentially transmitted to the other party via the communication line.

さらに、デジタルカラー複合機においてファクシミリを受信する場合、CPUは、通信手続きを行いながら相手先から送信されてくる画像データを受信して画像処理装置に入力する。画像処理装置では、受信した画像データに対して、不図示の圧縮/伸張処理部にて伸張処理を施す。伸張された画像データは、必要に応じて、回転処理や解像度変換処理が施される。その後、画像データに出力階調補正処理および階調再現処理が施され、これら処理の施された画像データの画像が画像出力装置(プリンタ)よって出力(印刷)される。   Further, when receiving a facsimile in the digital color multifunction peripheral, the CPU receives the image data transmitted from the other party while performing a communication procedure, and inputs it to the image processing apparatus. In the image processing apparatus, the received image data is decompressed by a compression / decompression processing unit (not shown). The decompressed image data is subjected to rotation processing and resolution conversion processing as necessary. Thereafter, output gradation correction processing and gradation reproduction processing are performed on the image data, and an image of the image data subjected to these processing is output (printed) by an image output device (printer).

また、デジタルカラー複合機は、ネットワークカード、LANケーブルを介して、ネットワークに接続されたコンピュータや他のデジタル複合機とデータ通信を行うことも可能となっている。また、以上にて説明した色材量抑制部は、モノクロ印刷を行う複合機の画像処理装置に適用されてもよいし、単体のファクシミリ通信装置の画像処理装置に適用されてもよい。   The digital color multi-function peripheral can also perform data communication with a computer or other digital multi-function peripheral connected to the network via a network card or a LAN cable. Further, the color material amount suppression unit described above may be applied to an image processing apparatus of a multifunction machine that performs monochrome printing, or may be applied to an image processing apparatus of a single facsimile communication apparatus.

〔プリンタについて〕
以上にて説明した色材量抑制部は、カラープリンタに備えられる画像処理装置に適用されてもよい。図14は、以上の色材量抑制部が適用された画像処理装置を備えるカラープリンタと、このプリンタと接続されている端末装置とを示すブロック図である。
[About the printer]
The color material amount suppression unit described above may be applied to an image processing apparatus provided in a color printer. FIG. 14 is a block diagram illustrating a color printer including an image processing apparatus to which the above-described color material amount suppression unit is applied and a terminal device connected to the printer.

図14の端末装置200は、カラープリンタ300の利用者が使用するものであり、画像編集ソフト等のアプリケーションソフトウェア201の他、カラープリンタ300を操作するためのプリンタドライバ202がインストールされているコンピュータである。   The terminal device 200 in FIG. 14 is used by a user of the color printer 300, and is a computer in which a printer driver 202 for operating the color printer 300 is installed in addition to application software 201 such as image editing software. is there.

端末装置200にて作成された画像データまたは端末装置200に保持されている画像データは、プリンタドライバ202によって、PDL形式の画像データ(ページ記述言語データ)に変換される。そして、PDL形式の画像データはカラープリンタ300に伝送される。なお、ページ記述言語データの一例としてPost Scriptが挙げられる。   Image data created by the terminal device 200 or image data held in the terminal device 200 is converted into image data (page description language data) in the PDL format by the printer driver 202. The image data in the PDL format is transmitted to the color printer 300. An example of page description language data is Post Script.

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

画像処理装置310は、端末装置200から伝送されてくるPDL形式の画像データを、印刷エンジン320にて取り扱い可能な画像データに変換する。そして、画像処理装置310は、当該変換後の画像データを印刷エンジン320へ送る。印刷エンジン320は、画像処理装置310から画像データが送られてくると、この画像データに応じた画像を所定のシート(用紙、OHP等)に形成する。   The image processing device 310 converts the image data in the PDL format transmitted from the terminal device 200 into image data that can be handled by the print engine 320. Then, the image processing apparatus 310 sends the converted image data to the print engine 320. When image data is sent from the image processing apparatus 310, the print engine 320 forms an image corresponding to the image data on a predetermined sheet (paper, OHP, etc.).

つぎに、画像処理装置310の詳細について説明する。図14に示すように、画像処理装置310は、ラスタデータ生成部311、色材量抑制部12b、色補正部313、中間調処理部314を有している。   Next, details of the image processing apparatus 310 will be described. As illustrated in FIG. 14, the image processing apparatus 310 includes a raster data generation unit 311, a color material amount suppression unit 12 b, a color correction unit 313, and a halftone processing unit 314.

ラスタデータ生成部311は、入力したPDL形式の画像データから、後段の各部にて取り扱い可能な画像データ(画素毎に階調値を示したデータ)と、画像領域の種類を示すタグデータとを生成し、生成した画像データおよびタグデータを後段の色材量抑制部12bへ送る。なお、ここでは、入力したPDL形式の画像データにおいてはRGBが指定されているものとし、ラスタデータ生成部311から出力される画像データもRGBの画像データであるものとする。さらに、ラスタデータ生成部311は、必要に応じて、出力用
紙サイズに合わせた解像度変換処理などの処理を行うようになっている。
The raster data generation unit 311 generates image data (data indicating gradation values for each pixel) that can be handled by each unit in the subsequent stage and tag data indicating the type of the image area from the input PDL format image data. The generated image data and tag data are sent to the subsequent color material amount suppression unit 12b. Here, it is assumed that RGB is specified in the input PDL format image data, and the image data output from the raster data generation unit 311 is also RGB image data. Further, the raster data generation unit 311 performs processing such as resolution conversion processing according to the output paper size as necessary.

色材量抑制部12bは、色材量抑制部12と同様、複写機100の操作パネルよりセーブモードが選択された場合、大領域フィルタ51および小領域フィルタ52を用いて図3に示す処理を行い、処理後の画像データを後段の色補正部313に送る。また、色材量抑制部12bは、トナーセーブモードが選択されない場合は、画像データをそのまま色補正部313に転送する。なお、図14の構成においては、色材量抑制部12bに入力されるのはRGBの画像データであるため、色材量抑制部12bは図3のS4を実行せずにS6およびS7を実行するようになっている。   Similar to the color material amount suppression unit 12, the color material amount suppression unit 12 b performs processing shown in FIG. 3 using the large region filter 51 and the small region filter 52 when the save mode is selected from the operation panel of the copying machine 100. The processed image data is sent to the color correction unit 313 at the subsequent stage. Further, the color material amount suppression unit 12b transfers the image data as it is to the color correction unit 313 when the toner save mode is not selected. In the configuration of FIG. 14, since RGB image data is input to the color material amount suppression unit 12b, the color material amount suppression unit 12b executes S6 and S7 without executing S4 of FIG. It is supposed to be.

また、色材量抑制部12bは、図10の第1重み付けフィルタ53または第2重み付けフィルタ54を用いて図8の処理を行う構成であってもよい。   Further, the color material amount suppression unit 12b may be configured to perform the process of FIG. 8 using the first weighting filter 53 or the second weighting filter 54 of FIG.

色補正部313は、色材量抑制部12bからRGB信号が送られてくると、不要吸収成分を含むCMY色材の分光特性に基づいた色濁りを取り除く色補正処理を行う。この色補正処理によってRGB信号はCMY信号に変換される。さらに、色補正部313は、色補正処理後のCMYの信号から黒(K)信号を生成する処理と、元のCMYの信号からK信号を差し引いて新たなCMY信号を生成する処理とを行う。これによりCMY信号はCMYKの信号に変換される。そして、色補正部313によって出力されるCMYKの信号は、後段の中間調処理部314に送られる。   When the RGB signal is sent from the color material amount suppression unit 12b, the color correction unit 313 performs color correction processing for removing color turbidity based on the spectral characteristics of the CMY color material including unnecessary absorption components. This color correction process converts the RGB signal into a CMY signal. Further, the color correction unit 313 performs processing for generating a black (K) signal from the CMY signal after color correction processing, and processing for generating a new CMY signal by subtracting the K signal from the original CMY signal. . Thus, the CMY signal is converted into a CMYK signal. Then, the CMYK signal output by the color correction unit 313 is sent to the halftone processing unit 314 at the subsequent stage.

中間調処理部314は、CMYKの画像データに対して印刷エンジン320の出力特性に基づく出力階調補正処理を行い、さらに、最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理を行う。ここでもタグデータに基づいて処理を切り替えても良い。例えば、自然画像(写真)の領域に関しては、階調再現性を重視したスクリーンでの2値化または多値化処理が行われる。   The halftone processing unit 314 performs an output tone correction process based on the output characteristics of the print engine 320 for the CMYK image data, and can finally reproduce the respective tone by separating the image into pixels. Gradation reproduction processing is performed. Again, the processing may be switched based on the tag data. For example, for a natural image (photo) region, binarization or multi-value processing is performed on a screen with an emphasis on gradation reproducibility.

中間調処理部314による処理が施された画像データは印刷エンジン320に送られ、印刷エンジン320は、この画像データの画像を紙面等に印刷する。   The image data that has been processed by the halftone processing unit 314 is sent to the print engine 320, and the print engine 320 prints an image of the image data on a sheet or the like.

なお、以上の構成では、色材量抑制部12bの後段に色補正部313を配置しているが、色補正部313はラスタデータ生成部311の後段かつ色材量抑制部12bの前段に配置されていてもよい。但し、この場合、色材量抑制部12bにはCMYKの画像データが入力し、色材量抑制部12bは図3のS6およびS7を実行せずにS4を実行する。   In the above configuration, the color correction unit 313 is arranged at the subsequent stage of the color material amount suppressing unit 12b. However, the color correction unit 313 is arranged at the subsequent stage of the raster data generating unit 311 and before the color material amount suppressing unit 12b. May be. However, in this case, CMYK image data is input to the color material amount suppression unit 12b, and the color material amount suppression unit 12b executes S4 without executing S6 and S7 of FIG.

つぎに、端末装置200や画像処理装置310にて扱われるデータについて説明する。図15(a)は、端末装置200で作成された画像の例を示したものであり、テキスト、グラフィック、自然画像(写真)といった各種領域の集合体として構成される。図15(b)は、ラスタデータ生成部311にて生成されるタグデータの例を示し、図16は、図15(a)の画像の内容をページ記述言語で記述したPDLデータの構造を示した図である。   Next, data handled by the terminal device 200 and the image processing device 310 will be described. FIG. 15A shows an example of an image created by the terminal device 200, which is configured as an aggregate of various areas such as text, graphics, and natural images (photos). FIG. 15B shows an example of tag data generated by the raster data generation unit 311. FIG. 16 shows the structure of PDL data in which the image content of FIG. 15A is described in a page description language. It is a figure.

図16において、441は、テキスト領域を示すデータであり、色情報の無い文字形状を示す画素ごとのデータである。442は自然画像領域を示すデータであり、443はグラフ・図形などグラフィック領域を示すデータである(443の場合、linnet や closepath fill といった描画コマンドの存在から図形領域であることが判別できる)。   In FIG. 16, reference numeral 441 denotes data indicating a text area, which is data for each pixel indicating a character shape without color information. 442 is data indicating a natural image area, and 443 is data indicating a graphic area such as a graph / graphic (in the case of 443, the graphic area can be determined from the presence of a drawing command such as linnet or closepath fill).

図16の各データには書体情報、領域属性、起点位置情報やサイズ、色情報が含まれている。これらデータから領域判定および領域のサイズが判断され、タグデータが生成される。   Each piece of data in FIG. 16 includes typeface information, region attributes, starting position information, size, and color information. The area determination and area size are determined from these data, and tag data is generated.

また、図15(b)に示すように、自然画像領域は、A点、B点、C点、D点を頂点とした矩形領域となっている。これに対し、図16では、自然画像領域のデータ442において、起点であるA点の座標が(50,300)であり、サイズが100,200になっている。それゆえ、矩形領域のB・C・Dの座標は、B(249,300)、C(50,399)、D(249,399)となる。なお、原点は図13のO点である。   Further, as shown in FIG. 15B, the natural image area is a rectangular area having the points A, B, C, and D as vertices. In contrast, in FIG. 16, in the data 442 of the natural image area, the coordinates of the starting point A are (50, 300) and the sizes are 100, 200. Therefore, the B, C, and D coordinates of the rectangular region are B (249, 300), C (50, 399), and D (249, 399). The origin is the point O in FIG.

グラフィック領域も同様に、起点E(50,550)に対するコマンドを見ることで、それぞれF、G、Hの座標を求めることが出来る。なお、参照符443の「0 250 translate」は、イメージ領域の起点に対して、水平方向に0、垂直方向に250移動させるという意味である。   Similarly, in the graphic area, the coordinates of F, G, and H can be obtained by looking at the command for the starting point E (50, 550), respectively. Note that “0 250 translate” of the reference symbol 443 means that the image area is moved 0 in the horizontal direction and 250 in the vertical direction with respect to the starting point of the image area.

〔プログラムについて〕
また、図1の画像処理装置10の各ブロックは、ハードウェアロジックによって構成してもよいし、次のようにCPUを用いてソフトウェアによって実現してもよい。
[About the program]
Each block of the image processing apparatus 10 in FIG. 1 may be configured by hardware logic, or may be realized by software using a CPU as follows.

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

記録媒体としては、マイクロコンピュータで処理が行われるために、例えばROMのようなメモリからなるプログラムメディアであってもよいし、また、外部記憶装置としてプログラム読み取り装置が設けられ、そこに記録媒体を挿入することで読み取り可能なプログラムメディアであっても良い。   The recording medium may be a program medium composed of a memory such as a ROM because processing is performed by a microcomputer, or a program reading device is provided as an external storage device. It may be a program medium that can be read by being inserted.

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

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

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

さらに、本実施の形態は、フラットベッドスキャナ・フィルムスキャナ・デジタルカメラなどの画像入力装置、所定のプログラムがロードされることによって画像処理装置10の各ブロックの処理を行うコンピュータ、コンピュータの処理結果を表示するCRTディスクプレイ・液晶ディスプレイなどの画像表示装置、およびコンピュータの処理結果を紙に出力するプリンタより構成されるシステムであってもよい。また、このシステムには、ネットワークを介してサーバーなどに接続するための通信手段としてのネットワークカードやモデムなどが備えられていてもよい。   Furthermore, the present embodiment includes an image input device such as a flatbed scanner, a film scanner, and a digital camera, a computer that processes each block of the image processing device 10 by loading a predetermined program, and a processing result of the computer. It may be a system constituted by an image display device such as a CRT display or a liquid crystal display for displaying, and a printer for outputting the processing result of the computer to paper. In addition, this system may be provided with a network card, a modem, or the like as a communication means for connecting to a server or the like via a network.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and 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 印刷システム(画像形成装置)
10 画像処理装置
11 前処理部(判定処理部)
12 色材量抑制部
12a 色材量抑制部
12b 色材量抑制部
31 大領域処理部
32 小領域処理部
35 画素値出力部(画素値処理部)
51 大領域フィルタ
52 小領域フィルタ
53 第1重み付けフィルタ
54 第2重み付けフィルタ
72 積和値算出部
73 画素値出力部(画素値処理部)
100 複写機(画像形成装置)
300 プリンタ(画像形成装置)
310 画像処理装置
1 Printing system (image forming device)
10 image processing apparatus 11 pre-processing unit (determination processing unit)
12 Color material amount suppression unit 12a Color material amount suppression unit 12b Color material amount suppression unit 31 Large region processing unit 32 Small region processing unit 35 Pixel value output unit (pixel value processing unit)
51 Large Area Filter 52 Small Area Filter 53 First Weighting Filter 54 Second Weighting Filter 72 Product Sum Value Calculation Unit 73 Pixel Value Output Unit (Pixel Value Processing Unit)
100 Copying machine (image forming device)
300 Printer (image forming device)
310 Image processing apparatus

Claims (15)

色材を用いて画像データの画像を印刷する通常モードと前記通常モードよりも前記色材の使用量を抑制して前記画像を印刷するセーブモードとを有する画像形成装置において扱われる画像データを処理する画像処理装置であって、
前記セーブモード時において、前記通常モード時よりも前記色材の使用量が抑制されるように前記画像データに対して画像処理を行う色材量抑制部を有し、
前記色材量抑制部は、前記画像データの画像にベタ部分が含まれている場合、当該部分の濃度を、当該部分の輪郭から内側に向かうにつれて段階的に低下させることを特徴とする画像処理装置。
Processing 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 the color material used compared to the normal mode An image processing apparatus that
In the save mode, a color material amount suppression unit that performs image processing on the image data so that the amount of the color material used is suppressed than in the normal mode;
The color material amount suppression unit, when a solid part is included in the image of the image data, reduces the density of the part stepwise from the outline of the part toward the inside. apparatus.
前記画像データは画素の濃度を示した画素値を含むデータであり、前記画素値は濃度が低いほど値が小さくなるように設定されており、
前記色材量抑制部は、注目画素を含む複数の画素からなるブロック内の各画素の画素値に対して重み付けフィルタを用いて重み付けを行い、重み付け後の各画素値の総和である積和値が小さいほど濃度が低くなるような画素値を前記注目画素の画素値として出力するものであり、
前記ブロックは、前記注目画素を含む第1領域と、前記第1領域を囲むように配される領域であり且つ前記ブロックの外周の画素に隣接する画素を含む領域である第2領域とを有し、
前記重み付けフィルタは、前記ブロック内の各画素の画素値に対してかけられる重み付け係数を定めたものであり、前記第2領域の各画素の画素値にかけられる重み付け係数はゼロ以下の値になり、前記第1領域および前記第2領域に含まれる画素の画素値にかけられる重み付け係数の総和がゼロまたは実質的にゼロになるように設定されていることを特徴とする請求項1に記載の画像処理装置。
The image data is data including a pixel value indicating the density of a pixel, and the pixel value is set so that the value decreases as the density decreases.
The color material amount suppression unit weights the pixel values of each pixel in a block including a plurality of pixels including the target pixel using a weighting filter, and a product-sum value that is a sum of the weighted pixel values Is a pixel value such that the lower the density is, the lower the pixel value of the pixel of interest is.
The block has a first area including the pixel of interest and a second area which is an area arranged to surround the first area and includes pixels adjacent to pixels on the outer periphery of the block. And
The weighting filter defines a weighting coefficient to be applied to the pixel value of each pixel in the block, and the weighting coefficient to be applied to the pixel value of each pixel in the second area is a value of zero or less, 2. The image processing according to claim 1, wherein a sum of weighting coefficients applied to pixel values of pixels included in the first area and the second area is set to be zero or substantially zero. apparatus.
前記画像データは画素の濃度を示した画素値を含むデータであり、前記画素値は濃度が低いほど値が大きくなるように設定されており、
前記色材量抑制部は、注目画素を含む複数の画素からなるブロック内の各画素の画素値に対して重み付けフィルタを用いて重み付けを行い、重み付け後の各画素値の総和である積和値が小さいほど濃度が低くなるような画素値を前記注目画素の画素値として出力するものであり、
前記ブロックは、前記注目画素を含む第1領域と、前記第1領域を囲むように配される領域であり且つ前記ブロックの外周の画素に隣接する画素を含む領域である第2領域とを有し、
前記重み付けフィルタは、前記ブロック内の各画素の画素値に対してかけられる重み付け係数を定めたものであり、前記第2領域の各画素の画素値にかけられる重み付け係数はゼロ以上の値になり、前記第1領域および前記第2領域に含まれる画素の画素値にかけられる重み付け係数の総和がゼロまたは実質的にゼロになるように設定されていることを特徴とする請求項1に記載の画像処理装置。
The image data is data including a pixel value indicating the density of a pixel, and the pixel value is set such that the lower the density, the larger the value.
The color material amount suppression unit weights the pixel values of each pixel in a block including a plurality of pixels including the target pixel using a weighting filter, and a product-sum value that is a sum of the weighted pixel values Is a pixel value such that the lower the density is, the lower the pixel value of the pixel of interest is.
The block has a first area including the pixel of interest and a second area which is an area arranged to surround the first area and includes pixels adjacent to pixels on the outer periphery of the block. And
The weighting filter defines a weighting coefficient to be applied to the pixel value of each pixel in the block, and the weighting coefficient to be applied to the pixel value of each pixel in the second region is a value of zero or more. 2. The image processing according to claim 1, wherein a sum of weighting coefficients applied to pixel values of pixels included in the first area and the second area is set to be zero or substantially zero. apparatus.
前記色材量抑制部は、前記ブロック内の注目画素以外の参照画素の色と前記注目画素の色とが類似しているか否かを判定する類似度判定部を有し、
前記注目画素の色と非類似と判定された色を有する参照画素の画素値を、最低濃度を示す画素値に変換し、当該変換した画素値に対して前記重み付けを行うことを特徴とする請求項2または3に記載の画像処理装置。
The color material amount suppression unit includes a similarity determination unit that determines whether the color of a reference pixel other than the target pixel in the block is similar to the color of the target pixel,
The pixel value of a reference pixel having a color determined to be dissimilar to the color of the target pixel is converted into a pixel value indicating a minimum density, and the weighting is performed on the converted pixel value. Item 4. The image processing device according to Item 2 or 3.
前記画像データの画像に含まれる各画像領域が、文字領域、グラフィック領域、写真領域のいずれに該当するかを判定する判定処理部を有し、
前記色材量抑制部は、前記判定処理部によって文字領域またはグラフィック領域と判定
された画像領域に対しては前記重み付けフィルタを用いた処理を行い、前記判定処理部によって写真領域と判定された画像領域に対しては前記重み付けフィルタを用いた処理を行わないことを特徴とする請求項2から4のいずれか1項に記載の画像処理装置。
A determination processing unit that determines whether each image region included in the image of the image data corresponds to a character region, a graphic region, or a photo region;
The color material amount suppression unit performs processing using the weighting filter on an image region determined as a character region or a graphic region by the determination processing unit, and an image determined as a photographic region by the determination processing unit. 5. The image processing apparatus according to claim 2, wherein a process using the weighting filter is not performed on a region. 6.
前記画像データの画像に含まれる各画像領域が、文字領域、網点領域、連続階調領域のいずれに該当するかを判定する判定処理部を有し、
前記色材量抑制部は、前記判定処理部によって文字領域と判定された画像領域に対しては前記重み付けフィルタを用いた処理を行い、前記判定処理部によって網点領域または連続階調領域と判定された画像領域に対しては前記重み付けフィルタを用いた処理を行わないことを特徴とする請求項2から4のいずれか1項に記載の画像処理装置。
A determination processing unit that determines whether each image region included in the image of the image data corresponds to a character region, a halftone dot region, or a continuous tone region;
The color material amount suppression unit performs processing using the weighting filter on the image region determined as the character region by the determination processing unit, and determines the halftone dot region or the continuous tone region by the determination processing unit. 5. The image processing apparatus according to claim 2, wherein a process using the weighting filter is not performed on the image area that has been processed. 6.
前記画像データは画素の濃度を示した画素値を含むデータであり、前記画素値は濃度が低いほど値が小さくなるように設定されており、
前記色材量抑制部は、注目画素を含む複数の画素からなる小領域内の各画素の画素値に対して重み付けを行う小領域処理部と、前記小領域を含み且つ前記小領域よりも画素数の多い大領域内の各画素の画素値に対して重み付けを行う大領域処理部と、前記小領域処理部にて重み付けされた各画素値の総和である第1積和値から前記大領域処理部にて重み付けされた各画素値の総和である第2積和値を差し引いた差分値が小さいほど低い濃度の画素値を前記注目画素の画素値として出力する画素値出力部とを有し、
前記小領域処理部は、前記小領域に属する各画素の画素値にかけられる各重み付け係数を定めた小領域フィルタを用いて重み付けを行い、前記大領域処理部は、前記大領域に属する各画素の画素値にかけられる各重み付け係数を定めた大領域フィルタを用いて重み付けを行うものであり、
前記小領域フィルタおよび前記大領域フィルタは、前記小領域フィルタの重み付け係数の総和と前記大領域フィルタの重み付け係数の総和とが等しくまたは実質的に等しくなるように設定されることを特徴とする請求項1に記載の画像処理装置。
The image data is data including a pixel value indicating the density of a pixel, and the pixel value is set so that the value decreases as the density decreases.
The color material amount suppression unit includes a small region processing unit that weights the pixel value of each pixel in a small region including a plurality of pixels including a target pixel, and includes the small region and a pixel that is smaller than the small region. A large area processing unit that weights the pixel values of each pixel in the large area having a large number, and the large area from the first product sum value that is the sum of the pixel values weighted by the small area processing unit A pixel value output unit that outputs a pixel value having a lower density as a pixel value of the target pixel as a difference value obtained by subtracting a second product sum value that is a sum of pixel values weighted by the processing unit is smaller. ,
The small region processing unit performs weighting using a small region filter that defines weighting coefficients to be applied to pixel values of the pixels belonging to the small region, and the large region processing unit performs the weighting of each pixel belonging to the large region. Weighting is performed using a large area filter that defines each weighting coefficient to be applied to the pixel value,
The small region filter and the large region filter are set so that a sum of weighting coefficients of the small region filter is equal to or substantially equal to a sum of weighting coefficients of the large region filter. Item 8. The image processing apparatus according to Item 1.
前記画像データは画素の濃度を示した画素値を含むデータであり、前記画素値は濃度が低いほど値が大きくなるように設定されており、
前記色材量抑制部は、注目画素を含む複数の画素からなる小領域内の各画素の画素値に対して重み付けを行う小領域処理部と、前記小領域を含み且つ前記小領域よりも画素数の多い大領域内の各画素の画素値に対して重み付けを行う大領域処理部と、前記大領域処理部にて重み付けされた各画素値の総和である第2積和値から前記小領域処理部にて重み付けされた各画素値の総和である第1積和値を差し引いた差分値が小さいほど低い濃度の画素値を前記注目画素の画素値として出力する画素値出力部とを有し、
前記小領域処理部は、前記小領域に属する各画素の画素値にかけられる各重み付け係数を定めた小領域フィルタを用いて重み付けを行い、前記大領域処理部は、前記大領域に属する各画素の画素値にかけられる各重み付け係数を定めた大領域フィルタを用いて重み付けを行うものであり、
前記小領域フィルタおよび前記大領域フィルタは、前記小領域フィルタの重み付け係数の総和と前記大領域フィルタの重み付け係数の総和とが等しくまたは実質的に等しくなるように設定されることを特徴とする請求項1に記載の画像処理装置。
The image data is data including a pixel value indicating the density of a pixel, and the pixel value is set such that the lower the density, the larger the value.
The color material amount suppression unit includes a small region processing unit that weights the pixel value of each pixel in a small region including a plurality of pixels including a target pixel, and includes the small region and a pixel that is smaller than the small region. A large area processing unit for weighting the pixel values of each pixel in the large area having a large number, and the second area from the second product sum value that is the sum of the pixel values weighted by the large area processing unit A pixel value output unit that outputs a pixel value having a lower density as the pixel value of the target pixel as the difference value obtained by subtracting the first product sum value that is the sum of the pixel values weighted by the processing unit is smaller. ,
The small region processing unit performs weighting using a small region filter that defines weighting coefficients to be applied to pixel values of the pixels belonging to the small region, and the large region processing unit performs the weighting of each pixel belonging to the large region. Weighting is performed using a large area filter that defines each weighting coefficient to be applied to the pixel value,
The small region filter and the large region filter are set so that a sum of weighting coefficients of the small region filter is equal to or substantially equal to a sum of weighting coefficients of the large region filter. Item 8. The image processing apparatus according to Item 1.
前記色材量抑制部は、前記小領域および前記大領域内の注目画素以外の参照画素の色と前記注目画素の色とが類似しているか否かを判定する類似度判定部を有し、
前記大領域処理部および前記小領域処理部は、注目画素の色と非類似と判定された色を有する参照画素の画素値を、最低濃度を示す画素値に変換し、当該変換した画素値を用いて前記重み付けを行うことを特徴とする請求項7または8に記載の画像処理装置。
The color material amount suppression unit includes a similarity determination unit that determines whether the color of a reference pixel other than the target pixel in the small region and the large region is similar to the color of the target pixel,
The large region processing unit and the small region processing unit convert a pixel value of a reference pixel having a color determined to be dissimilar to the color of the target pixel into a pixel value indicating a minimum density, and the converted pixel value The image processing apparatus according to claim 7, wherein the weighting is performed using the image processing apparatus.
前記画像データの画像に含まれる各画像領域が、文字領域、グラフィック領域、写真領
域のいずれに該当するかを判定する判定処理部を有し、
前記色材量抑制部は、前記判定処理部によって文字領域またはグラフィック領域と判定された画像領域に対しては前記小領域フィルタおよび前記大領域フィルタを用いた処理を行い、前記判定処理部によって写真領域と判定された画像領域に対しては前記小領域フィルタおよび前記大領域フィルタを用いた処理を行わないことを特徴とする請求項7から9のいずれか1項に記載の画像処理装置。
A determination processing unit that determines whether each image region included in the image of the image data corresponds to a character region, a graphic region, or a photo region;
The color material amount suppression unit performs processing using the small region filter and the large region filter on the image region determined as the character region or the graphic region by the determination processing unit, and the determination processing unit performs a photograph. The image processing apparatus according to claim 7, wherein processing using the small region filter and the large region filter is not performed on an image region determined to be a region.
前記画像データの画像に含まれる各画像領域が、文字領域、網点領域、連続階調領域のいずれに該当するかを判定する判定処理部を有し、
前記色材量抑制部は、前記判定処理部によって文字領域と判定された画像領域に対しては前記小領域フィルタおよび前記大領域フィルタを用いた処理を行い、前記判定処理部によって網点領域または連続階調領域と判定された画像領域に対しては前記小領域フィルタおよび前記大領域フィルタを用いた処理を行わないことを特徴とする請求項7から9のいずれか1項に記載の画像処理装置。
A determination processing unit that determines whether each image region included in the image of the image data corresponds to a character region, a halftone dot region, or a continuous tone region;
The color material amount suppression unit performs processing using the small region filter and the large region filter on the image region determined to be a character region by the determination processing unit, and performs a halftone dot region or an image region by the determination processing unit. The image processing according to any one of claims 7 to 9, wherein processing using the small region filter and the large region filter is not performed on an image region determined to be a continuous tone region. apparatus.
色材を用いて画像データの画像を印刷する通常モードと前記通常モードよりも前記色材の使用量を抑制して前記画像を印刷するセーブモードとを有する画像形成装置であって、請求項1から11のいずれか1項に記載の画像処理装置を有する画像形成装置。   2. An image forming apparatus comprising: 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 the color material used compared to the normal mode. An image forming apparatus comprising the image processing apparatus according to any one of items 1 to 11. 色材を用いて画像データの画像を印刷する通常モードと前記通常モードよりも前記色材の使用量を抑制して前記画像を印刷するセーブモードとを有する画像形成装置において扱われる画像データを処理する画像処理方法であって、
前記セーブモード時において、前記通常モード時よりも前記色材の使用量が抑制されるように前記画像データに対して画像処理を行う色材量抑制工程を有し、
前記色材量抑制工程は、前記画像データの画像にベタ部分が含まれている場合、当該部分の濃度を、当該部分の輪郭から内側に向かうにつれて段階的に低下させる工程であることを特徴とする画像処理方法。
Processing 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 the color material used compared to the normal mode An image processing method for
In the save mode, a color material amount suppression step of performing image processing on the image data so that the amount of the color material used is suppressed than in the normal mode,
The color material amount suppression step is a step in which, when a solid portion is included in the image of the image data, the density of the portion is gradually decreased from the contour of the portion toward the inside. Image processing method.
コンピュータを、請求項1から11のいずれか1項に記載の画像処理装置の各部として機能させるプログラム。   The program which makes a computer function as each part of the image processing apparatus of any one of Claim 1 to 11. 請求項14に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   The computer-readable recording medium which recorded the program of Claim 14.
JP2009061994A 2009-03-13 2009-03-13 Image processing apparatus, image forming apparatus, image processing method, program, and recording medium Active JP5122507B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009061994A JP5122507B2 (en) 2009-03-13 2009-03-13 Image processing apparatus, image forming apparatus, image processing method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009061994A JP5122507B2 (en) 2009-03-13 2009-03-13 Image processing apparatus, image forming apparatus, image processing method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2010214665A JP2010214665A (en) 2010-09-30
JP5122507B2 true JP5122507B2 (en) 2013-01-16

Family

ID=42974037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009061994A Active JP5122507B2 (en) 2009-03-13 2009-03-13 Image processing apparatus, image forming apparatus, image processing method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP5122507B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6325847B2 (en) * 2014-03-10 2018-05-16 キヤノン株式会社 Image processing apparatus, image processing method, and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3039273B2 (en) * 1994-05-25 2000-05-08 キヤノン株式会社 Print control device and print control method
JPH08265574A (en) * 1995-03-22 1996-10-11 Canon Inc Picture processor
JPH10244692A (en) * 1997-03-05 1998-09-14 Minolta Co Ltd Ink jet recorder
JPH11180012A (en) * 1997-12-19 1999-07-06 Canon Inc Image recording apparatus
JP2002002023A (en) * 2000-04-17 2002-01-08 Alps Electric Co Ltd Image processing method and image recorder using that method
JP4424726B2 (en) * 2003-11-19 2010-03-03 キヤノン株式会社 Inkjet recording apparatus and inkjet recording method

Also Published As

Publication number Publication date
JP2010214665A (en) 2010-09-30

Similar Documents

Publication Publication Date Title
JP4549418B2 (en) Image processing apparatus, image processing method, image forming apparatus, program, and recording medium
JP4495197B2 (en) Image processing apparatus, image forming apparatus, image processing program, and recording medium for recording image processing program
JP4331159B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
US7903872B2 (en) Image-processing apparatus and method, computer program, and storage medium
JP4402090B2 (en) Image forming apparatus, image forming method, program, and recording medium
US8599456B2 (en) Image processing apparatus, image forming apparatus, image processing method, and computer-readable recording medium on which image processing program is recorded
JP2007028336A (en) Apparatus and method for image processing, image forming apparatus, program, and recording medium
JP5058299B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP5095667B2 (en) Output instruction apparatus, image forming system, output instruction method, control program, and recording medium therefor
JP4731595B2 (en) Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP2004023401A (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and record medium with the program recorded thereon
JP4112413B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium on which image processing program is recorded
JP2010278933A (en) Image processing device, image forming device, image processing method, program and recording medium
JP5122507B2 (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium
JP2008092541A (en) Image processing method, image processor, image forming apparatus, computer program, and recording medium
JP4549227B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP2005072635A (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, and computer-readable recording medium stored with the image processing program
JP4101741B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP4176656B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium recording the program
JP4271644B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium recording image processing program
JP2011015172A (en) Device for processing image, device for forming image, method and program for processing image, and recording medium recording program for processing image
JP2008252292A (en) Image processing method, image processing apparatus, image forming apparatus, computer program and recording medium
JP4118823B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP3770802B2 (en) Image processing method, image processing apparatus, and image forming apparatus
JP2011249886A (en) Image processing device, image forming device, image processing method, image processing program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110223

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120925

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121024

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

Free format text: PAYMENT UNTIL: 20151102

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5122507

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150