JP2006203526A - Information processing method and processor - Google Patents

Information processing method and processor Download PDF

Info

Publication number
JP2006203526A
JP2006203526A JP2005012756A JP2005012756A JP2006203526A JP 2006203526 A JP2006203526 A JP 2006203526A JP 2005012756 A JP2005012756 A JP 2005012756A JP 2005012756 A JP2005012756 A JP 2005012756A JP 2006203526 A JP2006203526 A JP 2006203526A
Authority
JP
Japan
Prior art keywords
color gamut
information
color
polygon
gamut
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005012756A
Other languages
Japanese (ja)
Other versions
JP4481840B2 (en
JP2006203526A5 (en
Inventor
Takahiro Suzuki
隆広 鈴木
Susumu Niihara
晋 新原
Hirochika Matsuoka
寛親 松岡
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 JP2005012756A priority Critical patent/JP4481840B2/en
Publication of JP2006203526A publication Critical patent/JP2006203526A/en
Publication of JP2006203526A5 publication Critical patent/JP2006203526A5/ja
Application granted granted Critical
Publication of JP4481840B2 publication Critical patent/JP4481840B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To raise the precision of color reproduction processing by reconstructing the color gamut surface profile of a color space. <P>SOLUTION: This information processor has a color gamut surface information acquisition process for acquiring color gamut surface information concerning the geometric profile of a polyhedron representing the surface of a color gamut, a profile information acquisition process for acquiring profile information of a polygon constituting the polyhedron, a polygon detection process for comparing the acquired profile information with predetermined profile information and detecting a polygon to be an object of reconstruction, and a reconstruction process for reconstructing the detected polygon into a plurality of polygons. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、色域を再構築するものに関する。   The present invention relates to reconstructing a color gamut.

近年、パーソナルコンピュータの普及に伴い、デジタルカメラ、カラースキャナなどの画像入力デバイスによって画像を入力し、その画像をCRT、LCDなどの画像表示デバイスを用い画像を表示、確認、もしくは、カラープリンタなどの画像出力デバイスによって画像を出力するようなシステムが発達してきた。これらのシステムでは、入力デバイスと、表示、出力デバイスの色再現域の差による見えの違いを補正するために、カラーマッチング処理(色域マッピング)を行うのが通例である。色域マッピングを行うことにより、デバイス間の色の見えの差を吸収する。現在、この色域マッピング処理に関して様々な手法が提案されている。例えば、非特許文献1において、CIELAB空間上のグレー軸上の一点((L,a,b)=(50,0,0))に向かって色域マッピングしていく方法が提案されている。また、CIELAB空間上で色相毎に領域分割を行い、その領域毎に最適な圧縮方向へマッピングを行う手法も提案されている。また、国際照明委員会(CIE)のTC8−03では、SGCK技法が推奨されている。   In recent years, with the spread of personal computers, an image is input by an image input device such as a digital camera or a color scanner, and the image is displayed or confirmed using an image display device such as a CRT or LCD, or a color printer or the like. Systems have been developed that output images with image output devices. In these systems, color matching processing (color gamut mapping) is usually performed in order to correct the difference in appearance due to the difference in color gamut between the input device and the display / output device. By performing color gamut mapping, the difference in color appearance between devices is absorbed. Currently, various methods have been proposed for this color gamut mapping process. For example, Non-Patent Document 1 proposes a method of performing color gamut mapping toward one point ((L, a, b) = (50, 0, 0)) on the gray axis in the CIELAB space. In addition, a method has been proposed in which region division is performed for each hue on the CIELAB space and mapping is performed in an optimal compression direction for each region. In addition, SGCK technique is recommended in TC8-03 of the International Commission on Illumination (CIE).

上述したように、その用途に応じた様々な色域マッピング手法が提案されているが、これらの手法のほとんどが、入出力色域の色域表面情報を(時には画像の色域情報も)必要としている。そのため、正確なマッピングを行うためには、マッピングの精度だけではなく、この色域表面の近似精度も高いものでなくてはならない。   As described above, various color gamut mapping methods have been proposed according to the application, but most of these methods require input / output color gamut surface information (and sometimes image gamut information). It is said. Therefore, in order to perform accurate mapping, not only the accuracy of the mapping but also the approximation accuracy of the color gamut surface must be high.

色域表面の近似方法としては、例えば、入出力機器のデバイス信号値R,G,Bをそれぞれ9スライスして作成したパッチを、該入出力機器で出力し、測色して、デバイスRGB空間上の表面情報をもとに、測色値空間上の表面情報を算出する方法がある。この手法では、スライス数を増やせば高い近似精度が得られる。しかしながら、デバイスRGB空間上での表面情報が既知でないと使用できないため、例えば、入出力機器の任意の点集合から、測色値空間上の表面情報を算出することはできない。   As an approximation method of the color gamut surface, for example, a patch created by slicing device signal values R, G, and B of an input / output device each by 9 slices is output by the input / output device, and the color is measured. There is a method for calculating the surface information in the colorimetric value space based on the surface information above. In this method, if the number of slices is increased, high approximation accuracy can be obtained. However, since it cannot be used unless the surface information on the device RGB space is known, for example, the surface information on the colorimetric value space cannot be calculated from an arbitrary set of points of the input / output device.

一方、入出力機器の任意の点集合から色域表面を算出する方法の例としては、Convex hull(凸包)を用いた手法が挙げられる。Convex hullとは、与えられた点集合を全て内部に含む最小の凸多面体のことであり、Convex hullを算出する手法としては、すでに多くの提案がなされている。これらの手法を用いることにより、任意の点集合からも色域表面を算出することができる。   On the other hand, as an example of a method for calculating a color gamut surface from an arbitrary set of points of input / output devices, there is a method using a convex hull. Convex hull is the smallest convex polyhedron that contains all of a given set of points inside, and many proposals have already been made as a method for calculating Convex hull. By using these methods, the gamut surface can be calculated from an arbitrary set of points.

E.G.Pariser,”An Investigation of Color Gamut Reduction Techniques”,IS&T Symp.Elec.Prepress Tech.−Color Printing,pp.105−107(1991)E. G. Pariser, “An Investigation of Color Gamut Reduction Techniques”, IS & T Symp. Elec. Prepress Tech. -Color Printing, pp. 105-107 (1991)

上述したように、入出力機器の任意の点集合から色域表面情報を算出する際には、Convex hullを用いた手法が良く用いられる。しかしながら、Convex hullを用いて色域表面を算出する場合、色域表面が凹の領域において、近似精度が悪化するという問題が生じる。   As described above, when calculating color gamut surface information from an arbitrary point set of input / output devices, a technique using Convex hull is often used. However, when the color gamut surface is calculated using Convex hull, there is a problem that approximation accuracy deteriorates in a region where the color gamut surface is concave.

図1に、入出力機器の本来の色域表面と、Convex hullを用いた近似による色域表面の例を示す。ただし、図1は、CIELAB空間のある色相におけるLC平面を示す。図1に示すように、実際の色域は凹だが、凸に近似された領域10において、近似した色域表面11は、本来の色域表面12と異なっていることが分かる。これは、色域表面が凹の領域においては、Convex hullを用いた手法では、正確な近似ができないことを示している。   FIG. 1 shows an example of an original color gamut surface of an input / output device and an approximate color gamut surface using Convex hull. However, FIG. 1 shows an LC plane in a certain hue in the CIELAB space. As shown in FIG. 1, the actual color gamut is concave, but in the region 10 approximated to be convex, the approximate color gamut surface 11 is different from the original color gamut surface 12. This indicates that the method using the convex hull cannot be accurately approximated in a region where the color gamut surface is concave.

色域表面の近似が正確ではなかった場合、色域マッピングの精度も悪化してしまう。図2にマッピングの精度悪化の様子を示す。図2に示すマッピング方法は、出力色域外にある入力点20を、出力色域内のある収束点23に向かって出力色域表面にマッピングする。図2に示すように、出力色域の近似精度が悪いために、実際のマッピング先21と本来マッピングすべき点22とがずれてしまい、良いマッピング結果を得ることが出来ない。   If the approximation of the gamut surface is not accurate, the accuracy of gamut mapping will also deteriorate. FIG. 2 shows how the mapping accuracy deteriorates. The mapping method shown in FIG. 2 maps an input point 20 outside the output color gamut onto the output color gamut surface toward a convergence point 23 within the output color gamut. As shown in FIG. 2, since the approximation accuracy of the output color gamut is poor, the actual mapping destination 21 and the point 22 that should be mapped are shifted, and a good mapping result cannot be obtained.

また、SGCK技法では、色域のスケーリング処理を行う。Convex Hull技法によれば、時として生成されるポリゴンが非常に巨大となる場合がある。このような巨大となったポリゴンに於いてはスケーリングにて大きな誤差が発生し、結果として色再現性が悪化する場合がある。例えば、図30の様なConvex Hull技法で得られた色域をスケーリングした場合、図39の様になる。図39は、Convex Hull技法で得られた色域をスケーリングした結果と等色相断面で理想的なスケーリング結果とを比較した模式図であり、スケーリングで大きな誤差が発生している。尚、ここで、実線で示される領域がConvex Hull技法で得られた色域のスケーリング結果から算出した等色相断面であり、点線で示した領域が実際のデバイス色域をスケーリングした際の領域である。そこで、色域写像の精度を向上し、ひいては色再現性を向上させるため、このスケーリング誤差を小さくする手段が求められている。   In the SGCK technique, a color gamut scaling process is performed. According to the Convex Hull technique, the polygons that are sometimes generated can be very large. In such a large polygon, a large error occurs in scaling, and as a result, color reproducibility may deteriorate. For example, when the color gamut obtained by the Convex Hull technique as shown in FIG. 30 is scaled, the result is as shown in FIG. FIG. 39 is a schematic diagram comparing the result of scaling the color gamut obtained by the Convex Hull technique with the ideal scaling result in the same hue section, and a large error occurs in the scaling. Here, the area indicated by the solid line is an equi-hue cross section calculated from the gamut scaling result obtained by the Convex Hull technique, and the area indicated by the dotted line is an area when the actual device gamut is scaled. is there. Therefore, in order to improve the accuracy of the color gamut mapping and thus improve the color reproducibility, means for reducing this scaling error is required.

本発明は上述した問題を解決するためになされたものであり、色空間の色域表面形状を再構築することにより、色再現処理の精度を向上させることを目的とする。   The present invention has been made to solve the above-described problems, and an object thereof is to improve the accuracy of color reproduction processing by reconstructing the color gamut surface shape of a color space.

上記目的を達成するために、本発明は以下の構成を有することを特徴とする。   In order to achieve the above object, the present invention has the following structure.

請求項1記載の発明は、色域の表面を示す多面体の幾何形状に関する色域表面情報を取得する色域表面情報取得工程と、前記多面体を構成する多角形の形状情報を取得する形状情報取得工程と、前記取得された形状情報を所定の形状情報と比較し、再構築の対象となる多角形を検出する多角形検出工程と、前記検出された多角形を複数の多角形に再構築する再構築工程とを有することを特徴とする。   The invention described in claim 1 is a color gamut surface information acquisition step for acquiring color gamut surface information relating to a geometric shape of a polyhedron indicating the surface of the color gamut, and shape information acquisition for acquiring shape information of a polygon constituting the polyhedron. A step, a polygon detection step of comparing the acquired shape information with predetermined shape information to detect a polygon to be reconstructed, and reconstructing the detected polygon into a plurality of polygons And a reconstruction process.

請求項9記載の発明は、色域の表面を示す多面体の幾何形状に関する色域表面情報を取得する色域表面情報取得工程と、前記色域表面情報を解析する解析工程と、前記解析結果に応じて色域の表面を構成する頂点を追加する頂点追加工程とを有することを特徴とする。   The invention according to claim 9 includes a color gamut surface information acquisition step for acquiring color gamut surface information relating to the geometric shape of the polyhedron indicating the surface of the color gamut, an analysis step for analyzing the color gamut surface information, and the analysis result. And a vertex adding step of adding a vertex constituting the surface of the color gamut.

本発明によれば、色域表面形状を再構築することができ、色再現処理の精度を向上させることができる。   According to the present invention, the color gamut surface shape can be reconstructed, and the accuracy of color reproduction processing can be improved.

本願請求項4記載の発明によれば、色情報取得工程で取得した色情報に基づき色域表面形状を高精度に生成することができる。   According to the fourth aspect of the present invention, the color gamut surface shape can be generated with high accuracy based on the color information acquired in the color information acquisition step.

本願請求項10記載の発明によれば、色域マッピング処理の精度を向上させることができる。   According to the invention of claim 10 of the present application, the accuracy of the color gamut mapping process can be improved.

(第一の実施例)
図3は、本実施例における色処理装置1のハードウェア構成を示すブロック図である。101は、出力デバイスの色域内の任意点集合1001を取得する任意点集合取得部である。
(First embodiment)
FIG. 3 is a block diagram illustrating a hardware configuration of the color processing apparatus 1 according to the present embodiment. Reference numeral 101 denotes an arbitrary point set acquisition unit that acquires an arbitrary point set 1001 in the color gamut of the output device.

図7に示すように、任意点集合1001は、色域の形状を十分に再現できる程度の数のデータが必要であり、一般的にパッチを測色することにより得られる。   As shown in FIG. 7, the arbitrary point set 1001 requires a number of data that can sufficiently reproduce the shape of the color gamut, and is generally obtained by measuring the color of a patch.

例えば、プリンタなどの出力デバイスでパッチを出力し、出力されたパッチを測色機で測色することにより得ることが出来る。   For example, it can be obtained by outputting a patch with an output device such as a printer and measuring the output patch with a colorimeter.

102は、前記任意点集合取得部101によって取得された出力色域の任意点集合1001から、出力色域の色域表面形状を近似し、色域表面情報1002を算出する色域表面近似部である。   Reference numeral 102 denotes a gamut surface approximation unit that approximates the gamut surface shape of the output gamut from the arbitrary point set 1001 of the output gamut acquired by the arbitrary point set acquisition unit 101 and calculates the gamut surface information 1002. is there.

図7に示すように、色域表面情報1002は、色域の表面を近似的に構成する三角形のID番号と各頂点の座標から構成されている。該三角形は、任意点集合1001をもとに、Convex hullを用いた方法で生成される。任意点集合1001に対して、Convex hullを用いた方法を適用すると、任意点集合1001のすべてを覆う凸形状の多面体が形成される。該多面体の表面は、色域を近似的に表し、三角形の集合で形成される。三角形以外の多角形の集合で近似することもできるが、処理が簡単になるため、色域の近似には三角形が良く用いられる。Convex hullを用いて表面形状を近似する方法については、これまでに様々な方法が提案されているため、本実施例では説明を省略する。   As shown in FIG. 7, the color gamut surface information 1002 is composed of the ID numbers of triangles that approximately constitute the surface of the color gamut and the coordinates of each vertex. The triangle is generated based on an arbitrary point set 1001 by a method using Convex hull. When a method using Convex hull is applied to the arbitrary point set 1001, a convex polyhedron covering all of the arbitrary point set 1001 is formed. The surface of the polyhedron approximately represents a color gamut and is formed by a set of triangles. Although it can be approximated by a set of polygons other than triangles, triangles are often used for approximation of the color gamut because the processing becomes simple. Various methods for approximating the surface shape using Convex hull have been proposed so far, and thus description thereof will be omitted in this embodiment.

色域情報保持部103には、出力色域内の任意点集合1001と、色域表面近似部102で算出された色域表面情報1002とが保持される。104は、演算途中の各データを一時保存しておくバッファメモリである。105は、前記色域表面近似部103において算出された色域表面情報1002の近似精度の判定を行う精度判定部である。106は、前記精度判定部105において判定された結果に応じて、前記色域表面データ内の低精度領域を再構築する色域表面再構築部である。107は、色域表面再構築部106により再構築された色域情報を出力する出力部である。   The gamut information holding unit 103 holds an arbitrary point set 1001 in the output gamut and the gamut surface information 1002 calculated by the gamut surface approximating unit 102. Reference numeral 104 denotes a buffer memory for temporarily storing each piece of data during the calculation. Reference numeral 105 denotes an accuracy determination unit that determines the approximation accuracy of the color gamut surface information 1002 calculated by the color gamut surface approximation unit 103. Reference numeral 106 denotes a color gamut surface reconstruction unit that reconstructs a low-accuracy region in the color gamut surface data according to the result determined by the accuracy determination unit 105. Reference numeral 107 denotes an output unit that outputs the color gamut information reconstructed by the color gamut surface reconstruction unit 106.

色処理装置1は、色域表面を示す複数の三角形の内、精度が悪い三角形を判定し、精度が悪いと判定された三角形を再構築する。   The color processing apparatus 1 determines a triangle with poor accuracy among a plurality of triangles indicating the surface of the color gamut, and reconstructs the triangle determined to have poor accuracy.

図6は、色処理装置1により実行される処理手順を示すフローチャートである。   FIG. 6 is a flowchart showing a processing procedure executed by the color processing apparatus 1.

ステップS1において、任意点集合取得部102は、色域情報保持部103に保持されている出力色域内の任意点集合を取得し、バッファメモリ104に保存する。ステップS2において、色域表面近似部102は、ステップS1において任意点集合取得部101が取得した出力色域の任意点集合をもとに、前述したconvex Hullを用いた手法で出力色域の表面形状を三角形の集合で近似する。ステップS3において、精度判定部105は、ステップS2で作成された出力色域の表面近似精度を判定する。精度判定の方法については、後述する。ステップS4において、色域表面再構築部106は、ステップS3において近似精度が悪いと判断された三角形に対し、三角形の再構築を行う。色域表面再構築部106の処理内容については後述する。ステップS5において、出力部107は、最終的に得られた出力色域の色域表面情報を出力する。   In step S <b> 1, the arbitrary point set acquisition unit 102 acquires an arbitrary point set in the output color gamut held in the color gamut information holding unit 103 and stores it in the buffer memory 104. In step S2, the color gamut surface approximating unit 102 calculates the surface of the output color gamut by a method using the above-described convex Hall based on the arbitrary point set of the output color gamut acquired by the arbitrary point set acquiring unit 101 in step S1. Approximate the shape with a set of triangles. In step S3, the accuracy determination unit 105 determines the surface approximation accuracy of the output color gamut created in step S2. The accuracy determination method will be described later. In step S4, the color gamut surface reconstruction unit 106 reconstructs a triangle for the triangle determined to have poor approximation accuracy in step S3. The processing content of the color gamut surface reconstruction unit 106 will be described later. In step S5, the output unit 107 outputs the gamut surface information of the finally obtained output gamut.

本実施例では、出力色域を多面体で表している。ステップS3における精度判定は、多面体を構成する三角形ごとに行う。例えば、図1のLC平面図に示されているように、実際の色域は凹だが凸に近似された領域10がある。領域10は、図から分かるように、一つの三角形で近似される。本来は複数の三角形で近似される凹である領域が、一つの三角形で凸に近似されるため、領域10を近似する三角形は、図8の601のように大きくなる。従って、本実施例では、しきい値Kよりも面積が大きい三角形は、本来の色域表面が凹である領域が凸に近似されているとして、精度が悪いと判定する。三角形の面積をしきい値と比較するだけなので、簡単な処理で精度判定を行うことが出来る。   In this embodiment, the output color gamut is represented by a polyhedron. The accuracy determination in step S3 is performed for each triangle constituting the polyhedron. For example, as shown in the LC plan view of FIG. 1, there is a region 10 in which the actual color gamut is concave but approximated to be convex. As can be seen from the figure, the region 10 is approximated by a single triangle. Since a concave region that is originally approximated by a plurality of triangles is approximated as a convex shape by a single triangle, the triangle that approximates the region 10 becomes larger as indicated by 601 in FIG. Therefore, in the present embodiment, a triangle having an area larger than the threshold value K is determined to have poor accuracy, assuming that the area where the original color gamut surface is concave is approximated to be convex. Since only the area of the triangle is compared with the threshold value, the accuracy can be determined by simple processing.

図9に、ステップS3の具体的な処理の流れの例を示す。   FIG. 9 shows an example of a specific processing flow of step S3.

ステップS31において、精度判定部105は、しきい値Kを設定する。しきい値Kは、色域表面上の三角形の面積に対応し、精度判定を行う際に用いられる。Kの値は経験的に決定されるものである。また、しきい値Kは、あらかじめ精度判定部105に保持しておいても良いし、外部から取得しても良い。   In step S31, the accuracy determination unit 105 sets a threshold value K. The threshold value K corresponds to the area of a triangle on the surface of the color gamut and is used when accuracy is determined. The value of K is determined empirically. The threshold value K may be held in advance in the accuracy determination unit 105 or may be acquired from the outside.

ステップS32において、精度判定部105は、カウントiに1を代入する。カウントiは、精度判定を三角形の数だけ行うためのカウンタである。   In step S32, the accuracy determination unit 105 substitutes 1 for the count i. The count i is a counter for performing accuracy determination by the number of triangles.

ステップS33において、精度判定部105は、精度フラグFに0を代入する。精度フラグFは、出力色域表面の近似精度が許容できるか否かを判定するためのフラグである。ID番号iの三角形パッチに精度フラグFが対応している。本実施例では、Fが0の場合はID番号iの三角形パッチの精度が許容でき、1の場合は許容できない、とする。 In step S33, the accuracy determination unit 105 substitutes 0 for the accuracy flag F i . The accuracy flag F i is a flag for determining whether or not the approximate accuracy of the output color gamut surface is acceptable. The accuracy flag F i corresponds to the triangular patch with ID number i. In this embodiment, it is assumed that the accuracy of the triangular patch with ID number i is acceptable when Fi is 0, and not acceptable when Fi is 1.

ステップS34において、精度判定部105は、ステップS24において色域表面近似部102によってバッファメモリ107に格納された色域表面情報1002の内、ID番号iの三角形の情報を取得する。   In step S <b> 34, the accuracy determination unit 105 acquires triangle information with ID number i from the color gamut surface information 1002 stored in the buffer memory 107 by the color gamut surface approximation unit 102 in step S <b> 24.

ステップS35において、精度判定部105は、ステップS34において取得したID番号iの三角形の面積を算出する。三角形の面積は、三角形の各頂点の座標から算出する。   In step S35, the accuracy determination unit 105 calculates the area of the triangle with the ID number i acquired in step S34. The area of the triangle is calculated from the coordinates of each vertex of the triangle.

ステップS36において、精度判定部105は、ステップS31で設定したしきい値KとステップS35で算出したID番号iの三角形の面積Aを比較する。A<Kであった場合には、ステップS38に進む。A≧Kであった場合には、ステップS37に進む。 In step S36, the accuracy determination unit 105 compares the threshold value K set in step S31 with the area A i of the triangle of ID number i calculated in step S35. If A i <K, the process proceeds to step S38. If A i ≧ K, the process proceeds to step S37.

ステップS37では、三角形の面積Aが所定のしきい値Kよりも大きいので、近似の精度が悪いと判断し、精度フラグFに1を代入し、ステップS38に進む。 In step S37, since the area A i of the triangle is larger than the predetermined threshold value K, it is determined that the approximation accuracy is poor, 1 is substituted into the accuracy flag F i , and the process proceeds to step S38.

ステップS38において、精度判定部105は、ID番号iが全三角形の数Nと一致するか否かを判定する。i<Nの場合は、ステップS39に進む。i=Nの場合は、処理を終了する。   In step S38, the accuracy determination unit 105 determines whether or not the ID number i matches the number N of all triangles. If i <N, the process proceeds to step S39. If i = N, the process ends.

ステップS39において、精度判定部105は、カウントiをインクリメントし、ステップS33に戻る。   In step S39, the accuracy determination unit 105 increments the count i and returns to step S33.

次に、精度が悪いと判定された三角形を再構築する具体的な方法について述べる。   Next, a specific method for reconstructing a triangle determined to be inaccurate will be described.

図10に、ステップS4における色域表面再構築部106の具体的な処理の流れの例を示す。   FIG. 10 shows an example of a specific processing flow of the color gamut surface reconstruction unit 106 in step S4.

ステップS41において、色域表面再構築部106は、カウントiに1を代入する。カウントiは、再構築するか否かの判定を三角形の数だけ行うためのカウンタである。   In step S41, the color gamut surface reconstruction unit 106 substitutes 1 for the count i. The count i is a counter for determining whether or not reconstruction is performed by the number of triangles.

ステップS42において、色域表面再構築部106は、ステップS3において設定された精度フラグFの値を参照する。F=0の場合は、近似精度が良いと判断された三角形なので、再構築処理を終了する。F=1の場合は、ステップS43に進む。 In step S42, the gamut surface reconstruction unit 106 refers to the values of the set accuracy flag F i in step S3. In the case of F i = 0, since the triangle is determined to have good approximation accuracy, the reconstruction process ends. If F i = 1, the process proceeds to step S43.

ステップS43において、色域表面再構築部106は、バッファメモリ104から、ステップS3において精度が悪いと判定された三角形のID情報を取得する。ステップS44において、色域表面再構築部106は、色域表面の再構築範囲を定義する。再構築範囲とは、三角形の再構築の際に用いる色域内部のデータを選別するための範囲である。   In step S <b> 43, the color gamut surface reconstruction unit 106 acquires, from the buffer memory 104, the triangle ID information determined to have poor accuracy in step S <b> 3. In step S44, the color gamut surface reconstruction unit 106 defines a reconstruction range of the color gamut surface. The reconstruction range is a range for selecting data in the color gamut used for reconstruction of a triangle.

例えば、図11のように、精度が悪いと判定された三角形1101の面に垂直な直線を、三角形の各頂点から色域内部の方向に延ばし、得られた三角柱領域を再構築範囲1102とする。   For example, as shown in FIG. 11, a straight line perpendicular to the surface of the triangle 1101 determined to be inaccurate is extended from each vertex of the triangle in the direction of the color gamut, and the obtained triangular prism region is used as the reconstruction range 1102. .

ステップS45において、色域表面再構築部106は、色域情報保持部103に格納されている出力色域内の任意点集合1001と、色域表面情報1002とを取得する。   In step S <b> 45, the gamut surface reconstruction unit 106 acquires an arbitrary point set 1001 in the output gamut stored in the gamut information holding unit 103 and the gamut surface information 1002.

ステップS46において、色域表面再構築部106は、ステップS45において取得した出力色域内の任意点集合1001から色域表面1201上の点1203を除いた点集合1204を抽出する。抽出された点集合1204は、図12のLC平面に示す第二の色域表面1202内の点である。図12に示す第二の色域表面1202は、点集合を抽出した後、色域表面再構築部106により、Convex Hullを用いて抽出された点集合1204から算出される。   In step S46, the color gamut surface reconstruction unit 106 extracts a point set 1204 obtained by removing the point 1203 on the color gamut surface 1201 from the arbitrary point set 1001 in the output color gamut acquired in step S45. The extracted point set 1204 is a point in the second color gamut surface 1202 shown in the LC plane of FIG. The second color gamut surface 1202 shown in FIG. 12 is calculated from the point set 1204 extracted by using the Convex Hull by the color gamut surface reconstruction unit 106 after extracting the point set.

ステップS47において、色域表面再構築部106は、ステップS46において算出した第二の色域表面を構成する点の内、ステップS44において定義された再構築範囲1102に含まれる点を再構築点1302として取得する。再構築点1302は、近似精度が悪いと判定された三角形1101を複数の三角形に再構築する際に用いられる。色域表面1201と、第二の色域表面1202と、再構築範囲1102と、再構築点1302との関係を図13に示す。図13に示すように、再構築範囲1101に含まれる第二の色域表面1202上の点が、再構築点1302となる。   In step S47, the color gamut surface reconstruction unit 106 reconstructs points included in the reconstruction range 1102 defined in step S44 among the points constituting the second color gamut surface calculated in step S46. Get as. The reconstruction point 1302 is used when the triangle 1101 determined to have poor approximation accuracy is reconstructed into a plurality of triangles. The relationship among the color gamut surface 1201, the second color gamut surface 1202, the reconstruction range 1102, and the reconstruction point 1302 is shown in FIG. As shown in FIG. 13, a point on the second color gamut surface 1202 included in the reconstruction range 1101 becomes a reconstruction point 1302.

ステップS48において、色域表面再構築部106は、色域表面データと、ステップS47において取得された再構築点1302とを用いて、該色域表面を再構築する。再構築を行うのは、対象となっている三角形1101のみであり、三角形1101の各頂点1301と、ステップS47で取得した再構築点を結び、新たな複数の三角形を構築する。三角形が再構築された後の色域表面は、図14の1401のようになる。再構築された新しい三角形は、元の三角形を構成する頂点1301と再構築点1302から成り、図15に示すような三角形になる。図15は、再構築された新しい三角形を図14の矢印1402の方向から見た図であり、1402方向に凹になるように構築されている。誤差が大きいと判定された凸平面が凹平面に変換されるため、本来の色域表面に近くなり、近似精度が良好になる。   In step S48, the color gamut surface reconstruction unit 106 reconstructs the color gamut surface using the color gamut surface data and the reconstruction point 1302 acquired in step S47. Only the target triangle 1101 is reconstructed, and each vertex 1301 of the triangle 1101 is connected to the reconstruction point acquired in step S47 to construct a plurality of new triangles. The gamut surface after the triangle is reconstructed is as shown by 1401 in FIG. The reconstructed new triangle is composed of a vertex 1301 and a reconstructed point 1302 constituting the original triangle, and becomes a triangle as shown in FIG. FIG. 15 is a view of the reconstructed new triangle as viewed from the direction of the arrow 1402 in FIG. 14 and is constructed so as to be concave in the 1402 direction. Since the convex plane determined to have a large error is converted into a concave plane, it becomes close to the original color gamut surface and the approximation accuracy is good.

本実施例を用いて、色域を示す多面体を再構築すれば、ガマットマッピングや、色域を擬似三次元表示させる際などに近似精度が良い多面体を提供することが出来る。   If a polyhedron showing a color gamut is reconstructed using this embodiment, a polyhedron with good approximation accuracy can be provided when gamut mapping or displaying a color gamut in a pseudo three-dimensional manner.

(第二の実施例)
図4は、本実施例における色処理装置2のハードウェア構成を示すブロック図である。その構成は、実施例1における色処理装置1の構成とほぼ同じである。従って、色処理装置1と同様の構成である101から107までの説明は割愛する。
(Second embodiment)
FIG. 4 is a block diagram illustrating a hardware configuration of the color processing apparatus 2 in the present embodiment. The configuration is almost the same as the configuration of the color processing apparatus 1 in the first embodiment. Therefore, description of 101 to 107 having the same configuration as that of the color processing apparatus 1 is omitted.

208は、本実施例で用いる入力画像データを出力色域内に写像するガマットマッピング部である。211は、本実施例で用いられる画像データと色域表面情報1002を入力する入力部である。   Reference numeral 208 denotes a gamut mapping unit that maps input image data used in this embodiment into an output color gamut. Reference numeral 211 denotes an input unit for inputting image data and color gamut surface information 1002 used in this embodiment.

本実施例では、ガマットマッピングを行う際に、ガマットマッピングに用いる三角形を再構築するか否か判定し、再構築すると判定した場合、ガマットマッピングに用いる三角形を再構築する。   In this embodiment, when performing gamut mapping, it is determined whether or not to reconstruct a triangle used for gamut mapping. If it is determined to reconstruct, a triangle used for gamut mapping is reconstructed.

以下に、図16を用いて、具体的な処理フローを示す。   The specific processing flow is shown below using FIG.

ステップS61において、入力部211は、ガマットマッピングする対象であるカラー画像データを読み込み、バッファメモリ104に保存する。ステップS62において、入力部211は、色域表面情報1002を取得し、色域情報保持部103に保持する。ステップS63において、ガマットマッピング部208は、バッファメモリ104からカラー画像データ中の画素と色域情報保持部103から色域表面情報とを取得して、ガマットマッピングに用いる三角形1903を抽出する。本実施例では、出力色域内の点1803から入力点1801へ引いた半直線と交わる出力色域を示す三角形を、ガマットマッピングに用いる三角形とする。   In step S <b> 61, the input unit 211 reads color image data to be gamut mapped and stores it in the buffer memory 104. In step S <b> 62, the input unit 211 acquires the color gamut surface information 1002 and holds it in the color gamut information holding unit 103. In step S63, the gamut mapping unit 208 acquires the pixels in the color image data from the buffer memory 104 and the color gamut surface information from the color gamut information holding unit 103, and extracts a triangle 1903 used for gamut mapping. In this embodiment, a triangle indicating an output color gamut that intersects a half line drawn from a point 1803 in the output color gamut to the input point 1801 is a triangle used for gamut mapping.

S64において、精度判定部105は、ガマットマッピングに用いる三角形の精度を判定し、ガマットマッピングの精度を判定する。本実施例では、ガマットマッピングに用いる三角形の近似精度を判定し、三角形の近似精度が悪い場合、ガマットマッピングの精度も悪くなると判定する。ガマットマッピングに用いられる三角形の近似精度の判定方法は、第一の実施例と同様の方法である。S64では、マッピングの精度が悪くなると判定された場合、ガマットマッピングを行わず、三角形を再構築するため、S65へ進む。S65では,色域表面再構築部106が、マッピングの精度が悪くなると判定された三角形を再構築する。三角形の再構築方法は、第一の実施例と同様の方法である。   In S64, the accuracy determination unit 105 determines the accuracy of the triangle used for the gamut mapping, and determines the accuracy of the gamut mapping. In this embodiment, the approximation accuracy of a triangle used for gamut mapping is determined, and if the approximation accuracy of a triangle is poor, it is determined that the accuracy of gamut mapping also deteriorates. The method for determining the approximation accuracy of the triangle used for gamut mapping is the same method as in the first embodiment. In S64, if it is determined that the mapping accuracy is deteriorated, the process proceeds to S65 in order to reconstruct the triangle without performing gamut mapping. In S65, the color gamut surface reconstruction unit 106 reconstructs the triangle determined to have poor mapping accuracy. The triangle reconstruction method is the same method as in the first embodiment.

S64でマッピングの精度は悪くないと判定された場合、S66で、ガマットマッピング部208は、入力画素を示す点をガマットマッピングする。ガマットマッピングの具体的な処理は、後述する。   If it is determined in S64 that the mapping accuracy is not bad, in S66, the gamut mapping unit 208 performs gamut mapping on the point indicating the input pixel. Specific processing of gamut mapping will be described later.

S66におけるガマットマッピング後、S67へ進み、入力画像に含まれるすべての画素について、ガマットマッピングを行ったか否かを判定する。S65での再構築後、もしくはS67で、入力画像のすべての画素についてガマットマッピングを行っていないと判定された場合、再びS63に戻り、ガマットマッピングに用いる三角形を抽出する。すべての画素について、ガマットマッピングを行った場合、S68でガマットマッピングされた画像データを出力部107に出力する。以上が、本実施例における処理フローである。   After gamut mapping in S66, the process proceeds to S67 to determine whether or not gamut mapping has been performed for all pixels included in the input image. After the reconstruction in S65 or when it is determined in S67 that gamut mapping has not been performed for all pixels of the input image, the process returns to S63 again to extract triangles used for gamut mapping. When gamut mapping has been performed for all pixels, the image data that has been gamut mapped in S68 is output to the output unit 107. The above is the processing flow in the present embodiment.

次に、ガマットマッピング部208がガマットマッピングに用いる三角形を抽出する方法を述べる。   Next, a method for extracting triangles used by the gamut mapping unit 208 for gamut mapping will be described.

本実施例の出力色域は、先に説明したように、Convex hullによって得られた三角形の集合体から成っている。そこで、図22に示す処理を用いて、三角形を抽出する。   As described above, the output color gamut of this embodiment is composed of a collection of triangles obtained by Convex hull. Therefore, triangles are extracted using the processing shown in FIG.

ステップS81では、出力色域内と容易にわかる点、例えば、(L,a,b)=(50,0,0)の点を定義する。ステップS82では、色域表面情報1002から三角形を1つ取り出し、該三角形を構成する3頂点で定義される平面の方程式を算出する。ステップS83では、ステップS81で定義した出力色域内点1803(50,0,0)と入力画素を示す点1801とを結ぶ直線の方程式を算出する。ステップS84において、ステップS82において算出した平面の方程式と、ステップS83において算出した直線の方程式とから、平面と直線の交点を算出する。ステップS85において、ステップS84で算出した交点が、三角形の中に入っているか否かを判定する。図18に三角形の内外判定の例を示す。図18に示すように、三角形の各頂点をそれぞれA、B、C、とし、ステップS84において算出された三角形と直線の交点をPとすると、各点は、以下の式(3)のように表すことができる。   In step S81, a point that is easily recognized as being within the output color gamut, for example, a point of (L, a, b) = (50, 0, 0) is defined. In step S82, one triangle is extracted from the color gamut surface information 1002, and a plane equation defined by three vertices constituting the triangle is calculated. In step S83, an equation of a straight line connecting the output color gamut in-point 1803 (50, 0, 0) defined in step S81 and the point 1801 indicating the input pixel is calculated. In step S84, the intersection of the plane and the straight line is calculated from the plane equation calculated in step S82 and the straight line equation calculated in step S83. In step S85, it is determined whether or not the intersection calculated in step S84 is in a triangle. FIG. 18 shows an example of triangle inside / outside determination. As shown in FIG. 18, assuming that the vertices of the triangle are A, B, and C, respectively, and the intersection of the triangle and the straight line calculated in step S84 is P, each point is expressed by the following equation (3). Can be represented.

Figure 2006203526
Figure 2006203526

この時、点Pが三角形ABCの中であれば、以下の式(4)、式(5)が成り立つ。   At this time, if the point P is in the triangle ABC, the following equations (4) and (5) hold.

Figure 2006203526
Figure 2006203526

Figure 2006203526
Figure 2006203526

式(4)、式(5)が成り立てば、交点が三角形の中にあると判定する。交点が中にある三角形は、入力点の内外判定に用いる三角形であり、図16のフローで、ガマットマッピングに用いる三角形として再構築するか否かを判定する対象となる。式(4)、式(5)が成り立たなければ、交点が三角形の外にあると判定し、ステップS86に進む。   If Expressions (4) and (5) hold, it is determined that the intersection is in the triangle. The triangle with the intersection point in it is a triangle used for determining the inside / outside of the input point, and is a target for determining whether or not to reconstruct as a triangle used for gamut mapping in the flow of FIG. If Expression (4) and Expression (5) do not hold, it is determined that the intersection is outside the triangle, and the process proceeds to Step S86.

ステップS86では、直線と三角形が交点を持たない場合に、出力色域表面データの三角形のID番号を更新して、ステップS82に戻る。   In step S86, if the straight line and the triangle do not have an intersection, the triangle ID number of the output color gamut surface data is updated, and the process returns to step S82.

本実施例において、入力点が色域内か否かを判定する方法を示す。図19に入力点1801、交点1802、色域内点1803の関係を示す。図19に示すように、入力点1801、交点1802、色域内点1803の位置関係は(a)、(b)の2通り考えられる。入力点1801をQ、交点1802をP、色域内点1803をRとすると、両者の判別方法は、例えば、以下に示す式(6)におけるvが0≦v≦1であるか否かで判別可能である。   In this embodiment, a method for determining whether or not an input point is in the color gamut will be described. FIG. 19 shows the relationship between the input point 1801, the intersection point 1802, and the in-gamut point 1803. As shown in FIG. 19, there are two possible positional relationships of the input point 1801, the intersection point 1802, and the color gamut point 1803 (a) and (b). Assuming that the input point 1801 is Q, the intersection point 1802 is P, and the in-gamut point 1803 is R, the determination method of both is, for example, whether v in Expression (6) below is 0 ≦ v ≦ 1. Is possible.

Figure 2006203526
Figure 2006203526

0≦v≦1である場合は、入力点1801から色域内点1803までの距離が、交点1802から色域内点1803までの距離以下である。従って、入力点1801は出力色域内(図19の(b)の状態)と判定する。   When 0 ≦ v ≦ 1, the distance from the input point 1801 to the color gamut internal point 1803 is equal to or less than the distance from the intersection 1802 to the color gamut internal point 1803. Therefore, the input point 1801 is determined to be within the output color gamut (the state shown in FIG. 19B).

一方、0≦v≦1でない場合には、入力点1801から色域内点1803までの距離が、交点1802から色域内点1803までの距離よりも大きい。従って、入力点1801は出力色域外(図19の(a)の状態)であると判定する。   On the other hand, when 0 ≦ v ≦ 1, the distance from the input point 1801 to the color gamut internal point 1803 is larger than the distance from the intersection 1802 to the color gamut internal point 1803. Accordingly, it is determined that the input point 1801 is out of the output color gamut (the state shown in FIG. 19A).

以上が、本実施例における色域内外判定の方法である。   The above is the color gamut inside / outside determination method in this embodiment.

次に、本実施例におけるガマットマッピング処理について説明する。   Next, the gamut mapping process in the present embodiment will be described.

ステップS66におけるガマットマッピングは、図20に示すように行う。例えば、入力画素を示す入力点1801が出力色域外である場合、入力画素をマッピング後データとして、設定する。   The gamut mapping in step S66 is performed as shown in FIG. For example, when the input point 1801 indicating the input pixel is outside the output color gamut, the input pixel is set as post-mapping data.

また、入力画素を示す入力点1801が出力色域外である場合、入力点1801と出力色域内の点1803とを結ぶ直線を定義し、該直線と交わる出力色域表面上の三角形との交点にマッピングする。すなわち、マッピング後データとして、該交点の座標を設定する。   When the input point 1801 indicating the input pixel is outside the output color gamut, a straight line connecting the input point 1801 and the point 1803 in the output color gamut is defined, and the intersection with the triangle on the surface of the output color gamut that intersects the straight line Map. That is, the coordinates of the intersection are set as post-mapping data.

以下に、図17のフローを用いて、図20に示すガマットマッピングを実現するための具体的な処理の流れを示す。   The specific process flow for realizing the gamut mapping shown in FIG. 20 will be described below using the flow shown in FIG.

ステップS71において、ガマットマッピング部208は、バッファメモリ104に保持されている入力画像の画素値(R,G,B値)を取得する。ステップS72において、ガマットマッピング部208は、色域情報保持部103から、色域表面情報1002を取得する。   In step S <b> 71, the gamut mapping unit 208 acquires pixel values (R, G, B values) of the input image held in the buffer memory 104. In step S <b> 72, the gamut mapping unit 208 acquires the color gamut surface information 1002 from the color gamut information holding unit 103.

ステップS73において、ガマットマッピング部208は、ステップS71で取得した入力画素(R,G,B値)をデバイス非依存のCIELAB値に変換する。本実施例では、入力画像を表現している色空間をsRGB(IEC61966−2−1)として以後の処理を説明する。入力画素のRGB値をR,G,Bとすると、まず、以下の式(1)を用いて、CIE三刺激値XYZに変換する。 In step S73, the gamut mapping unit 208 converts the input pixels (R, G, B values) acquired in step S71 into device-independent CIELAB values. In the present embodiment, the subsequent processing will be described assuming that the color space expressing the input image is sRGB (IEC 61966-2-1). If the RGB values of the input pixels are R i , G i , and B i , first, the CIE tristimulus values XYZ are converted using the following equation (1).

Figure 2006203526
Figure 2006203526

その後、白色点をD65としてCIELABに変換する。変換式を式(2)に示す。 Then, to convert the white point in the CIELAB as D 65. The conversion formula is shown in Formula (2).

Figure 2006203526
Figure 2006203526

以下、CIELABに変換された入力画素を(L,a,b)とする。本実施例では、入力画像がIEC61966−2−1で規定されるsRGB色空間で表現されている場合を例にあげて説明したため、式(1)及び式(2)に示す変換式を用いた。しかし、画像を表現する色空間がsRGB色空間ではなく、AdobeRGB色空間などの他の色空間であってもよい。他の色空間であった場合は、式(1)は、該色空間に対応するものとなる。また、CIELABへ変換する際の白色点も該色空間に対応した白色点を用いる。 Hereinafter, the input pixel converted into CIELAB is assumed to be (L i , a i , b i ). In the present embodiment, the case where the input image is expressed in the sRGB color space defined by IEC 61966-2-1 has been described as an example, so the conversion expressions shown in Expression (1) and Expression (2) are used. . However, the color space expressing the image may be other color spaces such as the AdobeRGB color space instead of the sRGB color space. In the case of another color space, Equation (1) corresponds to the color space. In addition, a white point corresponding to the color space is used as a white point when converting to CIELAB.

ステップS74において、ガマットマッピング部208は、ガマットマッピングに用いる三角形を用いて、入力画素が出力色域内にあるか否かを判定する。ガマットマッピングに用いる三角形がS65のステップで再構築されている場合、前述した三角形を抽出する方法を用いて、新たにガマットマッピングに用いる三角形を抽出し、入力画素が出力色域内にあるか否かを判定する。   In step S74, the gamut mapping unit 208 determines whether or not the input pixel is in the output color gamut using the triangle used for gamut mapping. If the triangle used for gamut mapping has been reconstructed in step S65, the triangle used for gamut mapping is newly extracted using the above-described method for extracting the triangle, and whether or not the input pixel is within the output color gamut. Determine.

入力画素が色域内にあると判定された場合には、マッピング後データに入力画素の値を代入し、ステップS76へ進む。   If it is determined that the input pixel is in the color gamut, the value of the input pixel is substituted into the post-mapping data, and the process proceeds to step S76.

入力画素が色域外と判定された場合には、ステップS75に進む。ステップS75では、マッピング後データは、入力点1801と色域内点1803を結ぶ直線とガマットマッピングに用いる三角形との交点になる。交点の算出法については、色域内外判定法の説明の際に述べたため、ここでは省略する。   If it is determined that the input pixel is out of the color gamut, the process proceeds to step S75. In step S75, the post-mapping data is an intersection of a line connecting the input point 1801 and the in-gamut point 1803 and a triangle used for gamut mapping. Since the method for calculating the intersection point was described in the description of the color gamut inside / outside determination method, it is omitted here.

ステップS76において、ガマットマッピング部208は、マッピング後データ1901に対応する出力デバイス値、例えばRGB値を算出する。デバイス値の算出は、例えば、デバイス値とCIELAB値との関係を表すLUT、変換マトリクス等を用いて変換する。LUTの場合は、四面体補間等の既知の技術を用いて変換する。   In step S76, the gamut mapping unit 208 calculates an output device value corresponding to the post-mapping data 1901, for example, an RGB value. The device value is calculated using, for example, an LUT that represents the relationship between the device value and the CIELAB value, a conversion matrix, or the like. In the case of LUT, conversion is performed using a known technique such as tetrahedral interpolation.

以上が、本実施例におけるガマットマッピングの具体的な処理の流れである。   The above is the specific processing flow of gamut mapping in the present embodiment.

本実施例では、ガマットマッピングに用いる三角形を再構築するか否かの対象とした。ガマットマッピングに用いる三角形は、色域内外判定に用いられる。また、色域外の入力点を、ガマットマッピングする際、マッピング後の点は、ガマットマッピングに用いる三角形面上の点になる。図2に示したように、実際の色域は凹だが凸に近似された領域10が、マッピングに用いる三角形である場合、マッピング先は21になる。しかし、実際のマッピング先21が示す色は、出力色域外であるため、出力デバイスで出力することは出来ない。   In this embodiment, the object used to determine whether or not to reconstruct the triangle used for gamut mapping. Triangles used for gamut mapping are used for color gamut inside / outside determination. Further, when gamut mapping is performed on an input point outside the color gamut, the point after mapping becomes a point on a triangular plane used for gamut mapping. As shown in FIG. 2, when the actual color gamut is concave but the area 10 approximated to be convex is a triangle used for mapping, the mapping destination is 21. However, since the color indicated by the actual mapping destination 21 is outside the output color gamut, it cannot be output by the output device.

また、内外判定に用いられる点24が、本来の色域表面と近似した色域表面との間に位置している場合、本来は色域外であるはずが、色域内と判定されてしまうことがある。   In addition, when the point 24 used for the inside / outside determination is located between the original color gamut surface and the approximate color gamut surface, it may be determined that it is outside the color gamut but is within the color gamut. is there.

従って、本実施例のガマットマッピングに用いる三角形を再構築する方法を用いることにより、上記問題を防止し、より良好なガマットマッピングを行うことが出来る。   Therefore, by using the method of reconstructing the triangle used for the gamut mapping of this embodiment, the above problem can be prevented and better gamut mapping can be performed.

(第三の実施例)
図3は、本実施例における色処理装置3のハードウェア構成を示すブロック図である。その構成は、実施例1における色処理装置1の構成とほぼ同じである。従って、色処理装置1と同様の構成である101から107までの説明は割愛する。309は、色域を示す多面体を、モニタなどの表示装置に擬似三次元表示させる多面体表示部である。310は、ユーザーからの指示を取得する指示取得部である。
(Third embodiment)
FIG. 3 is a block diagram illustrating a hardware configuration of the color processing apparatus 3 in the present embodiment. The configuration is almost the same as the configuration of the color processing apparatus 1 in the first embodiment. Therefore, description of 101 to 107 having the same configuration as that of the color processing apparatus 1 is omitted. Reference numeral 309 denotes a polyhedron display unit that displays a polyhedron indicating a color gamut on a display device such as a monitor in a pseudo three-dimensional manner. An instruction acquisition unit 310 acquires an instruction from the user.

第一の実施例及び、第二の実施例では、面積が大きい三角形を近似精度が悪いと判定した。しかし、本実施例では、ユーザーの指示に従い、精度が悪いと判定された三角形を再構築する処理する。図21を用いて、以下に処理フローを示す。   In the first embodiment and the second embodiment, a triangle having a large area is determined to have poor approximation accuracy. However, in the present embodiment, a process of reconstructing a triangle determined to be inaccurate according to a user instruction. The processing flow is shown below using FIG.

S51では、色域保持部103から、色域表面情報1002を取得する。   In S <b> 51, the color gamut surface information 1002 is acquired from the color gamut holding unit 103.

S52では、取得された色域表面情報1002に基づき、多面体表示部309は色域を示す多面体を擬似三次元表示させる。多面体は、図8のようにモニタなどの表示装置に表示される。   In S52, based on the acquired color gamut surface information 1002, the polyhedron display unit 309 displays the polyhedron indicating the color gamut in a pseudo three-dimensional display. The polyhedron is displayed on a display device such as a monitor as shown in FIG.

S53では、ユーザーの指示を指示取得部310から取得し、再構築する三角形を選択する。この際、多面体は、擬似三次元表示されているため、ユーザーは、マウスなどのポインティングデバイスを用いて、簡単に再構築する三角形を選択することが出来る。また、ユーザーが選択しやすいように、各三角形の面積を多面体と共に表示させてもよい。   In S53, a user instruction is acquired from the instruction acquisition unit 310, and a triangle to be reconstructed is selected. At this time, since the polyhedron is displayed in a pseudo three-dimensional manner, the user can easily select a triangle to be reconstructed using a pointing device such as a mouse. Further, the area of each triangle may be displayed together with the polyhedron so that the user can easily select it.

S54において、色域表面再構築部106は、選択された三角形を複数の三角形に再構築する。三角形の再構築の方法は、実施例1で述べた方法と同様であるため、説明を省く。S55では、ユーザーの指示に基づき、再構築する三角形が他にあるかどうかを判定する。再構築する三角形が他にある場合は、S52に戻り、再び多面体を表示させる。再構築する三角形が他にない場合は、S56へ進み、色域表面情報を出力し、処理を終了する。本実施例では、ユーザーの指示に基づき、再構築する対象となる三角形を指定した。従って、良好な近似精度が要求されない領域を構成する三角形については再構築を行わないなど、よりユーザーの要望を反映させた処理が可能になる。   In S54, the color gamut surface reconstruction unit 106 reconstructs the selected triangle into a plurality of triangles. Since the method for reconstructing the triangle is the same as the method described in the first embodiment, the description thereof is omitted. In S55, it is determined whether there is another triangle to be reconstructed based on a user instruction. If there are other triangles to be reconstructed, the process returns to S52 to display the polyhedron again. If there is no other triangle to be reconstructed, the process proceeds to S56, where the color gamut surface information is output, and the process ends. In the present embodiment, a triangle to be reconstructed is designated based on a user instruction. Therefore, it is possible to perform processing that reflects the user's demands, such as not reconstructing triangles that constitute areas where good approximation accuracy is not required.

(第四の実施例)
なお、第二の実施例においては、入力画像をsRGB(IEC61966−2−1)で表現されていると仮定して処理の説明をしたが、本実施例における色処理装置への入力は特にsRGBに限ったものではなく、AdobeRGBのような他の色空間であってもよい。
(Fourth embodiment)
In the second embodiment, the processing has been described on the assumption that the input image is expressed in sRGB (IEC 61966-2-1). However, the input to the color processing apparatus in this embodiment is particularly sRGB. The color space is not limited to this, and may be another color space such as AdobeRGB.

また、上記第一〜第三の実施例では、色域情報を色域情報保持部においてあらかじめ保持しておいたが、これに限らず、例えば、入力部を介し、外部から読み込むようにしても良いし、色域情報保持部にあらかじめ複数の色域情報を保持させておいて、外部からの入力に対応した色域情報を選択してもよい。   In the first to third embodiments, the color gamut information is held in advance in the color gamut information holding unit. However, the present invention is not limited to this. For example, the color gamut information may be read from the outside via the input unit. Alternatively, a plurality of pieces of color gamut information may be held in advance in the color gamut information holding unit, and color gamut information corresponding to input from the outside may be selected.

また、第二の実施例におけるガマットマッピング部208では、出力色域内の色を完全に保存し、出力色域外の色は、その色を示す点と色域内のある点を結ぶ直線と、出力色域表面との交点の色に変換する手法を説明したが、例えば、出力色域外の色と等明度で出力色域表面上の色に変換するようにしても良い。また、色相を変えずにCIELAB空間内のユークリッド距離(色差ΔE)が最小になるような色に変換しても良い。また、出力色域内の色を完全に保存する必要もなく、出力色域内、色域外とも好ましい色にマッピングするようにしても良いことは言うまでもない。   In the gamut mapping unit 208 in the second embodiment, the colors in the output color gamut are completely stored, and the colors outside the output color gamut include a line connecting the point indicating the color and a certain point in the color gamut, and the output color. Although the method of converting to the color of the intersection with the gamut surface has been described, for example, it may be converted to the color on the output gamut surface with the same lightness as the color outside the output gamut. Further, it may be converted into a color that minimizes the Euclidean distance (color difference ΔE) in the CIELAB space without changing the hue. Needless to say, it is not necessary to completely store colors in the output color gamut, and it may be mapped to preferable colors both inside and outside the output color gamut.

また、第二の実施例においては、マッピングする際の空間にCIELAB空間を用いたが、これは、例えばCIELUV空間やXYZ空間でも良いし、CIECAM97、CIECAM97s、CIECAM02のようなカラーアピアランス空間を用いてもかまわない。   In the second embodiment, the CIELAB space is used as a mapping space. However, this may be a CIEUV space or an XYZ space, or a color appearance space such as CIECAM97, CIECAM97s, or CIECAM02. It doesn't matter.

また、上記実施例では、三角形の形状情報として、三角形の面積を用いて、色域表面の精度を判定した。しかし、例えば、三角形の各辺の長さの和で判定しても良いし、さらに言えば、色域表面の近似精度を判定できる方法であればどのような方法であってもかまわない。   Moreover, in the said Example, the accuracy of the color gamut surface was determined using the area of a triangle as triangle shape information. However, for example, the determination may be made based on the sum of the lengths of the sides of the triangle, or more specifically, any method can be used as long as it can determine the approximate accuracy of the color gamut surface.

また、上記実施例における色域表面再構築部では、再構築範囲として、三角形を含む三角柱領域を定義したが、再構築範囲はこれに限定されるものではなく、例えば、三角形と原点とを結ぶ三角錐領域であっても良いし、三角形を囲む立方体などであっても良い。   In the color gamut surface reconstruction unit in the above embodiment, a triangular prism region including a triangle is defined as a reconstruction range. However, the reconstruction range is not limited to this, and for example, a triangle and an origin are connected. It may be a triangular pyramid region or a cube surrounding a triangle.

(第五の実施例)
上記実施例は、任意点集合から生成された色域表面形状を解析し、低精度領域を検出し、再構築することにより、高精度の色域表面形状を生成するものである。
(Fifth embodiment)
In the above embodiment, a color gamut surface shape generated from an arbitrary point set is analyzed, a low accuracy region is detected and reconstructed to generate a high accuracy color gamut surface shape.

これに対して、本実施例は、色域マッピングで行うスケーリング処理を高精度のものとするために、色域情報の所定条件を満たす領域を分割するものである。   On the other hand, the present embodiment divides an area satisfying a predetermined condition of the color gamut information in order to make the scaling process performed in the color gamut mapping highly accurate.

図23は第五の実施例としての色再現編集装置のシステム構成を示すブロック図である。図23の構成において、401はCPU、402はメインメモリ、403はSCSIインタフェース、404はネットワークインタフェース、405はHDD、406はグラフィックアクセラレータ、407はカラーモニタ、408はUSBコントローラ、409はカラープリンタ、410はキーボード/マウスコントローラ、411はキーボード、412はマウス、413はローカルエリアネットワーク、414はPCIバス、415はスキャナである。   FIG. 23 is a block diagram showing a system configuration of a color reproduction editing apparatus as a fifth embodiment. 23, 401 is the CPU, 402 is the main memory, 403 is the SCSI interface, 404 is the network interface, 405 is the HDD, 406 is the graphic accelerator, 407 is the color monitor, 408 is the USB controller, 409 is the color printer, 410 Is a keyboard / mouse controller, 411 is a keyboard, 412 is a mouse, 413 is a local area network, 414 is a PCI bus, and 415 is a scanner.

上記構成における、ディジタル画像のプリンタ出力動作について述べる。まず、HDD405に格納されている画像アプリケーションが、ユーザの指示を受けたOSプログラムに基づき、CPU401にて起動される。続いてユーザの指示による画像アプリケーション内の処理にしたがって、HDD405に格納されているディジタル画像データが、CPU401からの指令に基づきSCSII/F403を介してPCIバス414経由によりメインメモリ402に転送される。あるいは、LANに接続されているサーバに格納されている画像データあるいはインターネット上のディジタル画像データが、CPU401からの指令によりネットワークI/F404を介してPCIバス414経由によりメインメモリ402に転送される。以下、メインメモリ402に保持されているディジタル画像データは、RGB各色信号が符号無し8bitで表現される画像データであるものとして実施例を説明する。前記メインメモリ402に保持されているディジタル画像データは、CPU401からの指令によりPCIバス414経由によってグラフィックアクセラレータ406に転送され、グラフィックアクセラレータ406はディジタル画像データをD/A変換した後ディスプレイケーブルを通じてカラーモニタ407に送信する。これにより、カラーモニタ407上に画像が表示される。ここで、ユーザがメインメモリ402に保持されているディジタル画像をプリンタ409から出力するよう画像アプリケーションに指令すると、画像アプリケーションはディジタル画像データをプリンタドライバに転送する。CPU401は、プリンタドライバの後述の処理フローチャートに基づき、ディジタル画像データをCMYKディジタル画像データに変換し、USBコントローラ408を介して前記CMYK画像データをプリンタ409へ送信する。以上一連の動作の結果として、プリンタ409よりCMYK画像が印字される。   A digital image printer output operation in the above configuration will be described. First, an image application stored in the HDD 405 is activated by the CPU 401 based on an OS program that has received a user instruction. Subsequently, the digital image data stored in the HDD 405 is transferred to the main memory 402 via the PCI bus 414 via the SCSII / F 403 based on a command from the CPU 401 in accordance with processing in the image application according to a user instruction. Alternatively, image data stored in a server connected to the LAN or digital image data on the Internet is transferred to the main memory 402 via the PCI bus 414 via the network I / F 404 in response to a command from the CPU 401. Hereinafter, the embodiment will be described on the assumption that the digital image data held in the main memory 402 is image data in which each RGB color signal is expressed by 8 bits without a sign. The digital image data held in the main memory 402 is transferred to the graphic accelerator 406 via the PCI bus 414 in response to a command from the CPU 401. The graphic accelerator 406 performs D / A conversion on the digital image data, and then a color monitor through a display cable. 407. As a result, an image is displayed on the color monitor 407. Here, when the user instructs the image application to output the digital image held in the main memory 402 from the printer 409, the image application transfers the digital image data to the printer driver. The CPU 401 converts digital image data into CMYK digital image data based on a process flowchart described later of the printer driver, and transmits the CMYK image data to the printer 409 via the USB controller 408. As a result of the above series of operations, a CMYK image is printed by the printer 409.

以下では、上記構成におけるプリンタドライバ動作について、図24のフローチャートを用いて説明する。   Hereinafter, the printer driver operation in the above configuration will be described with reference to the flowchart of FIG.

まずステップS101にて、画像アプリケーションより転送されたRGB24bit画像データ(各色信号が符号無し8bitの画像データ)をメインメモリ402に格納する。   First, in step S <b> 101, RGB 24-bit image data (each color signal is 8-bit unsigned image data) transferred from the image application is stored in the main memory 402.

ステップS102にて、後述の処理に基づいて色補正LUTを作成する。色補正LUTはRGB色空間での格子点の色座標データと、前記格子点が再現するL*a*b*色空間の座標値との対応を記した、図25の様なデータ構造で構成される。データ構造の先頭には、R/G/B値のステップが記述され、この後に、各格子点に対応する色座標がL*値、a*値、b*値が、R、G、Bの順でネストされて記述される。なお、以下では上記データ構造が色の分布を示すことから色補正LUTを色分布データとも呼ぶ。   In step S102, a color correction LUT is created based on the processing described later. The color correction LUT has a data structure as shown in FIG. 25 which describes the correspondence between the color coordinate data of the grid points in the RGB color space and the coordinate values of the L * a * b * color space reproduced by the grid points. Is done. The R / G / B value step is described at the top of the data structure, and thereafter, the color coordinates corresponding to each grid point are L * value, a * value, and b * value are R, G, and B, respectively. Nested in order. In the following, the color correction LUT is also referred to as color distribution data because the data structure indicates a color distribution.

ステップS103では、色補正LUTに基づき、RGB24bit画像データをL*a*b*固定小数点データに変換し、再びメインメモリ402に格納する。変換には四面体補間を用いる。   In step S103, the RGB 24-bit image data is converted into L * a * b * fixed-point data based on the color correction LUT and stored in the main memory 402 again. Tetrahedral interpolation is used for the conversion.

ステップS104では、あらかじめ定められた色変換LUTに従って、先のL*a*b*固定小数点データをCMYK32bit画像データ(CMYKの各色信号が符号無し8bitの画像データ)に変換し、再びメインメモリ402に格納する。   In step S104, the previous L * a * b * fixed-point data is converted into CMYK 32-bit image data (CMYK color signals are unsigned 8-bit image data) according to a predetermined color conversion LUT, and again stored in the main memory 402. Store.

ステップS105では、メインメモリに格納されたCMYK32bit画像データを、USBコントローラ408を介してプリンタ409へ送信する。   In step S <b> 105, the CMYK 32-bit image data stored in the main memory is transmitted to the printer 409 via the USB controller 408.

以下では、ステップS102に於ける色補正LUT作成処理について、図26のフローチャートに従い説明する。   Hereinafter, the color correction LUT creation processing in step S102 will be described with reference to the flowchart of FIG.

ステップS201では、図示されない方法により定められた、写像元の色再現情報と写像先の色再現情報とを取得する。これらの色再現情報は、例えばsRGBの変換式であったり、あるいはあらかじめ測定されたデバイスの色再現特性であったりする。一例として、プリンタの色再現の模式図を図27に示す。   In step S201, mapping source color reproduction information and mapping destination color reproduction information determined by a method (not shown) are acquired. These color reproduction information may be, for example, sRGB conversion formulas or device color reproduction characteristics measured in advance. As an example, a schematic diagram of color reproduction of a printer is shown in FIG.

ステップS202では、取得した写像元の色再現情報と写像先の色再現情報とから、後述の処理フローに基づいて写像元と写像先の色域の等色相断面情報をL*a*b*色空間において生成する。ここで、等色相断面情報は、2度毎に180個の情報が生成される。   In step S202, the same-color section information of the color gamut of the mapping source and the mapping destination is obtained from the acquired color reproduction information of the mapping source and the color reproduction information of the mapping destination based on the processing flow described later. Generate in space. Here, 180 pieces of information are generated every two degrees as the equi-hue cross section information.

ステップS203では、ステップ404での写像動作の為に国際照明委員会(CIE)のTC8−03にて推奨されているSGCK技法に基づき、後述する様に写像元の色域の等色相断面情報をL*a*b*色空間においてスケーリングする。   In step S203, based on the SGCK technique recommended in TC8-03 of the International Commission on Illumination (CIE) for the mapping operation in step 404, the equi-hue cross-section information of the color gamut of the mapping source is obtained as described later. Scale in L * a * b * color space.

ステップS204では、SGCK技法に基づき、後述する様にL*a*b*色空間において色域写像を行う。   In step S204, color gamut mapping is performed in the L * a * b * color space, as will be described later, based on the SGCK technique.

ステップS205では、ステップS204での写像結果を、写像先の色再現情報を用いてL*a*b*値からRGB値に変換し、色補正LUTを生成する。   In step S205, the mapping result in step S204 is converted from L * a * b * values to RGB values using the color reproduction information of the mapping destination to generate a color correction LUT.

SGCK技法による写像処理(色域マッピング)の概略について、図36のフローチャートに従い説明する。また、処理の1例を、図37および図38に示す。処理の詳細に関しては、国際照明委員会のTC8−03の文献に記述されている。   An outline of mapping processing (color gamut mapping) by the SGCK technique will be described with reference to the flowchart of FIG. An example of the processing is shown in FIGS. Details of the process are described in the TC8-03 document of the International Commission on Illumination.

ステップS501では、写像すべき色を取得する。図37aにおいて、実線が写像元の色再現を示し、網点が写像先の色再現を示す。   In step S501, the color to be mapped is acquired. In FIG. 37a, the solid line indicates the color reproduction of the mapping source, and the halftone dot indicates the color reproduction of the mapping destination.

ステップS502では、明度レンジを正規化するよう、明度値に対してスケーリングを施す。この処理による色再現の変化の一例を、図37bに示す。ここで一点破線が写像元の色再現を表し、実線が処理後の色再現を表し、点線が写像先の色域を表す。   In step S502, the brightness value is scaled so as to normalize the brightness range. An example of the change in color reproduction due to this processing is shown in FIG. Here, the dashed line represents the color reproduction of the mapping source, the solid line represents the color reproduction after processing, and the dotted line represents the color gamut of the mapping destination.

ステップS503では、シグモイド関数を用いて明度値をスケーリングする。この処理による色再現の変化の一例を、図37cに示す。ここで一点破線がステップS502の処理結果である色再現を表し、実線が処理後の色再現を表し、点線が写像先の色域を表す。   In step S503, the brightness value is scaled using a sigmoid function. An example of the change in color reproduction due to this processing is shown in FIG. Here, the dashed line represents the color reproduction that is the processing result of step S502, the solid line represents the color reproduction after processing, and the dotted line represents the color gamut of the mapping destination.

ステップS504では、彩度値に基づいて明度値を補正する。この処理による色再現の変化の一例を、図37dに示す。ここで一点破線がステップS503の処理結果である色再現を表し、実線が処理後の色再現を表し、点線が写像先の色域を表す。   In step S504, the lightness value is corrected based on the saturation value. An example of the change in color reproduction due to this processing is shown in FIG. Here, the one-dot broken line represents the color reproduction that is the processing result of step S503, the solid line represents the color reproduction after the processing, and the dotted line represents the color gamut of the mapping destination.

ステップS505では、色相値を保存しつつ、明度と彩度とを写像する。この写像について、図38を用いて説明する。図に於いて、実線はステップS203でスケーリングされた写像元の色域、破線は写像先の色域を表す。色Mを写像する際、まず、スケーリングされた写像元の等色相断面情報と、写像先の等色相断面情報とから、色Mの色相に最も近い等色相断面情報をそれぞれ取得する。続いて、写像先の等色相断面情報にてMと同じ色相で最大彩度となる明度値を算出し、その明度を有するL*軸上の色をFと定義する。その後、FとMとを結んだ線とスケーリングされた写像元の等色相断面情報との交点Bsrcを算出し、FとMとを結んだ線と写像先の等色相断面情報との交点Bdstを算出する。続いて、BdstとFとの間を1:9に内分する点Cを算出する。ここで、MとFとの距離が、BdstとCとの距離を下回っていれば、色Mに対して写像は行わない。他方、上回っている場合には、MがBsrcとCとを内分する値で、BdstとCとの間を内分する色を、Mの写像値とする。   In step S505, brightness and saturation are mapped while the hue value is preserved. This mapping will be described with reference to FIG. In the figure, the solid line represents the color gamut of the mapping source scaled in step S203, and the broken line represents the color gamut of the mapping destination. When mapping the color M, first, the equal hue section information closest to the hue of the color M is acquired from the scaled equal hue section information and the mapped destination hue section information. Subsequently, the lightness value that gives the maximum saturation with the same hue as M is calculated from the equi-hue cross-section information of the mapping destination, and the color on the L * axis having the lightness is defined as F. Thereafter, an intersection point Bsrc between the line connecting F and M and the scaled uniform hue section information of the mapping source is calculated, and an intersection point Bdst between the line connecting F and M and the uniform hue section information of the mapping destination is calculated. calculate. Subsequently, a point C that internally divides between Bdst and F at 1: 9 is calculated. Here, if the distance between M and F is less than the distance between Bdst and C, no mapping is performed for the color M. On the other hand, if it exceeds, M is the value that internally divides Bsrc and C, and the color that internally divides between Bdst and C is the mapped value of M.

次に、ステップS202における写像元の色域情報と写像先の色域情報との作成処理について、図28のフローチャートに従い説明する。   Next, the creation processing of the mapping source color gamut information and the mapping destination color gamut information in step S202 will be described with reference to the flowchart of FIG.

ステップS301では、写像元の色域情報から色域内の色分布情報を生成し、生成した色分布情報からConvex Hull技法を用いて写像元の初期色域情報を生成する。これらの一例として、図29に色分布情報を、図30にConvex Hull技法により生成された初期色域情報を示す。なお、色域情報は複数のポリゴンの組み合わせで表現される。   In step S301, color distribution information in the color gamut is generated from the color gamut information of the mapping source, and initial color gamut information of the mapping source is generated from the generated color distribution information using the Convex Hull technique. As an example of these, FIG. 29 shows color distribution information, and FIG. 30 shows initial color gamut information generated by the Convex Hull technique. Note that the color gamut information is expressed by a combination of a plurality of polygons.

ステップS302では、色相平面と色域のポリゴンとの交点を求め、それらの点を結び等色相断面を生成する。図31において、等色相面を一点鎖線で示し、等色相断面を点線で示す。   In step S302, intersections between the hue plane and the polygons in the color gamut are obtained, and these points are connected to generate an equivalent hue cross section. In FIG. 31, the equi-hue surface is indicated by a one-dot chain line, and the equi-hue section is indicated by a dotted line.

ステップS303では、等色相断面を構成する線分の、線分選択情報をクリアする。ステップS304では、線分の選択情報に応じて、線分を一つ選択して情報を取得する。ステップS305では、選択した線分の長さが所定の値より長いかどうかを判定し、真であればステップS306へ移行し、偽であればステップS307へ移行する。   In step S303, the line segment selection information of the line segment that forms the equi-hue section is cleared. In step S304, one line segment is selected according to the line segment selection information, and information is acquired. In step S305, it is determined whether the length of the selected line segment is longer than a predetermined value. If true, the process proceeds to step S306, and if false, the process proceeds to step S307.

ステップS306では、選択された線分が、所定の値より短い線分で構成されるように、選択された線分に内分点を一つ、或いは複数挿入し、分割する。この動作を、図32に図示する。図に於いて、線分Lが選択された線分を示し、点M1、M2が挿入された内分点を表す。これによりT1〜T3の様に複数の線分に分割される。   In step S306, one or more internal dividing points are inserted into the selected line segment and divided so that the selected line segment is composed of a line segment shorter than a predetermined value. This operation is illustrated in FIG. In the figure, line segment L indicates the selected line segment, and points M1 and M2 indicate internal dividing points. Thereby, it divides | segments into a some line segment like T1-T3.

ステップS307では、選択された線分情報を、次に新たに異なる線分を選択するように更新する。ステップS308では、全ての線分を選択したかどうかを判定する。判定が真であれば処理を終了する。このとき、全ての線分の長さが所定の値より短くなっている。偽であれば、ステップS304へ移行する。   In step S307, the selected line segment information is updated so that the next different line segment is selected. In step S308, it is determined whether all line segments have been selected. If the determination is true, the process is terminated. At this time, the length of all line segments is shorter than a predetermined value. If false, the process proceeds to step S304.

上述の一連の動作による処理結果の一例を、図33に示す。図33aに示す等色相断面に対して上述の処理を行った結果が図33bである。図33bでは、図33aに比べて点が増えている。   An example of the processing result by the above-described series of operations is shown in FIG. FIG. 33b shows a result of performing the above-described processing on the equi-hue cross section shown in FIG. 33a. In FIG. 33b, the number of points is increased compared to FIG. 33a.

ステップS203に於ける、ステップ402で生成された色域の等色相断面情報に対するSGCK技法に基づく色域スケーリング処理について、図34のフローチャートに従い説明する。   The gamut scaling processing based on the SGCK technique for the gamut equal hue section information generated in step 402 in step S203 will be described with reference to the flowchart of FIG.

ステップS401では、ステップ402で生成した色域の等色相断面情報を取得する。ステップS402では、色域の等色相断面情報を構成する線分の各頂点に対し、ステップS502と同様に明度レンジを正規化するよう、明度値に対してスケーリングを施す。ステップS403では、色域の等色相断面情報を構成する線分の各頂点に対し、ステップS503と同様に、シグモイド関数を用いて明度値をスケーリングする。ステップS404では、色域の等色相断面情報を構成する線分の各頂点に対し、ステップS504と同様に、彩度値に基づいて明度値を補正する。ステップS405では、ステップS402〜S404の処理を施した色域情報をメインメモリ402に記憶する。   In step S401, equi-hue cross-section information of the color gamut generated in step 402 is acquired. In step S402, the lightness value is scaled so as to normalize the lightness range for each vertex of the line segment constituting the equi-hue cross section information of the color gamut, as in step S502. In step S403, the lightness value is scaled using the sigmoid function for each vertex of the line segment constituting the equi-hue cross section information of the color gamut, as in step S503. In step S404, the lightness value is corrected based on the saturation value for each vertex of the line segment constituting the equi-hue cross section information of the color gamut, as in step S504. In step S405, the color gamut information that has undergone the processing in steps S402 to S404 is stored in the main memory 402.

このように、本実施例では、頂点に対してステップS402〜S404の処理を行う。そして、各頂点の間については、スケーリング処理された頂点データを線形補間することにより算出する。   As described above, in this embodiment, the processes in steps S402 to S404 are performed on the vertex. And between each vertex, it calculates by linearly interpolating the scaled vertex data.

本実施例では、図28に示した色域情報の生成処理において、色域の等色相断面を構成する線分から、所定値より長い線分を分割している。つまり、ステップS402〜S404の処理を行う頂点データを増やしている。これにより、線形補間により生じる誤差が所定以下になるように制御することができ、高精度なスケーリング処理を実現することができる。   In the present embodiment, in the color gamut information generation process shown in FIG. 28, a line segment longer than a predetermined value is divided from the line segments constituting the equal hue section of the color gamut. That is, the vertex data to be processed in steps S402 to S404 is increased. Thereby, it is possible to control so that an error caused by linear interpolation is equal to or less than a predetermined value, and it is possible to realize highly accurate scaling processing.

上述の一連の動作による処理結果の一例を、図35に示す。ここで、実線で示される領域が算出した等色相断面であり、点線で示した領域がスケーリング結果の領域である。図から明らかなように、本実施例を用いない場合の例である図39と比較してスケーリング誤差が小さくなっている。   An example of the processing result of the above-described series of operations is shown in FIG. Here, the area indicated by the solid line is the calculated equal hue section, and the area indicated by the dotted line is the area of the scaling result. As is apparent from the figure, the scaling error is smaller than that in FIG. 39, which is an example in the case of not using this embodiment.

(第六の実施例)
第五の実施例では、図28に示されるようにConvex Hull技法により生成された色域の色相断面を構成する線分の長さが長い場合は、線分を分割する頂点を追加する処理を行っている。これに対して、本実施例では、頂点の追加処理をポリゴンを構成する辺毎に行う。
(Sixth embodiment)
In the fifth embodiment, as shown in FIG. 28, when the length of the line segment constituting the hue section of the color gamut generated by the Convex Hull technique is long, the process of adding the vertex for dividing the line segment is performed. Is going. On the other hand, in this embodiment, vertex addition processing is performed for each side constituting the polygon.

以下、第五の実施例と異なる点について説明する。   Hereinafter, differences from the fifth embodiment will be described.

本実施例における、ステップS202に写像元の色域情報と写像先の色域情報との作成処理について、図40を用いて説明する。   In the present embodiment, the process of creating the mapping source color gamut information and the mapping destination color gamut information in step S202 will be described with reference to FIG.

ステップS601では、写像元の色域情報から色域内の色分布情報を生成し、生成した色分布情報からConvex Hull技法を用いて写像元の初期色域情報を生成する。これらの一例として、図29に色分布情報を、図30に初期色域情報を示す。なお、色域情報は複数のポリゴンの組み合わせで表現される。   In step S601, color distribution information in the color gamut is generated from the color gamut information of the mapping source, and initial color gamut information of the mapping source is generated from the generated color distribution information using the Convex Hull technique. As an example of these, FIG. 29 shows color distribution information, and FIG. 30 shows initial color gamut information. Note that the color gamut information is expressed by a combination of a plurality of polygons.

ステップS602では、ポリゴンを構成する辺の、辺選択情報をクリアする。ステップS603では、辺の選択情報に応じて、辺を一つ選択して情報を取得する。ステップS604では、選択した辺の長さが所定の値より長いかどうかを判定し、真であればステップS605へ移行し、偽であればステップS606へ移行する。ステップS605では、選択された辺を含む2つのポリゴンについて、それぞれ次のように分割する。まず、選択された辺の中点に点を一つ挿入する。その後、選択された辺の端点以外の点に対し線分を結ぶことで、新たに辺を生成する。最後に、新たに生成された辺を用いて、ポリゴンを、複数三角パッチに分割する。この動作を、図41に図示する。図に於いて、実線が選択されたポリゴンを示し、点Mが挿入された中点を表す。点線は、新たに生成された辺を表し、これによりT1〜TNの様に複数の三角パッチに分割される。尚、ポリゴンの頂点数Mと分割生成された三角パッチNの間にはN=M−2の関係がある。図41aは、ポリゴンが3角形の場合を示し、図41bは3角形とは異なる多角形の場合を示す。このように、本実施例ではポリゴンの形に限定されない。   In step S602, the edge selection information of the edges constituting the polygon is cleared. In step S603, one side is selected according to the side selection information, and information is acquired. In step S604, it is determined whether the length of the selected side is longer than a predetermined value. If true, the process proceeds to step S605, and if false, the process proceeds to step S606. In step S605, each of the two polygons including the selected side is divided as follows. First, a point is inserted at the midpoint of the selected side. Then, a new side is generated by connecting a line segment to points other than the end points of the selected side. Finally, the polygon is divided into a plurality of triangular patches using the newly generated side. This operation is illustrated in FIG. In the figure, the solid line indicates the selected polygon and the midpoint where the point M is inserted. The dotted line represents a newly generated side, and is thereby divided into a plurality of triangular patches as T1 to TN. Note that there is a relationship of N = M−2 between the number M of polygon vertices and the triangular patch N generated by division. FIG. 41a shows a case where the polygon is a triangle, and FIG. 41b shows a case where the polygon is a polygon different from the triangle. As described above, the present embodiment is not limited to the shape of a polygon.

ステップS606では、選択された辺情報を、次に新たに異なる辺を選択するように更新する。   In step S606, the selected side information is updated so as to select a different side next.

ステップS607では、総ての辺を選択したかどうかを判定する。判定が真であれば、処理を終了する。このとき、総ての辺の長さが所定の値より短くなっている。偽であれば、ステップ603へ移行する。   In step S607, it is determined whether all sides have been selected. If the determination is true, the process ends. At this time, the length of all sides is shorter than a predetermined value. If false, the process proceeds to step 603.

上述の一連の動作による処理結果の一例を、図42に示す。これは、図30に示した色域情報に対して処理が行われた結果である。   FIG. 42 shows an example of processing results obtained by the series of operations described above. This is a result of processing performed on the color gamut information shown in FIG.

このように、本実施例では頂点を追加する処理をポリゴンを構成する辺毎に行う。よって、図42に示されるように、ポリゴンを構成する頂点が適切に配置されることになる。   As described above, in this embodiment, the process of adding the vertex is performed for each side constituting the polygon. Therefore, as shown in FIG. 42, the vertices constituting the polygon are appropriately arranged.

そして、本実施例では、第五の実施例において図34を用いて説明した、色域のスケーリング処理を、色域情報を構成するポリゴンの各頂点に対して行う。図42に示した色域情報に対してスケーリング処理を行った結果から算出した等色相断面図を図43に示す。ここで、網点で示される領域が本実施例によって算出された等色相断面であり、実線で示した領域が実際のデバイス色域をスケーリングした際の領域である。本実施例を用いない場合の例である図39と比較してスケーリング誤差が小さくなっている。   In this embodiment, the gamut scaling processing described in the fifth embodiment with reference to FIG. 34 is performed on each vertex of the polygon constituting the gamut information. FIG. 43 shows an equi-hue sectional view calculated from the result of scaling processing performed on the color gamut information shown in FIG. Here, the area indicated by the halftone dots is the equi-hue cross section calculated by the present embodiment, and the area indicated by the solid line is an area when the actual device color gamut is scaled. Compared to FIG. 39, which is an example in the case where the present embodiment is not used, the scaling error is smaller.

本実施例によれば、生成された色域情報を再度分割する手段を用意しておくことで、その後の色域写像で必要とされる色域のスケーリングにおいて、スケーリング精度を向上させることが可能となる。結果として、色域写像の精度向上を実現し、出力画像の色再現性向上を実現できる。   According to the present embodiment, by preparing means for re-dividing the generated color gamut information, it is possible to improve the scaling accuracy in the color gamut scaling required for the subsequent color gamut mapping. It becomes. As a result, it is possible to improve the accuracy of the color gamut mapping and to improve the color reproducibility of the output image.

なお、本実施例では、色域情報がポリゴンあるいは三角パッチで構成されるとして説明した。しかしながら、本実施例は、色域情報が非線形曲面の集合として表現される場合にも応用可能である。   In this embodiment, the description has been made assuming that the color gamut information is composed of polygons or triangular patches. However, the present embodiment can also be applied when the color gamut information is expressed as a set of nonlinear curved surfaces.

(第七の実施例)
第六の実施例では頂点を追加するか否かの判定をポリゴンを構成する辺毎に行っていた。本実施例では、ポリゴンの面積に基づきポリゴン毎に頂点の追加処理を行う。
(Seventh embodiment)
In the sixth embodiment, whether or not to add a vertex is determined for each side constituting the polygon. In the present embodiment, vertex addition processing is performed for each polygon based on the area of the polygon.

本実施例におけるステップS202の写像元の色域情報と写像先の色域情報との作成処理について、図44のフローチャートに従い説明する。   The creation processing of the mapping source color gamut information and the mapping destination color gamut information in step S202 in this embodiment will be described with reference to the flowchart of FIG.

ステップS701では、写像元の色域情報から色域内の色分布情報を生成し、生成した色分布情報からConvex Hull技法を用いて写像元の初期色域情報を生成する。ステップS702では、色域情報を構成するポリゴンに於ける、ポリゴン選択情報をクリアする。ステップS703では、ポリゴン選択情報に応じて、ポリゴンを一つ選択して情報を取得する。ステップS704では、選択したポリゴンの面積が所定の値より大きいかどうかを判定し、真であればステップS705へ移行し、偽であればステップS706へ移行する。ステップS705では、選択されたポリゴンについて、次のように分割する。まず、選択されたポリゴンの重心に点を一つ挿入する。その後、ポリゴンの頂点に対し線分を結ぶことで、ポリゴンを三角パッチに分割する。更に、生成した三角パッチを面積が等しくなるよう、挿入した点から線を引いて二つに分割する。   In step S701, color distribution information in the color gamut is generated from the color gamut information of the mapping source, and initial color gamut information of the mapping source is generated from the generated color distribution information using the Convex Hull technique. In step S702, the polygon selection information in the polygon constituting the color gamut information is cleared. In step S703, information is acquired by selecting one polygon in accordance with the polygon selection information. In step S704, it is determined whether the area of the selected polygon is larger than a predetermined value. If true, the process proceeds to step S705, and if false, the process proceeds to step S706. In step S705, the selected polygon is divided as follows. First, a point is inserted at the center of gravity of the selected polygon. Thereafter, the polygon is divided into triangular patches by connecting line segments to the vertices of the polygon. Further, the generated triangular patch is divided into two by drawing a line from the inserted point so that the areas are equal.

ステップS706では、選択されたポリゴン情報を、次に新たに異なるポリゴンを選択するように更新する。ステップS707では、総てのポリゴンを選択したかどうかを判定する。判定が真であれば、処理を終了する。このとき、総てのポリゴンの大きさが所定の面積より小さくなっている。偽であれば、ステップS703へ移行する。この動作を、図45a,bに図示する。図に於いて、実線が選択されたポリゴンを示し、点Mが挿入された重心点を表す。点線は、新たに生成された辺を表し、これによりT1〜TNの様に複数の三角パッチに分割される。尚、ポリゴンの頂点数Mと分割生成された三角パッチNの間にはN=2×Mの関係がある。   In step S706, the selected polygon information is updated so as to select a different polygon next. In step S707, it is determined whether all the polygons have been selected. If the determination is true, the process ends. At this time, the size of all the polygons is smaller than a predetermined area. If it is false, the process proceeds to step S703. This operation is illustrated in FIGS. 45a and b. In the figure, the solid line indicates the selected polygon, and the barycentric point where the point M is inserted is shown. The dotted line represents a newly generated side, and is thereby divided into a plurality of triangular patches as T1 to TN. Note that there is a relationship of N = 2 × M between the number M of vertexes of the polygon and the triangular patch N generated by division.

なお、第五〜第七の実施例では色域マッピングとしてSGCK技法を用いていたが、明度または彩度のスケーリング処理を行う他の色域マッピング方法にも適用できる。   In the fifth to seventh embodiments, the SGCK technique is used as the color gamut mapping. However, the present invention can also be applied to other color gamut mapping methods that perform lightness or saturation scaling processing.

(変形例)
なお、上記実施例では、色域表面を三角形の集合で近似した。しかし、三角形ではなく、四角形などの他の多角形で近似してもよい。
(Modification)
In the above embodiment, the color gamut surface is approximated by a set of triangles. However, you may approximate with other polygons, such as a rectangle, instead of a triangle.

なお、上記実施例は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用しても良い。   Note that the above embodiment can be applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but a device composed of a single device (for example, a copier, a facsimile machine, etc.) ) May be applied.

また、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUまたはMPU)が記録媒体に格納されたプログラムコードを読み出し実行することによって、本実施例に記載された方法を行ってもよい。この場合、記録媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記録媒体は本実施例を構成することになる。   In addition, a recording medium in which a program code of software that realizes the functions of the above-described embodiments is supplied to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the program code in the recording medium. The method described in this embodiment may be performed by reading out and executing. In this case, the program code itself read from the recording medium realizes the functions of the above-described embodiment, and the recording medium storing the program code constitutes the present embodiment.

プログラムコードを供給するための記録媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることが出来る。   As a recording medium for supplying the program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like is used. I can do it.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した上記実施例の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on the instruction of the program code, etc. However, it is needless to say that a case where the part of the actual processing is performed and the function of the above-described embodiment is realized by the processing is included.

さらに、記録媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上記実施例の機能が実現される場合も含まれることは言うまでもない。   Further, the program code read from the recording medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, and then the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

色域表面の近似精度が悪化する例Example where the approximation accuracy of the color gamut surface deteriorates 色域表面の近似精度が悪いため、ガマットマッピングの精度が悪化する例Example of poor gamut mapping accuracy due to poor approximation accuracy of the gamut surface 色処理装置1の構成を説明する図The figure explaining the structure of the color processing apparatus 1 色処理装置2の構成を説明する図The figure explaining the structure of the color processing apparatus 2 色処理装置3の構成を説明する図The figure explaining the structure of the color processing apparatus 3 色域表面データを再構築するフローFlow for reconstructing gamut surface data 任意点集合1001と色域表面情報1002のデータ構造を示す図The figure which shows the data structure of the arbitrary point sets 1001 and the color gamut surface information 1002 ConvexHullを用いて生成された多面体を示す図Diagram showing polyhedron generated using ConvexHull しきい値以上の三角形を検出するフローFlow to detect triangles above threshold 三角形を再構築するフローFlow to reconstruct triangle 三角形と再構築範囲との関係を示す図Diagram showing the relationship between triangle and reconstruction range 色域表面と第二の色域表面との位置関係を示す図Diagram showing the positional relationship between the gamut surface and the second gamut surface 色域表面と第二の色域表面と再構築範囲との関係を示す図Diagram showing the relationship between the gamut surface, the second gamut surface, and the reconstruction range 再構築された色域表面を示す図Diagram showing the reconstructed color gamut surface 構築された新たな複数の三角形を示す図Diagram showing the new triangles built ガマットマッピングを行う際に、精度が悪い三角形を検出するフローFlow to detect inaccurate triangles when performing gamut mapping ガマットマッピングを行うフローFlow for performing gamut mapping P点が三角形ABC上にあるか否かを判定する方法を示す図The figure which shows the method of determining whether P point exists on the triangle ABC. 入力点Qが色域内にあるか否かを判定する方法を示す図The figure which shows the method of determining whether the input point Q exists in a color gamut. マッピング方法を示す図Diagram showing mapping method 三角形を再構築するフローFlow to reconstruct triangle 入力点の内外判定を行うフローFlow for determining inside / outside of input point 色再現編集装置のシステム構成を示すブロック図Block diagram showing the system configuration of the color reproduction editing device 色再現編集装置におけるプリンタドライバの処理を示すフローチャートFlowchart showing processing of printer driver in color reproduction editing apparatus 色補正LUTのデータ構造を説明する図The figure explaining the data structure of a color correction LUT 色補正LUTの作成処理を示すフローチャートFlowchart showing color correction LUT creation processing 色再現情報の一例を示す図Diagram showing an example of color reproduction information 色域の等色相断面情報の作成処理を示すフローチャートFlowchart showing creation processing of equi-hue cross-section information of color gamut 色再現情報から得られる色分布の一例を示す図The figure which shows an example of the color distribution obtained from color reproduction information Convex Hull技法により生成された色域情報の一例を示す図The figure which shows an example of the color gamut information produced | generated by Convex Hull technique 色域情報を等色相平面でスライスする一例を示す図The figure which shows an example of slicing color gamut information on a uniform hue plane 分割された線分情報の一例を示す図The figure which shows an example of the divided line segment information 生成された等色相断面情報の一例を示す図The figure which shows an example of the produced | generated equi-hue cross-section information SGCK技法を用いた色域情報のスケーリングを示すフローチャートFlow chart showing scaling of gamut information using SGCK technique スケーリングされた等色相断面情報の一例を示す図The figure which shows an example of the scaled equi-hue cross-section information 色域写像としてのSGCK技法を示すフローチャートFlow chart showing SGCK technique as gamut mapping SGCK技法による色再現の変化を示す図The figure which shows the change of the color reproduction with SGCK technique SGCK技法での色域写像を説明する図Diagram explaining color gamut mapping with SGCK technique 従来技術によるスケーリング処理の結果Result of scaling process by conventional technology 色域情報の作成処理を示すフローチャートFlow chart showing color gamut information creation processing 色域情報を構成するポリゴンの分割の一例を示す図The figure which shows an example of the division | segmentation of the polygon which comprises color gamut information 生成された色域情報の一例を示す図The figure which shows an example of the produced | generated color gamut information 色域情報の等色相断面の一例を示す図The figure which shows an example of the equi-hue cross section of color gamut information 色域情報の作成処理を示すフローチャートFlow chart showing color gamut information creation processing 色域情報を構成するポリゴンの分割の一例を示す図The figure which shows an example of the division | segmentation of the polygon which comprises color gamut information

Claims (16)

色域の表面を示す多面体の幾何形状に関する色域表面情報を取得する色域表面情報取得工程と、
前記多面体を構成する多角形の形状情報を取得する形状情報取得工程と、
前記取得された形状情報を所定の形状情報と比較し、再構築の対象となる多角形を検出する多角形検出工程と、
前記検出された多角形を複数の多角形に再構築する再構築工程と
を有することを特徴とする情報処理方法。
A color gamut surface information acquisition step for acquiring color gamut surface information related to the geometry of the polyhedron indicating the surface of the color gamut;
A shape information acquisition step of acquiring shape information of a polygon constituting the polyhedron;
A polygon detection step of comparing the acquired shape information with predetermined shape information and detecting a polygon to be reconstructed;
A reconstruction step of reconstructing the detected polygon into a plurality of polygons.
前記多角形検出工程は、ガマットマッピングする際に用いられる多角形を検出する
ことを特徴とする請求項1に記載の情報処理方法。
The information processing method according to claim 1, wherein the polygon detection step detects a polygon used when performing gamut mapping.
更に、前記色域の表面を示す多面体を表示させる表示工程と、
ユーザーの指示に基づき、再構築の対象となる多角形を選択する選択工程とを有し、
前記再構築工程は、前記選択工程において選択された多角形を複数の多角形に再構築することを特徴とする請求項1に記載の情報処理方法。
A display step of displaying a polyhedron indicating the surface of the color gamut;
A selection step of selecting a polygon to be reconstructed based on a user instruction,
The information processing method according to claim 1, wherein the reconstruction step reconstructs the polygon selected in the selection step into a plurality of polygons.
更に、色情報を取得する色情報取得工程を有し、
前記再構築工程は、前記色情報を用いて、前記検出された多角形を複数の多角形に再構築することを特徴とする請求項1に記載の情報処理方法。
Furthermore, it has a color information acquisition step for acquiring color information,
The information processing method according to claim 1, wherein the reconstructing step reconstructs the detected polygon into a plurality of polygons using the color information.
前記色情報取得工程は、前記色域の表面を示す多面体の内部に位置する色情報を示す点を取得し、
前記再構築工程は、前記検出された多角形の頂点と、前記色域の表面を示す多面体の内部に位置する色情報を示す点とで、前記検出された多角形を複数の多角形に再構築する
ことを特徴とする請求項1に記載の情報処理方法。
The color information acquisition step acquires a point indicating color information located inside a polyhedron indicating the surface of the color gamut,
The reconstruction step reconstructs the detected polygon into a plurality of polygons by using the detected polygon vertices and points indicating color information located inside the polyhedron indicating the surface of the color gamut. The information processing method according to claim 1, wherein the information processing method is constructed.
前記形状情報は面積であり、
前記多角形検出工程は、前記多角形の面積が所定値以上の多角形を検出することを特徴とする請求項1に記載の情報処理方法。
The shape information is an area,
The information processing method according to claim 1, wherein the polygon detecting step detects a polygon having an area of the polygon equal to or greater than a predetermined value.
前記形状情報は辺の長さであり、
前記多角形検出工程は、前記多角形の辺の長さが所定値以上の多角形を検出することを特徴とする請求項1に記載の情報処理方法。
The shape information is a side length;
The information processing method according to claim 1, wherein the polygon detecting step detects a polygon in which a side length of the polygon is a predetermined value or more.
前記多角形は、三角形であることを特徴とする請求項1に記載の情報処理方法。   The information processing method according to claim 1, wherein the polygon is a triangle. 色域の表面を示す多面体の幾何形状に関する色域表面情報を取得する色域表面情報取得工程と、
前記色域表面情報を解析する解析工程と、
前記解析結果に応じて色域の表面を構成する頂点を追加する頂点追加工程とを有することを特徴とする情報処理方法。
A color gamut surface information acquisition step for acquiring color gamut surface information related to the geometry of the polyhedron indicating the surface of the color gamut;
An analysis step of analyzing the color gamut surface information;
A vertex adding step of adding a vertex constituting the surface of the color gamut according to the analysis result.
前記色域表面情報を用いて色域マッピング処理を行う色域マッピング処理工程を有し、
前記色域マッピング処理工程は、前記色域の表面を構成する頂点を用いてスケーリング処理を行うことを特徴とする請求項9記載の情報処理方法。
A color gamut mapping process for performing a color gamut mapping process using the color gamut surface information;
The information processing method according to claim 9, wherein the color gamut mapping processing step performs a scaling process using vertices constituting a surface of the color gamut.
前記解析工程は、
前記色域表面情報から等色相断面情報を生成する生成工程と、
前記等色相断面情報を構成する線分から、所定条件を満たす線分を検出する線分検出工程と、
前記検出された線分を分割する分割工程とを有することを特徴とする請求項9記載の情報処理方法。
The analysis step includes
Generating step for generating equi-hue cross-section information from the color gamut surface information;
A line segment detecting step for detecting a line segment satisfying a predetermined condition from the line segments constituting the equi-hue cross section information;
The information processing method according to claim 9, further comprising a dividing step of dividing the detected line segment.
前記解析工程は、
前記色域表面を構成する辺から、所定の長さより長い線分を検出する線分検出工程と、
前記検出された線分を分割する線分分割工程とを有することを特徴とする請求項9記載の情報処理方法。
The analysis step includes
A line segment detecting step for detecting a line segment longer than a predetermined length from the sides constituting the color gamut surface;
The information processing method according to claim 9, further comprising a line segment dividing step of dividing the detected line segment.
前記解析工程は、
前記色域表面を構成する多角形から、所定面積より大きい面積を有する多角形を検出する多角形検出工程と、
前記検出された多角形を分割する多角形分割工程とを有することを特徴とする請求項9記載の情報処理方法。
The analysis step includes
A polygon detecting step for detecting a polygon having an area larger than a predetermined area from the polygon constituting the color gamut surface;
The information processing method according to claim 9, further comprising a polygon dividing step of dividing the detected polygon.
前記請求項1乃至13のいずれかに記載の情報処理方法をコンピュータにて実施させるためのプログラム。   A program for causing a computer to execute the information processing method according to any one of claims 1 to 13. 色域の表面を示す多面体の幾何形状に関する色域表面情報を取得する色域表面情報取得手段と、
前記多面体を構成する多角形の形状情報を取得する形状情報取得手段と、
前記取得された形状情報を所定の形状情報と比較し、再構築の対象となる多角形を検出する多角形検出手段と、
前記検出された多角形を複数の多角形に再構築する再構築手段と
を有することを特徴とする色処理装置。
Color gamut surface information acquisition means for acquiring color gamut surface information relating to the geometrical shape of the polyhedron indicating the surface of the color gamut;
Shape information acquisition means for acquiring shape information of polygons constituting the polyhedron;
A polygon detection means for comparing the acquired shape information with predetermined shape information and detecting a polygon to be reconstructed;
A color processing apparatus comprising: reconstructing means for reconstructing the detected polygon into a plurality of polygons.
色域の表面を示す多面体の幾何形状に関する色域表面情報を取得する色域表面情報取得手段と、
前記色域表面情報を解析する解析手段と、
前記解析結果に応じて色域の表面を構成する頂点を追加する頂点追加手段とを有することを特徴とする情報処理装置。
Color gamut surface information acquisition means for acquiring color gamut surface information relating to the geometrical shape of the polyhedron indicating the surface of the color gamut;
Analyzing means for analyzing the color gamut surface information;
An information processing apparatus comprising: vertex adding means for adding a vertex constituting a surface of a color gamut according to the analysis result.
JP2005012756A 2005-01-20 2005-01-20 Information processing method and apparatus Expired - Fee Related JP4481840B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005012756A JP4481840B2 (en) 2005-01-20 2005-01-20 Information processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005012756A JP4481840B2 (en) 2005-01-20 2005-01-20 Information processing method and apparatus

Publications (3)

Publication Number Publication Date
JP2006203526A true JP2006203526A (en) 2006-08-03
JP2006203526A5 JP2006203526A5 (en) 2008-03-06
JP4481840B2 JP4481840B2 (en) 2010-06-16

Family

ID=36961138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005012756A Expired - Fee Related JP4481840B2 (en) 2005-01-20 2005-01-20 Information processing method and apparatus

Country Status (1)

Country Link
JP (1) JP4481840B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009219063A (en) * 2008-03-12 2009-09-24 Seiko Epson Corp Image processing method, printer, image processor and image processing program
JP2010531503A (en) * 2007-06-27 2010-09-24 トムソン ライセンシング How to create a gamut boundary descriptor that preserves the discontinuity of the actual gamut surface
JP2010534964A (en) * 2007-07-27 2010-11-11 トムソン ライセンシング How to describe the actual color gamut of a color device or color content
US7929188B2 (en) 2007-06-28 2011-04-19 Brother Kogyo Kabushiki Kaisha Color gamut data creating device
US8275199B2 (en) 2006-12-12 2012-09-25 Canon Kabushiki Kaisha Color processing apparatus and color processing method
US9478046B2 (en) 2013-12-06 2016-10-25 Samsung Display Co., Ltd. Image processing circuit and image processing method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0721369A (en) * 1993-07-02 1995-01-24 Fujitsu Ltd Crossing calculation device for implicit curved surface and method therefor
JP2001028694A (en) * 1999-05-07 2001-01-30 Matsushita Research Institute Tokyo Inc Image processor and image processing method
JP2002214267A (en) * 2001-01-17 2002-07-31 Nec Corp Radio wave propagation characteristic estimation method and spatial resolving power control method, system and program for rays
JP2003008912A (en) * 2001-06-19 2003-01-10 Fuji Xerox Co Ltd Device and method for calculating color gamut, and storage medium
JP2003348362A (en) * 2002-05-23 2003-12-05 Nec Corp Method, apparatus and program for color conversion
JP2006180062A (en) * 2004-12-21 2006-07-06 Canon Inc Information processing method and processor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0721369A (en) * 1993-07-02 1995-01-24 Fujitsu Ltd Crossing calculation device for implicit curved surface and method therefor
JP2001028694A (en) * 1999-05-07 2001-01-30 Matsushita Research Institute Tokyo Inc Image processor and image processing method
JP2002214267A (en) * 2001-01-17 2002-07-31 Nec Corp Radio wave propagation characteristic estimation method and spatial resolving power control method, system and program for rays
JP2003008912A (en) * 2001-06-19 2003-01-10 Fuji Xerox Co Ltd Device and method for calculating color gamut, and storage medium
JP2003348362A (en) * 2002-05-23 2003-12-05 Nec Corp Method, apparatus and program for color conversion
JP2006180062A (en) * 2004-12-21 2006-07-06 Canon Inc Information processing method and processor

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8275199B2 (en) 2006-12-12 2012-09-25 Canon Kabushiki Kaisha Color processing apparatus and color processing method
JP2010531503A (en) * 2007-06-27 2010-09-24 トムソン ライセンシング How to create a gamut boundary descriptor that preserves the discontinuity of the actual gamut surface
KR101416222B1 (en) 2007-06-27 2014-07-08 톰슨 라이센싱 Method of creating a gamut boundary descriptor preserving the discontinuities of an actual gamut surface
US8941679B2 (en) 2007-06-27 2015-01-27 Thomson Licensing Method of creating a gamut boundary descriptor preserving the discontinuities of an actual gamut surface
US7929188B2 (en) 2007-06-28 2011-04-19 Brother Kogyo Kabushiki Kaisha Color gamut data creating device
US8149484B2 (en) 2007-06-28 2012-04-03 Brother Kogyo Kabushiki Kaisha Color gamut data creating device
US8149483B2 (en) 2007-06-28 2012-04-03 Brother Kogyo Kabushiki Kaisha Color gamut data creating device
JP2010534964A (en) * 2007-07-27 2010-11-11 トムソン ライセンシング How to describe the actual color gamut of a color device or color content
US8724892B2 (en) 2007-07-27 2014-05-13 Thomson Licensing Method for describing an actual color gamut of a color device or of a color content
JP2009219063A (en) * 2008-03-12 2009-09-24 Seiko Epson Corp Image processing method, printer, image processor and image processing program
US9478046B2 (en) 2013-12-06 2016-10-25 Samsung Display Co., Ltd. Image processing circuit and image processing method

Also Published As

Publication number Publication date
JP4481840B2 (en) 2010-06-16

Similar Documents

Publication Publication Date Title
US7983479B2 (en) Generating a look-up table for use in color processing
US6870636B2 (en) Determining color mappings for a color printer
KR101416222B1 (en) Method of creating a gamut boundary descriptor preserving the discontinuities of an actual gamut surface
JP2007013626A (en) Color processing method and device
US6618499B1 (en) Iterative gamut mapping
JP4481840B2 (en) Information processing method and apparatus
US20070296988A1 (en) Color conversion definition creating method, profile creating method, color conversion definition creating apparatus, profile creating apparatus, color conversion definition creating program storage medium, and profile creating program storage medium
JP4582204B2 (en) Image processing apparatus, image conversion method, and computer program
US20080037902A1 (en) Image processing apparatus and control method therefor
JPH1188709A (en) Color conversion table constitution converting method and computer readable record medium recording color conversion table constitution converting program
JP4961962B2 (en) Color processing apparatus and program
JP4553259B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2006050565A (en) Apparatus and method of detecting color gamut in color device and method of calculating color space inverse transform function using the same
JP6680076B2 (en) Image processing apparatus, image processing method, and image processing system
JP2005268982A (en) Method, apparatus and program for creating color conversion definition, and for forming profile
US20060114483A1 (en) Color processing method and its apparatus
JP5068281B2 (en) Color conversion table adjustment device and color conversion table adjustment program
JP4618683B2 (en) Image processing apparatus, gamut correction method, image processing method, program, and recording medium
JP2006215808A (en) Color conversion method, color conversion device, program and recording medium
JP2006180062A (en) Information processing method and processor
JP2006173825A (en) Image processing apparatus and method thereof
JP2003037745A (en) Gamut compression method
Bakke et al. Evaluation of gamut boundary descriptors
JPH0795427A (en) Method and device for picture processing
JP2010050832A (en) Device and method for processing image, program, and recording medium

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080117

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090623

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090820

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091117

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100116

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100201

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

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

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

Free format text: PAYMENT UNTIL: 20130326

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140326

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees