JP5939132B2 - Image processing apparatus and image processing program - Google Patents

Image processing apparatus and image processing program Download PDF

Info

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
Application number
JP2012242850A
Other languages
Japanese (ja)
Other versions
JP2014093649A (en
Inventor
典子 酒井
典子 酒井
陽介 田代
陽介 田代
誠 藤尾
誠 藤尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2012242850A priority Critical patent/JP5939132B2/en
Publication of JP2014093649A publication Critical patent/JP2014093649A/en
Application granted granted Critical
Publication of JP5939132B2 publication Critical patent/JP5939132B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像処理装置及び画像処理プログラムに関する。   The present invention relates to an image processing apparatus and an image processing program.

特許文献1には、入力色域の全てを出力色域にマッピングするマッピング方法は、実際には使用されていない色域までも出力色域にマッピングすることになり、必要以上に彩度の低下や階調の潰れを発生させることを課題とし、入力デバイスに対応する入力色域データを取得し、設定し、次に、入力デバイスに対応する使用色域データを取得し、設定し、次に、出力デバイスに対応する出力色域データを取得し、設定し、次に、設定した入力色域データ及び使用色域データに基づき、入力画像を使用色域にマッピングし、次に、設定した使用色域データ及び出力色域データに基づき、使用色域にマッピングした画像を出力色域にマッピングすることが開示されている。   In Patent Document 1, the mapping method for mapping all of the input color gamuts to the output color gamut will map even the color gamuts that are not actually used to the output color gamut, resulting in lower saturation than necessary. The input gamut data corresponding to the input device is acquired and set, and then the used gamut data corresponding to the input device is acquired and set, and then Obtain and set the output color gamut data corresponding to the output device, then map the input image to the use color gamut based on the set input color gamut data and the use color gamut data, and then set the use It is disclosed that an image mapped to a use color gamut is mapped to an output color gamut based on the color gamut data and the output color gamut data.

特許文献2には、大きさの異なる色域の間でカラーデータを変換する際に、色の欠落、画像全体の明度変動、階調潰れを防止し、表示画像と印刷画像で全体としての見た目が変わらないよう変換することを課題とし、仮想色域導出過程は、第2色域の明度、彩度及び又は色相角度を変換し、少なくとも第1色域の明度を全て含む拡張した仮想色域を導出し、カラーデータ変更過程は、第1色域のカラーデータのうち仮想色域に含まれないカラーデータに対して、明度、彩度、色相角度を変更し、仮想色域に含まれる第3カラーデータを導出し、カラーデータ生成過程は、第3カラーデータに対して、仮想色域導出過程で第2色域に対して行われた変換と逆になる変換を行って第2カラーデータを生成することが開示されている。   In Patent Document 2, when color data is converted between color gamuts having different sizes, color loss, brightness variation of the entire image, and gradation collapse are prevented, and the appearance of the display image and the printed image as a whole is disclosed. In the virtual gamut derivation process, the brightness, saturation, and / or hue angle of the second gamut is converted, and the extended virtual gamut including all the brightness of the first gamut In the color data changing process, the brightness, saturation, and hue angle are changed for color data that is not included in the virtual color gamut among the color data in the first color gamut, and the color data included in the virtual color gamut. The third color data is derived, and the color data generation process performs a conversion on the third color data that is the reverse of the conversion performed on the second color gamut in the virtual color gamut derivation process. Is disclosed.

特開2006−254369号公報JP 2006-254369 A 特開2000−165692号公報JP 2000-165692 A

本発明は、第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 claim 1, wherein the correction is performed.

請求項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 claim 2 or claim 3 dependent on claim 2 .

請求項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 claim 5 is a first conversion means for converting the 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 Comprising a second conversion means for converting into a second image signal handled by the second image device, wherein 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 means intersects the first color gamut and the second color gamut. A side where lightness is higher than that of the second color gamut based on the distance between the color gamut of the basic color and the second color gamut in a region where lightness is higher than that of the intersecting point. An image processing apparatus is characterized in that a control point is generated and an image signal is corrected so as to pass through the control point .
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 claim 5, wherein the correction is performed.
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 claim 5 or 6.

請求項の発明は、前記補正手段は、前記第2の画像信号を補正することを特徴とする請求項1からのいずれか一項に記載の画像処理装置である。 The invention according to claim 8 is the image processing apparatus according to any one of claims 1 to 7 , wherein the correction unit corrects the second image signal.

請求項の発明は、前記補正手段は、色変換補正係数を生成することを特徴とする請求項1からのいずれか一項に記載の画像処理装置である。 The invention according to claim 9 is the image processing apparatus according to any one of claims 1 to 8 , wherein the correction unit generates a color conversion correction coefficient.

請求項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.

請求項の画像処理装置によれば、第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.

請求項の画像処理装置によれば、色変換補正係数を生成することができる。 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.

第1の実施の形態の構成例についての概念的なモジュール構成図である。It is a conceptual module block diagram about the structural example of 1st Embodiment. 基本色による出力色域例と入力色域例とを比較する説明図である。It is explanatory drawing which compares the output color gamut example by a basic color, and the input color gamut example. 基本色に特色が加わった場合の出力色域例と入力色域例とを比較する説明図である。It is explanatory drawing which compares the example of an output color gamut when a special color is added to the basic color, and the example of an input color gamut. 基本色に特色が加わった場合の出力色域例と入力色域例とを比較する説明図である。It is explanatory drawing which compares the example of an output color gamut when a special color is added to the basic color, and the example of an input color gamut. 第1の実施の形態による処理例を示すフローチャートである。It is a flowchart which shows the process example by 1st Embodiment. 第1の実施の形態による処理例を示すフローチャートである。It is a flowchart which shows the process example by 1st Embodiment. 第1の実施の形態による処理例を示す説明図である。It is explanatory drawing which shows the process example by 1st Embodiment. 第1の実施の形態による処理例を示す説明図である。It is explanatory drawing which shows the process example by 1st Embodiment. 従来技術による処理例を示す説明図である。It is explanatory drawing which shows the process example by a prior art. 第1の実施の形態による処理例を示す説明図である。It is explanatory drawing which shows the process example by 1st Embodiment. 第2の実施の形態の構成例についての概念的なモジュール構成図である。It is a conceptual module block diagram about the structural example of 2nd Embodiment. 第2の実施の形態による処理例を示す説明図である。It is explanatory drawing which shows the process example by 2nd Embodiment. 第2の実施の形態による処理例を示す説明図である。It is explanatory drawing which shows the process example by 2nd Embodiment. 第2の実施の形態による処理例を示す説明図である。It is explanatory drawing which shows the process example by 2nd Embodiment. 第3の実施の形態による処理例を示す説明図である。It is explanatory drawing which shows the process example by 3rd Embodiment. 本実施の形態を実現するコンピュータのハードウェア構成例を示すブロック図である。It is a block diagram which shows the hardware structural example of the computer which implement | achieves this Embodiment.

まず、本実施の形態を説明する前に、その前提となる画像処理技術について説明する。なお、この説明は、本実施の形態の理解を容易にすることを目的とするものである。
図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 input color gamut 210 is wider than the output color gamut 220, as shown in the example of FIG. Therefore, converting the input image signal to the output image signal is a process of moving the input image signal 212 to the output image signal 222 as shown in FIG. This graph shows the relationship between lightness and saturation at a certain hue angle, where the vertical axis is lightness and the horizontal axis is saturation, indicating that it is brighter at the top and brighter at the right. ing.
As an output device having the output color gamut 220 shown in FIG. 2, for example, color materials of four colors (C (Cyan), M (Magenta), Y (Yellow), K (breakK)), which are called basic colors, are used. Used.

しかし、出力装置が基本色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 output color gamut 330 is wider than the basic color gamut 320 as shown in the example of FIG. There are areas that become wider, but there are still areas that are narrower than the input color gamut 310. Then, when the input image signal is converted into the output image signal, the input image signal 312 is moved to the right as shown in the output image signal 332 and the left image is moved as shown in the example of FIG. Processing is required. The special color means a color material having a color different from the basic four colors.

図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 input color gamut 410a and the output color gamut 430a at a certain hue angle. Although the output color gamut 430a is wider than the basic color gamut 420a, it is on the higher lightness side (shown in the figure) than the maximum saturation point of the input color gamut 410a or the output color gamut 430a (the vertex of the input color gamut 410a or the output color gamut 430a in the figure). In the upper area, the input color gamut 410a and the output color gamut 430a intersect at a point where the output color gamut 430a is wider than the input color gamut 410a and the input color gamut 410a is wider than the output color gamut 430a. Divided into regions 450a. Therefore, conversion that moves to the right is necessary in the region 440a, and conversion that moves to the left is necessary in the region 450a.
The example of FIG. 4B shows the relationship between the input color gamut 410b and the output color gamut 430b at different hue angles. Although the positions where the input color gamut 410b and the output color gamut 430b intersect are different, regions 440b and 450b that require the same processing as in FIG. 4A are generated.
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 region 440a in the example of FIG. 4A occurs in the hue angles mainly indicating yellow and magenta, but not in other hue angles. There is.

以下、図面に基づき本発明を実現するにあたっての好適な各種の実施の形態の例を説明する。
図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 space conversion module 110, the input image signal correction module 120, and the color gamut information storage module are used. 130, a mapping module 140, and an output color space conversion module 150. The color gamut mapping process refers to a case where a color gamut that can be expressed by one image device is different from a color gamut that can be expressed by the other image device among a plurality of image devices. To map to. A color gamut forms an outline of an image signal handled by any of the image devices. Specifically, the input color gamut forms the outline of the input image signal, and the output color gamut forms the outline of the output image signal. The image signal is converted by the above mapping. Therefore, converting the color gamut (including correction and the like) is synonymous with converting the image signal. The description that the color gamuts intersect indicates that the outline of the input color gamut (the line surrounding the color gamut) and the outline of the output color gamut intersect.
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色空間が該当する。入力色空間変換モジュール110による変換は、色空間の変換であり、例えば、RGB画像情報からLa画像情報への変換であり、この変換処理は、既に知られている技術を用いればよい。もちろんのことながら、Laだけでなく、XYZなど他の色空間であってもよい。また、入力画像信号がLaの場合には、入力色空間変換モジュール110は必要なく、入力画像信号Laが入力画像信号補正モジュール120に入力される。 The input color space conversion module 110 is connected to the input image signal correction module 120. The input color space conversion module 110 converts the first image signal handled by the first image device into an image signal in a predetermined color space. For example, a display or the like corresponds to the first image device. For example, an RGB image signal corresponds to the first image signal. As the predetermined color space, for example, a La * b * color space that does not depend on a specific image device is applicable. The conversion by the input color space conversion module 110 is a color space conversion, for example, conversion from RGB image information to La * b * image information, and this conversion processing may be performed using a known technique. . Of course, not only La * b * but also other color spaces such as XYZ may be used. When the input image signal is La * b * , the input color space conversion module 110 is not necessary, and the input image signal La * b * is input to the input image signal correction module 120.

入力画像信号補正モジュール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 signal correction module 120 is connected to the input color space conversion module 110, the color gamut information storage module 130, and the mapping module 140. The input image signal correction module 120 includes first color gamut information (input color gamut information 132) indicating a first color gamut that can be expressed by the first image device, and second information that can be expressed by the second image device. The image signal converted by the input color space conversion module 110 is corrected based on the second color gamut information (output color gamut information 134) indicating the color gamut.
The input image signal correction module 120 is a region having a lightness higher than the maximum saturation point of the first color gamut or the second color gamut, and the lightness of the second color gamut is the same in the same saturation. Correction may be performed when there is an area higher than the brightness of the first color gamut or when there is an area where the saturation of the second color gamut is higher than the saturation of the first color gamut at the same brightness. Good. If it demonstrates using the example of Fig.4 (a), the area | region where the output color gamut 430a is higher than the input color gamut 410a should just exist above the vertex of the input color gamut 410a or the output color gamut 430a. The output color gamut 430a may have a higher brightness than the input color gamut 410a as a whole, or the output color gamut 430a may have a higher brightness than the input color gamut 410a in some areas. Therefore, the output color gamut 430a may include a region having the same brightness as the input color gamut 410a or a region having the same brightness.

そして、入力画像信号補正モジュール120は、第1の色域と第2の色域が交差する点を抽出し、その交差する点よりも明度が高い領域における第1の色域と第2の色域の間の距離に基づいて、第2の色域よりも明度が高くなる側に制御点を生成し、その制御点を通るように画像信号を補正する。交差する点よりも明度が高い領域とは、交差する点と第1の色域又は第2の色域における最大明度の点との間の領域でもある。そして、距離としては、第1の色域と第2の色域の明度差、彩度差のいずれか一方、又はこれらの組み合わせである。この補正処理については、後に図8を用いて詳述する。また、交差点を先に抽出するのではなく、最大彩度点の明度と予め定められた補正係数(例えば、白と最大彩度の明度の明度差で白から1/3の位置など)から制御点を設定し、制御点が交差点より高明度側(又は高彩度側)の場合に補正を実施するようにしてもよい。   Then, the input image signal correction module 120 extracts a point where the first color gamut and the second color gamut intersect, and the first color gamut and the second color in a region where the brightness is higher than the intersecting point. Based on the distance between the areas, a control point is generated on the side where the brightness is higher than that of the second color gamut, and the image signal is corrected so as to pass through the control point. The region having a higher brightness than the intersecting point is also a region between the intersecting point and the point of maximum brightness in the first color gamut or the second color gamut. The distance is one of the brightness difference and the saturation difference between the first color gamut and the second color gamut, or a combination thereof. This correction process will be described in detail later with reference to FIG. In addition, the intersection is not extracted first, but controlled from the brightness of the maximum saturation point and a predetermined correction coefficient (for example, a position of 1/3 from white due to the brightness difference between the brightness of white and the maximum saturation). A point may be set and correction may be performed when the control point is on the higher brightness side (or higher saturation side) than the intersection.

色域情報記憶モジュール130は、入力色域情報132、出力色域情報134を記憶しており、入力画像信号補正モジュール120と接続されている。入力色域情報132は、例えば、ディスプレイ等が表現し得る色域を示す情報である。出力色域情報134は、例えば、プリンター等が表現し得る色域を示す情報である。これらは、第1の画像機器、第2の画像機器が表現し得る色域を予め測定等して得たデータである。なお、第2の画像機器は、基本色とその基本色以外の色の色材によって画像を表現するものであってもよい。例えば、基本色とは前述の基本色4色(YMCK)であり、基本色以外の色とは特色である。   The color gamut information storage module 130 stores input color gamut information 132 and output color gamut information 134 and is connected to the input image signal correction module 120. The input color gamut information 132 is information indicating a color gamut that can be expressed by a display, for example. The output color gamut information 134 is information indicating a color gamut that can be expressed by a printer, for example. These are data obtained by measuring in advance the color gamut that can be expressed by the first image device and the second image device. The second image device may represent an image with a basic color and a color material of a color other than the basic color. For example, the basic colors are the four basic colors (YMCK) described above, and the colors other than the basic colors are special colors.

写像モジュール140は、入力画像信号補正モジュール120、出力色空間変換モジュール150と接続されている。写像モジュール140は、入力画像信号補正モジュール120によって補正処理された画像信号を第2の色域内に写像する。いわゆるマッピング処理であり、この処理は、既に知られている技術を用いればよい。なお、マッピングが明度保持の場合は彩度方向への移動となり、マッピングが彩度保持の場合は明度方向への移動となる。
出力色空間変換モジュール150は、写像モジュール140と接続されている。出力色空間変換モジュール150は、写像モジュール140によって写像処理された画像信号を第2の画像機器によって扱われる第2の画像信号(出力画像信号195)に変換する。第2の画像機器としては、例えば、プリンター等が該当する。出力色空間変換モジュール150による変換は、色空間の変換であり、例えば、La画像情報からCMYK+特色の画像情報への変換であり、この変換処理は、既に知られている技術を用いればよい。そして、出力画像信号195を第2の画像機器が処理する。具体的には、プリンターが印刷する等である。
The mapping module 140 is connected to the input image signal correction module 120 and the output color space conversion module 150. The mapping module 140 maps the image signal corrected by the input image signal correction module 120 into the second color gamut. This is a so-called mapping process, and a known technique may be used for this process. Note that when the mapping is holding the lightness, the movement is in the saturation direction, and when the mapping is holding the saturation, the movement is in the lightness direction.
The output color space conversion module 150 is connected to the mapping module 140. The output color space conversion module 150 converts the image signal mapped by the mapping module 140 into a second image signal (output image signal 195) handled by the second image device. For example, a printer or the like corresponds to the second image device. The conversion by the output color space conversion module 150 is a color space conversion, for example, conversion from La * b * image information to CMYK + spot color image information, and this conversion processing uses a known technique. That's fine. Then, the second image device processes the output image signal 195. Specifically, the printer performs printing.

図5は、第1の実施の形態による処理例を示すフローチャートである。
ステップS502では、入力色空間変換モジュール110が、入力画像信号105を受け付ける。
ステップS504では、入力色空間変換モジュール110が、入力画像信号105をLa色空間に変換する。
ステップ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 space conversion module 110 receives the input image signal 105.
In step S504, the input color space conversion module 110 converts the input image signal 105 into the La * b * color space.
In step S506, the input image signal correction module 120 corrects the image signal. This process will be described in detail using the example of FIG.
In step S508, the mapping module 140 converts the image signal.
In step S510, the output color space conversion module 150 converts the image signal into a basic color + spot color space.
In step S512, the output color space conversion module 150 outputs an image signal.

図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 region 740 in which the output color gamut 720 is wider than the input color gamut 710 in the region where the brightness is higher than the point 784 which is the maximum saturation. If it exists, it is determined that correction is necessary.

ステップS606では、入力色域情報132と出力色域情報134を取得する。
ステップS608では、色域の交点を抽出し、起点を設定する。図8の例を用いて説明する。入力色域810と出力色域830の交点882を抽出する。そして、写像方向において入力色域810と出力色域830間の距離が最大となる点892を起点として設定する。例えば、写像方向が明度保持の場合は、彩度差が最大となる点が起点となる。なお、この点892は、図に示す位置でなくても、入力色域810が出力色域830よりも狭い範囲(出力色域830上にあって、点880から交点882までの間)にある点であればよい。
In step S606, input color gamut information 132 and output color gamut information 134 are acquired.
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 intersection point 882 between the input color gamut 810 and the output color gamut 830 is extracted. Then, a point 892 at which the distance between the input color gamut 810 and the output color gamut 830 is maximum in the mapping direction is set as a starting point. For example, when the mapping direction is brightness maintenance, the point where the saturation difference is the maximum is the starting point. Even if the point 892 is not at the position shown in the figure, the input color gamut 810 is in a range narrower than the output color gamut 830 (between the point 880 and the intersection 882 on the output color gamut 830). Any point is acceptable.

ステップ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 point 894 that is the intersection of a line segment having a predetermined angle and the input color gamut 810 is calculated through the starting point 892, and the distance between the point 892 and the point 894 is calculated.
In step S612, a control point is set using distance × coefficient. This will be described with reference to the example of FIG. A control point 886 is a point that passes through a point 894 that is the intersection of the starting point 892 and the input color gamut 810 and extends to the high brightness side. The coefficient is a predetermined number.
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 point 880, the control point 886, and the point 884 is generated, and the input color gamut 810 is corrected to generate a corrected input color gamut 850.

図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 input color gamut 810 has been converted to the corrected input color gamut 850.
First, an intersection point 882 that is a point where the input color gamut 810 and the output color gamut 830 intersect is calculated. Note that the color gamut intersect means that the color gamut outlines intersect. Then, the distance between the input color gamut 810 and the output color gamut 830 at a predetermined position is calculated on the higher brightness side than the intersection 882 (region where the output color gamut 830 is wider than the input color gamut 810). As the predetermined position, for example, the point where the input color gamut 810 and the output color gamut 830 are farthest in the mapping direction, the center of the area, or 2/3 of the area closer to the white side (left side in the figure). There is a point in position. In the example of FIG. 8, the points 894 and 892 correspond. Therefore, the calculated distance is the distance between the point 894 and the point 892. In the above example, when the mapping direction is the lightness direction, the lightness difference (vertical direction in the figure) between the input color gamut 810 and the output color gamut 830 is the distance. When the mapping direction is the saturation direction, the saturation difference (horizontal direction in the figure) between the input color gamut 810 and the output color gamut 830 is the distance. When the mapping direction is an oblique direction, the square root of the value obtained by adding the square of the brightness difference and the square of the saturation difference between the input color gamut 810 and the output color gamut 830 is the distance.
Then, a point at a position away from the point 892 by a predetermined multiple (for example, twice) of the distance is set as a control point 886. A line passing through the point 880 (the point where the input color gamut 810 intersects the vertical axis, white), the control point 886, and the point 884 (the maximum saturation point of the input color gamut 810) is drawn to obtain the corrected input color gamut 850. Generate. The line passing through the point 880, the control point 886, and the point 884 may be, for example, a straight line, a spline curve, a curve obtained by inverting the original input color gamut 810, or the like.
By this correction processing, the input color gamut 810 is corrected to the input color gamut 850 after correction, and the input color gamut 850 after correction becomes a color gamut wider than the output color gamut 830.
When such correction is performed, the mapping by the mapping module 140 is a mapping from the corrected input color gamut 850 to the output color gamut 830.

図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 signals 914, 918, 922, and 926 after conventional mapping, respectively, and the input image signals 912 and 916 are respectively in the right direction. The image is expanded to the signals 914 and 918 after the conventional mapping, and the input image signals 924 and 928 are respectively compressed to the signals 922 and 926 after the conventional mapping in the left direction, and the image signals having the same hue angle are compressed and expanded. Are mixed.

図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 mapping module 140 for the corrected input color gamut 850 shown in the example of FIG.
In this embodiment, since the input color gamut 810 is corrected to the corrected input color gamut 850 and then the mapping is compressed, expansion and expansion are not mixed in the same hue, and only compression is performed. As a result, the gradation reproducibility is prevented from being lost. Specifically, the corrected input image signals 1014, 1018, 1024, and 1028 having the same hue are compressed into the mapped signals 1012, 1016, 1022, and 1026, respectively, and are not expanded.
In addition, since the control points are generated using the difference data between the input color gamut 810 and the output color gamut 830, the correction amount is only necessary, and the expansion amount to be corrected is suppressed. As a result, the amount of data inside the input color gamut 810 is suppressed.
Since the input color gamut 810 is changed, the image signal in the outline of the input color gamut 810 is converted into the outline of the output color gamut 830. Specifically, the corrected input image signal 1018 is compressed into a signal 1016 after mapping, and the corrected input image signal 1028 is compressed into a signal 1026 after mapping. As a result, the amount of dust is reduced and a wide color gamut is used.

第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 space conversion module 110, an input image signal correction module 1120, a color gamut information storage module 1130, a mapping module 140, and an output color space conversion module 150. doing. In addition, the same code | symbol is attached | subjected to the site | part of the same kind as 1st Embodiment, and the overlapping description is abbreviate | omitted (hereinafter the same).
The input color space conversion module 110 is connected to the input image signal correction module 1120.

入力画像信号補正モジュール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 signal correction module 1120 is connected to the input color space conversion module 110, the color gamut information storage module 1130, and the mapping module 140. The input image signal correction module 1120 is a process equivalent to the input image signal correction module 120 as in the first embodiment, that is, the first color indicating the first color gamut that can be expressed by the first image device. The image signal converted by the input color space conversion module 110 is corrected based on the gamut information and the second gamut information indicating the second gamut that can be expressed by the second image device. The input image signal correction module 1120 is an area having a lightness higher than the maximum saturation point of the first color gamut or the second color gamut, and the lightness of the second color gamut is the first color gamut. The correction may be performed when there is an area higher than the brightness of.
Then, the input image signal correction module 1120 extracts a point where the first color gamut and the second color gamut intersect, and the color gamut based on the basic color and the second color in the region having higher brightness than the intersecting point. Based on the distance between the areas, a control point is generated on the side where the brightness is higher than that of the second color gamut, and the image signal is corrected so as to pass through the control point. Specifically, using the input color gamut information 1132 and the output color gamut information A (spot color) 1134, a point where the first color gamut and the second color gamut intersect is extracted. Then, a distance is calculated using the output color gamut information B (basic color) 1136 and the output color gamut information A (spot color) 1134, and a control point is generated using the distance.

色域情報記憶モジュール1130は、入力色域情報1132、出力色域情報A(特色)1134、出力色域情報B(基本色)1136を記憶しており、入力画像信号補正モジュール1120と接続されている。入力色域情報1132は、例えば、ディスプレイ等が表現し得る色域を示す情報である。出力色域情報A(特色)1134は、例えば、プリンター等が基本4色と特色の組み合わせを用いて表現し得る色域を示す情報である。出力色域情報B(基本色)1136は、例えば、そのプリンター等が基本4色の組み合わせ(基本4色だけ、特色は含まず)を用いて表現し得る色域を示す情報である。
写像モジュール140は、入力画像信号補正モジュール1120、出力色空間変換モジュール150と接続されている。
出力色空間変換モジュール150は、写像モジュール140と接続されている。
The color gamut information storage module 1130 stores input color gamut information 1132, output color gamut information A (spot color) 1134, and output color gamut information B (basic color) 1136, and is connected to the input image signal correction module 1120. Yes. The input color gamut information 1132 is information indicating a color gamut that can be expressed by a display, for example. The output color gamut information A (spot color) 1134 is information indicating a color gamut that a printer or the like can express using a combination of four basic colors and a spot color. The output color gamut information B (basic color) 1136 is information indicating a color gamut that the printer or the like can represent by using a combination of four basic colors (only four basic colors, not including a special color).
The mapping module 140 is connected to the input image signal correction module 1120 and the output color space conversion module 150.
The output color space conversion module 150 is connected to the mapping module 140.

図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 intersection point 1282, which is a point where the input color gamut 1210 and the output color gamut 1230 intersect, is extracted, and between the basic four color gamuts 1220 and the output color gamut 1230 in a region (upper side in the drawing) having a lightness higher than the intersection point 1282. , A control point 1286 is generated on the side where the brightness is higher than the output color gamut 1230, and the input color gamut 1210 is corrected so as to pass through the control point. The corrected input color gamut 1250 is generated.
The distance between the point 1292 and the point 1294 is the distance between the color gamut 1220 of the basic four colors and the output color gamut 1230 which is a combination of the basic four colors and the spot color in the mapping direction (here, the saturation direction, the horizontal direction in the figure). The distance between the points (points 1292 and 1294) at which the saturation difference is maximized. Then, a point obtained by adding the distance to a point 1296 having the same brightness as the point 1292 of the input color gamut 1210 is set as a control point 1286. The point 1280 that is white, the control point 1286, and the point 1284 that is the maximum saturation point of the input color gamut 1210 are connected by a spline curve or the like, and the input color gamut 1210 is corrected to the corrected input color gamut 1250.

図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 point 1380, the control point a 1386, and the point 1384 are connected. In the example of FIG. 13, the point 1380, the control point a 1386, and the control point b 1388 are connected. The control point a 1386 is selected to be a point that is lower than the point 1384 that is the maximum brightness of the input color gamut 1310 by a predetermined brightness correction amount 1399. Then, the control point b1388 may be selected so as to be equal to or higher than the maximum brightness of the output color gamut 1330. Furthermore, in the saturation direction, the control point b1388 may be selected so that it is not less than the maximum saturation of the output color gamut 1330 and not more than the maximum saturation of the input color gamut 1310. For example, in order to simplify the selection process, the maximum saturation of the input color gamut 1310 may be set as the saturation of the control point b1388.
The relationship between the saturation and lightness of the control point a 1386 and the control point b 1388 is shown in the example of FIG. When the brightness correction amount is 0, the brightness of the input image signal remains as it is. That is, the corrected input color gamut 1350 corrects the brightness of the input color gamut 1310 as shown in the graph of the example of FIG. As a result of such correction, the input color gamut 1310 is corrected to a corrected input color gamut 1350 that approximates the shape of the output color gamut 1330.

第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 signal correction module 120 and the input image signal correction module 1120 correct the output image signal.
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 input color gamut 1510 or the special color gamut 1530 and the lightness of the special color gamut 1530 is higher than the lightness of the input color gamut 1510. This is as described above. Then, as described above, the intersection 1582 of the input color gamut 1510 and the spot color gamut 1530 is extracted.
Next, for example, a point on the spot color gamut 1530 in the area where the saturation difference is maximum in the mapping direction and the spot color gamut 1530 is wider than the input color gamut 1510 is set as the control point x1586. A control point y1588 is set to a point where a line extending from the maximum saturation point to the high lightness side of the color gamut on the southern hemisphere side (lower half) in the color space and a line passing through the white point 1580 and the control point x1586 are connected. Then, the spot color gamut 1530 from the point 1580 which is white to the control point x1586 and a line passing through the control point x1586 and the control point y1588 are set as the corrected output color gamut 1550.
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 space conversion module 110, the input image signal correction module 120, the mapping module 140, the output color space conversion module 150, and the like. It is a control part which performs the process according to the computer program which described the execution sequence of a module.

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 input image signal 105, an output image signal 195, input color gamut information 132, output color gamut information 134, input color gamut information 1132, output color gamut information A (special color) 1134, and output color gamut information B (basic color). 1136 and the like are stored. Further, various computer programs such as various other data processing programs are stored.

ドライブ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 SYMBOLS 105 ... Input image signal 110 ... Input color space conversion module 120 ... Input image signal correction module 130 ... Color gamut information storage module 132 ... Input gamut information 134 ... Output color gamut information 140 ... Mapping module 150 ... Output color space conversion module 1120 ... Input image signal correction module 1130 ... Color gamut information storage module

Claims (11)

第1の画像機器によって扱われる第1の画像信号を予め定められた色空間の画像信号に変換する第1の変換手段と、
第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 .
前記第2の画像機器は、基本色と該基本色以外の色の色材によって画像を表現するものである
ことを特徴とする請求項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の色域の最大彩度の点よりも明度が高い領域であって、同じ彩度において前記第2の色域の明度が前記第1の色域の明度よりも高い領域がある場合又は同じ明度において前記第2の色域の彩度が前記第1の色域の彩度よりも高い領域がある場合に、前記補正を行う
ことを特徴とする請求項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.
前記補正手段は、前記第1の色域と前記第2の色域が交差する点を抽出し、該交差する点よりも明度が高い領域における前記基本色による色域と該第2の色域の間の距離に基づいて、該第2の色域よりも明度が高くなる側に制御点を生成し、該制御点を通るように画像信号を補正する
ことを特徴とする請求項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の変換手段と、
第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 .
前記補正手段は、前記第1の色域又は前記第2の色域の最大彩度の点よりも明度が高い領域であって、同じ彩度において前記第2の色域の明度が前記第1の色域の明度よりも高い領域がある場合又は同じ明度において前記第2の色域の彩度が前記第1の色域の彩度よりも高い領域がある場合に、前記補正を行う
ことを特徴とする請求項に記載の画像処理装置。
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:
前記補正手段は、前記第1の色域と前記第2の色域が交差する点を抽出し、該交差する点よりも明度が高い領域における該第1の色域と該第2の色域の間の距離に基づいて、該第2の色域よりも明度が高くなる側に制御点を生成し、該制御点を通るように画像信号を補正する
ことを特徴とする請求項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.
前記補正手段は、前記第2の画像信号を補正する
ことを特徴とする請求項1からのいずれか一項に記載の画像処理装置。
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からのいずれか一項に記載の画像処理装置。
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 .
JP2012242850A 2012-11-02 2012-11-02 Image processing apparatus and image processing program Expired - Fee Related JP5939132B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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