JP2008178047A - Image processing apparatus, image processing method, and image processing program - Google Patents

Image processing apparatus, image processing method, and image processing program Download PDF

Info

Publication number
JP2008178047A
JP2008178047A JP2007012021A JP2007012021A JP2008178047A JP 2008178047 A JP2008178047 A JP 2008178047A JP 2007012021 A JP2007012021 A JP 2007012021A JP 2007012021 A JP2007012021 A JP 2007012021A JP 2008178047 A JP2008178047 A JP 2008178047A
Authority
JP
Japan
Prior art keywords
image data
color
image
output
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.)
Granted
Application number
JP2007012021A
Other languages
Japanese (ja)
Other versions
JP4740164B2 (en
Inventor
Manabu Komatsu
小松  学
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007012021A priority Critical patent/JP4740164B2/en
Publication of JP2008178047A publication Critical patent/JP2008178047A/en
Application granted granted Critical
Publication of JP4740164B2 publication Critical patent/JP4740164B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To obtain an image processing apparatus capable of performing highly accurate conversion to the color of a color image output device in which a color reproduction range (gamut) is restricted, without increasing the scale of a color conversion table. <P>SOLUTION: A color converting unit 41 color-converts RGB image data to which linear masking processing is applied, into CMYK image data using a three-dimensional lookup table, the value gamut of the color-converted CMYK image data is virtually expanded to a color gamut greater than a color gamut that the image output device can reproduce, the expanded value gamut of the CMYK image data is then clipped to a value gamut that the image output device which outputs output image data can reproduce, and the clipped image data are output as output image data. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複写機やファクシミリ、プリンタ、スキャナなどの機能を複合したデジタル複合機としての画像処理装置に関するものであり、特に、出力装置に応じて色空間の変換処理を行って画像データを出力する画像処理装置に関するものである。   BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus as a digital multi-function peripheral that combines functions of a copying machine, a facsimile, a printer, a scanner, and the like, and in particular, performs color space conversion processing according to an output device and outputs image data. The present invention relates to an image processing apparatus.

複写機が、デジタル化された画像データでコピーを作成するデジタル複写機となってから、ファクシミリ機能やプリンタ機能、スキャナ機能などと複合して、デジタル複合機(MPF:Multi Function Printer)と呼ばれるようになった。技術の進化に伴い、デジタル複合機に搭載される機能も使われ方も、多種多様化してきている。ところが、デジタル複合機では、スキャナで取り込んだカラー画像を、ファクシミリやプリンタ、パーソナルコンピュータなど異なる出力装置に出力する場合、カラーマッチングに関する問題が生じる。   Since copiers have become digital copiers that make copies with digitized image data, they are combined with facsimile functions, printer functions, scanner functions, etc., and are called digital multi-function printers (MPFs). Became. Along with the evolution of technology, the functions and functions used in digital multifunction peripherals are becoming more diverse. However, in a digital multi-function peripheral, when a color image captured by a scanner is output to different output devices such as a facsimile, a printer, and a personal computer, a problem relating to color matching occurs.

デジタル複合機では、カラーマッチングのための色変換に一次式または高次多項式を用いていたが、最近では、補間を併用したテーブル参照型の方法が用いられることが多い。補間併用テーブル参照型の色変換には、四面体補間を用いた方式(特許文献1参照)やプリズム補間を用いた方式(非特許文献1参照)、立方体補間を用いた方式などがある。また、ICC(International Color Consortium)によるICC Profile Formatには、補間併用テーブル参照型の色変換を含む形で色変換系が規格化されている。   In digital multi-function peripherals, linear or higher-order polynomials are used for color conversion for color matching, but recently, table reference type methods using interpolation are often used. As the interpolated table reference type color conversion, there are a method using tetrahedral interpolation (see Patent Document 1), a method using prism interpolation (see Non-Patent Document 1), a method using cube interpolation, and the like. In addition, in the ICC Profile Format by ICC (International Color Consortium), a color conversion system is standardized in a form including color conversion of an interpolation combined table reference type.

補間併用テーブル参照型の色変換では、このように量子化された画像データを取り扱うため、あらかじめ色信号のレンジまたは範囲が定められる。たとえば、TIFF(Tagged Image File Format)と呼ばれる画像フォーマットでは、画像データの一部に色信号の種類とレンジを埋め込んでおく。また、ICC Profile Formatでは、あらかじめ色信号のレンジを固定して、その取り決めのもとに、テーブル値などのパラメータを作成し、色変換を実行する。すなわち、何らかの形で色信号のレンジが決められている。   In the interpolation combination table reference type color conversion, the range or range of the color signal is determined in advance in order to handle the image data quantized in this way. For example, in an image format called TIFF (Tagged Image File Format), the type and range of a color signal are embedded in part of image data. In the ICC Profile Format, a color signal range is fixed in advance, and parameters such as table values are created based on the agreement, and color conversion is executed. That is, the range of the color signal is determined in some way.

しかしながら、これらの規則に基づいて補間併用型の色変換テーブルのテーブル値を作成すると、いかにテーブル値が正しく作成されても、補間誤差によって正しい色変換結果が得られない領域が発生する。図11〜図13を参照して、補間誤差によって正しい色変換結果が得られない領域について説明する。まず、図11を参照して、画像入力機器に依存する色信号を機器に独立な色信号に変換する場合について説明する。なお、図11においては、説明を簡単にするために、スキャナからのRGBのG(緑)データからL*a*b*表色系(以下、単にL*a*b*ということがある)のL*への1次元の変換としているが、RGBデータからL*a*b*各値への変換のような多次元入力の場合でも本質的に変わりはない。   However, if the table value of the color conversion table of the interpolation combined type is created based on these rules, an area where a correct color conversion result cannot be obtained due to an interpolation error occurs regardless of how the table value is correctly created. A region where a correct color conversion result cannot be obtained due to an interpolation error will be described with reference to FIGS. First, with reference to FIG. 11, a case where a color signal dependent on an image input device is converted into a color signal independent of the device will be described. In FIG. 11, in order to simplify the explanation, the L * a * b * color system (hereinafter sometimes simply referred to as L * a * b *) from RGB G (green) data from the scanner. However, even in the case of multi-dimensional input such as conversion from RGB data to L * a * b * values, there is essentially no change.

図11の場合の色変換テーブルは、入力Gデータ値が「0」、「32」、「64」、「96」、「128」、「160」、「192」、「224」、「255」の9点の代表点に対するテーブル値としてそれぞれ対応するL*値を有し、代表点に対応付けてL*値がプロットされる。代表点以外の入力Gデータ値に対しては、補間により図11のように折れ線近似されることによって出力L*値が求められる。L*値は、「0〜100」の範囲に定められたものであるが、L*データとしては、そのL*値の「0〜100」のレンジが「0〜255」の8ビットに量子化される。   In the color conversion table in the case of FIG. 11, the input G data values are “0”, “32”, “64”, “96”, “128”, “160”, “192”, “224”, “255”. The L * values corresponding to the nine representative points are respectively plotted, and the L * values are plotted in correspondence with the representative points. For input G data values other than the representative points, an output L * value is obtained by approximating a polygonal line as shown in FIG. 11 by interpolation. The L * value is determined in the range of “0 to 100”, but as the L * data, the range of “0 to 100” of the L * value is quantized into 8 bits of “0 to 255”. It becomes.

ここで注目すべき点は、入力Gデータ値が「224〜255」の区間である。スキャナで読み取られる原稿として、「L*=100(反射率が1)」のものは現実にはないが、点Pa1のように、入力Gデータの最大値「255」に対して「L*=100」が対応づけられる。これは、コート紙のような白色度の高い紙や、蛍光体が塗布された紙などに対処するためである。   What should be noted here is a section in which the input G data value is “224 to 255”. Although there is no actual document read by the scanner of “L * = 100 (reflectance is 1)”, as indicated by a point Pa1, the maximum value “255” of input G data is “L * ==”. 100 ”is associated. This is to cope with paper with high whiteness such as coated paper, paper coated with a phosphor, and the like.

しかし、この場合、入力Gデータ値が「224〜255」の区間の補間により近似される線としては、入力Gデータ値「224」がプロットされた点Pa0から、入力Gデータ値が「224」と「255」の間で、L*値が「100」の点Pa2を通る線の方が、補間誤差が小さくなり、自然で好ましいものとなる。   However, in this case, the input G data value is “224” from the point Pa0 where the input G data value “224” is plotted as a line approximated by interpolation of the section where the input G data value is “224 to 255”. A line passing through the point Pa2 having an L * value of “100” between “255” and “255” has a smaller interpolation error and is natural and preferable.

つぎに、図12および図13を参照して、機器に独立な色信号を画像出力機器に依存する色信号に変換する場合について説明する。なお、図12においては、説明を簡単にするために、L*a*b*のL*データから面積変調型のプリンタのCMYKのK(ブラック)網点面積率への1次元の変換としているが、L*a*b*データからCMYK各色の網点面積率への変換のような多次元入力の場合でも本質的に変わりはない。   Next, with reference to FIG. 12 and FIG. 13, a case where a color signal independent of the device is converted into a color signal dependent on the image output device will be described. In FIG. 12, for the sake of simplicity, the L * data of L * a * b * is converted into a one-dimensional conversion from the CMYK K (black) dot area ratio of the area modulation type printer. However, there is essentially no change even in the case of multi-dimensional input such as conversion from L * a * b * data to the dot area ratio of each color of CMYK.

図12の場合の色変換テーブルは、入力L*データ値が「0」、「32」、「64」、「96」、「128」、「160」、「192」、「224」、「255」の9点の代表点に対するテーブル値としてそれぞれ対応するK網点面積率を有し、代表点に対応付けてK網点面積率がプロットされる。代表点以外の入力L*データ値に対しては、補間により図12のように折れ線近似されることによって、出力のK網点面積率が求められる。K網点面積率は、「0〜100%」の範囲に限られているが、Kデータとしては、そのK網点面積率の「0〜100%」のレンジが「0〜255」の8ビットに量子化される。   In the color conversion table in FIG. 12, the input L * data values are “0”, “32”, “64”, “96”, “128”, “160”, “192”, “224”, “255”. The K halftone dot area ratios corresponding to the representative points are plotted as the table values corresponding to the nine representative points. For input L * data values other than the representative points, a polygonal line approximation as shown in FIG. 12 is performed by interpolation to obtain an output K halftone dot area ratio. The K halftone dot area ratio is limited to the range of “0 to 100%”, but as K data, the range of “0 to 100%” of the K halftone dot area ratio is “0 to 255”. Quantized to bits.

ここで注目すべき点は、入力L*データ値が「0〜32」、および「224〜225」の区間である。図12に示すように、機器に独立な色信号を画像出力機器に依存する色信号に変換する場合も、TRC(Tone Reproduction Curve)の再現開始点および100%の階調になるべき点を、それぞれ入力L*データの最大値「255」の点Sa1および最小値「0」の点Ta1にしたのでは、補間誤差が大きくなる。   The point to be noted here is a section where the input L * data value is “0 to 32” and “224 to 225”. As shown in FIG. 12, when converting a color signal independent of a device into a color signal depending on an image output device, the reproduction start point of TRC (Tone Reproduction Curve) and the point that should be 100% gradation are When the point Sa1 having the maximum value “255” and the point Ta1 having the minimum value “0” are set to the input L * data, the interpolation error becomes large.

図13は、図12の入力L*データ値が「224〜225」の区間を拡大した図である。図13においては、K網点面積率として正負を示しているが、理論上および実際のK網点面積率は正の「0〜100%」の範囲である。また、図13の線A1,A2は、実測値に基づく正しい値であり、線A3は、入力L*データの最大値「255」に対してK網点面積率「0%」を対応させた場合を示している。したがって、この場合の補間誤差は矢印Eの長さで表される。なお、図13の入力L*データ値が「0〜32」の区間や、図11の入力Gデータ値が「224〜255」の区間についても同様である。   FIG. 13 is an enlarged view of the section of FIG. 12 where the input L * data value is “224 to 225”. In FIG. 13, positive / negative is shown as the K halftone dot area ratio, but the theoretical and actual K halftone dot area ratio is in a positive “0 to 100%” range. Further, the lines A1 and A2 in FIG. 13 are correct values based on the actual measurement values, and the line A3 corresponds to the maximum value “255” of the input L * data with the K halftone dot area ratio “0%”. Shows the case. Therefore, the interpolation error in this case is represented by the length of the arrow E. The same applies to the section in which the input L * data value is “0 to 32” in FIG. 13 and the section in which the input G data value is “224 to 255” in FIG.

このような補間誤差を小さくするには、色変換テーブルの格子点間隔を小さくして、折れ線を理想的な曲線に近づければよい。しかしながら、この方法では、色変換テーブルの規模が著しく増大してしまうという問題が生じる。たとえば、RGBデータからL*値への変換のような3次元入力の場合で、格子点数が「9×9×9=729」、出力の例えばL*データが8ビットのときには、729バイトの色変換テーブルとなるが、格子点間隔を各軸方向に1/2にして、格子点数を「17×17×17=4913」にすると、出力の例えばL*データが8ビットのとき、4913バイトの色変換テーブルとなる。   In order to reduce such an interpolation error, the interval between grid points in the color conversion table may be reduced, and the polygonal line may be brought closer to an ideal curve. However, this method has a problem that the scale of the color conversion table is remarkably increased. For example, in the case of three-dimensional input such as conversion from RGB data to L * value, when the number of grid points is “9 × 9 × 9 = 729” and the output L * data is 8 bits, for example, a color of 729 bytes When the grid point interval is halved in each axis direction and the number of grid points is “17 × 17 × 17 = 4913”, for example, when the output L * data is 8 bits, it is 4913 bytes. It becomes a color conversion table.

このような問題を改善するための従来技術として、特許文献2および3がある。特許文献2に記載の従来技術では、定められた範囲の入力色信号の値に対応する複数のテーブル値から補間演算によって出力色信号に変換する際、予め設定された出力色信号の値域を越えたテーブル値を用いて出力色信号を算出するようにしている。   Patent Documents 2 and 3 are conventional techniques for improving such a problem. In the prior art described in Patent Document 2, when a plurality of table values corresponding to input color signal values in a predetermined range are converted into output color signals by interpolation, the preset output color signal value range is exceeded. The output color signal is calculated using the table value.

また、特許文献3に記載の従来技術では、任意の3次元入力色空間における入力カラー画像データに対応する像形成装置用のカラー画像出力値を,前記3次元入力色空間を複数の立体図形に区分分割したときの頂点に設定された出力色ごとの頂点出力値を用いて補間することによって求める色変換装置において、少なくとも2種類の前記像形成装置の色再現域外の色を含む入力カラー画像データを前記像形成装置の色再現域内に圧縮する色空間圧縮手段と、1つの色空間圧縮手段を選択する色空間圧縮手段選択手段と、前記頂点のうち前記色空間圧縮手段により圧縮処理される頂点を選択する頂点選択手段と、前記頂点選択手段により選択された頂点について、前記色空間圧縮手段に対応する出力値を出力色毎に少なくとも2種類記憶する記憶手段と、前記記憶手段に記憶された出力値の中から1つの出力値を選択する選択手段とを有し、前記選択手段は前記色空間圧縮手段選択手段が選択した色空間圧縮手段に対応する出力値を選択するようにしている。   In the prior art described in Patent Document 3, a color image output value for an image forming apparatus corresponding to input color image data in an arbitrary three-dimensional input color space is used, and the three-dimensional input color space is converted into a plurality of three-dimensional figures. Input color image data including at least two types of colors outside the color gamut of the image forming apparatus in a color conversion apparatus obtained by interpolation using vertex output values for each output color set at the vertices when divided into segments A color space compression unit that compresses the image into the color gamut of the image forming apparatus, a color space compression unit selection unit that selects one color space compression unit, and a vertex that is compressed by the color space compression unit among the vertices And at least two types of output values corresponding to the color space compression means are stored for each output color for the vertices selected by the vertex selection means. And a selection unit that selects one output value from the output values stored in the storage unit, and the selection unit corresponds to the color space compression unit selected by the color space compression unit selection unit. The output value is selected.

特公昭58−16180号公報Japanese Patent Publication No.58-16180 特開2000−261679号公報JP 2000-261679 A 特許第3550426号Japanese Patent No. 3550426 第23回画像工学コンファレンス論文集249ページ「プリズム補間を用いたカラー画像のRGB−Lab変換」23rd Image Engineering Conference Proceedings, page 249 “RGB-Lab conversion of color images using prism interpolation”

しかしながら、上記特許文献2および特許文献3に記載の従来技術は、メモリマップ法での色変換精度に関するものであり、分割数が少ない時に像形成装置の色再現最外郭近傍における色変換精度の問題を解決するものである。図14に示すように、均等色空間L*a*b*において、明度一定領域の平面をみると、図中における頂点Aa、Ba、Ca、Daのなかで、像形成装置の色再現域内にあるのは、頂点Caのみであり、色空間を圧縮して色再現域外の頂点Aa、Ba、Daの出力値を、色再現域最外郭の出力値にすると、色再現域外の入力Paの出力値は、実際の色より色再現域内部の色、すなわち、頂点Caに対応する色に近い色として出力されるため、色再現域内部の色を正確に出力する場合に問題があった。   However, the conventional techniques described in Patent Document 2 and Patent Document 3 relate to color conversion accuracy in the memory map method, and the problem of color conversion accuracy near the color reproduction outermost contour of the image forming apparatus when the number of divisions is small. Is a solution. As shown in FIG. 14, in the uniform color space L * a * b *, when the plane of the constant brightness region is viewed, the vertexes Aa, Ba, Ca, Da in the figure are within the color gamut of the image forming apparatus. There is only the vertex Ca. If the output values of the vertices Aa, Ba, Da outside the color reproduction range are made the output values of the outermost color reproduction range by compressing the color space, the output of the input Pa outside the color reproduction range is present. Since the value is output as a color within the color gamut, that is, a color closer to the color corresponding to the vertex Ca than the actual color, there is a problem in correctly outputting the color within the color gamut.

一方、メモリ大容量化・低コスト化と、紙原稿をデジタル画像データにするMFPが有する機能が融合進化し、近年、MFP内部にデジタル画像データを蓄積・保存しておき、その情報が必要になった場合に、再出力する使われ方が増えてきている。   On the other hand, the memory capacity and cost reduction and the functions of MFPs that convert paper documents into digital image data have evolved and evolved. In recent years, digital image data is stored and stored inside the MFP, and the information is required. In such a case, it is increasingly used to re-output.

たとえば、カラーマネージメントにおいては、スキャナで取得した画像のみならず、外部I/F装置から受信したユーザーがMFP内部に蓄積・保存しておいた画像データを出力する際、画像処理を実施する共通の色空間として、標準モニタを想定したsRGB空間より色再現域が広い拡張RGBが設定された場合でも、高精度に色変換することが要求される。   For example, in color management, not only images acquired by a scanner but also image data stored and stored in the MFP by a user received from an external I / F device is commonly used for image processing. Even when extended RGB having a wider color reproduction range than the sRGB space assuming a standard monitor is set as the color space, color conversion with high accuracy is required.

しかしながら、メモリマッピング等で色変換する場合、色空間が広くなるにしたがって、単位体積あたりの格子点(パラメータ)が減少する。そのため、パーソナルコンピュータ等で作成されたグラフィック文書で頻繁に使われる飽和色の色再現の制御と、前述した色再現域境界部での色再現精度の両立がより困難になるという問題もあった。   However, when color conversion is performed by memory mapping or the like, lattice points (parameters) per unit volume decrease as the color space becomes wider. For this reason, there is a problem that it becomes more difficult to achieve both color reproduction control of saturated colors frequently used in graphic documents created by a personal computer or the like and color reproduction accuracy at the color reproduction area boundary described above.

上記特許文献2および特許文献3に記載の従来技術は、いずれも補間併用系の色変換テーブルの規模を増大させることで精度を上げようとしている。しかしながら、基本的に3属性以上で表現される色信号の色変換テーブルにおいては、出力色信号は8ビットから9ビットに拡張しただけでも規模がかなり増大してしまうという問題があった。   The prior arts described in Patent Document 2 and Patent Document 3 both try to increase the accuracy by increasing the scale of the color conversion table of the interpolation combined system. However, in the color conversion table of color signals expressed with three or more attributes basically, there is a problem that the scale of the output color signal increases considerably even if it is expanded from 8 bits to 9 bits.

また、上記特許文献2に記載の従来技術のように出力色信号の値域を越えたテーブル値を用いて出力色信号を算出した後に所定の値域にクリッピング処理する手法では、パーソナルコンピュータ等で作成されたグラフィック文書で頻繁に使われる飽和色の色再現の制御も困難になるという問題があった。   Also, in the technique of calculating an output color signal using a table value exceeding the range of the output color signal as in the prior art described in Patent Document 2 above, a method of performing clipping processing to a predetermined range is created by a personal computer or the like. However, there is a problem that it is difficult to control the color reproduction of saturated colors frequently used in graphic documents.

本発明は、上記に鑑みてなされたものであって、色変換テーブルの規模を増大させることなく、色再現範囲(ガマット)が制限されたカラー画像出力装置の色に高精度に変換できる画像処理装置、画像処理方法、および画像処理プログラムを得ることを目的とする。   The present invention has been made in view of the above, and can perform high-accuracy conversion to a color of a color image output device with a limited color reproduction range (gamut) without increasing the scale of a color conversion table. It is an object to obtain an apparatus, an image processing method, and an image processing program.

上述した課題を解決し、目的を達成するために、請求項1にかかる発明は、少なくとも1台の画像出力装置と接続され、n(nは自然数)次元の色空間で表現される色信号の入力画像データを、該入力画像データとは異なる形式の色信号の出力画像データに変換し、変換した出力画像データを画像出力装置に出力する画像処理装置において、n次元ルックアップテーブルを用いて前記入力画像データを前記出力画像データの形式に色変換し、色変換した画像データの値域を前記画像出力装置が再現できる色域よりも大きな色域まで仮想的に拡張した後に、拡張した画像データの値域を前記出力画像データを出力する前記画像出力装置が再現できる値域にクリップし、クリップした画像データを前記出力画像データとして出力する色変換手段、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, the invention according to claim 1 is connected to at least one image output device, and is a color signal expressed in a color space of n (n is a natural number) dimension. In an image processing apparatus that converts input image data into output image data of a color signal having a format different from that of the input image data, and outputs the converted output image data to an image output apparatus, the n-dimensional lookup table is used to The input image data is color-converted into the format of the output image data, the range of the color-converted image data is virtually expanded to a color gamut larger than the color gamut that can be reproduced by the image output device, and then the expanded image data Color conversion means for clipping a range into a range that can be reproduced by the image output device that outputs the output image data, and outputting the clipped image data as the output image data; Characterized in that it comprises.

また、請求項2にかかる発明は、原稿を読み取ってn(nは自然数)次元の色空間で表現される色信号の入力画像データおよび該入力画像データの属性を示す付帯情報を生成する画像読取り装置と、前記画像読取り装置によって生成された入力画像データを所定の特性に統一した統一画像データを生成する第1の画像データ処理装置と、前記第1の画像データ処理装置によって生成された統一画像データおよび付帯情報を記憶するメモリ装置と、前記メモリ装置に記憶された統一画像データとは異なる形式の色信号の出力画像データを生成する第2の画像データ処理装置と、前記第2の画像データ処理装置によって生成された出力画像データを印字する画像書込み装置と、画像データを処理する外部出力装置と接続するインターフェース機能を有し、前記第2の画像データ処理装置によって生成された出力画像データを前記外部出力装置に出力するインターフェース装置と、を備え、前記第1の画像データ処理装置は、前記画像読取り装置によって生成された入力画像データを前記画像書込み装置および前記インターフェース装置に接続された外部出力装置に対応する特性に統一し、前記第2の画像データ処理装置は、n次元ルックアップテーブルを用いて前記メモリ装置に記憶された統一画像データを前記出力画像データの形式に色変換し、色変換によって得られた画像データの値域を前記画像書込み装置および前記外部出力装置が再現できる色域よりも大きな色域まで仮想的に拡張した後に、拡張した画像データの値域を前記出力画像データの出力先となる画像書込み装置または前記外部出力装置が再現できる色域の値域にクリップし、クリップした画像データを前記出力画像データとして出力する色変換手段を備えること、を特徴とする。   According to a second aspect of the present invention, an image reading is performed in which an original is read to generate input image data of color signals expressed in an n-dimensional color space (n is a natural number) and incidental information indicating attributes of the input image data. A first image data processing device for generating unified image data in which input image data generated by the image reading device is unified with predetermined characteristics, and a unified image generated by the first image data processing device A memory device for storing data and incidental information, a second image data processing device for generating output image data of a color signal in a format different from the unified image data stored in the memory device, and the second image data Interface function for connecting an image writing device for printing output image data generated by a processing device and an external output device for processing image data And an interface device that outputs the output image data generated by the second image data processing device to the external output device, wherein the first image data processing device is generated by the image reading device. The input image data is unified with characteristics corresponding to the image writing device and the external output device connected to the interface device, and the second image data processing device uses the n-dimensional lookup table to store the memory device. The stored unified image data is color-converted into the format of the output image data, and the range of the image data obtained by the color conversion is virtually reduced to a color gamut larger than the color gamut that can be reproduced by the image writing device and the external output device. After the expansion, the range of the expanded image data is set as an image writing device or output destination of the output image data. The clipped to the range of the external output device can reproduce the color gamut, the image data clipped comprise color conversion means for outputting as the output image data, characterized by.

また、請求項3にかかる発明は、請求項1または2にかかる画像処理装置において、前記色変換手段は、前記拡張した画像データの値域をクリップした画像データに対して下色除去の墨処理を施し、墨処理を施した画像データを前記出力画像データとして出力すること、を特徴とする。   According to a third aspect of the present invention, in the image processing apparatus according to the first or second aspect, the color conversion unit performs undercolor removal black processing on the image data obtained by clipping the range of the expanded image data. Image data that has been subjected to black ink processing is output as the output image data.

また、請求項4にかかる発明は、請求項3にかかる画像処理装置において、前記色変換手段は、前記メモリ装置に記憶された付帯情報および/または外部から入力されるモード指定に応じて、色変換によって得られた画像データの値域を拡張する範囲を変更すること、を特徴とする。   According to a fourth aspect of the present invention, in the image processing apparatus according to the third aspect, the color conversion unit is configured to change the color according to the incidental information stored in the memory device and / or the mode designation input from the outside. It is characterized in that the range for extending the range of the image data obtained by the conversion is changed.

また、請求項5にかかる発明は、請求項4にかかる画像処理装置において、前記付帯情報は、前記入力画像データが絵柄領域または文字領域の画素であることを示す情報とすることを特徴とする。   The invention according to claim 5 is the image processing apparatus according to claim 4, wherein the supplementary information is information indicating that the input image data is a pixel in a picture area or a character area. .

また、請求項6にかかる発明は、請求項1〜4の何れか一つに記載の画像処理装置において、前記色変換手段は、前記n次元ルックアップテーブルを用いて変換した画像データを、前記出力画像データのプレーン毎に拡張すること、を特徴とする。   According to a sixth aspect of the present invention, in the image processing apparatus according to any one of the first to fourth aspects, the color conversion unit converts the image data converted using the n-dimensional lookup table, into the image data. It is characterized in that it is expanded for each plane of output image data.

また、請求項7にかかる発明は、少なくとも1台の画像出力装置と接続され、n(nは自然数)次元の色空間で表現される色信号の入力画像データを、該入力画像データとは異なる形式の色信号の出力画像データに変換し、変換した出力画像データを画像出力装置に出力する画像処理装置に適用される画像処理方法において、n次元ルックアップテーブルを用いて前記入力画像データを前記出力画像データの形式に色変換する色変換処理ステップと、前記色変換処理ステップによって色変換された画像データの値域を前記画像出力装置が再現できる色域よりも大きな色域まで仮想的に拡張する拡張処理ステップと、前記拡張処理ステップによって拡張された画像データの値域を前記出力画像データを出力する画像出力装置が再現できる値域にクリップするクリップ処理ステップと、前記クリップ処理ステップによってクリップされた画像データを前記出力画像データとして出力する出力処理ステップと、を備えることを特徴とする。   The invention according to claim 7 is connected to at least one image output device, and input image data of a color signal expressed in an n (n is a natural number) dimensional color space is different from the input image data. In an image processing method applied to an image processing apparatus that converts output image data of a color signal in a format and outputs the converted output image data to an image output apparatus, the input image data is converted to the input image data using an n-dimensional lookup table. A color conversion processing step for color conversion into the format of the output image data, and a value range of the image data color-converted by the color conversion processing step is virtually expanded to a color gamut larger than the color gamut that can be reproduced by the image output device. An expansion processing step and a range of image data expanded by the expansion processing step to a range that can be reproduced by an image output device that outputs the output image data A clip processing step of the lip, characterized in that it comprises an output processing step of outputting the clipped image data as the output image data by the clip processing step.

また、請求項8にかかる発明は、請求項7に記載された画像処理方法をコンピュータで実行させることを特徴とする。   The invention according to claim 8 is characterized in that the image processing method according to claim 7 is executed by a computer.

請求項1にかかる発明によれば、n次元ルックアップテーブルを用いて、n次元の色空間で表現される色信号の入力画像データを、入力画像データとは異なる形式の色信号の形式の出力画像データに色変換し、色変換した画像データの値域を自装置に接続される画像出力装置が再現できる色域よりも大きな色域まで仮想的に拡張した後に、拡張した画像データの値域を出力画像データを出力する前記画像出力装置が再現できる値域にクリップし、クリップした画像データを前記出力画像データとして出力するようにしているため、色変換テーブルの規模を増大させることなく、色再現範囲(ガマット)が制限されたカラー画像出力装置の色に高精度に変換できる画像処理装置を得ることができるという効果を奏する。   According to the first aspect of the present invention, using the n-dimensional lookup table, the input image data of the color signal expressed in the n-dimensional color space is output in the format of the color signal different from the input image data. After color conversion to image data, the range of the color-converted image data is virtually expanded to a color gamut larger than the color gamut that can be reproduced by the image output device connected to the device, and then the range of the expanded image data is output. The image output device that outputs image data is clipped to a range that can be reproduced, and the clipped image data is output as the output image data. Therefore, without increasing the scale of the color conversion table, the color reproduction range ( There is an effect that it is possible to obtain an image processing apparatus capable of converting to a color of a color image output apparatus with a limited gamut) with high accuracy.

また、請求項2にかかる発明によれば、原稿を読み取ってn(nは自然数)次元の色空間で表現される色信号の入力画像データおよび入力画像データの属性を示す付帯情報を生成する画像読取り装置と、画像読取り装置によって生成された入力画像データを所定の特性に統一した統一画像データを生成する第1の画像データ処理装置と、第1の画像データ処理装置によって生成された統一画像データおよび付帯情報を記憶するメモリ装置と、メモリ装置に記憶された統一画像データとは異なる形式の色信号の出力画像データを生成する第2の画像データ処理装置と、第2の画像データ処理装置によって生成された出力画像データを印字する画像書込み装置と、画像データを処理する外部出力装置と接続するインターフェース機能を有し、第2の画像データ処理装置によって生成された出力画像データを前記外部出力装置に出力するインターフェース装置とを備え、第1の画像データ処理装置が、前記画像読取り装置によって生成された入力画像データを画像書込み装置およびインターフェース装置に接続された外部出力装置に対応する特性に統一し、第2の画像データ処理装置が、n次元ルックアップテーブルを用いてメモリ装置に記憶された統一画像データを出力画像データの形式に色変換し、色変換によって得られた画像データの値域を前記画像書込み装置および外部出力装置が再現できる色域よりも大きな色域まで仮想的に拡張した後に、拡張した画像データの値域を出力画像データの出力先となる画像書込み装置または外部出力装置が再現できる色域の値域にクリップし、クリップした画像データを前記出力画像データとして出力するようにしているため、画像読取り装置によって読み込んだ入力画像データを、書込み装置や外部出力装置に再利用することを可能とするとともに、色変換テーブルの規模を増大させることなく、色再現範囲(ガマット)が制限されたカラー画像出力装置の色に高精度に変換できる画像処理装置を得ることができるという効果を奏する。   According to the second aspect of the present invention, an image is generated by reading a document and generating input image data of color signals expressed in an n-dimensional color space (n is a natural number) and auxiliary information indicating attributes of the input image data. A first image data processing device that generates unified image data in which input image data generated by the image reading device is unified with predetermined characteristics; and unified image data generated by the first image data processing device. And a memory device for storing auxiliary information, a second image data processing device for generating output image data of a color signal in a format different from the unified image data stored in the memory device, and a second image data processing device. An interface function for connecting an image writing device for printing the generated output image data and an external output device for processing the image data; And an interface device that outputs the output image data generated by the image data processing device to the external output device. The first image data processing device outputs the input image data generated by the image reading device to the image writing device and The characteristics corresponding to the external output device connected to the interface device are unified, and the second image data processing device converts the unified image data stored in the memory device into a format of output image data using an n-dimensional lookup table. After color conversion, the range of image data obtained by color conversion is virtually expanded to a color gamut larger than the color gamut that can be reproduced by the image writing device and the external output device, and then the range of the expanded image data is output as an image Clip to the color gamut range that can be reproduced by the image writing device or external output device that is the data output destination, Since the ripped image data is output as the output image data, the input image data read by the image reading device can be reused for the writing device and the external output device, and the color conversion table There is an effect that it is possible to obtain an image processing apparatus capable of converting to a color of a color image output apparatus with a limited color reproduction range (gamut) without increasing the scale.

また、請求項3にかかる発明によれば、拡張した画像データの値域をクリップした画像データに対して下色除去の墨処理を施し、墨処理を施した画像データを出力画像データとして出力するようにしているため、入力カラー画像の特性に応じて、色変換テーブルの規模を増大させることなく、カラー画像出力装置の色再現範囲(ガマット)を最大限に活用しながら、文字・絵柄等に適したカラーマッチング処理する画像処理装置を得ることができるという効果を奏する。   According to the third aspect of the present invention, the image data obtained by clipping the range of the expanded image data is subjected to black processing for removing the lower color, and the image data subjected to the black processing is output as output image data. Therefore, according to the characteristics of the input color image, it does not increase the scale of the color conversion table, and it is suitable for characters, designs, etc. while maximizing the color reproduction range (gamut) of the color image output device. In addition, there is an effect that an image processing apparatus that performs color matching processing can be obtained.

また、請求項4にかかる発明によれば、メモリ装置に記憶された付帯情報および/または外部から入力されるモード指定に応じて、色変換によって得られた画像データの値域を拡張する範囲を変更するようにしているため、メモリ装置に蓄積された統一画像データに対して加工などを実施して再利用する場合でも、入力カラー画像の特性に応じて、色変換テーブルの規模を増大させることなく、色再現範囲(ガマット)が制限されたカラー画像出力装置の色に高精度に変換する画像処理装置を得ることができるという効果を奏する。   According to the invention of claim 4, the range for expanding the range of the image data obtained by the color conversion is changed in accordance with the auxiliary information stored in the memory device and / or the mode designation input from the outside. Therefore, even when the unified image data stored in the memory device is processed and reused, it does not increase the scale of the color conversion table according to the characteristics of the input color image. Thus, there is an effect that it is possible to obtain an image processing apparatus that can convert the color reproduction range (gamut) into colors of a color image output apparatus with a limited color reproduction range (gamut).

また、請求項5にかかる発明によれば、付帯情報は、入力画像データが絵柄領域または文字領域の画素であることを示す情報とするようにしているため、画像データを拡張する範囲を絵柄領域と文字領域とで異ならせることができ、入力カラー画像の特性に応じて、色変換テーブルの規模を増大させることなく、カラー画像出力装置の色再現範囲(ガマット)を最大限に活用しながら、文字・絵柄等に適したカラーマッチング処理する画像処理装置を得ることができるという効果を奏する。   According to the invention according to claim 5, since the incidental information is information indicating that the input image data is a pixel of the picture area or the character area, the range in which the image data is expanded is the picture area. And the character area, and according to the characteristics of the input color image, without increasing the scale of the color conversion table, while making the best use of the color reproduction range (gamut) of the color image output device, There is an effect that it is possible to obtain an image processing apparatus that performs color matching processing suitable for characters, pictures, and the like.

また、請求項6にかかる発明によれば、n次元ルックアップテーブルを用いて変換した画像データを、出力画像データのプレーン毎に拡張するようにしているため、色再現域が広い拡張RGB空間とカラー画像出力装置の色再現範囲(ガマット)の形状が大きく異なる場合でも、色変換テーブルの規模を増大させることなく、カラー画像出力装置の色に高精度に変換する画像処理装置を得ることができるという効果を奏する。   According to the invention of claim 6, since the image data converted using the n-dimensional lookup table is expanded for each plane of the output image data, the extended RGB space having a wide color reproduction range and Even when the color reproduction range (gamut) of the color image output device is greatly different, it is possible to obtain an image processing device that converts the color of the color image output device with high accuracy without increasing the scale of the color conversion table. There is an effect.

また、請求項7にかかる発明によれば、色変換処理ステップがn次元ルックアップテーブルを用いて、n次元の色空間で表現される色信号の入力画像データを、入力画像データとは異なる形式の色信号の形式の出力画像データに色変換し、拡張処理ステップが、色変換処理ステップによって色変換された画像データの値域を画像出力装置が再現できる色域よりも大きな色域まで仮想的に拡張し、クリップ処理ステップが拡張処理ステップによって拡張された画像データの値域を前記出力画像データを出力する画像出力装置が再現できる値域にクリップし、出力処理ステップがクリップ処理ステップによってクリップされた画像データを出力画像データとして出力するようにしているため、色変換テーブルの規模を増大させることなく、色再現範囲(ガマット)が制限されたカラー画像出力装置の色に高精度に変換できる画像処理方法を得ることができるという効果を奏する。   According to the invention of claim 7, the color conversion processing step uses an n-dimensional lookup table to convert the input image data of the color signal expressed in the n-dimensional color space into a format different from the input image data. The color conversion is performed on the output image data in the color signal format, and the expansion processing step virtually performs a color gamut larger than the color gamut that the image output device can reproduce the range of the image data color-converted by the color conversion processing step. The image data that has been extended and clipped in the clip processing step is clipped to a value range that can be reproduced by the image output device that outputs the output image data, and the output processing step is clipped by the clip processing step. Is output as output image data, so color reproduction is possible without increasing the scale of the color conversion table. An effect that it is possible to obtain an image processing method that can be converted to high-precision color of the color image output apparatus circumference (gamut) is limited.

また、請求項8にかかる発明によれば、色変換処理ステップがn次元ルックアップテーブルを用いて、n次元の色空間で表現される色信号の入力画像データを、入力画像データとは異なる形式の色信号の形式の出力画像データに色変換し、拡張処理ステップが、色変換処理ステップによって色変換された画像データの値域を画像出力装置が再現できる色域よりも大きな色域まで仮想的に拡張し、クリップ処理ステップが拡張処理ステップによって拡張された画像データの値域を前記出力画像データを出力する画像出力装置が再現できる値域にクリップし、出力処理ステップがクリップ処理ステップによってクリップされた画像データを出力画像データとして出力するようにしているため、色変換テーブルの規模を増大させることなく、色再現範囲(ガマット)が制限されたカラー画像出力装置の色に高精度に変換できる画像処理プログラムを得ることができるという効果を奏する。   According to the invention of claim 8, the color conversion processing step uses an n-dimensional lookup table to convert the input image data of the color signal expressed in the n-dimensional color space into a format different from the input image data. The color conversion is performed on the output image data in the color signal format, and the expansion processing step virtually performs a color gamut larger than the color gamut that the image output device can reproduce the range of the image data color-converted by the color conversion processing step. The image data that has been extended and clipped in the clip processing step is clipped to a value range that can be reproduced by the image output device that outputs the output image data, and the output processing step is clipped by the clip processing step. Is output as output image data, so color reproduction is possible without increasing the scale of the color conversion table. An effect that it is possible to obtain an image processing program that can be converted to high-precision color of the color image output apparatus circumference (gamut) is limited.

以下に添付図面を参照して、この発明にかかる画像処理装置、画像処理方法、および画像処理プログラムの最良な実施の形態を詳細に説明する。   Exemplary embodiments of an image processing apparatus, an image processing method, and an image processing program according to the present invention are explained in detail below with reference to the accompanying drawings.

図1〜図10を参照して、この発明の実施の形態を説明する。図1は、この発明の実施の形態おける画像処理装置の構成を示すブロック図である。図1において、画像処理装置は、読取り装置1、画像データ処理装置2,4、バス制御装置3、HDD5、CPU6、メモリ7、プロッタI/F装置8、プロッタ装置9、操作表示装置10、回線I/F装置11、外部I/F装置12、サウスブリッジ装置13、およびROM14を備えており、FAX15およびパーソナルコンピュータ(以下、PCとする)16と接続される。   An embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention. In FIG. 1, an image processing apparatus includes a reading apparatus 1, image data processing apparatuses 2 and 4, a bus control apparatus 3, an HDD 5, a CPU 6, a memory 7, a plotter I / F apparatus 8, a plotter apparatus 9, an operation display apparatus 10, and a line. An I / F device 11, an external I / F device 12, a south bridge device 13, and a ROM 14 are provided, and are connected to a FAX 15 and a personal computer (hereinafter referred to as a PC) 16.

読取り装置1は、CCD光電変換素子からなるラインセンサとA/Dコンバータと、それらの駆動回路を備えており、原稿をスキャンして得られる原稿の濃淡情報からデジタルの入力画像データを生成する。入力画像データには、原稿(画像)の各画素毎の赤(R)、緑(G)、青(B)の画像データと当該画像データの付帯情報とが含まれる。付帯情報は、画像データの属性を示す情報であり、ここでは、付帯情報は、絵柄領域の画素であるのか、文字領域の画素であるのかを示す像域分離信号とするが、付帯情報はこれに限るものではない。たとえば、付帯情報として、パーソナルコンピュータなどで作成されたグラフィック文書であるのか、スキャナなどで読み取った写真原稿であるのかを示す入力カラー画像の特性を示す信号を用いるようにしてもよい。以下、R、G、Bのそれぞれの画像データをR画像データ、G画像データ、B画像データと呼び、R画像データ、G画像データ、B画像データを合わせてRGB画像データと呼ぶことがある。   The reading device 1 includes a line sensor composed of a CCD photoelectric conversion element, an A / D converter, and a drive circuit thereof, and generates digital input image data from density information of a document obtained by scanning the document. The input image data includes red (R), green (G), and blue (B) image data for each pixel of the document (image) and accompanying information of the image data. The incidental information is information indicating the attribute of the image data. Here, the incidental information is an image area separation signal indicating whether the pixel is a picture area pixel or a character area pixel. It is not limited to. For example, as auxiliary information, a signal indicating the characteristics of an input color image indicating whether it is a graphic document created by a personal computer or a photo original read by a scanner or the like may be used. Hereinafter, R, G, and B image data may be referred to as R image data, G image data, and B image data, and R image data, G image data, and B image data may be collectively referred to as RGB image data.

画像データ処理装置2は、読取り装置1によって生成された入力画像データのRGB画像データを予め定められた特性に統一し、特性を統一した統一RGB画像データと統一RGB画像データに対応する付帯情報を含む統一画像データを生成する。図2は、画像データ処理装置2の構成を示すブロック図である。図2において、画像データ処理装置2は、γ変換部20、フィルタ処理部21、色変換部22、および変倍処理部23を備えている。   The image data processing device 2 unifies the RGB image data of the input image data generated by the reading device 1 with predetermined characteristics, and combines the unified RGB image data with the unified characteristics and the incidental information corresponding to the unified RGB image data. Generate unified image data. FIG. 2 is a block diagram showing a configuration of the image data processing device 2. In FIG. 2, the image data processing apparatus 2 includes a γ conversion unit 20, a filter processing unit 21, a color conversion unit 22, and a scaling processing unit 23.

γ変換部20は、読取り装置1によって生成された入力画像データのRGB画像データの明るさを、予め定められた特性に統一する。フィルタ処理部21は、γ変換部20によって明るさの特性が統一されたRGB画像データの鮮鋭性を、予め定められた特性に統一する。色変換部22は、フィルタ処理部21によって鮮鋭性が統一されたRGB画像データの色を、予め定められた特性に統一する。変倍処理部23は、色変換部22によって色が統一されたRGB画像データのサイズ(解像度)を、予め定められた特性に統一する。また、変倍処理部23は、サイズを統一したRGB画像データの画素に対応付けた像域分離信号を生成し、サイズを統一したRGB画像データとこのRGB画像データの像域分離信号を含む統一画像データを生成する。   The γ conversion unit 20 unifies the brightness of the RGB image data of the input image data generated by the reading device 1 to a predetermined characteristic. The filter processing unit 21 unifies the sharpness of the RGB image data whose brightness characteristics are unified by the γ conversion unit 20 to predetermined characteristics. The color conversion unit 22 unifies the colors of the RGB image data whose sharpness is unified by the filter processing unit 21 to a predetermined characteristic. The scaling processing unit 23 unifies the size (resolution) of the RGB image data whose colors are unified by the color conversion unit 22 to a predetermined characteristic. In addition, the scaling processing unit 23 generates an image area separation signal associated with the pixels of the RGB image data having a uniform size, and includes a unified image including the RGB image data having the uniform size and the image area separation signal of the RGB image data. Generate image data.

図1に戻って、バス制御装置3は、複数主のバス規格間のブリッジ機能を有し、画像処理装置内で必要な画像データ(像息分離信号を含む)や制御コマンドなどの各種データをやり取りするデータバスを制御する。図1においては、画像データ処理装置2,4とCPU6とはPCI−Expressバスによって接続され、HDD5とはATAバスによって接続されており、ASIC化されている。   Returning to FIG. 1, the bus control device 3 has a bridge function between a plurality of main bus standards, and stores various data such as image data (including an image separation signal) and control commands necessary in the image processing device. Controls the data bus to be exchanged. In FIG. 1, the image data processing devices 2 and 4 and the CPU 6 are connected by a PCI-Express bus, and are connected to the HDD 5 by an ATA bus and are made into an ASIC.

画像データ処理装置4は、画像データ処理装置2によって特性が統一された統一画像データを、ユーザーから指定される出力先に適した出力画像データに変換する。図3は、画像データ処理装置4の構成を示すブロック図である。図3において、画像データ処理装置4は、フィルタ処理部40、色変換部41、変倍処理部42、および階調処理部43を備えている。フィルタ処理部40は、統一RGB画像データの鮮鋭性を補正するとともに、画像の特徴量(エッジ量の情報)を抽出する。   The image data processing device 4 converts the unified image data whose characteristics are unified by the image data processing device 2 into output image data suitable for the output destination designated by the user. FIG. 3 is a block diagram showing the configuration of the image data processing device 4. In FIG. 3, the image data processing device 4 includes a filter processing unit 40, a color conversion unit 41, a scaling processing unit 42, and a gradation processing unit 43. The filter processing unit 40 corrects the sharpness of the unified RGB image data and extracts image feature amounts (edge amount information).

色変換部41は、フィルタ処理部40によって鮮鋭性が補正された統一RGB画像データに対して、RGBからCMYKやR’G’B’へのカラーマッチングや、色の変換を行う。また、色変換部41は、フィルタ処理部40によって抽出された特徴量に応じて墨を適応的に生成するとともに、像域分離信号に基づいて絵柄・文字に適した下色除去(UCR:Under Color Removal)および下色加色(UCA)を行って効果的な墨処理を行う。さらに、色変換部41は、必要に応じてアンダーカラー処理を行う。   The color conversion unit 41 performs color matching from RGB to CMYK or R′G′B ′ and color conversion on the unified RGB image data whose sharpness has been corrected by the filter processing unit 40. Further, the color conversion unit 41 adaptively generates black according to the feature amount extracted by the filter processing unit 40, and removes under color (UCR: Under) suitable for the pattern / character based on the image area separation signal. Color removal) and under color addition (UCA) are performed to perform effective blackening. Furthermore, the color conversion unit 41 performs undercolor processing as necessary.

図4は、図3に示した色変換部41の構成を示すブロック図である。図4において、色変換部41は、線形マスキング処理部411、三次元LUT変換部412、GCR処理部413、UCR処理部414、および、UCA処理部415を備えている。   FIG. 4 is a block diagram showing a configuration of the color conversion unit 41 shown in FIG. 4, the color conversion unit 41 includes a linear masking processing unit 411, a three-dimensional LUT conversion unit 412, a GCR processing unit 413, a UCR processing unit 414, and a UCA processing unit 415.

線形マスキング処理部411は、フィルタ処理部40によって鮮鋭性が補正された統一RGB画像データIN(IN_R,IN_G,IN_Bを示す)に線形マスキング処理を施したマスキングRGB画像データmsk(msk_R,msk_G,msk_Bを示す)およびマスキングK画像データmsk_kを生成する。   The linear masking processing unit 411 performs masking RGB image data msk (msk_R, msk_G, msk_B) obtained by performing linear masking processing on the unified RGB image data IN (showing IN_R, IN_G, IN_B) whose sharpness has been corrected by the filter processing unit 40. And masking K image data msk_k.

三次元LUT変換部412は、線形マスキング処理部411によって生成されたマスキングRGB画像データmskに対して3次元LUTによる色変換を行ってCMYK画像データlut(lut_c,lut_m,lut_y,lut_kを示す)を生成する。   The three-dimensional LUT conversion unit 412 performs color conversion by the three-dimensional LUT on the masking RGB image data msk generated by the linear masking processing unit 411, and generates CMYK image data lut (indicating lut_c, lut_m, lut_y, lut_k). Generate.

図5は、三次元LUT変換部412の構成を示すブロック図である。図5において、三次元LUT変換部412は、三次元LUT色変換部(以下、3DLUT色変換部とする)4121と、mink算出部4122と、セレクタ4123とを備えている。   FIG. 5 is a block diagram illustrating a configuration of the three-dimensional LUT conversion unit 412. In FIG. 5, the three-dimensional LUT conversion unit 412 includes a three-dimensional LUT color conversion unit (hereinafter referred to as 3DLUT color conversion unit) 4121, a mink calculation unit 4122, and a selector 4123.

3DLUT色変換部4121は、絵柄領域用LUT4121aおよび文字領域用LUT4121bの2種類の三次元LUTを有し、像域分離信号sepiによって絵柄領域用LUT4121aまたは文字領域用LUT4121bを選択する。3DLUT色変換部4121は、選択したLUTを用いて画素毎にマスキングRGB画像データmskに対する3次元メモリマップ補間によってRGBからCMYKへの変換を行って、C画像データlut_c、M画像データlut_m、およびY画像データlut_y生成する。   The 3DLUT color conversion unit 4121 has two types of three-dimensional LUTs, a design area LUT 4121a and a text area LUT 4121b, and selects the design area LUT 4121a or the text area LUT 4121b based on the image area separation signal sepi. The 3DLUT color conversion unit 4121 performs conversion from RGB to CMYK by three-dimensional memory map interpolation on the masking RGB image data msk for each pixel using the selected LUT, and performs C image data lut_c, M image data lut_m, and Y Image data lut_y is generated.

mink算出部4122は、3DLUT色変換部4121によって生成されたCMY画像データlut_cmy(lut_c,lut_m,lut_yを示す)の最小値minkを算出する。セレクタ4123は、像域分離信号sepiに基づいてmink算出部4122によって算出された最小値mink、または線形マスキング処理部411によって生成されたマスキングK画像データmsk_kを選択してK画像データlut_kとして出力する。   The mink calculation unit 4122 calculates the minimum value mink of the CMY image data lut_cmy (showing lut_c, lut_m, and lut_y) generated by the 3DLUT color conversion unit 4121. The selector 4123 selects the minimum value mink calculated by the mink calculation unit 4122 based on the image area separation signal sepi or the masking K image data msk_k generated by the linear masking processing unit 411 and outputs it as K image data lut_k. .

図4に戻って、GCR処理部413は、GCRモード信号gcr_mode、像域分離信号sepiおよび特徴量gcr_edgeiに基づいて三次元LUT変換部412によって生成されたK画像データlut_kに対して墨生成を行ったK画像データgcr_bkを生成する。また、GCR処理部413は、GCRモード信号gcr_modeと像域分離信号sepiとに基づいて、生成したK画像データgcr_bkからUCR処理に用いるUCR用の墨量を示すUCR用K画像データucr_bkを生成する。   Returning to FIG. 4, the GCR processing unit 413 performs black generation on the K image data lut_k generated by the three-dimensional LUT conversion unit 412 based on the GCR mode signal gcr_mode, the image area separation signal sepi, and the feature amount gcr_edgei. K image data gcr_bk is generated. Also, the GCR processing unit 413 generates UCR K image data ucr_bk indicating the amount of UCR black used for UCR processing from the generated K image data gcr_bk based on the GCR mode signal gcr_mode and the image area separation signal sepi. .

UCR処理部414は、UCRモード信号ucr_modeとGCR処理部413によって生成されたK画像データucr_bkとに基づいて、三次元LUT変換部412によって生成されたCMY画像データlut_cmyに対してUCR処理を行なってCMY画像データlut_cmyを補正したCMY画像データucr_cmy(ucr_c,ucr_m,ucr_yを示す)を生成する。   The UCR processing unit 414 performs UCR processing on the CMY image data lut_cmy generated by the three-dimensional LUT conversion unit 412 based on the UCR mode signal ucr_mode and the K image data ucr_bk generated by the GCR processing unit 413. CMY image data ucr_cmy (indicating ucr_c, ucr_m, and ucr_y) obtained by correcting the CMY image data lut_cmy is generated.

UCA処理部415は、UCAモード信号uca_modeおよびGCR処理部413によって生成されたK画像データgcr_bkに基づいて、UCR処理部414によって生成されたCMY画像データucr_cmyに対してUCR処理を行ってCMY画像データucr_cmyを補正したCMY画像データuca(uca_c,uca_m,uca_yを示す)を生成する。   The UCA processing unit 415 performs UCR processing on the CMY image data ucr_cmy generated by the UCR processing unit 414 based on the UCA mode signal uca_mode and the K image data gcr_bk generated by the GCR processing unit 413, thereby obtaining CMY image data. CMY image data uca (indicating uca_c, uca_m, and uca_y) in which ucr_cmy is corrected is generated.

図3に戻って、変倍処理部42は、色変換部41によって変換されたCMYK画像データのサイズ(解像度)を変換する。階調処理部43は、変倍処理部42によってサイズが変換されたCMYK画像データの階調数を変換する。   Returning to FIG. 3, the scaling processing unit 42 converts the size (resolution) of the CMYK image data converted by the color conversion unit 41. The gradation processing unit 43 converts the number of gradations of the CMYK image data whose size has been converted by the scaling processing unit 42.

図1に戻って、HDD5は、IDE(Integrated Drive Electronics)を拡張して規格化されているATA(AT Attachment)バス接続の大容量のハードディスク記憶装置で、主に画像データおよび画像データの付帯情報(この場合は像域分離信号)を蓄積する。   Returning to FIG. 1, the HDD 5 is a large-capacity hard disk storage device connected to an ATA (AT Attachment) bus, which is standardized by expanding IDE (Integrated Drive Electronics), and mainly includes image data and incidental information of the image data. (In this case, the image area separation signal) is accumulated.

CPU6は、画像処理装置の制御を司るマイクロプロセッサである。たとえば、PMC社のRM11100など、CPUコア単体に汎用規格I/Fとの接続機能や、クロスバースイッチを使ったこれらバス接続機能を追加したCPUを使用する。   The CPU 6 is a microprocessor that controls the image processing apparatus. For example, a CPU in which a connection function with a general-purpose standard I / F or a bus connection function using a crossbar switch is added to a CPU core alone, such as RM11100 manufactured by PMC.

メモリ7は、複数種のバス間をブリッジする際の速度差や、接続された部品自体の処理速度差を吸収するために、一時的にやりとりするデータを記憶するとともに、CPU6が画像処理装置の制御を行う際に、プログラムや中間処理データを一時的に記憶する揮発性メモリである。CPU6は、高速処理が求められるため、通常起動時にROM14に記憶されたブートプログラムによってシステムを起動し、起動後は高速アクセス可能なメモリ7に展開されたプログラムによって処理を行なう。よって、メモリ7は、高速アクセス可能なデバイス、たとえば、規格化されたパーソナルコンピュータに用いられるDIMMなどを使用する。   The memory 7 stores data to be temporarily exchanged in order to absorb a speed difference when bridging a plurality of types of buses and a processing speed difference between the connected components themselves. It is a volatile memory that temporarily stores programs and intermediate processing data when performing control. Since the CPU 6 is required to perform high-speed processing, the system is activated by the boot program stored in the ROM 14 at the normal activation, and after the activation, the processing is performed by the program developed in the memory 7 that can be accessed at high speed. Therefore, the memory 7 uses a device that can be accessed at high speed, for example, a DIMM used in a standardized personal computer.

プロッタI/F装置8は、CPU6とプロッタ装置9との間のバスブリッジ処理を行う。バスブリッジ処理とは、CPU6にインテグレートされた汎用規格I/F(たとえば、PCI−Expressバス)経由で送られてくるCMYKのデジタル画像データを、プロッタ装置9の専用I/Fに出力する処理である。   The plotter I / F device 8 performs a bus bridge process between the CPU 6 and the plotter device 9. The bus bridge process is a process for outputting CMYK digital image data sent via a general-purpose standard I / F integrated in the CPU 6 (for example, a PCI-Express bus) to a dedicated I / F of the plotter device 9. is there.

プロッタ装置9は、プロッタI/F装置8から入力されるCMYKのデジタル画像データを転写紙に印刷する。印刷には、たとえば、レーザービームを用いた電子写真プロセスなどを用いる。   The plotter device 9 prints CMYK digital image data input from the plotter I / F device 8 on a transfer sheet. For printing, for example, an electrophotographic process using a laser beam is used.

操作表示装置10は、LCD(液晶表示装置)とキースイッチから構成され、PCI−Expressバスを介してCPU6と接続されており、画像処理装置とユーザーのインターフェースを行う部分である。操作表示装置10は、画像処理装置の各種状態や操作方法などをLCDに表示するとともに、キースイッチ入力を検知することでユーザーからの入力を認識する。   The operation display device 10 includes an LCD (liquid crystal display device) and a key switch, and is connected to the CPU 6 via a PCI-Express bus, and is a portion that performs an interface between the image processing device and the user. The operation display device 10 displays various states and operation methods of the image processing device on the LCD, and recognizes an input from the user by detecting a key switch input.

回線I/F装置11は、PCI−Expressバスと電話回線を接続する。外部I/F装置12は、PCI−Expressバスと外部装置を接続する。外部I/F装置12により、画像処理装置は外部装置と各種データのやり取りを行う。その接続インターフェースに、たとえば、LAN(Local Area Network)を使用する。すなわち、画像処理装置は、外部I/F装置12を介してネットワークに接続している。   The line I / F device 11 connects a PCI-Express bus and a telephone line. The external I / F device 12 connects a PCI-Express bus and an external device. With the external I / F device 12, the image processing device exchanges various data with the external device. For example, a LAN (Local Area Network) is used as the connection interface. That is, the image processing apparatus is connected to the network via the external I / F apparatus 12.

サウスブリッジ装置13は、パーソナルコンピュータに使用されるチップセットのひとつで、South Bridgeと呼ばれる汎用の電子デバイスである。主にPCI−ExpressとISAブリッジ含むCPUシステムを構築する際によく使用されるバスのブリッジ機能を汎用回路化したもので、ROM14との間をブリッジしている。ROM14は、CPU6が画像処理装置の制御を行う際のプログラム(ブートプログラムを含む)が格納されるメモリである。   The south bridge device 13 is one of chip sets used for a personal computer and is a general-purpose electronic device called South Bridge. The bus bridge function often used when constructing a CPU system mainly including PCI-Express and ISA bridge is formed as a general-purpose circuit, and bridges between the ROM 14. The ROM 14 is a memory that stores a program (including a boot program) used when the CPU 6 controls the image processing apparatus.

FAX15は、通常のファクシミリで、電話回線を介して画像処理装置と画像データの授受を行う。PC16は、いわゆるパーソナルコンピュータである。パーソナルコンピュータにインストールされたアプリケーションソフトやドライバを介して、ユーザーは画像処理装置に対して各種制御や画像データの入出力を行う。   The FAX 15 is a normal facsimile and exchanges image data with an image processing apparatus via a telephone line. The PC 16 is a so-called personal computer. A user performs various controls and input / output of image data with respect to the image processing apparatus via application software and a driver installed in the personal computer.

つぎに、この発明の実施の形態の画像処理装置の動作を説明する。まず、図1を参照して、画像処理装置の概略動作について説明する。読取り装置1は、セットされた原稿をスキャンし、スキャンして得られた原稿の濃淡情報から、RGB各8ビットの入力画像データを生成する。読取り装置1は、生成した入力画像データを画像データ処理装置2に出力する。   Next, the operation of the image processing apparatus according to the embodiment of the present invention will be described. First, the schematic operation of the image processing apparatus will be described with reference to FIG. The reading device 1 scans a set original and generates 8-bit RGB input image data from the density information of the original obtained by scanning. The reading device 1 outputs the generated input image data to the image data processing device 2.

画像データ処理装置2は、読取り装置1から入力された入力画像データに対して、予め定めた特性に統一する特性統一処理を施す。予め定めた特性とは、入力画像データを画像処理装置内部に蓄積し、その後再利用する場合に、出力先の変更に適する特性であり、具体的には、明るさ、鮮鋭性、色、解像度の特性である。なお、特性統一処理の詳細に付いては後述する。   The image data processing device 2 performs characteristic unification processing for unifying the input image data input from the reading device 1 to predetermined characteristics. The predetermined characteristics are characteristics suitable for changing the output destination when the input image data is stored in the image processing apparatus and then reused. Specifically, brightness, sharpness, color, resolution It is a characteristic. Details of the characteristic unification processing will be described later.

画像データ処理装置2と画像データ処理装置4とCPU6は、PCI−Expressバスで接続されている。HDD5とはATAバスで接続されている。CPU6は高速処理を求められるため、通常起動時にROM14に記憶されたブートプログラムにてシステムを起動し、その後は高速にアクセス可能なメモリ7に展開されたプログラムによって処理を行う。   The image data processing device 2, the image data processing device 4, and the CPU 6 are connected by a PCI-Express bus. The HDD 5 is connected by an ATA bus. Since the CPU 6 is required to perform high-speed processing, the system is activated by a boot program stored in the ROM 14 at normal activation, and thereafter, the processing is performed by a program developed in the memory 7 that can be accessed at high speed.

画像データ処理装置4は、画像データ処理装置2によって特性統一処理が施されたデジタル画像データに対して、操作表示装置10を介してユーザーから指定された出力先に応じて鮮鋭性の補正や、RGBからCMYKへの変換、解像度の変換、階調数の変換などの変換処理を施す。なお、変換処理の詳細については後述する。   The image data processing device 4 corrects the sharpness according to the output destination designated by the user via the operation display device 10 for the digital image data subjected to the characteristic unification processing by the image data processing device 2, Conversion processing such as conversion from RGB to CMYK, resolution conversion, and gradation number conversion is performed. Details of the conversion process will be described later.

プロッタI/F装置8は、CPU6に内蔵された汎用規格I/F(この場合は、PCI−Expressバス)経由で送られてくるCMYKの画像データが入力されると、プロッタ装置9の専用I/Fに出力するバスブリッジ処理を行う。プロッタ装置9は、CMYKの画像データが入力されると、レーザービームを用いた電子写真プロセスを使って、受け取った画像データを転写紙に出力する。操作表示装置10は、画像処理装置の各種状態や操作方法をLCDに表示し、ユーザーからのキースイッチ入力を検知する。画像処理装置は、回線I/F装置11により、電話回線を介して各種データのやり取りを行う。FAX15は、通常のファクシミリで、電話回線を介してデジタル画像処理装置と画像データの授受を行う。   The plotter I / F device 8 receives the dedicated I / F of the plotter device 9 when CMYK image data sent via a general-purpose standard I / F (in this case, a PCI-Express bus) built in the CPU 6 is input. Performs bus bridge processing to output to / F. When the CMYK image data is input, the plotter device 9 outputs the received image data to transfer paper using an electrophotographic process using a laser beam. The operation display device 10 displays various states and operation methods of the image processing device on the LCD, and detects a key switch input from the user. The image processing apparatus uses the line I / F device 11 to exchange various data via a telephone line. The FAX 15 is a normal facsimile and exchanges image data with a digital image processing apparatus via a telephone line.

つぎに、図1を参照して、この実施の形態の画像処理装置のコピー動作に付いて説明する。ユーザーは、原稿を読取り装置1にセットし、操作表示装置10を用いて、所望するモード等を設定してコピー開始の指示を入力する。操作表示装置10は、ユーザーから入力された情報を、機器内部の制御コマンドデータに変換して、制御コマンドを発行する。制御コマンドは、PCI−Expressバスを介してCPU6に通知される。CPU6は、コピー開始の制御コマンドデータにしたがって、コピー動作プロセスのプログラムを実行し、コピー動作に必要な設定や動作を順に行う。   Next, the copying operation of the image processing apparatus according to this embodiment will be described with reference to FIG. The user sets a document on the reading device 1, and uses the operation display device 10 to set a desired mode and input a copy start instruction. The operation display device 10 converts information input from the user into control command data inside the device, and issues a control command. The control command is notified to the CPU 6 via the PCI-Express bus. The CPU 6 executes a copy operation process program in accordance with the copy start control command data, and sequentially performs settings and operations necessary for the copy operation.

読取り装置1は、原稿をスキャンして得られたRGB各8ビットの入力画像データ(RGB画像データおよび付帯情報)を画像データ処理装置2に出力する。画像データ処理装置2は、読取り装置1から入力されたRGB画像データに特性統一処理を施してバス制御装置3に出力する。バス制御装置3は、画像データ処理装置2から入力された統一RGB画像データおよび付帯情報をCPU6に出力し、CPU6は統一RGB画像データおよび付帯情報をメモリ7に蓄積させる。   The reading device 1 outputs RGB 8-bit input image data (RGB image data and supplementary information) obtained by scanning a document to the image data processing device 2. The image data processing device 2 performs characteristic unification processing on the RGB image data input from the reading device 1 and outputs it to the bus control device 3. The bus control device 3 outputs the unified RGB image data and the accompanying information input from the image data processing device 2 to the CPU 6, and the CPU 6 stores the unified RGB image data and the accompanying information in the memory 7.

CPU6は、メモリ7に蓄積された統一RGB画像データおよび付帯情報を読み出し、読み出した統一RGB画像データおよび付帯情報バス制御装置3を介して画像データ処理装置4に出力する。画像データ処理装置4は、入力された統一RGB画像データに変換処理を施してCMYKの画像データを生成し、生成したCMYKの画像データをバス制御装置3に出力する。   The CPU 6 reads the unified RGB image data and supplementary information stored in the memory 7 and outputs the unified RGB image data and supplementary information to the image data processing device 4 through the readout unified RGB image data and supplementary information bus control device 3. The image data processing device 4 performs a conversion process on the input unified RGB image data to generate CMYK image data, and outputs the generated CMYK image data to the bus control device 3.

バス制御装置3は、画像データ処理装置4から入力されたCMYKの画像データを、CPU6を介してメモリ7に蓄積する。メモリ7に蓄積されたCMYKの画像データは、CPU6およびプロッタI/F装置8を介して、プロッタ装置9に出力される。プロッタ装置9は、入力されたCMYKの画像データを転写紙に出力する。これにより、読取り装置1にセットされた原稿のコピーが生成される。   The bus control device 3 stores the CMYK image data input from the image data processing device 4 in the memory 7 via the CPU 6. The CMYK image data stored in the memory 7 is output to the plotter device 9 via the CPU 6 and the plotter I / F device 8. The plotter device 9 outputs the input CMYK image data to a transfer sheet. Thereby, a copy of the original set on the reading device 1 is generated.

つぎに、図1を参照して、この実施の形態の画像処理装置のファックス送信動作について説明する。なお、原稿セットから制御コマンド発行までは、コピー動作と同じであるので、ここではその説明を省略する。CPU6は、ファックス送信開始の制御コマンドデータにしたがって、ファックス送信動作プロセスのプログラムを実行し、ファックス送信動作に必要な設定や動作を順に行う。以下にファックス送信動作プロセスを説明する。なお、上述したコピー動作プロセスと同じ動作については、その詳細な説明を省略する。   Next, the fax transmission operation of the image processing apparatus according to this embodiment will be described with reference to FIG. Since the process from the original setting to the issue of the control command is the same as the copying operation, the description thereof is omitted here. The CPU 6 executes a fax transmission operation process program in accordance with the fax transmission start control command data, and sequentially performs settings and operations necessary for the fax transmission operation. The fax transmission operation process will be described below. The detailed description of the same operation as the above-described copy operation process is omitted.

読取り装置1は、原稿をスキャンして得られたRGB画像データおよび付帯情報を画像データ処理装置2に出力し、画像データ処理装置2は、RGB画像データに特性統一処理を施し、バス制御装置3およびCPU6を介して特性統一処理を施した統一RGB画像データおよび付帯情報をメモリ7に蓄積する。CPU6は、メモリ7に蓄積された統一RGB画像データおよび付帯情報をバス制御装置3を介して画像データ処理装置4に出力する。   The reading device 1 outputs RGB image data and incidental information obtained by scanning a document to the image data processing device 2, and the image data processing device 2 performs characteristic unification processing on the RGB image data, and the bus control device 3 Then, the unified RGB image data and the accompanying information subjected to the characteristic unification processing via the CPU 6 are stored in the memory 7. The CPU 6 outputs the unified RGB image data and incidental information stored in the memory 7 to the image data processing device 4 via the bus control device 3.

画像データ処理装置4は、統一RGB画像データに変換処理を施してファックス送信用のモノクロ2値の画像データを生成する。画像データ処理装置4は、生成したモノクロ2値の画像データをバス制御装置3に出力する。バス制御装置3は、モノクロ2値の画像データをCPU6を介してメモリ7に蓄積する。メモリ7に蓄積されたモノクロ2値の画像データはCPU6を介して回線I/F装置11に出力される。回線I/F装置11は、モノクロ2値の画像データを電話回線を介して接続されたFAX15に送信する。   The image data processing device 4 performs conversion processing on the unified RGB image data to generate monochrome binary image data for fax transmission. The image data processing device 4 outputs the generated monochrome binary image data to the bus control device 3. The bus control device 3 stores monochrome binary image data in the memory 7 via the CPU 6. The monochrome binary image data stored in the memory 7 is output to the line I / F device 11 via the CPU 6. The line I / F device 11 transmits monochrome binary image data to the FAX 15 connected via the telephone line.

つぎに、図1を参照して、この実施の形態の画像処理装置のスキャナ配信動作を説明する。なお、原稿セットから制御コマンド発行までは、コピー動作と同じであるので、ここではその説明を省略する。CPU6は、スキャナ配信開始の制御コマンドデータに従って、スキャナ配信動作プロセスのプログラムを実行し、スキャナは配信動作に必要な設定や動作を順に行う。以下にスキャナ配信動作プロセスを説明する。なお、上述したコピー動作プロセスと同じ動作については、その詳細な説明を省略する。   Next, the scanner delivery operation of the image processing apparatus of this embodiment will be described with reference to FIG. Since the process from the original setting to the issue of the control command is the same as the copying operation, the description thereof is omitted here. The CPU 6 executes a scanner distribution operation process program in accordance with the scanner distribution start control command data, and the scanner sequentially performs settings and operations necessary for the distribution operation. The scanner delivery operation process will be described below. The detailed description of the same operation as the above-described copy operation process is omitted.

読取り装置1は、原稿をスキャンして得られたRGB画像データおよび付帯情報を画像データ処理装置2に出力し、画像データ処理装置2は、RGB画像データに特性統一処理を施し、バス制御装置3およびCPU6を介して特性統一処理を施した統一RGB画像データおよび付帯情報をメモリ7に蓄積する。CPU6は、メモリ7に蓄積された統一RGB画像データおよび付帯情報をバス制御装置3を介して画像データ処理装置4に出力する。   The reading device 1 outputs RGB image data and incidental information obtained by scanning a document to the image data processing device 2, and the image data processing device 2 performs characteristic unification processing on the RGB image data, and the bus control device 3 Then, the unified RGB image data and the accompanying information subjected to the characteristic unification processing via the CPU 6 are stored in the memory 7. The CPU 6 outputs the unified RGB image data and incidental information stored in the memory 7 to the image data processing device 4 via the bus control device 3.

画像データ処理装置4は、統一RGB画像データに変換処理を施してRGB多値、グレースケール、モノクロ2値等のスキャナ配信用の画像データを生成する。画像データ処理装置4は、生成したスキャナ配信用の画像データをバス制御装置3に出力する。バス制御装置3は、スキャナ配信用の画像データをCPU6を解してメモリ7に蓄積する。メモリ7に蓄積されたスキャナ配信用の画像データは、CPU6を介して外部I/F装置12に出力される。外部I/F装置12は、入力されたスキャナ配信用の画像データを、ネットワークを介して接続されたPC16に送信する。   The image data processing device 4 performs conversion processing on the unified RGB image data to generate image data for scanner delivery such as RGB multi-value, gray scale, and monochrome binary. The image data processing device 4 outputs the generated image data for scanner distribution to the bus control device 3. The bus control device 3 stores the image data for scanner distribution in the memory 7 via the CPU 6. The image data for scanner distribution stored in the memory 7 is output to the external I / F device 12 via the CPU 6. The external I / F device 12 transmits the input image data for scanner distribution to the PC 16 connected via the network.

つぎに、図1〜図3を参照して、この実施の形態の画像処理装置の蓄積データの再利用動作(原稿をスキャンして得られたRGB画像データに特性統一処理を施した画像データを蓄積・保存し、その後、蓄積/保存した画像データを再利用する動作)について説明する。なお、原稿セットから特性統一までの動作は、コピー動作と同じであるのでここではその説明を省略する。   Next, referring to FIG. 1 to FIG. 3, the stored data reuse operation of the image processing apparatus of this embodiment (image data obtained by performing characteristic unification processing on RGB image data obtained by scanning a document) The operation of storing / saving and then reusing the stored / saved image data will be described. Since the operation from the original setting to the characteristic unification is the same as the copying operation, the description thereof is omitted here.

読取り装置1は、原稿をスキャンして得られたRGB画像データおよび付帯情報を画像データ処理装置2に出力する。画像データ処理装置2のγ変換部20は、読取り装置1から入力されたRGB画像データの明るさを、予め定めた特性に統一する。ここでは、γ変換部20は、RGB画像データの明るさを明度リニアな特性に変換する。γ変換部20は、RGB画像データの明るさを明度リニアな特性に変換したRGB画像データをフィルタ処理部21に出力する。   The reading device 1 outputs RGB image data and incidental information obtained by scanning a document to the image data processing device 2. The γ conversion unit 20 of the image data processing device 2 unifies the brightness of the RGB image data input from the reading device 1 to a predetermined characteristic. Here, the γ conversion unit 20 converts the brightness of the RGB image data into lightness linear characteristics. The γ conversion unit 20 outputs the RGB image data obtained by converting the brightness of the RGB image data to lightness linear characteristics to the filter processing unit 21.

フィルタ処理部21は、γ変換部20から入力されたRGB画像データの鮮鋭性を、予め定めた特性に統一する。具体的には、フィルタ処理部21は、γ変換部20から入力されたRGB画像データの新鋭性を、基準チャートをスキャンしたときに線数毎に予め定めたMTF特性値になるように変換する。フィルタ処理部21は、RGB画像データの新鋭性を基準チャートをスキャンしたときに線数毎に予め定めたMTF特性値になるように変換したRGB画像データを色変換部22に出力する。   The filter processing unit 21 unifies the sharpness of the RGB image data input from the γ conversion unit 20 to a predetermined characteristic. Specifically, the filter processing unit 21 converts the sharpness of the RGB image data input from the γ conversion unit 20 so as to have a predetermined MTF characteristic value for each number of lines when the reference chart is scanned. . The filter processing unit 21 outputs the RGB image data obtained by converting the sharpness of the RGB image data so that the MTF characteristic value is predetermined for each number of lines when the reference chart is scanned, to the color conversion unit 22.

色変換部22は、フィルタ処理部21から入力されたRGB画像データの色を予め定めた特性に統一する。具体的には、色変換部22は、フィルタ処理部21から入力されたRGB画像データの色空間がAdobe−RGBのような色空間になるように変換する。色変換部22は、RGB画像データの色空間がAdobe−RGBのような色空間になるように変換したRGB画像データを変倍処理部23に出力する。   The color conversion unit 22 unifies the colors of the RGB image data input from the filter processing unit 21 with predetermined characteristics. Specifically, the color conversion unit 22 converts the color space of the RGB image data input from the filter processing unit 21 into a color space such as Adobe-RGB. The color conversion unit 22 outputs the RGB image data converted so that the color space of the RGB image data is a color space such as Adobe-RGB to the scaling processing unit 23.

変倍処理部23は、色変換部22から入力されたRGB画像データのサイズ(解像度)を予め定めた特性に統一する。ここでは、変倍処理部23は、色変換部22から入力されたRGB画像データのサイズ(解像度)を600dpiに変換する。RGB画像データのサイズ(解像度)を600dpiに変換する際に、画素数が異なることがある。この場合、変倍処理部42は、変換前のRGB画像データの付帯情報を変換後のRGB画像データの画素に対応する付帯情報に変換する。変倍処理部23は、RGB画像データのサイズ(解像度)を600dpiに変換した統一RGB画像データおよび付帯情報をバス制御装置3を介してメモリ7に蓄積する。メモリ7に蓄積された統一RGB画像データおよび付帯情報は、HDD5に蓄積・保存される。メモリ7の統一RGB画像データは、画像データ処理装置4を介してプロッタ装置9に出力され、原稿のコピーが生成される。   The scaling processing unit 23 unifies the size (resolution) of the RGB image data input from the color conversion unit 22 to a predetermined characteristic. Here, the scaling processing unit 23 converts the size (resolution) of the RGB image data input from the color conversion unit 22 to 600 dpi. When converting the size (resolution) of RGB image data to 600 dpi, the number of pixels may be different. In this case, the scaling processing unit 42 converts the incidental information of the RGB image data before conversion into incidental information corresponding to the pixels of the converted RGB image data. The scaling processing unit 23 stores the unified RGB image data obtained by converting the size (resolution) of the RGB image data into 600 dpi and the accompanying information in the memory 7 via the bus control device 3. The unified RGB image data and incidental information accumulated in the memory 7 are accumulated and stored in the HDD 5. The unified RGB image data in the memory 7 is output to the plotter device 9 via the image data processing device 4, and a copy of the document is generated.

画像データ処理装置4のフィルタ処理部40は、メモリ7に蓄積された統一RGB画像データの鮮鋭性をプロッタ装置9に出力する場合の再現性がよくなるように補正する。具体的には、フィルタ処理部40は、所望のモード情報にしたがって、メモリ7に蓄積された統一RGB画像データに鮮鋭化/平滑化処理を施す。たとえば、文字モードでは、文字をハッキリ/クッキリとするために鮮鋭化処理を施し、写真モードでは、滑らかに階調性を表現するために平滑化処理を施す。フィルタ処理部40は、鮮鋭化/平滑化処理を施したRGB画像データを色変換部41に出力する。   The filter processing unit 40 of the image data processing device 4 corrects the sharpness of the unified RGB image data stored in the memory 7 so that the reproducibility when outputting to the plotter device 9 is improved. Specifically, the filter processing unit 40 performs sharpening / smoothing processing on the unified RGB image data stored in the memory 7 according to desired mode information. For example, in the character mode, a sharpening process is performed to make the character clear / clear, and in the photo mode, a smoothing process is performed to smoothly express gradation. The filter processing unit 40 outputs the RGB image data subjected to the sharpening / smoothing process to the color conversion unit 41.

色変換部41は、付帯情報およびモード指定(ユーザーからの指定またはユーザーが指定から生成する各種モードの指定信号)に基づいて、フィルタ処理部40から入力されたRGB画像データをプロッタ装置用の色空間であるCMYK画像データに変換する。このときに、色変換部41は、ユーザー所望のモード情報にしたがって彩度もあわせて調整する。色変換部41は、CMYK画像データを変倍処理部42に出力する。   The color conversion unit 41 converts the RGB image data input from the filter processing unit 40 into color for the plotter device based on the incidental information and mode designation (designation signal from the user or various mode designation signals generated from the designation by the user). It is converted into CMYK image data that is a space. At this time, the color conversion unit 41 also adjusts the saturation according to the user-desired mode information. The color conversion unit 41 outputs the CMYK image data to the scaling processing unit 42.

変倍処理部42は、色変換部41から入力されたCMYK画像データのサイズ(解像度)を、プロッタ装置9の再現性能にしたがって変換する。ここでは、プロッタ装置9の性能が600dpi出力であり、メモリ7に蓄積されたRGB画像データのサイズ(解像度)は上述したように画像データ処理装置2の変倍処理部23によって600dpiに変換されている。よって、色変換部41から入力されたCMYK画像データのサイズ(解像度)は600dpiであるため、変倍処理部42は特に変換は行わない。変倍処理部42は、プロッタ装置9の再現性能に従ったサイズ(解像度)のCMYK画像データを階調処理部43に出力する。   The scaling processing unit 42 converts the size (resolution) of the CMYK image data input from the color conversion unit 41 according to the reproduction performance of the plotter device 9. Here, the performance of the plotter device 9 is 600 dpi output, and the size (resolution) of the RGB image data stored in the memory 7 is converted to 600 dpi by the scaling unit 23 of the image data processing device 2 as described above. Yes. Therefore, since the size (resolution) of the CMYK image data input from the color conversion unit 41 is 600 dpi, the scaling processing unit 42 does not perform any conversion. The scaling processing unit 42 outputs CMYK image data having a size (resolution) according to the reproduction performance of the plotter device 9 to the gradation processing unit 43.

階調処理部43は、変倍処理部42から入力されたCMYK画像データに、プロッタ装置9の階調処理能力にしたがった階調数変換処理を施す。ここでは、疑似中間調処理の一つである誤差拡散法を用いて、CMYK各8ビットのCMYK画像データをCMYK各2ビットのCMYK画像データに変換する。階調処理部43は、プロッタ装置9の階調処理能力にしたがって階調数を変換したCMYK画像データをバス制御装置3を介してプロッタ装置9に出力し、プロッタ装置9は原稿のコピーを生成する。   The gradation processing unit 43 subjects the CMYK image data input from the scaling processing unit 42 to gradation number conversion processing according to the gradation processing capability of the plotter device 9. Here, CMYK 8-bit CMYK image data is converted into CMYK 2-bit CMYK image data using an error diffusion method which is one of pseudo halftone processes. The gradation processing unit 43 outputs the CMYK image data obtained by converting the number of gradations according to the gradation processing capability of the plotter device 9 to the plotter device 9 via the bus control device 3, and the plotter device 9 generates a copy of the document. To do.

つぎに、HDD5に蓄積・保存した統一RGB画像データを再利用してファックスを送信する場合の動作について説明する。ユーザーは、操作表示装置10を用いて、コピー時にHDD5に蓄積した統一RGB画像データについて、モード設定とファックス送信開始の指示を入力する。操作表示装置10は、ユーザーから入力された情報を、機器内部の制御コマンドデータに変換して、制御コマンドを発行する。制御コマンドは、PCI−Expressバスを介してCPU6に通知される。CPU6は、ファックス送信開始の制御コマンドデータにしたがって、ファックス送信開始プロセスのプログラムを実行し、ファックス送信動作に必要な設定や動作を順に行う。   Next, an operation in the case of transmitting a fax by reusing unified RGB image data stored and stored in the HDD 5 will be described. The user uses the operation display device 10 to input an instruction for mode setting and fax transmission start for the unified RGB image data stored in the HDD 5 at the time of copying. The operation display device 10 converts information input from the user into control command data inside the device, and issues a control command. The control command is notified to the CPU 6 via the PCI-Express bus. The CPU 6 executes the fax transmission start process program in accordance with the fax transmission start control command data, and sequentially performs settings and operations necessary for the fax transmission operation.

CPU6は、バス制御装置3を介してHDD5に蓄積されている統一RGB画像データをメモリ7に蓄積させる。CPU6は、メモリ7に蓄積された統一RGB画像データを読み出し、読み出した統一RGB画像データをバス制御装置3を解して画像データ処理装置4に出力する。   The CPU 6 stores the unified RGB image data stored in the HDD 5 via the bus control device 3 in the memory 7. The CPU 6 reads the unified RGB image data stored in the memory 7 and outputs the read unified RGB image data to the image data processing device 4 through the bus control device 3.

画像データ処理装置4のフィルタ処理部40は、メモリ7に蓄積された統一RGB画像データ、すなわちコピー時にHDD5に蓄積された統一RGB画像データの鮮鋭性をFAX送信する場合の再現性がよくなるように補正する。具体的には、フィルタ処理部40は、所望のモード情報にしたがって、メモリ7に蓄積されたRGB画像データに鮮鋭化/平滑化処理を施す。たとえば、文字モードでは、文字をハッキリ/クッキリとするために鮮鋭化処理を施し、写真モードでは、滑らかに階調性を表現するために平滑化処理を施す。フィルタ処理部40は、鮮鋭化/平滑化処理を施したRGB画像データを色変換部41に出力する。   The filter processing unit 40 of the image data processing device 4 improves the reproducibility when transmitting the sharpness of the unified RGB image data stored in the memory 7, that is, the unified RGB image data stored in the HDD 5 at the time of copying, by FAX. to correct. Specifically, the filter processing unit 40 performs sharpening / smoothing processing on the RGB image data stored in the memory 7 according to desired mode information. For example, in the character mode, a sharpening process is performed to make the character clear / clear, and in the photo mode, a smoothing process is performed to smoothly express gradation. The filter processing unit 40 outputs the RGB image data subjected to the sharpening / smoothing process to the color conversion unit 41.

色変換部41は、付帯情報およびモード指定に基づいて、フィルタ処理部40から入力されたRGB画像データをFAX15で一般的な単色(モノクロ)に変換する。色変換部41は、モノクロ画像データを変倍処理部42に出力する。   The color conversion unit 41 converts the RGB image data input from the filter processing unit 40 into a general single color (monochrome) by FAX 15 based on the supplementary information and the mode designation. The color conversion unit 41 outputs the monochrome image data to the scaling processing unit 42.

変倍処理部42は、色変換部41から入力されたモノクロ画像データのサイズ(解像度)を、FAX15と送受するサイズ(解像度)に変換する。たとえば、変倍処理部42は、色変換部41から入力されたモノクロ画像データのサイズ(解像度)を200dpi(主走査)×100dpi(副走査)に変換する。変倍処理部42は、FAX15と送受するサイズ(解像度)に変換したモノクロ画像データを階調処理部43に出力する。   The scaling processing unit 42 converts the size (resolution) of the monochrome image data input from the color conversion unit 41 into a size (resolution) transmitted and received with the FAX 15. For example, the scaling processing unit 42 converts the size (resolution) of the monochrome image data input from the color conversion unit 41 to 200 dpi (main scanning) × 100 dpi (sub scanning). The scaling processing unit 42 outputs the monochrome image data converted into the size (resolution) transmitted / received to / from the FAX 15 to the gradation processing unit 43.

階調処理部43は、変倍処理部42から入力されたモノクロ画像データ(モノクロ8ビットデータ)に、FAX15で送受される階調処理能力にしたがった階調数変換処理を施す。階調処理部43は、FAX15で送受される階調処理能力にしたがった階調数に変換したモノクロ画像データをバス制御装置3を介して回線I/F装置11に出力し、回線I/F装置11は、モノクロ画像データを回線を介してFAX15に送信する。   The gradation processing unit 43 subjects the monochrome image data (monochrome 8-bit data) input from the scaling processing unit 42 to gradation number conversion processing according to the gradation processing capability transmitted / received by the FAX 15. The gradation processing unit 43 outputs the monochrome image data converted into the number of gradations according to the gradation processing capability transmitted / received by the FAX 15 to the line I / F device 11 via the bus control device 3, and the line I / F. The apparatus 11 transmits monochrome image data to the FAX 15 via a line.

つぎに、HDD5に蓄積・保存した統一RGB画像データを再利用してスキャナ配信する動作について説明する。ユーザーは、操作表示装置10を用いて、コピー時にHDD5に蓄積した統一RGB画像データについて、モード設定とスキャナ配信開始の指示を入力する。操作表示装置10は、ユーザーから入力された情報を、機器内部の制御コマンドデータに変換して、制御コマンドを発行する。制御コマンドは、PCI−Expressバスを介してCPU6に通知される。CPU6は、スキャナ配信開始の制御コマンドデータにしたがって、スキャナ配信開始プロセスのプログラムを実行し、スキャナ配信動作に必要な設定や動作を順に行う。   Next, an operation for reusing scanner data by reusing unified RGB image data stored and stored in the HDD 5 will be described. The user uses the operation display device 10 to input mode setting and scanner distribution start instruction for the unified RGB image data stored in the HDD 5 at the time of copying. The operation display device 10 converts information input from the user into control command data inside the device, and issues a control command. The control command is notified to the CPU 6 via the PCI-Express bus. The CPU 6 executes a scanner distribution start process program according to the scanner distribution start control command data, and sequentially performs settings and operations necessary for the scanner distribution operation.

CPU6は、バス制御装置3を介してHDD5に蓄積されている統一RGB画像データおよび付帯情報をメモリ7に蓄積させる。CPU6は、メモリ7に蓄積された統一RGB画像データおよび付帯情報を読み出し、読み出したRGB画像データをバス制御装置3を解して画像データ処理装置4に出力する。   The CPU 6 stores the unified RGB image data and incidental information stored in the HDD 5 via the bus control device 3 in the memory 7. The CPU 6 reads the unified RGB image data and supplementary information stored in the memory 7, and outputs the read RGB image data to the image data processing device 4 through the bus control device 3.

画像データ処理装置4のフィルタ処理部40は、統一RGB画像データの鮮鋭性を、スキャナ配信する場合の再現性が良くなるように補正する。具体的には、フィルタ処理部40は、所望のモード情報にしたがって、メモリ7に蓄積されたRGB画像データに鮮鋭化/平滑化処理を施す。たとえば、文字モードでは、文字をハッキリ/クッキリとするために鮮鋭化処理を施し、写真モードでは、滑らかに階調性を表現するために平滑化処理を施す。フィルタ処理部40は、鮮鋭化/平滑化処理を施したRGB画像データを色変換部41に出力する。   The filter processing unit 40 of the image data processing device 4 corrects the sharpness of the unified RGB image data so that the reproducibility in the case of scanner distribution is improved. Specifically, the filter processing unit 40 performs sharpening / smoothing processing on the RGB image data stored in the memory 7 according to desired mode information. For example, in the character mode, a sharpening process is performed to make the character clear / clear, and in the photo mode, a smoothing process is performed to smoothly express gradation. The filter processing unit 40 outputs the RGB image data subjected to the sharpening / smoothing process to the color conversion unit 41.

色変換部41は、フィルタ処理部40から入力されたRGB画像データ(RGB各8ビットのデータ)を指定された色空間に変換する。色変換部41は、モノクロ画像データ(モノクロ8ビットのデータ)を変倍処理部42に出力する。ここでは、色変換部41は、フィルタ処理部40から入力されたRGB各8ビットのデータをスキャナ配信で一般的なsRGB色空間のRGB各8ビットのデータ(sRGB画像データ)に変換する。色変換部41は、sRGB色空間のデータに変換したsRGB画像データを変倍処理部42に出力する。   The color conversion unit 41 converts RGB image data (RGB 8-bit data) input from the filter processing unit 40 into a designated color space. The color conversion unit 41 outputs monochrome image data (monochrome 8-bit data) to the scaling processing unit 42. Here, the color conversion unit 41 converts the 8-bit RGB data input from the filter processing unit 40 into 8-bit RGB data (sRGB image data) in the general sRGB color space by scanner distribution. The color conversion unit 41 outputs the sRGB image data converted into sRGB color space data to the scaling processing unit 42.

変倍処理部42は、色変換部41から入力されたsRGB画像データのサイズ(解像度)を、指定されたスキャナ配信で送受されるサイズ(解像度)に変換する。ここでは、変倍処理部42は、色変換部41から入力されたsRGB画像データのサイズ(解像度)を200dpi(主走査)×200dpi(副走査)に変換する。変倍処理部42は、指定されたスキャナ配信で送受されるサイズ(解像度)に変換したsRGB画像データを階調処理部43に出力する。   The scaling processing unit 42 converts the size (resolution) of the sRGB image data input from the color conversion unit 41 into a size (resolution) transmitted / received by the designated scanner distribution. Here, the scaling processing unit 42 converts the size (resolution) of the sRGB image data input from the color conversion unit 41 into 200 dpi (main scanning) × 200 dpi (sub scanning). The scaling processing unit 42 outputs the sRGB image data converted into the size (resolution) transmitted / received by the designated scanner delivery to the gradation processing unit 43.

階調処理部43は、変倍処理部42から入力されたsRGB画像データに、指定されたスキャナ配信で送受される階調処理能力にしたがった階調数変換処理を施す。ここでは、階調処理部43は、RGB各8ビットの16万色が指定されるものとし、階調処理は特に実施しない。画像処理装置内に蓄積・保存したデータに対して、入力時と異なる出力を指定した場合でも、最初から出力先を指定した時の通常動作時とはなんら画像品質が変わらない。したがって、出力先の変更が容易に、著しく再利用性が向上する。   The gradation processing unit 43 subjects the sRGB image data input from the scaling processing unit 42 to gradation number conversion processing according to the gradation processing ability transmitted / received by the designated scanner distribution. Here, it is assumed that the gradation processing unit 43 designates 160,000 colors of 8 bits for each of RGB, and gradation processing is not particularly performed. Even when an output different from that at the time of input is specified for the data stored and stored in the image processing apparatus, the image quality does not change at all from the normal operation when the output destination is specified from the beginning. Therefore, it is easy to change the output destination, and reusability is significantly improved.

つぎに、図4〜図10を参照して、色変換部41の詳細な動作について説明する。線形マスキング処理部411は、フィルタ処理部40によって鮮鋭性が補正された各8ビットの統一RGB画像データINに線形マスキング処理を施して、各8ビットのマスキングRGB画像データmsk(msk_R,msk_G,msk_Bを示す)およびマスキングK画像データmsk_kを生成する。線形マスキング処理部411は、生成したマスキングRGB画像データmskおよびマスキングK画像データmsk_kを三次元LUT変換部412の3DLUT色変換部4121に出力する。   Next, the detailed operation of the color conversion unit 41 will be described with reference to FIGS. The linear masking processing unit 411 performs linear masking processing on each 8-bit unified RGB image data IN whose sharpness has been corrected by the filter processing unit 40, and each 8-bit masking RGB image data msk (msk_R, msk_G, msk_B). And masking K image data msk_k. The linear masking processing unit 411 outputs the generated masking RGB image data msk and masking K image data msk_k to the 3DLUT color conversion unit 4121 of the three-dimensional LUT conversion unit 412.

3DLUT色変換部4121は、線形マスキング処理部411から入力されたマスキングRGB画像データmskおよびマスキングK画像データmsk_kの画素に対応する2ビットの像域分離信号sepiが絵柄領域を示す場合には絵柄領域用LUT4121aを選択し、像域分離信号sepiが文字領域を示す場合には文字領域用LUT4121bを選択する。3DLUT色変換部4121は、選択したLUTを用いて当該画素のマスキングRGB画像データmskに対する3次元メモリマップ補間を行って、各9ビットのCMY画像データlut_cmyを生成する。   The 3DLUT color conversion unit 4121 displays the picture area when the 2-bit image area separation signal sepi corresponding to the pixels of the masking RGB image data msk and the masking K image data msk_k input from the linear masking processing unit 411 indicates the picture area. When the image LUT 4121a is selected and the image area separation signal sepi indicates a character area, the character area LUT 4121b is selected. The 3DLUT color conversion unit 4121 performs three-dimensional memory map interpolation on the masking RGB image data msk of the pixel using the selected LUT to generate 9-bit CMY image data lut_cmy.

メモリマップ補間法は、三次元入力色空間を複数の単位立方体に分割し、さらに分割した各単位立方体を対称軸を共有している6個の四面体に分割し、単位立方体毎に線形演算によって出力値を求めるものであり、線型演算には分割境界の点(格子点)のデータをパラメータ(以下、格子点パラメータと呼ぶ)として用いる。   The memory map interpolation method divides a three-dimensional input color space into a plurality of unit cubes, further divides each divided unit cube into six tetrahedrons sharing a symmetry axis, and performs linear operation for each unit cube. An output value is obtained, and data of division boundary points (grid points) are used as parameters (hereinafter referred to as lattice point parameters) for linear calculation.

具体的には、図6に示すように、X方向、Y方向、Z方向からなる三次元入力色空間を各方向に分割(ここでは、8分割)し、三次元入力色空間を複数(ここでは、512個)の単位立方体に分割する。マスキングR画像データmsk_Rをx、マスキングR画像データmsk_Gをy、マスキングR画像データmsk_Bをzとし、マスキングRGB画像データmskの三次元入力色空間における座標をAとすると、マスキングRGB画像データmskは座標A(x,y,z)で表すことができる。3DLUT色変換部4121は、この座標Aを内包する単位立方体を選択する。   Specifically, as shown in FIG. 6, a three-dimensional input color space composed of the X direction, Y direction, and Z direction is divided in each direction (here, eight divisions), and a plurality of three-dimensional input color spaces (here Then, it is divided into 512) unit cubes. If the masking R image data msk_R is x, the masking R image data msk_G is y, the masking R image data msk_B is z, and the coordinates of the masking RGB image data msk in the three-dimensional input color space are A, the masking RGB image data msk is the coordinates. It can be represented by A (x, y, z). The 3DLUT color conversion unit 4121 selects a unit cube containing the coordinates A.

図7は、選択した単位立方体を示す図である。図7においては、格子点の座標を座標A0〜A7とし、座標A0〜A7の格子点パラメータをP0〜P7とし、入力データであるマスキングRGB画像データmskが示す座標Aの出力値をPとしている。単位立方体は、座標A0、座標A4、座標A7、座標A6からなる四面体T0(図8−1参照)、座標A0、座標A4、座標A5、座標A7からなる四面体T1(図8−2参照)、座標A0、座標A1、座標A5、座標A7からなる四面体T2(図8−3参照)、座標A0、座標A1、座標A7、座標A3からなる四面体T3(図8−4参照)、座標A0、座標A2、座標A7、座標A3からなる四面体T4(図8−5参照)、および座標A0、座標A2、座標A6、座標A7からなる四面体T5(図8−6参照)の6個の四面体に分割されている。   FIG. 7 is a diagram showing the selected unit cube. In FIG. 7, the coordinates of the grid points are coordinates A0 to A7, the grid point parameters of the coordinates A0 to A7 are P0 to P7, and the output value of the coordinates A indicated by the masking RGB image data msk as input data is P. . The unit cube is a tetrahedron T0 composed of coordinates A0, coordinates A4, coordinates A7, and coordinates A6 (see FIG. 8-1), and a tetrahedron T1 composed of coordinates A0, coordinates A4, coordinates A5, and coordinates A7 (see FIG. 8-2). ), Tetrahedron T2 composed of coordinates A0, coordinates A1, coordinates A5 and coordinates A7 (see FIG. 8-3), tetrahedron T3 composed of coordinates A0, coordinates A1, coordinates A7 and coordinates A3 (see FIG. 8-4), A tetrahedron T4 composed of coordinates A0, coordinates A2, coordinates A7, and coordinates A3 (see FIG. 8-5), and a tetrahedron T5 composed of coordinates A0, coordinates A2, coordinates A6, and coordinates A7 (see FIG. 8-6). Divided into tetrahedrons.

3DLUT色変換部4121は、座標A0を原点とした場合の座標Aの座標(下位座標)を求める。座標A0を(x0,y0,z0)とすると座標A(x,y、z)の下位座標は、(x−x0,y−y0,z−z0)で求めることができる。ここで、x−x0をΔxとし、y−y0をΔyとし、z−z0をΔzとすると、座標Aの下位座標は(Δx,Δy,Δz)となる。   The 3DLUT color conversion unit 4121 obtains the coordinates (lower coordinates) of the coordinates A when the coordinates A0 is the origin. If the coordinate A0 is (x0, y0, z0), the lower coordinates of the coordinate A (x, y, z) can be obtained by (x-x0, y-y0, z-z0). Here, if x−x0 is Δx, y−y0 is Δy, and z−z0 is Δz, the lower coordinates of the coordinate A are (Δx, Δy, Δz).

3DLUT色変換部4121は、求めた下位座標の大小比較によって四面体T0〜T5を選択し、選択した四面体T0〜T5の格子点パラメータP0〜P7を補間係数として選択する。図9は、座標Aの下位座標の大小比較結果によって選択される四面体と補間係数の関係を示す図である。図9において、下位座標の大小関係として「Δx<Δy<Δz」が成り立つ場合には、四面体T0が選択され、補間係数K0として「P7−P6」の値が選択され、補間係数K1として「P6−P4」が選択され、補間係数K3として「P0」が選択される。下位座標の大小関係として「Δy≦Δx<Δz」が成り立つ場合には、四面体T1が選択され、補間係数K0として「P5−P4」の値が選択され、補間係数K1として「P7−P5」が選択され、補間係数K3として「P0」が選択される。下位座標の大小関係として「Δy<Δz≦Δx」が成り立つ場合には、四面体T2が選択され、補間係数K0として「P1−P0」の値が選択され、補間係数K1として「P7−P5」が選択され、補間係数K3として「P0」が選択される。下位座標の大小関係として「Δz≦Δy≦Δx」が成り立つ場合には、四面体T3が選択され、補間係数K0として「P1−P0」の値が選択され、補間係数K1として「P3−P1」が選択され、補間係数K3として「P0」が選択される。下位座標の大小関係として「Δz≦Δx<Δy」が成り立つ場合には、四面体T4が選択され、補間係数K0として「P3−P2」の値が選択され、補間係数K1として「P2−P0」が選択され、補間係数K3として「P0」が選択される。下位座標の大小関係として「Δx<Δz≦Δy」が成り立つ場合には、四面体T5が選択され、補間係数K0として「P7−P6」の値が選択され、補間係数K1として「P2−P0」が選択され、補間係数K3として「P0」が選択される。   The 3DLUT color conversion unit 4121 selects the tetrahedrons T0 to T5 by comparing the obtained lower coordinates, and selects the lattice point parameters P0 to P7 of the selected tetrahedrons T0 to T5 as interpolation coefficients. FIG. 9 is a diagram showing the relationship between the tetrahedron selected by the size comparison result of the lower coordinates of the coordinate A and the interpolation coefficient. In FIG. 9, when “Δx <Δy <Δz” is established as the magnitude relationship of the lower coordinates, the tetrahedron T0 is selected, the value “P7−P6” is selected as the interpolation coefficient K0, and “ “P6-P4” is selected, and “P0” is selected as the interpolation coefficient K3. When “Δy ≦ Δx <Δz” holds as the magnitude relationship of the lower coordinates, the tetrahedron T1 is selected, the value “P5-P4” is selected as the interpolation coefficient K0, and “P7-P5” is selected as the interpolation coefficient K1. Is selected, and “P0” is selected as the interpolation coefficient K3. When “Δy <Δz ≦ Δx” is satisfied as the magnitude relation of the lower coordinates, the tetrahedron T2 is selected, the value of “P1-P0” is selected as the interpolation coefficient K0, and “P7-P5” is selected as the interpolation coefficient K1. Is selected, and “P0” is selected as the interpolation coefficient K3. When “Δz ≦ Δy ≦ Δx” holds as the magnitude relationship of the lower coordinates, the tetrahedron T3 is selected, the value of “P1-P0” is selected as the interpolation coefficient K0, and “P3-P1” is selected as the interpolation coefficient K1. Is selected, and “P0” is selected as the interpolation coefficient K3. When “Δz ≦ Δx <Δy” is established as the magnitude relationship of the lower coordinates, the tetrahedron T4 is selected, the value of “P3-P2” is selected as the interpolation coefficient K0, and “P2-P0” is selected as the interpolation coefficient K1. Is selected, and “P0” is selected as the interpolation coefficient K3. When “Δx <Δz ≦ Δy” is established as the magnitude relation of the lower coordinates, the tetrahedron T5 is selected, the value “P7-P6” is selected as the interpolation coefficient K0, and “P2-P0” is selected as the interpolation coefficient K1. Is selected, and “P0” is selected as the interpolation coefficient K3.

絵柄領域用LUT4121aには、絵柄領域に用いる各単位立方体における四面体T0〜T5の格子点パラメータP0〜P7および後述する各種パラメータが登録され、文字領域用LUT4121bには、文字領域に用いる各単位立方体における四面体T0〜T5の格子点パラメータP0〜P7および後述する各種パラメータが登録されている。また、格子点パラメータP0〜P7および各種パラメータは、それぞれC,M,Y毎にそれぞれの値が登録されている。   In the pattern area LUT 4121a, lattice point parameters P0 to P7 of tetrahedrons T0 to T5 in each unit cube used in the pattern area and various parameters described later are registered, and in the character area LUT 4121b, each unit cube used in the character area. The lattice point parameters P0 to P7 of tetrahedrons T0 to T5 and various parameters described later are registered. The grid point parameters P0 to P7 and various parameters are registered for C, M, and Y, respectively.

3DLUT色変換部4121は、像域分離信号sepiが絵柄領域を示す場合には絵柄領域用LUT4121aの単位立方体における四面体T0〜T5の格子点パラメータP0〜P7を選択し、像域分離信号sepiが文字領域を示す場合には文字領域用LUT4121bの単位立方体における四面体T0〜T5の格子点パラメータP0〜P7を選択して、下記の式1−1〜1−3を用いて座標Aに対する線形補間の出力pout(pout_c、pout_m、pout_yを示す)を求める。
pout_c=
K0_C×Δx+K1_C×Δy+K2_C×Δz+K3_C …式1−1
pout_m=
K0_M×Δx+K1_M×Δy+K2_M×Δz+K3_M …式1−2
pout_y=
K0_Y×Δx+K1_Y×Δy+K2_Y×Δz+K3_Y …式1−3
When the image area separation signal sepi indicates a picture area, the 3DLUT color conversion unit 4121 selects the lattice point parameters P0 to P7 of the tetrahedrons T0 to T5 in the unit cube of the picture area LUT 4121a, and the image area separation signal sepi is When a character area is indicated, the lattice point parameters P0 to P7 of the tetrahedrons T0 to T5 in the unit cube of the character area LUT 4121b are selected, and linear interpolation with respect to the coordinate A is performed using the following equations 1-1 to 1-3. Output pout (indicating pout_c, pout_m, pout_y).
pout_c =
K0_C × Δx + K1_C × Δy + K2_C × Δz + K3_C Formula 1-1
pout_m =
K0_M × Δx + K1_M × Δy + K2_M × Δz + K3_M Equation 1-2
pout_y =
K0_Y × Δx + K1_Y × Δy + K2_Y × Δz + K3_Y Equation 1-3

なお、K0_C〜K3_Cは、Cに対する補間係数K0〜K3であり、K0_M〜K3_Mは、Mに対する補間係数K0〜K3であり、K0_Y〜K3_Yは、Yに対する補間係数K0〜K3である。   K0_C to K3_C are interpolation coefficients K0 to K3 for C, K0_M to K3_M are interpolation coefficients K0 to K3 for M, and K0_Y to K3_Y are interpolation coefficients K0 to K3 for Y.

絵柄領域用LUT4121aおよび文字領域用LUT4121bには、入力in(RGB画像データが示す座標)によって選択された単位立方体の四面体の格子点パラメータを用いて上記式1(式1−1〜式1−3を示す)によって求められる出力poutと入力inとの関係から求められる図10に示すような傾きlutslopeおよび切片lintcが登録されている。3DLUT色変換部4121は、傾きlutslopeおよび切片lintcを用いて上記式1によって求めた出力poutを、下記の式2−1〜式2−3によって正規化してCMY画像データlut_cmyを求める。
lut_c=(pout_c*lutslope)−limtc …式2−1
lut_m=(pout_m*lutslope)−limtc …式2−2
lut_y=(pout_y*lutslope)−limtc …式2−3
なお、式2(式2−1〜式2−3を示す)において、*はべき乗を示す。また、3DLUT色変換部4121は、像域分離信号sepiが絵柄領域を示す場合には絵柄領域用LUT4121aに登録されている傾きlutslopeおよび切片lintcを用い、像域分離信号sepiが文字領域を示す場合には文字領域用LUT4121bに登録されている傾きlutslopeおよび切片lintcを用いる。
In the pattern area LUT 4121a and the character area LUT 4121b, using the lattice point parameters of the unit cube tetrahedron selected by the input in (coordinates indicated by the RGB image data), the above expression 1 (expression 1-1 to expression 1- The slope ltslope and the intercept lintc as shown in FIG. 10 obtained from the relationship between the output pout and the input in obtained by (3) are registered. The 3DLUT color conversion unit 4121 normalizes the output pout obtained by the above equation 1 using the gradient lutslope and the intercept lintc by the following equations 2-1 to 2-3 to obtain the CMY image data lut_cmy.
lut_c = (pout_c * lutslope) −limitc (Formula 2-1)
lut_m = (pout_m * lutslope) -limitc ... Formula 2-2
lut_y = (pout_y * lutslope) -limitc ... Formula 2-3
In Formula 2 (showing Formula 2-1 to Formula 2-3), * indicates a power. In addition, when the image area separation signal sepi indicates a picture area, the 3DLUT color conversion unit 4121 uses the inclination lutslope and the intercept lintc registered in the picture area LUT 4121a, and the image area separation signal sepi indicates a character area. In this case, the gradient lutslope and the intercept lintc registered in the character area LUT 4121b are used.

なお、三次元LUTの出力プレーン毎(CMY毎)に拡張する範囲を変更するようにしてもよい。この場合には、傾きlutslopeおよび切片lintcを出力プレーン毎に設定しておき、下記の式3−1〜式3−3を用いて正規化すればよい。
lut_c=(pout_c*lutslope_c)−limtc_c …式3−1
lut_m=(pout_m*lutslope_m)−limtc_m …式3−2
lut_y=(pout_y*lutslope_y)−limtc_y …式3−3
なお、式3(式3−1〜式3−3を示す)において、*はべき乗を示す。
Note that the range to be expanded may be changed for each output plane (for each CMY) of the three-dimensional LUT. In this case, the slope lutslope and the intercept lintc may be set for each output plane and normalized using the following equations 3-1 to 3-3.
lut_c = (pout_c * lutslope_c) −limitc_c Expression 3-1
lut_m = (pout_m * lutslope_m) −limitc_m Equation 3-2
lut_y = (pout_y * lutslope_y) −limitc_y Equation 3-3
In Formula 3 (showing Formula 3-1 to Formula 3-3), * indicates a power.

このように出力プレーン毎に拡張する範囲を変更した場合、色再現域が広い拡張RGB空間とカラー画像出力装置の色再現範囲(ガマット)の形状が大きく異なる場合でも、色変換テーブルの規模を増大させることなく、カラー画像出力装置の色に高精度に変換することが可能となる。   When the range to be expanded is changed for each output plane in this way, the scale of the color conversion table increases even when the extended RGB space with a wide color reproduction range and the color reproduction range (gamut) shape of the color image output device differ greatly. Without conversion, it is possible to convert the color of the color image output apparatus with high accuracy.

3DLUT色変換部4121は、求めたCMY画像データlut_cmyが負の場合にはCMY画像データを「0」にクリップする。3DLUT色変換部4121は、9ビットのCMY画像データlut_cmyをUCR処理部414とmink算出部4122とに出力する。   The 3DLUT color conversion unit 4121 clips the CMY image data to “0” when the obtained CMY image data lut_cmy is negative. The 3DLUT color conversion unit 4121 outputs 9-bit CMY image data lut_cmy to the UCR processing unit 414 and the mink calculation unit 4122.

mink算出部4122は、3DLUT色変換部4121によって生成されたCMY画像データlut_cmyの最小値minkを算出する。mink算出部4122は、算出した最小値minkが256以上の場合には255にクリップして最小値minkを255以下の値にする。mink算出部4122は、8ビットの最小値minkをセレクタ4123に出力する。   The mink calculation unit 4122 calculates the minimum value mink of the CMY image data lut_cmy generated by the 3DLUT color conversion unit 4121. If the calculated minimum value mink is 256 or more, the mink calculation unit 4122 clips to 255 and sets the minimum value mink to a value of 255 or less. The mink calculation unit 4122 outputs the 8-bit minimum value mink to the selector 4123.

セレクタ4123は、像域分離信号sepiが絵柄領域を示す場合にはmink算出部4122から入力された最小値minkを選択し、像域分離信号sepiが文字領域を示す場合には線形マスキング処理部411から入力されたマスキングK画像データmsk_kを選択する。セレクタ4123は、選択した最小値minkまたはマスキングK画像データmsk_kをK画像データlut_kとしてGCR処理部413に出力する。   The selector 4123 selects the minimum value mink input from the mink calculation unit 4122 when the image area separation signal sepi indicates a picture area, and the linear masking processing unit 411 when the image area separation signal sepi indicates a character area. The masking K image data msk_k input from is selected. The selector 4123 outputs the selected minimum value mink or masking K image data msk_k to the GCR processing unit 413 as K image data lut_k.

GCR処理部413は、GCRモード信号gcr_mode、像域分離信号sepiおよび特徴量gcr_edgeiに基づいて三次元LUT変換部412のセレクタ4123から入力されたK画像データlut_kに対して墨生成を行う。   The GCR processing unit 413 performs black generation on the K image data lut_k input from the selector 4123 of the three-dimensional LUT conversion unit 412 based on the GCR mode signal gcr_mode, the image area separation signal sepi, and the feature amount gcr_edgei.

GCRモード信号gcr_modeは、像域分離信号sepiを有効にするか否かを示す信号であって、ユーザーからの直接のモード指定、またはユーザーが入力したモードからCPUが生成する。ここでは、GCRモード信号gcr_modeは2ビットの信号であって、絵柄領域を有効とするか否かおよび文字領域を有効とするか否かを示している。   The GCR mode signal gcr_mode is a signal indicating whether or not the image area separation signal sepi is to be validated, and is generated by the CPU from a direct mode designation by the user or a mode input by the user. Here, the GCR mode signal gcr_mode is a 2-bit signal and indicates whether or not the picture area is enabled and whether or not the character area is enabled.

像域分離信号sepiが絵柄領域を示しておりかつGCRモード信号gcr_modeが絵柄領域を有効にすることを示している場合、または像域分離信号sepiが文字領域を示しておりかつGCRモード信号gcr_modeが文字領域を無効にすることを示している場合、GCR処理部413は、フィルタ処理部40から入力される特徴量gcr_edgeiが示すエッジの情報に応じてGCR処理を行なう。   When the image area separation signal sepi indicates a picture area and the GCR mode signal gcr_mode indicates that the picture area is valid, or the image area separation signal sepi indicates a character area and the GCR mode signal gcr_mode is If the character area is indicated to be invalidated, the GCR processing unit 413 performs GCR processing according to edge information indicated by the feature value gcr_edgei input from the filter processing unit 40.

具体的には、特徴量gcr_edgeiの大きさに応じてGCR処理に用いるパラメータgslopepおよびパラメータgintpを変化させ、特徴量gcr_edgeiが小さいほどパラメータgslopepおよびパラメータgintpを低墨の値とし、特徴量gcr_edgeiが大きいほどパラメータgslopepおよびパラメータgintpを高墨の値とする。   Specifically, the parameter gslopep and the parameter gintp used for the GCR process are changed according to the size of the feature amount gcr_edgei, and the smaller the feature amount gcr_edgei, the lower the feature value gcr_edge and the parameter gintp, the lower the black value, and the larger the feature amount gcr_edgei. The parameter gslopep and the parameter gintp are set to high ink values.

GCR処理部413は、三次元LUT変換部412のセレクタ4123から入力されたK画像データlut_kと、特徴量gcr_edgeiに応じたパラメータgslopepおよびパラメータgintpを用いて、下記の式4を用いてGCR処理後の絵柄領域用のK画像データadpkを求める。
adpk=(gslopep*lut_k)−gintp …式4
なお、式4において*はべき乗を示す。
The GCR processing unit 413 uses the K image data lut_k input from the selector 4123 of the three-dimensional LUT conversion unit 412, the parameter gslopep and the parameter gintp corresponding to the feature amount gcr_edgei, and uses the following equation 4 to perform GCR processing The K image data adpk for the pattern area is obtained.
adpk = (gslopep * lut_k) −gintp Equation 4
In Equation 4, * indicates a power.

また、GCR処理部413は、GCR処理後の絵柄領域用のK画像データadpkと、フィルタ処理部40から入力される特徴量gcr_edgeiが示すエッジの情報に応じたパラメータuslopepおよびパラメータuintpを用いて、UCR処理部414で用いるK画像データadpucrkを求める。具体的には、特徴量gcr_edgeiの大きさに応じてパラメータuslopepおよびパラメータuintpを変化させ、特徴量gcr_edgeiが小さいほどパラメータgslopepおよびパラメータgintpを低墨の値とし、特徴量gcr_edgeiが大きいほどパラメータgslopepおよびパラメータgintpを高墨の値とする。   Further, the GCR processing unit 413 uses the parameter uslopep and the parameter uintp according to the K image data adpk for the pattern area after the GCR processing and the edge information indicated by the feature value gcr_edgei input from the filter processing unit 40, The K image data adducrk used in the UCR processing unit 414 is obtained. Specifically, the parameter uslopep and the parameter uintp are changed according to the size of the feature quantity gcr_edgei, the smaller the feature quantity gcr_edgei, the lower the parameter gslopepe and the parameter gintp, and the lower the feature quantity gcr_edgei, the greater the parameter gslope_ The parameter gintp is set to a high ink value.

GCR処理部413は、上記式4によって求めたK画像データadpkと、特徴量gcr_edgeiに応じたパラメータuslopepおよびパラメータuintpを用いて、下記の式5からUCR処理部414で用いるK画像データadpucrkを求める。
adpucrk=(uslopep*adpk)−uintp …式5
なお、式5において*はべき乗を示す。
The GCR processing unit 413 uses the K image data adpk obtained by the above equation 4 and the parameter uslopep and the parameter uintp corresponding to the feature value gcr_edgei to obtain the K image data aduprk used in the UCR processing unit 414 from the following equation 5. .
adpurk = (uslopep * adpk) −uintp Equation 5
In Equation 5, * indicates a power.

一方、像域分離信号sepiが文字領域を示しておりかつGCRモード信号gcr_modeが文字領域を有効にすることを示している場合、または像域分離信号sepiが絵柄領域を示しておりかつGCRモード信号gcr_modeが絵柄領域を無効にすることを示している場合、GCR処理部413は、フィルタ処理部40から入力される特徴量gcr_edgeiが示すエッジの情報に依存することなく予め定められた文字領域用のパラメータgslopecおよびパラメータgintcを用いてGCR処理を行なう。   On the other hand, when the image area separation signal sepi indicates a character area and the GCR mode signal gcr_mode indicates that the character area is valid, or the image area separation signal sepi indicates a picture area and the GCR mode signal When gcr_mode indicates that the design area is invalidated, the GCR processing unit 413 uses the predetermined character area for the character area without depending on the edge information indicated by the feature value gcr_edgei input from the filter processing unit 40. GCR processing is performed using the parameter gslopec and the parameter gintc.

具体的には、GCR処理部413は、三次元LUT変換部412のセレクタ4123から入力されたK画像データlut_kと、パラメータgslopecおよびパラメータgintcを用いて、下記の式6を用いてGCR処理後の文字領域用のK画像データfixkを求める。
fixk=(gslopec*lut_k)−gintc …式6
なお、式6において*はべき乗を示す。
Specifically, the GCR processing unit 413 uses the K image data lut_k input from the selector 4123 of the three-dimensional LUT conversion unit 412, the parameter gslopec, and the parameter gintc, and uses the following equation 6 to perform GCR processing K image data fixk for the character area is obtained.
fixk = (gslopec * lut_k) −gintc Equation 6
In Equation 6, * indicates a power.

また、GCR処理部413は、上記式6によって求めた文字領域用のK画像データfixkと、予め定められたパラメータuslopecおよびパラメータuintcを用いて、下記式7から、UCR処理部414で用いるK画像データfixucrkを求める。
fixucrk=(uslopec*fixk)−uintc …式7
なお、式7において*はべき乗を示す。
Further, the GCR processing unit 413 uses the K image data fixk for the character area obtained by the above equation 6 and the predetermined parameter uslopec and parameter uintc to obtain the K image used in the UCR processing unit 414 from the following equation 7. Data fixucrk is obtained.
fixucrk = (uslopec * fixk) −uintc Equation 7
In Equation 7, * indicates a power.

GCR処理部413は、上記式4によって求めたK画像データadpk、または式6によって求めたK画像データfixkが負の場合には0にクリップし、K画像データadpkまたはK画像データfixkが256以上の場合には255にクリップして、8ビットのGCR処理後のK画像データgcr_bkとして変倍処理部42に出力する。   The GCR processing unit 413 clips to 0 when the K image data adpk obtained by the above equation 4 or the K image data fixk obtained by the equation 6 is negative, and the K image data adpk or the K image data fixk is 256 or more. In this case, the data is clipped to 255 and output to the scaling unit 42 as K-image data gcr_bk after 8-bit GCR processing.

また、GCR処理部413は、上記式5によって求めたK画像データadpucrk、または式7によって求めたK画像データfixucrkが負の場合には0にクリップし、K画像データadpucrkまたはK画像データfixucrkが256以上の場合には255にクリップして、8ビットのucr処理用のK画像データucr_bkとしてUCR処理部414に出力する。   In addition, the GCR processing unit 413 clips to 0 when the K image data adducrk obtained by Equation 5 or the K image data fixucrk obtained by Equation 7 is negative, and the K image data adducrk or the K image data fixucrk is If it is 256 or more, it is clipped to 255 and output to the UCR processing unit 414 as 8-bit ucr processing K image data ucr_bk.

UCR処理部414は、UCRモード信号ucr_modeとGCR処理部413によって生成されたK画像データucr_bkとに基づいて、三次元LUT変換部412によって生成されたCMY画像データlut_cmyに対してUCR処理を行なってCMY画像データlut_cmyを補正する。   The UCR processing unit 414 performs UCR processing on the CMY image data lut_cmy generated by the three-dimensional LUT conversion unit 412 based on the UCR mode signal ucr_mode and the K image data ucr_bk generated by the GCR processing unit 413. The CMY image data lut_cmy is corrected.

UCRモード信号ucr_modeは、濃度ノッチの変更等による高濃度つぶれを防止する過分補正処理を行なうか否かを示す信号であり、ユーザーからの直接の指定、またはユーザーが入力したモードからCPUが生成する。ここでは、UCRモード信号ucr_modeは2ビットの信号であって、絵柄領域に対して過分補正処理を行なうか否か、文字領域に対して過分補正処理を行なうか否かを示している。   The UCR mode signal ucr_mode is a signal indicating whether or not excessive correction processing for preventing high density crush due to change of density notch or the like is performed, and is generated by the CPU from a direct designation by the user or a mode input by the user. . Here, the UCR mode signal ucr_mode is a 2-bit signal, and indicates whether or not an excessive correction process is performed on a picture area and whether or not an excessive correction process is performed on a character area.

像域分離信号sepiが絵柄領域を示しており、かつUCRモード信号ucr_modeが絵柄領域の過分補正処理を行なうことを示している場合、または像域分離信号sepiが文字領域を示しており、かつUCRモード信号ucr_modeが文字領域の過分補正処理を行なうことを示している場合、UCR処理部414は、C画像データlut_cが256以上の場合には下記の式8−1を用い、C画像データlut_cが256より小さい場合には下記の式9−1を用いて補正後のC画像データhlut_cを求め、M画像データlut_mが256以上の場合には下記の式8−2を用い、M画像データlut_mが256より小さい場合には下記の式9−2を用いて補正後のM画像データhlut_mを求め、Y画像データlut_yが256以上の場合には下記の式8−3を用い、Y画像データlut_yが256より小さい場合には下記の式9−3を用いて補正後のY画像データhlut_yを求める。
hlut_c=(256+(lut_c&0x00ff))/2 …式8−1
hlut_m=(256+(lut_m&0x00ff))/2 …式8−2
hlut_y=(256+(lut_y&0x00ff))/2 …式8−3
hlut_c=lut_c …式9−1
hlut_m=lut_m …式9−2
hlut_y=lut_y …式9−3
When the image area separation signal sepi indicates the picture area and the UCR mode signal ucr_mode indicates that the image area is excessively corrected, or when the image area separation signal sepi indicates the character area, and the UCR When the mode signal ucr_mode indicates that the character region is subjected to the excessive correction process, the UCR processing unit 414 uses the following equation 8-1 when the C image data lut_c is 256 or more, and the C image data lut_c is If smaller than 256, the corrected C image data hutt_c is obtained using the following equation 9-1. If the M image data lut_m is 256 or more, the following equation 8-2 is used to determine that the M image data lut_m is If it is smaller than 256, the corrected M image data hlt_m is obtained using the following equation 9-2, and the Y image data lut is obtained. y is using Equation 8-3 below in the case of more than 256, if Y image data lut_y is less than 256 using Equation 9-3 below seek Y image data hlut_y corrected.
hlt_c = (256+ (lut_c & 0x00ff)) / 2 Formula 8-1
hlut_m = (256+ (lut_m & 0x00ff)) / 2 Formula 8-2
hlt_y = (256+ (lut_y & 0x00ff)) / 2 Equation 8-3
hlut_c = lut_c Expression 9-1
hlut_m = lut_m ... Formula 9-2
hlut_y = lut_y Equation 9-3

一方、像域分離信号sepiが絵柄領域を示しており、かつUCRモード信号ucr_modeが絵柄領域の過分補正処理を行なわないことを示している場合、または像域分離信号sepiが文字領域を示しており、かつUCRモード信号ucr_modeが文字領域の過分補正処理を行なわないことを示している場合、UCR処理部414は、C画像データlut_cが256以上の場合には下記の式10−1を用い、C画像データlut_cが256より小さい場合には下記の式11−1を用いて補正後のC画像データhlut_cを求め、M画像データlut_mが256以上の場合には下記の式10−2を用い、M画像データlut_mが256より小さい場合には下記の式11−2を用いて補正後のM画像データhlut_mを求め、Y画像データlut_yが256以上の場合には下記の式10−3を用い、Y画像データlut_yが256より小さい場合には下記の式11−3を用いて補正後のY画像データhlut_yを求める。
hlut_c=255 …式10−1
hlut_m=255 …式10−2
hlut_y=255 …式10−3
hlut_c=lut_c …式11−1
hlut_m=lut_m …式11−2
hlut_y=lut_y …式11−3
On the other hand, when the image area separation signal sepi indicates a picture area and the UCR mode signal ucr_mode indicates that the image area is not subjected to excessive correction processing, or the image area separation signal sepi indicates a character area. When the UCR mode signal ucr_mode indicates that the character region excess correction process is not performed, the UCR processing unit 414 uses the following expression 10-1 when the C image data lut_c is 256 or more, and C When the image data lut_c is smaller than 256, the corrected C image data htt_c is obtained using the following equation 11-1, and when the M image data lut_m is 256 or more, the following equation 10-2 is used to When the image data lut_m is smaller than 256, the corrected M image data htt_m is obtained using the following equation 11-2. When the Y image data lut_y is 256 or more, the following equation 10-3 is used. When the Y image data lut_y is smaller than 256, the corrected Y image data glut_y is obtained using the following equation 11-3. .
hult_c = 255 Formula 10-1
hult_m = 255 Formula 10-2
hult_y = 255 Formula 10-3
hlut_c = lut_c Formula 11-1
hlut_m = lut_m ... Formula 11-2
hlut_y = lut_y Expression 11-3

すなわち、過分補正処理を行う場合には過分に応じた補正を行い、過分補正処理を行わない場合には過分量に依存することなく最大値255にクリップし、過分補正処理を行う場合でも行わない場合でも、CMY画像データlut_cmyが最大値255以下である場合にはその画像データの値をそのまま用いる。   That is, when performing the excessive correction process, correction according to the excessive amount is performed, and when the excessive correction process is not performed, the clip is clipped to the maximum value 255 without depending on the excessive amount, and is not performed even when performing the excessive correction process. Even in this case, if the CMY image data lut_cmy is less than or equal to the maximum value 255, the value of the image data is used as it is.

UCR処理部414は、補正処理後のCMY画像データhlut_cmyそれぞれからGCR処理部413から入力されるK画像データucr_bkを減算する。UCR処理部414は、CMY画像データhlut_cmyそれぞれからGCR処理部413から入力されるK画像データucr_bkを減算した値が負の場合には0にクリップし、減算した値が256以上の場合には255にクリップして、8ビットのCMY画像データucr_cmy(ucr_c,ucr_m,ucr_yを示す)としてUCA処理部415に出力する。   The UCR processing unit 414 subtracts the K image data ucr_bk input from the GCR processing unit 413 from each of the corrected CMY image data cult_cmy. The UCR processing unit 414 clips to 0 if the value obtained by subtracting the K image data ucr_bk input from the GCR processing unit 413 from each of the CMY image data hult_cmy is negative, and 255 if the subtracted value is 256 or more. And output to the UCA processing unit 415 as 8-bit CMY image data ucr_cmy (indicating ucr_c, ucr_m, ucr_y).

UCA処理部415は、UCAモード信号uca_modeおよびGCR処理部413によって生成されたK画像データgcr_bkに基づいて、UCR処理部414によって生成されたCMY画像データucr_cmyに対してUCR処理を行ってCMY画像データucr_cmyを補正する。   The UCA processing unit 415 performs UCR processing on the CMY image data ucr_cmy generated by the UCR processing unit 414 based on the UCA mode signal uca_mode and the K image data gcr_bk generated by the GCR processing unit 413 to obtain CMY image data. ucr_cmy is corrected.

UCR処理部414では、補正後のCMY画像データhlut_cmyからUCR処理用のK画像データucr_bkを減算してCMY画像データucr_cmyを生成している。しかし、このUCR処理では墨量を引きすぎてしまうため、GCR処理部413によって生成した墨量であるK画像データgcr_bkによってUCR処理部414で引きすぎた値を補正することがある。UCAモード信号uca_modeは、この補正を行うか否かを示す信号であり、ユーザーからの直接の指定、またはユーザーが入力したモードからCPUが生成する。ここでは、UCAモード信号uca_modeは2ビットの信号であって、絵柄領域に対して補正処理を行なうか否か、文字領域に対して補正処理を行なうか否かを示している。   The UCR processing unit 414 generates CMY image data ucr_cmy by subtracting the UCR processing K image data ucr_bk from the corrected CMY image data hult_cmy. However, since the black amount is excessively subtracted in this UCR processing, the value excessively subtracted by the UCR processing unit 414 may be corrected by the K image data gcr_bk that is the black amount generated by the GCR processing unit 413. The UCA mode signal uca_mode is a signal indicating whether or not this correction is performed, and is generated by the CPU from a direct designation from the user or a mode input by the user. Here, the UCA mode signal uca_mode is a 2-bit signal, and indicates whether correction processing is performed on the picture area or whether correction processing is performed on the character area.

像域分離信号sepiが絵柄領域を示しておりかつUCAモード信号uca_modeが絵柄領域の補正処理を行なうことを示している場合、または像域分離信号sepiが文字領域を示しておりかつUCAモード信号uca_modeが文字領域の補正処理を行なうことを示している場合、UCA処理部415は、下記の式12−1〜式12−3を用いてCMY画像データucr_cmyを補正したCMY画像データuca_cmyを求める。
uca_c=(ucr_c × (256+ucr_bk))/256 …式12−1
uca_m=(ucr_m × (256+ucr_bk))/256 …式12−2
uca_y=(ucr_y × (256+ucr_bk))/256 …式12−3
When the image area separation signal sepi indicates a picture area and the UCA mode signal uca_mode indicates that the image area is to be corrected, or the image area separation signal sepi indicates a character area and the UCA mode signal uca_mode Indicates that character area correction processing is performed, the UCA processing unit 415 obtains CMY image data uca_cmy obtained by correcting the CMY image data ucr_cmy using the following formulas 12-1 to 12-3.
uca_c = (ucr_c × (256 + ucr_bk)) / 256 Formula 12-1
uca_m = (ucr_m × (256 + ucr_bk)) / 256 Formula 12-2
uca_y = (ucr_y × (256 + ucr_bk)) / 256 Equation 12-3

UCA処理部415は、上記式12(式12−1〜式12ー3を示す)によって補正したCMY画像データuca_cmyが負の場合には0でクリップし、補正したCMY画像データuca_cmyが256以上の場合には255にクリップして8ビットのCMY画像データuca_cmyを変倍処理部42に出力する。   The UCA processing unit 415 clips with 0 when the CMY image data uca_cmy corrected by the above equation 12 (shown by the equations 12-1 to 12-3) is negative, and the corrected CMY image data uca_cmy is 256 or more. In this case, the data is clipped to 255 and 8-bit CMY image data uca_cmy is output to the scaling processing unit 42.

一方、像域分離信号sepiが絵柄領域を示しておりかつUCAモード信号uca_modeが絵柄領域の補正処理を行なわないことを示している場合、または像域分離信号sepiが文字領域を示しておりかつUCAモード信号uca_modeが文字領域の補正処理を行なわないことを示している場合、UCA処理部415は、CMY画像データucr_cmyをそのままCMY画像データuca_cmyとして変倍処理部42に出力する。   On the other hand, when the image area separation signal sepi indicates a picture area and the UCA mode signal uca_mode indicates that the image area is not corrected, or when the image area separation signal sepi indicates a character area and the UCA When the mode signal uca_mode indicates that the character area correction process is not performed, the UCA processing unit 415 outputs the CMY image data ucr_cmy as it is to the scaling unit 42 as the CMY image data uca_cmy.

このように、この実施の形態においては、原稿を読み取って3次元の色空間で表現されるRGBの色信号の入力画像データおよび入力画像データの属性を示す付帯情報を生成する読取り装置1と、読取り装置1によって生成された入力画像データを所定の特性に統一した統一画像データを生成する画像データ処理装置2(特許請求の範囲でいうところの第1の画像データ処理装置)と、画像データ処理装置2によって生成された統一画像データおよび付帯情報を記憶するメモリ7と、メモリ7に記憶された統一画像データとは異なるCMYKの色信号の出力画像データを生成する画像データ処理装置4(特許請求の範囲でいうところの第2の画像データ処理装置)と、画像データ処理装置4によって生成された出力画像データを印字するプロッタ装置9(特許請求の範囲でいうところの画像書込み装置)と、FAX15(特許請求の範囲でいうところの外部出力装置)と接続するインターフェース機能を有し、画像データ処理装置4によって生成された出力画像データをFAX15に出力する回線I/F装置11(特許請求の範囲でいうところのインターフェース装置)と、PC16(特許請求の範囲でいうところの外部出力装置)と接続するインターフェース機能を有し、画像データ処理装置4によって生成された出力画像データをPC16に出力する外部I/F装置12(特許請求の範囲でいうところのインターフェース装置)とを備え、画像データ処理装置2が、読取り装置1によって生成された入力画像データをプロッタ装置9、FAX15、およびPC16に対応する特性に統一し、画像データ処理装置4が、3次元ルックアップテーブルを用いてメモリ7に記憶された統一画像データをRGBからCMYKに色変換し、色変換によって得られたCMYK画像データの値域をプロッタ装置9、FAX15、およびPC16が再現できる色域よりも大きな色域まで仮想的に拡張した後に、拡張した画像データの値域を出力画像データの出力先となるプロッタ装置9、FAX15、またはPC16が再現できる色域の値域にクリップし、クリップした画像データを出力画像データとして出力するようにしているため、読取り装置1によって原稿から生成したRGBの入力画像データを、プロッタ装置9、FAX15、およびPC16に再利用することを可能とするとともに、色変換テーブルの規模を増大させることなく、色再現範囲(ガマット)が制限されたカラー画像出力装置の色に高精度に変換できる。具体的には、画像処理を実施する共通の色空間として、たとえば、標準モニタを想定したsRGB空間より色再現域が広い拡張RGBが設定された場合でも、補間併用系の色変換テーブルの規模を増大させることなく、色再現範囲(ガマット)が制限されたカラー画像出力装置の色に高精度に補正することができる。   As described above, in this embodiment, the reading apparatus 1 that reads an original and generates input image data of RGB color signals expressed in a three-dimensional color space and accompanying information indicating attributes of the input image data; An image data processing device 2 (first image data processing device in the claims) that generates unified image data obtained by unifying input image data generated by the reading device 1 with predetermined characteristics; A memory 7 for storing unified image data and supplementary information generated by the device 2, and an image data processing device 4 for generating output image data of CMYK color signals different from the unified image data stored in the memory 7 (claim) A second image data processing device in the range of (2) and a program for printing output image data generated by the image data processing device 4. The data processing device 4 has an interface function for connecting the data device 9 (image writing device in the scope of claims) and the FAX 15 (external output device in the scope of claims). It has an interface function to connect the line I / F device 11 (interface device as defined in the claims) that outputs the output image data to the FAX 15 and the PC 16 (external output device as defined in the claims). And an external I / F device 12 (interface device in the scope of claims) that outputs output image data generated by the image data processing device 4 to the PC 16. The input image data generated by the PC 15 corresponds to the plotter device 9, FAX 15, and PC 16. The image data processing device 4 converts the unified image data stored in the memory 7 from RGB to CMYK using a three-dimensional lookup table, and plots the range of the CMYK image data obtained by the color conversion. After virtually expanding to a color gamut larger than the color gamut that can be reproduced by the device 9, the FAX 15, and the PC 16, the range of the expanded image data is reproduced by the plotter device 9, the FAX 15, or the PC 16 that is the output destination of the output image data. Since the clipped image data is output as output image data by clipping to the range of the color gamut that can be generated, the RGB input image data generated from the original by the reading device 1 is sent to the plotter device 9, FAX 15, and PC 16. Do not increase the scale of the color conversion table. In addition, the color reproduction range (gamut) can be converted with high accuracy into the color of the color image output apparatus. Specifically, for example, even when extended RGB having a wider color gamut than the sRGB space assuming a standard monitor is set as a common color space for performing image processing, the scale of the color conversion table for the interpolation combined system is set. Without increasing the color, the color of the color image output apparatus with a limited color reproduction range (gamut) can be corrected with high accuracy.

また、この実施の形態によれば、拡張した画像データの値域をクリップした画像データに対してUCR処理部414が像域分離信号sepiおよびユーザーからのモード指定によるUCRモード信号ucr_modeに基づいて下色除去の墨処理を施し、UCR処理部414が、像域分離信号sepiおよびユーザーからのモード指定によるUCAモード信号uca_modeに基づいて下色加色の墨処理を施した画像データを出力画像データとして出力するようにしているため、入力カラー画像の特性に応じて、色変換テーブルの規模を増大させることなく、カラー画像出力装置の色再現範囲(ガマット)を最大限に活用しながら、効果的な墨処理を行なうともに、文字・絵柄等に適したカラーマッチング処理することができる。   Further, according to this embodiment, the UCR processing unit 414 applies the undercolor based on the image area separation signal sepi and the UCR mode signal ucr_mode specified by the user to the image data obtained by clipping the range of the expanded image data. The UCR processing unit 414 outputs the image data that has been subjected to the black color addition black ink processing based on the image area separation signal sepi and the UCA mode signal uca_mode specified by the user as output image data. Therefore, according to the characteristics of the input color image, an effective ink can be obtained while making the best use of the color reproduction range (gamut) of the color image output device without increasing the scale of the color conversion table. In addition to performing processing, color matching processing suitable for characters, pictures, and the like can be performed.

さらに、この実施の形態によれば、像域分離信号sepiに基づいて絵柄領域と文字領域の画像データに対して拡張する範囲を変更するようにしているため、入力カラー画像の特性に応じて、PC16で作成されたグラフィック文書で頻繁に使われる飽和色の色再現の制御と、色再現域境界部での高精度な色再現とを両立することができる。   Furthermore, according to this embodiment, since the range to be expanded for the image data of the pattern area and the character area is changed based on the image area separation signal sepi, according to the characteristics of the input color image, It is possible to achieve both color reproduction control of saturated colors frequently used in graphic documents created by the PC 16 and high-precision color reproduction at the color reproduction area boundary.

なお、この実施の形態の画像データ処理装置2のγ変換部20、フィルタ処理部21、色変換部22、および変倍処理部23によって実現される前述した各機能と、画像データ処理装置2のフィルタ処理部40、色変換部41、変倍処理部42、および階調処理部43によって実現される前述した各機能とを、汎用のコンピュータに実行させるための画像処理プログラムとして提供してもよい。この場合、画像処理プログラムは、コンピュータにインストール可能な形式、またはコンピュータが実行可能な形式のファイルでCD−ROM、フロッピー(登録商標)ディスク、DVDなどのコンピュータで読み取り可能な記録媒体に記録して提供する。記録媒体に記録された画像処理プログラムは、記録媒体から読み出されてコンピュータ上で実現される。   It should be noted that the above-described functions realized by the γ conversion unit 20, the filter processing unit 21, the color conversion unit 22, and the scaling processing unit 23 of the image data processing device 2 of this embodiment, and the image data processing device 2 The functions described above realized by the filter processing unit 40, the color conversion unit 41, the scaling processing unit 42, and the gradation processing unit 43 may be provided as an image processing program for causing a general-purpose computer to execute the functions. . In this case, the image processing program is recorded in a computer-readable recording medium such as a CD-ROM, a floppy (registered trademark) disk, and a DVD in a format that can be installed in a computer or a computer-executable format. provide. The image processing program recorded on the recording medium is read from the recording medium and realized on the computer.

この発明にかかる画像処理プログラムを実行するコンピュータは、少なくとも制御装置と、記憶装置とを備えている。制御装置は、コンピュータ全体を制御するCPUなどの演算処理装置と、ROMとを備えている。記憶装置は、一般的なRAMで構成され、処理に必要なデータを記憶するとともに、処理のワークメモリとして用いられる。制御装置は、画像処理プログラムが記録されている記録媒体から画像処理プログラムを読み出して実行することで、画像データ処理装置2のγ変換部20、フィルタ処理部21、色変換部22、および変倍処理部23によって実現される前述した各機能と、画像データ処理装置2のフィルタ処理部40、色変換部41、変倍処理部42、および階調処理部43によって実現される前述した各機能としてコンピュータを動作させる。   A computer that executes an image processing program according to the present invention includes at least a control device and a storage device. The control device includes an arithmetic processing device such as a CPU that controls the entire computer, and a ROM. The storage device includes a general RAM, stores data necessary for processing, and is used as a processing work memory. The control device reads and executes the image processing program from the recording medium on which the image processing program is recorded, so that the γ conversion unit 20, the filter processing unit 21, the color conversion unit 22, and the scaling unit of the image data processing device 2 are executed. Each function described above realized by the processing unit 23 and each function described above realized by the filter processing unit 40, the color conversion unit 41, the scaling processing unit 42, and the gradation processing unit 43 of the image data processing apparatus 2 Operate the computer.

また、画像処理プログラムをネットワークに接続されたコンピュータ上に格納し、ネットワークを介してダウンロードさせることにより提供するように構成してもよい。また、画像処理プログラムをネットワークを介して提供または配布するように構成してもよい。   Alternatively, the image processing program may be stored on a computer connected to a network and provided by being downloaded via the network. Further, the image processing program may be provided or distributed via a network.

本発明の実施の形態における画像処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image processing apparatus in embodiment of this invention. 図1に示した画像データ処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image data processing apparatus shown in FIG. 図1に示した画像データ処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image data processing apparatus shown in FIG. 図3に示した色変換部の構成を示すブロック図である。FIG. 4 is a block diagram illustrating a configuration of a color conversion unit illustrated in FIG. 3. 図4に示した三次元LUT変換部の構成を示すブロック図である。FIG. 5 is a block diagram illustrating a configuration of a three-dimensional LUT conversion unit illustrated in FIG. 4. 図5に示した3DLUT色変換部の動作を説明するための図である。FIG. 6 is a diagram for explaining an operation of the 3DLUT color conversion unit illustrated in FIG. 5. 図5に示した3DLUT色変換部の動作を説明するための図である。FIG. 6 is a diagram for explaining an operation of the 3DLUT color conversion unit illustrated in FIG. 5. 図5に示した3DLUT色変換部の動作を説明するための図である。FIG. 6 is a diagram for explaining an operation of the 3DLUT color conversion unit illustrated in FIG. 5. 図5に示した3DLUT色変換部の動作を説明するための図である。FIG. 6 is a diagram for explaining an operation of the 3DLUT color conversion unit illustrated in FIG. 5. 図5に示した3DLUT色変換部の動作を説明するための図である。FIG. 6 is a diagram for explaining an operation of the 3DLUT color conversion unit illustrated in FIG. 5. 図5に示した3DLUT色変換部の動作を説明するための図である。FIG. 6 is a diagram for explaining an operation of the 3DLUT color conversion unit illustrated in FIG. 5. 図5に示した3DLUT色変換部の動作を説明するための図である。FIG. 6 is a diagram for explaining an operation of the 3DLUT color conversion unit illustrated in FIG. 5. 図5に示した3DLUT色変換部の動作を説明するための図である。FIG. 6 is a diagram for explaining an operation of the 3DLUT color conversion unit illustrated in FIG. 5. 図5に示した3DLUT色変換部が選択する四面体と補間係数の関係を示す図である。It is a figure which shows the relationship between the tetrahedron which the 3DLUT color conversion part shown in FIG. 5 selects, and an interpolation coefficient. 図5に示した3DLUT色変換部の正規化の動作を説明するための図である。FIG. 6 is a diagram for explaining a normalization operation of the 3DLUT color conversion unit illustrated in FIG. 5. 従来の色変換を説明するための図である。It is a figure for demonstrating the conventional color conversion. 従来の色変換を説明するための図である。It is a figure for demonstrating the conventional color conversion. 従来の色変換を説明するための図である。It is a figure for demonstrating the conventional color conversion. 従来の色変換を説明するための図である。It is a figure for demonstrating the conventional color conversion.

符号の説明Explanation of symbols

1 読取り装置
2,4 画像データ処理装置
3 バス制御装置
5 HDD
6 CPU
7 メモリ
8 プロッタI/F装置
9 プロッタ装置
10 操作表示装置
11 回線I/F装置
12 外部I/F装置
13 サウスブリッジ装置
14 ROM
15 FAX
16 PC
20 γ変換部
21,40 フィルタ処理部
22,41 色変換部
23,42 変倍処理部
43 階調処理部
411 線形マスキング処理部
412 三次元LUT変換部
413 GCR処理部
414 UCR処理部
415 UCA処理部
4121 3DLUT色変換部
4121a 絵柄領域用LUT
4121b 文字領域用LUT
4122 mink算出部
4123 セレクタ
DESCRIPTION OF SYMBOLS 1 Reading apparatus 2,4 Image data processing apparatus 3 Bus control apparatus 5 HDD
6 CPU
7 Memory 8 Plotter I / F Device 9 Plotter Device 10 Operation Display Device 11 Line I / F Device 12 External I / F Device 13 South Bridge Device 14 ROM
15 FAX
16 PC
20 γ conversion unit 21, 40 Filter processing unit 22, 41 Color conversion unit 23, 42 Scaling processing unit 43 Gradation processing unit 411 Linear masking processing unit 412 Three-dimensional LUT conversion unit 413 GCR processing unit 414 UCR processing unit 415 UCA processing Part 4121 3DLUT color conversion part 4121a LUT for picture area
4121b LUT for character area
4122 mink calculation unit 4123 selector

Claims (8)

少なくとも1台の画像出力装置と接続され、n(nは自然数)次元の色空間で表現される色信号の入力画像データを、該入力画像データとは異なる形式の色信号の出力画像データに変換し、変換した出力画像データを画像出力装置に出力する画像処理装置において、
n次元ルックアップテーブルを用いて前記入力画像データを前記出力画像データの形式に色変換し、色変換した画像データの値域を前記画像出力装置が再現できる色域よりも大きな色域まで仮想的に拡張した後に、拡張した画像データの値域を前記出力画像データを出力する前記画像出力装置が再現できる値域にクリップし、クリップした画像データを前記出力画像データとして出力する色変換手段、
を備えることを特徴とする画像処理装置。
Connected to at least one image output device and converts input image data of color signals expressed in a color space of n (n is a natural number) dimension into output image data of color signals in a format different from the input image data In the image processing apparatus that outputs the converted output image data to the image output apparatus,
The input image data is color-converted into the format of the output image data using an n-dimensional lookup table, and the range of the color-converted image data is virtually increased to a color gamut larger than the color gamut that the image output apparatus can reproduce. After the expansion, color conversion means for clipping the range of the expanded image data to a range that can be reproduced by the image output device that outputs the output image data, and outputting the clipped image data as the output image data;
An image processing apparatus comprising:
原稿を読み取ってn(nは自然数)次元の色空間で表現される色信号の入力画像データおよび該入力画像データの属性を示す付帯情報を生成する画像読取り装置と、
前記画像読取り装置によって生成された入力画像データを所定の特性に統一した統一画像データを生成する第1の画像データ処理装置と、
前記第1の画像データ処理装置によって生成された統一画像データおよび付帯情報を記憶するメモリ装置と、
前記メモリ装置に記憶された統一画像データとは異なる形式の色信号の出力画像データを生成する第2の画像データ処理装置と、
前記第2の画像データ処理装置によって生成された出力画像データを印字する画像書込み装置と、
画像データを処理する外部出力装置と接続するインターフェース機能を有し、前記第2の画像データ処理装置によって生成された出力画像データを前記外部出力装置に出力するインターフェース装置と、
を備え、
前記第1の画像データ処理装置は、
前記画像読取り装置によって生成された入力画像データを前記画像書込み装置および前記インターフェース装置に接続された外部出力装置に対応する特性に統一し、
前記第2の画像データ処理装置は、
n次元ルックアップテーブルを用いて前記メモリ装置に記憶された統一画像データを前記出力画像データの形式に色変換し、色変換によって得られた画像データの値域を前記画像書込み装置および前記外部出力装置が再現できる色域よりも大きな色域まで仮想的に拡張した後に、拡張した画像データの値域を前記出力画像データの出力先となる画像書込み装置または前記外部出力装置が再現できる色域の値域にクリップし、クリップした画像データを前記出力画像データとして出力する色変換手段を備えること、
を特徴とする画像処理装置。
An image reading device that reads an original and generates input image data of color signals expressed in an n-dimensional color space (n is a natural number) and accompanying information indicating attributes of the input image data;
A first image data processing device for generating unified image data in which the input image data generated by the image reading device is unified with predetermined characteristics;
A memory device for storing unified image data and incidental information generated by the first image data processing device;
A second image data processing device for generating output image data of a color signal in a format different from the unified image data stored in the memory device;
An image writing device for printing output image data generated by the second image data processing device;
An interface device that has an interface function for connecting to an external output device that processes image data, and that outputs output image data generated by the second image data processing device to the external output device;
With
The first image data processing device includes:
Unifying input image data generated by the image reading device into characteristics corresponding to the image writing device and an external output device connected to the interface device;
The second image data processing device includes:
The unified image data stored in the memory device is color-converted into the output image data format using an n-dimensional lookup table, and the range of the image data obtained by the color conversion is converted into the image writing device and the external output device. After virtually expanding to a color gamut larger than the color gamut that can be reproduced, the range of the expanded image data is changed to the range of the color gamut that can be reproduced by the image writing device that is the output destination of the output image data or the external output device Clipped and provided with color conversion means for outputting the clipped image data as the output image data;
An image processing apparatus.
前記色変換手段は、
前記拡張した画像データの値域をクリップした画像データに対して下色除去の墨処理を施し、墨処理を施した画像データを前記出力画像データとして出力すること、
を特徴とする請求項1または2に記載の画像処理装置。
The color conversion means includes
Performing black processing of under color removal on the image data clipped from the range of the expanded image data, and outputting the image data subjected to the black processing as the output image data;
The image processing apparatus according to claim 1, wherein:
前記色変換手段は、
前記メモリ装置に記憶された付帯情報および/または外部から入力されるモード指定に応じて、色変換によって得られた画像データの値域を拡張する範囲を変更すること、
を特徴とする請求項3に記載の画像処理装置。
The color conversion means includes
Changing the range for extending the range of the image data obtained by the color conversion according to the auxiliary information stored in the memory device and / or the mode designation input from the outside,
The image processing apparatus according to claim 3.
前記付帯情報は、前記入力画像データが絵柄領域または文字領域の画素であることを示す情報とすることを特徴とする請求項4に記載の画像処理装置。   The image processing apparatus according to claim 4, wherein the auxiliary information is information indicating that the input image data is a pixel in a picture area or a character area. 前記色変換手段は、
前記n次元ルックアップテーブルを用いて変換した画像データを、前記出力画像データのプレーン毎に拡張すること、
を特徴とする請求項1〜4の何れか一つに記載の画像処理装置。
The color conversion means includes
Expanding the image data converted using the n-dimensional lookup table for each plane of the output image data;
The image processing apparatus according to claim 1, wherein:
少なくとも1台の画像出力装置と接続され、n(nは自然数)次元の色空間で表現される色信号の入力画像データを、該入力画像データとは異なる形式の色信号の出力画像データに変換し、変換した出力画像データを画像出力装置に出力する画像処理装置に適用される画像処理方法において、
n次元ルックアップテーブルを用いて前記入力画像データを前記出力画像データの形式に色変換する色変換処理ステップと、
前記色変換処理ステップによって色変換された画像データの値域を前記画像出力装置が再現できる色域よりも大きな色域まで仮想的に拡張する拡張処理ステップと、
前記拡張処理ステップによって拡張された画像データの値域を前記出力画像データを出力する画像出力装置が再現できる値域にクリップするクリップ処理ステップと、
前記クリップ処理ステップによってクリップされた画像データを前記出力画像データとして出力する出力処理ステップと、
を備えることを特徴とする画像処理方法。
Connected to at least one image output device and converts input image data of color signals expressed in a color space of n (n is a natural number) dimension into output image data of color signals in a format different from the input image data In the image processing method applied to the image processing apparatus that outputs the converted output image data to the image output apparatus,
a color conversion processing step for color-converting the input image data into the format of the output image data using an n-dimensional lookup table;
An expansion processing step of virtually extending the range of the image data color-converted by the color conversion processing step to a color gamut larger than the color gamut that can be reproduced by the image output device;
A clip processing step for clipping the range of the image data expanded by the expansion processing step to a range that can be reproduced by the image output device that outputs the output image data;
An output processing step of outputting the image data clipped by the clipping processing step as the output image data;
An image processing method comprising:
請求項7に記載された画像処理方法をコンピュータで実行させることを特徴とする画像処理プログラム。   An image processing program for causing a computer to execute the image processing method according to claim 7.
JP2007012021A 2007-01-22 2007-01-22 Image processing apparatus, image processing method, and image processing program Expired - Fee Related JP4740164B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007012021A JP4740164B2 (en) 2007-01-22 2007-01-22 Image processing apparatus, image processing method, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007012021A JP4740164B2 (en) 2007-01-22 2007-01-22 Image processing apparatus, image processing method, and image processing program

Publications (2)

Publication Number Publication Date
JP2008178047A true JP2008178047A (en) 2008-07-31
JP4740164B2 JP4740164B2 (en) 2011-08-03

Family

ID=39704700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007012021A Expired - Fee Related JP4740164B2 (en) 2007-01-22 2007-01-22 Image processing apparatus, image processing method, and image processing program

Country Status (1)

Country Link
JP (1) JP4740164B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9204017B2 (en) 2013-12-16 2015-12-01 Ricoh Company, Limited Image processing device, image processing method, and computer program product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02214266A (en) * 1989-02-14 1990-08-27 Dainippon Printing Co Ltd Color correction method for color picture signal
JPH09224162A (en) * 1996-02-15 1997-08-26 Ricoh Co Ltd Chrominance converter
JP2000261679A (en) * 1999-03-09 2000-09-22 Fuji Xerox Co Ltd Image processing method and image processor
JP2003186635A (en) * 2001-12-13 2003-07-04 Fuji Xerox Co Ltd Image processing apparatus and program
JP2006238160A (en) * 2005-02-25 2006-09-07 Fuji Photo Film Co Ltd Image processing method and image forming system
JP2006311381A (en) * 2005-04-28 2006-11-09 Sharp Corp Image processor, image forming apparatus, image processing method, computer program and recording medium
JP2006324858A (en) * 2005-05-18 2006-11-30 Ricoh Co Ltd Image storage device and method, program, and recording medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02214266A (en) * 1989-02-14 1990-08-27 Dainippon Printing Co Ltd Color correction method for color picture signal
JPH09224162A (en) * 1996-02-15 1997-08-26 Ricoh Co Ltd Chrominance converter
JP2000261679A (en) * 1999-03-09 2000-09-22 Fuji Xerox Co Ltd Image processing method and image processor
JP2003186635A (en) * 2001-12-13 2003-07-04 Fuji Xerox Co Ltd Image processing apparatus and program
JP2006238160A (en) * 2005-02-25 2006-09-07 Fuji Photo Film Co Ltd Image processing method and image forming system
JP2006311381A (en) * 2005-04-28 2006-11-09 Sharp Corp Image processor, image forming apparatus, image processing method, computer program and recording medium
JP2006324858A (en) * 2005-05-18 2006-11-30 Ricoh Co Ltd Image storage device and method, program, and recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9204017B2 (en) 2013-12-16 2015-12-01 Ricoh Company, Limited Image processing device, image processing method, and computer program product

Also Published As

Publication number Publication date
JP4740164B2 (en) 2011-08-03

Similar Documents

Publication Publication Date Title
JP4067532B2 (en) Color conversion apparatus, image forming apparatus, color conversion method, computer program, and recording medium
JP4368880B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium
US9036199B2 (en) Image processing apparatus for performing color matching processing, image processing method, and computer-readable medium
US7327875B2 (en) Method and apparatus for color conversion
JP2012029276A (en) Image forming device, color adjustment method and color adjustment program
US20070297668A1 (en) Image-processing apparatus and method, computer program, and storage medium
JP2008193409A (en) Image processing apparatus
JP4974853B2 (en) Image processing apparatus, image processing method, and program
JP2010166506A (en) Image output device, image output method, image output program and recording medium
US20030071823A1 (en) Output image adjustment of graphics data
JP5021578B2 (en) Image processing apparatus and image processing method
JP2007194810A (en) Image processing device
JP5648409B2 (en) Image processing apparatus, image processing method, and program
JP2010074317A (en) Image processor, image processing program, and image processing method
JP4740164B2 (en) Image processing apparatus, image processing method, and image processing program
JP4814162B2 (en) Image processing apparatus and image processing method
JP2007258804A (en) Image processing unit
JP2008072550A (en) Color processing method, color processing apparatus, image forming apparatus, program and recording medium
JP5090969B2 (en) Image processing device
JP2006121530A (en) Color conversion apparatus, image forming apparatus, color conversion method and computer program
JP2006011754A (en) Image processing device and image processing method
JP2008271131A (en) Method and device for image processing, and image forming apparatus
JP2010278768A (en) Image forming apparatus, and image processing method
JP4559173B2 (en) Image processing device
JP2009272772A (en) Image processor, image forming apparatus, image processing method, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091002

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110201

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110404

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110428

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140513

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees