JP4118823B2 - 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
JP4118823B2
JP4118823B2 JP2004037406A JP2004037406A JP4118823B2 JP 4118823 B2 JP4118823 B2 JP 4118823B2 JP 2004037406 A JP2004037406 A JP 2004037406A JP 2004037406 A JP2004037406 A JP 2004037406A JP 4118823 B2 JP4118823 B2 JP 4118823B2
Authority
JP
Japan
Prior art keywords
parameter
black generation
unit
image
image processing
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
JP2004037406A
Other languages
Japanese (ja)
Other versions
JP2005167959A (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 JP2004037406A priority Critical patent/JP4118823B2/en
Publication of JP2005167959A publication Critical patent/JP2005167959A/en
Application granted granted Critical
Publication of JP4118823B2 publication Critical patent/JP4118823B2/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 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

しかしながら、上記従来の構成では、2次元のLUTを用いているため、該LUTを記憶するためのメモリ容量が大きくなるといった問題を生じる。   However, since the conventional configuration uses a two-dimensional LUT, there arises a problem that the memory capacity for storing the LUT becomes large.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、LUTを記憶するためのメモリ容量の増加を抑制し、かつ、グレーの再現性と暗くて鮮やかな色の再現性とを両立できる色補正方法を実現することにある。   The present invention has been made in view of the above problems, and its object is to suppress an increase in memory capacity for storing LUTs, and to reproduce gray and dark and vivid colors. It is to realize a color correction method that can achieve both.

本発明に係る画像処理装置は、上記課題を解決するために、複数の一次色成分よりなる画像データに基づいて、上記一次色成分とは異なる色成分の画像データを生成する画像処理装置であって、上記一次色成分よりなる画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、複数の第1色データを上記第1パラメータに対応づけて格納する色データ格納部と、上記第1パラメータに基づいて上記色データ格納部より読み出される複数の第1色データと上記第2パラメータとを用いた補間演算、あるいは、上記第1色データと上記第1パラメータおよび第2パラメータとを用いた補間演算により、一次色成分とは異なる色成分の生成量である第2色データを求める色データ演算部とを備えることを特徴としている。ここで、一次色成分とは異なる色成分の生成量とは、一次色成分がC(シアン)・M(マゼンタ)・Y(イエロー)である場合、二次色成分であるR(赤)・G(緑)・B(青)や三次色成分である黒のことを意味する。   In order to solve the above problems, an image processing apparatus according to the present invention is an image processing apparatus that generates image data having a color component different from the primary color component based on image data including a plurality of primary color components. A color calculation unit that calculates a first parameter and a second parameter based on a pixel value of image data including the primary color component, and a color that stores a plurality of first color data in association with the first parameter. Interpolation calculation using the data storage unit and a plurality of first color data and the second parameter read from the color data storage unit based on the first parameter, or the first color data and the first parameter And a color data calculation unit that obtains second color data that is a generation amount of a color component different from the primary color component by interpolation calculation using the second parameter. It is characterized. Here, the generation amount of the color component different from the primary color component means that when the primary color component is C (cyan), M (magenta), Y (yellow), the secondary color component R (red) It means G (green), B (blue) and black which is a tertiary color component.

上記パラメータ算出部にて算出される第1パラメータは色データ格納部に入力され、色データ格納部では、第1パラメータに基づいて複数の第1色データがLUTより読み出される。このLUTでは、第1パラメータの一つの値に対して複数(通常は2つ)の第1色データが格納されている。第1色データが求まると、上記色データ演算部において、この複数の第1色データに対し、さらに第2パラメータを用いた補間演算、あるいは第1パラメータおよび第2パラメータとを用いた補間演算により、1つの第2色データが得られる。例えば、二次色生成処理では、この第2色データが最適な二次色生成量として求められ、三次色生成処理では、第2色データが最適な三次色生成量として求められる。   The first parameter calculated by the parameter calculation unit is input to the color data storage unit, and the color data storage unit reads a plurality of first color data from the LUT based on the first parameter. In this LUT, a plurality (usually two) of first color data is stored for one value of the first parameter. When the first color data is obtained, the color data calculation unit further performs an interpolation calculation using the second parameter or an interpolation calculation using the first parameter and the second parameter on the plurality of first color data. One second color data is obtained. For example, in the secondary color generation process, the second color data is obtained as an optimal secondary color generation amount, and in the tertiary color generation process, the second color data is obtained as an optimal tertiary color generation amount.

それゆえ、上記色データ格納部では、一つのパラメータに対応して出力値(第1色データ)を格納すればよく、2つ以上のパラメータの組に対して出力値を格納する従来構成に比べ、大幅なメモリサイズの増加なしに理想的な二次色生成処理や三次色生成処理を行うことができ、画質を向上させることができる。   Therefore, the color data storage unit only needs to store an output value (first color data) corresponding to one parameter, compared to a conventional configuration in which output values are stored for a set of two or more parameters. Therefore, ideal secondary color generation processing and tertiary color generation processing can be performed without a significant increase in memory size, and image quality can be improved.

また、本発明に係る他の画像処理装置は、上記課題を解決するために、複数の色成分よりなる画像データに対して黒生成処理を行う画像処理装置において、上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、複数の第1黒生成量を上記第1パラメータに対応づけて格納する黒生成量格納部と、上記第1パラメータに基づいて上記黒生成量格納部より読み出される複数の第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求める黒生成演算部とを備えることを特徴としている。   In order to solve the above problem, another image processing apparatus according to the present invention is an image processing apparatus that performs black generation processing on image data including a plurality of color components, based on pixel values of the image data. A parameter calculation unit that calculates the first parameter and the second parameter, a black generation amount storage unit that stores a plurality of first black generation amounts in association with the first parameter, and the above based on the first parameter Interpolation calculation using a plurality of first black generation amounts read from the black generation amount storage unit and the second parameter, or interpolation calculation using the first black generation amount and the first and second parameters And a black generation calculation unit for obtaining the second black generation amount.

上記パラメータ算出部にて算出される第1パラメータは黒生成量格納部に入力され、黒生成量格納部では、第1パラメータに基づいて複数の第1黒生成量がLUTより読み出される。このLUTでは、第1パラメータの一つの値に対して複数(通常は2つ)の第1黒生成量が格納されている。第1黒生成量が求まると、上記黒生成演算部において、この複数の第1黒生成量に対し、さらに第2パラメータを用いた補間演算、あるいは第1パラメータおよび第2パラメータとを用いた補間演算により、1つの第2黒生成量が得られる。上記黒生成処理では、この第2黒生成量が最適な黒生成量として求められる。   The first parameter calculated by the parameter calculation unit is input to the black generation amount storage unit, and the black generation amount storage unit reads a plurality of first black generation amounts from the LUT based on the first parameter. In this LUT, a plurality (usually two) of first black generation amounts are stored for one value of the first parameter. When the first black generation amount is obtained, the black generation calculation unit further interpolates the plurality of first black generation amounts using the second parameter or performs interpolation using the first parameter and the second parameter. One second black generation amount is obtained by the calculation. In the black generation process, the second black generation amount is obtained as the optimum black generation amount.

それゆえ、上記黒生成量格納部では、一つのパラメータに対応して出力値(第1黒生成量)を格納すればよく、2つ以上のパラメータの組に対して出力値を格納する従来構成に比べ、大幅なメモリサイズの増加なしに理想的な黒生成処理を行うことができ、画質を向上させることができる。   Therefore, the black generation amount storage unit only needs to store an output value (first black generation amount) corresponding to one parameter, and stores the output value for a set of two or more parameters. Compared to the above, ideal black generation processing can be performed without a significant increase in memory size, and image quality can be improved.

また、本発明に係る他の画像処理装置は、上記課題を解決するために、複数の色成分よりなる画像データに対して黒生成処理を行う画像処理装置において、入力画像中の各画素あるいは画素群を少なくとも文字領域、網点領域、写真領域の何れかに分離し、各画素あるいは画素群の領域を示す領域分離信号を出力する領域分離部と、上記画像データの画素値に基づいて、複数のパラメータを算出するパラメータ算出部と、上記領域分離部から出力される領域分離信号に応じて、パラメータ算出部で算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択するパラメータ選択部と、複数の第1黒生成量を上記第1パラメータに対応づけて格納する黒生成量格納部と、上記第1パラメータに基づいて上記黒生成量格納部より読み出される複数の第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求める黒生成演算部とを備えることを特徴としている。   Another image processing apparatus according to the present invention provides an image processing apparatus that performs black generation processing on image data composed of a plurality of color components in order to solve the above problem. A group separating unit into at least one of a character region, a halftone dot region, and a photographic region, and outputting a region separation signal indicating the region of each pixel or pixel group, and a plurality of pixels based on the pixel value of the image data And a parameter selection unit that selects the first parameter and the second parameter from the plurality of parameters calculated by the parameter calculation unit according to the region separation signal output from the region separation unit. A black generation amount storage unit that stores a plurality of first black generation amounts in association with the first parameter, and the black generation amount storage unit based on the first parameter. The second black is calculated by interpolation using a plurality of first black generation amounts to be read and the second parameter, or by interpolation calculation using the first black generation amount and the first and second parameters. And a black generation calculation unit for determining the generation amount.

上記構成の画像処理装置では、上記パラメータ算出部において複数のパラメータが算出され、さらに上記パラメータ選択部においてこの複数のパラメータの中から第1パラメータおよび第2パラメータが領域分離信号に基づいて選択される。それゆえ、各画素あるいは画素群に対する黒生成処理を、該画素あるいは画素群の属する領域の種類に応じて、適切なパラメータを用いて行うことができる。尚、領域分離を行う画素群の形状は、矩形領域のみではなく任意の形状であっても構わない。   In the image processing apparatus having the above configuration, the parameter calculation unit calculates a plurality of parameters, and the parameter selection unit selects a first parameter and a second parameter from the plurality of parameters based on the region separation signal. . Therefore, black generation processing for each pixel or pixel group can be performed using appropriate parameters according to the type of region to which the pixel or pixel group belongs. Note that the shape of the pixel group for performing region separation may be not only a rectangular region but also an arbitrary shape.

また、本発明に係るさらに他の画像処理装置は、上記課題を解決するために、複数の色成分よりなる画像データに対して黒生成処理を行う画像処理装置において、入力画像中の各画素あるいは画素群を少なくとも文字領域、網点領域、写真領域の何れかに分離し、各画素あるいは画素群の領域を示す領域分離信号を出力する領域分離部と、上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、複数の第1黒生成量を上記第1パラメータに対応づけて記憶した複数のテーブルを格納する黒生成量格納部と、上記領域分離部から出力される領域分離信号に応じて、上記黒生成量格納部に記憶された複数のテーブルの中から使用するテーブルを選択するテーブル選択部と、上記テーブル選択部により選択されたテーブルから上記第1パラメータに基づいて読み出される複数の第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求める黒生成演算部とを備えることを特徴としている。   Still another image processing apparatus according to the present invention provides an image processing apparatus that performs black generation processing on image data including a plurality of color components in order to solve the above-described problem. Based on the pixel value of the image data, an area separation unit that separates the pixel group into at least one of a character area, a halftone dot area, and a photograph area, and outputs an area separation signal indicating the area of each pixel or pixel group, A parameter calculation unit that calculates a first parameter and a second parameter; a black generation amount storage unit that stores a plurality of tables in which a plurality of first black generation amounts are stored in association with the first parameter; and the region separation unit A table selection unit that selects a table to be used from among a plurality of tables stored in the black generation amount storage unit in accordance with a region separation signal output from the table, and the table selection unit Interpolation calculation using a plurality of first black generation amounts read from the selected table based on the first parameter and the second parameter, or the first black generation amount and the first parameter and second And a black generation calculation unit that obtains the second black generation amount by an interpolation calculation using parameters.

上記構成の画像処理装置では、上記黒生成量格納部において複数の第1黒生成量を上記第1パラメータに対応づけて記憶したテーブルが複数格納され、さらに上記テーブル選択部においてこの複数のテーブルの中から、文字領域、網点領域、写真領域等の領域の種類に応じた適切なテーブルが領域分離信号に基づいて選択され、使用される。それゆえ、各画素に対する黒生成処理を、該画素あるいは画素群の属する領域の種類に応じて、適切に行うことができる。   In the image processing apparatus having the above configuration, a plurality of tables storing a plurality of first black generation amounts in association with the first parameters are stored in the black generation amount storage unit, and further, the table selection unit stores the plurality of tables. An appropriate table corresponding to the type of area such as a character area, a halftone dot area, and a photographic area is selected based on the area separation signal. Therefore, the black generation process for each pixel can be appropriately performed according to the type of the region to which the pixel or pixel group belongs.

また、本発明に係るさらに他の画像処理装置は、上記課題を解決するために、複数の色成分よりなる画像データに対して黒生成処理を行う画像処理装置において、入力画像の画像種別を判別し、入力画像の画像種別を示す原稿種別判定信号を出力する原稿種別判定部と、上記画像データの画素値に基づいて、複数のパラメータを算出するパラメータ算出部と、上記原稿種別判定部から出力される原稿種別判定信号に応じて、パラメータ算出部で算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択するパラメータ選択部と、複数の第1黒生成量を上記第1パラメータに対応づけて格納する黒生成量格納部と、上記第1パラメータに基づいて上記黒生成量格納部より読み出される複数の第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求める黒生成演算部とを備えることを特徴としている。   Still another image processing apparatus according to the present invention determines an image type of an input image in an image processing apparatus that performs black generation processing on image data including a plurality of color components in order to solve the above-described problem. The document type determination unit that outputs the document type determination signal indicating the image type of the input image, the parameter calculation unit that calculates a plurality of parameters based on the pixel value of the image data, and the output from the document type determination unit A parameter selection unit that selects a first parameter and a second parameter from among a plurality of parameters calculated by the parameter calculation unit in response to the original type determination signal, and a plurality of first black generation amounts as the first parameter. A black generation amount storage unit stored in association with each other, a plurality of first black generation amounts read from the black generation amount storage unit based on the first parameter, and the second parameter. A black generation calculation unit for obtaining a second black generation amount by an interpolation calculation using a data or an interpolation calculation using the first black generation amount and the first parameter and the second parameter. It is a feature.

上記構成の画像処理装置では、上記パラメータ算出部において複数のパラメータが算出され、さらに上記パラメータ選択部においてこの複数のパラメータの中から第1パラメータおよび第2パラメータが原稿種別信号に基づいて選択される。それゆえ、入力画像全体に対する黒生成処理を、入力画像の原稿種別に応じて、適切なパラメータを用いて行うことができる。原稿の種別としては、必ずしも文字原稿や写真原稿と判別する必要はなく、例えば、原稿全体の特性の「薄い原稿」「暗い原稿」といった特性に応じて第1パラメータおよび第2パラメータを選択するようにしても良い。   In the image processing apparatus having the above configuration, the parameter calculation unit calculates a plurality of parameters, and the parameter selection unit selects a first parameter and a second parameter from the plurality of parameters based on the document type signal. . Therefore, black generation processing for the entire input image can be performed using appropriate parameters according to the document type of the input image. As the type of document, it is not always necessary to discriminate between a text document and a photo document. For example, the first parameter and the second parameter are selected according to the characteristics of the entire document, such as “light document” and “dark document”. Anyway.

また、本発明に係るさらに他の画像処理装置は、上記課題を解決するために、複数の色成分よりなる画像データに対して黒生成処理を行う画像処理装置において、入力画像の画像種別を判別し、入力画像の画像種別を示す原稿種別判定信号を出力する原稿種別判定部と、上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、複数の第1黒生成量を上記第1パラメータに対応づけて記憶した複数のテーブルを格納する黒生成量格納部と、上記原稿種別判定部から出力される原稿種別判定信号に応じて、上記黒生成量格納部に記憶された複数のテーブルの中から使用するテーブルを選択するテーブル選択部と、上記テーブル選択部により選択されたテーブルから上記第1パラメータに基づいて読み出される複数の第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求める黒生成演算部とを備えることを特徴としている。   Still another image processing apparatus according to the present invention determines an image type of an input image in an image processing apparatus that performs black generation processing on image data including a plurality of color components in order to solve the above-described problem. A document type determination unit that outputs a document type determination signal indicating the image type of the input image, a parameter calculation unit that calculates the first parameter and the second parameter based on the pixel value of the image data, and a plurality of first parameters A black generation amount storage unit that stores a plurality of tables that store one black generation amount in association with the first parameter, and stores the black generation amount in accordance with a document type determination signal output from the document type determination unit. A table selection unit for selecting a table to be used from among a plurality of tables stored in the unit, and the table selected by the table selection unit based on the first parameter The second black generation is performed by the interpolation calculation using the plurality of first black generation amounts to be read and the second parameter, or by the interpolation calculation using the first black generation amount and the first parameter and the second parameter. And a black generation calculation unit for obtaining the quantity.

上記構成の画像処理装置では、黒生成量格納部において複数の第1黒生成量を上記第1パラメータに対応づけて記憶したテーブルが複数格納され、さらに上記テーブル選択部においてこの複数のテーブルの中から、文字原稿、写真原稿といった原稿種別に応じた適切なテーブルが原稿種別信号に基づいて選択され、使用される。それゆえ、入力画像全体に対する黒生成処理を、入力画像の原稿種別に応じて、適切に行うことができる。   In the image processing apparatus having the above-described configuration, a plurality of tables storing a plurality of first black generation amounts in association with the first parameters are stored in the black generation amount storage unit, and the table selection unit further stores the plurality of tables. Therefore, an appropriate table corresponding to the document type, such as a text document or a photo document, is selected and used based on the document type signal. Therefore, the black generation process for the entire input image can be appropriately performed according to the document type of the input image.

また、上記画像処理装置において、上記黒生成量格納部は、複数の1次元のルックアップテーブルより構成されていることを特徴としている。これにより、2次元のルックアップテーブルを必要とする従来構成に比べ、黒生成量格納部においてLUTを格納するためのメモリサイズを大幅に削減することができる。   In the image processing apparatus, the black generation amount storage unit is composed of a plurality of one-dimensional lookup tables. As a result, the memory size for storing the LUT in the black generation amount storage unit can be greatly reduced as compared with the conventional configuration requiring a two-dimensional lookup table.

また、上記画像処理装置において、上記黒生成演算部には、複数の補間演算処理方法が格納されており、上記原稿種別判定信号あるいは領域分離信号に応じて、補間演算処理を切り替えることを特徴としている。これにより、複数の計算方法を最適に切り替えて補間演算処理を行うため、領域ごとあるいは原稿全体に最適な黒生成処理を行うことができる。   In the image processing apparatus, the black generation calculation unit stores a plurality of interpolation calculation processing methods, and the interpolation calculation processing is switched according to the document type determination signal or the region separation signal. Yes. Thus, the interpolation calculation process is performed by optimally switching between a plurality of calculation methods, so that the optimum black generation process can be performed for each region or for the entire document.

本発明に係る画像処理装置は、上記課題を解決するために、複数の色成分よりなる画像データに対して下色除去処理を行う画像処理装置において、上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、複数の第1下色除去量を上記第1パラメータに対応づけて格納する下色除去量格納部と、上記第1パラメータに基づいて上記下色除去量格納部より読み出される複数の第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求める下色除去演算部とを備えることを特徴としている。   In order to solve the above problem, an image processing apparatus according to the present invention is an image processing apparatus that performs undercolor removal processing on image data composed of a plurality of color components, based on pixel values of the image data. A parameter calculation unit that calculates one parameter and a second parameter, a lower color removal amount storage unit that stores a plurality of first lower color removal amounts in association with the first parameter, and the lower color based on the first parameter Interpolation calculation using a plurality of first undercolor removal amounts and the second parameter read from the color removal amount storage unit, or using the first undercolor removal amount and the first and second parameters And a lower color removal calculation unit that obtains the second lower color removal amount by interpolation calculation.

上記パラメータ算出部にて算出される第1パラメータは下色除去量格納部に入力され、下色除去量格納部では、第1パラメータに基づいて複数の第1下色除去量がLUTより読み出される。このLUTでは、第1パラメータの一つの値に対して複数(通常は2つ)の第1下色除去量が格納されている。第1下色除去量が求まると、上記下色除去演算部において、この複数の第1下色除去量に対し、さらに第2パラメータを用いた補間演算、あるいは第1パラメータおよび第2パラメータとを用いた補間演算により、1つの第2下色除去量が得られる。上記下色除去処理では、この第2下色除去量が最適な下色除去量として求められる。   The first parameter calculated by the parameter calculation unit is input to the under color removal amount storage unit. The under color removal amount storage unit reads a plurality of first under color removal amounts from the LUT based on the first parameter. . In this LUT, a plurality (usually two) of first undercolor removal amounts are stored for one value of the first parameter. When the first under color removal amount is obtained, the under color removal calculating unit further performs an interpolation operation using the second parameter or the first parameter and the second parameter for the plurality of first under color removal amounts. One second undercolor removal amount is obtained by the interpolation calculation used. In the under color removal process, the second under color removal amount is obtained as the optimum under color removal amount.

それゆえ、上記下色除去量格納部では、一つのパラメータに対応して出力値(第1下色除去量)を格納すればよく、2つ以上のパラメータの組に対して出力値を格納する従来構成に比べ、大幅なメモリサイズの増加なしに、理想的な下色除去処理を行うことができるため、画質を向上させることができる。   Therefore, the under color removal amount storage unit only needs to store an output value (first under color removal amount) corresponding to one parameter, and stores output values for a set of two or more parameters. Compared to the conventional configuration, ideal undercolor removal processing can be performed without a significant increase in memory size, so that the image quality can be improved.

また、本発明に係る他の画像処理装置は、上記課題を解決するために、複数の色成分よりなる画像データに対して下色除去処理を行う画像処理装置において、入力画像中の各画素あるいは画素群を少なくとも文字領域、網点領域、写真領域の何れかに分離し、各画素あるいは画素群の領域を示す領域分離信号を出力する領域分離部と、上記画像データの画素値に基づいて、複数のパラメータを算出するパラメータ算出部と、上記領域分離部から出力される領域分離信号に応じて、パラメータ算出部で算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択するパラメータ選択部と、複数の第1下色除去量を上記第1パラメータに対応づけて格納する下色除去量格納部と、上記第1パラメータに基づいて上記下色除去量格納部より読み出される複数の第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求める下色除去演算部とを備えることを特徴としている。   In order to solve the above problem, another image processing apparatus according to the present invention is an image processing apparatus that performs undercolor removal processing on image data composed of a plurality of color components. Based on the pixel value of the image data, an area separation unit that separates the pixel group into at least one of a character area, a halftone dot area, and a photograph area, and outputs an area separation signal indicating the area of each pixel or pixel group, A parameter calculation unit for calculating a plurality of parameters, and a parameter for selecting the first parameter and the second parameter from among the plurality of parameters calculated by the parameter calculation unit according to the region separation signal output from the region separation unit A selection unit; a lower color removal amount storage unit that stores a plurality of first lower color removal amounts in association with the first parameter; and the lower color removal based on the first parameter. Interpolation calculation using a plurality of first undercolor removal amounts and the second parameter read from the storage unit, or interpolation calculation using the first undercolor removal amount and the first and second parameters And an under color removal calculating unit for obtaining a second under color removal amount.

上記構成の画像処理装置では、上記パラメータ算出部において複数のパラメータが算出され、さらに上記パラメータ選択部においてこの複数のパラメータの中から第1パラメータおよび第2パラメータが領域分離信号に基づいて選択される。それゆえ、各画素に対する下色除去処理を、該画素あるいは画素群の属する領域の種類に応じて、適切なパラメータを用いて行うことができる。   In the image processing apparatus having the above configuration, the parameter calculation unit calculates a plurality of parameters, and the parameter selection unit selects a first parameter and a second parameter from the plurality of parameters based on the region separation signal. . Therefore, the under color removal process for each pixel can be performed using appropriate parameters according to the type of the region to which the pixel or pixel group belongs.

また、本発明に係る他の画像処理装置は、上記課題を解決するために、複数の色成分よりなる画像データに対して下色除去処理を行う画像処理装置において、入力画像中の各画素あるいは画素群を少なくとも文字領域、網点領域、写真領域の何れかに分離し、各画素あるいは画素群の領域を示す領域分離信号を出力する領域分離部と、上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、複数の第1下色除去量を上記第1パラメータに対応づけて記憶した複数のテーブルを格納する下色除去量格納部と、上記領域分離部から出力される領域分離信号に応じて、上記下色除去量格納部に記憶された複数のテーブルの中から使用するテーブルを選択するテーブル選択部と、上記テーブル選択部により選択されたテーブルから上記第1パラメータに基づいて読み出される複数の第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求める下色除去演算部とを備えることを特徴としている。   In order to solve the above problem, another image processing apparatus according to the present invention is an image processing apparatus that performs undercolor removal processing on image data composed of a plurality of color components. Based on the pixel value of the image data, an area separation unit that separates the pixel group into at least one of a character area, a halftone dot area, and a photograph area, and outputs an area separation signal indicating the area of each pixel or pixel group, A parameter calculation unit that calculates the first parameter and the second parameter, a lower color removal amount storage unit that stores a plurality of tables in which a plurality of first lower color removal amounts are stored in association with the first parameter, and the region A table selection unit that selects a table to be used from among a plurality of tables stored in the undercolor removal amount storage unit in accordance with a region separation signal output from the separation unit; Interpolation operation using a plurality of first undercolor removal amounts and the second parameter read out from the table selected by the first parameter, or the first undercolor removal amount and the first parameter, and And a lower color removal calculation unit for obtaining a second lower color removal amount by an interpolation calculation using the second parameter.

上記構成の画像処理装置では、上記下色除去量格納部において複数の第1下色除去量を上記第1パラメータに対応づけて記憶したテーブルが複数格納され、さらに上記テーブル選択部においてこの複数のテーブルの中から、文字領域、網点領域、写真領域等の領域の種類に応じた適切なテーブルが領域分離信号に基づいて選択され、使用される。それゆえ、各画素あるいは画素群に対する下色除去処理を、該画素あるいは画素群の属する領域の種類に応じて、適切に行うことができる。   In the image processing apparatus having the above configuration, a plurality of tables storing a plurality of first undercolor removal amounts in association with the first parameter are stored in the undercolor removal amount storage unit, and the plurality of tables are stored in the table selection unit. An appropriate table corresponding to the type of area such as a character area, a halftone dot area, and a photograph area is selected from the table based on the area separation signal. Therefore, the under color removal processing for each pixel or pixel group can be appropriately performed according to the type of the region to which the pixel or pixel group belongs.

また、本発明に係る他の画像処理装置は、上記課題を解決するために、複数の色成分よりなる画像データに対して下色除去処理を行う画像処理装置において、入力画像の画像種別を判別し、入力画像の画像種別を示す原稿種別判定信号を出力する原稿種別判定部と、上記画像データの画素値に基づいて、複数のパラメータを算出するパラメータ算出部と、上記原稿種別判定部から出力される原稿種別判定信号に応じて、パラメータ算出部で算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択するパラメータ選択部と、複数の第1下色除去量を上記第1パラメータに対応づけて格納する下色除去量格納部と、上記第1パラメータに基づいて上記下色除去量格納部より読み出される複数の第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求める下色除去演算部とを備えることを特徴としている。   In order to solve the above problem, another image processing apparatus according to the present invention determines an image type of an input image in an image processing apparatus that performs undercolor removal processing on image data including a plurality of color components. The document type determination unit that outputs the document type determination signal indicating the image type of the input image, the parameter calculation unit that calculates a plurality of parameters based on the pixel value of the image data, and the output from the document type determination unit A parameter selection unit that selects a first parameter and a second parameter from among a plurality of parameters calculated by the parameter calculation unit in response to the original type determination signal, and a plurality of first undercolor removal amounts as the first parameter. A lower color removal amount storage unit stored in association with the parameter; a plurality of first lower color removal amounts read from the lower color removal amount storage unit based on the first parameter; and the second A lower color removal calculation unit for obtaining a second lower color removal amount by an interpolation calculation using a parameter, or an interpolation calculation using the first lower color removal amount and the first parameter and the second parameter. It is characterized by that.

上記構成の画像処理装置では、上記パラメータ算出部において複数のパラメータが算出され、さらに上記パラメータ選択部においてこの複数のパラメータの中から第1パラメータおよび第2パラメータが原稿種別信号に基づいて選択される。それゆえ、入力画像全体に対する下色除去処理を、入力画像の原稿種別に応じて、適切なパラメータを用いて行うことができる。   In the image processing apparatus having the above configuration, the parameter calculation unit calculates a plurality of parameters, and the parameter selection unit selects a first parameter and a second parameter from the plurality of parameters based on the document type signal. . Therefore, the under color removal process for the entire input image can be performed using appropriate parameters according to the document type of the input image.

また、本発明に係る他の画像処理装置は、上記課題を解決するために、複数の色成分よりなる画像データに対して下色除去処理を行う画像処理装置において、入力画像の画像種別を判別し、入力画像の画像種別を示す原稿種別判定信号を出力する原稿種別判定部と、上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、複数の第1下色除去量を上記第1パラメータに対応づけて記憶した複数のテーブルを格納する下色除去量格納部と、上記原稿種別判定部から出力される原稿種別判定信号に応じて、上記下色除去量格納部に記憶された複数のテーブルの中から使用するテーブルを選択するテーブル選択部と、上記テーブル選択部により選択されたテーブルから上記第1パラメータに基づいて読み出される複数の第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求める下色除去演算部とを備えることを特徴としている。   In order to solve the above problem, another image processing apparatus according to the present invention determines an image type of an input image in an image processing apparatus that performs undercolor removal processing on image data including a plurality of color components. A document type determination unit that outputs a document type determination signal indicating the image type of the input image, a parameter calculation unit that calculates the first parameter and the second parameter based on the pixel value of the image data, and a plurality of first parameters A lower color removal amount storage unit that stores a plurality of tables in which one lower color removal amount is stored in association with the first parameter, and the lower color according to a document type determination signal output from the document type determination unit. A table selection unit that selects a table to be used from among a plurality of tables stored in the removal amount storage unit, and a table selected by the table selection unit based on the first parameter. The interpolation calculation using the plurality of first undercolor removal amounts and the second parameter read out in the above, or the interpolation calculation using the first undercolor removal amount and the first parameter and the second parameter, 2 is provided with a lower color removal calculation unit for obtaining an undercolor removal amount.

上記構成の画像処理装置では、下色除去量格納部において複数の第1下色除去量を上記第1パラメータに対応づけて記憶したテーブルが複数格納され、さらに上記テーブル選択部においてこの複数のテーブルの中から、文字原稿、写真原稿といった原稿種別に応じた適切なテーブルが原稿種別信号に基づいて選択され、使用される。それゆえ、各画素に対する下色除去処理を、入力画像の原稿種別に応じて、適切に行うことができる。   In the image processing apparatus having the above-described configuration, a plurality of tables in which a plurality of first undercolor removal amounts are stored in association with the first parameter are stored in the undercolor removal amount storage unit, and further, the plurality of tables are stored in the table selection unit. An appropriate table corresponding to the document type, such as a text document or a photo document, is selected based on the document type signal and used. Therefore, the undercolor removal process for each pixel can be appropriately performed according to the document type of the input image.

また、上記画像処理装置において、上記下色除去量格納部は、複数の1次元のルックアップテーブルより構成されていることを特徴としている。これにより、2次元のルックアップテーブルを必要とする従来構成に比べ、下色除去量格納部においてLUTを格納するためのメモリサイズを大幅に削減することができる。   In the image processing apparatus, the under color removal amount storage unit includes a plurality of one-dimensional lookup tables. As a result, the memory size for storing the LUT in the under color removal amount storage unit can be greatly reduced as compared with the conventional configuration requiring a two-dimensional lookup table.

また、上記画像処理装置において、上記下色除去演算部には、複数の補間演算処理方法が格納されており、上記原稿種別判定信号あるいは領域分離信号に応じて、補間演算処理を切り替えることを特徴としている。これにより、複数の計算方法を最適に切り替えて補間演算処理を行うため、領域ごとあるいは原稿全体に最適な下色除去処理を行うことができる。   In the image processing apparatus, the under color removal calculation unit stores a plurality of interpolation calculation processing methods, and the interpolation calculation processing is switched according to the document type determination signal or the region separation signal. It is said. Accordingly, since the interpolation calculation process is performed by optimally switching a plurality of calculation methods, it is possible to perform the optimum under color removal process for each region or the entire document.

本発明に係る画像形成装置は、上記課題を解決するために、上述の画像処理装置の何れかを備えることを特徴としている。   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.

本発明に係る画像処理方法は、上記課題を解決するために、複数の色成分よりなる画像データに対して黒生成処理を行う画像処理方法において、上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出し、複数の第1黒生成量を上記第1パラメータに対応づけて格納している黒生成量格納部から、上記第1パラメータに基づく複数の第1黒生成量を読み出し、上記第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求めることを特徴としている。   In order to solve the above problem, an image processing method according to the present invention is a first image processing method for performing black generation processing on image data composed of a plurality of color components, based on a pixel value of the image data. A plurality of first black generation amounts based on the first parameter are calculated from a black generation amount storage unit that calculates a parameter and a second parameter and stores a plurality of first black generation amounts in association with the first parameter. The second black generation amount is obtained by reading, interpolation calculation using the first black generation amount and the second parameter, or interpolation calculation using the first black generation amount and the first parameter and the second parameter. It is characterized by seeking.

本発明に係る他の画像処理方法は、上記課題を解決するために、複数の色成分よりなる画像データに対して黒生成処理を行う画像処理方法において、入力画像中の各画素あるいは画素群を少なくとも文字領域、網点領域、写真領域の何れかに分離し、上記画像データの画素値に基づいて、複数のパラメータを算出し、上記領域分離結果に応じて、算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択し、複数の第1黒生成量を上記第1パラメータに対応づけて格納している黒生成量格納部から、上記第1パラメータに基づく複数の第1黒生成量を読み出し、上記第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求めることを特徴としている。   Another image processing method according to the present invention is an image processing method for performing black generation processing on image data composed of a plurality of color components in order to solve the above problem. It is separated into at least one of a character area, a halftone dot area, and a photograph area, a plurality of parameters are calculated based on the pixel value of the image data, and a plurality of parameters calculated according to the area separation result are calculated. The first parameter and the second parameter are selected from the black generation amount storage unit that stores a plurality of first black generation amounts in association with the first parameter, and a plurality of first blacks based on the first parameter are stored. The generation amount is read, and the interpolation calculation using the first black generation amount and the second parameter, or the interpolation calculation using the first black generation amount and the first parameter and the second parameter. More is characterized by obtaining the second black generation amount.

本発明に係る他の画像処理方法は、上記課題を解決するために、複数の色成分よりなる画像データに対して下色除去処理を行う画像処理方法において、上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出し、複数の第1下色除去量を上記第1パラメータに対応づけて格納している下色除去量格納部から、上記第1パラメータに基づく複数の第1下色除去量を読み出し、上記第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求めることを特徴としている。   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 problem, based on the pixel value of the image data. The first parameter and the second parameter are calculated, and a plurality of first undercolor removal amount storage units that store a plurality of first undercolor removal amounts in association with the first parameter are used to output a plurality of first parameters based on the first parameter. 1 under color removal amount is read and interpolation calculation using the first under color removal amount and the second parameter, or interpolation using the first under color removal amount and the first parameter and the second parameter The second undercolor removal amount is obtained by calculation.

本発明に係る他の画像処理方法は、上記課題を解決するために、複数の色成分よりなる画像データに対して下色除去処理を行う画像処理方法において、入力画像中の各画素あるいは画素群を少なくとも文字領域、網点領域、写真領域の何れかに分離し、上記画像データの画素値に基づいて、複数のパラメータを算出し、上記領域分離結果に応じて、算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択し、複数の第1下色除去量を上記第1パラメータに対応づけて格納している下色除去量格納部から、上記第1パラメータに基づく複数の第1下色除去量を読み出し、上記第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求めることを特徴としている。   According to another image processing method of the present invention, in order to solve the above problem, each image or pixel group in an input image is an image processing method for performing undercolor removal processing on image data composed of a plurality of color components. Are divided into at least one of a character area, a halftone dot area, and a photograph area, and a plurality of parameters are calculated based on the pixel values of the image data, and a plurality of calculated parameters are calculated according to the area separation result. A first parameter and a second parameter are selected from among the plurality, and a plurality of first undercolor removal amounts are stored in association with the first parameter. The first under color removal amount is read, and an interpolation operation using the first under color removal amount and the second parameter, or the first under color removal amount and the first parameter and the second parameter are used. By the interpolation calculation, it is characterized by obtaining the second under color removal amount.

本発明に係る画像処理プログラムは、上記課題を解決するために、コンピュータを、上記画像処理装置を構成する各機能部として作用させることを特徴としている。   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.

本発明に係る画像処理装置及び画像処理方法は、一つのパラメータに対応して出力値(第1色データ)を格納すればよく、2つ以上のパラメータの組に対して出力値を格納する従来構成に比べ、大幅なメモリサイズの増加なしに理想的な二次色生成処理や三次色生成処理を行うことができ、画質を向上させることができる。   The image processing apparatus and the image processing method according to the present invention need only store output values (first color data) corresponding to one parameter, and store output values for a set of two or more parameters. Compared to the configuration, ideal secondary color generation processing and tertiary color generation processing can be performed without a significant increase in memory size, and image quality can be improved.

本発明の一実施形態について図1ないし図12に基づいて説明すると以下の通りである。   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信号より、入力画像中の各画素を少なくとも文字領域、網点領域、写真領域の何れかに分離する。領域分離の機能としては、これらに限定されるものではなく、入力画像中の各画素を文字領域と網点領域に、文字領域と写真領域に分離するものであっても構わない。また、文字領域、網点領域、写真領域の他に下地領域やにじみ領域に分離するようにしても良い。また、各画素ごとに領域分離を行うのではなく、複数の画素よりなる矩形領域や任意形状の領域(画素群)ごとに領域分離を行ってもよい。   The region separation processing unit 24 separates each pixel in the input image into at least one of a character region, a halftone dot region, and a photographic region from the RGB signals sent from the input tone correction unit 23. The area separation function is not limited to these, and each pixel in the input image may be separated into a character area and a halftone dot area, and a character area and a photograph area. Further, in addition to the character area, the halftone dot area, and the photograph area, it may be separated into a base area and a blur area. In addition, instead of performing region separation for each pixel, region separation may be performed for each rectangular region or a region (pixel group) having a plurality of pixels.

領域分離処理部24は、その分離結果に基づき、各画素がどの領域に属しているかを示す領域分離信号を、黒生成下色除去部26、空間フィルタ処理部27、及び階調再現処理部29へと出力すると共に、入力階調補正部23より出力された入力信号をそのまま後段の色補正部25に出力する。   Based on the result of the separation, the region separation processing unit 24 outputs a region separation signal indicating to which region each pixel belongs to 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信号から黒生成処理で得たK信号を差し引いて新たなCMY信号を生成する下色除去処理を行う。黒生成下色除去部26において、CMYの3色信号はCMYKの4色信号に変換される。   The black generation and under color removal unit 26 obtains black generation processing for generating a black (K) signal from the color-corrected CMY three-color signals output from the color correction unit 25 and black generation processing from the original CMY signal. Under color removal processing is performed to generate a new CMY signal by subtracting the K signal. 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信号の画像データに対して、領域分離信号を基にデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正することによって出力画像のぼやけや粒状性劣化を防ぐように処理を行う。階調再現処理部29も、空間フィルタ処理部27と同様に、CMYK信号の画像データに対して、領域分離信号を基に所定の処理を施すものである。   The spatial filter processing unit 27 performs a spatial filter process using a digital filter on the image data of the CMYK signal input from the black generation and under color removal unit 26 based on the region separation signal, thereby correcting the spatial frequency characteristics. Processing is performed to prevent blurring of the output image and deterioration of graininess. Similar to the spatial filter processing unit 27, the tone reproduction processing unit 29 also performs predetermined processing on the image data of the CMYK signal based on the region separation signal.

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

また、領域分離処理部24にて網点に分離された領域に関しては、空間フィルタ処理部27において、入力網点成分を除去するためのローパス・フィルタ処理が施される。そして、出力階調補正部28で、濃度信号などの信号をカラー画像出力装置の特性値である網点面積率に変換する出力階調補正処理を行った後、階調再現処理部29で、最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理(中間調生成)が施される。領域分離処理部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. The output tone correction unit 28 performs an output tone correction process for converting a signal such as a density signal into a halftone dot area ratio that is a characteristic value of the color image output device. Gradation reproduction processing (halftone generation) is performed so that the image is finally separated into pixels and each gradation is reproduced. 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).

本発明に係る画像処理装置は、グレーの再現性と暗くて鮮やかな色の再現性とを両立できる色補正を実現すると共に、このような色補正処理で用いるLUTにおいて必要とするメモリ容量を低減することを目的としている。この目的を達成するために、本実施の形態に係るカラー画像処理装置20は、特に黒生成下色除去部26での処理に特徴を有するものである。これより、黒生成下色除去部26の構成および処理について詳細に説明する。   The image processing apparatus according to the present invention realizes color correction capable of achieving both gray reproducibility and dark and vivid color reproducibility, and reduces the memory capacity required in the LUT used in such color correction processing. The purpose is to do. 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を参照して説明する。   First, a black generation processing method used in the black generation and under color removal unit 26 will be described with reference to FIG.

図3は、各画素におけるCMY成分の最小値MIN、最大値MAX、および最小値MINと最大値MAXとの組み合わせに対する最適な黒生成量の関係を3次元上のグラフで表したものである。ここで、背景技術の欄においても記載したように、暗くて鮮やかな色の再現と黒文字などのグレーの再現とにおいて、適した黒生成量はそれぞれ異なるため、上記グラフは曲面形状を示す。また、特許文献1に記載の技術では、上記曲面を2次元のLUTにて表し、該LUTを用いて最適な黒生成量を求めようとするものであったため、LUTを格納するためのメモリ量が増大するという問題があった。   FIG. 3 is a three-dimensional graph showing the relationship of the optimum black generation amount for the minimum value MIN, the maximum value MAX, and the combination of the minimum value MIN and the maximum value MAX of the CMY components in each pixel. Here, as described in the background art section, since the suitable black generation amount differs between reproduction of dark and vivid colors and reproduction of gray such as black characters, the above graph shows a curved surface shape. In the technique described in Patent Document 1, since the curved surface is represented by a two-dimensional LUT and an optimum black generation amount is obtained using the LUT, the amount of memory for storing the LUT There was a problem that increased.

これに対して、本発明に係る黒生成処理方法では、図3に示される上記曲面の2つのエッジ曲線(図中、太線にて示す)のそれぞれを、1次元のLUTであるLUT1およびLUT2にて表す。そして、各画素の画素値より算出される第1パラメータ(例えば、CMY成分の最小値MIN)により、LUT1およびLUT2から該第1パラメータに対応する点を求める。上記エッジ曲線上で第1パラメータに対応する点は、LUT1およびLUT2のそれぞれから1点ずつ求められるので、結局、第1パラメータからはこれら2点を結んだ直線が求められることとなる。   In contrast, in the black generation processing method according to the present invention, each of the two edge curves (shown by bold lines in the figure) of the curved surface shown in FIG. 3 is assigned to LUT1 and LUT2 which are one-dimensional LUTs. Represent. Then, a point corresponding to the first parameter is obtained from LUT1 and LUT2 by using a first parameter (for example, the minimum value MIN of CMY components) calculated from the pixel value of each pixel. Since one point on the edge curve corresponding to the first parameter is obtained from each of LUT1 and LUT2, a straight line connecting these two points is finally obtained from the first parameter.

上記直線が求まると、各画素の画素値より算出される第2パラメータ(例えば、CMY成分の最大値MAX)を用いて補間演算を行い、該直線上の1点を求める。そして、この補間演算によって求まった点に対応する黒生成量を、画素値に応じた最適な黒生成量とする。尚、上記補間演算には、第1パラメータおよび第2パラメータの両方を用いても良い。   When the straight line is obtained, an interpolation operation is performed using a second parameter (for example, the maximum value CMY component MAX) calculated from the pixel value of each pixel, and one point on the straight line is obtained. Then, the black generation amount corresponding to the point obtained by the interpolation calculation is set as the optimum black generation amount according to the pixel value. In the interpolation calculation, both the first parameter and the second parameter may be used.

上述した本発明の黒生成処理方法では、必要とするLUTは、2つの1次元のLUTである。このため、2次元のLUTを必要とする従来構成(特許文献1の構成)に比べ、LUTを格納するためのメモリ量を大幅に低減することが可能となる。また、各画素の画素値より算出される2つのパラメータと、およびこれらのパラメータに対する最適な黒生成量とを曲面的な関係にて表しても、上記黒生成量を適切に決定することができるので、従来技術とほぼ同等の画質を得ることができる。   In the black generation processing method of the present invention described above, the required LUT is two one-dimensional LUTs. For this reason, it is possible to significantly reduce the amount of memory for storing the LUT, compared to a conventional configuration that requires a two-dimensional LUT (configuration of Patent Document 1). Further, even if the two parameters calculated from the pixel value of each pixel and the optimum black generation amount for these parameters are expressed in a curved relationship, the black generation amount can be determined appropriately. Therefore, it is possible to obtain almost the same image quality as that of the prior art.

次に、黒生成下色除去部26の構成を、図1を参照して以下に説明する。黒生成下色除去部26は、図1に示すように、概略的に最大値・最小値算出部261、黒生成部262、下色除去部263から構成されている。黒生成部262は、黒生成用1D(1次元)LUT2621、黒生成演算部2622を備えている。下色除去部263は、下色除去用1DLUT2631、下色除去演算部2632、下色除去処理部2633を備えている。   Next, the configuration of the black generation and under color removal unit 26 will be described below with reference to FIG. As shown in FIG. 1, the black generation / under color removal unit 26 is roughly composed of a maximum value / minimum value calculation unit 261, a black generation unit 262, and a lower color removal unit 263. The black generation unit 262 includes a black generation 1D (one-dimensional) LUT 2621 and a black generation calculation unit 2622. The lower color removal unit 263 includes a lower color removal 1DLUT 2631, a lower color removal calculation unit 2632, and a lower color removal processing unit 2633.

最大値・最小値算出部261は、各画素におけるCMY信号よりCMY成分の最小値MINおよび最大値MAXを求める。すなわち、MAX=max(C,M,Y)、MIN=min(C,M,Y)である。尚、図1の構成においては、最小値MINを第1パラメータ、最大値MAXを第2パラメータとして黒生成処理および下色除去処理を行う場合を例示している。   The maximum value / minimum value calculation unit 261 obtains the minimum value MIN and the maximum value MAX of the CMY component from the CMY signal in each pixel. That is, MAX = max (C, M, Y) and MIN = min (C, M, Y). In the configuration of FIG. 1, the case where the black generation process and the under color removal process are performed with the minimum value MIN as the first parameter and the maximum value MAX as the second parameter is illustrated.

黒生成部262において、黒生成用1DLUT2621には、第1パラメータである最小値MINが入力される。黒生成用1DLUT2621は、この最小値MINに対応する黒生成量(第1黒生成量)を2つの1次元LUT(LUT1,LUT2)に格納しており、最小値MINを参照してLUT1,LUT2のそれぞれから読み出される2つのテーブル値K,Kを、黒生成演算部2622へ出力する。黒生成用1DLUT2621よりテーブル値K,Kを読み出す制御は、CPUにより行われる。 In the black generation unit 262, the minimum value MIN that is the first parameter is input to the black generation 1DLUT 2621. The black generation 1DLUT 2621 stores the black generation amount (first black generation amount) corresponding to the minimum value MIN in two one-dimensional LUTs (LUT1, LUT2), and refers to the minimum value MIN so that the LUT1, LUT2 The two table values K 1 and K 2 read from each of these are output to the black generation calculation unit 2622. The CPU reads out the table values K 1 and K 2 from the black generation 1DLUT2621.

黒生成演算部2622には、黒生成用1DLUT2621から読み出された2つのテーブル値K,Kの他に、第1パラメータである最小値MINおよび第2パラメータである最大値MAXが入力される。黒生成演算部2622は、テーブル値K,Kを両端として最小値MINおよび最大値MAXを用いた補間演算を、下記の(1)式(内分式)を用いて行い、(MIN、MAX)の組に対して決定される最適な黒生成量(第2黒生成量)Kを求める。 In addition to the two table values K 1 and K 2 read from the black generation 1DLUT 2621, the black generation calculation unit 2622 receives the minimum value MIN as the first parameter and the maximum value MAX as the second parameter. The The black generation calculation unit 2622 performs an interpolation calculation using the minimum value MIN and the maximum value MAX with the table values K 1 and K 2 as both ends, using the following expression (1) (internal division expression), and (MIN, The optimum black generation amount (second black generation amount) K determined for the set of (MAX) is obtained.

Figure 0004118823
Figure 0004118823

尚、黒生成演算部2622における演算式は特に限定されるものではなく、上記(1)式のような線形補間を行うのではなく、予め変化の様子を式に設定しておき、K,Kを通る曲線上での補間演算を行っても良い。 The arithmetic expression in the black generation arithmetic unit 2622 is not particularly limited. Instead of performing linear interpolation as in the above expression (1), the state of change is set in the expression in advance, and K 1 , K 2 may be carried out interpolation operation on the curve passing through.

さらに、上記黒生成用1DLUT2621での処理を、図4および図5(a)〜図5(c)を用いてさらに詳細に説明すると以下のとおりである。   Further, the processing in the black generation 1DLUT2621 will be described in more detail with reference to FIGS. 4 and 5A to 5C as follows.

図4においては、横軸を最小値MIN、縦軸を最大値MAXとした2次元のグラフを表しており、最適な黒生成量は(MIN、MAX)の組に対して一つの値が設定される。また、図4において、LUT1で表されるラインはMAX=255のラインであり、LUT2で表されるラインはMAX=MINのラインである。最大値MAX≧最小値MINであるので、最適な黒生成量を示す点は、縦軸、LUT1、LUT2で囲まれる三角形の領域に存在する。   FIG. 4 shows a two-dimensional graph in which the horizontal axis is the minimum value MIN and the vertical axis is the maximum value MAX, and an optimal black generation amount is set to one value for the set (MIN, MAX). Is done. In FIG. 4, the line represented by LUT1 is a line with MAX = 255, and the line represented by LUT2 is a line with MAX = MIN. Since the maximum value MAX ≧ minimum value MIN, the point indicating the optimum black generation amount exists in a triangular area surrounded by the vertical axis, LUT1, and LUT2.

また、図5(a),図5(b)は、それぞれLUT1およびLUT2で表されるラインを示すグラフであり、横軸を最小値MIN、縦軸を黒生成量とした2次元のグラフを表している。上記2つのグラフから最小値MINに対応する黒生成量(第1黒生成量)を読み取ることでK,Kの値が得られる。 FIGS. 5A and 5B are graphs showing lines represented by LUT1 and LUT2, respectively. A two-dimensional graph in which the horizontal axis is the minimum value MIN and the vertical axis is the black generation amount. Represents. The values of K 1 and K 2 are obtained by reading the black generation amount (first black generation amount) corresponding to the minimum value MIN from the two graphs.

上記K,Kの値が得られると、図5(c)に示すように、K,Kを両端とする線分を(255−MAX):(MAX−MIN)に内分する点に対応する黒生成量を補間演算によって求めることで最適な黒生成量(第2黒生成量)Kが求められる。 When the values of K 1 and K 2 are obtained, a line segment having K 1 and K 2 at both ends is internally divided into (255−MAX) :( MAX−MIN) as shown in FIG. An optimum black generation amount (second black generation amount) K is obtained by obtaining the black generation amount corresponding to the point by interpolation calculation.

下色除去部263において、下色除去用1DLUT2631には、第1パラメータである最小値MINが入力される。下色除去用1DLUT2631は、この最小値MINに対応する下色除去量(第1下色除去量)を2つの1次元LUTに格納しており、最小値MINを参照してこれらのLUTから読み出される2つのテーブル値U,Uを、下色除去演算部2632へ出力する。下色除去用1DLUT2631よりテーブル値U,Uを読み出す制御は、CPUにより行われる。 In the under color removal unit 263, the minimum value MIN that is the first parameter is input to the under color removal 1DLUT 2631. The lower color removal 1DLUT 2631 stores the lower color removal amount (first lower color removal amount) corresponding to the minimum value MIN in two one-dimensional LUTs, and is read from these LUTs with reference to the minimum value MIN. The two table values U 1 and U 2 are output to the under color removal calculating unit 2632. The CPU reads out the table values U 1 and U 2 from the undercolor removal 1DLUT 2631.

下色除去演算部2632には、下色除去用1DLUT2631から読み出された2つのテーブル値U,Uの他に、第1パラメータである最小値MINおよび第2パラメータである最大値MAXが入力される。下色除去演算部2632は、テーブル値U,Uを両端として最小値MINおよび最大値MAXを用いた補間演算を、下記の(2)式(内分式)を用いて行い、(MIN、MAX)の組に対して決定される最適な下色除去量(第2下色除去量)UCRを求める。 In addition to the two table values U 1 and U 2 read from the under color removal 1DLUT 2631, the under color removal calculating unit 2632 has a minimum value MIN as a first parameter and a maximum value MAX as a second parameter. Entered. The under color removal calculating unit 2632 performs interpolation calculation using the minimum value MIN and the maximum value MAX with the table values U 1 and U 2 as both ends, using the following expression (2) (internal division expression): , MAX), an optimum under color removal amount (second under color removal amount) UCR determined for the set is obtained.

Figure 0004118823
Figure 0004118823

尚、下色除去用1DLUT2631および下色除去演算部2632での処理は、基本的に、黒生成用1DLUT2621および黒生成演算部2622での処理と同じものとすることができる。   The processing in the lower color removal 1DLUT 2631 and the lower color removal operation unit 2632 can be basically the same as the processing in the black generation 1DLUT 2621 and the black generation operation unit 2622.

下色除去演算部2632で求められた下色除去量UCRは、下色除去処理部2633に入力され、下色除去処理部2633では下記の(3)式によって下色除去処理が行われる。こうして求められるC’,M’,Y’が出力画像データとなる。   The under color removal amount UCR obtained by the under color removal calculating unit 2632 is input to the under color removal processing unit 2633, and the under color removal processing unit 2633 performs under color removal processing according to the following equation (3). C ′, M ′, and Y ′ thus obtained are output image data.

Figure 0004118823
Figure 0004118823

尚、上記下色除去部263において、下色除去演算部2632と下色除去処理部2633とは一つの手段として構成しても良い。   In the lower color removal unit 263, the lower color removal calculation unit 2632 and the lower color removal processing unit 2633 may be configured as one unit.

上記黒生成下色除去部26の処理手順を示すフローチャートは図6に示すようなものとなる。   A flowchart showing the processing procedure of the black generation and under color removal unit 26 is as shown in FIG.

先ず、黒生成下色除去部26に入力されるCMY信号は、最大値・最小値算出部261においてmax(C,M,Y),min(C,M,Y)が算出される(S1)。算出されたmax(C,M,Y),min(C,M,Y)は、2つのパラメータ最大値MAX,最小値MINとして黒生成部262および下色除去部263に入力されて、黒生成部262における黒生成処理(S2,S3)、下色除去部263における下色除去処理(S4〜S6)が並行して行われる。   First, for the CMY signal input to the black generation and under color removal unit 26, the maximum value / minimum value calculation unit 261 calculates max (C, M, Y), min (C, M, Y) (S1). . The calculated max (C, M, Y) and min (C, M, Y) are input to the black generation unit 262 and the under color removal unit 263 as the two parameter maximum values MAX and the minimum value MIN to generate black. The black generation process (S2, S3) in the unit 262 and the lower color removal process (S4 to S6) in the lower color removal unit 263 are performed in parallel.

黒生成部262における黒生成処理では、第1パラメータである最小値MINを用いて、2つの黒生成用1DLUTから第1黒生成量K,Kを読み出す(S2)。そして、第1黒生成量K,Kと、第1および第2パラメータ最大値MAX,最小値MINとを用いた補間演算により第2黒生成量Kを算出する(S3)。 In the black generation processing in the black generation unit 262, the first black generation amounts K 1 and K 2 are read from the two black generation 1DLUTs using the minimum value MIN that is the first parameter (S2). Then, the second black generation amount K is calculated by interpolation using the first black generation amounts K 1 and K 2 and the first and second parameter maximum values MAX and minimum values MIN (S3).

下色除去部263における下色除去処理では、第1パラメータである最小値MINを用いて、2つの下色除去用1DLUTから第1下色除去量U,Uを読み出す(S4)。そして、第1下色除去量U,Uと、第1および第2パラメータ最大値MAX,最小値MINとを用いた補間演算により第2下色除去量UCRを算出する(S5)。さらに、第2下色除去量UCRから下色除去処理により(C’,M’,Y’)を算出する(S7)。 In the under color removal process in the under color removal unit 263, the first under color removal amounts U 1 and U 2 are read from the two under color removal 1DLUTs using the minimum value MIN that is the first parameter (S4). Then, the second under color removal amount UCR is calculated by interpolation using the first under color removal amounts U 1 and U 2 , the first and second parameter maximum values MAX, and the minimum value MIN (S5). Further, (C ′, M ′, Y ′) is calculated from the second under color removal amount UCR by under color removal processing (S7).

黒生成部262における黒生成処理、下色除去部263における下色除去処理が終了すると、その結果を合成して(C’,M’,Y’,K’)を出力する(S8)。尚、上記K’の値は、第2黒生成量Kの値と同じである。   When the black generation processing in the black generation unit 262 and the lower color removal processing in the lower color removal unit 263 are completed, the results are combined and (C ', M', Y ', K') are output (S8). The value of K ′ is the same as the value of the second black generation amount K.

上記図1における構成では、第2黒生成量および第2下色除去量を求めるための補間演算に、第1パラメータである最小値MINと第2パラメータである最大値MAXとの両方を用いる場合を例示した。しかしながら、上記補間演算において第2パラメータのみを使用するような構成も可能である。そのような構成の黒生成下色除去部について図7ないし図9を参照して説明する。   In the configuration in FIG. 1 above, both the minimum value MIN that is the first parameter and the maximum value MAX that is the second parameter are used for the interpolation calculation for obtaining the second black generation amount and the second undercolor removal amount. Was illustrated. However, a configuration in which only the second parameter is used in the interpolation calculation is also possible. The black generation and under color removal unit having such a configuration will be described with reference to FIGS.

図7に示す黒生成下色除去部は、最大値・最小値算出部261、黒生成部264、下色除去部265から構成されている。黒生成部264は、黒生成用1DLUT2641、黒生成演算部2642を備えている。下色除去部265は、下色除去用1DLUT2651、下色除去演算部2652、下色除去処理部2653を備えている。図7における最大値・最小値算出部261の構成および作用は、図1における最大値・最小値算出部261と同じであるので、その詳細な説明は省略する。   The black generation / under color removal unit shown in FIG. 7 includes a maximum value / minimum value calculation unit 261, a black generation unit 264, and an under color removal unit 265. The black generation unit 264 includes a black generation 1DLUT 2641 and a black generation calculation unit 2642. The lower color removal unit 265 includes a lower color removal 1DLUT 2651, a lower color removal calculation unit 2652, and a lower color removal processing unit 2653. The configuration and operation of the maximum value / minimum value calculation unit 261 in FIG. 7 are the same as those of the maximum value / minimum value calculation unit 261 in FIG.

黒生成用1DLUT2641には、第1パラメータである最小値MINが入力される。黒生成用1DLUT2641は、この最小値MINに対応する黒生成量(第1黒生成量)を2つの1次元LUT(LUT3,LUT4)に格納しており、最小値MINを参照してLUT3,LUT4のそれぞれから読み出される2つのテーブル値K,Kを、黒生成演算部2642へ出力する。 The black generation 1DLUT 2641 receives the minimum value MIN as the first parameter. The black generation 1DLUT 2641 stores the black generation amount (first black generation amount) corresponding to the minimum value MIN in two one-dimensional LUTs (LUT3, LUT4), and refers to the minimum value MIN to indicate the LUT3, LUT4. The two table values K 3 and K 4 read from each of these are output to the black generation calculation unit 2642.

ここで、上記LUT3,LUT4を、図4と同様の横軸を最小値MIN、縦軸を最大値MAXとした2次元のグラフ上で表すと図8に示すようなものとなる。図8において、LUT3で表されるラインはMAX=0のラインであり、LUT4で表されるラインはMAX=255のラインである。この場合、黒生成演算部2642での補間演算は、LUT3、LUT4で囲まれる格子領域内で行われる。   Here, when the LUT3 and LUT4 are represented on a two-dimensional graph similar to FIG. 4 with the horizontal axis representing the minimum value MIN and the vertical axis representing the maximum value MAX, the result is as shown in FIG. In FIG. 8, the line represented by LUT3 is a line with MAX = 0, and the line represented by LUT4 is a line with MAX = 255. In this case, the interpolation calculation in the black generation calculation unit 2642 is performed in a lattice area surrounded by the LUT3 and LUT4.

また、図9(a),図9(b)は、それぞれLUT3およびLUT4で表されるラインを示すグラフであり、横軸を最小値MIN、縦軸を黒生成量とした2次元のグラフを表している。上記2つのグラフから最小値MINに対応する黒生成量(第1黒生成量)を読み取ることでK,Kの値が得られる。 9A and 9B are graphs showing lines represented by LUT3 and LUT4, respectively. A two-dimensional graph in which the horizontal axis is the minimum value MIN and the vertical axis is the black generation amount is shown. Represents. By reading the black generation amount (first black generation amount) corresponding to the minimum value MIN from the two graphs, the values of K 3 and K 4 are obtained.

黒生成演算部2642には、黒生成用1DLUT2641から読み出された2つのテーブル値K,Kの他に、第2パラメータである最大値MAXが入力される。黒生成演算部2642は、テーブル値K,Kを両端として最大値MAXを用いた補間演算を、下記の(4)式(内分式)を用いて行い、(MIN、MAX)の組に対して決定される最適な黒生成量(第2黒生成量)Kを求める。 In addition to the two table values K 3 and K 4 read from the black generation 1DLUT 2641, the black generation calculation unit 2642 receives the maximum value MAX as the second parameter. The black generation calculation unit 2642 performs interpolation calculation using the maximum value MAX with the table values K 3 and K 4 as both ends, using the following formula (4) (internal division), and sets (MIN, MAX) The optimum black generation amount (second black generation amount) K determined for the above is obtained.

Figure 0004118823
Figure 0004118823

すなわち、黒生成演算部2642の補間演算では、図9(c)に示すように、K,Kを両端とする線分を(MAX):(255−MAX)に内分することで最適な黒生成量(第2黒生成量)Kが求められる。 That is, in the interpolation calculation of the black generation calculation unit 2642, as shown in FIG. 9C, the line segment having both ends of K 3 and K 4 is internally divided into (MAX) :( 255−MAX). A black generation amount (second black generation amount) K is obtained.

ここで例えば、MIN=102,MAX=153,K1=120,K2=150とすると、図1の黒生成下色除去部26で用いられている演算方法では、
K=((153−102)×120+(255−153)×150)
/(255−102)=140
となる。
Here, for example, assuming that MIN = 102, MAX = 153, K1 = 120, K2 = 150, the calculation method used in the black generation and under color removal unit 26 in FIG.
K = (( 153-102 ) × 120 + ( 255-153 ) × 150)
/ (255-102) = 140
It becomes.

これに対し、図7の黒生成下色除去部で用いられている演算方法では、K1の代わりにK3=170、K2の代わりにK4=120を予め格納しておくと、
K=((255−153)×170+153×120)/255=140
となり、MIN=MAX=102のときは、
K=((255−102)×170+102×120)/255=150K2
となり、補間演算に第1パラメータを使用することなく、図1の黒生成下色除去部26で用いられている演算方法と結果を一致させることができる。
On the other hand, in the calculation method used in the black generation and under color removal unit in FIG. 7, if K3 = 170 instead of K1 and K4 = 120 instead of K2 are stored in advance,
K = ((255-153) × 170 + 153 × 120 ) / 255 = 140
When MIN = MAX = 102,
K = ((255-102) × 170 + 102 × 120 ) / 255 = 150 = K2
Thus, the calculation method used in the black generation and under color removal unit 26 in FIG. 1 can be matched with the result without using the first parameter for the interpolation calculation.

尚、図7における黒生成下色除去部での演算のように、第1パラメータである最小値MINでテーブル参照を行い、第2パラメータである最大値MAXで補間演算を行う場合、MAX≧MINであることから、図8において実際の補間演算は図4と同様の三角形領域でしか行われない。このため、上記LUT3,LUT4は、この三角形領域でのみ最適な黒生成量Kが得られるようなテーブル値が格納されていればよい。   When the table is referred to with the minimum value MIN that is the first parameter and the interpolation calculation is performed with the maximum value MAX that is the second parameter, as in the calculation in the black generation and under color removal unit in FIG. 7, MAX ≧ MIN. Therefore, in FIG. 8, the actual interpolation calculation is performed only in the same triangular area as in FIG. For this reason, the LUT3 and LUT4 need only store table values such that the optimum black generation amount K can be obtained only in this triangular area.

また、上記説明においては、第1パラメータを最小値MIN、第2パラメータを最大値MAXとしているが、本発明において第1パラメータおよび第2パラメータの種類は特に限定されるものではない。例えば、第1パラメータを最大値MAX、第2パラメータを最小値MINとし、テーブルの参照を最大値MAXで行い、補間演算を最小値MINで行うことも可能である。   In the above description, the first parameter is the minimum value MIN and the second parameter is the maximum value MAX. However, in the present invention, the types of the first parameter and the second parameter are not particularly limited. For example, the first parameter may be the maximum value MAX, the second parameter may be the minimum value MIN, the table is referred to by the maximum value MAX, and the interpolation calculation may be performed with the minimum value MIN.

例として、文字領域に対してこの方法を用いる場合について図10を参照して以下に説明する。   As an example, the case of using this method for a character area will be described below with reference to FIG.

図10に文字用の黒生成において使用されるLUTの設定例を示す。このとき各軸上での変化の様子はグラフ101〜103のようになる。ここで、ある画素の画素値においてMAXが高くてMINが低い場合は彩度の高い入力信号であるため、このような画素について、写真など通常の領域では黒生成は行われない。しかしながら、領域分離処理で「黒文字」と判定されたにも関わらず、MINが小さくMAXが大きい画素値を持つ画素が検出された場合、該画素はCCDの画素ずれにより発生した「にじみ」であると判断される(図10のにじみ領域)。このようなにじみ領域に属する画素は、本来はMINもMAXも高い入力値を示すはずなので、黒文字領域用のLUTでは、このにじみ領域での黒生成量は高く設定する必要がある。このため、図10におけるMAX軸の形状を示すグラフ103では、MAXの値が高い場合の黒生成量をより高くする形状となっている。   FIG. 10 shows an example of setting the LUT used in generating black for characters. At this time, the state of the change on each axis is as shown in graphs 101 to 103. Here, when MAX is high and MIN is low at a pixel value of a certain pixel, it is an input signal with high saturation, so that such a pixel is not generated in a normal region such as a photograph. However, when a pixel having a pixel value with a small MIN and a large MAX is detected in spite of being determined as “black character” in the region separation process, the pixel is “smear” caused by a pixel shift of the CCD. (The blur area in FIG. 10). Since the pixels belonging to such a blur area should originally exhibit high input values for both MIN and MAX, the black generation amount in this blur area needs to be set high in the LUT for the black character area. Therefore, the graph 103 showing the shape of the MAX axis in FIG. 10 has a shape that increases the black generation amount when the value of MAX is high.

上記図10のグラフで表される性質のLUTを用いる場合において、前述の説明と同様に、第1パラメータに最小値MIN、第2パラメータに最大値MAXを使用すると、グラフ101とグラフ102との間で補間演算が行われる。この時、MAX軸上での誤差はグラフ103の斜線部で表され、補間演算による誤差が非常に大きくなっている。   When the LUT having the property represented by the graph of FIG. 10 is used, if the minimum value MIN is used as the first parameter and the maximum value MAX is used as the second parameter, the graph 101 and the graph 102 are Interpolation calculation is performed between them. At this time, the error on the MAX axis is represented by the hatched portion of the graph 103, and the error due to the interpolation calculation is very large.

一方、第1パラメータに最大値MAX、第2パラメータに最小値MINを使用した場合では、グラフ101とグラフ103との間で補間演算が行われることとなる。このとき、MAX=255の軸上での誤差は、グラフ102の斜線部で表され、補間誤差は小さくなっている。また、このときの補間演算で用いられる計算式は、以下の(5)式に示すものとなる。   On the other hand, when the maximum value MAX is used for the first parameter and the minimum value MIN is used for the second parameter, an interpolation operation is performed between the graph 101 and the graph 103. At this time, the error on the axis of MAX = 255 is represented by the hatched portion of the graph 102, and the interpolation error is small. The calculation formula used in the interpolation calculation at this time is as shown in the following formula (5).

Figure 0004118823
Figure 0004118823

上記(5)式による補間演算の概念を図17を用いて説明すると以下のとおりである。図17は、横軸を最小値MIN、縦軸を最大値MAXとした2次元のグラフを表しており、最適な黒生成量は(MIN、MAX)の組に対して一つの値が設定される。また、図17において、LUT1で表されるラインはMIN=0のラインであり、LUT2で表されるラインはMAX=MINのラインである。最大値MAX≧最小値MINであるので、最適な黒生成量を示す点は、MAX=255、LUT1、LUT2で囲まれる三角形の領域に存在する。   The concept of the interpolation calculation based on the above equation (5) will be described with reference to FIG. FIG. 17 shows a two-dimensional graph in which the horizontal axis is the minimum value MIN and the vertical axis is the maximum value MAX, and the optimum black generation amount is set to one value for the group (MIN, MAX). The In FIG. 17, the line represented by LUT1 is a line with MIN = 0, and the line represented by LUT2 is a line with MAX = MIN. Since the maximum value MAX ≧ minimum value MIN, the point indicating the optimum black generation amount exists in a triangular region surrounded by MAX = 255, LUT1, LUT2.

このように、最小値MIN,最大値MAX,および黒生成量の関係が図10のグラフのような関係となる時は、第1パラメータに最大値MAX、第2パラメータに最小値MINを用いることが適している。すなわち、LUTにおける最小値MIN,最大値MAX,および黒生成量の関係によっては、第1パラメータおよび第2パラメータの種類を適切に選択することで補間演算における誤差を低減することができる。   Thus, when the relationship between the minimum value MIN, the maximum value MAX, and the black generation amount is as shown in the graph of FIG. 10, the maximum value MAX is used as the first parameter and the minimum value MIN is used as the second parameter. Is suitable. That is, depending on the relationship between the minimum value MIN, the maximum value MAX, and the black generation amount in the LUT, it is possible to reduce errors in the interpolation calculation by appropriately selecting the types of the first parameter and the second parameter.

また、第1パラメータまたは第2パラメータとして使用可能な条件も特に限定されるものではなく、最小値MIN,最大値MAX以外にも、C,M,Yの各成分値や中央値MID(=mid(C,M,Y))等も、パラメータとして使用しても良い。   Further, the conditions that can be used as the first parameter or the second parameter are not particularly limited. In addition to the minimum value MIN and the maximum value MAX, the C, M, and Y component values and the median value MID (= mid (C, M, Y)) may also be used as parameters.

上述のように、第1パラメータに最大値MAX、第2パラメータに最小値MINを用いることが、黒文字領域部でのみ効果のあるような場合、より広い概念で言えば、領域の種類毎に適しているパラメータの種類が異なるような場合、領域分離処理の結果等に応じてパラメータの種類を切り替えることが好適となる。図11は、本発明に係る黒生成下色除去部の変形例として、黒生成および下色除去処理に用いるパラメータを領域分離信号で切り替える構成としたものである。   As described above, when using the maximum value MAX for the first parameter and the minimum value MIN for the second parameter is effective only in the black character area portion, in terms of a broader concept, it is suitable for each type of area. When the types of parameters are different, it is preferable to switch the parameter types according to the result of the region separation process. FIG. 11 shows a modified example of the black generation and under color removal unit according to the present invention, in which parameters used for black generation and under color removal processing are switched using a region separation signal.

図11に示す黒生成下色除去部は、パラメータ算出部266、セレクタ267、黒生成部268、下色除去部269から構成されている。黒生成部268は、黒生成用1DLUT2681、黒生成演算部2682を備えている。下色除去部269は、下色除去用1DLUT2691、下色除去演算部2692、下色除去処理部2693を備えている。   The black generation and under color removal unit illustrated in FIG. 11 includes a parameter calculation unit 266, a selector 267, a black generation unit 268, and a lower color removal unit 269. The black generation unit 268 includes a black generation 1DLUT 2681 and a black generation calculation unit 2682. The lower color removal unit 269 includes a lower color removal 1DLUT 2691, a lower color removal calculation unit 2692, and a lower color removal processing unit 2693.

パラメータ算出部266は、ここでは、最小値MIN,最大値MAX,中央値MIDの3つのパラメータを算出し、セレクタ267に入力している。セレクタ267は、領域分離信号の入力を受け、この領域分離信号に応じて、第1パラメータおよび第2パラメータとして上記3種類のパラメータの何れを出力するかの切り替えを行う。   Here, the parameter calculation unit 266 calculates three parameters of the minimum value MIN, the maximum value MAX, and the median value MID and inputs them to the selector 267. The selector 267 receives an input of the region separation signal, and switches which of the three types of parameters is output as the first parameter and the second parameter in accordance with the region separation signal.

セレクタ267での選択の結果、出力される第1パラメータおよび第2パラメータは、黒生成部268および下色除去部269に入力され、黒生成処理および下色除去処理に用いられる。黒生成部268における黒生成処理、および下色除去部269における下色除去処理の方法は、これまでに説明した方法と実質的に同じであると詳細な説明は省略する。   The first parameter and the second parameter output as a result of selection by the selector 267 are input to the black generation unit 268 and the lower color removal unit 269, and are used for the black generation process and the lower color removal process. The method of the black generation process in the black generation unit 268 and the method of the lower color removal process in the lower color removal unit 269 is substantially the same as the method described so far, and detailed description thereof is omitted.

但し、第1パラメータおよび第2パラメータが切り替えられると、これに伴って、黒生成演算部2682および下色除去部演算部2692での補間演算式も切り替える必要がある。このため、黒生成演算部2682および下色除去部演算部2692は、領域分離信号の入力を受け、この領域分離信号に応じて補間演算式の切り替えを行う。   However, when the first parameter and the second parameter are switched, the interpolation calculation formulas in the black generation calculation unit 2682 and the under color removal unit calculation unit 2692 need to be switched accordingly. For this reason, the black generation calculation unit 2682 and the under color removal unit calculation unit 2692 receive the input of the region separation signal and switch the interpolation calculation formula according to the region separation signal.

また、第1パラメータ・第2パラメータは変えずに、領域分離信号により黒生成用1DLUTおよび下色除去用1DLUTの種類を切り替えるようにしても良い。例えば、写真用黒生成LUTをLUT1・LUT2、黒文字用黒生成LUTをLUT5・LUT6とし、領域分離信号が「写真」である場合は、LUT1・LUT2から第1パラメータに対応する黒生成量K1・K2を読み出し、領域分離信号が「黒文字」である場合は、LUT5・LUT6から黒生成量K5・K6を読み出して黒生成量を求めるようにすれば良い。   Further, the types of the black generation 1DLUT and the undercolor removal 1DLUT may be switched by the region separation signal without changing the first parameter and the second parameter. For example, when the black generation LUT for photographs is LUT1 and LUT2, the black generation LUTs for black characters are LUT5 and LUT6, and the region separation signal is “photograph”, the black generation amount K1 · L corresponding to the first parameter from LUT1 and LUT2 When K2 is read and the region separation signal is “black character”, the black generation amounts K5 and K6 may be read from the LUT5 and LUT6 to obtain the black generation amount.

上記領域分離処理部24における領域分離方法としては、例えば「画像電子学会研究会予稿90−06−04」に記載されている方法を用いることができる。以下に詳細を説明する。注目画素を中心としたM×N(M、Nは自然数)画素のブロック内で以下のような判定を行い、それを注目画素の領域分離信号とする。   As a region separation method in the region separation processing unit 24, for example, a method described in “Image Electronics Society of Japan Proceedings 90-06-04” can be used. Details will be described below. The following determination is performed in a block of M × N (M and N are natural numbers) pixels centered on the pixel of interest, and is used as a region separation signal of the pixel of interest.

先ず、ブロック内の中央の9画素に対して信号レベルの平均値Daveを求め、その平均値を用いてブロック内の各画素を2値化する。また、最大画素信号レベルDmax、最小画素信号レベルDminも同時に求める。 First, an average value D ave 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への変化点数を求めて、それぞれK、Kとし、閾値T、Tと比較して両者が共に閾値を上回ったら網点領域とする。また、背景との誤判定を防ぐために、Dmax、Dmin、Daveを閾値

、Bと比較する。つまり、
max−Dave>B,Dave−Dmin>B,K>T,かつK>T
であれば網点領域とし、これ以外の条件であれば非網点領域とする。
Next, in the halftone dot region, the halftone dot region is identified using the fact that the fluctuation of the image signal in the small region is large and the density is higher than the background. With respect to the binarized data, the number of changing points from 0 to 1 in the main scanning and sub-scanning directions is obtained, and the number of changing points from 1 to 0 is obtained as K H and K V , respectively, and the thresholds T H and T V are obtained. If both of them exceed the threshold, the halftone dot region is set. In order to prevent erroneous determination with the background, D max , D min , and D ave are set as threshold values .

Compare with B 1 and B 2 . That means
D max −D ave > B 1 , D ave −D min > B 2 , K H > T h , and K V > T V
If so, a halftone dot region is set. If other conditions are set, a non-halftone dot region is set.

さらに、文字領域では、最大信号レベルと最小信号レベルの差が大きく、濃度も高いと考えられることから、文字領域の識別を以下のように行う。非網点領域において先に求めていた最大、最小信号レベルとそれらの差分Dsubを閾値P,P,Pと比較し、下記の何れかの条件を充たすならば文字領域、条件を充たさないならば写真領域とする。つまり、
max>P,Dmin<P,またはDsub>P
であれば文字領域とし、これ以外の条件であれば写真領域とする。
Further, since the difference between the maximum signal level and the minimum signal level is large and the density is considered high in the character area, the character area is identified as follows. Maximum in the non-halftone dot region has been obtained previously, the minimum signal level and their difference D sub threshold P A, P B, compared to the P C, a character area if satisfying one of the following conditions, the conditions If not filled, the photo area is used. That means
D max> P A, D min <P B or D sub> P C,
If this is the case, the character area is set. If the conditions are other than these, the photo area is set.

さらには、パラメータを領域分離信号で切り替える以外にも、原稿種別(自動判別・操作パネルからの入力)に応じてパラメータを切り替える構成なども考えられる。   Furthermore, in addition to switching the parameter with the region separation signal, a configuration in which the parameter is switched according to the document type (automatic discrimination / input from the operation panel) is also conceivable.

上記説明では、黒生成処理および下色除去処理のそれぞれにおいて、本発明を適用した例を示している。しかしながら、上記説明のように、黒生成処理と下色除去処理とをそれぞれ独立した処理として行う場合、黒生成処理および下色除去処理の一方でのみ本発明を適用し、他方では従来技術による方法を用いても良い。例えば、黒生成量は本発明の方式で算出し、下色除去量は最小値から参照する従来の方法(下記(6)式参照:尚、(6)式において、αは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 (refer to the following equation (6): Note that in equation (6), α 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 0004118823
Figure 0004118823

また、上記説明においては、黒生成処理および下色除去処理において本発明を適用する例を示したが、黒生成よりも広い概念の処理として、多色印刷(通常のCMYK色材に加えて、R(レッド)やB(ブルー)といった色材も使用)における二次色生成処理(C,M,Yの色成分からR,Bの二次色成分を生成する処理)にも本願発明を適用することができる。   In the above description, the example in which the present invention is applied to the black generation process and the under color removal process has been shown. However, as a process of a concept wider than the black generation, multicolor printing (in addition to normal CMYK color materials, The present invention is also applied to secondary color generation processing (processing for generating R, B secondary color components from C, M, Y color components) in R (red) and B (blue) color materials). can do.

例えば、二次色生成処理において、C,Mの色成分をC’,M’,Rの色成分に置き換える処理を行う場合、黒生成処理の時と同様に、C,M成分の一部をR成分に置き換える処理を行う。例えば、第1パラメータを最小値min(C,M)と第2パラメータを最大値max(C,M)とすることにより、黒生成時と同様の処理手順にてR成分の生成を行う事ができる。すなわち、第1パラメータに対応する2つのテーブル値R1・R2を読み出し、第2パラメータを用いて補間演算を行う事によりR’を求める。使用するLUTは図3と同様なテーブルを使用することができる。R成分の生成を考慮してC,Mの色成分をC’,M’の色成分に修正する処理については黒生成時の下色除去と同じような処理を行う。   For example, in the secondary color generation process, when performing the process of replacing the C and M color components with the C ′, M ′, and R color components, a part of the C and M components is replaced as in the black generation process. Processing to replace with the R component is performed. For example, by setting the first parameter to the minimum value min (C, M) and the second parameter to the maximum value max (C, M), the R component can be generated by the same processing procedure as that for black generation. it can. That is, two table values R1 and R2 corresponding to the first parameter are read, and R ′ is obtained by performing an interpolation operation using the second parameter. As the LUT to be used, a table similar to that in FIG. 3 can be used. In consideration of the generation of the R component, the processing for correcting the C and M color components to the C ′ and M ′ color components is performed in the same manner as the under color removal at the time of black generation.

さらに、本発明が適用されたカラー画像処理装置の変形例として、デジタルカラー複写機の構成を図13に示す。図13に示すデジタルカラー複写機は、カラー画像入力装置10、カラー画像処理装置50、カラー画像出力装置30および操作パネル40から構成されている。カラー画像入力装置10、カラー画像出力装置30および操作パネル40は、図2に示したデジタルカラー複写機と同様の構成とすることができ、ここではその詳細な説明を省略する。   Further, FIG. 13 shows a configuration of a digital color copying machine as a modification of the color image processing apparatus to which the present invention is applied. The digital color copying machine shown in FIG. 13 includes a color image input device 10, a color image processing device 50, a color image output device 30, and an operation panel 40. The color image input device 10, the color image output device 30 and the operation panel 40 can have the same configuration as that of the digital color copying machine shown in FIG. 2, and detailed description thereof will be omitted here.

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

上記カラー画像処理装置50は、入力画像全体に対する黒生成処理または下色除去処理を、入力画像の原稿種別に応じて、適切なパラメータを用いて行うことができる構成である。このため、上記カラー画像処理装置50は、図2に示したカラー画像処理装置20とは異なり、原稿種別判定部51を備えている。なお、原稿の種別としては、必ずしも文字原稿や写真原稿と判別する必要はなく、例えば、原稿全体の特性の「薄い原稿」「暗い原稿」といった特性に応じてパラメータを選択するようにしても良い。   The color image processing apparatus 50 is configured to be able to perform black generation processing or undercolor removal processing for the entire input image using appropriate parameters according to the document type of the input image. Therefore, unlike the color image processing apparatus 20 shown in FIG. 2, the color image processing apparatus 50 includes a document type determination unit 51. It should be noted that the type of document does not necessarily have to be identified as a text document or a photo document. For example, parameters may be selected according to characteristics such as “thin document” and “dark document” of the characteristics of the entire document. .

また、上記カラー画像処理装置50は、図2に示したカラー画像処理装置20における黒生成下色除去部26および空間フィルタ処理部27に代えて、黒生成下色除去部26’および空間フィルタ処理部27’を備えている。上記カラー画像処理装置50においては、図2に示したカラー画像処理装置20と同一の構成を有する処理部に関して図2と同一の部材番号を付し、その詳細な説明を省略する。   Further, the color image processing apparatus 50 replaces the black generation / undercolor removal section 26 and the spatial filter processing section 27 in the color image processing apparatus 20 shown in FIG. A portion 27 'is provided. In the color image processing apparatus 50, the same member numbers as those in FIG. 2 are assigned to the processing units having the same configuration as that of the color image processing apparatus 20 shown in FIG.

原稿種別判定部51では、シェーディング補正部22にて各種の歪みが取り除かれカラーバランスの調整がなされたRGB信号(RGBの反射率信号)を濃度信号などカラー画像処理装置に採用されている画像処理システムの扱い易い信号に変換すると共に、入力された原稿画像が、文字原稿、印刷写真写原稿、印画紙写真であるか、あるいはそれらを組み合わせた文字/印刷写真原稿であるかなど原稿種別の判別を行う。   In the document type determination unit 51, an RGB signal (RGB reflectance signal), from which various distortions have been removed by the shading correction unit 22 and the color balance has been adjusted, is used in a color image processing apparatus such as a density signal. Converts the signal into a signal that can be handled easily by the system, and determines the type of document such as whether the input document image is a text document, a printed photographic document, a photographic paper photograph, or a combined character / printed photographic document I do.

上記原稿種別判定部51における原稿種別判定方法としては、例えば、特開2002−218232号公報において開示のあるような公知の原稿種別判定方法を用いることが可能である。   As the document type determination method in the document type determination unit 51, for example, a known document type determination method disclosed in Japanese Patent Laid-Open No. 2002-218232 can be used.

上記公報に開示された原稿種別判定方法では、原稿のプレスキャンを行い、得られた濃度ヒストグラムより、予め定められる閾値より小さい低度数濃度区分の数、第1の最大度数(濃度ヒストグラムにおいて最も高い度数値)の濃度区分、第1の最大度数の濃度区分に隣接する濃度区分以外で最大の度数値をもつ第2の最大度数の濃度区分を求め、第1の最大度数値の総画素数に対する割合、(第1の最大度数値−第2の最大度数値)の総画素数に対する割合を算出する。これらの値を予め定められる第1の閾値・第2の閾値・第3の閾値と比較することにより、原稿を文字、写真、文字/写真の何れかに分類する。   In the document type determination method disclosed in the above publication, a document is pre-scanned, and from the obtained density histogram, the number of low power density sections smaller than a predetermined threshold, the first maximum power (the highest in the density histogram). (Frequency value) density division, the density division of the second maximum frequency having the maximum power value other than the density division adjacent to the density division of the first maximum power value, and the total number of pixels of the first maximum power value The ratio, the ratio of the first maximum power value—the second maximum power value, to the total number of pixels is calculated. By comparing these values with predetermined first threshold value, second threshold value, and third threshold value, the document is classified into one of a character, a photograph, and a character / photo.

また、上記原稿種別判定方法では、写真と判断された場合、入力画像データを2値化し、注目画素を含む複数の画素よりなるマスクを設定し、主走査方向・副走査方向での「0」から「1」、「1」から「0」への変化点数の和を求めて(高速化のために主走査方向の変化点数だけでも良い)、予め定められる閾値以上ならば印刷写真(印刷写真の場合、局所領域における画像信号の変動が大きい)、閾値未満ならば印画紙写真に判別する。   Further, in the above document type determination method, when it is determined as a photograph, the input image data is binarized, a mask composed of a plurality of pixels including the target pixel is set, and “0” in the main scanning direction and the sub scanning direction is set. The sum of the change points from “1” to “1” and “1” to “0” is obtained (only the change points in the main scanning direction may be used for speeding up). In this case, the variation of the image signal in the local region is large), and if it is less than the threshold value, it is determined as a photographic paper photograph.

但し、上記原稿種別判定部51における原稿種別判定方法は、上記例に限定されるものではない。また、上記のように原稿の種別を判定するのではなく、例えば、「薄い原稿」,「暗い原稿」といった原稿全体の特性を判別するようにしても良い。   However, the document type determination method in the document type determination unit 51 is not limited to the above example. Further, instead of determining the type of document as described above, the characteristics of the entire document such as “thin document” and “dark document” may be determined.

ここで、「暗い原稿」を認識する例を説明する。この場合、原稿のプレスキャン時に得られるRGB信号を、例えば下記式により輝度データVに変換し、輝度ヒストグラムを作成する。   Here, an example of recognizing “dark document” will be described. In this case, the RGB signal obtained at the time of pre-scanning the document is converted into luminance data V by the following formula, for example, and a luminance histogram is created.

V=0.3R+0.59G+0.11B
あるいは、RGB信号を補色反転したCMY信号を用いて輝度ヒストグラムを作成しても良い。
V = 0.3R + 0.59G + 0.11B
Alternatively, a luminance histogram may be created using a CMY signal obtained by performing complementary color inversion on an RGB signal.

このとき、上記輝度ヒストグラムにおける第1最大度数の輝度区分、第2最大度数の輝度区分がともに予め定められる閾値より小さい(輝度が低い)場合に、「暗い原稿」と判定する。また、補色反転したCMY信号による輝度ヒストグラムを用いる場合は、該輝度ヒストグラムにおける第1最大度数の濃度区分、第2最大度数の濃度区分がともに予め定められる閾値より大きい(濃度が高い)場合に、「暗い原稿」と判定する。   At this time, if both the luminance segment of the first maximum frequency and the luminance category of the second maximum frequency in the luminance histogram are both smaller than a predetermined threshold (the luminance is low), the document is determined to be “dark document”. Further, when using a luminance histogram based on a CMY signal with complementary colors inverted, when the density segment of the first maximum frequency and the density category of the second maximum frequency in the luminance histogram are both greater than a predetermined threshold (the density is high), Judged as “dark document”.

原稿種別判定部51は、その原稿種別判定結果に基づいて原稿種別判定信号を黒生成下色除去部26’および空間フィルタ処理部27’へ出力する。黒生成下色除去部26’では、この原稿種別判定信号に基づき、パラメータの選択やテーブルの切換えをおこなって黒生成処理および下色除去処理を行う。この場合の黒生成下色除去部26’の構成は、図11に示す黒生成下色除去部26と同様の構成となる。但し、黒生成下色除去部26’では、セレクタ267,黒生成演算部2682,下色除去演算部2692に入力されるのは、領域分離信号ではなく、原稿種別判定信号となる。   The document type determination unit 51 outputs a document type determination signal to the black generation / under color removal unit 26 'and the spatial filter processing unit 27' based on the document type determination result. Based on this document type determination signal, the black generation / under color removal unit 26 'performs parameter selection and table switching to perform black generation processing and under color removal processing. In this case, the configuration of the black generation and under color removal unit 26 'is the same as that of the black generation and under color removal unit 26 shown in FIG. However, in the black generation and under color removal unit 26 ', what is input to the selector 267, the black generation calculation unit 2682, and the under color removal calculation unit 2692 is not a region separation signal but a document type determination signal.

例えば、原稿種別判定信号が「文字原稿」を示す信号である場合は、黒生成下色除去部26’では、黒生成用1DLUT2681において、黒文字用黒生成LUTであるLUT5・LUT6を用い、LUT5・LUT6から黒生成量K5・K6を読み出して黒生成量を求めるようにすれば良い。このとき、LUT5・LUT6としては、図14に示すようなテーブルを使用する。   For example, when the document type determination signal is a signal indicating “character document”, the black generation and under color removal unit 26 ′ uses the LTL 5 and LUT 6 that are black generation black generation LUTs in the black generation 1DLUT 2681, and uses the LUT 5. The black generation amounts K5 and K6 may be read from the LUT 6 to obtain the black generation amounts. At this time, as LUT5 and LUT6, a table as shown in FIG. 14 is used.

尚、ここでは、LUT5・LUT6は、図4に示すような、横軸を最小値MIN、縦軸を最大値MAXとした2次元のグラフにおいて、MAX=255のライン(図4ではLUT1)およびMAX=MINのライン(図4ではLUT2)に相当するものであるとする。黒文字領域では文字をくっきり再現するために、LUT5・LUT6では、通常のテーブルLUT1・LUT2よりも全体的に高い黒生成量となる。また、黒生成による彩度低下はほとんど問題にならないので、LUT5とLUT6で大きな差はない。これにより、「文字原稿」においてはLUT5・LUT6の使用により、原稿全体で高い黒生成が行われるため、良好な文字原稿の再現画を得ることができる。   Note that, here, LUT5 and LUT6 are lines of MAX = 255 (LUT1 in FIG. 4) and a two-dimensional graph in which the horizontal axis is the minimum value MIN and the vertical axis is the maximum value MAX as shown in FIG. Assume that the line corresponds to a line of MAX = MIN (LUT2 in FIG. 4). In order to reproduce the characters clearly in the black character area, the LUT5 / LUT6 has a generally higher black generation amount than the normal tables LUT1 / LUT2. In addition, since saturation reduction due to black generation is hardly a problem, there is no significant difference between LUT5 and LUT6. Thereby, in the “character original”, the use of LUT5 / LUT6 results in high black generation in the entire original, so that a good reproduction of the character original can be obtained.

また、原稿種別判定信号が「写真原稿」を示す信号である場合は、黒生成下色除去部26’では、黒生成用1DLUT2681において、図15に示すような写真用黒生成LUTであるLUT7・LUT8を使用する。   When the document type determination signal is a signal indicating “photographic document”, the black generation and under color removal unit 26 ′ uses the LTL 7 • which is a black generation LUT for photographs as shown in FIG. Use LUT8.

尚、ここでは、LUT7・LUT8は、図4に示すような、横軸を最小値MIN、縦軸を最大値MAXとした2次元のグラフにおいて、MAX=255のライン(図4ではLUT1)およびMAX=MINのライン(図4ではLUT2)に相当するものであるとする。写真領域ではごく暗い部分には高い黒生成を行ってコントラストをはっきりさせ、それ以外の領域では黒生成による彩度低下が発生しないように低い黒生成を行う。彩度の高いところでは、黒生成による彩度低下の影響が大きいため、LUT7の黒生成量をより低くなるように設定する。これにより、「写真原稿」においてはLUT7・LUT8の使用により、原稿全体で、黒暗部についてのみ高めの黒生成、それ以外については低めの黒生成がおこなわれるため、良好な写真原稿の再現画を得ることができる。   It should be noted that here, LUT7 and LUT8 are a line of MAX = 255 (LUT1 in FIG. 4) and a two-dimensional graph in which the horizontal axis is the minimum value MIN and the vertical axis is the maximum value MAX as shown in FIG. Assume that the line corresponds to a line of MAX = MIN (LUT2 in FIG. 4). In the photographic area, high black is generated in a very dark part to clarify the contrast, and in other areas, low black is generated so as not to cause a decrease in saturation due to black generation. Where the saturation is high, the effect of the decrease in saturation due to black generation is large, so the black generation amount of the LUT 7 is set to be lower. As a result, the use of LUT7 / LUT8 for “photo originals” produces higher blacks only for the dark areas and lower blacks for the other parts. Obtainable.

また、網点などの、「文字」「写真」以外の領域では、前述のLUT1・LUT2を使用すればよい。   Further, in the areas other than “characters” and “photographs” such as halftone dots, the above-described LUT1 and LUT2 may be used.

次に、原稿種別判定部51が、「薄い原稿」,「暗い原稿」といった原稿全体の特性を判別する場合の処理を説明するが、このような場合は一般例としての記述は難しい。例えば、「暗い原稿」の場合、1)原稿が暗いので黒生成を高く設定して原稿により忠実な色再現を行う、2)暗部で階調の潰れが発生するので黒生成量を低く設定、とどちらの場合もあり得る。これは、画像出力装置や他の原稿モードの色作りによって大きく異なる。ここでは、後者の例を示す。   Next, the processing when the document type determination unit 51 determines the characteristics of the entire document such as “light document” and “dark document” will be described. In such a case, description as a general example is difficult. For example, in the case of a “dark document”, 1) since the document is dark, black generation is set to be high and color reproduction is faithful to the document. 2) gradation loss occurs in the dark part, so the black generation amount is set low. And both cases are possible. This differs greatly depending on the color creation of the image output apparatus and other document modes. Here, the latter example is shown.

画像データが読み取られた原稿が「暗い原稿」である場合、これを出力すると暗部で階調のつぶれが発生することがある。このような暗部で階調のつぶれを回避して出力を行いたい場合、黒生成下色除去部26’では、黒生成用1DLUT2681において、図16に示すようなLUT9・LUT10を使用する。   If the original from which the image data has been read is a “dark original”, the gradation may be lost in the dark portion when this is output. When it is desired to perform output while avoiding gradation collapse in such a dark part, the black generation and under color removal unit 26 ′ uses LUT 9 and LUT 10 as shown in FIG. 16 in the black generation 1DLUT 2681.

尚、ここでは、LUT9・LUT10は、図4に示すような、横軸を最小値MIN、縦軸を最大値MAXとした2次元のグラフにおいて、MAX=255のライン(図4ではLUT1)およびMAX=MINのライン(図4ではLUT2)に相当するものであるとする。上記LUT9・LUT10を用いた黒生成処理では、暗部の黒生成量が低めに抑えられるため、暗部の階調潰れの発生することのない良好な色再現が行われる。   Here, LUT9 and LUT10 are shown in FIG. 4 in a two-dimensional graph in which the horizontal axis is the minimum value MIN and the vertical axis is the maximum value MAX, and MAX = 255 line (LUT1 in FIG. 4) and Assume that the line corresponds to a line of MAX = MIN (LUT2 in FIG. 4). In the black generation process using the LUT9 and LUT10, since the black generation amount in the dark portion is suppressed to a low level, good color reproduction is performed without causing gradation collapse in the dark portion.

続いては、原稿種別判定信号に基づいてパラメータの選択を行う場合の処理について説明する。   Next, a process for selecting a parameter based on a document type determination signal will be described.

以下の説明では、黒生成下色除去部26’で用いられる第1パラメータまたは第2パラメータとして、最小値MIN、最大値MAX以外に中央値MID、平均値AVE(=(C+M+Y)/3)、色成分値M(マゼンタ)を用いる例を説明する。但し、第1パラメータと第2パラメータに設定できる組み合わせには条件がある。ここでパラメータとして、最小値MIN、最大値MAX、中央値MID、平均値AVE、色成分値Mを使った設定例および補間演算の方法を以下の表1に示す。   In the following description, as the first parameter or the second parameter used in the black generation and under color removal unit 26 ′, in addition to the minimum value MIN and the maximum value MAX, the median value MID, the average value AVE (= (C + M + Y) / 3), An example using the color component value M (magenta) will be described. However, there are conditions for combinations that can be set for the first parameter and the second parameter. Table 1 below shows setting examples and interpolation calculation methods using the minimum value MIN, maximum value MAX, median value MID, average value AVE, and color component value M as parameters.

Figure 0004118823
Figure 0004118823

本方式を使用できるパラメータの組み合わせは、最大値MAXと最小値MINとのように大小関係(MAX≧MIN)が決まっている2つのパラメータ(第1パラメータおよび第2パラメータ)の組み合わせについてのみ使用することができる。尚、このように設定可能な第1パラメータと第2パラメータの組み合わせの例については、表1の設定可否の欄に「○」で、本発明で実施することができないパラメータの組み合わせについては、「×」で記載している。   The combination of parameters that can use this method is used only for a combination of two parameters (first parameter and second parameter) having a magnitude relationship (MAX ≧ MIN) such as a maximum value MAX and a minimum value MIN. be able to. Note that, for examples of combinations of the first parameter and the second parameter that can be set in this way, “○” is shown in the column for setting availability in Table 1, and for combinations of parameters that cannot be implemented in the present invention, “ “×”.

但し、第1パラメータおよび第2パラメータが切り替えられると、第1パラメータと第2パラメータとの組み合わせによっては、黒生成演算部および下色除去部演算部での補間演算式も切り替える必要がある。例えば、第1パラメータをMIN、第2パラメータをMAXとする場合には、上記表1に示すように、補間演算式として前述した(1)式を用いる必要がある(但し、表1は黒生成演算部での補間演算式のみを示している)。一方、第1パラメータをMAX、第2パラメータをMINとする場合には、上記表1に示すように、補間演算式として前述した(5)式を用いる必要がある。このため、第1パラメータをMIN、第2パラメータをMAXとする場合と、第1パラメータをMAX、第2パラメータをMINとした場合とを切り替える際には、黒生成演算部および下色除去部演算部では補間演算式の切り替えを行う必要がある。この補間演算式の切り替えは、黒生成下色除去処理部に入力される原稿種別判別信号(または領域分離信号)に応じて実行される。   However, when the first parameter and the second parameter are switched, depending on the combination of the first parameter and the second parameter, it is also necessary to switch the interpolation calculation formulas in the black generation calculation unit and the under color removal unit calculation unit. For example, when the first parameter is set to MIN and the second parameter is set to MAX, it is necessary to use the above-described equation (1) as an interpolation calculation formula as shown in Table 1 (however, Table 1 shows black generation) Only the interpolation equation in the calculation unit is shown). On the other hand, when the first parameter is MAX and the second parameter is MIN, it is necessary to use the above-described equation (5) as the interpolation calculation equation as shown in Table 1 above. Therefore, when switching between the case where the first parameter is MIN and the second parameter is MAX, and the case where the first parameter is MAX and the second parameter is MIN, the black generation calculation unit and the under color removal unit calculation In this section, it is necessary to switch the interpolation calculation formula. This switching of the interpolation calculation formula is executed in accordance with a document type determination signal (or region separation signal) input to the black generation and under color removal processing unit.

一方、第1パラメータMIN・第2パラメータMAXの組み合わせと第1パラメータMIN・第2パラメータMIDの組み合わせとでは、何れの場合も用いる補間演算式は(1)式であるため、これらの組み合わせにおいてパラメータの切り替えを行う場合は、補間演算式の切り替えを行う必要はない。すなわち、上記表1で異なる数式を使用する必要がある場合の組み合わせ(表1中では式1と式5)の場合に、補間演算式の切り替えを行う。   On the other hand, in the combination of the first parameter MIN / second parameter MAX and the combination of the first parameter MIN / second parameter MID, the interpolation calculation expression used in either case is the expression (1). When switching is performed, it is not necessary to switch the interpolation calculation formula. In other words, in the case of a combination (Formula 1 and Formula 5 in Table 1) when it is necessary to use different formulas in Table 1, the interpolation calculation formula is switched.

本例では線形補間による内分の例を記述したが、非線形な数式を用いて補間演算を行ってもよいし、非線形演算と線形演算の切り替えを行ってもよい。   In this example, an example of internal division by linear interpolation is described. However, interpolation calculation may be performed using a nonlinear mathematical expression, or switching between nonlinear calculation and linear calculation may be performed.

黒生成下色除去部26’で使用するパラメータの組み合わせは、原稿種別判別信号(または領域分離信号)に応じて異なるものとすることができる。例えば、文字原稿や文字領域に対しては、前述した(5)式による補間演算および図10に示す黒生成処理を使用し、それ以外の領域に対しては、前述した(1)式による補間演算および図3に示す黒生成処理を使用する構成とすることで、文字部の再現性を向上させた色再現が期待できる。   The combination of parameters used in the black generation and under color removal unit 26 ′ can be different depending on the document type determination signal (or region separation signal). For example, for a character document or a character region, the interpolation calculation by the above-described equation (5) and the black generation process shown in FIG. 10 are used, and for the other regions, the interpolation by the above-described equation (1) is used. By using the calculation and the black generation processing shown in FIG. 3, color reproduction with improved reproducibility of the character portion can be expected.

同様に、文字モードに対して(5)式による補間演算および図10に示す黒生成処理を使用し、それ以外の原稿モードに対しては(1)式による補間演算および図3に示す黒生成処理を使用する構成も同様の効果が期待できる。   Similarly, the interpolation calculation by the equation (5) and the black generation processing shown in FIG. 10 are used for the character mode, and the interpolation calculation by the equation (1) and the black generation shown in FIG. 3 are used for the other document modes. A configuration using processing can be expected to have the same effect.

またパラメータ選択の他の例として、第1パラメータに前述したAVG、第2パラメータにMAXを使用する方法もある。この場合、前述の第1パラメータにMIN、第2パラメータにMAXを使用した場合よりも、全体的に高い黒生成が行われる。このため、文字領域あるいは文字原稿に適した別の構成と言える。また第1パラメータにMID、第2パラメータにMAXを設定した場合も、同様の効果がある。第1パラメータ・第2パラメータとして、どのような組合せを選択するかは、例えば、上記のようにどういう画像を出力するかに基づいて決定すれば良い。   As another example of parameter selection, there is a method using AVG as the first parameter and MAX as the second parameter. In this case, the overall black generation is higher than when MIN is used for the first parameter and MAX is used for the second parameter. For this reason, it can be said that this is another configuration suitable for a character region or a character document. The same effect is obtained when MID is set as the first parameter and MAX is set as the second parameter. What kind of combination is selected as the first parameter / second parameter may be determined based on, for example, what kind of image is output as described above.

以上のように、領域分離信号あるいは原稿種別判定信号によって、パラメータの種類・計算方法・LUTのそれぞれの切り替えについて説明したが、そのなかの任意の組み合わせの切り替え(例えば、領域分離信号が「文字」の場合はパラメータ・計算・テーブルすべての切り替えを行い、「写真」の場合はテーブルだけ切り替える、など)を行ってもよい。   As described above, switching of each parameter type, calculation method, and LUT has been described based on the region separation signal or the document type determination signal. However, any combination of them can be switched (for example, the region separation signal is “character”). In the case of, the parameter / calculation / table switching may be performed, and in the case of “Photo”, only the table may be switched.

本発明の画像処理方法は、ソフトウエア(アプリケーションプログラム)として実現することが可能である。この場合、黒生成下色除去処理を実現するソフトウエアを組み込んだプリンタ・ドライバをコンピュータに設けることができる。   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.

図12に示すように、本発明に係るコンピュータ100は、プリンタ・ドライバ110、通信ポートドライバ120、通信ポート130が組み込まれている。プリンタ・ドライバ110は、色補正部111、黒生成下色除去部112、階調再現処理部113、プリンタ言語翻訳部114を有している。色補正部111、階調再現処理部113は、図2で示した色補正部25および階調再現処理部29と同様の処理を行うものである。黒生成下色除去部112は、図1、図7、図11等で説明した黒生成下色除去部と同様の処理を行うものである。   As shown in FIG. 12, 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 and the gradation reproduction processing unit 113 perform the same processing as the color correction unit 25 and the gradation reproduction processing unit 29 shown in FIG. The black generation and under color removal unit 112 performs the same processing as the black generation and under color removal unit described with reference to FIGS. 1, 7, and 11.

また、コンピュータ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 an appropriate black generation process according to the type of document on input image data can be realized, and is used for a color copying machine or a color printer that outputs an image using a K (black) color material. Applicable.

本発明の実施形態を示すものであり、黒生成下色除去部の要部構成を示すブロック図である。1, showing an embodiment of the present invention, is a block diagram illustrating a main configuration of a black generation and under color removal 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. 本発明に係る黒生成処理方法の概念を示す図である。It is a figure which shows the concept of the black production | generation processing method which concerns on this invention. 図1の黒生成下色除去部にて実施される黒生成処理方法において、パラメータと該パラメータから求められる黒生成量との関係を、横軸を最小値MIN、縦軸を最大値MAXとした2次元グラフ上で示したグラフである。In the black generation processing method performed by the black generation and under color removal unit in FIG. 1, the horizontal axis represents the minimum value MIN and the vertical axis represents the maximum value MAX, with respect to the relationship between the parameters and the black generation amount obtained from the parameters. It is the graph shown on the two-dimensional graph. 図5(a)は上記黒生成処理方法において用いられるLUT1を示すグラフ、図5(b)は上記黒生成処理方法において用いられるLUT2を示すグラフ、図5(c)は上記黒生成処理方法において用いられる補間演算方法を示す図である5A is a graph showing the LUT 1 used in the black generation processing method, FIG. 5B is a graph showing the LUT 2 used in the black generation processing method, and FIG. 5C is a graph showing the LUT 1 used in the black generation processing method. It is a figure which shows the interpolation calculation method used 本発明に係る黒生成処理部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the black production | generation process part which concerns on this invention. 本発明の実施形態を示すものであり、図1とは異なる例の黒生成下色除去部の要部構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a main part of a black generation and under color removal unit of an example different from FIG. 1, illustrating an embodiment of the present invention. 図7の黒生成下色除去部にて実施される黒生成処理方法において、パラメータと該パラメータから求められる黒生成量との関係を、横軸を最小値MIN、縦軸を最大値MAXとした2次元グラフ上で示したグラフである。In the black generation processing method performed by the black generation and under color removal unit of FIG. 7, the horizontal axis represents the minimum value MIN and the vertical axis represents the maximum value MAX, with respect to the relationship between the parameters and the black generation amount obtained from the parameters. It is the graph shown on the two-dimensional graph. 図9(a)は上記黒生成処理方法において用いられるLUT3を示すグラフ、図9(b)は上記黒生成処理方法において用いられるLUT4を示すグラフ、図9(c)は上記黒生成処理方法において用いられる補間演算方法を示す図である9A is a graph showing the LUT 3 used in the black generation processing method, FIG. 9B is a graph showing the LUT 4 used in the black generation processing method, and FIG. 9C is a graph showing the LUT 4 used in the black generation processing method. It is a figure which shows the interpolation calculation method used 文字用の黒生成処理において使用されるLUTの設定例を示す図である。It is a figure which shows the example of a setting of LUT used in the black production | generation process for characters. 本発明の実施形態を示すものであり、図1、図7とは異なる例の黒生成下色除去部の要部構成を示すブロック図である。FIG. 9 is a block diagram illustrating a main configuration of a black generation and under color removal unit of an example different from FIGS. 1 and 7 according to the embodiment of the present invention. 本発明に係る画像処理装置を適用する図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. 本発明に係る画像処理装置を適用する画像形成装置の図2とは異なる構成例を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration example different from FIG. 2 of an image forming apparatus to which an image processing apparatus according to the present invention is applied. 文字原稿または文字領域の黒生成処理において好適に用いられるLUTの一例を示すグラフである。It is a graph which shows an example of LUT used suitably in the black production | generation process of a character original or a character area. 写真原稿または写真領域の黒生成処理において好適に用いられるLUTの一例を示すグラフである。It is a graph which shows an example of LUT used suitably in the black production | generation process of a photographic original or a photographic area. 暗い原稿の黒生成処理において好適に用いられるLUTの一例を示すグラフである。It is a graph which shows an example of LUT used suitably in the black production | generation process of a dark original. (5)式に基づいた概念による黒生成処理方法において、パラメータと該パラメータから求められる黒生成量との関係を、横軸を最小値MIN、縦軸を最大値MAXとした2次元グラフ上で示したグラフである。In the black generation processing method based on the concept based on the equation (5), the relationship between the parameter and the black generation amount obtained from the parameter is expressed on a two-dimensional graph with the horizontal axis indicating the minimum value MIN and the vertical axis indicating the maximum value MAX. It is the shown graph.

符号の説明Explanation of symbols

20、50 カラー画像処理装置(画像処理装置)
24 領域分離処理部(領域分離部)
51 原稿種別判定部
261 最大値・最小値算出部(パラメータ算出部)
266 パラメータ算出部
267 セレクタ(パラメータ選択部)
2621、2641、2681 黒生成用1DLUT(黒生成量格納部)
2622、2642、2682 黒生成演算部
2631、2651、2691 下色除去用1DLUT(下色除去量格納部)
2632、2652、2692 下色除去演算部
20, 50 color image processing device (image processing device)
24 Region separation processing unit (region separation unit)
51 Document Type Determination Unit 261 Maximum Value / Minimum Value Calculation Unit (Parameter Calculation Unit)
266 Parameter calculation unit 267 selector (parameter selection unit)
2621, 2641, 2681 1DLUT for black generation (black generation amount storage unit)
2622, 2642, 2682 Black generation calculation units 2631, 2651, 2691 1DLUT for under color removal (under color removal amount storage unit)
2632, 2652, 2692 Under color removal calculation unit

Claims (23)

複数の一次色成分よりなる画像データに基づいて、上記一次色成分とは異なる色成分の画像データを生成する画像処理装置において、
上記一次色成分よりなる画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、
2つの第1色データのそれぞれを上記第1パラメータに対応づけて2つの1次元LUTに格納する色データ格納部と、
上記第1パラメータに基づいて上記色データ格納部より読み出される2つの第1色データと上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1色データと上記第1パラメータおよび第2パラメータとを用いた補間演算により、一次色成分とは異なる色成分の生成量である第2色データを求める色データ演算部とを備えることを特徴とする画像処理装置。
In an image processing apparatus that generates image data of a color component different from the primary color component based on image data composed of a plurality of primary color components,
A parameter calculation unit for calculating the first parameter and the second parameter based on the pixel value of the image data composed of the primary color component;
A color data storage unit for storing each of the two first color data in the two one-dimensional LUTs in association with the first parameter;
Interpolation calculation using the two first color data and the second parameter of the read out from the color data storage unit based on the first parameter, or the two first color data and the first parameter and the second An image processing apparatus comprising: a color data calculation unit that obtains second color data that is a generation amount of a color component different from a primary color component by interpolation calculation using two parameters.
複数の色成分よりなる画像データに対して黒生成処理を行う画像処理装置において、
上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、
2つの第1黒生成量のそれぞれを上記第1パラメータに対応づけて2つの1次元LUTに格納する黒生成量格納部と、
上記第1パラメータに基づいて上記黒生成量格納部より読み出される2つの第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求める黒生成演算部とを備えることを特徴とする画像処理装置。
In an image processing apparatus that performs black generation processing on image data composed of a plurality of color components,
A parameter calculation unit for calculating the first parameter and the second parameter based on the pixel value of the image data;
A black generation amount storage unit that stores each of the two first black generation amounts in the two one-dimensional LUTs in association with the first parameter;
Interpolation calculation using the two first black generation amount and the second parameter read from the black generation amount storage unit based on the first parameter, or the two first black generation amount and the first An image processing apparatus comprising: a black generation calculation unit that obtains a second black generation amount by interpolation calculation using a parameter and a second parameter.
複数の色成分よりなる画像データに対して黒生成処理を行う画像処理装置において、
入力画像中の各画素あるいは画素群を少なくとも文字領域、網点領域、写真領域の何れかに分離し、各画素あるいは画素群の領域を示す領域分離信号を出力する領域分離部と、
上記画像データの画素値に基づいて、複数のパラメータを算出するパラメータ算出部と、
上記領域分離部から出力される領域分離信号に応じて、パラメータ算出部で算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択するパラメータ選択部と、
2つの第1黒生成量のそれぞれを上記第1パラメータに対応づけて2つの1次元LUTに格納する黒生成量格納部と、
上記第1パラメータに基づいて上記黒生成量格納部より読み出される2つの第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求める黒生成演算部とを備えることを特徴とする画像処理装置。
In an image processing apparatus that performs black generation processing on image data composed of a plurality of color components,
An area separation unit that separates each pixel or pixel group in the input image into at least one of a character area, a halftone dot area, and a photograph area, and outputs an area separation signal indicating the area of each pixel or pixel group;
A parameter calculator that calculates a plurality of parameters based on the pixel values of the image data;
A parameter selection unit that selects the first parameter and the second parameter from the plurality of parameters calculated by the parameter calculation unit in accordance with the region separation signal output from the region separation unit;
A black generation amount storage unit that stores each of the two first black generation amounts in the two one-dimensional LUTs in association with the first parameter;
Interpolation calculation using the two first black generation amount and the second parameter read from the black generation amount storage unit based on the first parameter, or the two first black generation amount and the first An image processing apparatus comprising: a black generation calculation unit that obtains a second black generation amount by interpolation calculation using a parameter and a second parameter.
複数の色成分よりなる画像データに対して黒生成処理を行う画像処理装置において、
入力画像中の各画素あるいは画素群を少なくとも文字領域、網点領域、写真領域の何れかに分離し、各画素あるいは画素群の領域を示す領域分離信号を出力する領域分離部と、
上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、
2つの第1黒生成量のそれぞれを上記第1パラメータに対応づけて記憶した2つの1次元LUTを1つのテーブル組とし、複数のテーブルを格納する黒生成量格納部と、
上記領域分離部から出力される領域分離信号に応じて、上記黒生成量格納部に記憶された複数のテーブルの中から使用するテーブルを選択するテーブル選択部と、
上記テーブル選択部により選択されたテーブルから上記第1パラメータに基づいて読み出される2つの第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求める黒生成演算部とを備えることを特徴とする画像処理装置。
In an image processing apparatus that performs black generation processing on image data composed of a plurality of color components,
An area separation unit that separates each pixel or pixel group in the input image into at least one of a character area, a halftone dot area, and a photograph area, and outputs an area separation signal indicating the area of each pixel or pixel group;
A parameter calculation unit for calculating the first parameter and the second parameter based on the pixel value of the image data;
A black generation amount storage unit that stores two one-dimensional LUTs in which each of the two first black generation amounts is stored in association with the first parameter as one table set, and stores a plurality of table sets ;
A table selection unit that selects a table set to be used from among a plurality of table sets stored in the black generation amount storage unit in accordance with a region separation signal output from the region separation unit;
Interpolation calculation using the two first black generation amount and the second parameter read on the basis of a table set selected by the table selection unit to the first parameter, or, and the two first black generation amount An image processing apparatus comprising: a black generation calculation unit that obtains a second black generation amount by an interpolation calculation using the first parameter and the second parameter.
複数の色成分よりなる画像データに対して黒生成処理を行う画像処理装置において、
入力画像の画像種別を判別し、入力画像の画像種別を示す原稿種別判定信号を出力する原稿種別判定部と、
上記画像データの画素値に基づいて、複数のパラメータを算出するパラメータ算出部と、
上記原稿種別判定部から出力される原稿種別判定信号に応じて、パラメータ算出部で算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択するパラメータ選択部と、
2つの第1黒生成量のそれぞれを上記第1パラメータに対応づけて2つの1次元LUTに格納する黒生成量格納部と、
上記第1パラメータに基づいて上記黒生成量格納部より読み出される2つの第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求める黒生成演算部とを備えることを特徴とする画像処理装置。
In an image processing apparatus that performs black generation processing on image data composed of a plurality of color components,
A document type determination unit that determines the image type of the input image and outputs a document type determination signal indicating the image type of the input image;
A parameter calculator that calculates a plurality of parameters based on the pixel values of the image data;
A parameter selection unit that selects a first parameter and a second parameter from a plurality of parameters calculated by the parameter calculation unit in response to a document type determination signal output from the document type determination unit;
A black generation amount storage unit that stores each of the two first black generation amounts in the two one-dimensional LUTs in association with the first parameter;
Interpolation calculation using the two first black generation amount and the second parameter read from the black generation amount storage unit based on the first parameter, or the two first black generation amount and the first parameter And a black generation calculation unit for obtaining a second black generation amount by an interpolation calculation using the second parameter.
複数の色成分よりなる画像データに対して黒生成処理を行う画像処理装置において、
入力画像の画像種別を判別し、入力画像の画像種別を示す原稿種別判定信号を出力する原稿種別判定部と、
上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、
2つの第1黒生成量のそれぞれを上記第1パラメータに対応づけて記憶した2つの1次元LUTを1つのテーブル組とし、複数のテーブルを格納する黒生成量格納部と、
上記原稿種別判定部から出力される原稿種別判定信号に応じて、上記黒生成量格納部に記憶された複数のテーブルの中から使用するテーブルを選択するテーブル選択部と、
上記テーブル選択部により選択されたテーブルから上記第1パラメータに基づいて読み出される2つの第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求める黒生成演算部とを備えることを特徴とする画像処理装置。
In an image processing apparatus that performs black generation processing on image data composed of a plurality of color components,
A document type determination unit that determines the image type of the input image and outputs a document type determination signal indicating the image type of the input image;
A parameter calculation unit for calculating the first parameter and the second parameter based on the pixel value of the image data;
A black generation amount storage unit that stores two one-dimensional LUTs in which each of the two first black generation amounts is stored in association with the first parameter as one table set, and stores a plurality of table sets ;
A table selection unit that selects a table set to be used from among a plurality of table sets stored in the black generation amount storage unit in response to a document type determination signal output from the document type determination unit;
Interpolation calculation using the two first black generation amount and the second parameter read on the basis of a table set selected by the table selection unit to the first parameter, or, and the two first black generation amount An image processing apparatus comprising: a black generation calculation unit that obtains a second black generation amount by an interpolation calculation using the first parameter and the second parameter.
上記黒生成演算部には、複数の補間演算処理方法が格納されており、
上記原稿種別判定信号あるいは領域分離信号に応じて、補間演算処理を切り替えることを特徴とする請求項3ないし6の何れかに記載の画像処理装置。
The black generation calculation unit stores a plurality of interpolation calculation processing methods,
7. The image processing apparatus according to claim 3, wherein the interpolation calculation process is switched in accordance with the document type determination signal or the region separation signal.
複数の色成分よりなる画像データに対して下色除去処理を行う画像処理装置において、
上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、
2つの第1下色除去量のそれぞれを上記第1パラメータに対応づけて2つの1次元LUTに格納する下色除去量格納部と、
上記第1パラメータに基づいて上記下色除去量格納部より読み出される2つの第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求める下色除去演算部とを備えることを特徴とする画像処理装置。
In an image processing apparatus that performs undercolor removal processing on image data composed of a plurality of color components,
A parameter calculation unit for calculating the first parameter and the second parameter based on the pixel value of the image data;
And under color removal amount storage unit which each of the two first under color removal amount stored in association with the two one-dimensional LUT in the first parameter,
Interpolation calculation using the two first under color removal amount and the second parameter read from the undercolor removal amount storage unit based on the first parameter, or the two first under color removal amount and the An image processing apparatus comprising: a lower color removal calculation unit that obtains a second lower color removal amount by an interpolation calculation using the first parameter and the second parameter.
複数の色成分よりなる画像データに対して下色除去処理を行う画像処理装置において、
入力画像中の各画素あるいは画素群を少なくとも文字領域、網点領域、写真領域の何れかに分離し、各画素あるいは画素群の領域を示す領域分離信号を出力する領域分離部と、
上記画像データの画素値に基づいて、複数のパラメータを算出するパラメータ算出部と、
上記領域分離部から出力される領域分離信号に応じて、パラメータ算出部で算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択するパラメータ選択部と、
2つの第1下色除去量のそれぞれを上記第1パラメータに対応づけて2つの1次元LUTに格納する下色除去量格納部と、
上記第1パラメータに基づいて上記下色除去量格納部より読み出される2つの第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求める下色除去演算部とを備えることを特徴とする画像処理装置。
In an image processing apparatus that performs undercolor removal processing on image data composed of a plurality of color components,
An area separation unit that separates each pixel or pixel group in the input image into at least one of a character area, a halftone dot area, and a photograph area, and outputs an area separation signal indicating the area of each pixel or pixel group;
A parameter calculator that calculates a plurality of parameters based on the pixel values of the image data;
A parameter selection unit that selects the first parameter and the second parameter from the plurality of parameters calculated by the parameter calculation unit in accordance with the region separation signal output from the region separation unit;
And under color removal amount storage unit which each of the two first under color removal amount stored in association with the two one-dimensional LUT in the first parameter,
Interpolation calculation using the two first under color removal amount and the second parameter read from the undercolor removal amount storage unit based on the first parameter, or the two first under color removal amount and the An image processing apparatus comprising: a lower color removal calculation unit that obtains a second lower color removal amount by an interpolation calculation using the first parameter and the second parameter.
複数の色成分よりなる画像データに対して下色除去処理を行う画像処理装置において、
入力画像中の各画素あるいは画素群を少なくとも文字領域、網点領域、写真領域の何れかに分離し、各画素あるいは画素群の領域を示す領域分離信号を出力する領域分離部と、
上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、
2つの第1下色除去量のそれぞれを上記第1パラメータに対応づけて記憶した2つの1次元LUTを1つのテーブル組とし、複数のテーブルを格納する下色除去量格納部と、
上記領域分離部から出力される領域分離信号に応じて、上記下色除去量格納部に記憶された複数のテーブルの中から使用するテーブルを選択するテーブル選択部と、
上記テーブル選択部により選択されたテーブルから上記第1パラメータに基づいて読み出される2つの第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求める下色除去演算部とを備えることを特徴とする画像処理装置。
In an image processing apparatus that performs undercolor removal processing on image data composed of a plurality of color components,
An area separation unit that separates each pixel or pixel group in the input image into at least one of a character area, a halftone dot area, and a photograph area, and outputs an area separation signal indicating the area of each pixel or pixel group;
A parameter calculation unit for calculating the first parameter and the second parameter based on the pixel value of the image data;
Two one- dimensional LUTs each storing two first undercolor removal amounts in association with the first parameter as one table set, and a lower color removal amount storage unit storing a plurality of table sets ;
A table selection unit that selects a table set to be used from among a plurality of table sets stored in the under color removal amount storage unit in accordance with a region separation signal output from the region separation unit;
Interpolation calculation using the two first under color removal amount and the second parameter of the read from the set of the selected table based on the first parameter by the table selection unit, or the first under color removal of the two An image processing apparatus comprising: a lower color removal calculation unit that obtains a second lower color removal amount by an interpolation calculation using an amount and the first parameter and the second parameter.
複数の色成分よりなる画像データに対して下色除去処理を行う画像処理装置において、
入力画像の画像種別を判別し、入力画像の画像種別を示す原稿種別判定信号を出力する原稿種別判定部と、
上記画像データの画素値に基づいて、複数のパラメータを算出するパラメータ算出部と、
上記原稿種別判定部から出力される原稿種別判定信号に応じて、パラメータ算出部で算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択するパラメータ選択部と、
2つの第1下色除去量のそれぞれを上記第1パラメータに対応づけて2つの1次元LUTに格納する下色除去量格納部と、
上記第1パラメータに基づいて上記下色除去量格納部より読み出される2つの第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求める下色除去演算部とを備えることを特徴とする画像処理装置。
In an image processing apparatus that performs undercolor removal processing on image data composed of a plurality of color components,
A document type determination unit that determines the image type of the input image and outputs a document type determination signal indicating the image type of the input image;
A parameter calculator that calculates a plurality of parameters based on the pixel values of the image data;
A parameter selection unit that selects a first parameter and a second parameter from a plurality of parameters calculated by the parameter calculation unit in response to a document type determination signal output from the document type determination unit;
And under color removal amount storage unit which each of the two first under color removal amount stored in association with the two one-dimensional LUT in the first parameter,
Interpolation calculation using the two first under color removal amount and the second parameter read from the undercolor removal amount storage unit based on the first parameter, or the two first under color removal amount and the An image processing apparatus comprising: a lower color removal calculation unit that obtains a second lower color removal amount by an interpolation calculation using the first parameter and the second parameter.
複数の色成分よりなる画像データに対して下色除去処理を行う画像処理装置において、
入力画像の画像種別を判別し、入力画像の画像種別を示す原稿種別判定信号を出力する原稿種別判定部と、
上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出するパラメータ算出部と、
2つの第1下色除去量のそれぞれを上記第1パラメータに対応づけて記憶した2つの1次元LUTを1つのテーブル組とし、複数のテーブルを格納する下色除去量格納部と、
上記原稿種別判定部から出力される原稿種別判定信号に応じて、上記下色除去量格納部に記憶された複数のテーブルの中から使用するテーブルを選択するテーブル選択部と、
上記テーブル選択部により選択されたテーブルから上記第1パラメータに基づいて読み出される2つの第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求める下色除去演算部とを備えることを特徴とする画像処理装置。
In an image processing apparatus that performs undercolor removal processing on image data composed of a plurality of color components,
A document type determination unit that determines the image type of the input image and outputs a document type determination signal indicating the image type of the input image;
A parameter calculation unit for calculating the first parameter and the second parameter based on the pixel value of the image data;
Two one- dimensional LUTs each storing two first undercolor removal amounts in association with the first parameter as one table set, and a lower color removal amount storage unit storing a plurality of table sets ;
A table selection unit that selects a table group to be used from among a plurality of table groups stored in the undercolor removal amount storage unit in response to a document type determination signal output from the document type determination unit;
Interpolation calculation using the two first under color removal amount and the second parameter of the read from the set of the selected table based on the first parameter by the table selection unit, or the first under color removal of the two An image processing apparatus comprising: a lower color removal calculation unit that obtains a second lower color removal amount by an interpolation calculation using an amount and the first parameter and the second parameter.
上記下色除去演算部には、複数の補間演算処理方法が格納されており、
上記原稿種別判定信号あるいは領域分離信号に応じて、補間演算処理を切り替えることを特徴とする請求項9ないし12の何れかに記載の画像処理装置。
The lower color removal calculation unit stores a plurality of interpolation calculation processing methods,
13. The image processing apparatus according to claim 9 , wherein interpolation processing is switched according to the document type determination signal or the region separation signal.
上記請求項1ないし13の何れかに記載の画像処理装置を備えることを特徴とする画像形成装置。 An image forming apparatus comprising the image processing apparatus according to any one of the claims 1 to 13. 複数の色成分よりなる画像データに対して黒生成処理を行う画像処理方法において、
上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出し、
2つの第1黒生成量のそれぞれを上記第1パラメータに対応づけて2つの1次元LUTに格納している黒生成量格納部から、上記第1パラメータに基づく2つの第1黒生成量を読み出し、
上記2つの第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求めることを特徴とする画像処理方法。
In an image processing method for performing black generation processing on image data composed of a plurality of color components,
Calculating the first parameter and the second parameter based on the pixel value of the image data;
Each of the two first black generation amount from the black generation amount storage unit that stores a one-dimensional LUT of the two in correspondence with the first parameter, reads the two first black generation amount based on the first parameter ,
Interpolation calculation using the above-described two first black generation amount and the second parameter information, or the interpolation calculation using the above two first black generation amount and the first parameter and the second parameter, the second black An image processing method characterized by obtaining a generation amount.
複数の色成分よりなる画像データに対して黒生成処理を行う画像処理方法において、
入力画像中の各画素あるいは画素群を少なくとも文字領域、網点領域、写真領域の何れかに分離し、
上記画像データの画素値に基づいて、複数のパラメータを算出し、
上記領域分離結果に応じて、算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択し、
2つの第1黒生成量のそれぞれを上記第1パラメータに対応づけて2つの1次元LUTに格納している黒生成量格納部から、上記第1パラメータに基づく2つの第1黒生成量を読み出し、
上記2つの第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求めることを特徴とする画像処理方法。
In an image processing method for performing black generation processing on image data composed of a plurality of color components,
Separate each pixel or pixel group in the input image into at least one of a character area, a halftone dot area, and a photo area,
Based on the pixel value of the image data, a plurality of parameters are calculated,
According to the region separation result, the first parameter and the second parameter are selected from the calculated plurality of parameters,
Each of the two first black generation amount from the black generation amount storage unit that stores a one-dimensional LUT of the two in correspondence with the first parameter, reads the two first black generation amount based on the first parameter ,
Interpolation calculation using the above-described two first black generation amount and the second parameter information, or the interpolation calculation using the above two first black generation amount and the first parameter and the second parameter, the second black An image processing method characterized by obtaining a generation amount.
複数の色成分よりなる画像データに対して黒生成処理を行う画像処理方法において、
入力画像の画像種別を判定し、
上記画像データの画素値に基づいて、複数のパラメータを算出し、
上記原稿種別判定結果に応じて、算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択し、
2つの第1黒生成量のそれぞれを上記第1パラメータに対応づけて2つの1次元LUTに格納している黒生成量格納部から、上記第1パラメータに基づく2つの第1黒生成量を読み出し、
上記2つの第1黒生成量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1黒生成量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2黒生成量を求めることを特徴とする画像処理方法。
In an image processing method for performing black generation processing on image data composed of a plurality of color components,
Determine the image type of the input image,
Based on the pixel value of the image data, a plurality of parameters are calculated,
According to the document type determination result, the first parameter and the second parameter are selected from the calculated parameters,
Each of the two first black generation amount from the black generation amount storage unit that stores a one-dimensional LUT of the two in correspondence with the first parameter, reads the two first black generation amount based on the first parameter ,
Interpolation calculation using the above-described two first black generation amount and the second parameter information, or the interpolation calculation using the above two first black generation amount and the first parameter and the second parameter, the second black An image processing method characterized by obtaining a generation amount.
複数の色成分よりなる画像データに対して下色除去処理を行う画像処理方法において、
上記画像データの画素値に基づいて、第1パラメータおよび第2パラメータを算出し、
2つの第1下色除去量のそれぞれを上記第1パラメータに対応づけて2つの1次元LUTに格納している下色除去量格納部から、上記第1パラメータに基づく2つの第1下色除去量を読み出し、
上記2つの第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求めることを特徴とする画像処理方法。
In an image processing method for performing undercolor removal processing on image data composed of a plurality of color components,
Calculating the first parameter and the second parameter based on the pixel value of the image data;
Each of the two first under color removal amount from under color removal amount storage unit that stores a one-dimensional LUT of the two in correspondence with the first parameter, the two first under color removal based on the first parameter Read the quantity,
Interpolation operation using the above two first under color removal amount and the second parameter, or by interpolation using the above two first under color removal amount and the first parameter and the second parameter, the 2. An image processing method characterized by obtaining an undercolor removal amount.
複数の色成分よりなる画像データに対して下色除去処理を行う画像処理方法において、
入力画像中の各画素あるいは画素群を少なくとも文字領域、網点領域、写真領域の何れかに分離し、
上記画像データの画素値に基づいて、複数のパラメータを算出し、
上記領域分離結果に応じて、算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択し、
2つの第1下色除去量のそれぞれを上記第1パラメータに対応づけて2つの1次元LUTに格納している下色除去量格納部から、上記第1パラメータに基づく2つの第1下色除去量を読み出し、
上記2つの第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求めることを特徴とする画像処理方法。
In an image processing method for performing undercolor removal processing on image data composed of a plurality of color components,
Separate each pixel or pixel group in the input image into at least one of a character area, a halftone dot area, and a photo area,
Based on the pixel value of the image data, a plurality of parameters are calculated,
According to the region separation result, the first parameter and the second parameter are selected from the plurality of calculated parameters,
Each of the two first under color removal amount from under color removal amount storage unit that stores a one-dimensional LUT of the two in correspondence with the first parameter, the two first under color removal based on the first parameter Read the quantity,
Interpolation operation using the above two first under color removal amount and the second parameter, or by interpolation using the above two first under color removal amount and the first parameter and the second parameter, the 2. An image processing method characterized by obtaining an undercolor removal amount.
複数の色成分よりなる画像データに対して下色除去処理を行う画像処理方法において、
入力画像の画像種別を判別し、
上記画像データの画素値に基づいて、複数のパラメータを算出し、
上記原稿種別判定結果に応じて、算出された複数のパラメータの中から第1パラメータおよび第2パラメータを選択し、
2つの第1下色除去量のそれぞれを上記第1パラメータに対応づけて2つの1次元LUTに格納している下色除去量格納部から、上記第1パラメータに基づく2つの第1下色除去量を読み出し、
上記2つの第1下色除去量と上記第2パラメータとを用いた補間演算、あるいは、上記2つの第1下色除去量と上記第1パラメータおよび第2パラメータとを用いた補間演算により、第2下色除去量を求めることを特徴とする画像処理方法。
In an image processing method for performing undercolor removal processing on image data composed of a plurality of color components,
Determine the image type of the input image,
Based on the pixel value of the image data, a plurality of parameters are calculated,
According to the document type determination result, the first parameter and the second parameter are selected from the calculated parameters,
Each of the two first under color removal amount from under color removal amount storage unit that stores a one-dimensional LUT of the two in correspondence with the first parameter, the two first under color removal based on the first parameter Read the quantity,
Interpolation operation using the above two first under color removal amount and the second parameter, or by interpolation using the above two first under color removal amount and the first parameter and the second parameter, the 2. An image processing method characterized by obtaining an undercolor removal amount.
上記補間演算処理方法として複数の方法が備えられており、
上記原稿種別結果あるいは領域分離信号に応じて、補間演算処理を切り替えることを特徴とする請求項16,17,19および20の何れかに記載の画像処理方法。
A plurality of methods are provided as the interpolation calculation processing method,
21. The image processing method according to claim 16 , wherein the interpolation calculation process is switched in accordance with the document type result or the region separation signal.
コンピュータを、上記請求項1ないし13の何れかに記載の画像処理装置を構成する各機能部として作用させることを特徴とする画像処理プログラム。 Image processing program, wherein a computer to act as each function section constituting the image processing apparatus according to any one of the claims 1 to 13. 請求項22に記載の画像処理プログラムを記録したことを特徴とするコンピュータ読取り可能な記録媒体。 A computer-readable recording medium on which the image processing program according to claim 22 is recorded.
JP2004037406A 2003-11-10 2004-02-13 Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium Expired - Fee Related JP4118823B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004037406A JP4118823B2 (en) 2003-11-10 2004-02-13 Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003379626 2003-11-10
JP2004037406A JP4118823B2 (en) 2003-11-10 2004-02-13 Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium

Publications (2)

Publication Number Publication Date
JP2005167959A JP2005167959A (en) 2005-06-23
JP4118823B2 true JP4118823B2 (en) 2008-07-16

Family

ID=34741572

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004037406A Expired - Fee Related JP4118823B2 (en) 2003-11-10 2004-02-13 Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium

Country Status (1)

Country Link
JP (1) JP4118823B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7718664B2 (en) 2004-03-30 2010-05-18 Toray Industries, Inc. Anti-itching agent

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7718664B2 (en) 2004-03-30 2010-05-18 Toray Industries, Inc. Anti-itching agent

Also Published As

Publication number Publication date
JP2005167959A (en) 2005-06-23

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
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
US8463032B2 (en) Image compressing apparatus, compressed image outputting apparatus, image compression method, and recording medium
JP4197346B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium
JP3989738B2 (en) Image forming method, image forming apparatus, program, and recording medium
JP4402090B2 (en) Image forming apparatus, image forming method, program, and recording medium
JP2004289819A (en) Image forming device and method
JP4226278B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium recording the same
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
JP4522978B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium
JP7266462B2 (en) IMAGE PROCESSING APPARATUS, IMAGE FORMING APPARATUS, IMAGE PROCESSING METHOD AND PROGRAM
JP4118823B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP4101741B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP4080252B2 (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium
JP4176656B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium recording the program
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
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
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
JP4322639B2 (en) Color pixel data conversion apparatus, color pixel data conversion program, computer-readable recording medium recording color pixel data conversion program, and data conversion method

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

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071211

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080204

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20080204

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080423

R150 Certificate of patent or registration of utility model

Ref document number: 4118823

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110502

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110502

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120502

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120502

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130502

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140502

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees