Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4851369B2 - Image forming apparatus, image processing method, and image processing program - Google Patents
[go: Go Back, main page]

JP4851369B2 - Image forming apparatus, image processing method, and image processing program - Google Patents

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

Info

Publication number
JP4851369B2
JP4851369B2 JP2007055456A JP2007055456A JP4851369B2 JP 4851369 B2 JP4851369 B2 JP 4851369B2 JP 2007055456 A JP2007055456 A JP 2007055456A JP 2007055456 A JP2007055456 A JP 2007055456A JP 4851369 B2 JP4851369 B2 JP 4851369B2
Authority
JP
Japan
Prior art keywords
point
lookup table
smoothing
cmyk data
dimensional lookup
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007055456A
Other languages
Japanese (ja)
Other versions
JP2008219566A (en
Inventor
昌 松尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2007055456A priority Critical patent/JP4851369B2/en
Publication of JP2008219566A publication Critical patent/JP2008219566A/en
Application granted granted Critical
Publication of JP4851369B2 publication Critical patent/JP4851369B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

本発明は、画像形成装置に関し、より詳しくは、スムージング処理が施されたルックアップテーブルに基づき色変換処理を行う画像形成装置に関する。   The present invention relates to an image forming apparatus, and more particularly to an image forming apparatus that performs color conversion processing based on a lookup table that has been subjected to smoothing processing.

従来、プリンタ装置は、ホストコンピュータ等から入力した多次元の色信号を他の多次元の色信号に変換して出力するための三次元ルックアップテーブル(LookUpTable:以下「LUT」と略記する)を備えており、このLUTを参照することによって好適な色変換処理が可能となり、所望の画像出力処理ができるようになっている(例えば特許文献1参照)。
例えば、カラープリンタの色信号処理においては、ディスプレイ表示系のRGB3次元色信号を、CMYKなどのプリンタ色信号に変換するため、RGB空間を各軸で格子点に区切って、その頂点となる格子点位置に出力値CMYKを設定したLUTが使用される。
2. Description of the Related Art Conventionally, a printer device converts a multidimensional color signal input from a host computer or the like into another multidimensional color signal and outputs it, and outputs a three-dimensional lookup table (LookUpTable: hereinafter abbreviated as “LUT”). A suitable color conversion process can be performed by referring to the LUT, and a desired image output process can be performed (see, for example, Patent Document 1).
For example, in color signal processing of a color printer, in order to convert an RGB three-dimensional color signal of a display display system into a printer color signal such as CMYK, the RGB space is divided into lattice points on each axis, and the lattice point that is the vertex An LUT in which the output value CMYK is set at the position is used.

しかしながら、このようなLUTは、メーカやその設計者が最適と考える数値を単に当てはめているだけであり、必ずしも出力値の階調性や連続性が確保されているわけではない。
このため、従来のプリンタ装置によって出力された画像は必ずしも滑らかではなく、不自然な色再現処理がなされる場合もあり、問題となっていた。
そこで、従来、入力画像データによって表される空間を格子状に分割し、その格子点における色変換後の画像データを演算及び平滑化し、その平滑化された画像データを格子点のデータとして変換テーブルを生成し、その変換テーブルを用いて色変換を施す画像処理装置等が提案されている(例えば特許文献2参照)。
However, such a LUT simply applies numerical values that the manufacturer or its designer considers optimal, and does not necessarily ensure the gradation and continuity of the output values.
For this reason, an image output by a conventional printer device is not necessarily smooth, and unnatural color reproduction processing may be performed, which has been a problem.
Therefore, conventionally, the space represented by the input image data is divided into a grid pattern, the image data after color conversion at the grid points is calculated and smoothed, and the smoothed image data is converted into grid point data as a conversion table. And an image processing apparatus that performs color conversion using the conversion table has been proposed (see, for example, Patent Document 2).

特開2003−348365号公報(第5頁、第1−2図)JP2003-348365 (5th page, Fig. 1-2) 特開2001−144981号公報(第1−2頁、第11図)Japanese Unexamined Patent Publication No. 2001-144981 (page 1-2, FIG. 11)

しかしながら、以上のような従来提案されている画像処理装置等においては、RGB空間を格子状に分割した場合の各格子点に対応する出力値を、すべて一律に平滑化し、スムージング処理後のデータを前記格子点のデータとした変換テーブルを生成するだけである。すなわち、係る平滑化処理においては、色相面を特に意識した階調処理はなされていない。
このため、係る画像処理装置によって画像処理を行う場合、対象となる入力画像が一定の色味傾向を有するときには、変換後の出力画像の階調連続性が崩れ、依然として不自然な画像が出力される可能性が高いという問題があった。
However, in the conventionally proposed image processing apparatus and the like as described above, the output values corresponding to the respective grid points when the RGB space is divided into grids are all uniformly smoothed, and the data after the smoothing process is processed. It is only necessary to generate a conversion table using the lattice point data. That is, in such smoothing processing, gradation processing with particular attention to the hue plane is not performed.
For this reason, when image processing is performed by such an image processing apparatus, when the target input image has a certain color tendency, the gradation continuity of the output image after conversion is lost, and an unnatural image is still output. There was a problem that there is a high possibility of being.

本発明は、以上のような従来の技術が有する問題を解決するために提案されたものであり、所定の色相面を設定し、当該色相面に基づくスムージング処理を施したLUTを用いることにより、一定の色相範囲における階調連続性の低下及び不自然な色変換処理を防ぐ画像形成装置の提供を目的とする。   The present invention has been proposed in order to solve the above-described problems of the conventional technology, and by setting a predetermined hue plane and using a LUT subjected to smoothing processing based on the hue plane, An object of the present invention is to provide an image forming apparatus that prevents a decrease in gradation continuity and an unnatural color conversion process in a certain hue range.

上記目的を達成するため、本発明の画像形成装置は入力RGBデータに対応する出力CMYKデータが格納された三次元ルックアップテーブルを備える画像形成装置において、前記三次元ルックアップテーブルにおける所定の格子点を抽出する格子点抽出手段と、抽出された一以上の前記格子点のそれぞれについて所定の色相面を設定する色相面設定手段と、設定された一以上の前記色相面上に所定の注目点を設定する注目点設定手段と、前記注目点設定手段によって設定された注目点に対応するCMYKデータを算出するCMYK算出手段と、算出された前記CMYKデータについて所定のスムージング処理を施すことにより他のCMYKデータを算出するスムージング手段と、前記他のCMYKデータを前記三次元ルックアップテーブルの各格子点に対応づけて格納するスムージングLUT作成手段と、を備えた構成としてある。 To achieve the above object, an image forming apparatus of the present invention is an image forming apparatus including a three-dimensional look-up table output CMYK data is stored corresponding to the input RGB data, a predetermined grating in the three-dimensional look-up table Grid point extraction means for extracting points, hue plane setting means for setting a predetermined hue plane for each of the extracted one or more grid points, and a predetermined attention point on the set one or more hue planes Attention point setting means for setting CMYK data, CMYK calculation means for calculating CMYK data corresponding to the attention point set by the attention point setting means, and by applying a predetermined smoothing process to the calculated CMYK data. Smoothing means for calculating CMYK data and the other CMYK data as the three-dimensional lookup table A smoothing LUT generation means for storing in association with each lattice point of a configuration equipped with.

このような構成からなる本発明の画像形成装置によれば、所定の色相面ごとにCMYKデータのスムージングを行い、スムージング後のCMYKデータを用いてLUTを作成することとしている。
そして、係るLUTによって、色変換処理を行うようにしてある。
これにより、本発明に係る画像形成装置による出力画像においては、色相面における階調のバランスや連続性が向上し、滑らかな階調表現が可能となる。
また、LUT自体にスムージング処理が施されているため、色変換処理後にあらためて円滑化処理を行う必要が無く、余計な処理や手間が発生しない。
さらに、上記LUTは、予め搭載されてある通常のLUTに基づいて作成することができるため、簡易な構成で本発明の画像形成装置を実現し、また、安価に提供することが可能となる。
According to the image forming apparatus of the present invention having such a configuration, the CMYK data is smoothed for each predetermined hue plane, and the LUT is created using the smoothed CMYK data.
The color conversion process is performed by the LUT.
Thereby, in the output image by the image forming apparatus according to the present invention, the balance and continuity of gradation on the hue plane are improved, and smooth gradation expression is possible.
Further, since the smoothing process is performed on the LUT itself, it is not necessary to perform a smoothing process again after the color conversion process, and unnecessary processing and labor are not generated.
Furthermore, since the LUT can be created based on a normal LUT mounted in advance, the image forming apparatus of the present invention can be realized with a simple configuration and can be provided at low cost.

また、本発明の画像形成装置は前記格子点抽出手段は、前記LUTにおける彩度の最も高い格子点を抽出するようにしてある。 The image forming apparatus of the present invention, the lattice point extracting means is adapted to be extracted highest grid point of saturation in the LUT.

このような構成からなる本発明の画像形成装置によれば、LUT上の格子点のうち、彩度の最も高いポイント(Chromatic Peak Point:クロマティックピークポイント)を抽出し、色相面を構成する一点とするようにしている。
このため、新たなLUTを作成するに際し、全ての格子点について色相面を設定する必要がないため、取り扱うデータ量を極力抑え、処理速度を向上させることが可能となる。
したがって、出力画像に関し、色相面における階調連続性を向上させることが可能なLUTを迅速かつ容易に作成することができ、また、係るLUTを搭載した画像形成装置を迅速かつ容易に実現し、提供することができる。
According to the image forming apparatus of the present invention having such a configuration, a point having the highest saturation (Chromatic Peak Point) is extracted from the lattice points on the LUT, and a point constituting the hue plane is extracted. Like to do.
For this reason, when creating a new LUT, it is not necessary to set a hue plane for all the lattice points, so that the amount of data to be handled can be minimized and the processing speed can be improved.
Therefore, it is possible to quickly and easily create an LUT capable of improving tone continuity in the hue plane for an output image, and to quickly and easily realize an image forming apparatus equipped with such an LUT, Can be provided.

また、本発明の画像形成装置は前記色相面設定手段は、前記格子点抽出手段によって抽出された格子点と黒色点及び白色点によって形成される閉領域を一の色相面として設定するようにしてある。 The image forming apparatus of the present invention, the hue plane setting means, a closed area formed by the lattice points and the black point and white point extracted by the grid point extracting means so as to set as one of the hue plane It is.

このような構成からなる本発明の画像形成装置によれば、LUT上に一定の閉領域を設定し、このような閉領域上の入力値に対応する出力値をスムージングの対象としている。
具体的には、LUT上における一格子点と、黒点及び白点によって形成される三角形状の平面を複数設定してその後のスムージング処理に利用するようにしている。
According to the image forming apparatus of the present invention having such a configuration, a certain closed area is set on the LUT, and an output value corresponding to the input value on such a closed area is set as a smoothing target.
Specifically, a plurality of triangular planes formed by one grid point on the LUT and black and white points are set and used for subsequent smoothing processing.

これによって、本発明では、一定の規則性をもって色相面を特定することができるため、色相面設定に際し、必要なデータ量を抑え、処理速度を向上させることが可能となる。
また、その格子点としてクロマティックピークポイントを採用することにより、かかる効果をより高めることができる。
さらに、このような色相面を利用することにより、その色相面上に配置する注目点と、LUT上の格子点とが一致するポイントを効率よく抽出することができ、新たなLUTを容易かつ正確に作成できるようになる。
このように、本発明によれば、出力画像に関し、色相面における階調連続性を向上させることが可能なLUTを、容易かつ正確に作成できるとともに、係るLUTを搭載した画像形成装置を容易に実現し、提供することができる。
Accordingly, in the present invention, since the hue plane can be specified with a certain regularity, it is possible to suppress the necessary data amount and improve the processing speed when setting the hue plane.
Further, by adopting a chromatic peak point as the lattice point, this effect can be further enhanced.
Furthermore, by using such a hue plane, it is possible to efficiently extract a point where a point of interest arranged on the hue plane and a lattice point on the LUT coincide with each other, and a new LUT can be easily and accurately obtained. Can be created.
As described above, according to the present invention, it is possible to easily and accurately create an LUT capable of improving gradation continuity in the hue plane for an output image, and to easily provide an image forming apparatus equipped with such an LUT. Can be realized and provided.

また、本発明の画像形成装置は前記注目点設定手段は、前記LUTがn格子によって形成される場合に、前記色相面設定手段によって形成された閉領域上において、その閉領域を形成する各線分を(n―1)個に等分する平行線を生成し、これら生成された平行線が交差する点を注目点とするようにしてある。 The image forming apparatus of the present invention, the point of interest setting means, the LUT is when formed by n 3 grid, on the closed region formed by the hue plane setting means, to form the closed area Parallel lines that equally divide each line segment into (n-1) pieces are generated, and a point where these generated parallel lines intersect is set as a point of interest.

このような構成からなる本発明の画像形成装置によれば、閉領域上の注目点を格子状に配置させることによって、一閉領域上における注目点とLUT上の格子点とが一致するポイントを効果的に抽出することが可能となる。
このため、新たなLUTを作成するに当たり、既知であるLUT上の格子点のアドレスがそのまま利用でき、当該LUTとの対応づけを簡易かつ正確に割り当てることができるようになる。
また、三次元によって表現しうる一般的なLUTであれば、格子数等の異同を問わず利用することができるため、汎用性や拡張性を高めることも可能である。
このようにして、スムージング効果を奏するだけでなく、その適応範囲が広いLUTを容易に作成することができ、また、係るLUTを搭載することによって、汎用性や拡張性に優れ、階調性に優れた画像形成装置を容易に実現し、提供することができる。
According to the image forming apparatus of the present invention having such a configuration, the points of interest on the closed region coincide with the lattice points on the LUT by arranging the points of interest on the closed region in a grid pattern. It is possible to extract effectively.
For this reason, when creating a new LUT, the addresses of known grid points on the LUT can be used as they are, and the correspondence with the LUT can be assigned easily and accurately.
In addition, since a general LUT that can be expressed in three dimensions can be used regardless of the difference in the number of lattices, versatility and expandability can be improved.
In this way, it is possible to easily create an LUT that not only has a smoothing effect but also has a wide adaptive range, and is equipped with such an LUT, so that it has excellent versatility and expandability, and gradation. An excellent image forming apparatus can be easily realized and provided.

また、本発明の画像形成装置は前記スムージング手段は、前記CMYK算出手段によって算出されたCMYKデータについて、その注目点に隣接する注目点を用いて所定のスムージング処理を施すことにより他のCMYKデータを算出するようにしている。 In the image forming apparatus according to the aspect of the invention, the smoothing unit performs other smoothing processing on the CMYK data calculated by the CMYK calculation unit using a target point adjacent to the target point. Is calculated.

特に、本発明の画像形成装置は前記スムージング手段が、前記注目点設定手段により、i行×j列の格子状に配置された注目点について、演算式A’(i+1)(j-1)={(Aij+A(i+2)(j-2))/2+A(i+1)(j-1)}/2による処理を行うことによって任意の注目点A(i+1)(j-1)におけるスムージング処理後のCMYKデータA’(i+1)(j-1)を算出するようにしている。
また、本発明の画像形成装置は前記スムージング手段が、前記注目点設定手段により、i行×j列の格子状に配置された注目点について、演算式A’i(j+1)={(Aij+Ai(j+2))/2+Ai(j+1)}/2による処理を行うことによって任意の注目点Ai(j-1)におけるスムージング処理後のCMYKデータA’i(j-1)を算出するようにしている。
In particular, the image forming apparatus of the present invention, the smoothing means, by the target point setting means, the grid pattern is disposed a target point of the i rows × j columns, arithmetic expressions A '(i + 1) ( j- 1) = {(Aij + A (i + 2) (j-2)) / 2 + A (i + 1) (j-1)} / 2 is performed to obtain an arbitrary attention point A (i + 1) (j The CMYK data A ′ (i + 1) (j−1) after the smoothing process in -1) is calculated.
The image forming apparatus of the present invention, the smoothing means, by the target point setting means, the grid pattern is disposed a target point of the i rows × j columns, arithmetic expressions A'i (j + 1) = { By performing the processing according to (Aij + Ai (j + 2)) / 2 + Ai (j + 1)} / 2, the CMYK data A′i (j−1) after smoothing processing at an arbitrary attention point Ai (j−1) is obtained. I am trying to calculate.

このような構成からなる本発明の画像形成装置によれば、任意の注目点に係る出力データをその前後又は左右に隣接して配置される注目点に係る出力データを用いてスムージングするようにしている。
具体的には、上記の二式を用いて全てのスムージング処理を一様に行うことができる。
これにより、色相面を意識したスムージング処理を施したLUTを、迅速かつ正確に作成することができ、また、係るLUTを搭載した画像形成装置を提供することができる。
According to the image forming apparatus of the present invention having such a configuration, the output data related to an arbitrary point of interest is smoothed using the output data related to the point of interest arranged adjacent to the front, rear, or right and left of the output data. Yes.
Specifically, all the smoothing processes can be performed uniformly using the above two equations.
As a result, the LUT subjected to the smoothing process in consideration of the hue plane can be created quickly and accurately, and an image forming apparatus equipped with the LUT can be provided.

また、本発明の画像形成装置は入力RGBデータに対応する出力CMYKデータが格納された三次元ルックアップテーブルを利用して、色相面ごとにスムージングが施されたルックアップテーブルを作成する画像処理方法であって、前記三次元ルックアップテーブルにおける所定の格子点を抽出するステップと、抽出された一以上の前記格子点のそれぞれについて所定の色相面を設定するステップと、設定された一以上の前記色相面上に所定の注目点を設定するステップと、設定された前記注目点のRGBデータに対応するCMYKデータを算出するステップと、算出された前記CMYKデータについて所定のスムージング処理を施すことにより他のCMYKデータを算出するステップと、前記他のCMYKデータを前記三次元ルックアップテーブルの各格子点に対応づけて格納するステップと、を有する方法としてある。 The image forming apparatus of the present invention utilizes a three-dimensional look-up table output CMYK data is stored corresponding to the input RGB data, image processing for creating a look-up table which smoothing is applied to each color plane A method of extracting predetermined grid points in the three-dimensional lookup table; setting a predetermined hue plane for each of the extracted one or more grid points; and one or more set one or more By setting a predetermined attention point on the hue plane, calculating CMYK data corresponding to the set RGB data of the attention point, and performing a predetermined smoothing process on the calculated CMYK data Calculating other CMYK data, and converting the other CMYK data into the three-dimensional lookup. There as a method having the steps of storing in association with each lattice point of the table, the.

このように、本発明は上述した装置発明としてだけでなく、方法発明としても実現化することができる。
したがって、ハードウェアの構成にとらわれることなく発明を実施することができるため、汎用性、拡張性に優れた方法として提供することが可能である。
Thus, the present invention can be realized not only as the device invention described above but also as a method invention.
Therefore, the invention can be implemented without being restricted by the hardware configuration, and thus can be provided as a method having excellent versatility and expandability.

また、本発明の画像処理プログラムは入力RGBデータに対応する出力CMYKデータが格納された三次元ルックアップテーブルを備える画像形成装置を構成するコンピュータを、前記三次元ルックアップテーブルにおける所定の格子点を抽出する格子点抽出手段、抽出された一以上の前記格子点のそれぞれについて所定の色相面を設定する色相面設定手段、設定された一以上の前記色相面上に所定の注目点を設定する注目点設定手段、設定された前記注目点のRGBデータに対応するCMYKデータを算出するCMYK算出手段、算出された前記CMYKデータについて所定のスムージング処理を施すことにより他のCMYKデータを算出するスムージング手段、前記他のCMYKデータを前記三次元ルックアップテーブルの各格子点に対応づけて格納するスムージングLUT作成手段、として機能させるためのプログラムとしてある。 The image processing program of the present invention, a computer constituting an image forming apparatus including a three-dimensional look-up table output CMYK data is stored corresponding to the input RGB data, predetermined lattice points in the three-dimensional look-up table A grid point extracting unit for extracting a hue point, a hue plane setting unit for setting a predetermined hue plane for each of the one or more extracted grid points, and setting a predetermined attention point on the set one or more hue planes Attention point setting means, CMYK calculation means for calculating CMYK data corresponding to the set RGB data of the attention point, and smoothing means for calculating other CMYK data by applying a predetermined smoothing process to the calculated CMYK data , The other CMYK data to each grid point of the three-dimensional lookup table Smoothing LUT creation means for storing in association response is as a program to function as a.

このように本発明はプログラムとしても実現化することができる。
これにより、プリンタ装置のみならず、コピー機、ファクシミリ装置、又はこれらの複合機等、様々な画像形成装置に対し本プログラムをインストールすることによって発明を実現することができ、汎用性,拡張性に優れた画像処理プログラムとして提供することができる。
Thus, the present invention can also be realized as a program.
As a result, the present invention can be realized by installing this program on various image forming apparatuses such as a copying machine, a facsimile machine, or a multi-function machine as well as a printer, and the versatility and expandability are improved. It can be provided as an excellent image processing program.

本発明によれば、色相面における階調のバランスが良好で、連続性に優れたルックアップテーブルを迅速かつ容易に作成することができ、また、係るルックアップテーブルを用いて自然で滑らかな色再現出力が可能となる。   According to the present invention, it is possible to quickly and easily create a look-up table having a good tone balance on the hue plane and excellent in continuity, and using such a look-up table, a natural and smooth color can be obtained. Reproduction output is possible.

以下、本発明の好ましい実施形態について図1〜図13を参照して説明する。
ここで、以下に示す本実施形態の画像形成装置(プリンタ装置)は、プログラム(ソフトウェア)の命令によりコンピュータで実行される処理,手段,機能によって実現される。プログラムは、コンピュータの各構成要素に指令を送り、以下に示すような所定の処理・機能を行わせる。すなわち、本実施形態の画像形成装置(プリンタ装置)における各処理・手段は、プログラムとコンピュータとが協働した具体的手段によって実現される。
なお、プログラムの全部又は一部は、例えば、磁気ディスク,光ディスク,半導体メモリ,その他任意のコンピュータで読取り可能な記録媒体により提供され、記録媒体から読み出されたプログラムがコンピュータにインストールされて実行される。また、プログラムは、記録媒体を介さず、通信回線を通じて直接にコンピュータにロードし実行することもできる。
A preferred embodiment of the present invention will be described below with reference to FIGS.
Here, the image forming apparatus (printer apparatus) of the present embodiment described below is realized by processing, means, and functions executed by a computer in accordance with instructions of a program (software). The program sends a command to each component of the computer to perform predetermined processing and functions as shown below. That is, each processing / means in the image forming apparatus (printer apparatus) of the present embodiment is realized by specific means in which a program and a computer cooperate.
Note that all or part of the program is provided by, for example, a magnetic disk, optical disk, semiconductor memory, or any other computer-readable recording medium, and the program read from the recording medium is installed in the computer and executed. The The program can also be loaded and executed directly on a computer through a communication line without using a recording medium.

図1は、本発明の一実施形態に係る画像形成装置の動作手順を示すフローチャートである。
また、図2は、本実施形態に係る画像形成装置に予め備えられている三次元ルックアップテーブル(LUT)10の模式図である。
これらの図に示す本実施形態に係る画像形成装置では、図2に示すLUT10を参照することによって、任意の入力画像データ(RGB)が出力画像データ(CMYK)に変換され、画像出力が行われる。
そして、このLUT10に対して、色相面ごとのスムージング処理を行うことにより、各色相面における階調バランスが良好で、連続性に優れたルックアップテーブルを容易かつ迅速に作成するものである。
FIG. 1 is a flowchart showing an operation procedure of an image forming apparatus according to an embodiment of the present invention.
FIG. 2 is a schematic diagram of a three-dimensional lookup table (LUT) 10 provided in advance in the image forming apparatus according to the present embodiment.
In the image forming apparatus according to this embodiment shown in these drawings, by referring to the LUT 10 shown in FIG. 2, arbitrary input image data (RGB) is converted into output image data (CMYK), and image output is performed. .
Then, a smoothing process for each hue plane is performed on the LUT 10 to easily and quickly create a look-up table with good tone balance on each hue plane and excellent continuity.

具体的には、まず、LUT10上のすべての直交格子のRGBデータが、角度値に変換して算出される(ステップS1)。
ここで、RGBデータを角度値に変換する方法としては、例えば、RGB→HSB(Hue Saturation
Brightness)変換においてH(Hue:色相)を算出することによって求めることができる。
Specifically, first, RGB data of all orthogonal lattices on the LUT 10 are converted into angle values and calculated (step S1).
Here, as a method of converting RGB data into angle values, for example, RGB → HSB (Hue Saturation
It can be obtained by calculating H (Hue: hue) in Brightness conversion.

以下、図1のステップS1において行われる角度変換の具体的な処理手順を図3及び図4のフローチャートに従って説明する。
図3は、本実施形態に係る画像形成装置において管理する角度値を算出するための前段の手順、図4は、その後段の手順を示したフローチャートである。
なお、ここでは、Greenの格子点の角度値を算出する手順を代表例として具体的な説明を行うが、Red、Blueについても同様の手順により行うことができる。
Hereinafter, a specific processing procedure of the angle conversion performed in step S1 of FIG. 1 will be described with reference to the flowcharts of FIGS.
FIG. 3 is a flowchart of the former stage for calculating the angle value managed in the image forming apparatus according to the present embodiment, and FIG. 4 is a flowchart showing the procedure of the latter stage.
Here, the procedure for calculating the angle value of the Green grid point will be specifically described as a representative example. However, the same procedure can be used for Red and Blue.

また、この角度算出処理においては、LUT10上のすべての格子点に係るRGBデータが対象となる。なお、本処理におけるRGBデータの初期値は、便宜上、r=0,g=0,b=0,min=0,max=0として設定するが、0から1の範囲でRGBデータを代入することで所定の角度値に変換される。
ただし、このRGBデータは、上記範囲に限定されず、例えば、256階調の場合を想定して最大値=255とし、0〜255の範囲で表現される値であってもよい。
Further, in this angle calculation process, RGB data relating to all grid points on the LUT 10 is targeted. The initial values of the RGB data in this process are set as r = 0, g = 0, b = 0, min = 0, max = 0 for convenience, but the RGB data is substituted in the range of 0 to 1. Is converted into a predetermined angle value.
However, the RGB data is not limited to the above range, and may be a value expressed in a range of 0 to 255, assuming that the maximum value is 255 assuming a case of 256 gradations.

まず、Greenを示すRGBデータは、(R,G,B)=(0,1,0)であるため、R<Gであり(A01:YES)、B<Gである(A02:YES)ことからmax=Gと判断される(A03)。
また、係るRGBデータにおいては、R>Gでなく(A04:NO)、B>Rではない(A05:NO)ので、min=Bと判断される(A06)。
この結果、margin=max−min=1となり(A07)、margin>0となる(A08:YES)。
そして、R=maxではなく(A09:NO)、G=maxであり(A10:YES)、B=minなので(A11:YES)、Hue={(max−R)/margin}×60+60={(1−0)/1}×60+60=120となり、Greenを示す角度値は、120[deg]となる(A12)。
以下、同様にして、LUT10上の全ての格子点について、RGBデータから角度値に変換する処理を行う。
First, since the RGB data indicating Green is (R, G, B) = (0, 1, 0), R <G (A01: YES) and B <G (A02: YES). Therefore, it is determined that max = G (A03).
Further, in such RGB data, R> G is not satisfied (A04: NO), and B> R is not satisfied (A05: NO), so it is determined that min = B (A06).
As a result, margin = max−min = 1 (A07) and margin> 0 (A08: YES).
Since R = max (A09: NO), G = max (A10: YES), and B = min (A11: YES), Hue = {(max−R) / margin} × 60 + 60 = {( 1-0) / 1} × 60 + 60 = 120, and the angle value indicating Green is 120 [deg] (A12).
Thereafter, similarly, processing for converting RGB data into angle values is performed for all grid points on the LUT 10.

なお、求められた角度値は、0[deg]以上、360[deg]未満の範囲とするため、例えば、Red(1,0,0)の角度値は、0[deg]となる。
また、ステップA08において、margin>0とならなかった場合(A08:NO)、hue=−1としているが、これはグレースケール部分に該当することを定義したものである。したがって、max=minとなる場合(margin=0)には、クロマティックピークポイントには該当せず、スムージング処理の対象からも除外されることとなる。
In addition, since the calculated | required angle value shall be the range of 0 [deg] or more and less than 360 [deg], the angle value of Red (1, 0, 0) will be 0 [deg], for example.
In step A08, when margin> 0 is not satisfied (A08: NO), hue = −1 is defined, which defines that it corresponds to a gray scale portion. Therefore, when max = min (margin = 0), it does not correspond to the chromatic peak point and is excluded from the target of the smoothing process.

次に、以上のようにして図1のステップS1によって算出された全ての角度値から、彩度の最も高い格子点であるところのクロマティックピークポイント(Chromatic Peak Point)のみを抽出する処理を行う(ステップS2)。
具体的には、クロマティックピークポイントは、図2に示すように、LUT10上のRed−Yellow、Yellow−Green、Green、Green−Cyan、Cyan−Blue、Blue−Magenta、Magenta−Redの各線分(図2の太線で示す線分)上に存在するものである。
したがって、ステップS2は、上記線分上の各格子点におけるクロマティックピークポイントの抽出を行うものである。
Next, a process of extracting only the chromatic peak point (Chromatic Peak Point) which is the highest chroma point from all the angle values calculated in step S1 in FIG. Step S2).
Specifically, as shown in FIG. 2, the chromatic peak point is represented by each line segment of Red-Yellow, Yellow-Green, Green, Green-Cyan, Cyan-Blue, Blue-Magenta, and Magenta-Red on the LUT 10 (see FIG. 2 on the thick line).
Therefore, step S2 is to extract chromatic peak points at each lattice point on the line segment.

ここで、具体的なクロマティックピークポイントの算出方法を、図5のメインフローチャート及び図6〜図9のサブフローチャートを参照しながら詳細に説明する。
図5は、本実施形態に係る画像形成装置に搭載されるLUT10上の格子点の中からクロマティックピークポイントに当たる格子点を抽出し、そのRGBデータを算出する手順を示したフローチャートである。
Here, a specific chromatic peak point calculation method will be described in detail with reference to the main flowchart of FIG. 5 and the sub-flowcharts of FIGS.
FIG. 5 is a flowchart showing a procedure for extracting a grid point corresponding to a chromatic peak point from grid points on the LUT 10 mounted in the image forming apparatus according to the present embodiment and calculating the RGB data.

同図に示すように、まず、パターン角度の算出が行われる(B01)。これは、図6に示すように、LUT10の格子点に対応する既知の角度値を、一定の範囲に応じてcase0〜case6に分類するものである。
その結果、角度値(deg)が、0[deg]≦deg<60[deg]の場合(B101:YES)には、case1、60[deg]≦deg<120[deg]の場合(B102:YES)には、case2、120[deg]≦deg<180[deg]の場合(B103:YES)には、case3、180[deg]≦deg<240[deg]の場合(B104:YES)には、case4、240[deg]≦deg<300[deg]の場合(B105:YES)には、case5、300[deg]≦deg<360[deg]の場合(B106:YES)には、case6にそれぞれ分類されることになる。
なお、case0は、角度値が、0[deg]≦deg<360[deg]の範囲に含まれない場合であって、このような角度値については処理対象から除外するものである。
As shown in the figure, the pattern angle is first calculated (B01). As shown in FIG. 6, the known angle values corresponding to the lattice points of the LUT 10 are classified into cases 0 to 6 according to a certain range.
As a result, when the angle value (deg) is 0 [deg] ≦ deg <60 [deg] (B101: YES), in the case of case1, 60 [deg] ≦ deg <120 [deg] (B102: YES) ), In case 2, 120 [deg] ≦ deg <180 [deg] (B103: YES), in case 3, case 180 [deg] ≦ deg <240 [deg] (B104: YES), Case 4 and 240 [deg] ≦ deg <300 [deg] (B105: YES) are classified as case 6 in case 5 and 300 [deg] ≦ deg <360 [deg] (B106: YES), respectively. Will be.
Case 0 is a case where the angle value is not included in the range of 0 [deg] ≦ deg <360 [deg], and such an angle value is excluded from the processing target.

次に、後述する二分探索を実施するに先立って、必要な基本データ(初期値)の設定が行われる(B02)。
具体的には、図7で示す手順に基づき、PointA、PointB及びPointCの基本データを設定する。
例えば、case1の場合(B201:YES)には、線分Red〜Yellow間のクロマティックピークポイントを二分探索によって抽出していくため、PointA及びPointBの基本データをその線分の両端点のRGBデータ(1,0,0)及び(1,1,0)に設定し(B202)、PointCをこれらの中点(1,0.5,0)とする基本データが求められる(B203)。
Next, prior to performing a binary search described later, necessary basic data (initial values) are set (B02).
Specifically, the basic data of Point A, Point B, and Point C are set based on the procedure shown in FIG.
For example, in case 1 (B201: YES), the chromatic peak point between the line segments Red to Yellow is extracted by binary search, so that the basic data of Point A and Point B is converted to RGB data (2) (1, 0, 0) and (1, 1, 0) are set (B202), and basic data having Point C as the midpoint (1, 0.5, 0) is obtained (B203).

次に、ステップB02で設定した基本データに基づいて、全てのクロマティックピークポイントを抽出する(B03)。
具体的には、図8及び図9に示す手順に従って、二分探索法に基づき順次クロマティックピークポイントを求める処理が行われる。
図8は、本実施形態に係る画像形成装置において、クロマティックピークポイントの計算を行う手順を示した前段のフローチャートであり、図9は、その後段を示すフローチャートである。
Next, all chromatic peak points are extracted based on the basic data set in step B02 (B03).
Specifically, according to the procedure shown in FIG. 8 and FIG. 9, processing for sequentially obtaining chromatic peak points is performed based on the binary search method.
FIG. 8 is a flowchart of the former stage showing the procedure for calculating the chromatic peak point in the image forming apparatus according to the present embodiment, and FIG. 9 is a flowchart showing the latter stage.

以下、引き続き上記case1を例とした処理の手順を、図8及び図9に示すフローチャートを参照しながら具体的に説明する。
Case1の場合、前述のとおり、既にPointA、PointB、PointCの初期値が求められており、それぞれRGBデータは、(1,0,0)、(1,1,0)、(1,0.5,0)となっている。このため、degreeA、degreeB及びdegreeCに対して最初に割り当てられる角度値はそれぞれdegreeA=0[deg]、degreeB=60[deg]、degreeC=30[deg]となる(B301)。
ここで、任意の角度値(deg)を代入して所定の演算処理を行い(B302、B304、B306)、marginA、marginB、marginCのそれぞれが極小値となるところの角度値を抽出する(B303:YES、B305:YES、B307:YES)。具体的には、各marginが、-0.0001≦margin≦0.0001の範囲に含まれるときのdegをクロマティックピークポイントとして認め(get=1)、その角度値を抽出する。
したがって、Case1の例においては、係る処理の結果として角度値0[deg]、30[deg]、60[deg]が抽出され、これらを各々RGBデータに換算すると(1,0,0)、(1,0.5,0)、(1,1,0)となり、最初のクロマティックピークポイントが抽出されることとなる。
Hereinafter, the procedure of the process taking the case 1 as an example will be described in detail with reference to the flowcharts shown in FIGS.
In Case 1, as described above, the initial values of Point A, Point B, and Point C have already been obtained, and the RGB data are (1, 0, 0), (1, 1, 0), (1, 0.5, 0), respectively. ). For this reason, the angle values initially assigned to degree A, degree B, and degree C are degree A = 0 [deg], degree B = 60 [deg], and degree C = 30 [deg], respectively (B301).
Here, a predetermined calculation process is performed by substituting an arbitrary angle value (deg) (B302, B304, B306), and an angle value where each of marginA, marginB, and marginC becomes a minimum value is extracted (B303: YES, B305: YES, B307: YES). Specifically, deg when each margin is included in the range of −0.0001 ≦ margin ≦ 0.0001 is recognized as a chromatic peak point (get = 1), and the angle value is extracted.
Therefore, in the case of Case 1, angle values 0 [deg], 30 [deg], and 60 [deg] are extracted as a result of such processing, and these are converted into RGB data, respectively (1, 0, 0), ( 1,0.5,0) and (1,1,0), and the first chromatic peak point is extracted.

次に、他のクロマティックピークポイントを抽出するため、degreeA<deg<degreeCとdegreeC<deg<degreeBの範囲においてそれぞれ該当する角度値を抽出する(B308、B309)。
本例においては、0<deg<30及び30<deg<60の範囲について該当する角度値を求める手順となる。
そして角度値が、前段の範囲の場合(B308:YES)には、PointAの値はそのままでPointCの値をPointBとし(B310)、後段の範囲の場合(B309:YES)には、PointBの値はそのままでPointCの値をPointAとし(B311)、それぞれPointA及びPointBを用いた演算を行うことによって次のクロマティックピークポイントであるPointCのRGBデータを求めることができる(B312)。
具体的には、演算式PointC=(PointA+PointB)/2により、PointA〜PointB間の中点に位置するクロマティックピークポイントが算出されることとなる。
Next, in order to extract other chromatic peak points, corresponding angle values are extracted in the ranges of degree A <deg <degree C and degree C <deg <degree B (B308, B309).
In this example, the procedure is to obtain the corresponding angle values for the ranges of 0 <deg <30 and 30 <deg <60.
If the angle value is in the preceding range (B308: YES), the value of Point A is left as is, and the value of PointC is set to PointB (B310). If the angle value is in the subsequent range (B309: YES), the value of PointB As is, the value of PointC is set to PointA (B311), and RGB data of PointC, which is the next chromatic peak point, can be obtained by performing calculations using PointA and PointB, respectively (B312).
Specifically, the chromatic peak point located at the midpoint between Point A and Point B is calculated by the arithmetic expression Point C = (Point A + Point B) / 2.

以降、上記ステップB301〜ステップB312の処理を所定回数繰り返すことによって、case1(0≦deg≦60)の範囲におけるクロマティックピークポイントを全て抽出し、そのRGBデータを算出することができる。
また、case2〜case6において、上述と同様の処理を行うことによって、LUT10上の全てのクロマティックピークポイントを抽出し、そのRGBデータを算出する。
Thereafter, by repeating the processes of Step B301 to Step B312 a predetermined number of times, all chromatic peak points in the range of case1 (0 ≦ deg ≦ 60) can be extracted, and the RGB data can be calculated.
Further, in cases 2 to 6, by performing the same processing as described above, all chromatic peak points on the LUT 10 are extracted, and the RGB data is calculated.

次に、図1のステップS2において抽出されたクロマティックピークポイントに基づく色相面の設定が行われる(S3)。
具体的には、色相面の設定は、図10(a)に示すように、LUT10上の任意のクロマティックピークポイント(ここでは、Redを例とする)と、White(1,1,1)及びBlack(0,0,0)とからなる三角形状の閉領域として設定することができる。
Next, a hue plane is set based on the chromatic peak point extracted in step S2 of FIG. 1 (S3).
Specifically, as shown in FIG. 10A, the hue plane is set by setting an arbitrary chromatic peak point on the LUT 10 (in this example, Red), White (1, 1, 1), and It can be set as a triangular closed region composed of Black (0, 0, 0).

そして、これら三角形状の閉領域上に所定の注目点を設定する(S4)。
具体的には、LUT10がn格子で構成される場合、クロマティックピークポイント−White、クロマティックピークポイント−Black、White−Blackの各線分を等しく(n−1)分割するように各平行線を引き、これら交点を任意点とするようにする。
例えば、クロマティックピークポイントがRedの格子点である色相面上には、図10(b)に示すように45個の設定点が格子状に配置されることとなる。
これは、LUT10上の格子点と色相面上の注目点とを効果的に一致させるためであり、スムージング処理後の新たなLUT10’の作成を容易にするためである。
Then, predetermined attention points are set on these triangular closed regions (S4).
Specifically, when the LUT 10 is composed of n 3 lattices, the parallel lines are drawn so that the chromatic peak point-white, chromatic peak point-black, and white-black line segments are equally divided (n-1). These intersection points are set as arbitrary points.
For example, on the hue plane where the chromatic peak point is a red lattice point, as shown in FIG. 10B, 45 set points are arranged in a lattice shape.
This is to effectively match the lattice points on the LUT 10 with the attention point on the hue plane, and to facilitate the creation of a new LUT 10 ′ after the smoothing process.

次に、図1のステップS4において設定された注目点のRGBデータに対応するCMYKデータを算出する(S5)。
具体的には、画像形成装置に搭載されている既存のLUT10を用いて、立方体補間や四面体補間等の補間計算によりCMYKデータを算出することができる。
そして、ステップS5において算出された各色相面ごとのCMYKデータに対してスムージング処理が施される(S6)。
Next, CMYK data corresponding to the RGB data of the target point set in step S4 of FIG. 1 is calculated (S5).
Specifically, CMYK data can be calculated by interpolation calculation such as cube interpolation or tetrahedron interpolation using an existing LUT 10 installed in the image forming apparatus.
Then, the smoothing process is performed on the CMYK data for each hue plane calculated in step S5 (S6).

スムージング処理は、具体的には、図11に示す手順に従って行われる。
図11は、本実施形態に係る画像形成装置において行うスムージング処理の手順を示したフローチャートである。
同図に示すように、まず、色相面上の全ての注目点に対応するCMYKデータAij(Pij)を抽出する(C01)。
具体的には、i及びjの初期値を0として、注目点P00・・・P08、P10・・・P17、P20・・・P26、P30・・・P35、P40・・・P44、P50・・・P53、P60・・・P62、P70、P71、P80を選択することによって、ステップS5によって求めた色相面上の全ての注目点に対応するCMYKデータがピックアップされる(図11に示すループ1,ループ2)。
Specifically, the smoothing process is performed according to the procedure shown in FIG.
FIG. 11 is a flowchart showing the procedure of the smoothing process performed in the image forming apparatus according to the present embodiment.
As shown in the figure, first, CMYK data Aij (Pij) corresponding to all points of interest on the hue plane are extracted (C01).
Specifically, the initial values of i and j are set to 0, and the attention points P00... P08, P10... P17, P20 ... P26, P30 ... P35, P40 ... P44, P50. By selecting P53, P60... P62, P70, P71, P80, CMYK data corresponding to all the points of interest on the hue plane obtained in step S5 are picked up (loop 1, shown in FIG. 11). Loop 2).

次に、図11に示すループ3において、第一のスムージング処理を行う(C02)。
具体的には、ステップC01によって抽出された任意の注目点におけるCMYKデータをAijとすると、下記演算式(1)によってスムージング処理されたCMYKデータが算出される。
(1) A’(i+1)(j-1)={(Aij+A(i+2)(j-2))/2+A(i+1)(j-1)}/2
これにより、例えば、図12(a)に示すA17についてスムージングを行った場合、係るスムージング後の値は、A17’=((A08+A26)/2+A17)/2となり、続けて、図12(b)に示すA26についてスムージングを行った場合、係るスムージング後の値は、A26’=((A17’+A35)/2+A26)/2となる。
Next, in the loop 3 shown in FIG. 11, a first smoothing process is performed (C02).
Specifically, if CMYK data at an arbitrary point of interest extracted in step C01 is Aij, the smoothed CMYK data is calculated by the following equation (1).
(1) A '(i + 1) (j-1) = {(Aij + A (i + 2) (j-2)) / 2 + A (i + 1) (j-1)} / 2
Thus, for example, when smoothing is performed for A17 shown in FIG. 12A, the value after such smoothing is A17 ′ = ((A08 + A26) / 2 + A17) / 2, and FIG. When smoothing is performed on the indicated A26, the value after such smoothing is A26 ′ = ((A17 ′ + A35) / 2 + A26) / 2.

続いけて、図11に示すループ4及びループ5によって、第二のスムージング処理を行う(C03)。
具体的には、少なくともステップC02によってスムージングすることができなかった注目点におけるCMYKデータをAijとすると、下記演算式(2)によってスムージング処理されたCMYKデータが算出される。
(2) Ai(j+1)={(Aij+Ai(j+2))/2+Ai(j+1)}/2
これにより、例えば、図13(a)に示すA01についてスムージングを行った場合、係るスムージング後の値は、A01’=((A00+A02)/2+A01)/2となり、続けて、図13(b)に示すA02についてスムージングを行った場合、係るスムージング後の値は、A02’=((A01’+A03)/2+A02)/2となる。
以上の結果、図14に示すように、一色相面上に存在する全ての注目点に係るCMYKデータについてスムージング処理が行われた色相面が形成される。
Subsequently, the second smoothing process is performed by the loop 4 and the loop 5 shown in FIG. 11 (C03).
Specifically, if CMYK data at the attention point that could not be smoothed at least in step C02 is Aij, the CMYK data subjected to the smoothing process is calculated by the following equation (2).
(2) Ai (j + 1) = {(Aij + Ai (j + 2)) / 2 + Ai (j + 1)} / 2
Thus, for example, when smoothing is performed for A01 shown in FIG. 13A, the value after such smoothing is A01 ′ = ((A00 + A02) / 2 + A01) / 2, and FIG. When smoothing is performed on the indicated A02, the value after such smoothing is A02 '= ((A01' + A03) / 2 + A02) / 2.
As a result of the above, as shown in FIG. 14, a hue plane is formed by performing smoothing processing on CMYK data related to all the points of interest existing on one hue plane.

次に、図1のステップS6で得られたスムージング後のCMYKデータに基づいて、新たなLUTを作成する処理が行われる(S7)。
これは、画像形成装置に予め搭載されている既存のLUT10上にスムージング処理後のCMYKデータを割り当てることによって、色相面におけるスムージング効果を反映した新たなLUT10’を作成するものである。
本実施形態では、LUT10’を作成する方法として、補間計算を用いた例について説明を行う。
具体的には、ステップS6でスムージング処理した後の全ての色相面に対し、元のLUT10上のRGBデータを配置することにより、最適な三格子を抽出し、その最適三格子から補間計算によってCMYK値を算出する方法を説明する。
Next, a process of creating a new LUT is performed based on the smoothed CMYK data obtained in step S6 of FIG. 1 (S7).
This is to create a new LUT 10 ′ reflecting the smoothing effect on the hue plane by assigning the CMYK data after the smoothing process to the existing LUT 10 mounted in advance in the image forming apparatus.
In the present embodiment, an example using interpolation calculation will be described as a method for creating the LUT 10 ′.
Specifically, the optimal three grids are extracted by arranging the RGB data on the original LUT 10 for all the hue planes after the smoothing process in step S6, and CMYK is extracted from the optimal three grids by interpolation calculation. A method for calculating the value will be described.

はじめに、最適三格子を抽出する方法について、図15(a)を参照しながら説明する。
なお、図15(a)は、RGB空間において、Red、White、Blackの三点からなる色相面上に存在する注目点がすべてスムージングされたあとの状態を示しており、係る色相面上のすべての注目点は、そのRGBデータが既知であるとともに、そのスムージングされたCMYKデータについても前述のステップS6において既に算出されていることとする。
First, a method for extracting the optimum three grids will be described with reference to FIG.
FIG. 15A shows a state after all the points of interest existing on the hue plane consisting of three points of Red, White, and Black are smoothed in the RGB space. It is assumed that the RGB data is known in advance and the smoothed CMYK data has already been calculated in step S6.

ここで、この色相面に既存のLUT10上の格子点のRGBデータを配置し、図15(b)のようにその配置箇所Pを中心とした小三角形に含まれる3つのRGB距離の総和SumDisが最小となる箇所の検出を試みる。
具体的には、
Dis1=sqrt((R1-R)(R1-R)+(G1-G)(G1-G)+(B1-B)(B1-B))
Dis2=sqrt((R2-R)(R2-R)+(G2-G)(G2-G)+(B2-B)(B2-B))
Dis3=sqrt((R3-R)(R3-R)+(G3-G)(G3-G)+(B3-B)(B3-B))
によって各RGB距離を求め、これらの合計値SumDis=Dis1+Dis2+Dis3が最小になるところの小三角形(三格子)を抽出する。
Here, the RGB data of the lattice points on the existing LUT 10 are arranged on this hue plane, and the sum SumDis of the three RGB distances included in the small triangle centering on the arrangement position P as shown in FIG. Try to find the smallest point.
In particular,
Dis1 = sqrt ((R1-R) (R1-R) + (G1-G) (G1-G) + (B1-B) (B1-B))
Dis2 = sqrt ((R2-R) (R2-R) + (G2-G) (G2-G) + (B2-B) (B2-B))
Dis3 = sqrt ((R3-R) (R3-R) + (G3-G) (G3-G) + (B3-B) (B3-B))
Each RGB distance is obtained by the above, and a small triangle (three grids) where the total value SumDis = Dis1 + Dis2 + Dis3 is minimized is extracted.

次に、その三格子から所定の補間計算によって対応するCMYK値を求める。
具体的には、最適三格子の内積Sを、
S=V1・V2=((R3-R2)(R1-R2)+(G3-G2)(G1-G2)+(B3-B2)(B1-B2))/2
によって求める。
そして、同様の方法によって、最適三格子を形成する三角形P1P2P、P2P3P、P3P1Pの内積S1、S2、S3も求める。
これによって、LUT10’上の格子点Pに対応するCMYKデータは、次の式によって求めることができる。
C=(S1/S×C3)+(S2/S×C1)+(S3/S×C2)
M=(S1/S×M3)+(S2/S×M1)+(S3/S×M2)
Y=(S1/S×Y3)+(S2/S×Y1)+(S3/S×Y2)
K=(S1/S×K3)+(S2/S×K1)+(S3/S×K2)
Next, corresponding CMYK values are obtained from the three grids by a predetermined interpolation calculation.
Specifically, the inner product S of the optimal three lattices is
S = V1 ・ V2 = ((R3-R2) (R1-R2) + (G3-G2) (G1-G2) + (B3-B2) (B1-B2)) / 2
Ask for.
Then, by the same method, inner products S1, S2, and S3 of triangles P1P2P, P2P3P, and P3P1P that form the optimum three lattices are also obtained.
Thus, CMYK data corresponding to the grid point P on the LUT 10 ′ can be obtained by the following equation.
C = (S1 / S × C3) + (S2 / S × C1) + (S3 / S × C2)
M = (S1 / S × M3) + (S2 / S × M1) + (S3 / S × M2)
Y = (S1 / S × Y3) + (S2 / S × Y1) + (S3 / S × Y2)
K = (S1 / S × K3) + (S2 / S × K1) + (S3 / S × K2)

以上のようにして、RGBデータと対応するCMYKデータとが求められ、既存のLUT10に格納することによって色相面ごとにスムージング処理が施された新たなLUT10’が完成する。   As described above, RGB data and corresponding CMYK data are obtained and stored in the existing LUT 10 to complete a new LUT 10 ′ that has been subjected to smoothing processing for each hue plane.

以上説明したように、本実施形態の画像形成装置によれば、色相面ごとに所定の注目点を設定し、その注目点に対応するCMYKデータをスムージング処理するようにしている。
そして、スムージング処理後のCMYKデータに基づいて新たなLUT10’を作成し、色変換処理を行わせるようにしている。
このため、色相面における階調のバランスや連続性が良好で、滑らかに色再現された出力画像を提供する画像形成装置を実現することができるようになる。
As described above, according to the image forming apparatus of this embodiment, a predetermined attention point is set for each hue plane, and the CMYK data corresponding to the attention point is smoothed.
Then, a new LUT 10 ′ is created based on the CMYK data after the smoothing process, and the color conversion process is performed.
For this reason, it is possible to realize an image forming apparatus that provides an output image having a good tone balance and continuity on the hue plane and smoothly reproducing colors.

また、クロマティックピークポイントを中心とした特定の色相面に着目し、また、一定の規則に従った演算処理を介してスムージング処理を行っているため、データ量や処理負担を軽減しつつも、質の高い階調連続性を確保することが可能となっている。
さらに、予め搭載されているLUT10を利用して新たなLUT10’を容易に作成することができ、また、このようなルックアップテーブルを搭載する様々な画像形成装置に対応させることが可能となっている。
したがって、処理効率及び汎用性等に優れた画像形成装置を容易に、かつ、安価に実現し、提供することが可能である。
In addition, focusing on a specific hue plane centered on the chromatic peak point and performing smoothing processing through arithmetic processing according to certain rules, while reducing the amount of data and processing burden, quality It is possible to ensure high gradation continuity.
Furthermore, a new LUT 10 ′ can be easily created using the LUT 10 mounted in advance, and it is possible to correspond to various image forming apparatuses equipped with such a lookup table. Yes.
Therefore, an image forming apparatus excellent in processing efficiency and versatility can be easily realized and provided at low cost.

以上、本発明の画像形成装置について、好ましい実施形態を示して説明したが、本発明にかかる画像形成装置は、上述した実施形態にのみ限定されるものではなく、本発明の範囲で種々の変更実施が可能であることは言うまでもない。
例えば、本発明の画像形成装置は、プリンタ装置のみならず、ファクシミリ装置やコピー機等、他の画像形成装置であってもよい。
The image forming apparatus according to the present invention has been described with reference to the preferred embodiments. However, the image forming apparatus according to the present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the present invention. It goes without saying that implementation is possible.
For example, the image forming apparatus of the present invention is not limited to a printer apparatus, but may be other image forming apparatuses such as a facsimile machine and a copier.

本発明は、ルックアップテーブルを備えた画像形成装置に好適に利用することができる。   The present invention can be suitably used for an image forming apparatus provided with a lookup table.

本発明の一実施形態に係る画像形成装置の動作手順を示すフローチャートである。4 is a flowchart illustrating an operation procedure of the image forming apparatus according to the embodiment of the present disclosure. 本発明の第一実施形態に係る画像形成装置に予め備えられている三次元ルックアップテーブルの模式図である。It is a schematic diagram of a three-dimensional lookup table provided in advance in the image forming apparatus according to the first embodiment of the present invention. 本発明の一実施形態に係る画像形成装置において管理する角度値を算出するための前段の手順を示したフローチャートである。6 is a flowchart illustrating a previous procedure for calculating an angle value managed in the image forming apparatus according to the embodiment of the present disclosure. 本発明の一実施形態に係る画像形成装置において管理する角度値を算出するための後段の手順を示したフローチャートである。6 is a flowchart illustrating a subsequent procedure for calculating an angle value managed in the image forming apparatus according to the embodiment of the present disclosure. 本発明の一実施形態に係る画像形成装置に搭載されるLUT上の格子点の中からクロマティックピークポイントに当たる格子点を抽出し、そのRGBデータを算出する手順を示したメインフローチャートである。4 is a main flowchart showing a procedure for extracting a grid point corresponding to a chromatic peak point from grid points on an LUT mounted on an image forming apparatus according to an embodiment of the present invention and calculating RGB data thereof. 図5に示すメインフローチャートにおいて、パターン角度を算出するための手順を示したサブフローチャートである。FIG. 6 is a sub-flowchart showing a procedure for calculating a pattern angle in the main flowchart shown in FIG. 5. 図5に示すメインフローチャートにおいて、基本データをセットするための手順を示したサブフローチャートである。FIG. 6 is a sub-flowchart showing a procedure for setting basic data in the main flowchart shown in FIG. 5. 図5に示すメインフローチャートにおいて、クロマティックピークポイントの計算を行う手順を示した前段のサブフローチャートである。In the main flowchart shown in FIG. 5, it is the sub-flowchart of the front | former stage which showed the procedure which calculates a chromatic peak point. 図5に示すメインフローチャートにおいて、クロマティックピークポイントの計算を行う手順を示した後段のサブフローチャートである。6 is a subsequent sub-flowchart showing a procedure for calculating a chromatic peak point in the main flowchart shown in FIG. 5. 本発明の一実施形態に係る画像形成装置に搭載するLUTにおいて設定される色相面の一例を表した説明図である。FIG. 6 is an explanatory diagram illustrating an example of a hue plane set in an LUT mounted on an image forming apparatus according to an embodiment of the present invention. 本発明の一実施形態に係る画像形成装置において行うスムージング処理の手順を示したフローチャートである。6 is a flowchart illustrating a procedure of smoothing processing performed in the image forming apparatus according to an embodiment of the present invention. 本発明の一実施形態に係る画像形成装置において行うスムージング処理の具体例を説明するための説明図である。FIG. 8 is an explanatory diagram for describing a specific example of smoothing processing performed in the image forming apparatus according to an embodiment of the present invention. 本発明の一実施形態に係る画像形成装置において行うスムージング処理の具体例を説明するための説明図である。FIG. 8 is an explanatory diagram for describing a specific example of smoothing processing performed in the image forming apparatus according to an embodiment of the present invention. 本発明の一実施形態に係る画像形成装置において行うスムージング処理の具体例を説明するための説明図である。FIG. 8 is an explanatory diagram for describing a specific example of smoothing processing performed in the image forming apparatus according to an embodiment of the present invention. 色相面内の格子データから最適格子を抽出し、補間計算によってCMYKデータを算出する方法を説明するための説明図である。It is explanatory drawing for demonstrating the method of extracting the optimal grating | lattice from the grating | lattice data in a hue surface, and calculating CMYK data by interpolation calculation.

符号の説明Explanation of symbols

10 既存の三次元ルックアップテーブル
10’ 新たに作成された三次元ルックアップテーブル
10 Existing 3D look-up table 10 'Newly created 3D look-up table

Claims (7)

入力RGBデータに対応する出力CMYKデータが格納された三次元ルックアップテーブルを備える画像形成装置において、
前記三次元ルックアップテーブルにおける所定の格子点を抽出する格子点抽出手段と、
抽出された一以上の前記格子点のそれぞれについて所定の色相面を設定する色相面設定手段と、
設定された一以上の前記色相面上に所定の注目点を設定する注目点設定手段と、
前記注目点設定手段によって設定された注目点に対応するCMYKデータを算出するCMYK算出手段と、
算出された前記CMYKデータについて所定のスムージング処理を施すことにより新たなCMYKデータを算出するスムージング手段と、
前記新たなCMYKデータを前記三次元ルックアップテーブルの各格子点に対応づけて格納するスムージングLUT作成手段と、を備え、
前記注目点設定手段が、
前記三次元ルックアップテーブルがn 格子によって形成される場合に、前記色相面設定手段によって形成された色相面上において、その色相面を形成する各線分を(n―1)個に等分する平行線が交差する点を前記注目点として設定し、
前記スムージング手段が、
前記スムージング処理した後の全ての色相面に対し、前記三次元ルックアップテーブル上のRGBデータを配置することにより、前記スムージング処理した後の色相面の注目点の中から最適な三格子を抽出し、その最適三格子から補間計算によって前記三次元ルックアップテーブル上のRGBデータに対応するCMYKデータを算出することを特徴とする画像形成装置。
In an image forming apparatus including a three-dimensional lookup table in which output CMYK data corresponding to input RGB data is stored,
Grid point extracting means for extracting predetermined grid points in the three-dimensional lookup table;
A hue plane setting means for setting a predetermined hue plane for each of the one or more extracted grid points;
Attention point setting means for setting a predetermined attention point on one or more of the set hue planes;
CMYK calculation means for calculating CMYK data corresponding to the attention point set by the attention point setting means;
Smoothing means for calculating new CMYK data by performing a predetermined smoothing process on the calculated CMYK data;
Smoothing LUT creation means for storing the new CMYK data in association with each grid point of the three-dimensional lookup table ;
The attention point setting means is
When the three-dimensional lookup table is formed by n 3 lattices, each line segment forming the hue plane is equally divided into (n−1) pieces on the hue plane formed by the hue plane setting unit. Set the point where parallel lines intersect as the point of interest,
The smoothing means comprises:
By arranging the RGB data on the three-dimensional lookup table for all the hue planes after the smoothing process, the optimum three grids are extracted from the attention points on the hue plane after the smoothing process. A CMYK data corresponding to the RGB data on the three-dimensional lookup table is calculated from the optimum three grids by interpolation calculation .
前記格子点抽出手段は、
前記三次元ルックアップテーブルにおける彩度の最も高い格子点を抽出することを特徴とする請求項1に記載の画像形成装置。
The lattice point extraction means includes:
The image forming apparatus according to claim 1, wherein a lattice point having the highest saturation in the three-dimensional lookup table is extracted.
前記色相面設定手段は、
前記格子点抽出手段によって抽出された格子点と黒色点及び白色点によって形成される閉領域を一の色相面として設定することを特徴とする請求項1又は2に記載の画像形成装置。
The hue plane setting means includes
3. The image forming apparatus according to claim 1, wherein a closed region formed by the lattice point extracted by the lattice point extracting unit, the black point, and the white point is set as one hue plane. 4.
前記スムージング手段が、
前記注目点設定手段により、i行×j列の格子状に配置された注目点について、
下記演算処理を行うことによって任意の注目点A(i+1)(j-1)におけるスムージング処理後のCMYKデータA’(i+1)(j-1)を算出することを特徴とする請求項1〜3のいずれか一項に記載の画像形成装置。
A’(i+1)(j-1)={(Aij+A(i+2)(j-2))/2+A(i+1)(j-1)}/2
The smoothing means comprises:
With respect to the attention points arranged in a grid of i rows × j columns by the attention point setting means,
The CMYK data A ′ (i + 1) (j−1) after smoothing processing at an arbitrary attention point A (i + 1) (j−1) is calculated by performing the following arithmetic processing. Item 4. The image forming apparatus according to any one of Items 1 to 3 .
A ′ (i + 1) (j−1) = {(Aij + A (i + 2) (j−2)) / 2 + A (i + 1) (j−1)} / 2
前記スムージング手段が、The smoothing means comprises:
前記注目点設定手段により、i行×j列の格子状に配置された注目点について、  With respect to the attention points arranged in a grid of i rows × j columns by the attention point setting means,
下記演算処理を行うことによって任意の注目点Ai(j-1)におけるスムージング処理後のCMYKデータA’i(j-1)を算出することを特徴とする請求項1〜4のいずれか一項に記載の画像形成装置。  5. The CMYK data A ′ i (j−1) after the smoothing process at an arbitrary attention point A i (j−1) is calculated by performing the following arithmetic processing. The image forming apparatus described in 1.
A’i(j+1)={(Aij+Ai(j+2))/2+Ai(j+1)}/2  A'i (j + 1) = {(Aij + Ai (j + 2)) / 2 + Ai (j + 1)} / 2
入力RGBデータに対応する出力CMYKデータが格納された三次元ルックアップテーブルを利用して、色相面ごとにスムージングが施されたルックアップテーブルを作成する画像処理方法であって、An image processing method for creating a smoothed look-up table for each hue plane using a 3D look-up table storing output CMYK data corresponding to input RGB data,
前記三次元ルックアップテーブルにおける所定の格子点を抽出するステップと、  Extracting predetermined grid points in the three-dimensional lookup table;
抽出された一以上の前記格子点のそれぞれについて所定の色相面を設定するステップと、  Setting a predetermined hue plane for each of the one or more extracted grid points;
設定された一以上の前記色相面上に所定の注目点を設定するステップと、  Setting a predetermined attention point on one or more of the set hue planes;
設定された前記注目点のRGBデータに対応するCMYKデータを算出するステップと、  Calculating CMYK data corresponding to the set RGB data of the attention point;
算出された前記CMYKデータについて所定のスムージング処理を施すことにより新たなCMYKデータを算出するステップと、  Calculating new CMYK data by applying a predetermined smoothing process to the calculated CMYK data;
前記新たなCMYKデータを前記三次元ルックアップテーブルの各格子点に対応づけて格納するステップと、を有し、  Storing the new CMYK data in association with each grid point of the three-dimensional lookup table,
前記所定の注目点を設定するステップにおいて、In the step of setting the predetermined attention point,
前記三次元ルックアップテーブルがn  The three-dimensional lookup table is n 3 格子によって形成される場合に、前記所定の色相面を設定するステップによって形成された閉領域上において、その閉領域を形成する各線分を(n―1)個に等分する平行線を生成し、これら生成された平行線が交差する点を前記注目点として設定するとともに、When formed by a lattice, on the closed region formed by the step of setting the predetermined hue plane, parallel lines that equally divide each line segment forming the closed region into (n-1) pieces are generated. , And set the point where these generated parallel lines intersect as the point of interest,
前記新たなCMYKデータを算出するステップにおいて、In the step of calculating the new CMYK data,
前記スムージング処理した後の全ての色相面に対し、前記三次元ルックアップテーブル上のRGBデータを配置することにより、前記スムージング処理した後の色相面の注目点の中から最適な三格子を抽出し、その最適三格子から補間計算によって前記三次元ルックアップテーブル上のRGBデータに対応するCMYKデータを算出することを特徴とする画像処理方法。  By arranging the RGB data on the three-dimensional lookup table for all the hue planes after the smoothing process, the optimum three grids are extracted from the attention points on the hue plane after the smoothing process. A CMYK data corresponding to the RGB data on the three-dimensional lookup table is calculated from the optimum three grids by interpolation calculation.
入力RGBデータに対応する出力CMYKデータが格納された三次元ルックアップテーブルを備える画像形成装置を構成するコンピュータを、
前記三次元ルックアップテーブルにおける所定の格子点を抽出する格子点抽出手段、
抽出された一以上の前記格子点のそれぞれについて所定の色相面を設定する色相面設定手段、
設定された一以上の前記色相面上に所定の注目点を設定する注目点設定手段、
設定された前記注目点のRGBデータに対応するCMYKデータを算出するCMYK算出手段、
算出された前記CMYKデータについて所定のスムージング処理を施すことにより新たなCMYKデータを算出するスムージング手段、
前記新たなCMYKデータを前記三次元ルックアップテーブルの各格子点に対応づけて格納するスムージングLUT作成手段、として機能させるに当たり、
前記注目点設定手段に、
前記三次元ルックアップテーブルがn 格子によって形成される場合に、前記色相面設定手段によって形成された閉領域上において、その閉領域を形成する各線分を(n―1)個に等分する平行線を生成し、これら生成された平行線が交差する点を前記注目点として設定させるとともに、
前記スムージング手段に、
前記スムージング処理した後の全ての色相面に対し、前記三次元ルックアップテーブル上のRGBデータを配置することにより、前記スムージング処理した後の色相面の注目点の中から最適な三格子を抽出し、その最適三格子から補間計算によって前記三次元ルックアップテーブル上のRGBデータに対応するCMYKデータを算出させることを特徴とする画像処理プログラム。
A computer constituting an image forming apparatus including a three-dimensional lookup table storing output CMYK data corresponding to input RGB data;
Grid point extraction means for extracting predetermined grid points in the three-dimensional lookup table;
A hue plane setting means for setting a predetermined hue plane for each of the one or more extracted grid points;
Attention point setting means for setting a predetermined attention point on one or more of the set hue planes;
CMYK calculating means for calculating CMYK data corresponding to the set RGB data of the attention point;
Smoothing means for calculating new CMYK data by performing a predetermined smoothing process on the calculated CMYK data;
In functioning as a smoothing LUT creation means for storing the new CMYK data in association with each grid point of the three-dimensional lookup table,
In the attention point setting means,
When the three-dimensional lookup table is formed by n 3 lattices, each line segment forming the closed region is equally divided into (n−1) pieces on the closed region formed by the hue plane setting unit. Generate parallel lines, and set the point of intersection of the generated parallel lines as the attention point,
For the smoothing means,
By arranging the RGB data on the three-dimensional lookup table for all the hue planes after the smoothing process, the optimum three grids are extracted from the attention points on the hue plane after the smoothing process. An image processing program for causing CMYK data corresponding to RGB data on the three-dimensional lookup table to be calculated from the optimum three grids by interpolation calculation .
JP2007055456A 2007-03-06 2007-03-06 Image forming apparatus, image processing method, and image processing program Expired - Fee Related JP4851369B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007055456A JP4851369B2 (en) 2007-03-06 2007-03-06 Image forming apparatus, image processing method, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007055456A JP4851369B2 (en) 2007-03-06 2007-03-06 Image forming apparatus, image processing method, and image processing program

Publications (2)

Publication Number Publication Date
JP2008219566A JP2008219566A (en) 2008-09-18
JP4851369B2 true JP4851369B2 (en) 2012-01-11

Family

ID=39839057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007055456A Expired - Fee Related JP4851369B2 (en) 2007-03-06 2007-03-06 Image forming apparatus, image processing method, and image processing program

Country Status (1)

Country Link
JP (1) JP4851369B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4109946B2 (en) * 2001-10-04 2008-07-02 キヤノン株式会社 Color correction table creation method and apparatus, control program, and recording medium
JP4261787B2 (en) * 2001-10-04 2009-04-30 キヤノン株式会社 Conversion processing unit creation method, conversion processing unit creation device, storage medium, and program
JP3943886B2 (en) * 2001-10-04 2007-07-11 キヤノン株式会社 Table creation method, table creation device, storage medium, and program
JP4408774B2 (en) * 2004-08-30 2010-02-03 キヤノン株式会社 Color processing apparatus and color processing method

Also Published As

Publication number Publication date
JP2008219566A (en) 2008-09-18

Similar Documents

Publication Publication Date Title
JP5344518B2 (en) Image processing method and image processing apparatus
JP5630115B2 (en) Color processing apparatus and program
JP2004320723A (en) Image processing apparatus, image processing method, and program
JP4141968B2 (en) Image processing apparatus, image processing method, and program
JP2001169303A (en) Image display device
US8908964B2 (en) Color correction for digital images
JPH0668219A (en) Color value processor
JP4573045B2 (en) Color signal pair generation device, color signal pair generation method, color processing device, color processing method, color signal pair generation program, color processing program, storage medium
JP4851369B2 (en) Image forming apparatus, image processing method, and image processing program
US20120070080A1 (en) Color correction for digital images
JP4528805B2 (en) Image forming apparatus, image processing method, and image processing program
JP5440763B2 (en) Color processing apparatus and color processing program
JPH11238126A (en) Common interpolating circuit for radial interpolation with asymmetrical pruning and tetrahedral interpolation with asymmetrical pruning
JP3740322B2 (en) Conversion device and method
JP6761454B2 (en) Color correction / correction method and color correction / correction device using this
KR102082070B1 (en) High precision gamut mapping
JP4863498B2 (en) Color processing apparatus and method
JP3618338B2 (en) Color conversion apparatus and color conversion method
JP4217888B2 (en) Profile conversion apparatus and profile conversion method, color conversion apparatus, color conversion method, image forming apparatus, profile conversion processing program, color conversion processing program, and storage medium
JP2009010573A (en) Image forming apparatus, image processing method, and image processing program
JP5025678B2 (en) Image forming apparatus, image processing method, and image processing program
JP6740729B2 (en) Data conversion device, data conversion method, and data conversion program
JP6740853B2 (en) Color conversion device and program
JP3659254B2 (en) Image display device
JP5093133B2 (en) Color conversion apparatus, color conversion method, and color conversion program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110721

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110726

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110915

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4851369

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141028

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20141028

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20141028

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees