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

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

Info

Publication number
JP4101741B2
JP4101741B2 JP2003420884A JP2003420884A JP4101741B2 JP 4101741 B2 JP4101741 B2 JP 4101741B2 JP 2003420884 A JP2003420884 A JP 2003420884A JP 2003420884 A JP2003420884 A JP 2003420884A JP 4101741 B2 JP4101741 B2 JP 4101741B2
Authority
JP
Japan
Prior art keywords
hue
black generation
generation amount
color
image data
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.)
Expired - Fee Related
Application number
JP2003420884A
Other languages
Japanese (ja)
Other versions
JP2005184333A (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 JP2003420884A priority Critical patent/JP4101741B2/en
Publication of JP2005184333A publication Critical patent/JP2005184333A/en
Application granted granted Critical
Publication of JP4101741B2 publication Critical patent/JP4101741B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、入力画像データに対して色変換処理を行う画像処理方法および画像処理装置、並びにそれを備えた画像形成装置、プログラム、記録媒体に関するものであり、特に、色補正処理した画像信号に対して黒生成処理・下色除去処理を行う画像処理方法および画像処理装置、並びにそれを備えた画像形成装置、プログラム、記録媒体に関するものである。   The present invention relates to an image processing method and an image processing apparatus that perform color conversion processing on input image data, and an image forming apparatus, a program, and a recording medium including the image processing method. The present invention relates to an image processing method and an image processing apparatus that perform black generation processing and undercolor removal processing, and an image forming apparatus, a program, and a recording medium including the same.

近年、OA機器のデジタル化が急速に進展し、またカラー画像出力の需要が増してきたことによって、電子写真方式のデジタルカラー複写機や、インクジェット方式や熱転写方式のカラープリンタ等の出力機器が広く一般に普及してきている。例えば、デジタルカメラやスキャナ等の入力機器から入力された画像情報や、コンピュータ上で作成された画像情報がこれらの出力機器を用いて出力されている。これらの入出力機器においては、入力された画像情報に対して、常に色再現の安定した画像を出力することが必要であり、デジタル画像処理技術の色変換(色補正)処理が重要な役割を果たしている。   In recent years, digitalization of office automation equipment has rapidly progressed, and the demand for color image output has increased. As a result, output devices such as electrophotographic digital color copiers and inkjet and thermal transfer color printers have become widely available. It has become popular. For example, image information input from an input device such as a digital camera or a scanner, or image information created on a computer is output using these output devices. In these input / output devices, it is necessary to always output an image with stable color reproduction for input image information, and color conversion (color correction) processing of digital image processing technology plays an important role. Plays.

ここで、色変換処理とは、原稿と入力機器の特性とに基づいて構成される入力画像データの色空間の信号、例えばR(レッド)G(グリーン)B(ブルー)から、プリンタなどの出力機器に適合した出力画像データの色空間の信号、例えばC(シアン)M(マゼンタ)Y(イエロー)へと変換する処理を意味する。   Here, the color conversion process is an output of a printer or the like from a signal in the color space of input image data, for example, R (red) G (green) B (blue), which is configured based on the document and the characteristics of the input device. It means a process of converting the output image data color space signal suitable for the device into, for example, C (cyan) M (magenta) Y (yellow).

出力機器においては、CMYの色材(トナーやインクなど)だけでなく、K(ブラック)の色材も用いられる。K色材を使うことで、CMYだけで再現できない暗い色を再現できるようになったり、Kを使うことでCMY色材の使用量を削減したり、グレーの再現性を向上させることができるようになる(例えば、非特許文献1および非特許文献2を参照)。   In the output device, not only CMY color materials (toner, ink, etc.) but also K (black) color materials are used. By using K color material, it becomes possible to reproduce dark colors that cannot be reproduced by CMY alone, and by using K color material, the amount of CMY color material used can be reduced, and gray reproducibility can be improved. (For example, see Non-Patent Document 1 and Non-Patent Document 2).

しかし、暗くて鮮やかな色の再現と黒文字などのグレーの再現とにおいて、適した黒生成量はそれぞれ異なるため、原稿の種別に応じて適切な黒生成量を決定することが難しいという問題がある。この問題を解決するものとして、例えば、特許文献1に記載の技術が提案されている。   However, there is a problem in that it is difficult to determine an appropriate black generation amount according to the type of document because the appropriate black generation amount differs between reproduction of dark and vivid colors and reproduction of gray such as black characters. . As a technique for solving this problem, for example, a technique described in Patent Document 1 has been proposed.

特許文献1に記載の技術では、色補正されたCMY信号の最大値MAXおよび最小値MINの差分(MAX−MIN)と最小値MINとに基づき、2次元の黒生成/下色除去用のLUT(Look Up Table:ルックアップテーブル)を用いて黒生成量を制御することで、グレーの再現性と暗くて鮮やかな色の再現性とを両立させることが開示されている。
特開2003−60929号公報(公開日平成15年2月28日) 日本印刷学会誌 第31巻4号(1994) p.290〜297 電子写真学会誌 第36巻第4号(1997) p.343〜352
In the technique described in Patent Document 1, based on the difference (MAX−MIN) between the maximum value MAX and the minimum value MIN (MAX−MIN) of the color-corrected CMY signal and the minimum value MIN, a two-dimensional black generation / undercolor removal LUT is used. It has been disclosed that both the reproducibility of gray and the reproducibility of dark and vivid colors can be achieved by controlling the black generation amount using (Look Up Table).
JP 2003-60929 A (publication date February 28, 2003) Journal of the Japan Printing Society Vol.31 No.4 (1994) p.290-297 The Journal of the Electrophotographic Society, Vol.36, No.4 (1997) p.343-352

しかしながら、上記従来の構成では、黒生成量を求めるために用いるLUTにおいて、色相方向の情報が存在しない。このため、例えば肌色などの記憶色で黒生成量を特に減少させたいなどというように、色相に応じた適切な黒生成処理を行いたいといった要求がある場合に、上記従来の方法では対応できないといった問題がある。   However, in the conventional configuration described above, there is no information on the hue direction in the LUT used for obtaining the black generation amount. For this reason, for example, when there is a request to perform an appropriate black generation process according to the hue, such as particularly reducing the black generation amount with a memory color such as a skin color, the above-described conventional method cannot respond. There's a problem.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、入力画像データの色相を考慮した適切な黒生成量・下色除去量を算出することのできる色補正方法を実現することにある。   The present invention has been made in view of the above problems, and an object thereof is to realize a color correction method capable of calculating an appropriate black generation amount / under color removal amount in consideration of the hue of input image data. There is to do.

本発明に係る画像処理装置は、上記課題を解決するために、複数の色成分よりなる画像データに対して黒生成処理を行う画像処理装置において、複数の色成分よりなる画像データの色相を判定する色相判定部と、予め定められた複数種類の色相毎に、各色相に対応する色相対応黒生成量を算出する色相対応黒生成量算出部と、上記色相判定部の結果に基づき、上記色相対応黒生成量算出部で算出された複数の色相対応黒生成量から所定数の色相対応黒生成量を選択する黒生成量選択部と、上記選択された所定数の色相対応黒生成量に対して補間演算を行い、上記画像データに対する黒生成量を算出する黒生成量補間演算部とを備えていることを特徴としている。   In order to solve the above problem, an image processing apparatus according to the present invention determines a hue of image data including a plurality of color components in an image processing apparatus that performs black generation processing on image data including a plurality of color components. Based on the results of the hue determination unit, the hue generation black generation amount calculation unit that calculates the hue generation black generation amount corresponding to each hue, and the hue determination unit for each of a plurality of predetermined hues. A black generation amount selection unit that selects a predetermined number of hue-corresponding black generation amounts from a plurality of hue-corresponding black generation amounts calculated by the corresponding black generation amount calculation unit, and for the selected predetermined number of hue-corresponding black generation amounts And a black generation amount interpolation calculation unit for calculating a black generation amount for the image data.

また、上記画像処理装置において、上記色相対応黒生成量算出部は、上記画像データの画素値に基づいて得られる所定のパラメータと、基準軸上の黒生成量とを対応させて格納させる複数の1次元ルックアップテーブルを備えた1次元テーブル格納部と、上記1次元テーブル格納部から読み出された基準軸上の黒生成量に対して補間演算を行い、予め定められた所定の色相に対応した黒生成量を算出する算出部とからなることを特徴としている。   Further, in the image processing apparatus, the hue-corresponding black generation amount calculation unit stores a plurality of predetermined parameters obtained based on the pixel values of the image data and the black generation amount on the reference axis in association with each other. Interpolates the one-dimensional table storage unit with a one-dimensional lookup table and the black generation amount on the reference axis read from the one-dimensional table storage unit, and corresponds to a predetermined hue. And a calculation unit for calculating the generated black generation amount.

また、上記画像処理装置において、上記色相対応黒生成量算出部は、上記画像データの画素値に基づいて得られる所定のパラメータ対と、予め定められた所定の色相に対応した黒生成量とを対応させて格納させる複数の2次元ルックアップテーブルを備えた2次元テーブル格納部からなることを特徴としている。   Further, in the image processing device, the hue-corresponding black generation amount calculation unit includes a predetermined parameter pair obtained based on the pixel value of the image data and a black generation amount corresponding to a predetermined hue. It is characterized by comprising a two-dimensional table storage section provided with a plurality of two-dimensional lookup tables to be stored correspondingly.

また、上記画像処理装置は、さらに、複数の色成分よりなる画像データを複数の領域に分離する領域分離処理部を備えていると共に、上記色相対応黒生成量算出部は、予め定められた所定の色相に加えてグレー領域に対応する黒生成量を算出するものであり、黒生成量補間演算部は、領域分離処理部の結果において上記画像データが黒文字領域または色にじみ領域に属すると判断された場合には、補間演算を行わず、上記色相対応黒生成量算出部にて求められたグレー領域に対応する黒生成量を画像データに対する黒生成量とすることを特徴としている。   The image processing apparatus further includes a region separation processing unit that separates image data including a plurality of color components into a plurality of regions, and the hue-corresponding black generation amount calculation unit includes a predetermined predetermined value. The black generation amount corresponding to the gray region is calculated in addition to the hue of the image, and the black generation amount interpolation calculation unit determines that the image data belongs to the black character region or the color blur region in the result of the region separation processing unit. In this case, the interpolation generation is not performed, and the black generation amount corresponding to the gray area obtained by the hue-corresponding black generation amount calculation unit is set as the black generation amount for the image data.

本発明に係る他の画像処理装置は、上記課題を解決するために、複数の色成分よりなる画像データに対して下色除去処理を行う画像処理装置において、複数の色成分よりなる画像データの色相を判定する色相判定部と、予め定められた複数種類の色相毎に、各色相に対応する色相対応下色除去量を算出する色相対応下色除去量算出部と、上記色相判定部の結果に基づき、上記色相対応下色除去量算出部で算出された複数の色相対応下色除去量から所定数の色相対応下色除去量を選択する下色除去量選択部と、上記選択された所定数の色相対応下色除去量に対して補間演算を行い、上記画像データに対する下色除去量を算出する下色除去量補間演算部とを備えていることを特徴としている。   In order to solve the above-described problem, another image processing apparatus according to the present invention performs an undercolor removal process on image data composed of a plurality of color components, and performs image data composed of a plurality of color components. Results of a hue determination unit that determines a hue, a hue-corresponding lower color removal amount calculation unit that calculates a hue-corresponding lower color removal amount corresponding to each hue for each of a plurality of predetermined hues, and a result of the hue determination unit The undercolor removal amount selection unit that selects a predetermined number of hue-corresponding undercolor removal amounts from the plurality of hue-corresponding undercolor removal amounts calculated by the hue-corresponding undercolor removal amount calculation unit, and the selected predetermined color And a lower color removal amount interpolation calculation unit that performs an interpolation calculation on a number of hue-corresponding lower color removal amounts and calculates a lower color removal amount for the image data.

また、上記画像処理装置において、上記色相対応下色除去量算出部は、上記画像データの画素値に基づいて得られる所定のパラメータと、基準軸上の下色除去量とを対応させて格納させる複数の1次元ルックアップテーブルを備えた1次元テーブル格納部と、上記1次元テーブル格納部から読み出された基準軸上の下色除去量に対して補間演算を行い、予め定められた所定の色相に対応した下色除去量を算出する算出部とからなることを特徴としている。   In the image processing apparatus, the hue-corresponding undercolor removal amount calculation unit stores a predetermined parameter obtained based on the pixel value of the image data in correspondence with the undercolor removal amount on the reference axis. A one-dimensional table storage unit having a plurality of one-dimensional look-up tables and an undercolor removal amount on the reference axis read from the one-dimensional table storage unit are subjected to an interpolation operation to obtain a predetermined predetermined value. And a calculation unit that calculates an under color removal amount corresponding to the hue.

また、上記画像処理装置において、上記色相対応下色除去量算出部は、上記画像データの画素値に基づいて得られる所定のパラメータ対と、予め定められた所定の色相に対応した下色除去量とを対応させて格納させる複数の2次元ルックアップテーブルを備えた2次元テーブル格納部からなることを特徴としている。   Further, in the image processing device, the hue-corresponding undercolor removal amount calculation unit includes a predetermined parameter pair obtained based on the pixel value of the image data and a undercolor removal amount corresponding to a predetermined hue. And a two-dimensional table storage unit having a plurality of two-dimensional lookup tables for storing them in correspondence with each other.

また、上記画像処理装置は、さらに、複数の色成分よりなる画像データを複数の領域に分離する領域分離処理部を備えていると共に、上記色相対応下色除去量算出部は、予め定められた所定の色相に加えてグレー領域に対応する下色除去量を算出するものであり、下色除去量補間演算部は、領域分離処理部の結果において上記画像データが黒文字領域または色にじみ領域に属すると判断された場合には、補間演算を行わず、上記色相対応下色除去量算出部にて求められたグレー領域に対応する下色除去量を画像データに対する下色除去量とすることを特徴としている。   The image processing apparatus further includes a region separation processing unit that separates image data including a plurality of color components into a plurality of regions, and the hue-corresponding undercolor removal amount calculation unit is determined in advance. The under color removal amount corresponding to the gray region in addition to the predetermined hue is calculated, and the under color removal amount interpolation calculation unit has the image data belonging to the black character region or the color blur region as a result of the region separation processing unit. If it is determined that the undercolor removal amount corresponding to the gray area obtained by the hue-corresponding undercolor removal amount calculation unit is not subjected to the interpolation calculation, the undercolor removal amount for the image data is used. It is said.

本発明に係る画像形成装置は、上記課題を解決するために、上述の画像処理装置の何れかを備えることを特徴としている。   In order to solve the above problems, an image forming apparatus according to the present invention includes any one of the above-described image processing apparatuses.

本発明に係る画像処理方法は、上記課題を解決するために、複数の色成分よりなる画像データに対して黒生成処理を行う画像処理方法において、複数の色成分よりなる画像データの色相を判定する色相判定工程と、予め定められた複数種類の色相毎に、各色相に対応する色相対応黒生成量を算出する色相対応黒生成量算出工程と、上記色相判定工程の判定結果に基づき、上記色相対応黒生成量算出工程で算出された複数の色相対応黒生成量から所定数の色相対応黒生成量を選択する黒生成量選択工程と、上記選択された所定数の色相対応黒生成量に対して補間演算を行い、上記画像データに対する黒生成量を算出する黒生成量補間演算工程とを備えていることを特徴としている。   In order to solve the above problem, an image processing method according to the present invention determines a hue of image data including a plurality of color components in an image processing method for performing black generation processing on image data including a plurality of color components. Based on the determination result of the hue determination step, the hue generation black generation amount calculation step for calculating the hue generation black generation amount corresponding to each hue for each of a plurality of predetermined hues, and the determination result of the hue determination step A black generation amount selection step of selecting a predetermined number of hue-corresponding black generation amounts from a plurality of hue-corresponding black generation amounts calculated in the hue-corresponding black generation amount calculation step, and the selected predetermined number of hue-corresponding black generation amounts And a black generation amount interpolation calculation step of calculating a black generation amount for the image data.

また、上記画像処理方法は、さらに、複数の色成分よりなる画像データを複数の領域に分離する領域分離処理工程を含むと共に、上記色相対応黒生成量算出工程では、予め定められた所定の色相に加えてグレー領域に対応する黒生成量が算出されるものであり、黒生成量補間演算工程では、領域分離処理工程の結果において上記画像データが黒文字領域または色にじみ領域に属すると判断された場合には、補間演算を行わず、上記色相対応黒生成量算出工程にて求められたグレー領域に対応する黒生成量を画像データに対する黒生成量とすることを特徴としている。   The image processing method further includes a region separation processing step of separating image data composed of a plurality of color components into a plurality of regions, and the hue-corresponding black generation amount calculation step includes a predetermined predetermined hue. In addition, the black generation amount corresponding to the gray region is calculated. In the black generation amount interpolation calculation step, it is determined that the image data belongs to the black character region or the color blur region as a result of the region separation processing step. In this case, the interpolation generation is not performed, and the black generation amount corresponding to the gray area obtained in the hue-related black generation amount calculation step is set as the black generation amount for the image data.

本発明に係る他の画像処理方法は、上記課題を解決するために、複数の色成分よりなる画像データに対して下色除去処理を行う画像処理方法において、複数の色成分よりなる画像データの色相を判定する色相判定工程と、予め定められた複数種類の色相毎に、各色相に対応する色相対応下色除去量を算出する色相対応下色除去量算出工程と、上記色相判定工程の判定結果に基づき、上記色相対応下色除去量算出工程で算出された複数の色相対応下色除去量から所定数の色相対応下色除去量を選択する下色除去量選択工程と、上記選択された所定数の色相対応下色除去量に対して補間演算を行い、上記画像データに対する下色除去量を算出する下色除去量補間演算工程とを備えていることを特徴としている。   Another image processing method according to the present invention is an image processing method for performing undercolor removal processing on image data composed of a plurality of color components in order to solve the above-mentioned problem. Hue determination step for determining a hue, a hue-corresponding under-color removal amount calculation step for calculating a hue-corresponding under-color removal amount corresponding to each hue for each of a plurality of predetermined hues, and determination in the above-described hue determination step Based on the result, a lower color removal amount selecting step for selecting a predetermined number of hue corresponding lower color removal amounts from a plurality of hue corresponding lower color removal amounts calculated in the hue corresponding lower color removal amount calculating step, and the selected And a lower color removal amount interpolation calculation step of performing an interpolation operation on a predetermined number of hue-corresponding lower color removal amounts and calculating a lower color removal amount for the image data.

また、上記画像処理方法は、さらに、複数の色成分よりなる画像データを複数の領域に分離する領域分離処理工程を含むと共に、上記色相対応下色除去量算出工程では、予め定められた所定の色相に加えてグレー領域に対応する下色除去量が算出されるものであり、下色除去量補間演算工程では、領域分離処理工程の結果において上記画像データが黒文字領域または色にじみ領域に属すると判断された場合には、補間演算を行わず、上記色相対応下色除去量算出工程にて求められたグレー領域に対応する下色除去量を画像データに対する下色除去量とすることを特徴としている。   The image processing method further includes a region separation process step of separating image data composed of a plurality of color components into a plurality of regions, and the hue-corresponding undercolor removal amount calculation step includes a predetermined predetermined value. The under color removal amount corresponding to the gray region in addition to the hue is calculated. In the under color removal amount interpolation calculation step, the image data belongs to the black character region or the color blur region as a result of the region separation processing step. If determined, the interpolation operation is not performed, and the under color removal amount corresponding to the gray area obtained in the hue corresponding under color removal amount calculating step is set as the under color removal amount for the image data. Yes.

本発明に係る画像処理プログラムは、上記課題を解決するために、コンピュータを、上記画像処理装置を構成する各機能部として作用させることを特徴としている。   In order to solve the above problems, an image processing program according to the present invention causes a computer to function as each functional unit constituting the image processing apparatus.

本発明に係る画像処理装置は、以上のように、複数の色成分よりなる画像データの色相を判定する色相判定部と、予め定められた複数種類の色相毎に、各色相に対応する色相対応黒生成量を算出する色相対応黒生成量算出部と、上記色相判定部の結果に基づき、上記色相対応黒生成量算出部で算出された複数の色相対応黒生成量から所定数の色相対応黒生成量を選択する黒生成量選択部と、上記選択された所定数の色相対応黒生成量に対して補間演算を行い、上記画像データに対する黒生成量を算出する黒生成量補間演算部とを備えている。   As described above, the image processing apparatus according to the present invention includes a hue determination unit that determines the hue of image data including a plurality of color components, and a hue corresponding to each hue for each of a plurality of predetermined hues. Based on the results of the hue-corresponding black generation amount calculation unit for calculating the black generation amount and the hue determination unit, a predetermined number of hue-corresponding blacks from the plurality of hue-corresponding black generation amounts calculated by the hue-corresponding black generation amount A black generation amount selection unit that selects a generation amount; and a black generation amount interpolation calculation unit that performs an interpolation operation on the selected predetermined number of hue-corresponding black generation amounts and calculates a black generation amount for the image data. I have.

上記色相対応黒生成量算出部では、予め定められた複数種類の色相、例えば、C,M,Yの3種類の色相や、C,M,Y,R,G,Bの6種類の色相において、各色相に対応する色相対応黒生成量が算出される。また、上記色相判定部では、画像データの色相が判定される。この色相の判定では、例えば、予め定められた複数種類の色相がC,M,Yの3種類の色相である場合、上記画像データの色相がCとYとの間の色相であるといったような判定結果が与えられる。   The hue-corresponding black generation amount calculation unit calculates a plurality of predetermined hues, for example, three types of hues of C, M, and Y, and six types of hues of C, M, Y, R, G, and B. The hue-related black generation amount corresponding to each hue is calculated. Further, the hue determination unit determines the hue of the image data. In this hue determination, for example, when a plurality of predetermined hues are three types of hues of C, M, and Y, the hue of the image data is a hue between C and Y. A judgment result is given.

上記黒生成量選択部では、色相判定部の結果に基づき、上記色相対応黒生成量算出部で算出された複数の色相対応黒生成量から所定数の色相対応黒生成量が選択され、上記黒生成量補間演算部では選択された所定数の色相対応黒生成量に対して補間演算が行われ、上記画像データに対する黒生成量が算出される。例えば、上記画像データの色相がCとYとの間の色相であると判断された場合、C色相に対応する色相対応黒生成量とY色相に対応する色相対応黒生成量とが選択され、これらの補間演算によってCとYとの間の色相である上記画像データに対する黒生成量が求められる、
それゆえ、上記画像処理装置では、入力画像データの色相に応じて黒生成量を算出できるようになり、適切な黒生成量が設定されるので、画質を向上させることができるという効果を奏する。
Based on the result of the hue determination unit, the black generation amount selection unit selects a predetermined number of hue-corresponding black generation amounts from the plurality of hue-corresponding black generation amounts calculated by the hue-corresponding black generation amount calculation unit, and The generation amount interpolation calculation unit performs an interpolation calculation on the predetermined number of selected hue-corresponding black generation amounts, and calculates a black generation amount for the image data. For example, when it is determined that the hue of the image data is a hue between C and Y, a hue corresponding black generation amount corresponding to the C hue and a hue corresponding black generation amount corresponding to the Y hue are selected. The black generation amount for the image data that is a hue between C and Y is obtained by these interpolation operations.
Therefore, the image processing apparatus can calculate the black generation amount according to the hue of the input image data, and an appropriate black generation amount is set, so that the image quality can be improved.

また、上記画像処理装置では、上記色相対応黒生成量算出部は、上記画像データの画素値に基づいて得られる所定のパラメータと、基準軸上の黒生成量とを対応させて格納させる複数の1次元ルックアップテーブルを備えた1次元テーブル格納部と、上記1次元テーブル格納部から読み出された基準軸上の黒生成量に対して補間演算を行い、予め定められた所定の色相に対応した黒生成量を算出する算出部とからなる。   Further, in the image processing apparatus, the hue-corresponding black generation amount calculation unit stores a plurality of predetermined parameters obtained based on the pixel values of the image data and the black generation amount on the reference axis in association with each other. Interpolates the one-dimensional table storage unit with a one-dimensional lookup table and the black generation amount on the reference axis read from the one-dimensional table storage unit, and corresponds to a predetermined hue. And a calculation unit for calculating the generated black generation amount.

上記色相対応黒生成量算出部において、各色相に対応した黒生成量を算出する処理は、1次元テーブル格納部から、所定のパラメータに基づいて基準軸上の黒生成量を読み出し、読み出された黒生成量に対して算出部にて補間演算を行うことで求められる。例えば、C色相に対応する黒生成量を求めようとする場合、基準軸としてグレー軸およびC軸を用いることが考えられる。他の色相においても、グレー軸に対応するテーブルを各色相で共通に一つだけもち、色相に依存するテーブルのみを色相毎に持つことが考えられる。それゆえ、テーブルを格納するためのメモリ使用量を減少させることができるという効果を奏する。   The process for calculating the black generation amount corresponding to each hue in the hue-corresponding black generation amount calculation unit reads the black generation amount on the reference axis from the one-dimensional table storage unit based on a predetermined parameter, and is read out. This is obtained by performing an interpolation operation on the black generation amount in the calculation unit. For example, when trying to obtain the black generation amount corresponding to the C hue, it is conceivable to use the gray axis and the C axis as the reference axes. In other hues, it is conceivable to have only one table corresponding to the gray axis in common for each hue and to have only a table depending on the hue for each hue. Therefore, the memory usage for storing the table can be reduced.

また、上記画像処理装置では、上記色相対応黒生成量算出部は、上記画像データの画素値に基づいて得られる所定のパラメータ対と、予め定められた所定の色相に対応した黒生成量とを対応させて格納させる複数の2次元ルックアップテーブルを備えた2次元テーブル格納部からなる。   Further, in the image processing apparatus, the hue-corresponding black generation amount calculation unit includes a predetermined parameter pair obtained based on the pixel value of the image data and a black generation amount corresponding to a predetermined hue. It consists of a two-dimensional table storage unit having a plurality of two-dimensional lookup tables to be stored in correspondence.

それゆえ、色相に対応した黒生成量を、上記2次元ルックアップテーブルから読み出すのみで得られるという効果を奏する。   Therefore, there is an effect that the black generation amount corresponding to the hue can be obtained only by reading from the two-dimensional lookup table.

また、上記画像処理装置は、さらに、複数の色成分よりなる画像データを複数の領域に分離する領域分離処理部を備えていると共に、上記色相対応黒生成量算出部は、予め定められた所定の色相に加えてグレー領域に対応する黒生成量を算出するものであり、黒生成量補間演算部は、領域分離処理部の結果において上記画像データが黒文字領域または色にじみ領域に属すると判断された場合には、補間演算を行わず、上記色相対応黒生成量算出部にて求められたグレー領域に対応する黒生成量を画像データに対する黒生成量とする。   The image processing apparatus further includes a region separation processing unit that separates image data including a plurality of color components into a plurality of regions, and the hue-corresponding black generation amount calculation unit includes a predetermined predetermined value. The black generation amount corresponding to the gray region is calculated in addition to the hue of the image, and the black generation amount interpolation calculation unit determines that the image data belongs to the black character region or the color blur region in the result of the region separation processing unit. In such a case, the interpolation generation is not performed, and the black generation amount corresponding to the gray area obtained by the hue-corresponding black generation amount calculation unit is set as the black generation amount for the image data.

すなわち、黒文字領域や色にじみ領域はグレーの領域であり、色相による変換は必要ない。それゆえ、これら色相による補間が必要ない領域では補間計算を行わず、グレー領域に適したテーブルを用いることで適切な黒生成量を算出することができる。また、不要な補間計算を実行しないことで計算量を減少させることができるという効果を奏する。   That is, the black character area and the color blur area are gray areas, and conversion by hue is not necessary. Therefore, an interpolation calculation is not performed in an area where interpolation by hue is not necessary, and an appropriate black generation amount can be calculated by using a table suitable for the gray area. In addition, the calculation amount can be reduced by not performing unnecessary interpolation calculation.

本発明に係る画像処理装置は、以上のように、複数の色成分よりなる画像データの色相を判定する色相判定部と、予め定められた複数種類の色相毎に、各色相に対応する色相対応下色除去量を算出する色相対応下色除去量算出部と、上記色相判定部の結果に基づき、上記色相対応下色除去量算出部で算出された複数の色相対応下色除去量から所定数の色相対応下色除去量を選択する下色除去量選択部と、上記選択された所定数の色相対応下色除去量に対して補間演算を行い、上記画像データに対する下色除去量を算出する下色除去量補間演算部とを備えている。   As described above, the image processing apparatus according to the present invention includes a hue determination unit that determines the hue of image data including a plurality of color components, and a hue corresponding to each hue for each of a plurality of predetermined hues. Based on the results of the hue-corresponding undercolor removal amount calculation unit that calculates the undercolor removal amount and the hue determination unit, a predetermined number of hue-corresponding undercolor removal amounts calculated by the hue-corresponding undercolor removal amount calculation unit A lower color removal amount selection unit that selects a lower color removal amount corresponding to the hue, and an interpolation operation is performed on the selected predetermined number of lower hue removal amounts corresponding to the hues to calculate the lower color removal amount for the image data. And an under color removal amount interpolation calculation unit.

上記色相対応下色除去量算出部では、予め定められた複数種類の色相、例えば、C,M,Yの3種類の色相や、C,M,Y,R,G,Bの6種類の色相において、各色相に対応する色相対応下色除去量が算出される。また、上記色相判定部では、画像データの色相が判定される。この色相の判定では、例えば、予め定められた複数種類の色相がC,M,Yの3種類の色相である場合、上記画像データの色相がCとYとの間の色相であるといったような判定結果が与えられる。   The hue-corresponding undercolor removal amount calculation unit calculates a plurality of predetermined hues, for example, three types of hues of C, M, and Y, and six types of hues of C, M, Y, R, G, and B. , The hue-corresponding undercolor removal amount corresponding to each hue is calculated. Further, the hue determination unit determines the hue of the image data. In this hue determination, for example, when a plurality of predetermined hues are three types of hues of C, M, and Y, the hue of the image data is a hue between C and Y. A judgment result is given.

上記下色除去量選択部では、色相判定部の結果に基づき、上記色相対応下色除去量算出部で算出された複数の色相対応下色除去量から所定数の色相対応下色除去量が選択され、上記下色除去量補間演算部では選択された所定数の色相対応下色除去量に対して補間演算が行われ、上記画像データに対する下色除去量が算出される。例えば、上記画像データの色相がCとYとの間の色相であると判断された場合、C色相に対応する色相対応下色除去量とY色相に対応する色相対応下色除去量とが選択され、これらの補間演算によってCとYとの間の色相である上記画像データに対する下色除去量が求められる、
それゆえ、上記画像処理装置では、入力画像データの色相に応じて下色除去量を算出できるようになり、適切な下色除去量が設定されるので、画質を向上させることができるという効果を奏する。
The under color removal amount selection unit selects a predetermined number of hue-corresponding under color removal amounts from the plurality of hue-corresponding under color removal amounts calculated by the hue-corresponding under color removal amount calculation unit based on the result of the hue determination unit. Then, the lower color removal amount interpolation calculation unit performs an interpolation operation on the selected predetermined number of hue-corresponding lower color removal amounts, and calculates the lower color removal amount for the image data. For example, when it is determined that the hue of the image data is a hue between C and Y, a hue-corresponding lower color removal amount corresponding to the C hue and a hue-corresponding lower color removal amount corresponding to the Y hue are selected. By these interpolation operations, the under color removal amount for the image data that is a hue between C and Y is obtained.
Therefore, the image processing apparatus can calculate the under color removal amount according to the hue of the input image data, and an appropriate under color removal amount is set, so that the image quality can be improved. Play.

また、上記画像処理装置では、上記色相対応下色除去量算出部は、上記画像データの画素値に基づいて得られる所定のパラメータと、基準軸上の下色除去量とを対応させて格納させる複数の1次元ルックアップテーブルを備えた1次元テーブル格納部と、上記1次元テーブル格納部から読み出された基準軸上の下色除去量に対して補間演算を行い、予め定められた所定の色相に対応した下色除去量を算出する算出部とからなる。   In the image processing apparatus, the hue-corresponding undercolor removal amount calculation unit stores a predetermined parameter obtained based on the pixel value of the image data in association with the undercolor removal amount on the reference axis. A one-dimensional table storage unit having a plurality of one-dimensional look-up tables and an undercolor removal amount on the reference axis read from the one-dimensional table storage unit are subjected to an interpolation operation to obtain a predetermined predetermined value. A calculation unit that calculates an under color removal amount corresponding to the hue.

上記色相対応下色除去量算出部において、各色相に対応した下色除去量を算出する処理は、1次元テーブル格納部から、所定のパラメータに基づいて基準軸上の下色除去量を読み出し、読み出された下色除去量に対して算出部にて補間演算を行うことで求められる。例えば、C色相に対応する下色除去量を求めようとする場合、基準軸としてグレー軸およびC軸を用いることが考えられる。他の色相においても、グレー軸に対応するテーブルを各色相で共通に一つだけもち、色相に依存するテーブルのみを色相毎に持つことが考えられる。それゆえ、テーブルを格納するためのメモリ使用量を減少させることができるという効果を奏する。   In the hue-corresponding undercolor removal amount calculation unit, the process of calculating the undercolor removal amount corresponding to each hue reads out the undercolor removal amount on the reference axis based on a predetermined parameter from the one-dimensional table storage unit, This is obtained by performing an interpolation operation on the read undercolor removal amount by the calculation unit. For example, when trying to obtain the undercolor removal amount corresponding to the C hue, it is conceivable to use the gray axis and the C axis as the reference axes. In other hues, it is conceivable to have only one table corresponding to the gray axis in common for each hue and to have only a table depending on the hue for each hue. Therefore, the memory usage for storing the table can be reduced.

また、上記画像処理装置では、上記色相対応下色除去量算出部は、上記画像データの画素値に基づいて得られる所定のパラメータ対と、予め定められた所定の色相に対応した下色除去量とを対応させて格納させる複数の2次元ルックアップテーブルを備えた2次元テーブル格納部からなる。   In the image processing apparatus, the hue-corresponding undercolor removal amount calculation unit includes a predetermined parameter pair obtained based on the pixel value of the image data and a undercolor removal amount corresponding to a predetermined hue. And a two-dimensional table storage unit having a plurality of two-dimensional look-up tables.

それゆえ、色相に対応した下色除去量を、上記2次元ルックアップテーブルから読み出すのみで得られるという効果を奏する。   Therefore, there is an effect that the undercolor removal amount corresponding to the hue can be obtained only by reading from the two-dimensional lookup table.

また、上記画像処理装置は、さらに、複数の色成分よりなる画像データを複数の領域に分離する領域分離処理部を備えていると共に、上記色相対応下色除去量算出部は、予め定められた所定の色相に加えてグレー領域に対応する下色除去量を算出するものであり、下色除去量補間演算部は、領域分離処理部の結果において上記画像データが黒文字領域または色にじみ領域に属すると判断された場合には、補間演算を行わず、上記色相対応下色除去量算出部にて求められたグレー領域に対応する下色除去量を画像データに対する下色除去量とする。   The image processing apparatus further includes a region separation processing unit that separates image data including a plurality of color components into a plurality of regions, and the hue-corresponding undercolor removal amount calculation unit is determined in advance. The under color removal amount corresponding to the gray region in addition to the predetermined hue is calculated, and the under color removal amount interpolation calculation unit has the image data belonging to the black character region or the color blur region as a result of the region separation processing unit. When it is determined, the interpolation calculation is not performed, and the under color removal amount corresponding to the gray area obtained by the hue corresponding under color removal amount calculation unit is set as the under color removal amount for the image data.

すなわち、黒文字領域や色にじみ領域はグレーの領域であり、色相による変換は必要ない。それゆえ、これら色相による補間が必要ない領域では補間計算を行わず、グレー領域に適したテーブルを用いることで適切な下色除去量を算出することができる。また、不要な補間計算を実行しないことで計算量を減少させることができるという効果を奏する。   That is, the black character area and the color blur area are gray areas, and conversion by hue is not necessary. Therefore, an interpolation calculation is not performed in an area where interpolation by hue is not necessary, and an appropriate under color removal amount can be calculated by using a table suitable for the gray area. In addition, the calculation amount can be reduced by not performing unnecessary interpolation calculation.

本発明の一実施形態について図1ないし図15に基づいて説明すると以下の通りである。   An embodiment of the present invention will be described below with reference to FIGS.

まず、本発明が適用されたカラー画像処理装置を備える画像形成装置の一実施形態として、デジタルカラー複写機の構成を図2に示す。デジタルカラー複写機は、図2に示すように、カラー画像入力装置10、カラー画像処理装置20、カラー画像出力装置30および操作パネル40から構成されている。   First, FIG. 2 shows a configuration of a digital color copying machine as an embodiment of an image forming apparatus including a color image processing apparatus to which the present invention is applied. As shown in FIG. 2, the digital color copying machine includes a color image input device 10, a color image processing device 20, a color image output device 30, and an operation panel 40.

カラー画像入力装置10は、例えばCCD(Charge Coupled Device )を備えたスキャナ部より構成され、原稿からの反射光像をRGB(R:赤・G:緑・B:青)のアナログ信号としてCCDにて読み取って、カラー画像処理装置20に入力するものである。   The color image input device 10 is composed of, for example, a scanner unit equipped with a CCD (Charge Coupled Device), and a reflected light image from an original is converted into an RGB (R: red, G: green, B: blue) analog signal to the CCD. Are read and input to the color image processing apparatus 20.

カラー画像出力装置30は、画像データを記録媒体(例えば紙等)上に出力するもので、例えば、電子写真方式やインクジェット方式を用いたカラー画像出力装置等を挙げることができるが、その記録方式は特に限定されるものではない。また、操作パネル40は、デジタルカラー複写機の動作モードを設定する設定ボタンやテンキー、液晶ディスプレイなどで構成される表示部より構成されるものである。   The color image output device 30 outputs image data onto a recording medium (for example, paper). Examples of the color image output device 30 include a color image output device using an electrophotographic method or an inkjet method. Is not particularly limited. The operation panel 40 is composed of a display unit including a setting button for setting the operation mode of the digital color copying machine, a numeric keypad, and a liquid crystal display.

カラー画像処理装置20は、A/D変換部21、シェーディング補正部22、入力階調補正部23、領域分離処理部24、色補正部25、黒生成下色除去部26、空間フィルタ処理部27、出力階調補正部28、及び階調再現処理部29から構成されている。   The color image processing apparatus 20 includes an A / D conversion unit 21, a shading correction unit 22, an input tone correction unit 23, a region separation processing unit 24, a color correction unit 25, a black generation and under color removal unit 26, and a spatial filter processing unit 27. , An output tone correction unit 28, and a tone reproduction processing unit 29.

カラー画像入力装置10にて読み取られたアナログ信号は、カラー画像処理装置20内を、A/D変換部21、シェーディング補正部22、入力階調補正部23、領域分離処理部24、色補正部25、黒生成下色除去部26、空間フィルタ処理部27、出力階調補正部28、及び階調再現処理部29の順で送られ、CMYKのデジタルカラー信号として、カラー画像出力装置30へ出力される。   An analog signal read by the color image input device 10 is converted into an A / D conversion unit 21, a shading correction unit 22, an input tone correction unit 23, a region separation processing unit 24, and a color correction unit in the color image processing device 20. 25, the black generation and lower color removal unit 26, the spatial filter processing unit 27, the output gradation correction unit 28, and the gradation reproduction processing unit 29 are sent in this order and output to the color image output device 30 as a CMYK digital color signal. Is done.

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

入力階調補正部23は、シェーディング補正部22にて各種の歪みが取り除かれたRGB信号(RGBの反射率信号)に対して、カラーバランスを整えると同時に、濃度信号などカラー画像処理装置20に採用されている画像処理システムの扱い易い信号に変換する処理を施す。   The input tone correction unit 23 adjusts the color balance of the RGB signal (RGB reflectance signal) from which various distortions have been removed by the shading correction unit 22 and simultaneously supplies the color signal processing unit 20 with a color signal such as a density signal. A process of converting the signal into an easy-to-handle signal of the employed image processing system is performed.

領域分離処理部24は、入力階調補正部23から送られてくるRGB信号より、入力画像中の各画素を文字領域、網点領域、写真領域の何れかに分離する。領域分離処理部24は、その分離結果に基づき、各画素がどの領域に属しているかを示す領域識別信号を、黒生成下色除去部26、空間フィルタ処理部27、及び階調再現処理部29へと出力すると共に、入力階調補正部23より出力された入力信号をそのまま後段の色補正部25に出力する。   The region separation processing unit 24 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 sent from the input tone correction unit 23. Based on the separation result, the region separation processing unit 24 generates a region identification signal indicating which region each pixel belongs to, as a black generation and under color removal unit 26, a spatial filter processing unit 27, and a gradation reproduction processing unit 29. The input signal output from the input tone correction unit 23 is output to the subsequent color correction unit 25 as it is.

色補正部25は、色再現の忠実化実現のために、不要吸収成分を含むCMY(C:シアン・M:マゼンタ・Y:イエロー)色材の分光特性に基づいた色濁りを取り除く処理を行う。   The color correction unit 25 performs a process of removing color turbidity based on spectral characteristics of CMY (C: cyan, M: magenta, Y: yellow) color materials including unnecessary absorption components in order to realize faithful color reproduction. .

黒生成下色除去部26は、色補正部25より出力される色補正後のCMYの3色信号から黒(K)信号を生成する黒生成処理、および元のCMY信号からCMY信号が重なる部分を差し引いて新たなCMY信号を生成する下色除去処理を行う。黒生成下色除去部26において、CMYの3色信号はCMYKの4色信号に変換される。   The black generation and under color removal unit 26 generates a black (K) signal from the color-corrected CMY three-color signal output from the color correction unit 25, and a portion where the CMY signal overlaps the original CMY signal Under color removal processing for generating a new CMY signal by subtracting. In the black generation and under color removal unit 26, the CMY three-color signal is converted into a CMYK four-color signal.

空間フィルタ処理部27は、黒生成下色除去部26より入力されるCMYK信号の画像データに対して、領域識別信号を基にデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正することによって出力画像のぼやけや粒状性劣化を防ぐように処理を行う。出力階調補正部28は、濃度信号をカラー画像出力装置の特性値である網点面積率に変換する出力階調補正処理を行う。階調再現処理部29も、空間フィルタ処理部27と同様に、CMYK信号の画像データに対して、領域識別信号を基に所定の処理を施すものである。   The spatial filter processing unit 27 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 26 based on the region identification signal, thereby correcting the spatial frequency characteristics. Processing is performed to prevent blurring of the output image and deterioration of graininess. The output tone correction unit 28 performs output tone correction processing for converting the density signal into a halftone dot area ratio that is a characteristic value of the color image output device. Similar to the spatial filter processing unit 27, the gradation reproduction processing unit 29 also performs predetermined processing on the image data of the CMYK signal based on the region identification signal.

例えば、領域分離処理部24において文字に分離された領域は、特に黒文字あるいは色文字の再現性を高めるために、空間フィルタ処理部27による空間フィルタ処理で、鮮鋭強調処理が施され、高周波成分を強調する。同時に、階調再現処理部29においては、高周波成分の再現に適した高解像度のスクリーンでの二値化または多値化処理が選択される。   For example, a region separated into characters by the region separation processing unit 24 is subjected to sharp enhancement processing by spatial filter processing by the spatial filter processing unit 27 in order to improve the reproducibility of black characters or color characters in particular, and high-frequency components are reduced. Emphasize. At the same time, the gradation reproduction processing unit 29 selects binarization or multi-value processing on a high-resolution screen suitable for reproducing high-frequency components.

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

上述した各処理が施された画像データは、一旦記憶手段(図示せず)に記憶され、所定のタイミングで読み出されてカラー画像出力装置30に入力される。尚、以上の処理は不図示のCPU(Central Processing Unit)により制御される。   The image data subjected to the above-described processes is temporarily stored in a storage means (not shown), read at a predetermined timing, and input to the color image output device 30. The above processing is controlled by a CPU (Central Processing Unit) (not shown).

本発明に係る画像処理装置は、予め定められる色相に対して適切な黒生成量・下色除去量を算出することを目的としている。この目的を達成するために、本実施の形態に係るカラー画像処理装置20は、特に黒生成下色除去部26での処理に特徴を有するものである。これより、黒生成下色除去部26の構成および処理について詳細に説明する。   An object of the image processing apparatus according to the present invention is to calculate an appropriate black generation amount / undercolor removal amount for a predetermined hue. In order to achieve this object, the color image processing apparatus 20 according to the present embodiment is particularly characterized by the processing in the black generation and under color removal unit 26. Hereafter, the configuration and processing of the black generation and under color removal unit 26 will be described in detail.

先ず、黒生成下色除去部26の概略構成を図3に示す。黒生成下色除去部26は、黒生成部261と下色除去部262とから構成される。さらに、下色除去部262は、下色除去量算出部263と下色除去処理部264とから構成される。黒生成部261では、色補正後のCMY信号から黒信号(K)を算出し、後段の処理部(図2の例では空間フィルタ処理部27)へ送る。   First, a schematic configuration of the black generation and under color removal unit 26 is shown in FIG. The black generation / under color removal unit 26 includes a black generation unit 261 and an under color removal unit 262. Further, the lower color removal unit 262 includes a lower color removal amount calculation unit 263 and a lower color removal processing unit 264. The black generation unit 261 calculates the black signal (K) from the color-corrected CMY signal and sends it to the subsequent processing unit (spatial filter processing unit 27 in the example of FIG. 2).

下色除去部262では、下色除去量算出部263で下色除去量(UCR)を算出する。そして、下色除去処理部264では、下色除去量算出部263で算出された下色除去量に基づき、下記の(1)式を用いて色補正後のCMY信号を減算し、下色除去処理後のC’M’Y’信号を後段の処理部へ送る。   The under color removal unit 262 calculates the under color removal amount (UCR) with the under color removal amount calculation unit 263. Then, the under color removal processing unit 264 subtracts the color-corrected CMY signal using the following equation (1) based on the under color removal amount calculated by the under color removal amount calculation unit 263 to remove the under color removal. The processed C′M′Y ′ signal is sent to the subsequent processing unit.

Figure 0004101741
Figure 0004101741

黒生成部261での黒信号(K)算出処理と、下色除去量算出部263での下色除去量(UCR)算出処理とは、その算出方法は基本的に同一のものとすることができる。このため、以下の説明では、黒生成部261の構成および動作を例にとって本発明を詳細に説明する。   The black signal (K) calculation process in the black generation unit 261 and the under color removal amount (UCR) calculation process in the under color removal amount calculation unit 263 may have basically the same calculation method. it can. Therefore, in the following description, the present invention will be described in detail by taking the configuration and operation of the black generation unit 261 as an example.

黒生成部261の一構成例を図1に示す。図1に示す黒生成部261は、色相判定部2611、最大値・最小値算出部2612、グレー軸用一次元黒生成テーブル2613、各色相に対応した高彩度軸用一次元黒生成テーブル2614−n(n=1,…,N)、各色相に対応した黒生成量計算部2615−n(n=1,…,N)、黒生成量選択部2616、黒生成量補間演算部2617から構成される。   One configuration example of the black generation unit 261 is shown in FIG. The black generation unit 261 illustrated in FIG. 1 includes a hue determination unit 2611, a maximum / minimum value calculation unit 2612, a gray axis one-dimensional black generation table 2613, and a high saturation axis one-dimensional black generation table 2614-n corresponding to each hue. (N = 1,..., N), a black generation amount calculation unit 2615-n (n = 1,..., N) corresponding to each hue, a black generation amount selection unit 2616, and a black generation amount interpolation calculation unit 2617. The

上記黒生成部261には、その前段の処理部(図2の例では色補正部25)から色補正後のCMY信号が入力され、このCMY信号は色相判定部2611および最大値・最小値算出部2612に入力される。   The CMY signal after color correction is input to the black generation unit 261 from the preceding processing unit (the color correction unit 25 in the example of FIG. 2), and this CMY signal is calculated by the hue determination unit 2611 and the maximum / minimum value calculation. Input to the unit 2612.

色相判定部2611では、色補正後の信号CMYから各画素信号の色相を判定し、処理中の信号がどの色相に属しているかを示す色相判定信号を生成する。色相判定部2611で生成された色相判定信号は、黒生成量選択部2616および黒生成量補間演算部2617へ送られる。   The hue determination unit 2611 determines the hue of each pixel signal from the color-corrected signal CMY, and generates a hue determination signal indicating to which hue the signal being processed belongs. The hue determination signal generated by the hue determination unit 2611 is sent to the black generation amount selection unit 2616 and the black generation amount interpolation calculation unit 2617.

最大値・最小値算出部2612では、色補正後の信号CMYにおいて、各画素におけるCMY成分の最小値MIN(=min(C,M,Y))および最大値MAX(=max(C,M,Y))を計算する。最大値・最小値算出部2612で算出された最小値MINは第1パラメータとしてグレー軸用一次元黒生成テーブル2613、高彩度軸用一次元黒生成テーブル2614−n、および黒生成量計算部2615−nのそれぞれに送られ、最大値MAXは第2パラメータとして黒生成量計算部2615−nのそれぞれに送られる。   In the maximum value / minimum value calculation unit 2612, in the signal CMY after color correction, the minimum value MIN (= min (C, M, Y)) and the maximum value MAX (= max (C, M, Y) of each pixel in each pixel. Y)) is calculated. The minimum value MIN calculated by the maximum value / minimum value calculating unit 2612 is a first parameter for the gray axis one-dimensional black generation table 2613, a one-dimensional black generation table 2614-n for the high saturation axis, and a black generation amount calculation unit 2615-. The maximum value MAX is sent as a second parameter to each of the black generation amount calculation units 2615-n.

グレー軸用一次元黒生成テーブル2613、高彩度軸用一次元黒生成テーブル2614−nでの処理を説明すると以下のとおりである。   Processing in the gray axis one-dimensional black generation table 2613 and the high saturation axis one-dimensional black generation table 2614-n will be described as follows.

一次元黒生成テーブルとしては、一つのグレー軸用1次元黒生成テーブル2613と、各色相(N種類)に対応したN個の高彩度軸用1次元黒生成テーブル2614−1〜2614−Nとが用意されている。これらの一次元黒生成テーブルでは、最大値・最小値算出部2612で算出された最小値MINを用いて、該最小値MINに対応するKの値がそれぞれ読み出される。   As the one-dimensional black generation table, there are one gray axis one-dimensional black generation table 2613 and N high-saturation axis one-dimensional black generation tables 2614-1 to 2614 -N corresponding to each hue (N types). It is prepared. In these one-dimensional black generation tables, the K value corresponding to the minimum value MIN is read using the minimum value MIN calculated by the maximum value / minimum value calculation unit 2612.

すなわち、グレー軸用1次元黒生成テーブル2613は、MIN−MAX平面におけるグレー軸(MIN=MAXとなる軸)上で、最小値MINを入力とした場合に黒生成量Kを出力とするテーブルである。また、高彩度軸用一次元黒生成テーブル2614−nは、MIN−MAX平面における色相nに対応する高彩度軸(MAX=255となる軸)上で、最小値MINを入力とした場合に黒生成量KCnを出力とするテーブルである。尚、高彩度軸用一次元黒生成テーブル2614−nでは、対応する色相に応じて、最小値MINに対応して格納されている黒生成量の値が異なっているため、色相に応じた黒生成量が決定できるものである。 That is, one-dimensional black generation table 2613 for gray axis, and on the gray axis (MIN = MAX become axis) of the MIN-MAX plane, it outputs a black generation amount K G in the case of the input of the minimum value MIN table It is. The one-dimensional black generation table 2614-n for the high saturation axis is the black generation amount when the minimum value MIN is input on the high saturation axis (axis where MAX = 255) corresponding to the hue n on the MIN-MAX plane. It is a table that outputs K Cn . In the one-dimensional black generation table 2614-n for the high saturation axis, the value of the black generation amount stored corresponding to the minimum value MIN differs depending on the corresponding hue, so that the black generation corresponding to the hue is generated. The amount can be determined.

黒生成量計算部2615−nでは、グレー軸用1次元黒生成テーブル2613から読み出された黒生成量Kと、高彩度軸用一次元黒生成テーブル2614−nから読み出された黒生成量KCnに基づいて、各色相に応じた黒生成量KHnが算出される。 The black generation amount calculation unit 2615-n, and black generation amount K G read from the 1-dimensional black generation table 2613 for gray axis, black generation amount read from the one-dimensional black generation table 2614-n for the high chroma axis Based on K Cn , a black generation amount K Hn corresponding to each hue is calculated.

つまり、黒生成量計算部2615−nのそれぞれにおいて入力される黒生成量Kは、図4に示すように、グレー軸用のテーブルは色相に依存しないため一つだけでよく、グレー軸用1次元黒生成テーブル2613から読み出される黒生成量Kが共通化できる。また、黒生成量計算部2615−nのそれぞれにおいて入力される黒生成量KCnは、対応する色相の高彩度軸用一次元黒生成テーブル2614−nから読み出された黒生成量KCnが入力される。 That is, the black generation amount K G inputted in each of the black generation amount calculation unit 2615-n, as shown in FIG. 4, it is only one because the table for gray axis is not dependent on hue, for the gray axis black generation amount K G read from the 1-dimensional black generation table 2613 can be shared. Further, a black generation amount K Cn inputted in each of the black generation amount calculation unit 2615-n, the corresponding black generation amount read from the high chroma dimensional black generation table for axial 2614-n hue K Cn input Is done.

黒生成量計算部2615−nでの黒生成量KHnの計算方法を、図5(a),図5(b)を参照して説明すると以下のとおりである。 A method of calculating the black generation amount K Hn in the black generation amount calculation unit 2615-n will be described below with reference to FIGS. 5 (a) and 5 (b).

色相nに対応する黒生成量計算部2615−nでは、上述したように、グレー軸用1次元黒生成テーブル2613から読み出された黒生成量Kと、同じ色相nに対応する高彩度軸用一次元黒生成テーブル2614−nから読み出された黒生成量KCnが入力される。ここで、黒生成量Kは、図5(a)においてグレー軸上の白丸で表した点に対応してテーブルより読み出された黒生成量であり、黒生成量KCnは高彩度軸上の白丸で表した点に対応してテーブルより読み出された黒生成量である。 The black generation amount calculation unit 2615-n corresponding to the hue n, as described above, the black generation amount K G read from the 1-dimensional black generation table 2613 for the gray axis, a high chroma axis corresponding to the same hue n The black generation amount K Cn read from the one-dimensional black generation table 2614-n is input. Here, black generation amount K G is a black generation amount read from the table in response to the point, expressed by a white circle on the gray axis in FIG. 5 (a), the black generation amount K Cn on the high chroma axis The black generation amount read from the table corresponding to the points represented by white circles.

黒生成量計算部2615−nでの黒生成量KHnの計算は、図5(b)に示すように、黒生成量KCnと黒生成量Kとを用いた補間演算によって求められる。すなわち、色相nに対応する黒生成量計算部2615−nでは、第1パラメータである最小値MIN、第2パラメータである最大値MAX、黒生成量K、黒生成量KCnを用いて、以下の(2)式によって求められる。 Calculation of black generation amount K Hn of black generation amount calculation unit 2615-n, as shown in FIG. 5 (b), are determined by interpolation calculation using a black generation amount K Cn and black generation amount K G. That is, the black generation amount calculation unit 2615-n corresponding to the hue n uses the minimum value MIN that is the first parameter, the maximum value MAX that is the second parameter, the black generation amount K G , and the black generation amount K Cn . It is obtained by the following equation (2).

Figure 0004101741
Figure 0004101741

上記(2)式により計算された黒生成量KHnは、図5(a)において座標(MIN,MAX)の点に対応する黒生成量として求められる。各黒生成量計算部2615−nで求められた黒生成量KHn(n=1,…,N)は、黒生成量選択部2616へ送られる。 The black generation amount K Hn calculated by the above equation (2) is obtained as the black generation amount corresponding to the point of coordinates (MIN, MAX) in FIG. The black generation amount K Hn (n = 1,..., N) obtained by each black generation amount calculation unit 2615-n is sent to the black generation amount selection unit 2616.

黒生成量選択部2616では、各黒生成量計算部2615−nで求められた黒生成量KHn以外に、色相判定部2611が出力する色相判定信号が入力される。黒生成量選択部2616は、この色相判定信号に基づき(すなわち、色相判定部2611で判定された色相に基づき)、黒生成量KH1〜KHNの中から2つを選択し、K,Kとして黒生成量補間演算部2617へ出力する。 In the black generation amount selection unit 2616, in addition to the black generation amount K Hn obtained by each black generation amount calculation unit 2615-n, a hue determination signal output by the hue determination unit 2611 is input. The black generation amount selection unit 2616 selects two of the black generation amounts K H1 to K HN based on the hue determination signal (that is, based on the hue determined by the hue determination unit 2611), and K 1 , and outputs it to the black generation amount interpolation operation unit 2617 as K 2.

ここで、色相判定部2616での色相の判定方法、およびその判定結果に基づく黒生成量選択部2616での黒生成量K,Kの選択方法を以下に説明する。 Here, a hue determination method in the hue determination unit 2616 and a black generation amount K 1 , K 2 selection method in the black generation amount selection unit 2616 based on the determination result will be described below.

まず、色相としてC,M,Yの3種類を用いる場合の判定方法を、図6を用いて説明する。この場合、図6に示すように、色補正後のCMY信号において、C成分の値が最小の場合、M成分の値が最小の場合、Y成分の値が最小の場合の3つに分割し、色相判定部2616は、それぞれの場合に対応する色相判定信号を出力する。さらにこの場合は、黒生成部261に備えられる黒生成量計算部2615−nは3つ(n=1,2,3)となり、例えば、色相1に対応する黒生成量計算部2615−1はCの色相における黒生成量(グレー軸とC軸とを含む平面内で求められる黒生成量)、色相2に対応する黒生成量計算部2615−2はMの色相における黒生成量(グレー軸とM軸とを含む平面内で求められる黒生成量)、色相3に対応する黒生成量計算部2615−3はYの色相における黒生成量(グレー軸とY軸とを含む平面内で求められる黒生成量)を計算するものとする。   First, a determination method in the case where three types of hues C, M, and Y are used will be described with reference to FIG. In this case, as shown in FIG. 6, in the CMY signal after color correction, the C component value is divided into three cases: the minimum value of the C component, the minimum value of the M component, and the minimum value of the Y component. The hue determination unit 2616 outputs a hue determination signal corresponding to each case. Further, in this case, the black generation amount calculation unit 2615-n provided in the black generation unit 261 is three (n = 1, 2, 3). For example, the black generation amount calculation unit 2615-1 corresponding to the hue 1 is The black generation amount in the hue of C (black generation amount obtained in a plane including the gray axis and the C axis), and the black generation amount calculation unit 2615-2 corresponding to the hue 2 And the black generation amount calculation unit 2615-3 corresponding to hue 3 calculates the black generation amount in the hue of Y (in the plane including the gray axis and the Y axis). The amount of black produced) is calculated.

黒生成量選択部2616では、上記色相判定信号によりC成分の値が最小であると示された場合、Mの色相に対応する黒生成量計算部2615−2からの出力をK、Yの色相に対応する黒生成計算部2615−3からの出力をKとして黒生成補間演算部2617へ出力する。同様に、M成分の値が最小であると示された場合、Yの色相に対応する黒生成量計算部2615−3からの出力をK、Cの色相に対応する黒生成計算部2615−1からの出力をKとし、Y成分の値が最小であると示された場合、Cの色相に対応する黒生成量計算部2615−1からの出力をK、Mの色相に対応する黒生成計算部2615−2からの出力をKとする。 In the black generation amount selection unit 2616, when the hue determination signal indicates that the value of the C component is minimum, the output from the black generation amount calculation unit 2615-2 corresponding to the M hue is output as K 1 and Y. and outputs it to the black generation interpolation calculation unit 2617 outputs from the black generation calculation unit 2615-3 corresponding to the hue as K 2. Similarly, when it is indicated that the value of the M component is the minimum, the output from the black generation amount calculation unit 2615-3 corresponding to the hue of Y is the black generation calculation unit 2615- corresponding to the hue of K 1 and C. If the output from 1 is K 2 and the value of the Y component is indicated as the minimum, the output from the black generation amount calculation unit 2615-1 corresponding to the C hue corresponds to the K 1 and M hues. the output from the black generation calculation unit 2615-2 and K 2.

また、図6の別例として、色相としてC,M,Y,R,G,Bの6種類を用いる場合について、図7(a)〜図7(c)を用いて説明する。   As another example of FIG. 6, a case where six types of hues C, M, Y, R, G, and B are used will be described with reference to FIGS. 7A to 7C.

上記6種類の色相を用いる場合は、黒生成部261に備えられる黒生成量計算部2615−nは6つ(n=1,…,6)となる。この場合、例えば、色相1〜3に対応する黒生成量計算部2615−nは、上記の場合と同じく、C,M,Yの各色相に対応するものとし、色相4〜6に対応する黒生成量計算部2615−nをR,G,Bの各色相に対応するものとする。つまり、色相4に対応する黒生成量計算部2615−4はRの色相における黒生成量(グレー軸とR軸とを含む平面内で求められる黒生成量)、色相5に対応する黒生成量計算部2615−2はGの色相における黒生成量(グレー軸とG軸とを含む平面内で求められる黒生成量)、色相6に対応する黒生成量計算部2615−6はBの色相における黒生成量(グレー軸とB軸とを含む平面内で求められる黒生成量)を計算するものとする。尚、図7(a)〜図7(c)に示すように、CMY空間において、R軸はC=0,M=Yとなる軸で表され、G軸はM=0,C=Yとなる軸で表され、B軸はY=0,C=Mとなる軸で表される。   When the six types of hues are used, the black generation amount calculation unit 2615-n included in the black generation unit 261 is six (n = 1,..., 6). In this case, for example, the black generation amount calculation unit 2615-n corresponding to the hues 1 to 3 is assumed to correspond to the hues of C, M, and Y as in the above case, and the black corresponding to the hues 4 to 6 is assumed. The generation amount calculation unit 2615-n is assumed to correspond to each hue of R, G, and B. That is, the black generation amount calculation unit 2615-4 corresponding to the hue 4 generates a black generation amount in the R hue (a black generation amount obtained in a plane including the gray axis and the R axis) and a black generation amount corresponding to the hue 5. The calculation unit 2615-2 is a black generation amount in the G hue (black generation amount obtained in a plane including the gray axis and the G axis), and the black generation amount calculation unit 2615-6 corresponding to the hue 6 is in the B hue. Assume that a black generation amount (a black generation amount obtained in a plane including the gray axis and the B axis) is calculated. As shown in FIGS. 7A to 7C, in the CMY space, the R axis is represented by an axis where C = 0 and M = Y, and the G axis is M = 0 and C = Y. And the B axis is represented by an axis where Y = 0 and C = M.

ここで、図7(a)から判るようにY色相の場合はY>C=M、図7(c)から判るようにG色相の場合はY=C>Mの関係にある。したがって、YとGとの間の色相では、図7(b)に示すように、Y>C>Mの関係が成り立つ。つまり、色補正後のCMY信号においてY>C>Mの関係が成り立つ場合には、この場合の色相はYとGとの間の色相であると判断できる。   Here, Y> C = M in the case of Y hue as can be seen from FIG. 7A, and Y = C> M in the case of G hue as can be seen from FIG. 7C. Therefore, in the hue between Y and G, a relationship of Y> C> M is established as shown in FIG. That is, when the relationship of Y> C> M is satisfied in the CMY signal after color correction, it can be determined that the hue in this case is a hue between Y and G.

したがって、上記6種類の色相を用いる場合、色相判定部2616は、色補正後のCMY信号においてC,M,Yの各成分の大小関係を比較し、上記と同様の方法でYとR、RとM、MとB、BとC、CとGの間の色相を判定し、それぞれに対応する色相判定信号を出力する。   Therefore, when the above six types of hues are used, the hue determination unit 2616 compares the magnitude relationships of the C, M, and Y components in the color-corrected CMY signals, and Y, R, and R are compared in the same manner as described above. And M, M and B, B and C, and C and G are judged, and a hue judgment signal corresponding to each is outputted.

黒生成量選択部2616では、色相判定信号が現す色相、例えばYとGとの間の色相ではYの色相に対応した黒生成量計算部からの出力をK、Gの色相に対応した黒生成計算部からの出力をKとして黒生成量補間演算部へ出力する。同様に、黒生成量選択部2616は、YとRとの間の色相ではYの色相に対応した黒生成量計算部からの出力をK、Rの色相に対応した黒生成計算部からの出力をKとし、RとMとの間の色相ではRの色相に対応した黒生成量計算部からの出力をK、Mの色相に対応した黒生成計算部からの出力をKとし、MとBとの間の色相ではMの色相に対応した黒生成量計算部からの出力をK、Bの色相に対応した黒生成計算部からの出力をKとし、BとCとの間の色相ではBの色相に対応した黒生成量計算部からの出力をK、Cの色相に対応した黒生成計算部からの出力をKとし、CとGとの間の色相ではCの色相に対応した黒生成量計算部からの出力をK、Gの色相に対応した黒生成計算部からの出力をKとする。 The black generation amount selection unit 2616 outputs the output from the black generation amount calculation unit corresponding to the hue of Y in the hue represented by the hue determination signal, for example, the hue between Y and G, to the black corresponding to the hues of K 1 and G. the output from the generator calculating unit outputs to the black generation amount interpolation operation unit as K 2. Similarly, the black generation amount selection unit 2616 outputs the output from the black generation amount calculation unit corresponding to the hue of Y in the hue between Y and R from the black generation calculation unit corresponding to the hue of K 1 and R. the output and K 2, the output from the black generation calculator output corresponding to the hue of K 1, M from the black generation amount calculation unit corresponding to the hue of the R and K 2 in hue between R and M In the hue between M and B, the output from the black generation amount calculation unit corresponding to the hue of M is K 1 , the output from the black generation calculation unit corresponding to the hue of B is K 2, and B and C The hue from the black generation amount calculation unit corresponding to the hue of B is K 1 , the output from the black generation calculation unit corresponding to the hue of C is K 2, and the hue between C and G is The output from the black generation amount calculation unit corresponding to the C hue is K 1 , and the output from the black generation calculation unit corresponding to the G hue is K 2 .

黒生成量補間演算部2617には、黒生成量選択部2616で選択された黒生成量KおよびK、グレー軸用1次元黒生成テーブル2613から読み出された黒生成量K、色相判定部2611が出力する色相判定信号、および、領域分離処理部24が出力する領域識別信号が入力される。 The black generation amount interpolation calculation unit 2617 includes the black generation amounts K 1 and K 2 selected by the black generation amount selection unit 2616, the black generation amount K G read from the one-dimensional black generation table 2613 for gray axis, and the hue. The hue determination signal output from the determination unit 2611 and the region identification signal output from the region separation processing unit 24 are input.

黒生成量補間演算部2617では、先ず領域識別信号に基づいて、黒生成量Kを出力するか、黒生成量KおよびKから補間演算によって求められる黒生成量を出力するかが判断される。すなわち、領域識別信号により文字領域や色にじみ領域であると判断される場合は、これらの領域はグレー領域であり色相による補間は必要ないため、グレー軸用1次元黒生成テーブル2613から読み出された黒生成量KをそのままK信号として出力し、それ以外の領域識別信号に対しては黒生成量KおよびKを用いた色相間の補間演算により黒生成量を計算する。 The black generation amount interpolating arithmetic unit 2617, based on the region identification signal first determined to output the black generation amount K G, is whether to output the black generation amount obtained by interpolation from the black generation amount K 1 and K 2 determined Is done. That is, when it is determined by the area identification signal that the area is a character area or a color blur area, these areas are gray areas and need not be interpolated by hue, and are read from the gray axis one-dimensional black generation table 2613. and the black generation amount K G outputted as it is as the K signal, calculates a black generation amount by interpolation between hue with black generation amount K 1 and K 2 for the other area identification signal.

先ずは、色相としてC,M,Yの3種類を用いる場合の補間演算方法を説明する。Cが最小となる場合の色相を示す色相判定信号であった場合には、KがMの色相に対応する黒生成量、KがYの色相に対応する黒生成量であり、以下の(3)式に従った補間演算により最適なKの値が最終的に求められる。他の色相の場合も、同様の方法で計算されるが、用いられる演算式が異なるため、黒生成量補間演算部2617では、色相判定信号に基づいて用いる演算式を切り替える。 First, an interpolation calculation method when three types of hues C, M, and Y are used will be described. When the hue determination signal indicates a hue when C is the minimum, K 1 is a black generation amount corresponding to the hue of M, K 2 is a black generation amount corresponding to the hue of Y, and The optimum value of K is finally obtained by interpolation calculation according to the equation (3). In the case of other hues, the calculation is performed in the same manner, but the calculation formula used is different. Therefore, the black generation amount interpolation calculation unit 2617 switches the calculation formula used based on the hue determination signal.

Figure 0004101741
Figure 0004101741

なお、C=M=Yである場合には、黒生成量補間演算部2617は、上記補間演算を行わず、グレー領域対応の黒生成量KをそのままK信号として出力することが可能である。また、C,M,Yのうちの2つが同一の値で最小値となる場合には、同一の最小値となる2つの色成分の何れを最小値としても、上記補間演算の結果は同じとなるため、補間式に優先順位を付けておき、優先順位の高い式を用いることが考えられる。 Incidentally, in the case of C = M = Y is a black generation amount interpolation operation unit 2617 does not perform the interpolation operation, it is possible to output a black generation amount K G of the gray area corresponds directly as K signal . Further, when two of C, M, and Y have the same value and the minimum value, the result of the above-described interpolation calculation is the same regardless of which of the two color components having the same minimum value is the minimum value. Therefore, it is conceivable to prioritize the interpolation formula and use a formula with a high priority.

また、色相としてC,M,Y,R,G,Bの6種類を用いる場合の補間演算方法を説明すると以下のとおりである。例えば、YとGとの間の色相の場合を例示すると、KがYの色相に対応した黒生成量、KがGの色相に対応した黒生成量となり、以下の(4)式に従った補間演算により最適なKの値が最終的に求められる。他の色相の場合も、同様の方法で計算されるが、用いられる演算式が異なるため、黒生成量補間演算部2617では、色相判定信号に基づいて用いる演算式を切り替える。 An interpolation calculation method in the case where six types of hues C, M, Y, R, G, and B are used will be described as follows. For example, in the case of a hue between Y and G, K 1 is a black generation amount corresponding to the Y hue, and K 2 is a black generation amount corresponding to the G hue. The optimum value of K is finally obtained by the interpolating operation. In the case of other hues, the calculation is performed in the same manner, but the calculation formula used is different. Therefore, the black generation amount interpolation calculation unit 2617 switches the calculation formula used based on the hue determination signal.

Figure 0004101741
Figure 0004101741

以上説明した黒生成部261での処理を図8のフローチャートを参照して説明すると以下のとおりである。   The processing in the black generation unit 261 described above will be described with reference to the flowchart of FIG.

先ず、黒生成部261に入力されるCMY信号は、色相判定部2611および最大値・最小値算出部2612に入力される。色相判定部2611では、入力されたCMY信号の色相が判定される(S1)。最大値・最小値算出部2612では、入力されたCMY信号における最大値MAX(=max(C,M,Y))および最小値MIN(=min(C,M,Y))が計算される(S2)。   First, the CMY signal input to the black generation unit 261 is input to the hue determination unit 2611 and the maximum / minimum value calculation unit 2612. The hue determination unit 2611 determines the hue of the input CMY signal (S1). The maximum value / minimum value calculation unit 2612 calculates the maximum value MAX (= max (C, M, Y)) and the minimum value MIN (= min (C, M, Y)) in the input CMY signal ( S2).

最大値・最小値算出部2612において算出された最大値MAXおよび最小値MINはは、グレー軸用一次元黒生成テーブル2613において黒生成量Kを読み出す処理(S3)と、高彩度軸用一次元黒生成テーブル2614−nにおいて黒生成量KCnを読み出す処理(S4)とに用いられる。S3およびS4の処理は並行して行われる。 Maximum and minimum values the maximum value MAX and minimum value MIN mother calculated in the calculation unit 2612, the process of reading the black generation amount K G in one-dimensional black generation table 2613 for gray axis (S3), one-dimensional for high chroma axis This is used for the process of reading the black generation amount K Cn in the black generation table 2614-n (S4). The processes of S3 and S4 are performed in parallel.

黒生成量Kとn個の黒生成量KCnとが求まると、これらの黒生成量を用いて、黒生成量計算部2615−nにより各色相に対応した黒生成量KHnが求められる(S5)。S1の処理とS2〜S5の処理とは並行して行われる。 When a black generation amount K G and the n black generation amount K Cn is obtained by using these black generation amount, the black generation amount K Hn corresponding to each color by the black generation amount calculation unit 2615-n are determined (S5). The processing of S1 and the processing of S2 to S5 are performed in parallel.

S1で判定された色相を示す色相判定信号に基づき、S5で求められた各色相に対応した黒生成量から2つの黒生成量が選択される(S6)。さらに、黒生成部261よりも前段にある領域分離処理部24で判定された領域分離結果により、現段階の処理の対象となっているCMY信号(すなわち、注目画素)が文字領域または色にじみ領域に属しているか否かが判定される(S7)。   Based on the hue determination signal indicating the hue determined in S1, two black generation amounts are selected from the black generation amounts corresponding to the hues determined in S5 (S6). Further, based on the region separation result determined by the region separation processing unit 24 preceding the black generation unit 261, the CMY signal (that is, the pixel of interest) that is the target of the current stage processing is a character region or a color blur region. It is determined whether it belongs to (S7).

注目画素が文字領域または色にじみ領域であるならば、S3においてグレー軸用テーブルから読み出した黒生成量Kを黒生成部261の出力Kとして出力する(S8)。注目画素が文上記以外の領域であるならば、S6で選択した黒生成量を用いて補間演算し、黒生成量Kを求め、これを出力する(S9)。 If the pixel of interest is a character region or a color fringing region, and outputs the black generation amount K G read from the table for the gray axis as the output K of the black generation unit 261 in S3 (S8). If the target pixel is an area other than the above sentence, an interpolation calculation is performed using the black generation amount selected in S6 to obtain a black generation amount K, which is output (S9).

上記説明では黒生成部261の構成および動作を例にとって説明を行ったが、下色除去部262における下色除去量算出部263の構成および動作も基本的には黒生成部261と同じである。このため、下色除去量算出部263の構成は、例えば図9に示すようなものとなる。   In the above description, the configuration and operation of the black generation unit 261 are described as an example. However, the configuration and operation of the lower color removal amount calculation unit 263 in the lower color removal unit 262 are basically the same as those of the black generation unit 261. . For this reason, the configuration of the under color removal amount calculation unit 263 is as shown in FIG. 9, for example.

図9に示す下色除去算出部263は、色相判定部2631、最大値・最小値算出部2632、グレー軸用一次元下色除去テーブル2613、各色相に対応した高彩度軸用一次元下色除去テーブル2634−n(n=1,…,N)、各色相に対応した下色除去量計算部2635−n(n=1,…,N)、下色除去量選択部2636、下色除去量補間演算部2637から構成される。   The under color removal calculation unit 263 shown in FIG. 9 includes a hue determination unit 2631, a maximum / minimum value calculation unit 2632, a gray axis one-dimensional under color removal table 2613, and a high saturation axis one-dimensional under color removal corresponding to each hue. Table 2634-n (n = 1,..., N), under color removal amount calculation unit 2635-n (n = 1,..., N) corresponding to each hue, under color removal amount selection unit 2636, under color removal amount An interpolation calculation unit 2637 is included.

上記下色除去算出部263において、色相判定部2631、最大値・最小値算出部2632の構成および動作は、黒生成部261における色相判定部2611、最大値・最小値算出部2612の構成および動作と同じである。また、グレー軸用一次元下色除去テーブル2633、各色相に対応した高彩度軸用一次元下色除去テーブル2634−nは、使用するテーブルデータが黒生成テーブルなのか下色除去テーブルなのかの違いだけであり、最小値MINから対応するテーブル値を読み出す動作は、黒生成部261におけるグレー軸用一次元黒生成テーブル2613、各色相に対応した高彩度軸用一次元黒生成テーブル2614−nと同じである。   In the under color removal calculation unit 263, the configuration and operation of the hue determination unit 2631 and the maximum / minimum value calculation unit 2632 are the same as the configuration and operation of the hue determination unit 2611 and the maximum / minimum value calculation unit 2612 in the black generation unit 261. Is the same. The gray axis one-dimensional under color removal table 2633 and the high saturation axis one-dimensional under color removal table 2634-n corresponding to each hue are different depending on whether the table data to be used is a black generation table or a lower color removal table. The operation of reading the corresponding table value from the minimum value MIN is the same as the one-dimensional black generation table 2613 for gray axis and the one-dimensional black generation table 2614-n for high saturation axis corresponding to each hue in the black generation unit 261. It is.

下色除去量計算部2635−n、下色除去量選択部2636、下色除去量補間演算部2637での処理は、K,KCn,KHn,K,Kを用いてKを求める代わりに、UCR,UCRCn,UCRHn,UCR,UCRを用いてUCRを求めるが、その処理方法は基本的に黒生成部261における黒生成量計算部2615−n、黒生成量選択部2616、黒生成量補間演算部2617と同じである。 The processes in the under color removal amount calculation unit 2635-n, the under color removal amount selection unit 2636, and the under color removal amount interpolation calculation unit 2637 are performed using K G , K Cn , K Hn , K 1 , and K 2. Instead of obtaining UCR G , UCR Cn , UCR Hn , UCR 1 , UCR 2 , UCR is obtained, but the processing method is basically the black generation amount calculation unit 2615-n in the black generation unit 261, the black generation amount The selection unit 2616 is the same as the black generation amount interpolation calculation unit 2617.

以上説明した黒生成下色除去部26での処理を図10のフローチャートを参照して説明すると以下のとおりである。   The processing in the black generation and under color removal unit 26 described above will be described with reference to the flowchart of FIG.

上記黒生成下色除去部26では、黒生成部261での黒生成処理(S11)と下色除去部262での下色除去処理(S12〜S13)とが並行して行われる。すなわち、黒生成部261では入力されたCMY信号より最適な黒生成量Kが算出される(S11)。また、下色除去部262では入力されたCMY信号より最適な下色除去量UCRが算出され(S12)、このUCRを元のCMY信号の各成分を減算するUCR処理により下色除去後のCMY信号が得られる(S13)。   In the black generation and under color removal unit 26, the black generation processing (S11) in the black generation unit 261 and the under color removal processing (S12 to S13) in the under color removal unit 262 are performed in parallel. That is, the black generation unit 261 calculates an optimal black generation amount K from the input CMY signal (S11). Also, the under color removal unit 262 calculates an optimum under color removal amount UCR from the input CMY signal (S12), and subtracts each component of the original CMY signal from this UCR to perform CMY after under color removal. A signal is obtained (S13).

上記図1で示した構成の黒生成部261は、各色相に対応した黒生成量を求めるために、1次元テーブルによるテーブル値の読み出しと補間演算とを用いた方法が適用されている。このような1次元テーブルを用いた方法は、テーブルを格納するためのメモリ量を低減できるといった長所を有するが、しかしながら、本発明はこのような方法に限定されるものではない。例えば、各色相に対応した黒生成量を求めるために2次元テーブルを用いた方法を適用することも可能である。   The black generation unit 261 having the configuration shown in FIG. 1 employs a method using reading of a table value from a one-dimensional table and interpolation calculation in order to obtain a black generation amount corresponding to each hue. Such a method using a one-dimensional table has an advantage that the amount of memory for storing the table can be reduced. However, the present invention is not limited to such a method. For example, it is possible to apply a method using a two-dimensional table in order to obtain a black generation amount corresponding to each hue.

各色相に対応した黒生成量を求めるために2次元テーブルを用いる方法について、図11、図12を参照して説明すると以下のとおりである。   A method of using a two-dimensional table for obtaining a black generation amount corresponding to each hue will be described below with reference to FIGS.

この場合、最小値MINと最大値MAXとの組み合わせに対し、対応する黒生成量を格納した2次元テーブルが用いられる。この2次元テーブルでは、図11において斜線で示した領域の全ての格子点における黒生成量がテーブル値として存在するため、MINとMAXとの組み合わせに対するテーブル値を読み出すだけで各色相に対応した黒生成量を求めることができる。また、上記2次元テーブルは、図12に示すように、各色相ごとに対応するテーブルが用意される。   In this case, for the combination of the minimum value MIN and the maximum value MAX, a two-dimensional table storing the corresponding black generation amount is used. In this two-dimensional table, black generation amounts at all grid points in the hatched area in FIG. 11 exist as table values. Therefore, by simply reading the table values for the combination of MIN and MAX, the black corresponding to each hue is read. The production amount can be determined. Further, as the two-dimensional table, as shown in FIG. 12, a table corresponding to each hue is prepared.

各色相に対応した黒生成量を求めるために上述のような2次元テーブルを用いる場合、図1に示した黒生成部261に代えて、図13に示す黒生成部265のような構成が考えられる。   When the above-described two-dimensional table is used to obtain the black generation amount corresponding to each hue, a configuration such as a black generation unit 265 shown in FIG. 13 is considered instead of the black generation unit 261 shown in FIG. It is done.

図13に示す黒生成部265は、色相判定部2651、最大値・最小値算出部2652、グレー領域に対応する二次元黒生成テーブル2653、各色相に対応した二次元黒生成テーブル2654−n(n=1,…,N)、黒生成量選択部2656、黒生成量補間演算部2657から構成される。尚、上記二次元黒生成テーブル2653は、にじみによりグレー領域でも彩度が生じる(MAXが大きくなる)ことを考慮して適切な黒生成量(例えば、にじみが生じていない時の黒生成量)が得られるように作成されている。また、図13において、上記二次元黒生成テーブル2653の代わりに、図1に示される一次元黒生成テーブル2613を用いるものであっても良い。   13 includes a hue determination unit 2651, a maximum / minimum value calculation unit 2652, a two-dimensional black generation table 2653 corresponding to a gray area, and a two-dimensional black generation table 2654-n (corresponding to each hue). n = 1,..., N), a black generation amount selection unit 2656, and a black generation amount interpolation calculation unit 2657. Note that the two-dimensional black generation table 2653 has an appropriate black generation amount (for example, a black generation amount when no blur occurs) in consideration of the fact that saturation occurs even in the gray area due to blurring (MAX increases). Has been created to obtain. In FIG. 13, the one-dimensional black generation table 2613 shown in FIG. 1 may be used instead of the two-dimensional black generation table 2653.

上記黒生成部265において、色相判定部2651、最大値・最小値算出部2652の構成および動作は、黒生成部261における色相判定部2611、最大値・最小値算出部2612の構成および動作と同じである。   In the black generation unit 265, the configuration and operation of the hue determination unit 2651 and the maximum value / minimum value calculation unit 2652 are the same as the configuration and operation of the hue determination unit 2611 and the maximum value / minimum value calculation unit 2612 in the black generation unit 261. It is.

二次元黒生成テーブル2653および2654−nには、最大値・最小値算出部2652により求められる最大値MAXおよび最小値MINが入力される。この最大値MAXおよび最小値MINの組み合わせに対して、二次元黒生成テーブル2653よりグレー領域に対応する黒生成量Kが読み出され、二次元黒生成テーブル2654−nより各色相に対応する黒生成量KHnが読み出される。 The maximum value MAX and the minimum value MIN obtained by the maximum value / minimum value calculation unit 2652 are input to the two-dimensional black generation tables 2653 and 2654-n. The combination of the maximum value MAX and minimum value MIN, a black generation amount K G corresponding to the gray area from the two-dimensional black generation table 2653 is read, corresponding to each color from the two-dimensional black generation table 2654-n The black generation amount K Hn is read out.

黒生成量選択部2656は、各色相に対応する黒生成量KHnの入力を受け、色相判定部2651が出力する色相判定信号に基づき、黒生成量KH1〜KHNの中から2つを選択し、K,Kとして黒生成量補間演算部2657へ出力する。この黒生成量選択部2656の構成および動作は、黒生成部261における黒生成量選択部2616の構成および動作と同じである。 The black generation amount selection unit 2656 receives the black generation amount K Hn corresponding to each hue and receives two of the black generation amounts K H1 to K HN based on the hue determination signal output by the hue determination unit 2651. Select and output to the black generation amount interpolation calculation unit 2657 as K 1 and K 2 . The configuration and operation of the black generation amount selection unit 2656 are the same as the configuration and operation of the black generation amount selection unit 2616 in the black generation unit 261.

黒生成量補間演算部2657には、黒生成量選択部2656で選択された黒生成量KおよびK、二次元黒生成テーブル2653から読み出された黒生成量K、色相判定部2651が出力する色相判定信号、および、領域分離処理部24が出力する領域識別信号が入力される。この黒生成量補間演算部2657の構成および動作は、黒生成部261における黒生成量補間演算部2617の構成および動作と同じである。 The black generation amount interpolation calculation unit 2657 includes the black generation amounts K 1 and K 2 selected by the black generation amount selection unit 2656, the black generation amount K G read from the two-dimensional black generation table 2653, and the hue determination unit 2651. And a region identification signal output from the region separation processing unit 24 are input. The configuration and operation of the black generation amount interpolation calculation unit 2657 are the same as the configuration and operation of the black generation amount interpolation calculation unit 2617 in the black generation unit 261.

また、下色除去処理においても、黒生成処理と同様に、各色相に対応した下色除去量を求めるために2次元テーブルを用いることが可能である。各色相に対応した下色除去量を求めるために2次元テーブルを用いる場合、図9に示した下色除去量算出部263に代えて、図14に示す下色除去量算出部266のような構成が考えられる。   Also in the under color removal process, a two-dimensional table can be used to obtain the under color removal amount corresponding to each hue as in the black generation process. When a two-dimensional table is used to obtain the under color removal amount corresponding to each hue, a lower color removal amount calculation unit 266 shown in FIG. 14 is used instead of the under color removal amount calculation unit 263 shown in FIG. Configuration is conceivable.

図13に示す下色除去算出部266は、色相判定部2661、最大値・最小値算出部2662、グレー領域に対応する二次元下色除去テーブル2663、各色相に対応した二次元下色除去テーブル2664−n(n=1,…,N)、下色除去量選択部2666、下色除去量補間演算部2667から構成される。尚、上記二次元下色除去テーブル2663は、にじみによりグレー領域でも彩度が生じる(MAXが大きくなる)ことを考慮して適切な下色除去量(例えば、にじみが生じていない時の下色除去量)が得られるように作成されている。また、図14において、上記二次元下色除去テーブル2663の代わりに、図9に示される一次元下色除去テーブル2633を用いるものであっても良い。   The under color removal calculation unit 266 shown in FIG. 13 includes a hue determination unit 2661, a maximum / minimum value calculation unit 2662, a two-dimensional under color removal table 2663 corresponding to a gray area, and a two-dimensional under color removal table corresponding to each hue. 2664-n (n = 1,..., N), a lower color removal amount selection unit 2666, and a lower color removal amount interpolation calculation unit 2667. Note that the two-dimensional undercolor removal table 2663 takes into account the amount of undercolor removal (for example, undercolor when there is no blurring) taking into account that saturation occurs in the gray area due to blurring (MAX increases). (Removal amount) is obtained. In FIG. 14, a one-dimensional under color removal table 2633 shown in FIG. 9 may be used instead of the two-dimensional under color removal table 2663.

上記下色除去算出部263において、色相判定部2661、最大値・最小値算出部2662の構成および動作は、下色除去算出部263における色相判定部2631、最大値・最小値算出部2632の構成および動作と同じである。また二次元下色除去テーブル2663、各色相に対応した二次元下色除去テーブル2664−nは、最小値MINおよび最大値MAXの組み合わせから対応するテーブル値を読み出す動作は、黒生成部265における二次元黒生成テーブル2653、各色相に対応した二次元黒生成テーブル2654−nと同じであり、使用するテーブルデータが黒生成テーブルなのか下色除去テーブルなのかの違いだけである。   In the lower color removal calculation unit 263, the configuration and operation of the hue determination unit 2661 and the maximum value / minimum value calculation unit 2662 are the same as the configuration of the hue determination unit 2631 and the maximum value / minimum value calculation unit 2632 in the lower color removal calculation unit 263. And the operation is the same. The two-dimensional under color removal table 2663 and the two-dimensional under color removal table 2664-n corresponding to each hue are read by the black generation unit 265 in the operation of reading the corresponding table value from the combination of the minimum value MIN and the maximum value MAX. The two-dimensional black generation table 2653 and the two-dimensional black generation table 2654-n corresponding to each hue are the same, and only the difference is whether the table data to be used is a black generation table or a lower color removal table.

下色除去量選択部2666、下色除去量補間演算部2667の構成および動作は、下色除去算出部263における下色除去量選択部2636、下色除去量補間演算部2637の構成および動作と同じである。   The configurations and operations of the lower color removal amount selection unit 2666 and the lower color removal amount interpolation calculation unit 2667 are the same as the configurations and operations of the lower color removal amount selection unit 2636 and the lower color removal amount interpolation calculation unit 2637 in the lower color removal calculation unit 263. The same.

以上の説明において、黒生成部における黒生成量補間演算部および下色除去算出部における下色除去量補間演算部では、領域識別信号の入力を受け、該領域識別信号に基づいて最終的な黒生成量Kまたは下色除去量UCRを決定している。   In the above description, the black generation amount interpolation calculation unit in the black generation unit and the lower color removal amount interpolation calculation unit in the lower color removal calculation unit receive the input of the region identification signal and based on the region identification signal, the final black The generation amount K or the undercolor removal amount UCR is determined.

この領域識別信号は、図2に示す領域分離処理部24によって求められるものであるが、領域分離方法の一例を以下に説明する。   The region identification signal is obtained by the region separation processing unit 24 shown in FIG. 2, and an example of the region separation method will be described below.

入力画像データを文字・網点・写真領域に分離し、さらに色にじみ領域を判別する領域分離方法としては、例えば特開2001−223915号公報に記載されている方法を用いることができる。先ず、入力画像データを文字・網点・写真領域に分離する方法について説明する。この場合、注目画素を中心としたM×N(M、Nは自然数)画素のブロック内で以下のような判定を行い、それを注目画素の領域識別信号とする。   For example, a method described in Japanese Patent Application Laid-Open No. 2001-223915 can be used as a region separation method for separating input image data into character, halftone dot, and photographic regions and further discriminating color blur regions. First, a method for separating input image data into characters, halftone dots, and photo areas will be described. In this case, the following determination is performed within a block of M × N (M and N are natural numbers) pixels centered on the pixel of interest, and this is used as a region identification signal of the pixel of interest.

ブロック内の中央の9画素に対して信号レベルの平均値(Dave)を求め、その平均値を用いてブロック内の各画素を2値化する。また、最大画素信号レベル(Dmax)、最小画素信号レベル(Dmin)も同時に求める。   An average value (Dave) of signal levels is obtained for the central nine pixels in the block, and each pixel in the block is binarized using the average value. Further, the maximum pixel signal level (Dmax) and the minimum pixel signal level (Dmin) are also obtained at the same time.

網点領域では、小領域における画像信号の変動が大きいことや、背景に比べて濃度が高いことを利用して網点領域を識別する。具体的には、2値化されたデータに対して主走査、副走査方向でそれぞれ0から1への変化点数、1から0への変化点数を求めて、それぞれKh、Kvとし、これを閾値TH、TVと比較して両者が共に閾値を上回ったら網点領域とする。また、背景との誤判定を防ぐために、Dmax、Dmin、Daveを閾値B1、B2と比較する。すなわち、
Dmax−Dave>B1、かつ、
Dave−Dmin>B2、かつ、
KH>TH、かつ、
KV>TV
の条件が満たされる場合を網点領域とし、上記条件が満たされない場合を非網点領域と判断する。
In the halftone dot region, the halftone dot region is identified by utilizing the fact that the fluctuation of the image signal in the small region is large and the density is higher than the background. Specifically, for the binarized data, the number of change points from 0 to 1 in the main scanning and sub-scanning directions is obtained, and the number of change points from 1 to 0 is obtained as Kh and Kv, respectively. When both of the threshold values exceed the threshold values as compared with TH and TV, the halftone dot region is set. Further, in order to prevent erroneous determination with the background, Dmax, Dmin, and Dave are compared with threshold values B1 and B2. That is,
Dmax−Dave> B1, and
Dave-Dmin> B2, and
KH> TH and
KV> TV
When the above condition is satisfied, it is determined as a halftone dot region, and when the above condition is not satisfied, it is determined as a non-halftone dot region.

次に、文字領域では、最大信号レベルと最小信号レベルとの差が大きく、濃度も高いと考えられることから、文字領域の識別を以下のように行う。非網点領域において先に求めていた最大、最小信号レベルとそれらの差分(Dsub)とを、閾値PA、PB、PCとそれぞれ比較し、下記の条件を充たすならば文字領域、条件を充たさなければ写真領域とする。すなわち、
Dmax>PA、または、
Dmin<PB、または、
Dsub>PC
であれば文字領域、それ以外では写真領域と判断する。
Next, in the character area, since the difference between the maximum signal level and the minimum signal level is large and the density is considered high, the character area is identified as follows. The maximum and minimum signal levels previously obtained in the non-halftone area and their difference (Dsub) are compared with the threshold values PA, PB, and PC, respectively. If the following conditions are satisfied, the character area and conditions must be satisfied. For example, the photo area. That is,
Dmax> PA or
Dmin <PB or
Dsub> PC
If so, it is determined as a character area, otherwise it is determined as a photo area.

最後に、上記の方法により抽出された文字領域に対して色にじみが生じているかどうかの判定を行う。色にじみ領域の判定方法としては、色にじみは黒文字のエッジの外側に生じるため、文字領域とその近傍画素(例えば数画素程度)を含めた領域に対して、以下の条件を用いて判定する。すなわち、注目画素が、
・有彩色である
・エッジである
・周囲の画素のいずれかに黒文字領域の画素がある
の3つの条件を満たすものを色にじみ領域と判断する。
Finally, it is determined whether or not color blur has occurred in the character region extracted by the above method. As a method for determining a color blur area, since color blur occurs outside the edge of a black character, the area including a character area and its neighboring pixels (for example, about several pixels) is determined using the following conditions. That is, the target pixel is
A color blur area is determined as one that satisfies the three conditions of being a chromatic color, an edge, or a pixel in the black character area in any of the surrounding pixels.

上記説明では、黒生成処理および下色除去処理のそれぞれにおいて、本発明を適用した例を示している。しかしながら、上記説明のように、黒生成処理と下色除去処理とをそれぞれ独立した処理として行う場合、黒生成処理および下色除去処理の一方でのみ本発明を適用し、他方では従来技術による方法を用いても良い。例えば、黒生成量は本発明の方式で算出し、下色除去量は最小値から参照する従来の方法(下記(5)式参照:尚、(5)式において、αはUCR(Under Color Removal)率を表す)で算出しても良い。もちろんこれとは逆に、下色除去量は本発明の方式で算出し、黒生成量は最小値から参照する従来の方法で算出しても良い。   In the above description, an example in which the present invention is applied to each of the black generation processing and the under color removal processing is shown. However, as described above, when the black generation process and the under color removal process are performed as independent processes, the present invention is applied only to one of the black generation process and the under color removal process, and on the other hand, the method according to the prior art. May be used. For example, the black generation amount is calculated by the method of the present invention, and the undercolor removal amount is referred to from the minimum value (see the following equation (5): Note that in equation (5), α is a UCR (Under Color Removal). ) Represents the rate). Of course, on the contrary, the under color removal amount may be calculated by the method of the present invention, and the black generation amount may be calculated by a conventional method referring from the minimum value.

Figure 0004101741
Figure 0004101741

また、黒生成部と下色除去算出部との両方において本発明を適用する場合であっても、黒生成部と下色除去算出部とのそれぞれで異なる方法を適用することも可能である。例えば、図1に示す黒生成部261と図14に示す下色除去算出部266とを組み合わせて用いたり、図13に示す黒生成部265と図9に示す下色除去算出部263とを組み合わせて用いてもよい。また、黒生成部と下色除去算出部とにおいて、用いる色相の種類を異ならせても良い。   Even when the present invention is applied to both the black generation unit and the under color removal calculation unit, different methods can be applied to the black generation unit and the under color removal calculation unit. For example, the black generation unit 261 shown in FIG. 1 and the under color removal calculation unit 266 shown in FIG. 14 are used in combination, or the black generation unit 265 shown in FIG. 13 and the under color removal calculation unit 263 shown in FIG. 9 are combined. May be used. Further, the type of hue used may be different between the black generation unit and the under color removal calculation unit.

さらに、黒生成部と下色除去算出部との両方において本発明を適用し、これらで全く同一の色相を用いる場合(例えば、黒生成部と下色除去算出部との両方でC,M,Yの3種類の色相を用いる場合、あるいは黒生成部と下色除去算出部との両方でC,M,Y,R,G,Bの6種類の色相を用いる場合)には、黒生成部と下色除去算出部との間で色相判定部を共有することも可能である。   Furthermore, when the present invention is applied to both the black generation unit and the under color removal calculation unit, and the same hue is used (for example, C, M, When three types of hues Y are used, or when six types of hues C, M, Y, R, G, and B are used in both the black generation unit and the under color removal calculation unit), the black generation unit It is also possible to share the hue determination unit between the color removal calculation unit and the under color removal calculation unit.

また、黒生成部または下色除去算出部においてテーブルから黒生成量を読み出したり、補間演算を行うためのパラメータとして、本実施の形態に係る例では最小値MINおよび最大値MAXを用いているが、本発明においては使用されるパラメータの種類は特に限定されない。但し、黒生成部または下色除去算出部との両方において本発明を適用し、かつ黒生成部または下色除去算出部とで共通のパラメータを用いる場合には、黒生成部と下色除去算出部との間でパラメータの算出手段(本実施の形態に係る例では最大値・最小値算出部)を共有することも可能である。   Further, in the example according to the present embodiment, the minimum value MIN and the maximum value MAX are used as parameters for reading the black generation amount from the table or performing the interpolation calculation in the black generation unit or the under color removal calculation unit. In the present invention, the types of parameters used are not particularly limited. However, when the present invention is applied to both the black generation unit or the under color removal calculation unit and the common parameters are used in the black generation unit or the under color removal calculation unit, the black generation unit and the under color removal calculation are used. It is also possible to share parameter calculation means (maximum value / minimum value calculation unit in the example according to the present embodiment) with each other.

本発明の画像処理方法は、ソフトウエア(アプリケーションプログラム)として実現することが可能である。この場合、黒生成下色除去処理を実現するソフトウエアを組み込んだプリンタ・ドライバをコンピュータに設けることができる。   The image processing method of the present invention can be realized as software (application program). In this case, the computer can be provided with a printer driver incorporating software for realizing the black generation and undercolor removal processing.

図15に示すように、本発明に係るコンピュータ100は、プリンタ・ドライバ110、通信ポートドライバ120、通信ポート130が組み込まれている。プリンタ・ドライバ110は、色補正部111、黒生成下色除去部112、階調再現処理部113、プリンタ言語翻訳部114を有している。色補正部111、黒生成下色除去部112、階調再現処理部113は、図2で示した色補正部25、黒生成下色除去部26、および階調再現処理部29と同様の処理を行うものである。   As shown in FIG. 15, a computer 100 according to the present invention incorporates a printer driver 110, a communication port driver 120, and a communication port. The printer driver 110 includes a color correction unit 111, a black generation and under color removal unit 112, a gradation reproduction processing unit 113, and a printer language translation unit 114. The color correction unit 111, the black generation lower color removal unit 112, and the gradation reproduction processing unit 113 are the same processes as the color correction unit 25, the black generation lower color removal unit 26, and the gradation reproduction processing unit 29 illustrated in FIG. Is to do.

また、コンピュータ100は、プリンタ(画像出力装置)150と接続されており、プリンタ150は、コンピュータ100から出力された画像データに応じて画像出力するようになっている。   The computer 100 is connected to a printer (image output device) 150, and the printer 150 outputs an image in accordance with image data output from the computer 100.

コンピュータ100において各種のアプリケーションプログラムを実行することにより生成された画像データは、色補正部111、黒生成下色除去部112、階調再現処理部113で上述の処理がなされる。上記処理がなされた画像データは、プリンタ言語翻訳部114にてプリンタ言語に変換され、通信ポートドライバ120、通信ポート130(例えばRS232C・LAN等)を介してプリンタ150に入力される。プリンタ150は、プリンタ機能の他に、コピー機能およびファックス機能を有するデジタル複合機であってもよい。   Image data generated by executing various application programs in the computer 100 is subjected to the above-described processing by the color correction unit 111, the black generation and under color removal unit 112, and the gradation reproduction processing unit 113. The image data subjected to the above processing is converted into a printer language by the printer language translation unit 114 and input to the printer 150 via the communication port driver 120 and the communication port 130 (for example, RS232C / LAN). The printer 150 may be a digital complex machine having a copy function and a fax function in addition to the printer function.

また、本発明は、コンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体に、1次元のLUTと補間演算により黒生成下色除去処理を行う画像処理方法とを記録したものとして提供することもできる。この結果、1次元のLUTと補間演算により黒生成下色除去処理を行う画像処理方法を行うプログラムとを記録した記録媒体を持ち運び自在に提供することができる。   The present invention also provides a computer-readable recording medium that records a program to be executed by a computer, in which a one-dimensional LUT and an image processing method for performing black generation and undercolor removal processing by interpolation are recorded. You can also As a result, it is possible to provide a portable recording medium on which a one-dimensional LUT and a program for performing an image processing method for performing black generation and undercolor removal processing by interpolation calculation are recorded.

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

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

ここで、上記プログラムメディアは、本体と分離可能に構成される記録媒体であり、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスクやハードディスク等の磁気ディスク並びにCD−ROM/MO/MD/DVD等の光ディスクのディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory)、フラッシュROM等による半導体メモリを含めた固定的にプログラムを担持する媒体であってもよい。   Here, the program medium is a recording medium configured to be separable from the main body, and includes a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk and a hard disk, and a CD-ROM / MO /. Disk systems for optical disks such as MD / DVD, card systems such as IC cards (including memory cards) / optical cards, mask ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash It may be a medium that carries a fixed program including a semiconductor memory such as a ROM.

また、この場合、インターネットを含む通信ネットワークを接続可能なシステム構成とし、通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する媒体であってもよい。なお、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用のプログラムは予め本体装置に格納しておくか、あるいは別の記録媒体からインストールされるものであってもよい。   In this case, the medium may be a medium that can be connected to a communication network including the Internet and fluidly carries the program so as to download the program from the communication network. When the program is downloaded from the communication network in this way, the download program may be stored in the main device in advance or installed from another recording medium.

上記記録媒体は、デジタルカラー画像形成装置やコンピュータシステムに備えられるプログラム読み取り装置により読み取られることで上述した画像処理方法が実行される。   The recording medium is read by a program reading device provided in a digital color image forming apparatus or a computer system, whereby the above-described image processing method is executed.

なお、上記コンピュータシステムは、フラットベッドスキャナ・フィルムスキャナ・デジタルカメラなどの画像入力装置、所定のプログラムがロードされることにより上記画像処理方法など様々な処理が行われるコンピュータ、コンピュータの処理結果を表示するCRTディスクプレイ・液晶ディスプレイなどの画像表示装置およびコンピュータの処理結果を紙に出力するプリンタより構成される。さらには、ネットワークを介してサーバーなどに接続するための通信手段としてのネットワークカードやモデムなどが備えられる。   The computer system includes an image input device such as a flatbed scanner, a film scanner, and a digital camera, a computer that performs various processes such as the image processing method by loading a predetermined program, and displays the processing results of the computer. An image display device such as a CRT display / liquid crystal display and a printer that outputs the processing results of the computer to paper. Furthermore, a network card, a modem, and the like are provided as communication means for connecting to a server or the like via a network.

入力画像データに対して、色相に応じた適切な黒生成処理を施す画像処理装置を実現でき、K(黒)色材を用いた画像出力を行うカラー複写機やカラープリンタ等の用途に適用できる。   An image processing apparatus that performs appropriate black generation processing according to hue on input image data can be realized, and can be applied to applications such as color copiers and color printers that perform image output using K (black) color materials. .

本発明の一実施形態を示すものであり、黒生成部の要部構成を示すブロック図である。1, showing an embodiment of the present invention, is a block diagram illustrating a main configuration of a black generation unit. FIG. 本発明に係る画像処理装置を適用する画像形成装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image forming apparatus to which an image processing apparatus according to the present invention is applied. 上記画像形成装置における黒生成下色除去部の要部構成を示すブロック図である。FIG. 2 is a block diagram illustrating a main configuration of a black generation and under color removal unit in the image forming apparatus. 図1に示す黒生成部での黒生成処理方法において用いられるLUTを示すグラフである。It is a graph which shows LUT used in the black production | generation method in the black production | generation part shown in FIG. 図5(a)、図5(b)は、図1に示す黒生成部での黒生成処理方法を示す図である。FIGS. 5A and 5B are diagrams illustrating a black generation processing method in the black generation unit illustrated in FIG. 1. 色相としてC,M,Yの3種類を用いる場合の判定方法を示す図である。It is a figure which shows the determination method in the case of using three types, C, M, and Y, as a hue. 図7(a)〜図7(c)は、色相としてC,M,Y,R,G,Bの3種類を用いる場合の判定方法を示す図である。FIG. 7A to FIG. 7C are diagrams illustrating a determination method in the case where three types of hues C, M, Y, R, G, and B are used. 図1に示す黒生成部での黒生成処理方法を示すフローチャートである。It is a flowchart which shows the black production | generation processing method in the black production | generation part shown in FIG. 本発明の一実施形態を示すものであり、下色除去算出部の要部構成を示すブロック図である。1, showing an embodiment of the present invention, is a block diagram illustrating a main configuration of an under color removal calculating unit. FIG. 図3に示す黒生成下色除去部での処理を示すフローチャートである。It is a flowchart which shows the process in the black production | generation under color removal part shown in FIG. 色相に応じた黒生成量を読み出すためのテーブルとして2次元テーブルを用いる場合の方法を示す図である。It is a figure which shows the method in the case of using a two-dimensional table as a table for reading the black production amount according to a hue. 色相に応じた黒生成量を読み出すためのテーブルとして用いられる2次元テーブルを示すグラフである。It is a graph which shows the two-dimensional table used as a table for reading the black production amount according to a hue. 図1とは異なる黒生成部の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the black production | generation part different from FIG. 図9とは異なる下色除去算出部の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the under color removal calculation part different from FIG. 本発明に係る画像処理装置を適用する図2とは異なる例の画像形成装置の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of an image forming apparatus of an example different from FIG. 2 to which the image processing apparatus according to the present invention is applied.

符号の説明Explanation of symbols

20 カラー画像処理装置(画像処理装置)
24 領域分離処理部
26 黒生成下色除去部
261、265 黒生成部
262 下色除去部
263、266 下色除去算出部
264 下色除去処理部
2611、2631、2651,2661
色相判定部
2613 グレー軸用1次元黒生成テーブル
(色相対応黒生成量算出部、1次元テーブル格納部)
2614−n 高彩度軸用1次元黒生成テーブル
(色相対応黒生成量算出部、1次元テーブル格納部)
2615−n 黒生成量計算部(色相対応黒生成量算出部、算出部)
2616、2656 黒生成量選択部
2617、2657 黒生成量補間演算部
2633 グレー軸用1次元下色除去テーブル
(色相対応下色除去量算出部、1次元テーブル格納部)
2634−n 高彩度軸用1次元下色除去テーブル
(色相対応下色除去量算出部、1次元テーブル格納部)
2635−n 下色除去量計算部(色相対応下色除去量算出部、算出部)
2636、2666 下色除去量選択部
2637、2667 下色除去量補間演算部
2653、2654−n 2次元黒生成テーブル
(色相対応黒生成量算出部、2次元テーブル格納部)
2663、2664−n 2次元下色除去テーブル
(色相対応下色除去量算出部、2次元テーブル格納部)
20 color image processing device (image processing device)
24 Region separation processing unit 26 Black generation under color removal unit 261, 265 Black generation unit 262 Under color removal unit 263, 266 Under color removal calculation unit 264 Under color removal processing unit 2611, 2631, 2651, 2661
Hue determination unit 2613 Gray axis one-dimensional black generation table
(Hue generation black generation amount calculation unit, one-dimensional table storage unit)
2614-n One-dimensional black generation table for high saturation axis
(Hue generation black generation amount calculation unit, one-dimensional table storage unit)
2615-n black generation amount calculation unit (hue corresponding black generation amount calculation unit, calculation unit)
2616, 2656 Black generation amount selection unit 2617, 2657 Black generation amount interpolation calculation unit 2633 Gray axis one-dimensional under color removal table
(Hue-corresponding undercolor removal amount calculation unit, one-dimensional table storage unit)
2634-n One-dimensional undercolor removal table for high saturation axis
(Hue-corresponding undercolor removal amount calculation unit, one-dimensional table storage unit)
2635-n Under color removal amount calculation unit (hue corresponding under color removal amount calculation unit, calculation unit)
2636, 2666 under color removal amount selection units 2637, 2667 under color removal amount interpolation calculation units 2653, 2654-n two-dimensional black generation table
(Hue generation black generation amount calculation unit, two-dimensional table storage unit)
2663, 2664-n two-dimensional undercolor removal table
(Hue-corresponding undercolor removal amount calculation unit, two-dimensional table storage unit)

Claims (11)

複数の色成分よりなる画像データに対して黒生成処理を行う画像処理装置において、
複数の色成分よりなる画像データの色相を判定する色相判定部と、
予め定められた複数種類の色相毎に、各色相に対応する色相対応黒生成量を算出するものであり、上記画像データの各画素値の最小値色成分に対応する第1パラメータと、グレー軸および各色相に対応する高彩度軸であるそれぞれの基準軸上の黒生成量とを対応させて格納させる複数の1次元ルックアップテーブルを備えた1次元テーブル格納部と、上記1次元テーブル格納部から読み出される、グレー軸上において上記第1パラメータに対応する黒生成量と、各色成分の高彩度軸上において上記第1パラメータに対応する黒生成量とに対して、上記第1パラメータおよび上記画像データの各画素値の最大値色成分に対応する第2パラメータに基づいて、グレー軸上の上記黒生成量と高彩度軸上の上記黒生成量との間で補間演算を行い、予め定められた各色相に対応した複数の色相対応黒生成量を算出する算出部とからなる色相対応黒生成量算出部と、
上記色相判定部の結果に基づき、上記色相対応黒生成量算出部で算出された複数の色相対応黒生成量から2つの色相対応黒生成量を選択する黒生成量選択部と、
上記選択された2つの色相対応黒生成量に対して、画像データの色成分値に基づいて、上記2つの色相対応黒生成量の間での補間演算を行い、上記画像データに対する黒生成量を算出する黒生成量補間演算部とを備えていることを特徴とする画像処理装置。
In an image processing apparatus that performs black generation processing on image data composed of a plurality of color components,
A hue determination unit that determines the hue of image data including a plurality of color components;
A hue-corresponding black generation amount corresponding to each hue is calculated for each of a plurality of predetermined hues, a first parameter corresponding to a minimum color component of each pixel value of the image data, and a gray axis And a one-dimensional table storage unit including a plurality of one-dimensional lookup tables for storing black generation amounts on respective reference axes that are high saturation axes corresponding to the hues, and the one-dimensional table storage unit With respect to the black generation amount corresponding to the first parameter on the gray axis and the black generation amount corresponding to the first parameter on the high saturation axis of each color component to be read, the first parameter and the image data Based on the second parameter corresponding to the maximum color component of each pixel value, an interpolation operation is performed between the black generation amount on the gray axis and the black generation amount on the high saturation axis. A hue corresponding black generation amount calculation unit comprising a calculation unit for calculating a plurality of hues corresponding black generation amount corresponding to each color is because,
A black generation amount selection unit that selects two hue generation black generation amounts from a plurality of hue generation black generation amounts calculated by the hue corresponding black generation amount calculation unit based on the result of the hue determination unit;
Based on the color component value of the image data, the interpolation calculation between the two hue-corresponding black generation amounts is performed on the two selected hue-corresponding black generation amounts, and the black generation amount for the image data is calculated. An image processing apparatus comprising: a black generation amount interpolation calculation unit to calculate.
さらに、複数の色成分よりなる画像データを複数の領域に分離する領域分離処理部を備えていると共に、
上記色相対応黒生成量算出部は、予め定められた所定の色相に加えてグレー領域に対応する黒生成量を算出するものであり、
黒生成量補間演算部は、領域分離処理部の結果において上記画像データが黒文字領域または色にじみ領域に属すると判断された場合には、補間演算を行わず、上記色相対応黒生成量算出部にて求められたグレー領域に対応する黒生成量を画像データに対する黒生成量とすることを特徴とする請求項に記載の画像処理装置。
Further, the image processing apparatus includes a region separation processing unit that separates image data including a plurality of color components into a plurality of regions,
The hue corresponding black generation amount calculation unit calculates a black generation amount corresponding to a gray region in addition to a predetermined hue set in advance.
The black generation amount interpolation calculation unit does not perform the interpolation calculation when the image data is determined to belong to the black character region or the color blur region in the result of the region separation processing unit, and the hue generation black generation amount calculation unit The image processing apparatus according to claim 1 , wherein the black generation amount corresponding to the gray area obtained in this way is set as the black generation amount for the image data.
複数の色成分よりなる画像データに対して下色除去処理を行う画像処理装置において、
複数の色成分よりなる画像データの色相を判定する色相判定部と、
予め定められた複数種類の色相毎に、各色相に対応する色相対応下色除去量を算出するものであり、上記画像データの各画素値の最小値色成分に対応する第1パラメータと、グレー軸および各色相に対応する高彩度軸であるそれぞれの基準軸上の下色除去量とを対応させて格納させる複数の1次元ルックアップテーブルを備えた1次元テーブル格納部と、
上記1次元テーブル格納部から読み出される、グレー軸上において上記第1パラメータに対応する下色除去量と、各色成分の高彩度軸上において上記第1パラメータに対応する下色除去量とに対して、上記第1パラメータおよび上記画像データの各画素値の最大値色成分に対応する第2パラメータに基づいて、グレー軸上の上記下色除去量と高彩度軸上の上記下色除去との間で補間演算を行い、予め定められた各色相に対応した複数の色相対応下色除去量を算出する算出部とからなる色相対応下色除去量算出部と、
上記色相判定部の結果に基づき、上記色相対応下色除去量算出部で算出された複数の色相対応下色除去量から2つの色相対応下色除去量を選択する下色除去量選択部と、
上記選択された2つの色相対応下色除去量に対して、画像データの色成分値に基づいて、上記2つの色相対応下色除去量の間での補間演算を行い、上記画像データに対する下色除去量を算出する下色除去量補間演算部とを備えていることを特徴とする画像処理装置。
In an image processing apparatus that performs undercolor removal processing on image data composed of a plurality of color components,
A hue determination unit that determines the hue of image data including a plurality of color components;
For each of a plurality of predetermined hues, a hue-corresponding lower color removal amount corresponding to each hue is calculated, a first parameter corresponding to the minimum color component of each pixel value of the image data, gray A one-dimensional table storage unit comprising a plurality of one-dimensional lookup tables for storing the corresponding under-color removal amounts on the respective reference axes, which are high-saturation axes corresponding to the axes and the hues;
With respect to the under color removal amount corresponding to the first parameter on the gray axis and the under color removal amount corresponding to the first parameter on the high saturation axis of each color component, read from the one-dimensional table storage unit, Interpolation between the lower color removal amount on the gray axis and the lower color removal on the high saturation axis based on the first parameter and the second parameter corresponding to the maximum color component of each pixel value of the image data A hue-corresponding undercolor removal amount calculation unit including a calculation unit that performs calculation and calculates a plurality of hue-corresponding undercolor removal amounts corresponding to predetermined hues;
A lower color removal amount selection unit that selects two hue corresponding lower color removal amounts from a plurality of hue corresponding lower color removal amounts calculated by the hue corresponding lower color removal amount calculation unit based on the result of the hue determination unit;
For the two selected hue-corresponding undercolor removal amounts, an interpolation operation is performed between the two hue-corresponding undercolor removal amounts based on the color component value of the image data, and the undercolor for the image data is calculated. An image processing apparatus comprising: a lower color removal amount interpolation calculation unit that calculates a removal amount.
さらに、複数の色成分よりなる画像データを複数の領域に分離する領域分離処理部を備えていると共に、
上記色相対応下色除去量算出部は、予め定められた所定の色相に加えてグレー領域に対応する下色除去量を算出するものであり、
下色除去量補間演算部は、領域分離処理部の結果において上記画像データが黒文字領域または色にじみ領域に属すると判断された場合には、補間演算を行わず、上記色相対応下色除去量算出部にて求められたグレー領域に対応する下色除去量を画像データに対する下色除去量とすることを特徴とする請求項に記載の画像処理装置。
Further, the image processing apparatus includes a region separation processing unit that separates image data including a plurality of color components into a plurality of regions,
The hue-corresponding undercolor removal amount calculation unit calculates an undercolor removal amount corresponding to a gray area in addition to a predetermined hue that is determined in advance.
The lower color removal amount interpolation calculation unit calculates the lower hue removal amount corresponding to the hue without performing the interpolation calculation when it is determined in the result of the region separation processing unit that the image data belongs to the black character region or the color blur region. 4. The image processing apparatus according to claim 3 , wherein the under color removal amount corresponding to the gray area obtained by the image processing unit is set as the under color removal amount for the image data.
上記請求項1ないしの何れかに記載の画像処理装置を備えることを特徴とする画像形成装置。 An image forming apparatus comprising the image processing apparatus according to any one of the claims 1 to 4. 複数の色成分よりなる画像データに対して黒生成処理を行う画像処理方法において、
複数の色成分よりなる画像データの色相を判定する色相判定工程と、
予め定められた複数種類の色相毎に、各色相に対応する色相対応黒生成量を算出する色相対応黒生成量算出工程と、
上記色相判定工程の判定結果に基づき、上記色相対応黒生成量算出工程で算出された複数の色相対応黒生成量から2つの色相対応黒生成量を選択する黒生成量選択工程と、
上記選択された2つの色相対応黒生成量に対して、画像データの色成分値に基づいて、上記2つの色相対応黒生成量の間での補間演算を行い、上記画像データに対する黒生成量を算出する黒生成量補間演算工程とを備えており、
上記色相対応黒生成量算出工程は、
上記画像データの各画素値の最小値色成分に対応する第1パラメータと、グレー軸および各色相に対応する高彩度軸であるそれぞれの基準軸上の黒生成量とを対応させて格納させる複数の1次元ルックアップテーブルを備えた1次元テーブル格納部から、グレー軸上において上記第1パラメータに対応する黒生成量と、各色成分の高彩度軸上において上記第1パラメータに対応する黒生成量とを読み出し、読み出された黒生成量に対して、上記第1パラメータおよび上記画像データの各画素値の最大値色成分に対応する第2パラメータに基づいて、グレー軸上の上記黒生成量と高彩度軸上の上記黒生成量との間で補間演算を行い、予め定められた各色相に対応した複数の色相対応黒生成量を算出することを特徴とする画像処理方法。
In an image processing method for performing black generation processing on image data composed of a plurality of color components,
A hue determination step of determining the hue of image data composed of a plurality of color components;
A hue-corresponding black generation amount calculating step for calculating a hue-corresponding black generation amount corresponding to each hue for each of a plurality of predetermined hues;
Based on the determination result of the hue determination step, a black generation amount selection step of selecting two hue corresponding black generation amounts from the plurality of hue corresponding black generation amounts calculated in the hue corresponding black generation amount calculation step;
Based on the color component value of the image data, the interpolation calculation between the two hue-corresponding black generation amounts is performed on the two selected hue-corresponding black generation amounts, and the black generation amount for the image data is calculated. A black generation amount interpolation calculation step to calculate ,
The hue-corresponding black generation amount calculating step
A plurality of first parameters corresponding to the minimum color component of each pixel value of the image data and a black generation amount on each reference axis which is a high saturation axis corresponding to each gray hue and each hue are stored in association with each other. From a one-dimensional table storage unit having a one-dimensional lookup table, a black generation amount corresponding to the first parameter on the gray axis and a black generation amount corresponding to the first parameter on the high saturation axis of each color component are obtained. Based on the first parameter and the second parameter corresponding to the maximum color component of each pixel value of the image data, the black generation amount and the high saturation on the gray axis with respect to the read and read black generation amount An image processing method , wherein interpolation calculation is performed with the black generation amount on the axis to calculate a plurality of hue-corresponding black generation amounts corresponding to predetermined hues .
さらに、複数の色成分よりなる画像データを複数の領域に分離する領域分離処理工程を含むと共に、
上記色相対応黒生成量算出工程では、予め定められた所定の色相に加えてグレー領域に対応する黒生成量が算出されるものであり、
黒生成量補間演算工程では、領域分離処理工程の結果において上記画像データが黒文字領域または色にじみ領域に属すると判断された場合には、補間演算を行わず、上記色相対応黒生成量算出工程にて求められたグレー領域に対応する黒生成量を画像データに対する黒生成量とすることを特徴とする請求項に記載の画像処理方法。
Further, the image processing apparatus includes a region separation processing step for separating image data composed of a plurality of color components into a plurality of regions,
In the hue-related black generation amount calculation step, in addition to a predetermined hue set in advance, a black generation amount corresponding to a gray area is calculated.
In the black generation amount interpolation calculation step, when it is determined that the image data belongs to the black character region or the color blur region as a result of the region separation processing step, the interpolation calculation is not performed and the hue corresponding black generation amount calculation step is performed. The image processing method according to claim 6 , wherein the black generation amount corresponding to the gray area obtained in this way is set as the black generation amount for the image data.
複数の色成分よりなる画像データに対して下色除去処理を行う画像処理方法において、
複数の色成分よりなる画像データの色相を判定する色相判定工程と、
予め定められた複数種類の色相毎に、各色相に対応する色相対応下色除去量を算出する色相対応下色除去量算出工程と、
上記色相判定工程の判定結果に基づき、上記色相対応下色除去量算出工程で算出された複数の色相対応下色除去量から2つの色相対応下色除去量を選択する下色除去量選択工程と、
上記選択された2つの色相対応下色除去量に対して、画像データの色成分値に基づいて、上記2つの色相対応下色除去量の間での補間演算を行い、上記画像データに対する下色除去量を算出する下色除去量補間演算工程とを備えており、
上記色相対応下色除去量算出工程は、
上記画像データの各画素値の最小値色成分に対応する第1パラメータと、グレー軸および各色相に対応する高彩度軸であるそれぞれの基準軸上の下色除去量とを対応させて格納させる複数の1次元ルックアップテーブルを備えた1次元テーブル格納部から、グレー軸上において上記第1パラメータに対応する下色除去量と、各色成分の高彩度軸上において上記第1パラメータに対応する下色除去量とを読み出し、読み出された下色除去量に対して、上記第1パラメータおよび上記画像データの各画素値の最大値色成分に対応する第2パラメータに基づいて、グレー軸上の上記下色除去量と高彩度軸上の上記下色除去量との間で補間演算を行い、予め定められた各色相に対応した複数の色相対応下色除去量を算出することを特徴とする画像処理方法。
In an image processing method for performing undercolor removal processing on image data composed of a plurality of color components,
A hue determination step of determining the hue of image data composed of a plurality of color components;
A hue-corresponding undercolor removal amount calculating step for calculating a hue-corresponding undercolor removal amount corresponding to each hue for each of a plurality of predetermined hues;
A lower color removal amount selection step of selecting two hue corresponding lower color removal amounts from a plurality of hue corresponding lower color removal amounts calculated in the hue corresponding lower color removal amount calculation step based on the determination result of the hue determination step; ,
For the two selected hue-corresponding undercolor removal amounts, an interpolation operation is performed between the two hue-corresponding undercolor removal amounts based on the color component value of the image data, and the undercolor for the image data is calculated. An under color removal amount interpolation calculation step for calculating the removal amount ,
The hue-corresponding undercolor removal amount calculating step
A plurality of the first parameters corresponding to the minimum color component of each pixel value of the image data and the undercolor removal amounts on the respective reference axes which are the high saturation axes corresponding to the gray axis and the respective hues are stored in association with each other. The under color removal amount corresponding to the first parameter on the gray axis and the under color removal corresponding to the first parameter on the high saturation axis of each color component from the one-dimensional table storage unit including the one-dimensional lookup table And the lower color on the gray axis based on the first parameter and the second parameter corresponding to the maximum color component of each pixel value of the image data. image processing and calculates a plurality of hues corresponding under color removal amount performs interpolation calculation, corresponding to each predetermined hue between the undercolor removal amount in the color removal amount and high chroma axis Law.
さらに、複数の色成分よりなる画像データを複数の領域に分離する領域分離処理工程を含むと共に、
上記色相対応下色除去量算出工程では、予め定められた所定の色相に加えてグレー領域に対応する下色除去量が算出されるものであり、
下色除去量補間演算工程では、領域分離処理工程の結果において上記画像データが黒文字領域または色にじみ領域に属すると判断された場合には、補間演算を行わず、上記色相対応下色除去量算出工程にて求められたグレー領域に対応する下色除去量を画像データに対する下色除去量とすることを特徴とする請求項に記載の画像処理方法。
Further, the image processing apparatus includes a region separation processing step for separating image data composed of a plurality of color components into a plurality of regions,
In the hue-corresponding undercolor removal amount calculating step, in addition to a predetermined hue, a lower color removal amount corresponding to a gray area is calculated.
In the under color removal amount interpolation calculation step, if it is determined in the result of the region separation processing step that the image data belongs to a black character region or a color blur region, interpolation calculation is not performed and the hue corresponding under color removal amount calculation is performed. 9. The image processing method according to claim 8 , wherein the under color removal amount corresponding to the gray area obtained in the step is set as the under color removal amount for the image data.
コンピュータを、上記請求項1ないしの画像処理装置を構成する各機能部として作用させることを特徴とする画像処理プログラム。 Computer, image processing program for causing act as each function section constituting the image processing apparatus of the claims 1 to 4. 請求項10に記載の画像処理プログラムを記録したことを特徴とするコンピュータ読取り可能な記録媒体。 A computer-readable recording medium on which the image processing program according to claim 10 is recorded.
JP2003420884A 2003-12-18 2003-12-18 Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium Expired - Fee Related JP4101741B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003420884A JP4101741B2 (en) 2003-12-18 2003-12-18 Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003420884A JP4101741B2 (en) 2003-12-18 2003-12-18 Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium

Publications (2)

Publication Number Publication Date
JP2005184333A JP2005184333A (en) 2005-07-07
JP4101741B2 true JP4101741B2 (en) 2008-06-18

Family

ID=34782279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003420884A Expired - Fee Related JP4101741B2 (en) 2003-12-18 2003-12-18 Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium

Country Status (1)

Country Link
JP (1) JP4101741B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5962551B2 (en) * 2013-03-11 2016-08-03 富士ゼロックス株式会社 Color processing apparatus, image forming apparatus, and program
JP5863723B2 (en) 2013-07-26 2016-02-17 京セラドキュメントソリューションズ株式会社 Image processing apparatus and image forming apparatus

Also Published As

Publication number Publication date
JP2005184333A (en) 2005-07-07

Similar Documents

Publication Publication Date Title
JP4067532B2 (en) Color conversion apparatus, image forming apparatus, color conversion method, computer program, and recording medium
JP4173154B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4331159B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
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
JP3989738B2 (en) Image forming method, image forming apparatus, program, and recording medium
JP2007028336A (en) Apparatus and method for image processing, image forming apparatus, program, and recording medium
JP4226278B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium recording the same
JP3734703B2 (en) Image processing method, image processing apparatus, and image forming apparatus
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
JP4101741B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP7266462B2 (en) IMAGE PROCESSING APPARATUS, IMAGE FORMING APPARATUS, IMAGE PROCESSING METHOD AND PROGRAM
JP4549227B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP2002218271A (en) Image processor, image formation device and image, processing method
JP4176656B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium recording the program
JP4099366B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, and image processing method
JP4118823B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP2004248103A (en) Image processing device, image reading device, image forming device, image processing method, image processing program, and computer readable record medium recording the same
JP5122507B2 (en) Image processing apparatus, image forming apparatus, image processing method, 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
JP4266002B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP2008271131A (en) Method and device for image processing, and image forming apparatus
JP4499685B2 (en) Image processing apparatus, image forming apparatus including the same, image processing method, image processing program, and recording medium
JP4271644B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium recording image processing program
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071101

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080207

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20080207

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080319

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

Free format text: PAYMENT UNTIL: 20110328

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120328

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120328

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130328

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees