JP2009260473A - Color processing method and apparatus, program, and recording medium - Google Patents

Color processing method and apparatus, program, and recording medium Download PDF

Info

Publication number
JP2009260473A
JP2009260473A JP2008104648A JP2008104648A JP2009260473A JP 2009260473 A JP2009260473 A JP 2009260473A JP 2008104648 A JP2008104648 A JP 2008104648A JP 2008104648 A JP2008104648 A JP 2008104648A JP 2009260473 A JP2009260473 A JP 2009260473A
Authority
JP
Japan
Prior art keywords
color
color signal
smoothing
input
conversion
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.)
Pending
Application number
JP2008104648A
Other languages
Japanese (ja)
Inventor
Yosuke Hayase
陽介 早瀬
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2008104648A priority Critical patent/JP2009260473A/en
Publication of JP2009260473A publication Critical patent/JP2009260473A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To make it possible to perform smoothing processing considering characteristics of respective color processing for a color conversion table which is made by combining a plurality of color processes. <P>SOLUTION: A color processing apparatus is provided with: a first color conversion means which converts an input color signal to a first color signal; a second color conversion means which converts the first color signal converted by the first color conversion means to a second color signal; a detection means which detects tone characteristics of the first color signal converted by the first conversion means; a table generation means which generates a table which specifies the corresponding relation of the input color signal and the second color signal converted by the second color conversion means; and a smoothing means which performs smoothing processing for the second color signal of the table generated by the generation means based on the tone characteristics. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、カラーマッチングにおける色処理方法及び装置、制御プログラム、記憶媒体に関する。   The present invention relates to a color processing method and apparatus, a control program, and a storage medium in color matching.

デジタルカメラやモニタ、プリンタなど、機器によって再現できる色の範囲が異なるため、機器間での色を合わせるための、いわゆるカラーマッチング処理が必要となる。例えば、モニタとプリンタの色を合わせるためのカラーマッチング処理として、モニタとプリンタの色特性を考慮した色変換テーブルを参照し、補間演算を行う色処理方法が知られている。   Since the range of colors that can be reproduced varies depending on devices such as digital cameras, monitors, and printers, so-called color matching processing is required to match colors between devices. For example, as a color matching process for matching the colors of a monitor and a printer, a color processing method is known in which an interpolation operation is performed with reference to a color conversion table that takes into account the color characteristics of the monitor and the printer.

上記の色変換テーブルを作成する方法の例を以下に挙げる。まず、入力デバイスであるモニタの色特性データを用いてモニタRGB値をデバイスに非依存な色空間であるXYZ値やLab値に変換する。次に、プリンタで再現できるように、前記デバイス非依存の色値をプリンタの色再現範囲に色域圧縮する。さらに、出力デバイスであるプリンタの色特性データを用いて、前記圧縮されたデバイス非依存の色値をプリンタCMYK値に変換する。変換されたCMYK値を用いて、モニタRGB値をプリンタCMYK値に変換するための色変換テーブルが作成される。   An example of a method for creating the above color conversion table is given below. First, the monitor RGB values are converted into XYZ values and Lab values, which are color spaces independent of the device, using the color characteristic data of the monitor that is the input device. Next, the device-independent color values are subjected to color gamut compression within the color reproduction range of the printer so that the printer can reproduce them. Further, the compressed device-independent color value is converted into a printer CMYK value using the color characteristic data of the printer as the output device. Using the converted CMYK values, a color conversion table for converting monitor RGB values into printer CMYK values is created.

ここで、作成される色変換テーブルは、様々な要因により、色変換精度が低下する。例えば、プリンタの色特性データは、一般に、プリンタで印刷出力したカラーパッチを測色機で測色することにより得る。従って、この測色時の測定精度に色変換テーブルの精度が影響を受けることとなる。他の精度低下要因としては、計算処理結果を量子化する際の量子化誤差等が挙げられる。上記に例を挙げたような要因により、テーブルの値の変化が滑らかでなくなる場合がある。その結果、色変換後の画像において階調変化が滑らかでなくなり、擬似輪郭等が発生しやすくなる。   Here, the color conversion accuracy of the created color conversion table decreases due to various factors. For example, color characteristic data of a printer is generally obtained by measuring a color patch printed out by a printer with a colorimeter. Therefore, the accuracy of the color conversion table is affected by the measurement accuracy during this color measurement. Another factor that decreases the accuracy is a quantization error when the calculation processing result is quantized. Due to the above-mentioned factors, the table value may not change smoothly. As a result, the gradation change is not smooth in the image after color conversion, and a pseudo contour or the like is likely to occur.

そこで従来は、色変換テーブルの値の変化を滑らかにするため、色変換テーブルに対して平滑化処理を行っていた。この平滑化処理として、色空間上の複数位置に対して、平滑化によるテーブル値の変動許容量を設定し、平滑化処理を行う方法が知られている(特許文献1)。
特開2006−033245号公報
Therefore, conventionally, a smoothing process has been performed on the color conversion table in order to smooth the change in the value of the color conversion table. As this smoothing process, a method is known in which smoothing processing is performed by setting a table value variation allowable amount by smoothing for a plurality of positions in a color space (Patent Document 1).
JP 2006-033245 A

しかしながら、特許文献1の方法では、入力と出力の色が対応付けられた色変換テーブルのみを用いて平滑化を行うため、平滑化時には、例えば入力デバイスの色特性や色域圧縮処理における色再現特性は考慮されていなかった。これにより、例えば、入力デバイスの色特性に階調反転などの例外的階調特性が含まれていた際、平滑化により、この特性が失われてしまう場合があった。これは、忠実カラーマッチングのように、例外的階調特性も含めた階調特性が保存される事が望ましい場合などで問題であった。   However, in the method of Patent Document 1, since smoothing is performed using only a color conversion table in which input and output colors are associated, for example, color characteristics of an input device and color reproduction in color gamut compression processing are performed at the time of smoothing. Characteristics were not considered. As a result, for example, when an exceptional gradation characteristic such as gradation inversion is included in the color characteristic of the input device, this characteristic may be lost due to smoothing. This is a problem when it is desirable to preserve gradation characteristics including exceptional gradation characteristics, such as faithful color matching.

また、色域圧縮処理において意図的に階調を潰すように作られた階調再現も、平滑化処理によって失われてしまう場合があるという問題があった。   In addition, there is a problem that the gradation reproduction that is intentionally crushed in the color gamut compression process may be lost by the smoothing process.

図17に、1次元テーブルに対して平滑化を行った場合の例を示す。平滑化前のデータは、Grid5で階調反転が発生しているが、特性を考慮しない平滑化処理を適用した場合、平滑化後にGrid5の階調反転特性が失われてしまう。   FIG. 17 shows an example when smoothing is performed on a one-dimensional table. In the data before smoothing, gradation inversion occurs in Grid5. However, when a smoothing process that does not consider the characteristics is applied, the gradation inversion characteristics of Grid5 are lost after smoothing.

そこで、上述した問題を解決するため、本発明は、複数の色処理を合成して作成した色変換テーブルに対し、各色処理の特性を考慮した平滑化処理を行う事を可能にすることを目的とする。   Therefore, in order to solve the above-described problem, an object of the present invention is to make it possible to perform a smoothing process in consideration of the characteristics of each color process on a color conversion table created by combining a plurality of color processes. And

本発明は、前記の目的を達成する一手段として、以下の構成を備える。   The present invention has the following configuration as one means for achieving the above object.

本発明にかかる色処理装置は、入力色信号を第一の色信号に変換する第一の変換手段と、前記第一の変換手段により変換された第一の色信号を第二の色信号に変換する第二の変換手段と、前記第一の変換手段により変換された第一の色信号の階調特性を検出する検出手段と、前記入力色信号と前記第二の変換手段により変換された第二の色信号との対応関係を規定するテーブルを生成するテーブル生成手段と、前記生成手段により生成されたテーブルの前記第二の色信号に対し、前記階調特性に基づき平滑化処理を行う平滑化手段とを有することを特徴とする。   The color processing apparatus according to the present invention includes a first conversion unit that converts an input color signal into a first color signal, and the first color signal converted by the first conversion unit into a second color signal. Second conversion means for conversion, detection means for detecting gradation characteristics of the first color signal converted by the first conversion means, and the input color signal and the second conversion means Table generating means for generating a table for defining the correspondence relationship with the second color signal, and smoothing processing is performed on the second color signal of the table generated by the generating means based on the gradation characteristics And smoothing means.

本発明にかかる色処理方法は、入力色信号を第一の色信号に変換する第一の変換工程と、前記第一の変換工程により変換された第一の色信号を第二の色信号に変換する第二の変換工程と、前記第一の変換工程により変換された第一の色信号の階調特性を検出する検出工程と、前記入力色信号と前記第二の変換工程により変換された第二の色信号との対応関係を規定するテーブルを生成するテーブル生成工程と、前記生成工程により生成されたテーブルの前記第二の色信号に対し、前記階調特性に基づき平滑化処理を行う平滑化工程とを有することを特徴とする。   The color processing method according to the present invention includes a first conversion step of converting an input color signal into a first color signal, and the first color signal converted by the first conversion step into a second color signal. A second conversion step for conversion, a detection step for detecting gradation characteristics of the first color signal converted by the first conversion step, and a conversion step by the input color signal and the second conversion step. A table generation step for generating a table that defines the correspondence relationship with the second color signal, and a smoothing process is performed on the second color signal of the table generated by the generation step based on the gradation characteristics And a smoothing step.

以上説明したように、本発明によれば、複数の色処理を合成して作成した色変換テーブルにおいて各色処理の特性を考慮した平滑化処理を行う事が可能となる。   As described above, according to the present invention, it is possible to perform a smoothing process in consideration of the characteristics of each color process in a color conversion table created by combining a plurality of color processes.

以下、本実施形態の画像処理装置について、図面を参照して説明する。なお、各構成に続く括弧で括った数字は、図面中における各構成の符号に対応する。   Hereinafter, the image processing apparatus of the present embodiment will be described with reference to the drawings. Note that the numbers in parentheses following each component correspond to the reference numerals of the components in the drawings.

<第1の実施形態>
図1は、第1の実施形態としての色処理装置である画像処理装置の構成例を示すブロック図である。
<First Embodiment>
FIG. 1 is a block diagram illustrating a configuration example of an image processing apparatus that is a color processing apparatus according to the first embodiment.

図1において、CPU(101)は、ROM(102)およびハードディスク(HD)(107)などに格納されたプログラムに従い、装置全体の動作を司る。その際、RAM(103)をワークメモリに利用して、本実施形態に係る色処理をはじめとする各種の処理を実行する。入力インタフェース(104)は入力デバイス(105)を接続するためのインタフェースである。ハードディスクインタフェース(106)はHD(107)を接続するためのビデオインタフェース(108)はビデオデバイス(109)を接続するためのインタフェースである。出力インタフェース(110)は出力デバイス(111)を接続するためのインタフェースである。   In FIG. 1, a CPU (101) governs the operation of the entire apparatus according to programs stored in a ROM (102) and a hard disk (HD) (107). At that time, the RAM (103) is used as a work memory to execute various processes including the color process according to the present embodiment. The input interface (104) is an interface for connecting the input device (105). The hard disk interface (106) is an interface for connecting the HD (107) and the video interface (108) for connecting the video device (109). The output interface (110) is an interface for connecting the output device (111).

なお、本実施形態が対象とする入力デバイスには、デジタルスチルカメラやデジタルビデオカメラなどの撮影機器、並びに、イメージスキャナやフィルムスキャナなどのイメージリーダをはじめとする各種の画像入力機器が含まれる。ビデオデバイスには、CRTやLCDなどのカラーモニタなどの表示機器が含まれる。また、出力デバイスには、インクジェットプリンタや電子写真プリンタといったカラープリンタなどの画像出力機器が含まれる。   Note that the input devices targeted by the present embodiment include various image input devices such as a photographing device such as a digital still camera and a digital video camera, and an image reader such as an image scanner and a film scanner. Video devices include display devices such as color monitors such as CRTs and LCDs. The output device includes an image output device such as a color printer such as an ink jet printer or an electrophotographic printer.

また、インタフェースとして汎用のインタフェースが利用できる。その用途に応じて、例えば、USBおよびIEEE1394などのシリアルインタフェース、並びに、SCSIおよびセントロニクスなどのパラレルインタフェースが利用可能である。   A general-purpose interface can be used as the interface. Depending on the application, serial interfaces such as USB and IEEE 1394, and parallel interfaces such as SCSI and Centronics can be used.

図2は、第1の実施形態に係る色処理装置の機能構成例を示すブロック図である。   FIG. 2 is a block diagram illustrating a functional configuration example of the color processing apparatus according to the first embodiment.

色変換LUT生成部(201)は、入力格子データ生成部(202)で入力色空間における格子点に対応するデータである格子点データを生成する。ここでは、入力色空間がRGBの例で説明するが、CMYKなど他の色空間を入力としても良い。   The color conversion LUT generation unit (201) generates lattice point data that is data corresponding to the lattice points in the input color space by the input lattice data generation unit (202). Although an example in which the input color space is RGB will be described here, other color spaces such as CMYK may be used as input.

生成された入力色信号RGBの格子点データは、第一の色処理部(203)でデバイスに依存しない色空間のデータである第一の色信号に変換される。ここでは、デバイスに依存しない色空間としてLabの例を用いて説明するが、XYZやJChなど、他の色空間を利用しても良い。また、Labに変換された格子点データは、変換されたLabと対応付けられ、第一のLUT(208)として生成される。次に、第二の色処理部(204)で、Labの格子点データを出力色空間のデータである第二の色信号に変換し、初期色変換LUT(207)を生成する。ここでは、出力色空間がRGBの例で説明するが、CMYKなど他の色空間を出力としても良い。平滑化制御部(205)は、第一の色処理部(203)から出力された第一のLUT(208)を利用して、平滑化処理を制御するための平滑化制御パラメータを生成する。平滑化制御パラメータの詳細は後述する。平滑化処理部(206)は、平滑化制御部(205)で生成された平滑化制御パラメータを用いて、初期色変換LUT(207)に対して平滑化処理を適用し、色変換LUT(209)を生成する。平滑化処理の詳細は後述する。   The generated grid point data of the input color signal RGB is converted into a first color signal which is data in a color space independent of the device by the first color processing unit (203). Here, an example of Lab as a color space that does not depend on a device will be described, but other color spaces such as XYZ and JCh may be used. Further, the lattice point data converted into Lab is associated with the converted Lab and is generated as the first LUT (208). Next, the second color processing unit (204) converts the Lab grid point data into a second color signal that is output color space data, and generates an initial color conversion LUT (207). Although an example in which the output color space is RGB will be described here, other color spaces such as CMYK may be output. The smoothing control unit (205) uses the first LUT (208) output from the first color processing unit (203) to generate a smoothing control parameter for controlling the smoothing process. Details of the smoothing control parameter will be described later. The smoothing processing unit (206) applies the smoothing processing to the initial color conversion LUT (207) using the smoothing control parameter generated by the smoothing control unit (205), and the color conversion LUT (209). ) Is generated. Details of the smoothing process will be described later.

図3は、本実施形態における初期色変換LUT(207)及び色変換LUT(209)の例を示した図である。   FIG. 3 is a diagram showing an example of the initial color conversion LUT (207) and the color conversion LUT (209) in the present embodiment.

初期色変換LUT(207)及び色変換LUT(209)は、入力のRGB値と、色変換後の出力のRGB値との対応関係が規定されている。ここでは、入力RGB値は、RGB色空間において規則的に配置された格子点の色座標データであり、R、G、Bの各軸が格子状に9個の格子点で構成されている。但し、格子点数は前記に限らず任意で、格子点データは非均等に配置されていても良い。   The initial color conversion LUT (207) and the color conversion LUT (209) define the correspondence between the input RGB values and the output RGB values after color conversion. Here, the input RGB values are color coordinate data of lattice points regularly arranged in the RGB color space, and each axis of R, G, and B is composed of nine lattice points in a lattice shape. However, the number of grid points is not limited to the above, and the grid point data may be non-uniformly arranged.

図4は、図3に示すLUTの入力格子点を表した模式図である。   FIG. 4 is a schematic diagram showing the input lattice points of the LUT shown in FIG.

図4では、R、G、Bの各軸が9個の格子点で構成されており、ブラック(Bk)、レッド(R)、ブルー(B)、シアン(C)、イエロー(Y)、ホワイト(W)等の各格子点のRGB値、ならびにグリッド番号による各格子点のグリッド座標とが記されている。各格子点に対して、対応する出力RGB値が関連づけられており、これらの関連付けを格納したテーブルが図3で示したものとなる。図3において、特に、入力RGB値の色座標データとグリッド番号が固定で定義されている場合などは、入力RGBデータは省略し、出力RGB値だけのデータ構成であっても良い。   In FIG. 4, each of the R, G, and B axes is composed of nine grid points, and black (Bk), red (R), blue (B), cyan (C), yellow (Y), and white The RGB value of each grid point such as (W) and the grid coordinates of each grid point by the grid number are described. Corresponding output RGB values are associated with each grid point, and a table storing these associations is shown in FIG. In FIG. 3, in particular, when the color coordinate data of the input RGB value and the grid number are defined and fixed, the input RGB data may be omitted, and the data configuration of only the output RGB value may be used.

図5は、本実施形態における第一のLUT(208)の例を示した図である。   FIG. 5 is a diagram showing an example of the first LUT (208) in the present embodiment.

第一のLUT(208)は、第一の色処理部によって変換される入力のRGB値と、変換後の出力Lab値との対応関係が定義されている。ここで、入力RGB値は図3と同じデータであって、RGB色空間において規則的に配置された格子点の色座標データであり、R、G、Bの各軸が9個の格子点で構成されている。また、図3と同様、入力RGBデータを省略し、出力RGB値だけのデータ構成であっても良い。   The first LUT (208) defines a correspondence relationship between an input RGB value converted by the first color processing unit and an output Lab value after conversion. Here, the input RGB values are the same data as in FIG. 3, and are color coordinate data of lattice points regularly arranged in the RGB color space, and each of the R, G, and B axes is 9 lattice points. It is configured. Further, as in FIG. 3, the input RGB data may be omitted, and a data configuration having only output RGB values may be used.

図6は、第1の実施形態に係る色処理装置の処理の流れを示すフローチャートである。   FIG. 6 is a flowchart illustrating a processing flow of the color processing apparatus according to the first embodiment.

まず、ステップS601において、入力格子生成部(202)で入力の格子データを生成する。ここでは、前記の説明に合わせ、入力RGB値がR,G,B各軸の格子点数が9の規則的な格子点データとする。   First, in step S601, input grid data is generated by the input grid generation unit (202). Here, in accordance with the above description, it is assumed that the input RGB value is regular grid point data with 9 grid points on each of the R, G, and B axes.

次に、ステップS602において、第一の色処理部(203)で第一の変換により入力RGB値を入力デバイスの特性に応じてLab値に変換する。また、第一のLUT(208)を生成する。   Next, in step S602, the first color processing unit (203) converts the input RGB values into Lab values according to the characteristics of the input device by the first conversion. Also, the first LUT (208) is generated.

次に、ステップS603において、第二の色処理部(204)で第二の変換によりLab値を出力デバイスの特性に応じてRGB値に変換し、初期色変換LUT(207)を生成する。   Next, in step S603, the second color processing unit (204) converts the Lab values into RGB values according to the characteristics of the output device by the second conversion, and generates an initial color conversion LUT (207).

次に、ステップS604において、初期色変換LUT(207)に平滑化処理を行うかどうかを判定する。平滑化処理は常に実施するように設定しておいても良いし、あるいは外部からの指定によって制御を切り替えても良い。平滑化処理を行う場合はステップS605に進み、平滑化処理を行わない場合は初期色変換LUT(207)を色変換LUT(209)として出力し、処理を終了する。   Next, in step S604, it is determined whether or not smoothing processing is performed on the initial color conversion LUT (207). The smoothing process may be set to always be executed, or the control may be switched by an external designation. When the smoothing process is performed, the process proceeds to step S605. When the smoothing process is not performed, the initial color conversion LUT (207) is output as the color conversion LUT (209), and the process ends.

ステップS605では、第一のLUT(208)に基づいて、平滑化処理を制御するための制御パラメータを生成する。なお、平滑化制御パラメータの生成の詳細は後述する。   In step S605, a control parameter for controlling the smoothing process is generated based on the first LUT (208). Details of the generation of the smoothing control parameter will be described later.

次に、ステップS606において、平滑化制御パラメータをもとに、初期色変換LUT(207)に対して平滑化処理を行い、色変換LUT(209)として出力し、処理を終了する。なお、平滑化処理の詳細は後述する。   Next, in step S606, the initial color conversion LUT (207) is smoothed based on the smoothing control parameter, and is output as the color conversion LUT (209), and the process ends. Details of the smoothing process will be described later.

以降、ステップS605における平滑化処理制御パラメータの生成方法、及び、ステップS606における平滑化処理方法について詳細に説明する。   Hereinafter, the smoothing process control parameter generation method in step S605 and the smoothing process method in step S606 will be described in detail.

例えば、忠実カラーマッチングを行う場合、入力デバイスの色特性に階調反転などの例外的階調特性が含まれていたとしても、その例外的階調も含めた前記階調特性が保存された方が望ましいことがある。従来のように、入力RGB値と第二の変換が行われた後のR’G’B’値とを格納した初期色変換LUT(207)の出力値に対して行う平滑化処理は、出力値の階調が滑らかになるように平滑化される。しかしながら、この出力値は、第一の変換と第二の変換を行った後の値であるため、この出力値のみから、どちらの変換の特性を反映した値であるかを判別することはできない。つまり、この出力値に対して行われる平滑化処理は、出力値の階調のみを平滑化するものであり、例えば、どちらかの変換の特性(階調)に応じて、選択的に平滑化することなどはできない。その結果、従来の平滑化処理では、第一の変換の特性を無視した平滑化処理が行われてしまうことがある。よって、本実施形態では、第一のLUT(208)から入力デバイスの例外的階調を検出し、平滑化後も前記例外的階調を含めた階調特性を保存するために、例外的階調が発生している箇所は平滑化しないという処理の方法について説明する。   For example, when performing faithful color matching, even if the color characteristics of the input device include exceptional gradation characteristics such as gradation inversion, the gradation characteristics including the exceptional gradation are preserved. May be desirable. As in the prior art, the smoothing process performed on the output value of the initial color conversion LUT (207) storing the input RGB value and the R′G′B ′ value after the second conversion is performed is as follows. The value is smoothed so that the gradation of the value becomes smooth. However, since this output value is a value after the first conversion and the second conversion, it is impossible to determine which conversion characteristic reflects the output value alone. . In other words, the smoothing process performed on the output value smoothes only the gradation of the output value. For example, the smoothing is selectively smoothed according to the characteristics (gradation) of either conversion. You can't do it. As a result, in the conventional smoothing process, the smoothing process ignoring the characteristics of the first conversion may be performed. Therefore, in this embodiment, in order to detect the exceptional gradation of the input device from the first LUT (208) and to preserve the gradation characteristics including the exceptional gradation even after smoothing, the exceptional gradation is used. A method of processing that does not smooth a portion where a tone is generated will be described.

図15は、ステップS605における平滑化処理制御パラメータの生成、及び、ステップS606における平滑化処理の流れを示すフローチャートである。ステップS1501からステップS1503までが平滑化制御パラメータ生成処理(ステップS605)、ステップS1504からステップS1508までが平滑化処理(ステップS606)に対応する。   FIG. 15 is a flowchart illustrating the flow of the smoothing process control parameter generation in step S605 and the smoothing process flow in step S606. Steps S1501 to S1503 correspond to the smoothing control parameter generation process (step S605), and steps S1504 to S1508 correspond to the smoothing process (step S606).

まず、ステップS1501において、第一のLUT(208)における注目格子点に対する例外的階調を検出する。   First, in step S1501, an exceptional gradation for the target lattice point in the first LUT (208) is detected.

例外的階調は、図7に示すような四面体において、以下の式(1)で定義される四面体の体積Vに基づいて検出する。   An exceptional gradation is detected in a tetrahedron as shown in FIG. 7 based on the volume V of the tetrahedron defined by the following equation (1).

Figure 2009260473
Figure 2009260473

ここで、×はベクトルの外積、・はベクトルの内積を表す。四面体の階調は、Vの値に応じて下記のように分類される。
・V>0:正常階調
・V=0:例外的階調(潰れ)
・V<0:例外的階調(反転)
Here, x represents an outer product of vectors, and · represents an inner product of vectors. The gradation of the tetrahedron is classified as follows according to the value of V.
・ V> 0: Normal gradation ・ V = 0: Exceptional gradation (collapse)
V <0: exceptional gradation (inversion)

図8に、ある基準格子点(Grid(i,j,k))と、その近傍の7格子点からなる六面体を四面体に分割した場合の例を示す。なお、近傍の7格子点は、Grid(i+1,j,k)、Grid(i,j+1,k)、Grid(i,j,k+1)、Grid(i+1,j+1,k)、Grid(i+1,j,k+1)、Grid(i,j+1,k+1)、Grid(i+1,j+1,k+1)である。図8のように、四面体はTetra1からTetra6までの6つに分割される。これら、格子点を頂点とする四面体に対して、図9のように、基準格子点に基づきベクトル   FIG. 8 shows an example in which a hexahedron composed of a certain reference grid point (Grid (i, j, k)) and 7 neighboring grid points is divided into tetrahedrons. The seven grid points in the vicinity are Grid (i + 1, j, k), Grid (i, j + 1, k), Grid (i, j, k + 1), Grid (i + 1, j + 1, k), Grid (i + 1, j). , K + 1), Grid (i, j + 1, k + 1), and Grid (i + 1, j + 1, k + 1). As shown in FIG. 8, the tetrahedron is divided into six from Tetra1 to Tetra6. For these tetrahedrons with lattice points as vertices, vectors based on the reference lattice points as shown in FIG.

Figure 2009260473
Figure 2009260473

を設定し、式(1)により、各四面体の体積を計算する。 And calculate the volume of each tetrahedron according to equation (1).

ここで、基準格子点であるGrid(i,j,k)に注目すると、Grid(i,j,k)の階調が正常であるとは、Grid(i,j,k)が含まれる全ての四面体でV>0となる場合のことを言う。逆に、Grid(i,j,k)の階調が例外的階調であるとは、Grid(i,j,k)が含まれる全ての四面体のうち少なくとも一つ以上の四面体でV=0またはV<0となる場合のことを言う。   Here, focusing on Grid (i, j, k), which is the reference grid point, that the gradation of Grid (i, j, k) is normal means that Grid (i, j, k) is included. The case where V> 0 in the tetrahedron. Conversely, the gradation of Grid (i, j, k) is an exceptional gradation means that at least one tetrahedron among all tetrahedrons including Grid (i, j, k) is V. = 0 or V <0.

次に、ステップS1502において、ステップS1501で検出された例外的階調情報を、図10に示すような平滑化制御パラメータ格納LUTに格納する。図10のLUTは、入力RGBの各格子点に対応するように例外的階調情報が格納されている。格子点の階調が正常の場合は0、例外的階調の場合は1が格納されている。また、図3と同様、入力RGBデータを省略し、例外的階調情報だけのデータ構成であっても良い。   Next, in step S1502, the exceptional gradation information detected in step S1501 is stored in a smoothing control parameter storage LUT as shown in FIG. The LUT in FIG. 10 stores exceptional gradation information so as to correspond to each grid point of input RGB. 0 is stored when the gradation of the grid point is normal, and 1 is stored when the gradation is exceptional. Further, as in FIG. 3, the input RGB data may be omitted, and a data configuration with only exceptional gradation information may be used.

次に、ステップS1503において、第一のLUT(208)の全ての格子点に対して処理を適用したかを判定し、未処理の格子点がある場合はステップS1501の処理に戻る。   Next, in step S1503, it is determined whether the process has been applied to all grid points of the first LUT (208). If there is an unprocessed grid point, the process returns to step S1501.

次に、ステップS1504において、平滑化制御パラメータ格納LUTに格納された平滑化制御パラメータの値を参照する。ステップS1505において、ステップS1504により参照された値が1の場合(例外的階調の場合)はステップS1507に進み、そうでない場合(階調が正常である場合)はステップS1506に進む。   Next, in step S1504, the value of the smoothing control parameter stored in the smoothing control parameter storage LUT is referred to. In step S1505, if the value referred to in step S1504 is 1 (in the case of an exceptional gradation), the process proceeds to step S1507, and if not (in the case where the gradation is normal), the process proceeds to step S1506.

ステップS1506では、注目格子点は正常階調のため、初期色変換LUT(207)の格子点を平滑化する。平滑化の方法は、例えば初期色変換LUT(207)の入力のRGB各軸方向に隣接する格子点に対する出力RGB値の平均をとる方法でも良いし、ガウシアン平滑化など、他の一般的な平滑化処理でも良い。   In step S1506, since the target lattice point is a normal gradation, the lattice point of the initial color conversion LUT (207) is smoothed. The smoothing method may be, for example, a method of averaging the output RGB values for the grid points adjacent in the RGB respective axis directions of the input of the initial color conversion LUT (207), or other general smoothing such as Gaussian smoothing. It may be a crystallization process.

次に、ステップS1507で色変換LUT(209)に平滑化処理結果(注目格子点が例外的階調の場合は初期変換LUTの値)を格納する。   In step S1507, the smoothing processing result (the value of the initial conversion LUT when the target lattice point is an exceptional gradation) is stored in the color conversion LUT (209).

次に、ステップS1508で、初期色変換LUT(207)の全ての格子点に対して処理を適用したかを判定し、未処理の格子点がある場合はステップS1504の処理に戻る。全ての格子点に対して処理を行った場合は、色変換LUT(208)を出力して、処理を終了する。   In step S1508, it is determined whether processing has been applied to all grid points of the initial color conversion LUT (207). If there are unprocessed grid points, the process returns to step S1504. When processing has been performed for all grid points, the color conversion LUT (208) is output and the processing ends.

以上の処理により、例外的階調を含めた入力デバイスの階調特性を保存した平滑化を行うことができる。   Through the above processing, smoothing can be performed while preserving the gradation characteristics of the input device including exceptional gradations.

図18に、本実施形態の平滑化を適用した場合の効果を、1次元テーブルの例で示す。平滑化前のデータは、Grid5で階調反転が発生しているが、この例外的階調特性の情報を利用して平滑化を行う事により、平滑化後にもGrid5の例外的階調特性(階調反転)が保存されている事が分かる。   FIG. 18 shows an effect of applying the smoothing of the present embodiment as an example of a one-dimensional table. In the data before smoothing, gradation inversion occurs in Grid5. By performing smoothing using the information of the exceptional gradation characteristics, the exceptional gradation characteristics of Grid5 (after smoothing) It can be seen that (gradation inversion) is stored.

なお、本実施形態における平滑化処理の制御方法として、例外的階調情報をパラメータとし、例外的階調の格子点は平滑化しないという方法としたが、本発明はこれに限られるものではない。例えば、例外的階調情報に基づいて重みを計算し、例外的階調の格子点と周囲の格子点の平滑化結果が滑らかになるような重み付けの平滑化方法も考えられる。あるいは、平滑化前後のデータを例外的階調情報に基づく重みによって混合させるような方法でも良い。また、これらの方法において、特開2006−033245号公報に記載されているように、平滑化による変動許容量を例外的階調情報に基づいて設定するようにしても良い。   Although the smoothing process control method in this embodiment is a method in which exceptional tone information is used as a parameter and lattice points of exceptional tone are not smoothed, the present invention is not limited to this. . For example, a weighting smoothing method is also conceivable in which weights are calculated based on exceptional tone information, and smoothing results of exceptional tone grid points and surrounding grid points become smooth. Alternatively, a method may be used in which data before and after smoothing are mixed by weights based on exceptional gradation information. Further, in these methods, as described in Japanese Patent Application Laid-Open No. 2006-033245, the allowable variation amount due to smoothing may be set based on exceptional gradation information.

以上記載のように、本実施形態により、複数の色処理を合成して作成した色変換テーブルにおいて第一の色処理の階調特性を考慮した平滑化処理を行う事が可能となる。   As described above, according to the present embodiment, it is possible to perform a smoothing process in consideration of the gradation characteristics of the first color process in a color conversion table created by combining a plurality of color processes.

<第2の実施形態>
第2の実施形態について説明する。本実施形態については、第1の実施形態と異なる部分についてのみ説明し、重複する部分に関しては説明を省略する。
<Second Embodiment>
A second embodiment will be described. In the present embodiment, only the parts different from the first embodiment will be described, and description of overlapping parts will be omitted.

第2の実施形態は、例えば色域圧縮処理において意図的に階調を潰すといったように作られた階調再現が、平滑化処理により失われてしまう場合の処理について説明する。   In the second embodiment, for example, a description will be given of a process in a case where a gradation reproduction that is intentionally crushed in a color gamut compression process is lost by the smoothing process.

図11は、第2の実施形態に係る色処理装置の機能構成例を示すブロック図である。   FIG. 11 is a block diagram illustrating a functional configuration example of the color processing apparatus according to the second embodiment.

色変換LUT生成部(1101)は、入力格子データ生成部(1102)で入力色空間における格子点データを生成する。ここでは、入力色空間がRGBの例で説明するが、CMYKなど他の色空間を入力としても良い。   The color conversion LUT generation unit (1101) generates grid point data in the input color space by the input grid data generation unit (1102). Although an example in which the input color space is RGB will be described here, other color spaces such as CMYK may be used as input.

生成されたRGBの格子データは、第一の色処理部(1103)でデバイスに依存しない色空間のデータに変換される。ここでは、デバイスに依存しない色空間としてLabの例で説明するが、XYZやJChなど、他の色空間を利用しても良い。また、Labに変換された格子点データは、第一のLUT(1109)として出力される。次に、第二の色処理部(1104)で、Labの格子データを別のLabデータに変換する。例えば、第二の色処理部としては色域圧縮処理などが挙げられる。また、変換されたLabの格子点データは、第二のLUT(1110)として出力される。次に、第三の色処理部(1105)でLabのデータを出力色空間のデータである第三の色信号に変換し、初期色変換LUT(1108)を生成する。ここでは、出力色空間がRGBの例で説明するが、CMYKなど他の色空間を出力としても良い。平滑化制御部(1106)は、第一の色処理部(1103)から出力された第一のLUT(1109)及び第二の色処理部(1104)から出力された第二のLUT(1110)を利用して、平滑化処理を制御するための平滑化制御パラメータを生成する。平滑化処理部(1107)は、平滑化制御部(1106)で生成された平滑化制御パラメータを用いて、初期色変換LUT(1108)に対して平滑化処理を適用し、色変換LUT(1111)を生成する。   The generated RGB grid data is converted into device-independent color space data by the first color processing unit (1103). Here, an example of Lab as a color space that does not depend on a device will be described, but other color spaces such as XYZ and JCh may be used. The grid point data converted to Lab is output as the first LUT (1109). Next, the second color processing unit (1104) converts the Lab grid data into another Lab data. For example, the second color processing unit includes color gamut compression processing. The converted Lab grid point data is output as a second LUT (1110). Next, the third color processing unit (1105) converts the Lab data into a third color signal, which is data in the output color space, and generates an initial color conversion LUT (1108). Although an example in which the output color space is RGB will be described here, other color spaces such as CMYK may be output. The smoothing control unit (1106) includes a first LUT (1109) output from the first color processing unit (1103) and a second LUT (1110) output from the second color processing unit (1104). Is used to generate a smoothing control parameter for controlling the smoothing process. The smoothing processing unit (1107) applies the smoothing process to the initial color conversion LUT (1108) using the smoothing control parameter generated by the smoothing control unit (1106), and the color conversion LUT (1111). ) Is generated.

図12は、本発明の第2の実施形態に係る色処理装置の流れを示すフローチャートである。   FIG. 12 is a flowchart showing the flow of the color processing apparatus according to the second embodiment of the present invention.

まず、ステップS1201において、入力格子生成部(1102)で入力の格子データを生成する。ここでは、第1実施形態と同様、入力RGB値がR,G,B各軸の格子点数が9の規則的な格子点データとする。   First, in step S1201, the input grid generation unit (1102) generates input grid data. Here, as in the first embodiment, it is assumed that the input RGB value is regular grid point data with 9 grid points on each of the R, G, and B axes.

次に、ステップS1202において、第一の色処理部(1103)で入力RGB値を入力デバイスの特性に応じてLab値に変換する。また、第一のLUT(1109)を生成する。   In step S1202, the first color processing unit (1103) converts the input RGB values into Lab values according to the characteristics of the input device. Also, the first LUT (1109) is generated.

次に、ステップS1203において、第二の色処理部(1104)でLab値を色域圧縮処理し、出力デバイスの色再現範囲内のLab値に変換する。また、第一の色処理部(1103)によって変換される入力のRGB値と色域圧縮処理した後のLab値の対応関係を定義し、それぞれの値を格納した第二のLUT(1110)を生成する。   Next, in step S1203, the Lab value is subjected to color gamut compression processing by the second color processing unit (1104), and converted to a Lab value within the color reproduction range of the output device. Also, a correspondence relationship between the input RGB value converted by the first color processing unit (1103) and the Lab value after color gamut compression processing is defined, and a second LUT (1110) storing each value is defined. Generate.

次に、ステップS1204において、第三の色処理部(1105)で、ステップS1203において変換されたLab値を出力デバイスの特性に応じて第三の変換によりRGB値に変換し、初期色変換LUT(1108)を生成する。   Next, in step S1204, the third color processing unit (1105) converts the Lab value converted in step S1203 into an RGB value by the third conversion according to the characteristics of the output device, and an initial color conversion LUT ( 1108).

次に、ステップS1205において、初期色変換LUT(1108)に平滑化処理を行うかどうかを判定する。平滑化処理は常に実施するように設定しておいても良いし、あるいは外部からの指定によって制御を切り替えても良い。平滑化処理を行う場合はステップS1206に進み、平滑化処理を行わない場合は初期色変換LUT(1108)を色変換LUT(1111)として出力し、処理を終了する。   Next, in step S1205, it is determined whether smoothing processing is performed on the initial color conversion LUT (1108). The smoothing process may be set to always be executed, or the control may be switched by an external designation. If the smoothing process is performed, the process proceeds to step S1206. If the smoothing process is not performed, the initial color conversion LUT (1108) is output as the color conversion LUT (1111), and the process ends.

ステップS1206では、第一のLUT(1109)及び第二のLUT(1110)に基づいて、平滑化処理を制御するための制御パラメータを生成する。なお、平滑化制御パラメータの生成の詳細は後述する。   In step S1206, control parameters for controlling the smoothing process are generated based on the first LUT (1109) and the second LUT (1110). Details of the generation of the smoothing control parameter will be described later.

次に、ステップS1207において、平滑化制御パラメータをもとに、初期色変換LUT(1108)に対して平滑化処理を行い、色変換LUT(1111)として出力し、処理を終了する。なお、平滑化処理の詳細は後述する。   In step S1207, the initial color conversion LUT (1108) is smoothed based on the smoothing control parameter, and is output as the color conversion LUT (1111), and the process ends. Details of the smoothing process will be described later.

以降、ステップS1206における平滑化処理制御パラメータの生成方法、及び、ステップ1207における平滑化処理方法について詳細に説明する。   Hereinafter, the smoothing process control parameter generation method in step S1206 and the smoothing process method in step 1207 will be described in detail.

例えば、第二の色処理、つまり色域圧縮処理で意図的に階調を潰すというように階調再現を作ることが考えられるが、色域圧縮時の色作りは最終結果でも保存されている事が望ましい。よって、本実施形態では、第一のLUT(1109)及び第二のLUT(1110)から色域圧縮における色作りを格子点間の距離に基づくパラメータにより判定する。平滑化後も判定結果をできるだけ保存するために、色作りが影響している箇所については、平滑化処理が結果に及ぼす影響を小さくする方法について説明する。   For example, it is conceivable to create gradation reproduction such as intentionally crushing gradation in the second color processing, that is, color gamut compression processing, but color creation at the time of color gamut compression is saved even in the final result. Things are desirable. Therefore, in the present embodiment, color creation in color gamut compression is determined from the first LUT (1109) and the second LUT (1110) using parameters based on the distance between grid points. In order to save the determination result as much as possible after smoothing, a method for reducing the influence of the smoothing process on the result will be described with respect to the location where the color creation has an influence.

図16は、ステップS1206における平滑化処理制御パラメータの生成、及び、ステップS1207における平滑化処理の流れを示すフローチャートである。ステップS1601からステップS1603までが平滑化制御パラメータ生成処理(ステップS1206)、ステップS1604からステップS1607までが平滑化処理(ステップS1207)に対応する。   FIG. 16 is a flowchart showing the flow of the smoothing process control parameter generation in step S1206 and the smoothing process flow in step S1207. Steps S1601 to S1603 correspond to the smoothing control parameter generation process (step S1206), and steps S1604 to S1607 correspond to the smoothing process (step S1207).

まず、ステップS1601において、第一のLUT(1109)及び第二のLUT(1110)それぞれについて、注目格子点における格子距離比率を算出する。格子距離比率は、格子点間の平均距離から算出するため、先にこの平均距離の算出方法を示す。   First, in step S1601, the lattice distance ratio at the target lattice point is calculated for each of the first LUT (1109) and the second LUT (1110). Since the lattice distance ratio is calculated from the average distance between lattice points, a method for calculating the average distance will be described first.

図13は、格子点間の平均距離算出のため模式図である。   FIG. 13 is a schematic diagram for calculating an average distance between lattice points.

ある基準となる格子点、Grid(i,j,k)に対して、隣接する格子点を以下の6つとする。Grid(i+1,j,k)、Grid(i−1,j,k)、Grid(i,j+1,k)、Grid(i,j−1,k)、Grid(i,j,k+1)、Grid(i,j,k−1)。L1、L2、M1、M2、N1、N2はそれぞれ、Grid(i,j,k)と上記の隣接する格子点とのLab空間上の距離を表す。Grid(i,j,k)における隣接する格子点間の平均距離D(i,j,k)を、下記の式(2)で定義する。
D(i,j,k)=(L+L+M+M+N+N)/6 (2)
Assume that the following six lattice points are adjacent to a reference lattice point, Grid (i, j, k). Grid (i + 1, j, k), Grid (i-1, j, k), Grid (i, j + 1, k), Grid (i, j-1, k), Grid (i, j, k + 1), Grid (I, j, k-1). L1, L2, M1, M2, N1, and N2 represent distances in the Lab space between Grid (i, j, k) and the above adjacent grid points, respectively. An average distance D (i, j, k) between adjacent grid points in Grid (i, j, k) is defined by the following equation (2).
D (i, j, k) = (L 1 + L 2 + M 1 + M 2 + N 1 + N 2 ) / 6 (2)

次に、平滑化制御パラメータとなる、格子距離比率Rの算出方法を示す。第一のLUT(1109)における上記平均距離をD(i,j,k)、第二のLUT(1110)における上記平均距離をD(i,j,k)とすると、格子距離比率Rは下記の式(3)のようになる。
R=D(i,j,k)/D(i,j,k) (3)
このRの値が1より小さいほど、色域圧縮により格子点間距離を縮めるような色作りの傾向が強くなり、Rの値が1より大きいほど、格子点間隔を広げるような色作りの傾向が強くなる。
Next, a method for calculating the lattice distance ratio R, which is a smoothing control parameter, will be described. When the average distance in the first LUT (1109) is D 1 (i, j, k) and the average distance in the second LUT (1110) is D 2 (i, j, k), the lattice distance ratio R Becomes the following equation (3).
R = D 2 (i, j, k) / D 1 (i, j, k) (3)
As the R value is smaller than 1, the tendency of color creation to reduce the distance between grid points by color gamut compression becomes stronger. As the R value is larger than 1, the tendency of color creation to increase the grid point spacing. Becomes stronger.

次に、ステップS1602において、ステップS1501で算出した格子距離比率を、図14に示すような平滑化制御パラメータ格納LUTに格納する。図14のLUTは、入力RGBの各格子点に対応するように格子距離比率が格納されている。また、図3と同様、入力RGBデータを省略し、格子距離比率だけのデータ構成であっても良い。   Next, in step S1602, the lattice distance ratio calculated in step S1501 is stored in a smoothing control parameter storage LUT as shown in FIG. The LUT in FIG. 14 stores a grid distance ratio so as to correspond to each grid point of input RGB. Further, as in FIG. 3, the input RGB data may be omitted, and a data configuration having only a lattice distance ratio may be used.

次に、ステップS1603において、第一のLUT(1109)及び第二のLUT(1110)の全ての格子点に対してステップS1602の処理を適用したかを判定し、未処理の格子点がある場合はステップS1601の処理に戻る。   Next, in step S1603, it is determined whether or not the processing in step S1602 has been applied to all grid points of the first LUT (1109) and the second LUT (1110), and there are unprocessed grid points. Returns to the process of step S1601.

次に、ステップS1604において、平滑化制御パラメータ格納LUTの値を参照する。   Next, in step S1604, the value of the smoothing control parameter storage LUT is referred to.

次に、ステップS1605において、ステップS1604において参照した平滑化制御パラメータの値を利用し、平滑化を行う。平滑化の方法は、例えば初期色変換LUT(1108)の入力のRGB各軸方向に隣接する格子点に対する出力RGB値の平均をとる方法でも良いし、ガウシアン平滑化など、他の一般的な平滑化処理でも良い。この平滑化後の値と平滑化前の値とを、平滑化制御パラメータ(格子距離比率)の値を用いて算出する合成比率に基づいて合成し、最終的な平滑化結果とする。前記合成比率は、例えば格子距離比率が1の場合は平滑化後の格子点出力値の割合を100%とし、格子距離比率が1から離れるほど、平滑化前、つまり初期色変換LUT(1108)の格子点出力値の割合を増やすような方法により算出する。   Next, in step S1605, smoothing is performed using the value of the smoothing control parameter referred to in step S1604. The smoothing method may be, for example, a method of averaging the output RGB values for the grid points adjacent in the RGB respective axis directions of the input of the initial color conversion LUT (1108), or other general smoothing such as Gaussian smoothing. It may be a crystallization process. The value after smoothing and the value before smoothing are combined based on the combination ratio calculated using the value of the smoothing control parameter (grid distance ratio) to obtain the final smoothing result. For example, when the grid distance ratio is 1, the ratio of the grid point output value after smoothing is 100%. The further the grid distance ratio is away from 1, the smoothing, that is, the initial color conversion LUT (1108). It is calculated by a method that increases the ratio of the grid point output values.

次に、ステップS1606で色変換LUT(1111)に、ステップS11605で得られる最終的な平滑化処理結果の値を格納する。   In step S1606, the final smoothing processing result value obtained in step S11605 is stored in the color conversion LUT (1111).

次に、ステップS1607で、初期色変換LUT(1108)の全ての格子点に対して処理を適用したかを判定し、未処理の格子点がある場合はステップS1604の処理に戻る。全ての格子点に対して処理を行った場合は、色変換LUT(1111)を出力して、処理を終了する。   In step S1607, it is determined whether processing has been applied to all grid points of the initial color conversion LUT (1108). If there are unprocessed grid points, the process returns to step S1604. When processing has been performed for all grid points, the color conversion LUT (1111) is output, and the processing ends.

以上の処理により、色域圧縮において色作りされた箇所の特性を保存した平滑化を行うことができる。   By the above processing, smoothing can be performed while preserving the characteristics of the location where the color is created in the color gamut compression.

なお、本実施形態における平滑化処理の制御方法として、特開2003−179764のように平滑化による変動許容量を設定する方法を利用し、変動許容量を格子距離比率に基づいて決めるようにしても良い。   Note that, as a control method of the smoothing process in the present embodiment, a method of setting an allowable variation amount by smoothing as in JP-A-2003-179964 is used, and the allowable variation amount is determined based on the lattice distance ratio. Also good.

以上記載のように、本実施形態により、複数の色処理を合成して作成した色変換テーブルにおいて第二の色処理の特性を考慮した平滑化処理を行う事が可能となる。   As described above, according to the present embodiment, it is possible to perform a smoothing process in consideration of the characteristics of the second color process in a color conversion table created by combining a plurality of color processes.

<その他の実施形態>
本発明は、複数の機器(例えばコンピュータ、インタフェース機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置、制御装置など)に適用してもよい。
<Other embodiments>
Even if the present invention is applied to a system constituted by a plurality of devices (for example, a computer, an interface device, a reader, a printer, etc.), it is applied to an apparatus (for example, a copying machine, a facsimile machine, a control device, etc.) comprising a single device. You may apply.

また、本発明の目的は、上記実施形態の機能を実現するコンピュータプログラムを記録した記録媒体をシステムまたは装置に供給し、そのシステムまたは装置のコンピュータ(CPUやMPU)が前記コンピュータプログラムを実行することでも達成される。この場合、記録媒体から読み出されたソフトウェア自体が上記実施形態の機能を実現することになり、そのコンピュータプログラムと、そのコンピュータプログラムを記憶する、コンピュータが読み取り可能な記録媒体は本発明を構成する。   Another object of the present invention is to supply a recording medium storing a computer program for realizing the functions of the above embodiments to a system or apparatus, and the computer (CPU or MPU) of the system or apparatus executes the computer program. But it is achieved. In this case, the software read from the recording medium itself realizes the functions of the above embodiments, and the computer program and the computer-readable recording medium storing the computer program constitute the present invention. .

また、前記コンピュータプログラムの実行により上記機能が実現されるだけではない。つまり、そのコンピュータプログラムの指示により、コンピュータ上で稼働するオペレーティングシステム(OS)および/または第一の、第二の、第三の、…プログラムなどが実際の処理の一部または全部を行い、それによって上記機能が実現される場合も含む。   Further, the above functions are not only realized by the execution of the computer program. That is, according to the instruction of the computer program, the operating system (OS) and / or the first, second, third,... This includes the case where the above function is realized.

また、前記コンピュータプログラムがコンピュータに接続された機能拡張カードやユニットなどのデバイスのメモリに書き込まれていてもよい。つまり、そのコンピュータプログラムの指示により、第一の、第二の、第三の、…デバイスのCPUなどが実際の処理の一部または全部を行い、それによって上記機能が実現される場合も含む。   The computer program may be written in a memory of a device such as a function expansion card or unit connected to the computer. That is, it includes a case where the CPU of the first, second, third,... Device performs part or all of the actual processing by the instruction of the computer program, thereby realizing the above functions.

本発明を前記記録媒体に適用する場合、その記録媒体には、先に説明したフローチャートに対応または関連するコンピュータプログラムが格納される。   When the present invention is applied to the recording medium, the recording medium stores a computer program corresponding to or related to the flowchart described above.

本実施形態に係る画像処理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the image processing apparatus which concerns on this embodiment. 本実施形態に係る色処理装置の機能構成例を示すブロック図である。It is a block diagram which shows the function structural example of the color processing apparatus which concerns on this embodiment. 本実施形態に係る色変換LUTの例を示した図である。It is a figure showing an example of a color conversion LUT concerning this embodiment. 本実施形態に係る色変換LUTの入力格子点を表した模式図である。It is the model showing the input lattice point of the color conversion LUT which concerns on this embodiment. 本実施形態に係る第一のLUTの例を示した図である。It is the figure which showed the example of the 1st LUT which concerns on this embodiment. 本実施形態に係る色処理装置の処理の流れを示すフローチャートである。6 is a flowchart illustrating a processing flow of the color processing apparatus according to the present embodiment. 本実施形態に係る四面体を表した模式図である。It is a schematic diagram showing the tetrahedron which concerns on this embodiment. 本実施形態に係る第一のLUTの入力格子点からなる六面体を四面体に分割した図である。It is the figure which divided the hexahedron which consists of the input lattice point of the 1st LUT concerning this embodiment into a tetrahedron. 図8の四面体にベクトルを割り当てた図である。It is the figure which allocated the vector to the tetrahedron of FIG. 本実施形態に係る平滑化制御パラメータを保持するテーブルを示した図である。It is the figure which showed the table holding the smoothing control parameter which concerns on this embodiment. 本実施形態に係る色処理装置の機能構成例を示すブロック図である。It is a block diagram which shows the function structural example of the color processing apparatus which concerns on this embodiment. 本実施形態に係る色処理装置の処理の流れを示すフローチャートである。6 is a flowchart illustrating a processing flow of the color processing apparatus according to the present embodiment. 本実施形態に係る格子点間の平均距離の算出を説明するための図である。It is a figure for demonstrating calculation of the average distance between the lattice points which concerns on this embodiment. 本実施形態に係る平滑化制御パラメータを保持するテーブルを示した図である。It is the figure which showed the table holding the smoothing control parameter which concerns on this embodiment. 本実施形態に係る平滑化制御パラメータ生成処理及び平滑化処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the smoothing control parameter production | generation process and smoothing process which concern on this embodiment. 本実施形態に係る平滑化制御パラメータ生成処理及び平滑化処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the smoothing control parameter production | generation process and smoothing process which concern on this embodiment. 従来の方法における平滑化処理結果の一例を示した図である。It is the figure which showed an example of the smoothing process result in the conventional method. 本実施形態に係る平滑化処理結果の一例を示した図である。It is the figure which showed an example of the smoothing process result which concerns on this embodiment.

Claims (9)

入力色信号を第一の色信号に変換する第一の変換手段と、
前記第一の変換手段により変換された第一の色信号を第二の色信号に変換する第二の変換手段と、
前記第一の変換手段により変換された第一の色信号の階調特性を検出する検出手段と、
前記入力色信号と前記第二の変換手段により変換された第二の色信号との対応関係を規定するテーブルを生成するテーブル生成手段と、
前記生成手段により生成されたテーブルの前記第二の色信号に対し、前記階調特性に基づき平滑化処理を行う平滑化手段と
を有することを特徴とする色処理装置。
First conversion means for converting an input color signal into a first color signal;
Second conversion means for converting the first color signal converted by the first conversion means into a second color signal;
Detecting means for detecting gradation characteristics of the first color signal converted by the first converting means;
Table generating means for generating a table for defining a correspondence relationship between the input color signal and the second color signal converted by the second converting means;
A color processing apparatus comprising: a smoothing unit that performs a smoothing process on the second color signal of the table generated by the generating unit based on the gradation characteristics.
前記第一の変換手段は、入力デバイスの色信号である前記入力色信号を前記入力デバイスに依存しない色空間のデータである前記第一の色信号に変換することを特徴とする請求項1に記載の色処理装置。   The first conversion unit converts the input color signal, which is a color signal of an input device, into the first color signal, which is data of a color space independent of the input device. The color processing apparatus as described. 前記入力色信号は、前記入力色信号の色空間上に配置される格子点に対応することを特徴とする請求項1又は2に記載の色処理装置。   The color processing apparatus according to claim 1, wherein the input color signal corresponds to a grid point arranged in a color space of the input color signal. 前記階調特性は、前記格子点を頂点とする四面体の体積に基づいて算出されることを特徴とする請求項3に記載の色処理装置。   The color processing apparatus according to claim 3, wherein the gradation characteristic is calculated based on a volume of a tetrahedron having the lattice points as apexes. 前記平滑化手段は、前記階調特性により表される階調が反転しているか又は潰れている場合は、前記平滑化処理を行わないことを特徴とする請求項1乃至4の何れか一項に記載の色処理装置。   5. The smoothing unit does not perform the smoothing process when the gradation represented by the gradation characteristics is inverted or crushed. 6. The color processing apparatus according to 1. 前記第二の変換手段は、さらに前記第一の変換手段により変換された第一の色信号を第三の色信号に変換する第三の変換手段を有し、前記第三の変換手段により変換された前記第三の色信号を前記第二の色信号に変換し、
前記検出手段は、さらに前記第三の変換手段により変換された第三の色信号の階調特性を検出し、
前記平滑化手段は、さらに前記第一の色信号の階調特性と前記第三の色信号の階調特性とに基づき平滑化処理を行うことを特徴とする請求項1乃至5の何れか一項に記載の色処理装置。
The second conversion means further includes third conversion means for converting the first color signal converted by the first conversion means into a third color signal, and the third conversion means converts the first color signal. Converting the third color signal to the second color signal,
The detection means further detects a gradation characteristic of the third color signal converted by the third conversion means,
6. The smoothing unit further performs a smoothing process based on a gradation characteristic of the first color signal and a gradation characteristic of the third color signal. The color processing device according to item.
入力色信号を第一の色信号に変換する第一の変換工程と、
前記第一の変換工程により変換された第一の色信号を第二の色信号に変換する第二の変換工程と、
前記第一の変換工程により変換された第一の色信号の階調特性を検出する検出工程と、
前記入力色信号と前記第二の変換工程により変換された第二の色信号との対応関係を規定するテーブルを生成するテーブル生成工程と、
前記生成工程により生成されたテーブルの前記第二の色信号に対し、前記階調特性に基づき平滑化処理を行う平滑化工程と
を有することを特徴とする色処理方法。
A first conversion step for converting an input color signal into a first color signal;
A second conversion step of converting the first color signal converted by the first conversion step into a second color signal;
A detection step of detecting a gradation characteristic of the first color signal converted by the first conversion step;
A table generation step of generating a table that defines a correspondence relationship between the input color signal and the second color signal converted by the second conversion step;
And a smoothing step of performing a smoothing process on the second color signal of the table generated by the generating step based on the gradation characteristics.
コンピュータ装置を制御して、請求項1乃至6の何れか一項に記載された色処理装置の各手段として機能させることを特徴とするコンピュータプログラム。   A computer program for controlling a computer device to function as each unit of the color processing device according to any one of claims 1 to 6. 請求項8に記載されたプログラムが記録されたことを特徴とするコンピュータが読み取り可能な記録媒体。   A computer-readable recording medium on which the program according to claim 8 is recorded.
JP2008104648A 2008-04-14 2008-04-14 Color processing method and apparatus, program, and recording medium Pending JP2009260473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008104648A JP2009260473A (en) 2008-04-14 2008-04-14 Color processing method and apparatus, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008104648A JP2009260473A (en) 2008-04-14 2008-04-14 Color processing method and apparatus, program, and recording medium

Publications (1)

Publication Number Publication Date
JP2009260473A true JP2009260473A (en) 2009-11-05

Family

ID=41387365

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008104648A Pending JP2009260473A (en) 2008-04-14 2008-04-14 Color processing method and apparatus, program, and recording medium

Country Status (1)

Country Link
JP (1) JP2009260473A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009260474A (en) * 2008-04-14 2009-11-05 Canon Inc Color processing apparatus and method
JP2016541144A (en) * 2013-10-14 2016-12-28 マイクロソフト テクノロジー ライセンシング,エルエルシー Features of base color index map mode for video and image encoding and decoding
US10390034B2 (en) 2014-01-03 2019-08-20 Microsoft Technology Licensing, Llc Innovations in block vector prediction and estimation of reconstructed sample values within an overlap area
US10469863B2 (en) 2014-01-03 2019-11-05 Microsoft Technology Licensing, Llc Block vector prediction in video and image coding/decoding
US10542274B2 (en) 2014-02-21 2020-01-21 Microsoft Technology Licensing, Llc Dictionary encoding and decoding of screen content
US10582213B2 (en) 2013-10-14 2020-03-03 Microsoft Technology Licensing, Llc Features of intra block copy prediction mode for video and image coding and decoding
US10659783B2 (en) 2015-06-09 2020-05-19 Microsoft Technology Licensing, Llc Robust encoding/decoding of escape-coded pixels in palette mode
US10785486B2 (en) 2014-06-19 2020-09-22 Microsoft Technology Licensing, Llc Unified intra block copy and inter prediction modes
US10812817B2 (en) 2014-09-30 2020-10-20 Microsoft Technology Licensing, Llc Rules for intra-picture prediction modes when wavefront parallel processing is enabled
US10986349B2 (en) 2017-12-29 2021-04-20 Microsoft Technology Licensing, Llc Constraints on locations of reference blocks for intra block copy prediction
US11109036B2 (en) 2013-10-14 2021-08-31 Microsoft Technology Licensing, Llc Encoder-side options for intra block copy prediction mode for video and image coding
US11284103B2 (en) 2014-01-17 2022-03-22 Microsoft Technology Licensing, Llc Intra block copy prediction with asymmetric partitions and encoder-side search patterns, search ranges and approaches to partitioning

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009260474A (en) * 2008-04-14 2009-11-05 Canon Inc Color processing apparatus and method
US10582213B2 (en) 2013-10-14 2020-03-03 Microsoft Technology Licensing, Llc Features of intra block copy prediction mode for video and image coding and decoding
JP2016541144A (en) * 2013-10-14 2016-12-28 マイクロソフト テクノロジー ライセンシング,エルエルシー Features of base color index map mode for video and image encoding and decoding
US11109036B2 (en) 2013-10-14 2021-08-31 Microsoft Technology Licensing, Llc Encoder-side options for intra block copy prediction mode for video and image coding
US10506254B2 (en) 2013-10-14 2019-12-10 Microsoft Technology Licensing, Llc Features of base color index map mode for video and image coding and decoding
US10469863B2 (en) 2014-01-03 2019-11-05 Microsoft Technology Licensing, Llc Block vector prediction in video and image coding/decoding
US10390034B2 (en) 2014-01-03 2019-08-20 Microsoft Technology Licensing, Llc Innovations in block vector prediction and estimation of reconstructed sample values within an overlap area
US11284103B2 (en) 2014-01-17 2022-03-22 Microsoft Technology Licensing, Llc Intra block copy prediction with asymmetric partitions and encoder-side search patterns, search ranges and approaches to partitioning
US10542274B2 (en) 2014-02-21 2020-01-21 Microsoft Technology Licensing, Llc Dictionary encoding and decoding of screen content
US10785486B2 (en) 2014-06-19 2020-09-22 Microsoft Technology Licensing, Llc Unified intra block copy and inter prediction modes
US10812817B2 (en) 2014-09-30 2020-10-20 Microsoft Technology Licensing, Llc Rules for intra-picture prediction modes when wavefront parallel processing is enabled
US10659783B2 (en) 2015-06-09 2020-05-19 Microsoft Technology Licensing, Llc Robust encoding/decoding of escape-coded pixels in palette mode
US10986349B2 (en) 2017-12-29 2021-04-20 Microsoft Technology Licensing, Llc Constraints on locations of reference blocks for intra block copy prediction

Similar Documents

Publication Publication Date Title
JP2009260473A (en) Color processing method and apparatus, program, and recording medium
JP2006340105A (en) Image processing method, profile generating method, and image processing apparatus
JP4974853B2 (en) Image processing apparatus, image processing method, and program
US8773723B2 (en) Generating color separation table for printer having color forming materials with high and low relative densities using a gamut boundary to limit use of dark color material
JP2008160306A (en) Method for generating coupled lookup table, image processor and image forming apparatus
JP2010232784A (en) Image processing device, image processing method, and program
JP5257158B2 (en) Color conversion apparatus, color conversion method and program
US8885932B2 (en) Image processing apparatus and profile generation method
US9218552B2 (en) Image processing apparatus and image processing method
JP6155644B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP2008147937A (en) Image processor and image processing method
JP2006340107A (en) Image processing method, profile generating method, and image processing apparatus
JP5278257B2 (en) Color processing apparatus, image processing apparatus, and program
US8203751B2 (en) Color signal converting apparatus, image forming apparatus, color signal conversion method and computer readable medium
JP2007043613A (en) Color data processing method, color data processing apparatus, and program
JP6263954B2 (en) Color gamut compression apparatus and program
JP2009094822A (en) Device and method for processing color
JP4472594B2 (en) Image data color conversion apparatus, color conversion method, and color conversion program
JP5777322B2 (en) Color processing apparatus and color processing method
JP4921339B2 (en) Color processing apparatus and method
JP6405248B2 (en) Image processing apparatus, image processing method, and program
JP2009284261A (en) Color processing device, method and program
JP4472595B2 (en) Image data color conversion apparatus, color conversion method, and color conversion program
JP5759962B2 (en) Image processing apparatus and image processing program
JP4775409B2 (en) Color gamut generation device and color gamut generation program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100201

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20100630