JP2010103733A - Color conversion table generating device, color conversion table, and image processing apparatus - Google Patents
Color conversion table generating device, color conversion table, and image processing apparatus Download PDFInfo
- Publication number
- JP2010103733A JP2010103733A JP2008272896A JP2008272896A JP2010103733A JP 2010103733 A JP2010103733 A JP 2010103733A JP 2008272896 A JP2008272896 A JP 2008272896A JP 2008272896 A JP2008272896 A JP 2008272896A JP 2010103733 A JP2010103733 A JP 2010103733A
- Authority
- JP
- Japan
- Prior art keywords
- color
- color conversion
- data
- conversion table
- pairs
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、色変換テーブル生成装置、色変換テーブル、画像処理装置に関するものである。 The present invention relates to a color conversion table generation device, a color conversion table, and an image processing device.
カラー画像に対する処理の一つとして、色変換処理が行われる。この色変換処理の一つの方法として、変換前の第1の色データと変換後の第2の色データとを対応付けた色変換データ対を予め登録した色変換テーブルを用いる方法がある。この色変換テーブルには、すべての第1の色データに対応する第2の色データを登録することは多大な記憶容量を必要とすることから、いくつかの第1の色データを選択して色変換データ対を求めて登録しておく。そして、登録されている第1の色データ以外の色データについては、色空間において距離が近い、登録されている複数の第1の色データから対応する第2の色データを取得し、補間により変換後の色データを計算している。 As one of the processes for the color image, a color conversion process is performed. As one method of this color conversion processing, there is a method using a color conversion table in which color conversion data pairs in which first color data before conversion and second color data after conversion are associated are registered in advance. In this color conversion table, registering the second color data corresponding to all the first color data requires a large storage capacity. Therefore, some first color data are selected. A color conversion data pair is obtained and registered. For the color data other than the registered first color data, the corresponding second color data is obtained from the plurality of registered first color data whose distances are close in the color space, and interpolation is performed. The color data after conversion is calculated.
色変換テーブルに登録する色変換データ対は、第1の色データを構成する各色成分について、取り得る値の範囲をそれぞれ予め定められた分割数により分割し、各色成分の分割点の1つを組み合わせて得られた第1の色データと、その第1の色データの変換後の第2の色データとにより構成している。図11は、色変換テーブルに登録する第1の色変換データの一例の説明図である。上述のようにして色変換テーブルに登録する色変換データ対の第1の色データは、第1の色データの色空間では図11に黒丸で示す色点となる。図示のように見かけ上、格子の交差点の色点であることから、これらの色点を格子点と呼んでいる。 The color conversion data pair registered in the color conversion table divides the range of possible values for each color component constituting the first color data by a predetermined number of divisions, and sets one of the division points of each color component. The first color data obtained by the combination and the second color data after the conversion of the first color data. FIG. 11 is an explanatory diagram of an example of first color conversion data registered in the color conversion table. The first color data of the color conversion data pair registered in the color conversion table as described above is a color point indicated by a black circle in FIG. 11 in the color space of the first color data. As shown in the drawing, these color points are called lattice points because they are apparently color points at the intersections of the lattices.
この格子点以外の第1の色データについては補間により変換後の色データを得ることから、一般的には色変換精度は格子点の数に依存することになる。しかし、第1の色データに対応する第2の色データを精度よく求める処理は計算量が多く、時間がかかる処理である。また、格子点の数を増やせばそれだけ記憶容量が必要となる。そのため従来は、これらの条件を考慮した上で各色成分の分割数を決定し、格子点における色変換データ対を求めて色変換テーブルを作成している。 Since the color data after conversion is obtained by interpolation for the first color data other than the grid points, the color conversion accuracy generally depends on the number of grid points. However, the process for accurately obtaining the second color data corresponding to the first color data is a process that requires a large amount of calculation and takes time. Further, if the number of grid points is increased, the storage capacity is required accordingly. Therefore, conventionally, the number of divisions of each color component is determined in consideration of these conditions, and a color conversion table is created by obtaining color conversion data pairs at lattice points.
色変換テーブルに登録する色変換データ対の数を増減する従来の技術として、例えば特許文献1では、ある登録数の色変換テーブルから補間により色変換データ対を生成して、登録数を増やした色変換テーブルを作成している。
As a conventional technique for increasing / decreasing the number of color conversion data pairs to be registered in the color conversion table, for example, in
また、例えば特許文献2及び特許文献3では、予め作成された色変換テーブルから間引くことによって、登録数を減少させた色変換テーブルを生成している。
For example, in
さらに、例えば特許文献4では各色成分の取り得る値の範囲を分割する際に不均等の幅で分割し、色空間中の色変換精度が必要な領域については分割幅を狭くし、色変換精度が要求されない領域については分割幅を広くして、全体として格子点の数を削減した色変換テーブルを使用することが記載されている。
Further, for example, in
本発明は、精度を求める領域を特定しない発明に比べ、格子点を追加した領域の色変換精度を維持した色変換処理が可能な色変換テーブルを作成することができる色変換テーブル生成装置、及び作成された色変換テーブル、その色変換テーブルを使用して色変換を行う画像処理装置を提供することを目的とするものである。 The present invention provides a color conversion table generation device capable of creating a color conversion table capable of color conversion processing while maintaining the color conversion accuracy of an area to which grid points are added, as compared to an invention that does not specify an area for which accuracy is to be determined, and It is an object of the present invention to provide a created color conversion table and an image processing apparatus that performs color conversion using the color conversion table.
本願請求項1に記載の発明は、第1の色データと該第1の色データを変換した第2の色データとを対応付けた色変換データ対を予め定められた数より少ない数だけ含む第1の色変換テーブルについて色変換データ対を追加する色領域を特定する領域特定手段と、前記領域特定手段で特定された色領域における前記色変換データ対を前記第1の色変換テーブルに追加する追加手段と、前記追加手段により前記色変換データ対を追加した前記第1の色変換テーブルをもとに補間により予め定められた数の前記色変換データ対を含む第2の色変換テーブルを作成する作成手段を有することを特徴とする色変換テーブル生成装置である。
The invention according to
本願請求項2に記載の発明は、本願請求項1に記載の色変換テーブル生成装置における前記領域特定手段が、前記第2の色データの変化量に従って前記色領域を特定することを特徴とする色変換テーブル生成装置である。
The invention according to
本願請求項3に記載の発明は、本願請求項1に記載の色変換テーブル生成装置における前記領域特定手段が、2つの前記第2の色データのうちの一方が前記第2の色データを構成する少なくとも1つの色成分の値が最小値または最大値であるか否かにより前記色領域を特定することを特徴とする色変換テーブル生成装置である。 According to a third aspect of the present invention, in the color conversion table generating device according to the first aspect of the present invention, the area specifying means includes one of the two second color data constituting the second color data. The color conversion table generating apparatus is characterized in that the color region is specified based on whether or not a value of at least one color component is a minimum value or a maximum value.
本願請求項4に記載の発明は、本願請求項1から請求項3のいずれか1項に記載の色変換テーブル生成装置の構成に、さらに、前記第1の色変換テーブルを生成する生成手段を有することを特徴とする色変換テーブル生成装置である。
The invention according to
本願請求項5に記載の発明は、本願請求項4に記載の色変換テーブル生成装置における前記生成手段が、明度により前記第1の色データの間隔を変更することを特徴とする色変換テーブル生成装置である。 According to a fifth aspect of the present invention, in the color conversion table generating device according to the fourth aspect of the present invention, the generation means changes the interval of the first color data according to the lightness. Device.
本願請求項6に記載の発明は、第1の色データと該第1の色データを変換した第2の色データとを対応付けて色変換データ対とし予め定められた数より少ない数の前記色変換データ対を含む第1の色変換テーブルを生成する生成手段と、前記第1の色変換テーブルをもとに補間により予め定められた数の前記色変換データ対を含む第2の色変換テーブルを作成する作成手段を有し、前記生成手段は、前記第1の色データの色空間における領域毎の色変換精度に応じて前記第1の色データを配置して、該第1の色データに対応する前記色変換データ対を含む前記第1の色変換テーブルを生成することを特徴とする色変換テーブル生成装置である。 In the invention according to claim 6 of the present application, the first color data and the second color data obtained by converting the first color data are associated with each other as a color conversion data pair, which is smaller in number than the predetermined number. Generating means for generating a first color conversion table including color conversion data pairs; and second color conversion including a predetermined number of the color conversion data pairs by interpolation based on the first color conversion table Creating means for creating a table, wherein the generating means arranges the first color data according to color conversion accuracy for each region in a color space of the first color data, and The color conversion table generation device generates the first color conversion table including the color conversion data pair corresponding to data.
本願請求項7に記載の発明は、本願請求項6に記載の色変換テーブル生成装置における前記生成手段が、明度により前記第1の色データの間隔を変更することを特徴とする色変換テーブル生成装置である。 According to a seventh aspect of the present invention, in the color conversion table generating device according to the sixth aspect of the present invention, the generation means changes the interval of the first color data according to lightness. Device.
本願請求項8に記載の発明は、第1の色データと該第1の色データを変換した第2の色データとを対応付けた色変換データ対の数より少ない数だけ含む第1の色変換テーブルに、色変換データ対を追加する色領域を特定し該色領域における前記色変換データ対を前記第1の色変換テーブルに追加し、前記色変換データ対を追加した前記第1の色変換テーブルをもとに補間により求めた予め定められた数の前記色変換データ対を含むように作成されたことを特徴とする色変換テーブルである。 The invention according to claim 8 is the first color including the first color data and the second color data obtained by converting the first color data, the number of which is smaller than the number of color conversion data pairs associated with each other. A color area to which a color conversion data pair is added is specified in the conversion table, the color conversion data pair in the color area is added to the first color conversion table, and the color conversion data pair is added to the first color It is a color conversion table created so as to include a predetermined number of the color conversion data pairs obtained by interpolation based on the conversion table.
本願請求項9に記載の発明は、予め定められた数の前記色変換データ対を含む色変換テーブルを使用して第1の色信号を第2の色信号に変換する色変換手段を有し、前記色変換テーブルは、第1の色データと該第1の色データを変換した第2の色データとを対応付けた色変換データ対の数より少ない数だけ含む第1の色変換テーブルに、色変換データ対を追加する色領域を特定し該色領域における前記色変換データ対を前記第1の色変換テーブルに追加し、前記色変換データ対を追加した前記第1の色変換テーブルをもとに補間により求めた予め定められた数の前記色変換データ対を含むように作成されたものであることを特徴とする画像処理装置である。 The invention according to claim 9 includes color conversion means for converting the first color signal into the second color signal using a color conversion table including a predetermined number of the color conversion data pairs. The color conversion table is a first color conversion table including a smaller number than the number of color conversion data pairs in which the first color data and the second color data obtained by converting the first color data are associated with each other. The color conversion data pair to be added is specified, the color conversion data pair in the color area is added to the first color conversion table, and the color conversion data pair is added to the first color conversion table. An image processing apparatus created so as to include a predetermined number of the color conversion data pairs originally obtained by interpolation.
本願請求項1に記載の発明によれば、色変換精度が悪くなる領域を特定しない発明に比べ、計算量を削減し、かつ色変換精度を維持した色変換処理が可能な色変換テーブルを作成することができる。 According to the first aspect of the present invention, a color conversion table capable of reducing the amount of calculation and performing color conversion processing while maintaining color conversion accuracy is created as compared with the invention that does not specify a region where color conversion accuracy deteriorates. can do.
本願請求項2に記載の発明によれば、本構成を有しない発明に比べ第2の色データの変化量に応じて色変換精度を向上させることができる。 According to the second aspect of the present invention, the color conversion accuracy can be improved according to the amount of change in the second color data, as compared with the invention without this configuration.
本願請求項3に記載の発明によれば、本構成を有しない発明に比べ色域外郭における色変換精度を向上させることができる。 According to the third aspect of the present invention, it is possible to improve the color conversion accuracy in the color gamut outline as compared with the invention not having this configuration.
本願請求項4に記載の発明によれば、本構成を有しない発明に比べ第1の色変換テーブルがない状態からでも、計算量を削減し、かつ色変換精度を維持した色変換処理が可能な第2の色変換テーブルを作成することができる。
According to the invention described in
本願請求項5に記載の発明によれば、本構成を有しない発明に比べ明度に応じて色変換精度の違いを考慮して第1の色変換テーブルを作成する段階からの計算量を削減することができる。 According to the invention described in claim 5 of the present application, the amount of calculation from the stage of creating the first color conversion table is reduced in consideration of the difference in color conversion accuracy according to the lightness compared to the invention not having this configuration. be able to.
本願請求項6に記載の発明によれば、本構成を有しない発明に比べ計算量を削減し、色変換精度を維持した色変換処理が可能な色変換テーブルを作成することができる。 According to the sixth aspect of the present invention, it is possible to create a color conversion table capable of performing color conversion processing while reducing the amount of calculation and maintaining the color conversion accuracy as compared with the invention not having this configuration.
本願請求項7に記載の発明によれば、明度に応じて色変換精度の違いを考慮した第2の色変換テーブルを作成することができる。 According to the seventh aspect of the present invention, it is possible to create the second color conversion table in consideration of the difference in color conversion accuracy according to the lightness.
本願請求項8に記載の発明によれば、色変換精度が悪くなる領域を特定しない発明に比べ、色変換精度を維持した色変換処理が可能となる。 According to the invention described in claim 8 of the present application, it is possible to perform color conversion processing while maintaining color conversion accuracy, compared to an invention that does not specify a region where color conversion accuracy deteriorates.
本願請求項9に記載の発明によれば、色変換精度が悪くなる領域を特定しない発明に比べ、色変換精度を維持した色変換処理が可能となる。 According to the invention described in claim 9 of the present application, it is possible to perform color conversion processing while maintaining the color conversion accuracy, as compared with the invention in which the region where the color conversion accuracy deteriorates is not specified.
図1は、本発明の実施の一形態を示す構成図である。図中、1は第1色変換テーブル生成部、2は領域特定部、3は色変換データ対追加部、4は第2色変換テーブル作成部である。ここでは、第1の色データと該第1の色データを変換した第2の色データとを対応付けて色変換データ対とし、予め定められた数の色変換データ対を含む第2色変換テーブルを作成する。色変換データ対は、例えば図11で示したように第1の色データの各色成分について、それぞれ予め定めた間隔で分割した場合の格子点において求めればよい。 FIG. 1 is a configuration diagram showing an embodiment of the present invention. In the figure, 1 is a first color conversion table generating unit, 2 is an area specifying unit, 3 is a color conversion data pair adding unit, and 4 is a second color conversion table generating unit. Here, the first color data and the second color data obtained by converting the first color data are associated with each other to form a color conversion data pair, and a second color conversion including a predetermined number of color conversion data pairs Create a table. For example, as shown in FIG. 11, the color conversion data pair may be obtained at the grid points when the color components of the first color data are divided at predetermined intervals.
第1色変換テーブル生成部1は、作成する第2色変換テーブルよりも少ない色変換データ対を含む第1色変換テーブルを生成する。第1色変換テーブルに含める色変換データ対は、例えば第2色変換テーブルに含める格子点のうち、一部の格子点の色変換データ対とするとよい。もちろん、第2色変換テーブルと格子点が異なる第1色変換テーブルを生成してもよい。また、明度により格子点を間引いて第1の色データの間隔を変更し、明度の変化が目立たない領域において色変換データ対を生成しないようにするなど、領域に応じた色変換データ対を求めて第1色変換テーブルに登録してもよい。
The first color conversion
この第1色変換テーブルに含まれる色変換データ対の求め方としては公知の方法を用いればよく、例えば、ある入出力機器に対して実際に与えた色と得られた色との対を用い、色変換モデルを作成して、その色変換モデルに格子点となる第1の色データを与えて第2の色データを得ればよい。この色変換データ対を求める処理は、計算量および処理時間を要する。なお、第1色変換テーブルが既に存在する場合には、この第1色変換テーブル生成部1を設けずに構成してもよい。
A known method may be used as a method of obtaining the color conversion data pair included in the first color conversion table. For example, a pair of a color actually given to a certain input / output device and the obtained color is used. Then, a color conversion model is created, and first color data to be grid points is given to the color conversion model to obtain second color data. The process for obtaining the color conversion data pair requires a calculation amount and a processing time. If the first color conversion table already exists, the first color conversion
領域特定部2は、第1色変換テーブルについて、色変換データ対を追加して色変換精度の向上を図る色領域を特定する。例えば、2つの第2の色データの変化量に従って、色変換データ対を追加する色領域を特定するとよい。より具体的には、格子点間の第2の色データの差が予め定められた値より大きい場合に、色変換データ対を追加する色領域と判断するとよい。また、例えば2つの第2の色データのうちの一方が、第2の色データを構成する少なくとも1つの色成分の値が最小値または最大値であるか否かにより、色変換データ対を追加する色領域を特定するとよい。さらに、色域外郭を含む領域は色変換精度が要求されるので、このような場合にも色変換データ対を追加する色領域として特定するとよい。
The
色変換データ対追加部3は、領域特定部2で特定された色領域において、色変換データ対を第1の色変換テーブルに追加する。上述のように領域特定部2で特定された色領域は、次の第2色変換テーブル作成部4で行う補間処理では色変換精度が得られないと推定されるので、この領域に色変換データ対を追加することにより色変換精度の向上を図る。追加する色変換データ対は、例えば第1色変換テーブル生成部1で第1色変換テーブルの生成に用いた手法を適用すればよい。第1色変換テーブル生成部1を設けない場合も、第1色変換テーブル生成部1で例示した手法などを用いて色変換データ対を求めればよい。
The color conversion data
第2色変換テーブル作成部4は、色変換データ対追加部3により色変換データ対を追加した第1色変換テーブルをもとに、補間により予め定められた数の色変換データ対を含む第2色変換テーブルを作成する。これにより、所望の色変換テーブルが得られることになる。
The second color conversion
図2は、本発明の実施の一形態における動作の一例を示す流れ図、図3は、第1の色データの色空間において各色変換テーブルに登録する色変換データ対の一例の説明図である。ここでは、図3(C)に黒丸で示す格子点について、第1の色データとその第1の色データに対応する第2の色データとの色変換データ対を含む第2色変換テーブルを得るものとする。なお、図3では第1の色データの色空間がCIELAB色空間であるものとして図示しているが、第1の色データの色空間はこの例に限られるものではない。 FIG. 2 is a flowchart showing an example of the operation in the embodiment of the present invention, and FIG. 3 is an explanatory diagram of an example of the color conversion data pair registered in each color conversion table in the color space of the first color data. Here, a second color conversion table including a color conversion data pair of the first color data and the second color data corresponding to the first color data for the lattice points indicated by black circles in FIG. To get. In FIG. 3, the color space of the first color data is illustrated as being the CIELAB color space, but the color space of the first color data is not limited to this example.
S51において、第2色変換テーブルよりも色変換データ対の個数が少ない第1色変換テーブルを用意する。例えば、第1色変換テーブル生成部1において生成すればよい。ここでは一例として、図3(A)に黒丸で示す格子点について、第1の色データとその第1の色データに対応する第2の色データとの色変換データ対が第1色変換テーブルに登録されているものとする。
In S51, a first color conversion table having a smaller number of color conversion data pairs than the second color conversion table is prepared. For example, it may be generated by the first color conversion
S52において、領域特定部2は、S51で用意した第1色変換テーブルについて、色変換データ対を追加する色領域を特定する。この具体例については後述する。そしてS53において、色変換データ対追加部3は、領域特定部2で特定された色領域において、色変換データ対を第1色変換テーブルに追加する。図3(B)においては、白丸を含む色領域について領域特定部2が色変換データ対を追加すると特定したものとし、色変換データ対追加部3が白丸で示す第1の色データについて、対応する色変換データ対を追加したものとしている。
In S52, the
S54において、第2色変換テーブル作成部4は、S53で色変換データ対を追加した後の第1色変換テーブルをもとに、補間により予め定められた数の色変換データ対を含む第2色変換テーブルを作成する。図3に示した例では、図3(B)に黒丸と白丸で示す第1の色データに対応する色変換データ対をもとに、図3(C)に黒丸で示した第1の色データにおける第2の色データを補間により計算し、第1の色データと第2の色データとの色変換データ対を求めて、第2色変換テーブルを作成することになる。
In S54, the second color conversion
計算量及び処理時間を要する処理は、図3(B)に示す白丸、あるいは黒丸と白丸で示した第1の色データに対応する色変換データ対を求める処理であり、この処理に比べて補間処理は計算量及び処理時間を要しない。従って、図3(C)に黒丸で示す第1の色データに対応する色変換データ対をそれぞれ求めてゆく場合に比べて、本発明の実施の一形態によれば計算量及び処理時間は低減することになる。また、色変換データ対を追加する色領域には色変換データ対を追加していることから、第2色変換テーブルを使用した色変換処理は精度よく行われることになる。 Processing that requires a calculation amount and processing time is processing for obtaining a color conversion data pair corresponding to the first color data indicated by the white circles or black circles and white circles shown in FIG. Processing does not require calculation amount and processing time. Therefore, according to the embodiment of the present invention, the calculation amount and the processing time are reduced as compared with the case where the color conversion data pairs corresponding to the first color data indicated by the black circles in FIG. Will do. In addition, since the color conversion data pair is added to the color region to which the color conversion data pair is added, the color conversion processing using the second color conversion table is performed with high accuracy.
領域特定部2及び色変換データ対追加部3の処理についてさらに説明する。図4、図5は、第2の色データの差による領域判定処理の一例の説明図である。ここでは第2の色データの色空間をCMYKとし、第1の色データの色空間における位置を横軸とし、その位置での第2の色データの値を縦軸として、両者の関係を示している。図中の黒丸は第1色変換テーブルに登録されている色変換データ対の第2の色データの値を示している。また、二重丸は補間によって求められる第2の色データの値を示し、白丸は色変換データ対追加部3で色変換データ対を追加した場合の第2の色データの値を示している。
The processing of the
例えば隣接する2つの格子点の色変換データ対について、その第2の色データの差を求める。図4(A)に示す例では、黒丸で示す第2の色データの値の差が予め設定した値より小さい場合を示している。黒丸で示す2つの位置の中間の位置においては、補間により第2の色データの値を求めると二重丸で示す値となり、色変換データ対を求めた場合の第2の色データの値は白丸で示す値となる。この場合、補間によって第2の色データの値を求めても、色変換精度の低下を引き起こすことはない。従って、この領域は色変換精度が保たれる領域と判断し、色変換データ対追加部3による色変換データ対の追加は行わない。
For example, the difference of the second color data is obtained for the color conversion data pairs of two adjacent grid points. The example shown in FIG. 4A shows a case where the difference in the values of the second color data indicated by black circles is smaller than a preset value. When the value of the second color data is obtained by interpolation at the intermediate position between the two positions indicated by the black circles, the value indicated by the double circle is obtained. When the color conversion data pair is obtained, the value of the second color data is The value is indicated by a white circle. In this case, even if the value of the second color data is obtained by interpolation, the color conversion accuracy is not lowered. Therefore, this area is determined to be an area where the color conversion accuracy is maintained, and the color conversion data
図4(B)に示す例では、黒丸で示す第2の色データの値の差が予め設定した値より大きい場合を示している。黒丸で示す2つの位置の中間の位置においては、補間により第2の色データの値を求めると二重丸で示す値となり、色変換データ対を求めた場合の第2の色データの値は白丸で示す値となる。この場合、補間によって求められる第2の色データの値と、色変換データ対を求めた場合の第2の色データの値とは乖離しており、色の違いが認識される恐れがある。このような場合には、この領域は色変換データ対を追加する領域と判断し、色変換データ対追加部3による色変換データ対の追加を行う。追加する色変換データ対は、例えば図4(B)に白丸で示しているように、判定対象とした色変換データ対の第1の色データの中間などに第1の色データを設定して得ればよい。もちろん、中間以外の第1の色データに対応する色変換データ対を追加してもよい。例えば、第2の色データの値の差に応じて追加する色変換データ対の個数を変更してもよい。また、上述のように第1の色データの中間の位置に追加した後、追加した色変換データ対を含めて再度の領域判断及び色変換データ対の追加を再帰的に行うように構成してもよい。
The example shown in FIG. 4B shows a case where the difference between the values of the second color data indicated by black circles is larger than a preset value. When the value of the second color data is obtained by interpolation at the intermediate position between the two positions indicated by the black circles, the value indicated by the double circle is obtained. When the color conversion data pair is obtained, the value of the second color data is The value is indicated by a white circle. In this case, the value of the second color data obtained by interpolation is different from the value of the second color data when the color conversion data pair is obtained, and there is a possibility that a difference in color is recognized. In such a case, it is determined that this area is an area to which a color conversion data pair is added, and the color conversion data
なお、第2の色データの差としては、色差を用いるほか、第2の色データの各色成分についてそれぞれの差を用いてもよい。各色成分についての差を用いる場合、差が予め設定した値より大きい色成分が1つでも存在していれば、その領域に色変換データ対を追加するように構成するとよい。 Note that, as the difference between the second color data, a color difference may be used, and each difference may be used for each color component of the second color data. In the case of using a difference for each color component, it is preferable that a color conversion data pair is added to the area if even one color component having a difference larger than a preset value exists.
図5に示す例では、第2の色データの一方が最大値である場合を示している。色変換に際しては、第1の色データの色範囲と第2の色データの色範囲が異なる場合がある。このような場合、第1の色データの変化に応じて図中の太い点線で示すように第2の色データも変化することが想定されるが、第2の色データの色範囲の制限から第2の色データが最大値で制限されてしまう。 In the example shown in FIG. 5, the case where one of the second color data has the maximum value is shown. In color conversion, the color range of the first color data may be different from the color range of the second color data. In such a case, it is assumed that the second color data also changes as indicated by the thick dotted line in the figure in accordance with the change in the first color data. However, due to the limitation of the color range of the second color data. The second color data is limited by the maximum value.
図5はこのような状態を示しており、黒丸で示す2つの第2の色データのうち、一方が最大値となっている。この場合に黒丸で示す2つの位置の中間の位置においては、補間により第2の色データの値を求めると二重丸で示す値となり、色変換データ対を求めた場合の第2の色データの値は白丸で示す値となる。この例では、白丸で示す色変換データ対を求めた場合の第2の色データの値も最大値となっている。 FIG. 5 shows such a state, and one of the two second color data indicated by black circles has a maximum value. In this case, when the value of the second color data is obtained by interpolation at the middle position between the two positions indicated by the black circles, the value indicated by the double circle is obtained, and the second color data when the color conversion data pair is obtained is obtained. The value of is a value indicated by a white circle. In this example, the value of the second color data when the color conversion data pair indicated by the white circle is obtained is also the maximum value.
このように比較する2つの第2の色データの値の一方が最大値の場合には、色変化の傾向が変わる領域であることから、色変換データ対を追加する領域と判断し、色変換データ対追加部3による色変換データ対の追加を行う。追加する色変換データ対としては、第2の色データの値が最大値となる境界の点における色変換データ対とすることが望ましいが、図5でも示しているように判定対象とした色変換データ対の第1の色データの中間などに第1の色データを設定して色変換データ対を得ればよい。もちろんこの場合にも、色変換データ対を複数追加してもよいし、再帰的に領域判定と色変換データ対の追加処理を行ってもよい。また、第2の色データの値が最大値か否かは、第2の色データを構成する色成分の1つでも最大値であれば、第2の色データの値は最大値であると判定すればよい。ここでは2つの第2の色データの値の一方が最大値の場合について説明したが、2つの第2の色データの値の一方が最小値の場合についても、色変換データ対を追加する領域と判断し、色変換データ対追加部3による色変換データ対の追加を行うとよい。
When one of the two second color data values to be compared is the maximum value, the color change tendency is changed. Therefore, it is determined that the color conversion data pair is added and the color conversion is performed. The data
図6は、明度に応じた色変換データ対の追加処理を行った一例の説明図である。例えば、明度に応じて色変換データ対を追加する領域を特定し、その領域に色変換データ対を追加してもよい。図6に示す例では、予め定められた第1の明度以上の色領域や、第1の明度より低い予め定められた第2の明度以下の色領域については、色変換データ対を追加する領域として判断して色変換データ対を追加してもよい。第1の明度以上の色領域は、色の変化が目立ちやすく、色変換精度が求められる色領域である。また、第2の明度以下の色領域は、第2の色データの各色成分の値を決定する際に色変換精度が要求される色領域である。 FIG. 6 is an explanatory diagram of an example in which processing for adding a color conversion data pair according to lightness is performed. For example, an area to which a color conversion data pair is to be added may be specified according to lightness, and the color conversion data pair may be added to that area. In the example illustrated in FIG. 6, a color conversion data pair is added to a color area having a predetermined first brightness or higher, or a color area having a second brightness lower than the first brightness. As a result, a color conversion data pair may be added. The color region having the first brightness or more is a color region in which color change is conspicuous and color conversion accuracy is required. The color area below the second lightness is a color area that requires color conversion accuracy when determining the value of each color component of the second color data.
このように第1の明度以上の色領域、第2の明度以下の色領域について色変換データ対を追加するほか、明度に応じて色変換データ対の追加割合を変更するように構成してもよい。 As described above, the color conversion data pair is added to the color area having the first lightness or higher and the color area having the second lightness or lower, and the addition ratio of the color conversion data pair may be changed according to the lightness. Good.
図7は、第2の色データの色域外郭について色変換データ対の追加処理を行った一例の説明図である。上述の第2の色データの値が最大値の場合が含まれるが、第2の色データによって再現される色再現域の外郭については、色変換精度が求められることから、色変換データ対を追加する領域として判断して色変換データ対を追加するとよい。図7に示す例では、第1の色データの色空間における、ある色相角での断面を示しており、破線が第2の色データによって再現される色再現域を第1の色データの色空間で示した場合の外郭である。この外郭が2つの色変換データ対の間に存在する場合には、色変換データ対を追加する領域として判断し、図7(B)に白丸で示すように色変換データ対を追加するとよい。 FIG. 7 is an explanatory diagram of an example in which color conversion data pair addition processing is performed on the color gamut outline of the second color data. Although the case where the value of the second color data is the maximum value is included, since the color conversion accuracy is required for the outline of the color reproduction range reproduced by the second color data, the color conversion data pair is A color conversion data pair may be added as a region to be added. In the example shown in FIG. 7, a cross section at a certain hue angle in the color space of the first color data is shown, and a broken line represents a color reproduction range reproduced by the second color data. This is the outline when shown in space. When this outline exists between two color conversion data pairs, it is determined that the color conversion data pair is to be added, and the color conversion data pair may be added as indicated by a white circle in FIG. 7B.
このほかにも、種々の条件により色変換データ対を追加する領域を特定し、色変換データ対を追加するように構成してもよい。 In addition to this, it is also possible to specify a region to which a color conversion data pair is added under various conditions and add the color conversion data pair.
図8は、本発明の実施の一形態の変形例を示す構成図である。上述の説明では、第1色変換テーブル生成部1で第1色変換テーブルを生成した後に、領域の判定を行って必要な色変換データを追加した。この変形として、第1色変換テーブル生成部1で第1色変換テーブルを生成する際に、予め分かっている色変換精度が要求される領域については、色変換データ対を生成しておくことが考えられる。例えば図6に示した例のように明度に応じて色変換データ対の数を追加する場合には、第1色変換テーブル生成部1で第1色変換テーブルを生成する際に、明度に応じた数の色変換データ対を生成すればよい。また、例えば図7に示した例のように色域外郭がある程度分かっているのであれば、その周辺に色変換データ対を増やして第1色変換テーブルを生成してもよい。
FIG. 8 is a block diagram showing a modification of the embodiment of the present invention. In the above description, after the first color conversion
このように第1色変換テーブル生成部1で生成した第1色変換テーブルに、予め分かっている色変換精度が要求される領域について追加する色変換データ対が含まれていれば、例えば図1に示した構成でも領域特定部2及び色変換データ対追加部3を動作させないように構成してもよい。
In this way, if the first color conversion table generated by the first color conversion
図9は、得られた色変換テーブルを用いて色変換処理を行う一応用例を示す構成図である。図中、11は色変換部、12は色変換テーブルである。ここでは、色変換テーブル12として上述した構成及びその変形例で作成した第2色変換テーブルを使用する。 FIG. 9 is a configuration diagram illustrating an application example in which color conversion processing is performed using the obtained color conversion table. In the figure, 11 is a color conversion unit, and 12 is a color conversion table. Here, as the color conversion table 12, the second color conversion table created in the above-described configuration and its modification is used.
色変換部11は、色変換テーブル12を用いて、入力された第1の色信号を第2の色信号に色変換する。より具体的には、第1の色信号をもとに色変換テーブル12から1または複数の変換後の色信号を得て、複数の変換後の色信号を得た場合には補間処理を行い、第2の色信号とすればよい。例えば、プリンタ、複写機、ファクシミリ装置などにこの構成を搭載し、色変換を行うように構成してもよい。 The color conversion unit 11 uses the color conversion table 12 to color-convert the input first color signal into a second color signal. More specifically, one or more converted color signals are obtained from the color conversion table 12 based on the first color signal, and interpolation processing is performed when a plurality of converted color signals are obtained. The second color signal may be used. For example, this configuration may be installed in a printer, a copier, a facsimile machine, or the like to perform color conversion.
図10は、本発明の実施の一形態またはその変形例、応用例で説明した機能をコンピュータプログラムで実現した場合におけるコンピュータプログラム及びそのコンピュータプログラムを格納した記憶媒体とコンピュータの一例の説明図である。図中、21はプログラム、22はコンピュータ、31は光磁気ディスク、32は光ディスク、33は磁気ディスク、34はメモリ、41はCPU、42は内部メモリ、43は読取部、44はハードディスク、45はインタフェース、46は通信部である。
FIG. 10 is an explanatory diagram of an example of a computer program, a storage medium storing the computer program, and an example of a computer when the functions described in the embodiment of the present invention or its modifications and application examples are realized by a computer program. . In the figure, 21 is a program, 22 is a computer, 31 is a magneto-optical disk, 32 is an optical disk, 33 is a magnetic disk, 34 is a memory, 41 is a CPU, 42 is an internal memory, 43 is a reading unit, 44 is a hard disk, 45 is An
上述の本発明の実施の一形態またはその変形例、応用例で説明した各部の機能の一部または全部を、コンピュータにより実行可能なプログラム21によって実現してもよい。その場合、そのプログラム21およびそのプログラムが用いるデータ、作成された色変換テーブルのデータなどは、コンピュータが読み取り可能な記憶媒体に記憶させておけばよい。記憶媒体とは、コンピュータのハードウェア資源に備えられている読取部43に対して、プログラムの記述内容に応じて、磁気、光、電気等のエネルギーの変化状態を引き起こして、それに対応する信号の形式で、読取部43にプログラムの記述内容を伝達するものである。例えば、光磁気ディスク31,光ディスク32(CDやDVDなどを含む)、磁気ディスク33,メモリ34(ICカード、メモリカードなどを含む)等である。もちろんこれらの記憶媒体は、可搬型に限られるものではない。
A part or all of the functions of the units described in the above-described embodiment of the present invention, the modified example thereof, and the application example may be realized by a
これらの記憶媒体にプログラム21を格納しておき、例えばコンピュータ22の読取部43あるいはインタフェース45にこれらの記憶媒体を装着することによって、コンピュータからプログラム21を読み出し、内部メモリ42またはハードディスク44に記憶し、CPU41によってプログラム21を実行することによって、上述の本発明の実施の一形態またはその変形例、応用例で説明した機能の一部又は全部が実現される。あるいは、通信路を介してプログラム21をコンピュータ22に転送し、コンピュータ22では通信部46でプログラム21を受信して内部メモリ42またはハードディスク44に記憶し、CPU41によってプログラム21を実行することによって実現してもよい。
The
コンピュータ22には、このほかインタフェース45を介して様々な装置と接続してもよい。例えば情報を表示する表示手段やユーザからの情報を受け付ける受付手段等も接続されていてもよい。また、例えば画像形成手段がインタフェース45を介して接続された構成でもよい。
In addition, the
1…第1色変換テーブル生成部、2…領域特定部、3…色変換データ対追加部、4…第2色変換テーブル作成部、11…色変換部、12…色変換テーブル、21…プログラム、22…コンピュータ、31…光磁気ディスク、32…光ディスク、33…磁気ディスク、34…メモリ、41…CPU、42…内部メモリ、43…読取部、44…ハードディスク、45…インタフェース、46…通信部。
DESCRIPTION OF
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008272896A JP2010103733A (en) | 2008-10-23 | 2008-10-23 | Color conversion table generating device, color conversion table, and image processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008272896A JP2010103733A (en) | 2008-10-23 | 2008-10-23 | Color conversion table generating device, color conversion table, and image processing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010103733A true JP2010103733A (en) | 2010-05-06 |
Family
ID=42293969
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008272896A Pending JP2010103733A (en) | 2008-10-23 | 2008-10-23 | Color conversion table generating device, color conversion table, and image processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010103733A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8917050B2 (en) | 2011-02-16 | 2014-12-23 | Mitsubishi Electric Corporation | Power inverter and electric power steering controller |
JP2017527860A (en) * | 2015-05-15 | 2017-09-21 | ヒューレット−パッカード デベロップメント カンパニー エル.ピー.Hewlett‐Packard Development Company, L.P. | Printer cartridge and storage device including compressed multi-dimensional color table |
-
2008
- 2008-10-23 JP JP2008272896A patent/JP2010103733A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8917050B2 (en) | 2011-02-16 | 2014-12-23 | Mitsubishi Electric Corporation | Power inverter and electric power steering controller |
JP2017527860A (en) * | 2015-05-15 | 2017-09-21 | ヒューレット−パッカード デベロップメント カンパニー エル.ピー.Hewlett‐Packard Development Company, L.P. | Printer cartridge and storage device including compressed multi-dimensional color table |
US10237451B2 (en) | 2015-05-15 | 2019-03-19 | Hewlett-Packard Development Company, L.P. | Printer cartridges and memory devices containing compressed multi-dimensional color tables |
US10412269B2 (en) | 2015-05-15 | 2019-09-10 | Hewlett-Packard Development Company, L.P. | Printer cartridges and memory devices containing compressed multi-dimensional color tables |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2010034683A (en) | Image processing apparatus, and program | |
US9536183B2 (en) | Image processing device and image processing method | |
JP2010103733A (en) | Color conversion table generating device, color conversion table, and image processing apparatus | |
JP5200786B2 (en) | Difference extraction apparatus and difference extraction program | |
JP4840614B2 (en) | Image processing apparatus and image processing program | |
JP2007166562A (en) | Color conversion apparatus and method, color conversion program, and storage medium | |
JP5725276B2 (en) | Binarization processing apparatus, image processing apparatus, binarization processing program, image processing program | |
JP2013055465A (en) | Image processing device and image processing program | |
JP4849275B2 (en) | Color conversion device, color conversion table generation device, image processing device, profile generation device, color conversion program, color conversion table generation program, image processing program, profile generation program | |
JP2007288489A (en) | Unit and method for white point adjustment, unit and method for color conversion, white point adjustment program, color conversion program, and recording medium | |
JP6414423B2 (en) | Output processing system, output processing device, and output processing program | |
JP4490327B2 (en) | Output device, color conversion method, and program | |
JP4973896B2 (en) | Color gamut outline calculation device, color gamut outline calculation program | |
JP2007300495A (en) | Image processor and image processing program | |
JP5494931B2 (en) | Color conversion device, image signal pair storage device, image processing device, image forming device, color conversion processing program, image processing program | |
JP6575746B2 (en) | Image processing apparatus, image processing program, and image forming apparatus | |
JP2013070191A (en) | Image processor and image processing program | |
JP5939132B2 (en) | Image processing apparatus and image processing program | |
JP4217888B2 (en) | Profile conversion apparatus and profile conversion method, color conversion apparatus, color conversion method, image forming apparatus, profile conversion processing program, color conversion processing program, and storage medium | |
JP2012080335A (en) | Correction characteristic acquisition device, correction characteristic acquisition program, image correction device, and image forming device | |
JP2014093592A (en) | Image processing device and image processing program | |
JP5692554B1 (en) | Color conversion apparatus and color conversion program | |
JP2016038655A (en) | Image processor, image forming apparatus and program | |
JP5892313B2 (en) | Color processing apparatus and color processing program | |
JP4923914B2 (en) | Image processing apparatus and image processing program |