JP5939132B2 - Image processing apparatus and image processing program - Google Patents
Image processing apparatus and image processing program Download PDFInfo
- Publication number
- JP5939132B2 JP5939132B2 JP2012242850A JP2012242850A JP5939132B2 JP 5939132 B2 JP5939132 B2 JP 5939132B2 JP 2012242850 A JP2012242850 A JP 2012242850A JP 2012242850 A JP2012242850 A JP 2012242850A JP 5939132 B2 JP5939132 B2 JP 5939132B2
- Authority
- JP
- Japan
- Prior art keywords
- color gamut
- color
- image signal
- image
- point
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、画像処理装置及び画像処理プログラムに関する。 The present invention relates to an image processing apparatus and an image processing program.
特許文献1には、入力色域の全てを出力色域にマッピングするマッピング方法は、実際には使用されていない色域までも出力色域にマッピングすることになり、必要以上に彩度の低下や階調の潰れを発生させることを課題とし、入力デバイスに対応する入力色域データを取得し、設定し、次に、入力デバイスに対応する使用色域データを取得し、設定し、次に、出力デバイスに対応する出力色域データを取得し、設定し、次に、設定した入力色域データ及び使用色域データに基づき、入力画像を使用色域にマッピングし、次に、設定した使用色域データ及び出力色域データに基づき、使用色域にマッピングした画像を出力色域にマッピングすることが開示されている。
In
特許文献2には、大きさの異なる色域の間でカラーデータを変換する際に、色の欠落、画像全体の明度変動、階調潰れを防止し、表示画像と印刷画像で全体としての見た目が変わらないよう変換することを課題とし、仮想色域導出過程は、第2色域の明度、彩度及び又は色相角度を変換し、少なくとも第1色域の明度を全て含む拡張した仮想色域を導出し、カラーデータ変更過程は、第1色域のカラーデータのうち仮想色域に含まれないカラーデータに対して、明度、彩度、色相角度を変更し、仮想色域に含まれる第3カラーデータを導出し、カラーデータ生成過程は、第3カラーデータに対して、仮想色域導出過程で第2色域に対して行われた変換と逆になる変換を行って第2カラーデータを生成することが開示されている。
In
本発明は、第2の色域が第1の色域よりも高い明度を表現可能な領域がある場合にあって、第1の画像信号における階調特性が第2の画像信号で維持できなくなることを防止するようにした画像処理装置及び画像処理プログラムを提供することを目的としている。 According to the present invention, when there is an area where the second color gamut can express a higher brightness than the first color gamut, the gradation characteristics in the first image signal cannot be maintained in the second image signal. An object of the present invention is to provide an image processing apparatus and an image processing program that can prevent this.
かかる目的を達成するための本発明の要旨とするところは、次の各項の発明に存する。
請求項1の発明は、第1の画像機器によって扱われる第1の画像信号を予め定められた色空間の画像信号に変換する第1の変換手段と、第1の画像機器が表現し得る第1の色域を示す第1の色域情報と第2の画像機器が表現し得る第2の色域を示す第2の色域情報に基づいて、前記第1の変換手段によって変換処理された画像信号を補正する補正手段と、前記補正手段によって補正処理された画像信号を前記第2の色域内に写像する写像手段と、前記写像手段によって写像処理された画像信号を前記第2の画像機器によって扱われる第2の画像信号に変換する第2の変換手段を具備し、前記補正手段は、前記第1の色域と前記第2の色域が交差する点を抽出し、該交差する点よりも明度が高い領域における該第1の色域と該第2の色域の間の距離に基づいて、該第2の色域よりも明度が高くなる側に制御点を生成し、該制御点を通るように画像信号を補正することを特徴とする画像処理装置である。
The gist of the present invention for achieving the object lies in the inventions of the following items.
According to the first aspect of the present invention, a first conversion unit that converts a first image signal handled by the first image device into an image signal of a predetermined color space, and a first image device that can be expressed by the first image device. Based on the first color gamut information indicating the first color gamut and the second color gamut information indicating the second color gamut that can be expressed by the second image device, the conversion processing is performed by the first conversion unit. Correction means for correcting the image signal, mapping means for mapping the image signal corrected by the correction means into the second color gamut, and image signal processed by the mapping means for the second image device The second conversion means for converting into a second image signal handled by the correction means, wherein the correction means extracts a point where the first color gamut and the second color gamut intersect, and the intersection point Between the first color gamut and the second color gamut in a lighter area than Based on the distance, than the second color gamut to generate a control point on a side brightness is high, an image processing apparatus characterized by correcting the image signal so as to pass through the control points.
請求項2の発明は、前記第2の画像機器は、基本色と該基本色以外の色の色材によって画像を表現するものであることを特徴とする請求項1に記載の画像処理装置である。 According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the second image device represents an image with a basic color and a color material of a color other than the basic color. is there.
請求項3の発明は、前記補正手段は、前記第1の色域又は前記第2の色域の最大彩度の点よりも明度が高い領域であって、同じ彩度において前記第2の色域の明度が前記第1の色域の明度よりも高い領域がある場合又は同じ明度において前記第2の色域の彩度が前記第1の色域の彩度よりも高い領域がある場合に、前記補正を行うことを特徴とする請求項1又は2に記載の画像処理装置である。
According to a third aspect of the present invention, the correction means is a region having a lightness higher than the maximum saturation point of the first color gamut or the second color gamut, and the second color at the same saturation. When there is a region where the lightness of the gamut is higher than the lightness of the first color gamut, or when there is a region where the saturation of the second color gamut is higher than the saturation of the first color gamut at the same lightness The image processing apparatus according to
請求項4の発明は、前記補正手段は、前記第1の色域と前記第2の色域が交差する点を抽出し、該交差する点よりも明度が高い領域における前記基本色による色域と該第2の色域の間の距離に基づいて、該第2の色域よりも明度が高くなる側に制御点を生成し、該制御点を通るように画像信号を補正することを特徴とする請求項2又は請求項2に従属する請求項3に記載の画像処理装置である。
According to a fourth aspect of the present invention, the correcting means extracts a point where the first color gamut and the second color gamut intersect, and a color gamut based on the basic color in a region having a higher brightness than the intersecting point. And a control point is generated on the side having higher brightness than the second color gamut based on the distance between the second color gamut and the image signal is corrected so as to pass through the control point. An image processing apparatus according to
請求項5の発明は、第1の画像機器によって扱われる第1の画像信号を予め定められた色空間の画像信号に変換する第1の変換手段と、第1の画像機器が表現し得る第1の色域を示す第1の色域情報と第2の画像機器が表現し得る第2の色域を示す第2の色域情報に基づいて、前記第1の変換手段によって変換処理された画像信号を補正する補正手段と、前記補正手段によって補正処理された画像信号を前記第2の色域内に写像する写像手段と、前記写像手段によって写像処理された画像信号を前記第2の画像機器によって扱われる第2の画像信号に変換する第2の変換手段を具備し、前記第2の画像機器は、基本色と該基本色以外の色の色材によって画像を表現するものであり、前記補正手段は、前記第1の色域と前記第2の色域が交差する点を抽出し、該交差する点よりも明度が高い領域における前記基本色による色域と該第2の色域の間の距離に基づいて、該第2の色域よりも明度が高くなる側に制御点を生成し、該制御点を通るように画像信号を補正することを特徴とする画像処理装置である。
請求項6の発明は、前記補正手段は、前記第1の色域又は前記第2の色域の最大彩度の点よりも明度が高い領域であって、同じ彩度において前記第2の色域の明度が前記第1の色域の明度よりも高い領域がある場合又は同じ明度において前記第2の色域の彩度が前記第1の色域の彩度よりも高い領域がある場合に、前記補正を行うことを特徴とする請求項5に記載の画像処理装置である。
請求項7の発明は、前記補正手段は、前記第1の色域と前記第2の色域が交差する点を抽出し、該交差する点よりも明度が高い領域における該第1の色域と該第2の色域の間の距離に基づいて、該第2の色域よりも明度が高くなる側に制御点を生成し、該制御点を通るように画像信号を補正することを特徴とする請求項5又は6に記載の画像処理装置である。
The invention according to
According to a sixth aspect of the present invention, the correction means is a region having a lightness higher than a point of maximum saturation of the first color gamut or the second color gamut, and the second color at the same saturation. When there is a region where the lightness of the gamut is higher than the lightness of the first color gamut, or when there is a region where the saturation of the second color gamut is higher than the saturation of the first color gamut at the same lightness The image processing apparatus according to
According to a seventh aspect of the present invention, the correction means extracts a point where the first color gamut and the second color gamut intersect, and the first color gamut in a region having a higher brightness than the intersecting point. And a control point is generated on the side having higher brightness than the second color gamut based on the distance between the second color gamut and the image signal is corrected so as to pass through the control point. An image processing apparatus according to
請求項8の発明は、前記補正手段は、前記第2の画像信号を補正することを特徴とする請求項1から7のいずれか一項に記載の画像処理装置である。
The invention according to
請求項9の発明は、前記補正手段は、色変換補正係数を生成することを特徴とする請求項1から8のいずれか一項に記載の画像処理装置である。
The invention according to claim 9 is the image processing apparatus according to any one of
請求項10の発明は、コンピュータを、第1の画像機器によって扱われる第1の画像信号を予め定められた色空間の画像信号に変換する第1の変換手段と、第1の画像機器が表現し得る第1の色域を示す第1の色域情報と第2の画像機器が表現し得る第2の色域を示す第2の色域情報に基づいて、前記第1の変換手段によって変換処理された画像信号を補正する補正手段と、前記補正手段によって補正処理された画像信号を前記第2の色域内に写像する写像手段と、前記写像手段によって写像処理された画像信号を前記第2の画像機器によって扱われる第2の画像信号に変換する第2の変換手段として機能させ、前記補正手段は、前記第1の色域と前記第2の色域が交差する点を抽出し、該交差する点よりも明度が高い領域における該第1の色域と該第2の色域の間の距離に基づいて、該第2の色域よりも明度が高くなる側に制御点を生成し、該制御点を通るように画像信号を補正することを特徴とする画像処理プログラムである。
請求項11の発明は、コンピュータを、第1の画像機器によって扱われる第1の画像信号を予め定められた色空間の画像信号に変換する第1の変換手段と、第1の画像機器が表現し得る第1の色域を示す第1の色域情報と第2の画像機器が表現し得る第2の色域を示す第2の色域情報に基づいて、前記第1の変換手段によって変換処理された画像信号を補正する補正手段と、前記補正手段によって補正処理された画像信号を前記第2の色域内に写像する写像手段と、前記写像手段によって写像処理された画像信号を前記第2の画像機器によって扱われる第2の画像信号に変換する第2の変換手段として機能させ、前記第2の画像機器は、基本色と該基本色以外の色の色材によって画像を表現するものであり、前記補正手段は、前記第1の色域と前記第2の色域が交差する点を抽出し、該交差する点よりも明度が高い領域における前記基本色による色域と該第2の色域の間の距離に基づいて、該第2の色域よりも明度が高くなる側に制御点を生成し、該制御点を通るように画像信号を補正することを特徴とする画像処理プログラムである。
According to a tenth aspect of the present invention, the first image device expresses the first conversion means for converting the first image signal handled by the first image device into an image signal of a predetermined color space. Conversion by the first conversion means based on the first color gamut information indicating the first color gamut that can be performed and the second color gamut information indicating the second color gamut that can be expressed by the second image device. Correction means for correcting the processed image signal; mapping means for mapping the image signal corrected by the correction means into the second color gamut; and image signal processed by the mapping means for the second image signal. Functioning as second conversion means for converting into a second image signal handled by the image equipment, and the correction means extracts a point where the first color gamut and the second color gamut intersect, The first in a region that is lighter than the intersecting point A control point is generated on the side having higher brightness than the second color gamut based on the distance between the color gamut and the second color gamut, and the image signal is corrected so as to pass through the control point. This is a featured image processing program.
According to the eleventh aspect of the present invention, the first image device expresses the computer by means of first conversion means for converting the first image signal handled by the first image device into an image signal of a predetermined color space. Conversion by the first conversion means based on the first color gamut information indicating the first color gamut that can be performed and the second color gamut information indicating the second color gamut that can be expressed by the second image device. Correction means for correcting the processed image signal; mapping means for mapping the image signal corrected by the correction means into the second color gamut; and image signal processed by the mapping means for the second image signal. The second image device functions as a second conversion means for converting into a second image signal handled by the image device, and the second image device expresses an image with a basic color and a color material of a color other than the basic color. And the correction means includes the first color gamut. A point where the second color gamut intersects is extracted, and the second color gamut is extracted based on a distance between the color gamut based on the basic color and the second color gamut in a region having a higher brightness than the intersecting point. An image processing program is characterized in that a control point is generated on the side where brightness is higher than a color gamut, and an image signal is corrected so as to pass through the control point.
請求項1の画像処理装置によれば、第2の色域が第1の色域よりも高い明度を表現可能な領域がある場合にあって、第1の画像信号における階調特性が第2の画像信号で維持できなくなることを防止することができる。また、第2の色域よりも明度と彩度が高くなるように画像信号を補正することができる。 According to the image processing apparatus of the first aspect, when there is a region in which the second color gamut can express higher brightness than the first color gamut, the gradation characteristic in the first image signal is the second. It is possible to prevent the image signal from becoming unsustainable. In addition, the image signal can be corrected so that the brightness and the saturation are higher than those in the second color gamut.
請求項2の画像処理装置によれば、第2の画像機器が基本色とその基本色以外の色の色材によって画像を表現するものである場合に、第1の画像信号における階調特性が第2の画像信号で維持できなくなることを防止することができる。 According to the image processing apparatus of the second aspect, when the second image device represents an image with a basic color and a color material other than the basic color, the gradation characteristics in the first image signal are It can be prevented that the second image signal cannot be maintained.
請求項3の画像処理装置によれば、補正が必要ない場合でも補正をして彩度低下などの画質劣化を防ぐことができる。 According to the image processing apparatus of the third aspect, even when correction is not necessary, it is possible to prevent image quality deterioration such as saturation reduction by performing correction.
請求項4の画像処理装置によれば、第2の色域よりも明度が高くなるように画像信号を補正することができる。 According to the image processing apparatus of the fourth aspect, it is possible to correct the image signal so that the brightness is higher than that of the second color gamut.
請求項5の画像処理装置によれば、第2の色域が第1の色域よりも高い明度を表現可能な領域がある場合にあって、第1の画像信号における階調特性が第2の画像信号で維持できなくなることを防止することができる。また、第2の画像機器が基本色とその基本色以外の色の色材によって画像を表現するものである場合に、第1の画像信号における階調特性が第2の画像信号で維持できなくなることを防止することができる。また、第2の色域よりも明度が高くなるように画像信号を補正することができる。
請求項6の画像処理装置によれば、補正が必要ない場合でも補正をして彩度低下などの画質劣化を防ぐことができる。
請求項7の画像処理装置によれば、第2の色域よりも明度と彩度が高くなるように画像信号を補正することができる。
According to the image processing apparatus of the fifth aspect, when there is a region in which the second color gamut can express higher brightness than the first color gamut, the gradation characteristic in the first image signal is the second. It is possible to prevent the image signal from becoming unsustainable. Further, when the second image device expresses an image with a basic color and a color material other than the basic color, the gradation characteristics in the first image signal cannot be maintained with the second image signal. This can be prevented. In addition, the image signal can be corrected so that the brightness is higher than that of the second color gamut.
According to the image processing apparatus of the sixth aspect, it is possible to prevent image quality deterioration such as saturation reduction by performing correction even when correction is not necessary.
According to the image processing device of the seventh aspect, it is possible to correct the image signal so that the brightness and the saturation are higher than those of the second color gamut.
請求項8の画像処理装置によれば、第2の画像信号を補正することによって、第1の画像信号における階調特性が第2の画像信号で維持できなくなることを防止することができる。 According to the image processing device of the eighth aspect , by correcting the second image signal, it is possible to prevent the gradation characteristics in the first image signal from being maintained by the second image signal.
請求項9の画像処理装置によれば、色変換補正係数を生成することができる。 According to the image processing apparatus of the ninth aspect , the color conversion correction coefficient can be generated.
請求項10の画像処理プログラムによれば、第2の色域が第1の色域よりも高い明度を表現可能な領域がある場合にあって、第1の画像信号における階調特性が第2の画像信号で維持できなくなることを防止することができる。また、第2の色域よりも明度と彩度が高くなるように画像信号を補正することができる。
請求項11の画像処理プログラムによれば、第2の色域が第1の色域よりも高い明度を表現可能な領域がある場合にあって、第1の画像信号における階調特性が第2の画像信号で維持できなくなることを防止することができる。また、第2の画像機器が基本色とその基本色以外の色の色材によって画像を表現するものである場合に、第1の画像信号における階調特性が第2の画像信号で維持できなくなることを防止することができる。また、第2の色域よりも明度が高くなるように画像信号を補正することができる。
According to the image processing program of the tenth aspect , when there is a region where the second color gamut can express a higher brightness than the first color gamut, the gradation characteristic in the first image signal is the second. It is possible to prevent the image signal from becoming unsustainable. In addition, the image signal can be corrected so that the brightness and the saturation are higher than those in the second color gamut.
According to the image processing program of claim 11, when there is a region where the second color gamut can express a higher brightness than the first color gamut, the gradation characteristics in the first image signal are the second. It is possible to prevent the image signal from becoming unsustainable. Further, when the second image device expresses an image with a basic color and a color material other than the basic color, the gradation characteristics in the first image signal cannot be maintained with the second image signal. This can be prevented. In addition, the image signal can be corrected so that the brightness is higher than that of the second color gamut.
まず、本実施の形態を説明する前に、その前提となる画像処理技術について説明する。なお、この説明は、本実施の形態の理解を容易にすることを目的とするものである。
図2〜4を用いて説明する。入力画像信号を出力画像信号へ変換する際に、入出力の色域を用いて変換する色変換に関する技術がある。例えば、入力色域としては、入力装置であるディスプレイ等が表現し得る色域であり、出力色域としては、出力装置であるプリンター等が表現し得る色域である。このような場合、一般的に、入力色域と出力色域の関係は、図2の例に示すように、入力色域210は出力色域220よりも広い。したがって、入力画像信号を出力画像信号へ変換することは、図に示すように入力画像信号212を出力画像信号222へ移動させること、つまり、一様に左方向へ移動させる処理となる。なお、このグラフは、ある色相角における明度と彩度の関係を示しており、縦軸は明度、横軸は彩度であり、上にあるほど明るく、右にあるほど鮮やかであることを示している。
この図2に示した出力色域220を有する出力装置としては、例えば、基本色といわれる4色(C(Cyan)、M(Magenta)、Y(Yellow)、K(blacK))の色材を用いている。
First, before explaining the present embodiment, an image processing technique as a premise thereof will be explained. This description is intended to facilitate understanding of the present embodiment.
This will be described with reference to FIGS. There is a technique related to color conversion that uses an input / output color gamut when converting an input image signal to an output image signal. For example, the input color gamut is a color gamut that can be expressed by a display that is an input device, and the output color gamut is a color gamut that can be expressed by a printer that is an output device. In such a case, in general, the relationship between the input color gamut and the output color gamut is that the
As an output device having the
しかし、出力装置が基本色4色に対して特色(例えば、R(Red)、G(Green)、B(Blue)、O(Orange)、V(Violet)等のいずれか1色又はこれらの組み合わせ)を加えて構成される場合は、図3の例に示すように、出力色域330は基本色色域320よりも広くなり、入力色域310と比べると、一部では入力色域310よりも広くなる領域があるが、依然として入力色域310よりも狭い領域がある。すると、入力画像信号を出力画像信号へ変換する場合には、入力画像信号312から出力画像信号332のように右方向へ移動させる処理と、図2の例に示したような左方向へ移動させる処理が必要になる。なお、特色とは、基本4色とは異なる色の色材をいう。
However, the output device is a special color (for example, R (Red), G (Green), B (Blue), O (Orange), V (Violet), etc.) or a combination of these four basic colors ), The
図4(a)の例は、ある色相角における入力色域410aと出力色域430aの関係を示している。出力色域430aは基本色色域420aよりも広いが、入力色域410a又は出力色域430aの最大彩度点(図では入力色域410a又は出力色域430aの頂点)よりも高明度側(図では上側)の領域においては、入力色域410aと出力色域430aが交差する点で、出力色域430aが入力色域410aよりも広い領域440aと入力色域410aが出力色域430aよりも広い領域450aに分かれる。したがって、領域440aでは右側へ移動する変換、領域450aでは左側へ移動する変換が必要になる。
図4(b)の例は、別の色相角における入力色域410bと出力色域430bの関係を示している。入力色域410bと出力色域430bの交差する位置は異なるが、図4(a)と同等の処理が必要となる領域440bと領域450bが生じる。
なお、基本4色に特色を加えた場合に、このような現象が必ず生じるわけではなく、また、全ての色相角において必ず生じるわけではない。特色を加えても、依然として、入力色域が出力色域よりも全体として広い場合、又は色相角によっては入力色域が出力色域よりも全体として広い場合が生じる。例えば、特色としてオレンジを加えた場合には、主にイエロー、マゼンダを示す色相角において、図4(a)の例の領域440aに示すような現象が生じるが、他の色相角では生じないことがある。
The example of FIG. 4A shows the relationship between the
The example of FIG. 4B shows the relationship between the
It should be noted that such a phenomenon does not necessarily occur when a special color is added to the four basic colors, and does not necessarily occur at all hue angles. Even if a spot color is added, the input color gamut may still be wider than the output color gamut as a whole, or the input color gamut may be wider than the output color gamut depending on the hue angle. For example, when orange is added as a special color, the phenomenon as shown in the
以下、図面に基づき本発明を実現するにあたっての好適な各種の実施の形態の例を説明する。
図1は、本実施の形態の構成例についての概念的なモジュール構成図を示している。
なお、モジュールとは、一般的に論理的に分離可能なソフトウェア(コンピュータ・プログラム)、ハードウェア等の部品を指す。したがって、本実施の形態におけるモジュールはコンピュータ・プログラムにおけるモジュールのことだけでなく、ハードウェア構成におけるモジュールも指す。それゆえ、本実施の形態は、それらのモジュールとして機能させるためのコンピュータ・プログラム(コンピュータにそれぞれの手順を実行させるためのプログラム、コンピュータをそれぞれの手段として機能させるためのプログラム、コンピュータにそれぞれの機能を実現させるためのプログラム)、システム及び方法の説明をも兼ねている。ただし、説明の都合上、「記憶する」、「記憶させる」、これらと同等の文言を用いるが、これらの文言は、実施の形態がコンピュータ・プログラムの場合は、記憶装置に記憶させる、又は記憶装置に記憶させるように制御するの意味である。また、モジュールは機能に一対一に対応していてもよいが、実装においては、1モジュールを1プログラムで構成してもよいし、複数モジュールを1プログラムで構成してもよく、逆に1モジュールを複数プログラムで構成してもよい。また、複数モジュールは1コンピュータによって実行されてもよいし、分散又は並列環境におけるコンピュータによって1モジュールが複数コンピュータで実行されてもよい。なお、1つのモジュールに他のモジュールが含まれていてもよい。また、以下、「接続」とは物理的な接続の他、論理的な接続(データの授受、指示、データ間の参照関係等)の場合にも用いる。「予め定められた」とは、対象としている処理の前に定まっていることをいい、本実施の形態による処理が始まる前はもちろんのこと、本実施の形態による処理が始まった後であっても、対象としている処理の前であれば、そのときの状況・状態に応じて、又はそれまでの状況・状態に応じて定まることの意を含めて用いる。「予め定められた値」が複数ある場合は、それぞれ異なった値であってもよいし、2以上の値(もちろんのことながら、全ての値も含む)が同じであってもよい。また、「Aである場合、Bをする」という意味を有する記載は、「Aであるか否かを判断し、Aであると判断した場合はBをする」の意味で用いる。ただし、Aであるか否かの判断が不要である場合を除く。
また、システム又は装置とは、複数のコンピュータ、ハードウェア、装置等がネットワーク(一対一対応の通信接続を含む)等の通信手段で接続されて構成されるほか、1つのコンピュータ、ハードウェア、装置等によって実現される場合も含まれる。「装置」と「システム」とは、互いに同義の用語として用いる。もちろんのことながら、「システム」には、人為的な取り決めである社会的な「仕組み」(社会システム)にすぎないものは含まない。
また、各モジュールによる処理毎に又はモジュール内で複数の処理を行う場合はその処理毎に、対象となる情報を記憶装置から読み込み、その処理を行った後に、処理結果を記憶装置に書き出すものである。したがって、処理前の記憶装置からの読み込み、処理後の記憶装置への書き出しについては、説明を省略する場合がある。なお、ここでの記憶装置としては、ハードディスク、RAM(Random Access Memory)、外部記憶媒体、通信回線を介した記憶装置、CPU(Central Processing Unit)内のレジスタ等を含んでいてもよい。
Hereinafter, examples of various preferred embodiments for realizing the present invention will be described with reference to the drawings.
FIG. 1 shows a conceptual module configuration diagram of a configuration example of the present embodiment.
The module generally refers to components such as software (computer program) and hardware that can be logically separated. Therefore, the module in the present embodiment indicates not only a module in a computer program but also a module in a hardware configuration. Therefore, the present embodiment is a computer program for causing these modules to function (a program for causing a computer to execute each procedure, a program for causing a computer to function as each means, and a function for each computer. This also serves as an explanation of the program and system and method for realizing the above. However, for the sake of explanation, the words “store”, “store”, and equivalents thereof are used. However, when the embodiment is a computer program, these words are stored in a storage device or stored in memory. This means that the device is controlled so as to be stored. Modules may correspond to functions one-to-one, but in mounting, one module may be configured by one program, or a plurality of modules may be configured by one program, and conversely, one module May be composed of a plurality of programs. The plurality of modules may be executed by one computer, or one module may be executed by a plurality of computers in a distributed or parallel environment. Note that one module may include other modules. Hereinafter, “connection” is used not only for physical connection but also for logical connection (data exchange, instruction, reference relationship between data, etc.). “Predetermined” means that the process is determined before the target process, and not only before the process according to this embodiment starts but also after the process according to this embodiment starts. In addition, if it is before the target processing, it is used in accordance with the situation / state at that time or with the intention to be decided according to the situation / state up to that point. When there are a plurality of “predetermined values”, they may be different values, or two or more values (of course, including all values) may be the same. In addition, the description having the meaning of “do B when it is A” is used in the meaning of “determine whether or not it is A and do B when it is judged as A”. However, the case where it is not necessary to determine whether or not A is excluded.
In addition, the system or device is configured by connecting a plurality of computers, hardware, devices, and the like by communication means such as a network (including one-to-one correspondence communication connection), etc., and one computer, hardware, device. The case where it implement | achieves by etc. is included. “Apparatus” and “system” are used as synonymous terms. Of course, the “system” does not include a social “mechanism” (social system) that is an artificial arrangement.
In addition, when performing a plurality of processes in each module or in each module, the target information is read from the storage device for each process, and the processing result is written to the storage device after performing the processing. is there. Therefore, description of reading from the storage device before processing and writing to the storage device after processing may be omitted. Here, the storage device may include a hard disk, a RAM (Random Access Memory), an external storage medium, a storage device via a communication line, a register in a CPU (Central Processing Unit), and the like.
本実施の形態である画像処理装置は、色域マッピング処理を行うものであって、図1の例に示すように、入力色空間変換モジュール110、入力画像信号補正モジュール120、色域情報記憶モジュール130、写像モジュール140、出力色空間変換モジュール150を有している。色域マッピング処理とは、複数の画像機器間で、一方の画像機器が表現し得る色域と他方の画像機器が表現し得る色域とが異なる場合に、一方の色域から他方の色域へ写像することをいう。いずれかの画像機器が扱う画像信号の外郭を形成するものが色域である。具体的には、入力画像信号の外郭を形成するものが入力色域であり、出力画像信号の外郭を形成するものが出力色域である。前述の写像によって画像信号が変換される。したがって、色域を変換(補正等も含む)することと画像信号を変換することは同義である。また、色域が交差するという説明は、入力色域の外郭(色域を囲む線)と出力色域の外郭が交差することを示している。
なお、入力という用語は、記憶又は処理のために、画像処理装置又はその一部分が受け付けるデータ、データを入れる処理過程、入力過程にかかわる装置、入出力チャネル、又はそれらに関係する状態に関する用語として用いる。
The image processing apparatus according to the present embodiment performs color gamut mapping processing. As shown in the example of FIG. 1, the input color
The term “input” is used as a term relating to data received by an image processing apparatus or a part thereof, a process for inputting data, a device related to an input process, an input / output channel, or a state related to them for storage or processing. .
入力色空間変換モジュール110は、入力画像信号補正モジュール120と接続されている。入力色空間変換モジュール110は、第1の画像機器によって扱われる第1の画像信号を予め定められた色空間の画像信号に変換する。第1の画像機器としては、例えば、ディスプレイ等が該当する。第1の画像信号としては、例えば、RGB画像信号が該当する。予め定められた色空間としては、例えば、特定の画像機器に依存しないLa*b*色空間が該当する。入力色空間変換モジュール110による変換は、色空間の変換であり、例えば、RGB画像情報からLa*b*画像情報への変換であり、この変換処理は、既に知られている技術を用いればよい。もちろんのことながら、La*b*だけでなく、XYZなど他の色空間であってもよい。また、入力画像信号がLa*b*の場合には、入力色空間変換モジュール110は必要なく、入力画像信号La*b*が入力画像信号補正モジュール120に入力される。
The input color
入力画像信号補正モジュール120は、入力色空間変換モジュール110、色域情報記憶モジュール130、写像モジュール140と接続されている。入力画像信号補正モジュール120は、第1の画像機器が表現し得る第1の色域を示す第1の色域情報(入力色域情報132)と第2の画像機器が表現し得る第2の色域を示す第2の色域情報(出力色域情報134)に基づいて、入力色空間変換モジュール110によって変換処理された画像信号を補正する。
また、入力画像信号補正モジュール120は、第1の色域又は第2の色域の最大彩度の点よりも明度が高い領域であって、同じ彩度において第2の色域の明度が第1の色域の明度よりも高い領域がある場合又は同じ明度において第2の色域の彩度が第1の色域の彩度よりも高い領域がある場合に、補正を行うようにしてもよい。図4(a)の例を用いて説明すれば、入力色域410a又は出力色域430aの頂点よりも上側において、出力色域430aが入力色域410aよりも高明度の領域があればよい。全体において出力色域430aが入力色域410aよりも高明度であってもよいし、一部の領域において出力色域430aが入力色域410aよりも高明度であってもよい。したがって、出力色域430aが入力色域410aよりも低明度の領域、同じである領域が含まれていてもよい。
The input image
The input image
そして、入力画像信号補正モジュール120は、第1の色域と第2の色域が交差する点を抽出し、その交差する点よりも明度が高い領域における第1の色域と第2の色域の間の距離に基づいて、第2の色域よりも明度が高くなる側に制御点を生成し、その制御点を通るように画像信号を補正する。交差する点よりも明度が高い領域とは、交差する点と第1の色域又は第2の色域における最大明度の点との間の領域でもある。そして、距離としては、第1の色域と第2の色域の明度差、彩度差のいずれか一方、又はこれらの組み合わせである。この補正処理については、後に図8を用いて詳述する。また、交差点を先に抽出するのではなく、最大彩度点の明度と予め定められた補正係数(例えば、白と最大彩度の明度の明度差で白から1/3の位置など)から制御点を設定し、制御点が交差点より高明度側(又は高彩度側)の場合に補正を実施するようにしてもよい。
Then, the input image
色域情報記憶モジュール130は、入力色域情報132、出力色域情報134を記憶しており、入力画像信号補正モジュール120と接続されている。入力色域情報132は、例えば、ディスプレイ等が表現し得る色域を示す情報である。出力色域情報134は、例えば、プリンター等が表現し得る色域を示す情報である。これらは、第1の画像機器、第2の画像機器が表現し得る色域を予め測定等して得たデータである。なお、第2の画像機器は、基本色とその基本色以外の色の色材によって画像を表現するものであってもよい。例えば、基本色とは前述の基本色4色(YMCK)であり、基本色以外の色とは特色である。
The color gamut
写像モジュール140は、入力画像信号補正モジュール120、出力色空間変換モジュール150と接続されている。写像モジュール140は、入力画像信号補正モジュール120によって補正処理された画像信号を第2の色域内に写像する。いわゆるマッピング処理であり、この処理は、既に知られている技術を用いればよい。なお、マッピングが明度保持の場合は彩度方向への移動となり、マッピングが彩度保持の場合は明度方向への移動となる。
出力色空間変換モジュール150は、写像モジュール140と接続されている。出力色空間変換モジュール150は、写像モジュール140によって写像処理された画像信号を第2の画像機器によって扱われる第2の画像信号(出力画像信号195)に変換する。第2の画像機器としては、例えば、プリンター等が該当する。出力色空間変換モジュール150による変換は、色空間の変換であり、例えば、La*b*画像情報からCMYK+特色の画像情報への変換であり、この変換処理は、既に知られている技術を用いればよい。そして、出力画像信号195を第2の画像機器が処理する。具体的には、プリンターが印刷する等である。
The
The output color
図5は、第1の実施の形態による処理例を示すフローチャートである。
ステップS502では、入力色空間変換モジュール110が、入力画像信号105を受け付ける。
ステップS504では、入力色空間変換モジュール110が、入力画像信号105をLa*b*色空間に変換する。
ステップS506では、入力画像信号補正モジュール120が、画像信号を補正する。この処理については、図6の例を用いて詳述する。
ステップS508では、写像モジュール140が、画像信号を変換する。
ステップS510では、出力色空間変換モジュール150が、画像信号を基本色+特色の色空間に変換する。
ステップS512では、出力色空間変換モジュール150が、画像信号を出力する。
FIG. 5 is a flowchart illustrating a processing example according to the first exemplary embodiment.
In step S502, the input color
In step S504, the input color
In step S506, the input image
In step S508, the
In step S510, the output color
In step S512, the output color
図6は、第1の実施の形態による処理例(特に入力画像信号補正モジュール120による処理例)を示すフローチャートである。
ステップS602では、画像信号の位置情報を取得する。より詳細には、ある色相角における画像信号の、色空間における位置を算出する。
ステップS604では、補正が必要か否かを判断し、必要である場合はステップS606へ進み、それ以外の場合は処理を終了する(ステップS699)。図7の例を用いて説明すると、ここでの判断は、最大彩度である点784より高明度である領域において、出力色域720が入力色域710よりも広い領域740が存在するか否かを判断し、存在する場合は補正が必要であると判断する。
FIG. 6 is a flowchart illustrating a processing example (particularly, a processing example by the input image signal correction module 120) according to the first embodiment.
In step S602, the position information of the image signal is acquired. More specifically, the position in the color space of the image signal at a certain hue angle is calculated.
In step S604, it is determined whether or not correction is necessary. If necessary, the process proceeds to step S606. Otherwise, the process ends (step S699). Referring to the example of FIG. 7, the determination here is whether or not there is a
ステップS606では、入力色域情報132と出力色域情報134を取得する。
ステップS608では、色域の交点を抽出し、起点を設定する。図8の例を用いて説明する。入力色域810と出力色域830の交点882を抽出する。そして、写像方向において入力色域810と出力色域830間の距離が最大となる点892を起点として設定する。例えば、写像方向が明度保持の場合は、彩度差が最大となる点が起点となる。なお、この点892は、図に示す位置でなくても、入力色域810が出力色域830よりも狭い範囲(出力色域830上にあって、点880から交点882までの間)にある点であればよい。
In step S606, input
In step S608, the intersection of the color gamut is extracted and the starting point is set. This will be described with reference to the example of FIG. An
ステップS610では、起点と入力色域の距離を算出する。図8の例を用いて説明する。起点である点892を通り、予め定めた角度の線分と入力色域810の交点である点894を算出し、点892と点894間の距離を算出する。
ステップS612では、距離×係数を用いて制御点を設定する。図8の例を用いて説明する。起点である点892と入力色域810の交点である点894を通り、高明度側に拡張した点を制御点886とする。係数は予め定められた数とする。
ステップS614では、制御点を用いて画像信号を補正する。図8の例を用いて説明する。点880と制御点886と点884を通るスプライン曲線を生成して、入力色域810を補正して補正後の入力色域850を生成する。
In step S610, the distance between the starting point and the input color gamut is calculated. This will be described with reference to the example of FIG. A
In step S612, a control point is set using distance × coefficient. This will be described with reference to the example of FIG. A
In step S614, the image signal is corrected using the control points. This will be described with reference to the example of FIG. A spline curve passing through the
図8の例は、入力色域810を補正後の入力色域850に変換したことを示している。
まず、入力色域810と出力色域830が交差する点である交点882を算出する。なお、色域が交差するとは、色域の外郭が交差することをいう。そして、交点882よりも高明度側(出力色域830が入力色域810よりも広い領域)において、予め定められた位置における入力色域810と出力色域830の間の距離を算出する。予め定められた位置として、例えば、写像方向に入力色域810と出力色域830が最も離れている点、その領域の中心、又はその領域において白側(図では左側)寄りの2/3の位置にある点等がある。図8の例では、点894と点892が該当する。したがって、算出する距離は、点894と点892の間の距離である。前述の例で、写像方向が明度方向である場合は、入力色域810と出力色域830の明度差(図では縦方向)が距離である。写像方向が彩度方向である場合は、入力色域810と出力色域830の彩度差(図では横方向)が距離である。写像方向が斜め方向である場合は、入力色域810と出力色域830の明度差の2乗と彩度差の2乗を加えた値の平方根が距離である。
そして、点892からその距離の予め定められた倍数(例えば、2倍)の距離だけ離れた位置にある点を制御点886と設定する。そして、点880(入力色域810と縦軸が交わる点、白)、制御点886、点884(入力色域810の最大彩度点)を通る線を引き、補正後の入力色域850を生成する。点880、制御点886、点884を通る線としては、例えば、直線、スプライン曲線、元の入力色域810を反転させた曲線等であってもよい。
この補正処理によって、入力色域810は補正後の入力色域850に補正されて、補正後の入力色域850は出力色域830よりも広い色域となる。
そして、このような補正を行った場合は、写像モジュール140による写像は、補正後の入力色域850から出力色域830への写像となる。
The example of FIG. 8 shows that the
First, an
Then, a point at a position away from the
By this correction processing, the
When such correction is performed, the mapping by the
図9は、従来技術による処理例を示す説明図である。
従来技術は、同じ色相角の画像信号で圧縮される画像信号(図9の例では左側へ移動)と伸張される画像信号(図9の例では右側へ移動)があったため、同じ色合いの中で階調再現性がくずれてしまう。具体的には、同じ色合いである入力画像信号912、916、924、928をそれぞれ従来写像後の信号914、918、922、926へ写像しており、入力画像信号912、916はそれぞれ右方向の従来写像後の信号914、918へ伸張しており、入力画像信号924、928はそれぞれ左方向の従来写像後の信号922、926へ圧縮しており、同じ色相角にある画像信号において圧縮、伸張が混在している。
FIG. 9 is an explanatory diagram showing an example of processing according to the prior art.
In the prior art, there were an image signal compressed with an image signal having the same hue angle (moved to the left in the example of FIG. 9) and an image signal expanded (moved to the right in the example of FIG. 9). The gradation reproducibility will be lost. Specifically, input image signals 912, 916, 924, and 928 having the same color are mapped to
図10は、図8の例で示した補正後の入力色域850に対して、写像モジュール140による写像処理例を示している。
本実施の形態では、入力色域810を補正後の入力色域850に補正してから、写像における圧縮をするため、同じ色合いで拡張、伸張が混在せず、圧縮されるのみとなる。この結果、階調再現性のくずれを防止することとなる。具体的には、同じ色合いである補正後入力画像信号1014、1018、1024、1028をそれぞれ写像後の信号1012、1016、1022、1026へ圧縮しており、伸張はしていない。
また、入力色域810と出力色域830の差分データを使用して制御点を生成しているため、補正量が必要分だけとなり、補正する拡張量が抑えられることとなる。この結果、入力色域810内部のデータが、変更される量を抑えることとなる。
入力色域810を変更しているため、入力色域810の外郭にある画像信号は、出力色域830の外郭に変換される。具体的には、補正後入力画像信号1018を写像後の信号1016へ、補正後入力画像信号1028を写像後の信号1026へ圧縮している。この結果、にごりを少なくし、広い色域を使うこととなる。
FIG. 10 shows an example of mapping processing by the
In this embodiment, since the
In addition, since the control points are generated using the difference data between the
Since the
第2の実施の形態について説明する。第2の実施の形態は、図11の例に示すように、入力色空間変換モジュール110、入力画像信号補正モジュール1120、色域情報記憶モジュール1130、写像モジュール140、出力色空間変換モジュール150を有している。なお、第1の実施の形態と同種の部位には同一符号を付し重複した説明を省略する(以下、同様)。
入力色空間変換モジュール110は、入力画像信号補正モジュール1120と接続されている。
A second embodiment will be described. As shown in the example of FIG. 11, the second embodiment has an input color
The input color
入力画像信号補正モジュール1120は、入力色空間変換モジュール110、色域情報記憶モジュール1130、写像モジュール140と接続されている。入力画像信号補正モジュール1120は、第1の実施の形態のような入力画像信号補正モジュール120と同等な処理、つまり、第1の画像機器が表現し得る第1の色域を示す第1の色域情報と第2の画像機器が表現し得る第2の色域を示す第2の色域情報に基づいて、入力色空間変換モジュール110によって変換処理された画像信号を補正する。そして、入力画像信号補正モジュール1120は、第1の色域又は第2の色域の最大彩度の点よりも明度が高い領域であって、第2の色域の明度が第1の色域の明度よりも高い領域がある場合に、補正を行うようにしてもよい。
そして、入力画像信号補正モジュール1120は、第1の色域と第2の色域が交差する点を抽出し、その交差する点よりも明度が高い領域における基本色による色域と第2の色域の間の距離に基づいて、その第2の色域よりも明度が高くなる側に制御点を生成し、その制御点を通るように画像信号を補正する。具体的には、入力色域情報1132と出力色域情報A(特色)1134を用いて、第1の色域と第2の色域が交差する点を抽出する。そして、出力色域情報B(基本色)1136と出力色域情報A(特色)1134を用いて、距離を算出し、その距離を用いて制御点を生成する。
The input image
Then, the input image
色域情報記憶モジュール1130は、入力色域情報1132、出力色域情報A(特色)1134、出力色域情報B(基本色)1136を記憶しており、入力画像信号補正モジュール1120と接続されている。入力色域情報1132は、例えば、ディスプレイ等が表現し得る色域を示す情報である。出力色域情報A(特色)1134は、例えば、プリンター等が基本4色と特色の組み合わせを用いて表現し得る色域を示す情報である。出力色域情報B(基本色)1136は、例えば、そのプリンター等が基本4色の組み合わせ(基本4色だけ、特色は含まず)を用いて表現し得る色域を示す情報である。
写像モジュール140は、入力画像信号補正モジュール1120、出力色空間変換モジュール150と接続されている。
出力色空間変換モジュール150は、写像モジュール140と接続されている。
The color gamut
The
The output color
図12は、第2の実施の形態による処理例(特に入力画像信号補正モジュール1120による処理例)を示す説明図である。
入力色域1210と出力色域1230が交差する点である交点1282を抽出し、その交点1282よりも明度が高い領域(図では上側)における基本4色の色域1220と出力色域1230の間の距離(点1292と点1294間の距離)に基づいて、出力色域1230よりも明度が高くなる側に制御点1286を生成し、その制御点を通るように入力色域1210を補正して、補正後の入力色域1250を生成する。
点1292と点1294間の距離は、写像方向(ここでは彩度方向、図では横方向)で、基本4色の色域1220と基本4色と特色の組み合わせである出力色域1230の距離(彩度差)が最大となる点(点1292と点1294)間の距離とする。そして、その距離を、入力色域1210の点1292と同明度である点1296に加えた点を制御点1286と設定する。そして、白である点1280と制御点1286と入力色域1210の最大彩度点である点1284をスプライン曲線等で結び、入力色域1210を補正後の入力色域1250に補正する。
FIG. 12 is an explanatory diagram showing a processing example (particularly a processing example by the input image signal correction module 1120) according to the second embodiment.
An
The distance between the
図13は、第2の実施の形態による別の処理例(特に入力画像信号補正モジュール1120による処理例)を示す説明図である。
図12の例と同等の処理によって、制御点a1386を算出する。図12を用いた処理例では、点1380と制御点a1386と点1384を結ぶこととなるが、この図13の例では、点1380と制御点a1386と制御点b1388を結ぶ。制御点a1386は、入力色域1310の最大明度である点1384よりも予め定められた明度補正量1399だけ低い点となるように選択する。そして、出力色域1330の最大明度以上となるように制御点b1388を選択するようにしてもよい。さらに、彩度方向においては、出力色域1330の最大彩度以上であって、入力色域1310の最大彩度以下となるように制御点b1388を選択するようにしてもよい。例えば、選択処理を簡単にするために入力色域1310の最大彩度を制御点b1388の彩度としてもよい。
なお、制御点a1386、制御点b1388の彩度、明度の関係を図14の例に示す。明度補正量が0の場合は、入力画像信号の明度そのままとなる。つまり、補正後の入力色域1350は、入力色域1310の明度を図14の例に示すグラフのように補正している。このような補正の結果、入力色域1310を出力色域1330の形状に近似した補正後の入力色域1350に補正している。
FIG. 13 is an explanatory diagram showing another processing example (particularly, a processing example by the input image signal correction module 1120) according to the second embodiment.
A control point a 1386 is calculated by a process equivalent to the example of FIG. In the processing example using FIG. 12, the
The relationship between the saturation and lightness of the control point a 1386 and the
第3の実施の形態について説明する。第3の実施のモジュール構成は、前述の第1の実施の形態又は第2の実施の形態のモジュール構成と同等である。ただし、入力画像信号補正モジュール120、入力画像信号補正モジュール1120に該当するモジュールは、出力画像信号を補正する。
図15の例を用いて、第3の実施の形態による処理例を説明する。
入力色域1510又は特色色域1530の最大彩度の点よりも明度が高い領域であって、特色色域1530の明度が入力色域1510の明度よりも高い領域がある場合に、補正を行うことは、前述の通りである。そして、入力色域1510と特色色域1530の交点1582を抽出することも前述の通りである。
次に、例えば、写像方向で彩度差が最大となり、かつ入力色域1510より特色色域1530が広い領域内の特色色域1530上の点を制御点x1586に設定し、特色色域1530の最大彩度点から色空間における南半球側(下半分)の色域を高明度側に拡張した線と白である点1580と制御点x1586を通る線が結ばれる点を制御点y1588に設定する。そして、白である点1580から制御点x1586までの特色色域1530と、制御点x1586と制御点y1588を通る線を補正後の出力色域1550に設定する。
ただし、この補正によって発生した拡張部分ではつぶれが発生するが、色再現的に重要となる中間調の階調性は保たれる。
A third embodiment will be described. The module configuration of the third embodiment is equivalent to the module configuration of the first embodiment or the second embodiment described above. However, modules corresponding to the input image
A processing example according to the third embodiment will be described with reference to the example of FIG.
Correction is performed when there is a region where the lightness is higher than the maximum saturation point of the
Next, for example, a point on the
However, the expanded portion generated by this correction is crushed, but the halftone gradation that is important for color reproduction is maintained.
図16を参照して、前述の実施の形態の画像処理装置のハードウェア構成例について説明する。図16に示す構成は、例えばパーソナルコンピュータ(PC)などによって構成されるものであり、スキャナ等のデータ読み取り部1617と、プリンターなどのデータ出力部1618を備えたハードウェア構成例を示している。 A hardware configuration example of the image processing apparatus according to the above-described embodiment will be described with reference to FIG. The configuration shown in FIG. 16 is configured by a personal computer (PC), for example, and shows a hardware configuration example including a data reading unit 1617 such as a scanner and a data output unit 1618 such as a printer.
CPU(Central Processing Unit)1601は、前述の実施の形態において説明した各種のモジュール、すなわち、入力色空間変換モジュール110、入力画像信号補正モジュール120、写像モジュール140、出力色空間変換モジュール150等の各モジュールの実行シーケンスを記述したコンピュータ・プログラムにしたがった処理を実行する制御部である。
A CPU (Central Processing Unit) 1601 includes various modules described in the above-described embodiments, that is, the input color
ROM(Read Only Memory)1602は、CPU1601が使用するプログラムや演算パラメータ等を格納する。RAM(Random Access Memory)1603は、CPU1601の実行において使用するプログラムや、その実行において適宜変化するパラメータ等を格納する。これらはCPUバスなどから構成されるホストバス1604により相互に接続されている。 A ROM (Read Only Memory) 1602 stores programs, calculation parameters, and the like used by the CPU 1601. A RAM (Random Access Memory) 1603 stores programs used in the execution of the CPU 1601, parameters that change as appropriate during the execution, and the like. These are connected to each other by a host bus 1604 including a CPU bus.
ホストバス1604は、ブリッジ1605を介して、PCI(Peripheral Component Interconnect/Interface)バスなどの外部バス1606に接続されている。 The host bus 1604 is connected to an external bus 1606 such as a PCI (Peripheral Component Interconnect / Interface) bus via a bridge 1605.
キーボード1608、マウス等のポインティングデバイス1609は、操作者により操作される入力デバイスである。ディスプレイ1610は、液晶表示装置又はCRT(Cathode Ray Tube)などがあり、各種情報をテキストやイメージ情報として表示する。 A keyboard 1608 and a pointing device 1609 such as a mouse are input devices operated by an operator. The display 1610 includes a liquid crystal display device or a CRT (Cathode Ray Tube), and displays various types of information as text or image information.
HDD(Hard Disk Drive)1611は、ハードディスクを内蔵し、ハードディスクを駆動し、CPU1601によって実行するプログラムや情報を記録又は再生させる。ハードディスクには、入力画像信号105、出力画像信号195、入力色域情報132、出力色域情報134、入力色域情報1132、出力色域情報A(特色)1134、出力色域情報B(基本色)1136などが格納される。さらに、その他の各種のデータ処理プログラム等、各種コンピュータ・プログラムが格納される。
An HDD (Hard Disk Drive) 1611 includes a hard disk, drives the hard disk, and records or reproduces a program executed by the CPU 1601 and information. The hard disk includes an
ドライブ1612は、装着されている磁気ディスク、光ディスク、光磁気ディスク、又は半導体メモリ等のリムーバブル記録媒体1613に記録されているデータ又はプログラムを読み出して、そのデータ又はプログラムを、インタフェース1607、外部バス1606、ブリッジ1605、及びホストバス1604を介して接続されているRAM1603に供給する。リムーバブル記録媒体1613も、ハードディスクと同様のデータ記録領域として利用可能である。 The drive 1612 reads data or a program recorded on a removable recording medium 1613 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, and the data or program is read out from the interface 1607 and the external bus 1606. , A bridge 1605, and a RAM 1603 connected via the host bus 1604. The removable recording medium 1613 can also be used as a data recording area similar to the hard disk.
接続ポート1614は、外部接続機器1615を接続するポートであり、USB、IEEE1394等の接続部を持つ。接続ポート1614は、インタフェース1607、及び外部バス1606、ブリッジ1605、ホストバス1604等を介してCPU1601等に接続されている。通信部1616は、通信回線に接続され、外部とのデータ通信処理を実行する。データ読み取り部1617は、例えばスキャナであり、ドキュメントの読み取り処理を実行する。データ出力部1618は、例えばプリンターであり、ドキュメントデータの出力処理を実行する。 The connection port 1614 is a port for connecting an external connection device 1615 and has a connection unit such as USB, IEEE1394. The connection port 1614 is connected to the CPU 1601 and the like via the interface 1607, the external bus 1606, the bridge 1605, the host bus 1604, and the like. A communication unit 1616 is connected to a communication line and executes data communication processing with the outside. The data reading unit 1617 is a scanner, for example, and executes document reading processing. The data output unit 1618 is a printer, for example, and executes document data output processing.
なお、図16に示す画像処理装置のハードウェア構成は、1つの構成例を示すものであり、本実施の形態は、図16に示す構成に限らず、本実施の形態において説明したモジュールを実行可能な構成であればよい。例えば、一部のモジュールを専用のハードウェア(例えば特定用途向け集積回路(Application Specific Integrated Circuit:ASIC)等)で構成してもよく、一部のモジュールは外部のシステム内にあり通信回線で接続しているような形態でもよく、さらに図16に示すシステムが複数互いに通信回線によって接続されていて互いに協調動作するようにしてもよい。また、複写機、ファックス、スキャナ、プリンター、複合機(スキャナ、プリンター、複写機、ファックス等のいずれか2つ以上の機能を有している画像処理装置)などに組み込まれていてもよい。 Note that the hardware configuration of the image processing apparatus shown in FIG. 16 shows one configuration example, and the present embodiment is not limited to the configuration shown in FIG. 16, and the modules described in this embodiment are executed. Any configuration is possible. For example, some modules may be configured with dedicated hardware (for example, Application Specific Integrated Circuit (ASIC), etc.), and some modules are in an external system and connected via a communication line In addition, a plurality of systems shown in FIG. 16 may be connected to each other via communication lines so as to cooperate with each other. Further, it may be incorporated in a copying machine, a fax machine, a scanner, a printer, a multifunction machine (an image processing apparatus having any two or more functions of a scanner, a printer, a copying machine, a fax machine, etc.).
前述の実施の形態においては、第2の画像機器は、基本色とその基本色以外の色の色材によって画像を表現するものである例を示したが、第1の色域又は第2の色域の最大彩度の点よりも明度が高い領域であって、第2の色域の明度が第1の色域の明度よりも高い領域がある関係であればよい。例えば、ユーザがレタッチソフトなどで画像を編集したことによって、このような関係が生じるような場合にも適用することができる。
また、前述した補正処理を行って、色変換補正係数を生成するようにしてもよい。色変換補正係数は、第1の画像信号を第2の画像信号に変換する際に用いられるものであって、色変換補正係数を用いることによって、前述した補正処理と同等の行うことができるようになる。
In the above-described embodiment, the example in which the second image device expresses an image by using a basic color and a color material other than the basic color has been described. However, the first color gamut or the second color device Any area may be used as long as the brightness is higher than the point of maximum saturation of the color gamut and the brightness of the second color gamut is higher than the brightness of the first color gamut. For example, the present invention can also be applied to a case where such a relationship occurs when the user edits an image with retouching software or the like.
Further, the color conversion correction coefficient may be generated by performing the above-described correction processing. The color conversion correction coefficient is used when the first image signal is converted into the second image signal, and by using the color conversion correction coefficient, it is possible to perform the same as the correction processing described above. become.
なお、説明したプログラムについては、記録媒体に格納して提供してもよく、また、そのプログラムを通信手段によって提供してもよい。その場合、例えば、前記説明したプログラムについて、「プログラムを記録したコンピュータ読み取り可能な記録媒体」の発明として捉えてもよい。
「プログラムを記録したコンピュータ読み取り可能な記録媒体」とは、プログラムのインストール、実行、プログラムの流通などのために用いられる、プログラムが記録されたコンピュータで読み取り可能な記録媒体をいう。
なお、記録媒体としては、例えば、デジタル・バーサタイル・ディスク(DVD)であって、DVDフォーラムで策定された規格である「DVD−R、DVD−RW、DVD−RAM等」、DVD+RWで策定された規格である「DVD+R、DVD+RW等」、コンパクトディスク(CD)であって、読出し専用メモリ(CD−ROM)、CDレコーダブル(CD−R)、CDリライタブル(CD−RW)等、ブルーレイ・ディスク(Blu−ray Disc(登録商標))、光磁気ディスク(MO)、フレキシブルディスク(FD)、磁気テープ、ハードディスク、読出し専用メモリ(ROM)、電気的消去及び書換可能な読出し専用メモリ(EEPROM(登録商標))、フラッシュ・メモリ、ランダム・アクセス・メモリ(RAM)、SD(Secure Digital)メモリーカード等が含まれる。
そして、前記のプログラム又はその一部は、前記記録媒体に記録して保存や流通等させてもよい。また、通信によって、例えば、ローカル・エリア・ネットワーク(LAN)、メトロポリタン・エリア・ネットワーク(MAN)、ワイド・エリア・ネットワーク(WAN)、インターネット、イントラネット、エクストラネット等に用いられる有線ネットワーク、あるいは無線通信ネットワーク、さらにこれらの組み合わせ等の伝送媒体を用いて伝送させてもよく、また、搬送波に乗せて搬送させてもよい。
さらに、前記のプログラムは、他のプログラムの一部分であってもよく、あるいは別個のプログラムと共に記録媒体に記録されていてもよい。また、複数の記録媒体に分割して
記録されていてもよい。また、圧縮や暗号化など、復元可能であればどのような態様で記録されていてもよい。
The program described above may be provided by being stored in a recording medium, or the program may be provided by communication means. In that case, for example, the above-described program may be regarded as an invention of a “computer-readable recording medium recording the program”.
The “computer-readable recording medium on which a program is recorded” refers to a computer-readable recording medium on which a program is recorded, which is used for program installation, execution, program distribution, and the like.
The recording medium is, for example, a digital versatile disc (DVD), which is a standard established by the DVD Forum, such as “DVD-R, DVD-RW, DVD-RAM,” and DVD + RW. Standard “DVD + R, DVD + RW, etc.”, compact disc (CD), read-only memory (CD-ROM), CD recordable (CD-R), CD rewritable (CD-RW), Blu-ray disc ( Blu-ray Disc (registered trademark), magneto-optical disk (MO), flexible disk (FD), magnetic tape, hard disk, read-only memory (ROM), electrically erasable and rewritable read-only memory (EEPROM (registered trademark)) )), Flash memory, Random access memory (RAM) SD (Secure Digital) memory card and the like.
The program or a part of the program may be recorded on the recording medium for storage or distribution. Also, by communication, for example, a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a wired network used for the Internet, an intranet, an extranet, etc., or wireless communication It may be transmitted using a transmission medium such as a network or a combination of these, or may be carried on a carrier wave.
Furthermore, the program may be a part of another program, or may be recorded on a recording medium together with a separate program. Moreover, it may be divided and recorded on a plurality of recording media. Further, it may be recorded in any manner as long as it can be restored, such as compression or encryption.
105…入力画像信号
110…入力色空間変換モジュール
120…入力画像信号補正モジュール
130…色域情報記憶モジュール
132…入力色域情報
134…出力色域情報
140…写像モジュール
150…出力色空間変換モジュール
1120…入力画像信号補正モジュール
1130…色域情報記憶モジュール
DESCRIPTION OF
Claims (11)
第1の画像機器が表現し得る第1の色域を示す第1の色域情報と第2の画像機器が表現し得る第2の色域を示す第2の色域情報に基づいて、前記第1の変換手段によって変換処理された画像信号を補正する補正手段と、
前記補正手段によって補正処理された画像信号を前記第2の色域内に写像する写像手段と、
前記写像手段によって写像処理された画像信号を前記第2の画像機器によって扱われる第2の画像信号に変換する第2の変換手段
を具備し、
前記補正手段は、前記第1の色域と前記第2の色域が交差する点を抽出し、該交差する点よりも明度が高い領域における該第1の色域と該第2の色域の間の距離に基づいて、該第2の色域よりも明度が高くなる側に制御点を生成し、該制御点を通るように画像信号を補正する
ことを特徴とする画像処理装置。 First conversion means for converting a first image signal handled by the first image device into an image signal of a predetermined color space;
Based on the first color gamut information indicating the first color gamut that can be expressed by the first image device and the second color gamut information indicating the second color gamut that can be expressed by the second image device. Correction means for correcting the image signal converted by the first conversion means;
Mapping means for mapping the image signal corrected by the correction means into the second color gamut;
Second conversion means for converting the image signal mapped by the mapping means into a second image signal handled by the second image device ;
The correction unit extracts a point where the first color gamut and the second color gamut intersect, and the first color gamut and the second color gamut in a region having a higher brightness than the intersecting point. An image processing apparatus that generates a control point on the side where the brightness is higher than the second color gamut based on the distance between the two color gamuts and corrects the image signal so as to pass through the control point .
ことを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the second image device represents an image with a basic color and a color material of a color other than the basic color.
ことを特徴とする請求項1又は2に記載の画像処理装置。 The correction means is a region having a lightness higher than a point of maximum saturation of the first color gamut or the second color gamut, and the lightness of the second color gamut is the same as the first color gamut. Performing the correction when there is a region higher than the lightness of the color gamut of the second color gamut or when there is a region where the saturation of the second color gamut is higher than the saturation of the first color gamut at the same lightness. The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
ことを特徴とする請求項2又は請求項2に従属する請求項3に記載の画像処理装置。 The correcting unit extracts a point where the first color gamut and the second color gamut intersect, and a color gamut based on the basic color and a second color gamut in a region having a higher brightness than the intersecting point. based on the distance between, than the second color gamut to generate a control point on a side brightness is high, according to claim 2 or claims and correcting an image signal so as to pass through the control points The image processing apparatus according to claim 3 , which is dependent on item 2 .
第1の画像機器が表現し得る第1の色域を示す第1の色域情報と第2の画像機器が表現し得る第2の色域を示す第2の色域情報に基づいて、前記第1の変換手段によって変換処理された画像信号を補正する補正手段と、
前記補正手段によって補正処理された画像信号を前記第2の色域内に写像する写像手段と、
前記写像手段によって写像処理された画像信号を前記第2の画像機器によって扱われる第2の画像信号に変換する第2の変換手段
を具備し、
前記第2の画像機器は、基本色と該基本色以外の色の色材によって画像を表現するものであり、
前記補正手段は、前記第1の色域と前記第2の色域が交差する点を抽出し、該交差する点よりも明度が高い領域における前記基本色による色域と該第2の色域の間の距離に基づいて、該第2の色域よりも明度が高くなる側に制御点を生成し、該制御点を通るように画像信号を補正する
ことを特徴とする画像処理装置。 First conversion means for converting a first image signal handled by the first image device into an image signal of a predetermined color space;
Based on the first color gamut information indicating the first color gamut that can be expressed by the first image device and the second color gamut information indicating the second color gamut that can be expressed by the second image device. Correction means for correcting the image signal converted by the first conversion means;
Mapping means for mapping the image signal corrected by the correction means into the second color gamut;
Second conversion means for converting the image signal mapped by the mapping means into a second image signal handled by the second image device ;
The second image device represents an image with a basic color and a color material of a color other than the basic color,
The correcting unit extracts a point where the first color gamut and the second color gamut intersect, and a color gamut based on the basic color and a second color gamut in a region having a higher brightness than the intersecting point. An image processing apparatus that generates a control point on the side where the brightness is higher than the second color gamut based on the distance between the two color gamuts and corrects the image signal so as to pass through the control point .
ことを特徴とする請求項5に記載の画像処理装置。 The correction means is a region having a lightness higher than a point of maximum saturation of the first color gamut or the second color gamut, and the lightness of the second color gamut is the same as the first color gamut. Performing the correction when there is a region higher than the lightness of the color gamut of the second color gamut or when there is a region where the saturation of the second color gamut is higher than the saturation of the first color gamut at the same lightness. The image processing apparatus according to claim 5 , wherein:
ことを特徴とする請求項5又は6に記載の画像処理装置。 The correction unit extracts a point where the first color gamut and the second color gamut intersect, and the first color gamut and the second color gamut in a region having a higher brightness than the intersecting point. based on the distance between, than the second color gamut to generate a control point on a side brightness is high, according to claim 5 or and corrects an image signal so as to pass through the control points 6 An image processing apparatus according to 1.
ことを特徴とする請求項1から7のいずれか一項に記載の画像処理装置。 It said correction means, the image processing apparatus according to any one of claims 1 to 7, characterized in that to correct the second image signal.
ことを特徴とする請求項1から8のいずれか一項に記載の画像処理装置。 It said correction means, the image processing apparatus according to any one of claims 1 8, characterized in that generating a color conversion correction coefficient.
第1の画像機器によって扱われる第1の画像信号を予め定められた色空間の画像信号に変換する第1の変換手段と、
第1の画像機器が表現し得る第1の色域を示す第1の色域情報と第2の画像機器が表現し得る第2の色域を示す第2の色域情報に基づいて、前記第1の変換手段によって変換処理された画像信号を補正する補正手段と、
前記補正手段によって補正処理された画像信号を前記第2の色域内に写像する写像手段と、
前記写像手段によって写像処理された画像信号を前記第2の画像機器によって扱われる第2の画像信号に変換する第2の変換手段
として機能させ、
前記補正手段は、前記第1の色域と前記第2の色域が交差する点を抽出し、該交差する点よりも明度が高い領域における該第1の色域と該第2の色域の間の距離に基づいて、該第2の色域よりも明度が高くなる側に制御点を生成し、該制御点を通るように画像信号を補正する
ことを特徴とする画像処理プログラム。 Computer
First conversion means for converting a first image signal handled by the first image device into an image signal of a predetermined color space;
Based on the first color gamut information indicating the first color gamut that can be expressed by the first image device and the second color gamut information indicating the second color gamut that can be expressed by the second image device. Correction means for correcting the image signal converted by the first conversion means;
Mapping means for mapping the image signal corrected by the correction means into the second color gamut;
Functioning as second conversion means for converting the image signal mapped by the mapping means into a second image signal handled by the second image equipment ;
The correction unit extracts a point where the first color gamut and the second color gamut intersect, and the first color gamut and the second color gamut in a region having a higher brightness than the intersecting point. A control point is generated on the side where the brightness is higher than the second color gamut based on the distance between and the image signal is corrected so as to pass through the control point
An image processing program characterized by that .
第1の画像機器によって扱われる第1の画像信号を予め定められた色空間の画像信号に変換する第1の変換手段と、
第1の画像機器が表現し得る第1の色域を示す第1の色域情報と第2の画像機器が表現し得る第2の色域を示す第2の色域情報に基づいて、前記第1の変換手段によって変換処理された画像信号を補正する補正手段と、
前記補正手段によって補正処理された画像信号を前記第2の色域内に写像する写像手段と、
前記写像手段によって写像処理された画像信号を前記第2の画像機器によって扱われる第2の画像信号に変換する第2の変換手段
として機能させ、
前記第2の画像機器は、基本色と該基本色以外の色の色材によって画像を表現するものであり、
前記補正手段は、前記第1の色域と前記第2の色域が交差する点を抽出し、該交差する点よりも明度が高い領域における前記基本色による色域と該第2の色域の間の距離に基づいて、該第2の色域よりも明度が高くなる側に制御点を生成し、該制御点を通るように画像信号を補正する
ことを特徴とする画像処理プログラム。 Computer
First conversion means for converting a first image signal handled by the first image device into an image signal of a predetermined color space;
Based on the first color gamut information indicating the first color gamut that can be expressed by the first image device and the second color gamut information indicating the second color gamut that can be expressed by the second image device. Correction means for correcting the image signal converted by the first conversion means;
Mapping means for mapping the image signal corrected by the correction means into the second color gamut;
Functioning as second conversion means for converting the image signal mapped by the mapping means into a second image signal handled by the second image equipment ;
The second image device represents an image with a basic color and a color material of a color other than the basic color,
The correcting unit extracts a point where the first color gamut and the second color gamut intersect, and a color gamut based on the basic color and a second color gamut in a region having a higher brightness than the intersecting point. A control point is generated on the side where the brightness is higher than the second color gamut based on the distance between and the image signal is corrected so as to pass through the control point
An image processing program characterized by that .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012242850A JP5939132B2 (en) | 2012-11-02 | 2012-11-02 | Image processing apparatus and image processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012242850A JP5939132B2 (en) | 2012-11-02 | 2012-11-02 | Image processing apparatus and image processing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014093649A JP2014093649A (en) | 2014-05-19 |
JP5939132B2 true JP5939132B2 (en) | 2016-06-22 |
Family
ID=50937448
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012242850A Expired - Fee Related JP5939132B2 (en) | 2012-11-02 | 2012-11-02 | Image processing apparatus and image processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5939132B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016093248A1 (en) * | 2014-12-08 | 2016-06-16 | 日立化成株式会社 | Epoxy resin composition, resin sheet, prepreg, metal foil with resin, metal substrate and power semiconductor device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3954244B2 (en) * | 1999-07-16 | 2007-08-08 | 富士フイルム株式会社 | Color reproduction space compression / decompression method |
JP2005348053A (en) * | 2004-06-02 | 2005-12-15 | Seiko Epson Corp | Color conversion device; method, device, and program for print control unit; method, device, and program for generating color conversion data; and recording medium on which color conversion data is recorded |
JP2011217306A (en) * | 2010-04-02 | 2011-10-27 | Seiko Epson Corp | Color reproduction gamut converting method |
-
2012
- 2012-11-02 JP JP2012242850A patent/JP5939132B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2014093649A (en) | 2014-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10356282B2 (en) | Image processing apparatus and color separation processing method by interpolation processing using a multi-dimensional lookup table | |
US7982912B2 (en) | Color signal conversion method and apparatus, and method and apparatus for generating mapping parameters | |
JP4116028B2 (en) | Color gamut boundary detection apparatus, color gamut boundary detection method, and color gamut mapping method | |
US7809187B2 (en) | Color processing method and apparatus | |
JP5206503B2 (en) | Image processing apparatus and image processing program | |
US20100310160A1 (en) | Image processing apparatus and method for generating color conversion table | |
JP5882763B2 (en) | Image processing apparatus and profile creation method | |
US8350869B1 (en) | Preview for colorblind | |
JP5939132B2 (en) | Image processing apparatus and image processing program | |
JP2010074317A (en) | Image processor, image processing program, and image processing method | |
US11487488B2 (en) | Control apparatus, control method, and storage medium for performing a predetermined image processing based on a result of calibration on image data | |
JP5742283B2 (en) | Image processing apparatus and image processing program | |
KR101664185B1 (en) | Image processing apparatus, image processing method, and computer-readable recording medium | |
JP4894664B2 (en) | Image processing system and image processing program | |
JP6031936B2 (en) | Image processing apparatus and image processing program | |
JP2006094039A (en) | Image processor, processing method and program | |
JP4490327B2 (en) | Output device, color conversion method, and program | |
JP5958313B2 (en) | Image processing apparatus and image processing program | |
US9854134B2 (en) | Color processing apparatus and color processing method | |
JP2008072550A (en) | Color processing method, color processing apparatus, image forming apparatus, program and recording medium | |
JP5983166B2 (en) | Image processing apparatus and image processing program | |
JP2006287584A (en) | Image processing method, image processor and image processing system | |
JP5206468B2 (en) | Image processing apparatus and image processing program | |
JP2006211579A (en) | Color profile producing method and system | |
JP2009303060A (en) | Image processor and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150306 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160125 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160202 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160330 |
|
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: 20160419 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160502 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5939132 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |