JP4775328B2 - Image processing apparatus and program - Google Patents

Image processing apparatus and program Download PDF

Info

Publication number
JP4775328B2
JP4775328B2 JP2007151560A JP2007151560A JP4775328B2 JP 4775328 B2 JP4775328 B2 JP 4775328B2 JP 2007151560 A JP2007151560 A JP 2007151560A JP 2007151560 A JP2007151560 A JP 2007151560A JP 4775328 B2 JP4775328 B2 JP 4775328B2
Authority
JP
Japan
Prior art keywords
outline
color gamut
output
gamut
input
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
JP2007151560A
Other languages
Japanese (ja)
Other versions
JP2008306447A (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 JP2007151560A priority Critical patent/JP4775328B2/en
Publication of JP2008306447A publication Critical patent/JP2008306447A/en
Application granted granted Critical
Publication of JP4775328B2 publication Critical patent/JP4775328B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

本発明は、画像信号の変換を行なう画像処理装置およびプログラムに関する。   The present invention relates to an image processing apparatus and program for converting an image signal.

モニタなどの入力機器で生成された画像信号をプリンタなどの出力機器で出力する場合には、通常、該生成された画像信号を出力機器の色再現域に合うように変換する処理が必要となる。   When an image signal generated by an input device such as a monitor is output by an output device such as a printer, it is usually necessary to convert the generated image signal so that it matches the color gamut of the output device. .

従来、入力色域が出力色域よりも外側にある場合には、出力色域内の画像信号に変換し、入力色域が出力色域よりも内側にある場合には、変換せずにそのままの色値を用いることが多く、出力色域を十分活かした色変換が行なわれていなかった。そこで、出力色域を活かすための技術として、画像入力装置により入力された画像データを所望の画像出力装置に出力する際に、所定の表色系における該画像データの色域が出力装置の色域の内部にある場合には該画像データの色域が出力装置の色域を十分活用するように該画像データの色域を伸長する色変換を行い、所定の表色系における該画像データの色域が該出力装置の色域を超えている場合には該画像データの色域が該出力装置の色域を十分活用するように該画像データの色域を圧縮する色変換を行う画像処理装置が提案されている(例えば、特許文献1参照。)。しかしながら、このように一律に出力色域全域を使い切って色変換を行なうことは必ずしも最適な色再現につながるとは言えない。   Conventionally, when the input color gamut is outside the output color gamut, it is converted to an image signal within the output color gamut, and when the input color gamut is inside the output color gamut, the conversion is not performed. Color values are often used, and color conversion that makes full use of the output color gamut has not been performed. Therefore, as a technique for utilizing the output color gamut, when outputting the image data input by the image input device to a desired image output device, the color gamut of the image data in a predetermined color system is the color of the output device. If the image data is within the gamut, color conversion is performed to expand the color gamut of the image data so that the color gamut of the image data fully utilizes the color gamut of the output device. Image processing for performing color conversion to compress the color gamut of the image data so that the color gamut of the image data fully utilizes the color gamut of the output device when the color gamut exceeds the color gamut of the output device An apparatus has been proposed (see, for example, Patent Document 1). However, it can not be said that performing color conversion by using up the entire output color gamut in this way necessarily leads to optimum color reproduction.

また、画像信号の変換に関する技術ではないが、色補正に関する技術としては、入力系ガマットよりも出力系ガマットの方が広い領域で、彩度強調処理の程度を入力系ガマットの大きさに応じて変更して彩度強調を行う画像処理装置も提案されている(例えば、特許文献2参照。)。
特開2001−28694公報 特開2002−314832公報
In addition, although not related to image signal conversion, the technology related to color correction is that the output system gamut is wider than the input system gamut, and the degree of saturation enhancement depends on the size of the input system gamut. There has also been proposed an image processing apparatus that performs saturation enhancement by changing (see, for example, Patent Document 2).
JP 2001-28694 A Japanese Patent Laid-Open No. 2002-314832

本発明は、出力色域を十分に活かしつつ、入力側で再現される色の印象と出力側で再現される色の印象を合わせるように画像信号を変換することができる画像処理装置およびプログラムを提供することを目的とする。   The present invention provides an image processing apparatus and program capable of converting an image signal so as to match an impression of a color reproduced on the input side and an impression of a color reproduced on the output side while fully utilizing the output color gamut. The purpose is to provide.

請求項1の発明の画像処理装置は、所定の色空間における入力側の色再現域を示す入力色域内の画像信号を前記所定の色空間における出力側の色再現域を示す出力色域内の画像信号に変換する際に用いる変換用の色域の外郭を設定する場合に、前記所定の色空間を所定明度を境界として高明度側の領域と低明度側の領域に分割する分割手段と、前記所定の色空間の座標系を形成する軸に平行な第1の直線と前記入力色域の外郭とが交わる点と、該第1の直線と前記出力色域の外郭とが交わる点との距離または色差を、前記入力色域の外郭と前記出力色域の外郭との差として求めるか、又は前記所定の色空間の座標系を形成する軸上にあり前記入力色域内部且つ前記出力色域内部にある所定の点から前記入力色域の外郭に向かって延びる第2の直線と前記入力色域の外郭とが交わる点と、該第2の直線と前記出力色域の外郭とが交わる点との距離または色差を、前記入力色域の外郭と前記出力色域の外郭との差として求める外郭差導出手段と、前記低明度側の領域において前記入力色域の外郭が前記出力色域の外郭の外側に位置する部分であるとともに、前記外郭差導出手段により求められた差が所定値以上の部分については、前記出力色域の外郭を前記変換用の色域の外郭として設定し、前記低明度側の領域において前記入力色域の外郭が前記出力色域の外郭の外側に位置する部分であるとともに、前記外郭差導出手段により求められた差が所定値未満の部分については、前記出力色域より内側に前記変換用の色域の外郭を生成して設定する第1設定手段と、前記高明度側の領域について前記変換用の色域の外郭を設定する第2設定手段と、前記入力色域内の画像信号を、前記第1設定手段及び前記第2設定手段で設定された外郭を有する変換用の色域内の画像信号に変換する変換手段と、を含んでいる。 An image processing apparatus according to claim 1 is an image signal in an input color gamut indicating an input color gamut in a predetermined color space, and an image in an output color gamut indicating an output color gamut in the predetermined color space. A division unit that divides the predetermined color space into a high lightness side region and a low lightness side region with a predetermined lightness as a boundary when setting an outline of a conversion color gamut used for conversion into a signal ; A distance between a point where a first straight line parallel to an axis forming a coordinate system of a predetermined color space intersects with the outline of the input color gamut and a point where the first straight line intersects with the outline of the output color gamut Alternatively, a color difference is obtained as a difference between an outline of the input color gamut and an outline of the output color gamut, or is on an axis that forms a coordinate system of the predetermined color space and is inside the input color gamut and the output color gamut A second extending from a predetermined point inside to the outline of the input color gamut The distance or color difference between the point where the line and the outline of the input color gamut intersect and the point where the second straight line and the outline of the output color gamut intersect is expressed as the outline of the input color gamut and the outline of the output color gamut. A contour difference deriving unit that is obtained as a difference between the input color gamut and a portion that is located outside the contour of the output color gamut in the low brightness side region, and the contour difference deriving unit For a portion where the difference is greater than or equal to a predetermined value, the outline of the output color gamut is set as the outline of the color gamut for conversion, and the outline of the input color gamut is the outline of the output color gamut in the low lightness side area. For a portion that is located outside and whose difference obtained by the contour difference deriving means is less than a predetermined value, a contour of the conversion color gamut is generated and set inside the output color gamut. 1 setting means and the area on the high brightness side A second setting means for setting a contour of a color gamut for the conversion have, an image signal of the input color gamut, the color gamut for the conversion with an outer shell that is set by the first setting means and said second setting means Conversion means for converting the image signal into the image signal.

請求項2の発明は、請求項1に記載の画像処理装置において、前記第1設定手段は、更に、前記低明度側の領域において前記入力色域の外郭が前記出力色域の外郭の内側にある部分について、前記入力色域の外郭から前記出力色域の外郭までの範囲に前記変換用の色域の外郭を生成して設定するAccording to a second aspect of the present invention, in the image processing apparatus according to the first aspect , the first setting unit further includes an outline of the input color gamut inside an outline of the output color gamut in the low lightness side area. For a certain part, an outline of the color gamut for conversion is generated and set in a range from the outline of the input color gamut to the outline of the output color gamut .

請求項3の発明は、請求項1又は請求項2に記載の画像処理装置において、前記第2設定手段は、前記高明度側の領域について、前記出力色域の外郭を前記変換用の色域の外郭として設定するAccording to a third aspect of the present invention, in the image processing apparatus according to the first or second aspect, the second setting means sets the outline of the output color gamut to the color gamut for conversion for the area on the high brightness side. Set as the outline of .

請求項4の発明は、請求項2又は請求項3に記載の画像処理装置において、前記第1設定手段は、前記入力色域の外郭が前記出力色域の外郭の内側にある部分について前記変換用の色域の外郭を生成する場合には、所定の条件に応じた形状の外殻を前記変換用の色域の外郭として生成するAccording to a fourth aspect of the present invention, in the image processing device according to the second or third aspect, the first setting unit performs the conversion on a portion where the outline of the input color gamut is inside the outline of the output color gamut. When generating a color gamut outline for a specific color, an outer shell having a shape corresponding to a predetermined condition is generated as the outline of the color gamut for conversion .

請求項5の発明は、請求項1〜請求項4のいずれか1項に記載の画像処理装置において、前記第1設定手段は、前記変換用の色域の外郭を生成する場合に、前記入力色域の外郭から前記出力色域の外郭までの範囲に、前記所定の条件に応じた点を設定し、該設定した点を通るように前記外郭を生成するAccording to a fifth aspect of the present invention, in the image processing apparatus according to any one of the first to fourth aspects, the first setting means generates the input color gamut outline when the input color gamut contour is generated. A point corresponding to the predetermined condition is set in a range from the outline of the color gamut to the outline of the output color gamut, and the outline is generated so as to pass through the set point .

請求項6の発明の画像処理装置は、所定の色空間における入力側の色再現域を示す入力色域内の画像信号を前記所定の色空間における出力側の色再現域を示す出力色域内の画像信号に変換する際に用いる変換用の色域の外郭を設定する場合に、前記所定の色空間を所定明度を境界として高明度側の領域と低明度側の領域に分割する分割手段と、前記所定の色空間の座標系を形成する軸に平行な第1の直線と前記入力色域の外郭とが交わる点と、該第1の直線と前記出力色域の外郭とが交わる点との距離または色差を、前記入力色域の外郭と前記出力色域の外郭との差として求めるか、又は前記所定の色空間の座標系を形成する軸上にあり前記入力色域内部且つ前記出力色域内部にある所定の点から前記入力色域の外郭に向かって延びる第2の直線と前記入力色域の外郭とが交わる点と、該第2の直線と前記出力色域の外郭とが交わる点との距離または色差を、前記入力色域の外郭と前記出力色域の外郭との差として求める外郭差導出手段と、前記高明度側の領域においては、前記出力色域の外郭を前記変換用の色域の外郭として設定し、前記低明度側の領域においては、前記入力色域の外郭が前記出力色域の外郭の外側に位置する連続した部分で、且つ前記差の最大値が所定値以上の部分については、前記出力色域の外郭を前記変換用の色域の外郭として設定し、前記入力色域の外郭が前記出力色域の外郭の外側に位置する連続した部分で、且つ前記差の最大値が所定値未満の部分については、前記出力色域より内側に前記変換用の色域の外郭を生成して設定し、前記入力色域の外郭が前記出力色域の外郭の内側に位置する連続した部分については、前記入力色域の外郭から前記出力色域の外郭までの範囲に前記変換用の色域の外郭を生成して設定する設定手段と、前記入力色域内の画像信号を、前記設定手段で設定された外郭を有する変換用の色域内の画像信号に変換する変換手段と、を備えている An image processing apparatus according to a sixth aspect of the present invention provides an image signal in the input color gamut indicating the color reproduction gamut on the input side in the predetermined color space, and an image in the output color gamut indicating the color reproduction gamut on the output side in the predetermined color space. A division unit that divides the predetermined color space into a high lightness side region and a low lightness side region with a predetermined lightness as a boundary when setting an outline of a conversion color gamut used for conversion into a signal; A distance between a point where a first straight line parallel to an axis forming a coordinate system of a predetermined color space intersects with the outline of the input color gamut and a point where the first straight line intersects with the outline of the output color gamut Alternatively, a color difference is obtained as a difference between an outline of the input color gamut and an outline of the output color gamut, or is on an axis that forms a coordinate system of the predetermined color space and is inside the input color gamut and the output color gamut A second extending from a predetermined point inside to the outline of the input color gamut The distance or color difference between the point where the line and the outline of the input color gamut intersect and the point where the second straight line and the outline of the output color gamut intersect is expressed as the outline of the input color gamut and the outline of the output color gamut. And a contour difference deriving unit for obtaining the difference between the output color gamut and the output color gamut contour as the contour of the conversion color gamut in the high lightness region, and the input in the low lightness region. For a continuous portion where the outline of the color gamut is located outside the outline of the output color gamut and the maximum value of the difference is equal to or greater than a predetermined value, the outline of the output color gamut is converted to the color gamut for conversion. The outline is set as an outline, and the outline of the input color gamut is a continuous part located outside the outline of the output color gamut, and the part where the maximum difference is less than a predetermined value is inside the output color gamut. Generate and set the outline of the color gamut for conversion and set it outside the input color gamut. Is set to generate and set the outline of the conversion color gamut in a range from the outline of the input color gamut to the outline of the output color gamut for continuous portions located inside the outline of the output color gamut And conversion means for converting an image signal in the input color gamut into an image signal in the conversion color gamut having an outline set by the setting means .

請求項7の発明は、請求項に記載の画像処理装置において、前記設定手段は、前記入力色域の外郭が前記出力色域の外郭の内側にある部分について前記変換用の色域の外郭を生成する場合には、所定の条件に応じた形状の外殻を前記変換用の色域の外郭として生成する。 According to a seventh aspect of the present invention, in the image processing apparatus according to the sixth aspect , the setting means includes a contour of the color gamut for conversion for a portion where the contour of the input color gamut is inside the contour of the output color gamut. Is generated as an outline of the color gamut for conversion.

請求項8の発明は、請求項6又は請求項7に記載の画像処理装置において、前記設定手段は、前記変換用の色域の外郭を生成する場合に、前記入力色域の外郭から前記出力色域の外郭までの範囲に、前記所定の条件に応じた点を設定し、該設定した点を通るように前記外郭を生成する。 According to an eighth aspect of the present invention, in the image processing device according to the sixth or seventh aspect , the setting unit generates the output from the outline of the input color gamut when generating the outline of the color gamut for conversion. A point corresponding to the predetermined condition is set in a range up to the outline of the color gamut, and the outline is generated so as to pass through the set point.

請求項9の発明のプログラムは、コンピュータを、所定の色空間における入力側の色再現域を示す入力色域内の画像信号を前記所定の色空間における出力側の色再現域を示す出力色域内の画像信号に変換する際に用いる変換用の色域の外郭を設定する場合に、前記所定の色空間を所定明度を境界として高明度側の領域と低明度側の領域に分割する分割手段、前記所定の色空間の座標系を形成する軸に平行な第1の直線と前記入力色域の外郭とが交わる点と、該第1の直線と前記出力色域の外郭とが交わる点との距離または色差を、前記入力色域の外郭と前記出力色域の外郭との差として求めるか、又は前記所定の色空間の座標系を形成する軸上にあり前記入力色域内部且つ前記出力色域内部にある所定の点から前記入力色域の外郭に向かって延びる第2の直線と前記入力色域の外郭とが交わる点と、該第2の直線と前記出力色域の外郭とが交わる点との距離または色差を、前記入力色域の外郭と前記出力色域の外郭との差として求める外郭差導出手段、前記低明度側の領域において前記入力色域の外郭が前記出力色域の外郭の外側に位置する部分であるとともに、前記外郭差導出手段により求められた差が所定値以上の部分については、前記出力色域の外郭を前記変換用の色域の外郭として設定し、前記低明度側の領域において前記入力色域の外郭が前記出力色域の外郭の外側に位置する部分であるとともに、前記外郭差導出手段により求められた差が所定値未満の部分については、前記出力色域より内側に前記変換用の色域の外郭を生成して設定する第1設定手段、前記高明度側の領域について前記変換用の色域の外郭を設定する第2設定手段、及び前記入力色域内の画像信号を、前記第1設定手段及び前記第2設定手段で設定された外郭を有する変換用の色域内の画像信号に変換する変換手段として機能させるためのプログラムである。 Program of the invention of claim 9, computer, the output color gamut representing the color gamut of the output-side image signal of the input gamut representing the color gamut of the input side in a predetermined color space in the predetermined color space A dividing unit configured to divide the predetermined color space into a high lightness side region and a low lightness side region with a predetermined lightness as a boundary when setting an outline of a conversion color gamut used for conversion into an image signal ; A distance between a point where a first straight line parallel to an axis forming a coordinate system of a predetermined color space intersects with the outline of the input color gamut and a point where the first straight line intersects with the outline of the output color gamut Alternatively, a color difference is obtained as a difference between an outline of the input color gamut and an outline of the output color gamut, or is on an axis that forms a coordinate system of the predetermined color space and is inside the input color gamut and the output color gamut From a predetermined point inside to the outline of the input color gamut A distance or a color difference between a point where the second straight line intersects with the outline of the input color gamut and a point where the second straight line intersects with the outline of the output color gamut is expressed as the outline of the input color gamut and the output An outline difference deriving unit for obtaining a difference from the outline of the color gamut; the outline of the input color gamut is a portion located outside the outline of the output color gamut in the low lightness side area; and For a portion where the obtained difference is a predetermined value or more, the outline of the output color gamut is set as the outline of the color gamut for conversion, and the outline of the input color gamut is the output color gamut in the low lightness side area. For the portion that is located outside the outline of the image and the difference obtained by the outline difference deriving means is less than a predetermined value, the outline of the conversion color gamut is generated inside the output color gamut. First setting means for setting, the high brightness side Second setting means, and an image signal of the input gamut, a color for conversion having an outer shell which is set by the first setting means and said second setting means for setting a contour of a color gamut for the conversion for the region It is a program for functioning as a conversion means for converting into an image signal in the area.

以上説明したように、本発明によれば、出力色域を十分に活かしつつ、入力側で再現される色の印象と出力側で再現される色の印象を合わせるように画像信号を変換することができる画像信号を変換することができる、という効果が得られる。   As described above, according to the present invention, the image signal is converted so that the impression of the color reproduced on the input side matches the impression of the color reproduced on the output side while fully utilizing the output color gamut. The effect that the image signal that can be converted can be obtained is obtained.

以下、図面を参照して本発明の実施の形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の実施の形態に係る画像処理装置10の構成例を示す図である。ここで説明する画像処理装置10は、ディジタル複写機やプリンタ等といった画像出力装置に搭載され、若しくはその画像出力装置に接続するサーバ装置に搭載され、またはその画像出力装置に動作指示を与えるコンピュータ(ドライバ装置)に搭載されて用いられるものである。画像処理装置10は、色域情報取得部12、色域比較部14、変換用色域外郭設定部16、及び色空間圧縮・伸張部18を含んで構成されている。   FIG. 1 is a diagram illustrating a configuration example of an image processing apparatus 10 according to an embodiment of the present invention. The image processing apparatus 10 described here is mounted on an image output apparatus such as a digital copying machine or a printer, or is mounted on a server apparatus connected to the image output apparatus, or a computer that gives an operation instruction to the image output apparatus ( Driver device) is used. The image processing apparatus 10 includes a color gamut information acquisition unit 12, a color gamut comparison unit 14, a conversion color gamut outline setting unit 16, and a color space compression / decompression unit 18.

これらの各部12〜18の機能により、CRTモニタや液晶ディスプレイ等の入力側デバイスで入力された画像信号(入力画像信号)が出力側デバイス(上記出力装置)で出力するための画像信号(出力画像信号)に変換される。以下、この変換処理を色変換処理と呼称する。ここで、各部12〜18の機能について説明する。   With the functions of these units 12 to 18, an image signal (output image) for outputting an image signal (input image signal) input from an input side device such as a CRT monitor or a liquid crystal display to the output side device (the output device). Signal). Hereinafter, this conversion process is referred to as a color conversion process. Here, the function of each part 12-18 is demonstrated.

色域情報取得部12は、入力側デバイスの色再現域を示す入力色域の情報、及び出力側デバイス(上述した画像出力装置)の色再現域を示す出力色域の情報を取得する。なお、入力色域の情報や出力色域の情報は、例えば、ICC(International Color Consortium)プロファイル等の規格に基づいた情報としてもよい。   The color gamut information acquisition unit 12 acquires information on the input color gamut indicating the color reproduction gamut of the input side device and information on the output color gamut indicating the color reproduction gamut of the output side device (the image output apparatus described above). Note that the input color gamut information and the output color gamut information may be information based on a standard such as an ICC (International Color Consortium) profile.

入力色域の情報や出力色域の情報は、色域情報取得部12がアクセス可能なメモリに予め記憶しておく。そして、色域情報取得部12は該メモリにアクセスすることでそれらの情報を取得する。なお、UI(ユーザインタフェース)を設けて、該UIからユーザが直接入力色域の情報及び出力色域の情報を入力するようにしてもよい。   Information on the input color gamut and information on the output color gamut are stored in advance in a memory accessible by the color gamut information acquisition unit 12. Then, the gamut information acquisition unit 12 acquires the information by accessing the memory. Note that a UI (user interface) may be provided so that the user directly inputs the input color gamut information and the output color gamut information from the UI.

色域比較部14は、色域情報取得部12で取得した入力色域の情報及び出力色域の情報に基づいて、所定の色空間(本実施の形態ではL*a*b*色空間)における入力色域の外郭と出力色域の外郭とを比較する。具体的には、入力色域の外郭と出力色域の外郭との差(距離または色差)を求め、求めた差を示す情報(外郭差情報)を比較結果として所定のメモリに記憶する。   The color gamut comparison unit 14 determines a predetermined color space (L * a * b * color space in the present embodiment) based on the input color gamut information and the output color gamut information acquired by the color gamut information acquisition unit 12. The outline of the input color gamut and the outline of the output color gamut are compared. Specifically, a difference (distance or color difference) between the outline of the input color gamut and the outline of the output color gamut is obtained, and information indicating the obtained difference (outline difference information) is stored as a comparison result in a predetermined memory.

変換用色域外郭設定部16は、色域情報取得部12が取得した入力色域及び出力色域の情報、及び上記メモリに記憶した比較結果(外郭差情報)に基づいて、L*a*b*色空間における入力色域内の画像信号を、L*a*b*色空間における出力色域内の画像信号に変換する際に用いる変換用の色域の外郭を設定する。具体的には、変換用色域外郭設定部16は、明度、入力色域及び出力色域の位置を考慮し、入力側で再現される色の印象と出力側で再現される色の印象が大きく異ならないように画像信号を変換するための変換用色域の外郭を設定する。この変換用色域の外郭は、出力色域の外郭より外側にはならないように設定される。   Based on the input gamut and output gamut information acquired by the gamut information acquisition unit 12 and the comparison result (outline difference information) stored in the memory, the conversion gamut contour setting unit 16 performs L * a *. Sets the outline of the color gamut for conversion used when converting the image signal in the input color gamut in the b * color space to the image signal in the output color gamut in the L * a * b * color space. Specifically, the conversion color gamut outline setting unit 16 takes into account the brightness, the position of the input color gamut and the output color gamut, and gives the impression of the color reproduced on the input side and the impression of the color reproduced on the output side. The outline of the conversion color gamut for converting the image signal is set so as not to differ greatly. The outline of the conversion color gamut is set so as not to be outside the outline of the output color gamut.

色空間圧縮・伸張部18は、入力画像信号を、変換用色域外郭設定部16で設定された変換用色域内の信号にマッピングし、出力画像信号へ変換する。   The color space compression / decompression unit 18 maps the input image signal to a signal within the conversion color gamut set by the conversion color gamut outline setting unit 16 and converts it into an output image signal.

なお、これらの各部12〜18は、CPU(Central Processing Unit)、ROM(Read Only Memory)およびRAM(Random Access Memory)等の組み合わせからなるコンピュータが、所定のメモリに記憶された所定プログラムを実行することによって実現されるものとする。   Each of these units 12 to 18 executes a predetermined program stored in a predetermined memory by a computer including a combination of a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). To be realized.

次に、画像処理装置10で実行される色変換処理について説明する。   Next, a color conversion process executed by the image processing apparatus 10 will be described.

図2は、画像処理装置10で実行される色変換処理のメインルーチンの流れを示すフローチャートである。   FIG. 2 is a flowchart showing the flow of the main routine of the color conversion process executed by the image processing apparatus 10.

ステップ100では、色域情報取得部12が、入力色域の情報及び出力色域の情報をメモリから取得する。なお、入力色域の情報及び出力色域の情報が互いに異なる色空間を示す場合には、色域情報取得部12においてこれら情報を共通の色空間(ここではL*a*b*色空間)の情報に変換する。これにより、例えば、図13に示すように入力色域20と出力色域30とが同一の色空間上でマッピングでき、以下に説明する外郭設定処理が円滑に行なわれる。   In step 100, the color gamut information acquisition unit 12 acquires the input color gamut information and the output color gamut information from the memory. If the input color gamut information and the output color gamut information indicate different color spaces, the color gamut information acquisition unit 12 stores the information in a common color space (here, L * a * b * color space). Convert to information. Thereby, for example, as shown in FIG. 13, the input color gamut 20 and the output color gamut 30 can be mapped in the same color space, and the outline setting process described below is smoothly performed.

ステップ102では、変換用色域外郭設定部16が、上記メモリから取得した出力色域の情報に基づいて、変換用色域40の高明度側の外郭を設定する。具体的には、図7に示すように、L*a*b*色空間を所定明度αを境界として高明度側の領域と低明度側の領域に分割し、所定明度αより高い高明度側の領域については、出力色域30の外郭をそのまま変換用色域40の外郭として設定する。なお、所定明度αの値は、入力側デバイスや出力側デバイスの特性に応じて設定するようにしてもよいし、デバイスによらず色変換の精度に差がほとんど生じない場合等では、例えば出力色域30の最大の彩度値を示す点(最大彩度点)における明度の値を所定明度αの値としてもよい。   In step 102, the conversion color gamut outline setting unit 16 sets an outline on the high brightness side of the conversion color gamut 40 based on the output color gamut information acquired from the memory. Specifically, as shown in FIG. 7, the L * a * b * color space is divided into a high brightness side area and a low brightness side area with a predetermined brightness α as a boundary, and a high brightness side higher than the predetermined brightness α. For the above area, the outline of the output color gamut 30 is set as the outline of the conversion color gamut 40 as it is. Note that the value of the predetermined brightness α may be set according to the characteristics of the input side device and the output side device. For example, when there is almost no difference in color conversion accuracy regardless of the device, for example, output The brightness value at the point indicating the maximum saturation value of the color gamut 30 (maximum saturation point) may be set as the value of the predetermined brightness α.

なお、高明度側の変換用色域40の外郭として出力色域30の外郭そのままを用いるのは、高明度側では入力色域20の外郭が出力色域30の外郭より大きい場合が一般的であり(例えば、入力側デバイスがCRTモニタであり出力側デバイスがプリンタ等である場合などでは入力側の色域の方が明度が高くなる傾向がある)、且つ高明度側は明度の変化が視認しやすく、明度の低下は少しでも目につきやすい。従って、高明度側では、画像信号の変換の際、出力色域30の外郭いっぱいまで使用することで(すなわち、変換用色域40の外郭を出力色域30の外郭とする)、出力色域30の色再現性を活かして明度の低下を抑え、入力側の印象を維持する。   Note that the outline of the output color gamut 30 is used as the outline of the conversion color gamut 40 on the high brightness side when the outline of the input color gamut 20 is larger than the outline of the output color gamut 30 on the high brightness side. Yes (for example, when the input side device is a CRT monitor and the output side device is a printer or the like, the color gamut on the input side tends to have higher brightness), and the change in brightness is visible on the high brightness side It is easy to notice, and even a slight decrease in brightness is noticeable. Therefore, on the high brightness side, when the image signal is converted, the output color gamut 30 is used up to the full outline (that is, the outline of the conversion color gamut 40 is used as the outline of the output color gamut 30). Utilizing the color reproducibility of 30 to suppress the decrease in brightness and maintain the impression on the input side.

ステップ104では、色域比較部14が、L*a*b*色空間の低明度側(ここでは明度が所定明度α以下の領域)における、入力色域20の外郭と出力色域30の外郭との差を求める。   In step 104, the color gamut comparison unit 14 outlines the input color gamut 20 and the outline of the output color gamut 30 on the low lightness side of the L * a * b * color space (here, the lightness is a predetermined lightness α or less). Find the difference between

まず、色域比較部14は、入力色域20の情報及び出力色域30の情報に基づいて、入力色域20の外郭座標値及び出力色域30の外郭座標値を抽出する。なお、ここで外郭座標値とは、L*C*(明度・彩度)平面における各色域の外郭を構成する点の位置を示す座標値である。そして、色域比較部14は、L*a*b*色空間のL*C*平面における入力色域20の外郭と出力色域30の外郭との差(距離または色差)を求め、この差を比較結果としてメモリに記憶する。以下、ここで求める差を外郭差と呼称し、外郭差を示す情報を外郭差情報と呼称する。なお、L*C*平面上のL*軸は、明度軸であり、C*軸が彩度軸(a*b*平面の中心からの距離を示す)である。ここで、外郭差の求め方について説明する。   First, the color gamut comparison unit 14 extracts the outline coordinate value of the input color gamut 20 and the outline coordinate value of the output color gamut 30 based on the information of the input color gamut 20 and the information of the output color gamut 30. Here, the outline coordinate value is a coordinate value indicating the position of a point constituting the outline of each color gamut on the L * C * (lightness / saturation) plane. Then, the color gamut comparison unit 14 obtains a difference (distance or color difference) between the outline of the input color gamut 20 and the outline of the output color gamut 30 in the L * C * plane of the L * a * b * color space. Is stored in the memory as a comparison result. Hereinafter, the difference obtained here is referred to as an outline difference, and information indicating the outline difference is referred to as outline difference information. Note that the L * axis on the L * C * plane is the brightness axis, and the C * axis is the saturation axis (which indicates the distance from the center of the a * b * plane). Here, how to obtain the outline difference will be described.

図3は、外郭差を求める方法の一例を説明する説明図である。   FIG. 3 is an explanatory diagram for explaining an example of a method for obtaining an outline difference.

この方法では、まずL*軸に平行な直線lに入力色域20の外郭が交わる点A、及び同じ直線lに出力色域30の外郭が交わる点Bを抽出する。これにより、入力色域20の外郭上の点Aと、出力色域30の外郭上の点であって、点Aと同色相、同彩度で明度が異なる点Bとが抽出される。なお、図3において、直線lに入力色域20の外郭が交わる点と直線lに出力色域30の外郭が交わる点とはそれぞれ2つずつあるが、その場合には低明度側の点を抽出する。 In this way, it extracts the first L * contour intersects the point A of the shaft input gamut 20 into linear l 1 parallel to, and outer intersect point B of the output gamut 30 in the same straight line l 1. As a result, a point A on the outline of the input color gamut 20 and a point B on the outline of the output color gamut 30 that has the same hue, the same saturation, and different brightness as the point A are extracted. In FIG. 3, the point where the outline of the output gamut 30 outline is the point and the straight line l 1 intersects the input gamut 20 into linear l 1 crosses is two each, but in that case the low brightness side Extract points.

ここで、点Aの座標値を(L_a,C_a)とし、点Bの座標値を(L_b,C_a)とすると、点Aと点Bとの色差(明度差)ΔLは以下の式(1)で算出される。なお、ここでは点Aと点Bとは彩度が等しいため、ここで算出する色差は明度差に等しくなる。   Here, assuming that the coordinate value of the point A is (L_a, C_a) and the coordinate value of the point B is (L_b, C_a), the color difference (lightness difference) ΔL between the point A and the point B is expressed by the following equation (1). Is calculated by Here, since the point A and the point B have the same saturation, the color difference calculated here is equal to the brightness difference.

ΔL=L_a−L_b ・・・(1)
色域比較部14は、入力色域20の外郭を構成する点及び出力色域30の外郭を構成する点の全ての点について、このような計算を行なって、それぞれについて差を求める。
ΔL = L_a−L_b (1)
The color gamut comparison unit 14 performs such a calculation on all the points constituting the outline of the input color gamut 20 and the points constituting the outline of the output color gamut 30, and obtains a difference for each.

なお、直線lが入力色域20の外郭及び出力色域30の外郭のいずれか一方にしか交わらない場合には、ΔLは計算せず、隣接する外郭点で演算されたΔLの値をそのまま当該外郭点におけるΔLとして設定する
図4は、外郭差を求める方法の他の例を説明する説明図である。
In the case where the straight line l 1 does not intersect only one of the outline of the outer and output gamut 30 of the input gamut 20, [Delta] L is not calculated, as the value of [Delta] L calculated by the outline points adjacent 4. Set as ΔL at the outline point FIG. 4 is an explanatory diagram for explaining another example of a method for obtaining the outline difference.

この方法では、C*軸に平行な直線lに入力色域20の外郭が交わる点A、及び同じ直線lに出力色域30の外郭が交わる点Bを抽出する。これにより、入力色域20の外郭上の点Aと、出力色域30の外郭上の点であって、点Aと同色相、同明度で彩度が異なる点Bとが抽出される。 In this way, it extracts the C * point contour of the input color gamut 20 intersects the straight line l 2 parallel to the axis A, and outer intersect point B of the output gamut 30 in the same straight line l 2. As a result, a point A on the outline of the input color gamut 20 and a point B on the outline of the output color gamut 30 that has the same hue, the same lightness, and different saturation as the point A are extracted.

ここで、点Aの座標値を(L_a,C_a)とし、点Bの座標値を(L_a,C_b)とすると、点Aと点Bとの色差(彩度差)ΔCは以下の式(2)で算出される。なお、ここでは点Aと点Bとは明度が等しいため、ここで算出する色差は彩度差に等しくなる。   Here, when the coordinate value of the point A is (L_a, C_a) and the coordinate value of the point B is (L_a, C_b), the color difference (saturation difference) ΔC between the point A and the point B is expressed by the following equation (2 ). Here, since the lightness is the same between the point A and the point B, the color difference calculated here is equal to the saturation difference.

ΔC=C_a−C_b ・・・(2)
色域比較部14は、入力色域20の外郭を構成する点及び出力色域30の外郭を構成する点の全ての点について、このような計算を行なって、それぞれについて差を求める。
ΔC = C_a−C_b (2)
The color gamut comparison unit 14 performs such a calculation on all the points constituting the outline of the input color gamut 20 and the points constituting the outline of the output color gamut 30, and obtains a difference for each.

なお、直線lが入力色域20の外郭及び出力色域30の外郭のいずれか一方にしか交わらない場合には、ΔCは計算せず、隣接する外郭点で演算されたΔCの値をそのまま当該外郭点におけるΔCとして設定する。 In the case where the straight line l 2 do not intersect only one of the outline of the outer and output gamut 30 of the input gamut 20, [Delta] C does not calculate directly the value of [Delta] C calculated by the outline points adjacent It is set as ΔC at the outline point.

図5は、外郭差を求める方法の他の例を説明する説明図である。   FIG. 5 is an explanatory diagram for explaining another example of a method for obtaining an outline difference.

この方法では、まず、点L*軸上の点であって、入力色域20内部且つ出力色域30内部にある所定の点Oを設定し、該点Oから入力色域20の外郭に向かって延びる直線lと入力色域20の外郭とが交わる点Aと、該直線lと出力色域30の外郭とが交わる点Bとを抽出する。 In this method, first, a predetermined point O that is on the point L * axis and is inside the input color gamut 20 and inside the output color gamut 30 is set, and from this point O toward the outline of the input color gamut 20. and a linear l 3 and intersects the point where the outer shell of the input gamut 20 extending Te, extracts the point B of intersection and the contour of the output gamut 30 and the straight line l 3.

ここで、点Aの座標値を(Gi_L, Gi_C)、点Bの座標値を(Go_L, Go_L)、点Oの座標値を(Gg_L, 0)とすると、点Aと点Bとの色差ΔEは、以下の式(3)で算出される。   Here, assuming that the coordinate value of point A is (Gi_L, Gi_C), the coordinate value of point B is (Go_L, Go_L), and the coordinate value of point O is (Gg_L, 0), the color difference ΔE between point A and point B Is calculated by the following equation (3).

Figure 0004775328
色域比較部14は、入力色域20の外郭を構成する点及び出力色域30の外郭を構成する点(外郭点)の全てについて、このような計算を行なって、それぞれについて差を求める。
Figure 0004775328
The color gamut comparison unit 14 performs such calculation for all the points constituting the outline of the input color gamut 20 and the points (outer points) constituting the outline of the output color gamut 30, and obtains a difference for each.

なお、本実施の形態において、色域比較部14は、外郭点毎の外郭差情報を入力色域20の外郭点の座標値に対応付けて(或いは出力色域30の外郭点に対応付けて)メモリに記憶するが、その際、外殻点の明度の高い側から低い側へ順にメモリに記憶する。   In the present embodiment, the color gamut comparison unit 14 associates the outline difference information for each outline point with the coordinate value of the outline point of the input color gamut 20 (or associates with the outline point of the output color gamut 30). ) Store in the memory, but in this case, store in the memory in order from the higher lightness side of the outer shell point.

色域比較部14により外郭差を求めてメモリに記憶した後は、ステップ104で、変換用色域外郭設定部16が、入力色域20の情報、出力色域30の情報、及び外郭差情報に基づいて、変換用色域40の低明度側の外郭を設定する。   After obtaining the outline difference by the color gamut comparison unit 14 and storing it in the memory, in step 104, the conversion color gamut outline setting unit 16 performs the input color gamut 20 information, the output color gamut 30 information, and the outline difference information. Based on the above, an outline on the low brightness side of the conversion color gamut 40 is set.

図6は、変換用色域外郭設定部16により行なわれる低明度側の外郭設定処理の流れを示すフローチャートである。   FIG. 6 is a flowchart showing a flow of low-lightness outline setting processing performed by the conversion color gamut outline setting unit 16.

ステップ120では、上記メモリから外郭差情報を読み出す。   In step 120, outline information is read from the memory.

ステップ122では、読み出した外郭差情報が示す外郭差が0であるか、或いは読み出した外郭差情報がメモリに記憶されている外郭差情報の最後尾の外郭差情報であるかを判断する。ステップ122で否定判断された場合には、ステップ120に戻って、メモリから次の外郭差情報を読み出す。また、ステップ122で肯定判断された場合には、ステップ124に移行する。すなわち、ステップ120〜122の処理によって、外郭差情報が示す外郭差が0になるまで、或いは最後の外郭差情報を読み出すまで連続的に外郭差情報が読み出される。   In step 122, it is determined whether the outline difference indicated by the read outline difference information is 0 or whether the read outline difference information is the last outline difference information of the outline difference information stored in the memory. If a negative determination is made in step 122, the process returns to step 120 to read the next outline difference information from the memory. Further, when an affirmative determination is made at step 122, the routine proceeds to step 124. That is, by the processing in steps 120 to 122, the outline difference information is continuously read until the outline difference indicated by the outline difference information becomes 0 or until the final outline difference information is read.

なお、ここで、読み出した外郭差情報の外郭差が0であると判断された場合には、当該読み出した外郭差情報が、図10に示すように入力色域20の外郭と出力色域30の外郭とが交わる位置50における外郭差情報であることを示している。従って、ステップ122で外郭差が0と判断されるまでは、入力色域20の外郭と出力色域30の外郭との位置関係が同じであることを意味する。   Here, when it is determined that the outline difference of the read outline difference information is 0, the outline information of the read outline is the outline of the input color gamut 20 and the output color gamut 30 as shown in FIG. This indicates that the difference information is at the position 50 where the outer contour intersects. Therefore, the position relationship between the outline of the input color gamut 20 and the outline of the output color gamut 30 is the same until the outline difference is determined to be 0 in step 122.

ステップ124では、外郭差が0になるまで読み出した外郭差情報(或いは最後の外郭差情報まで)の符号に基づいて、入力色域20及び出力色域30における、それまでに連続して読み出した外郭差情報に対応する部分の位置関係を判定する。   In step 124, the input color gamut 20 and the output color gamut 30 have been read continuously so far based on the sign of the outline difference information (or until the last outline difference information) read until the outline difference becomes zero. The positional relationship of the part corresponding to the outline difference information is determined.

例えば、図3で説明した方法を用いて外郭差を求めた場合には、外郭差情報はΔLの値を示しており、ΔL>0であれば、入力色域20の外郭は出力色域30の外郭の内側にあり、ΔL<0であれば、入力色域20の外郭は出力色域30の外郭の外側にあると判断する。また、図4で説明した方法を用いて外郭差を求めた場合には、外郭差情報はΔCの値を示しており、ΔC<0であれば、入力色域20の外郭は出力色域30の外郭の内側にあり、ΔC>0であれば、入力色域20の外郭は出力色域30の外郭の外側にあると判断する。また、図5で説明した方法を用いて外郭差を求めた場合には、外郭差情報はΔEの値を示しており、ΔE<0であれば、入力色域20の外郭は出力色域30の外郭の内側にあり、ΔE>0であれば、入力色域20の外郭は出力色域30の外郭の外側にあると判断する。   For example, when the outline difference is obtained using the method described with reference to FIG. 3, the outline difference information indicates the value of ΔL. If ΔL> 0, the outline of the input color gamut 20 is the output color gamut 30. If ΔL <0, it is determined that the outline of the input color gamut 20 is outside the outline of the output color gamut 30. When the outline difference is obtained using the method described with reference to FIG. 4, the outline difference information indicates the value of ΔC. If ΔC <0, the outline of the input color gamut 20 is the output color gamut 30. If ΔC> 0, it is determined that the outline of the input color gamut 20 is outside the outline of the output color gamut 30. When the outline difference is obtained using the method described with reference to FIG. 5, the outline difference information indicates the value of ΔE. If ΔE <0, the outline of the input color gamut 20 is the output color gamut 30. If ΔE> 0, it is determined that the outline of the input color gamut 20 is outside the outline of the output color gamut 30.

ステップ124で入力色域20の外郭が出力色域30の外郭よりも外側にあると判断した場合には、ステップ126で、入力色域20の外郭と出力色域30の外郭との差が大きいか否かを判断する。具体的には、ステップ120〜122で読み出した外郭差情報が示す外郭差の各々の絶対値を求め、そこから最大値を抽出し、該最大値が予め定められた閾値βよりも大きい場合には、入力色域20の外郭と出力色域30の外郭との差が大きいと判断し、該最大値が閾値β以下である場合には、入力色域20の外郭と出力色域30の外郭との差は小さいと判断する。   If it is determined in step 124 that the outline of the input color gamut 20 is outside the outline of the output color gamut 30, the difference between the outline of the input color gamut 20 and the outline of the output color gamut 30 is large in step 126. Determine whether or not. Specifically, the absolute value of each of the outline differences indicated by the outline difference information read in steps 120 to 122 is obtained, the maximum value is extracted therefrom, and the maximum value is greater than a predetermined threshold value β. Determines that the difference between the outline of the input color gamut 20 and the outline of the output color gamut 30 is large, and if the maximum value is equal to or less than the threshold β, the outline of the input color gamut 20 and the outline of the output color gamut 30 It is judged that the difference between is small.

すなわち、上記絶対値の最大値が閾値βよりも大きい場合には、読み出した外郭差情報の中に閾値βよりも小さい外郭差を示す情報が含まれている場合であっても、入力色域20及び出力色域30の上記連続して読み出した外郭差情報に対応する部分では、入力色域の外郭と出力色域の外郭との差が閾値β以上の部分であるとみなして処理される。   That is, when the maximum value of the absolute value is larger than the threshold β, the input color gamut can be obtained even if the read outline difference information includes information indicating an outline difference smaller than the threshold β. 20 and the output color gamut 30 corresponding to the continuously read outline difference information are processed assuming that the difference between the outline of the input color gamut and the outline of the output color gamut is a threshold β or more. .

ステップ126で入力色域20の外郭と出力色域30の外郭との差は大きいと判断した場合には、ステップ128で、出力色域30の外郭を変換用色域の外郭として設定し、ステップ134に移行する。   If it is determined in step 126 that the difference between the outline of the input color gamut 20 and the outline of the output color gamut 30 is large, in step 128, the outline of the output color gamut 30 is set as the outline of the conversion color gamut. 134.

なお、低明度側の入力色域20の外郭が出力色域30の外郭の外側にあって外郭差が大きい場合に、変換用色域40の外郭として出力色域30の外郭そのままを用いるのは、入力画像信号を変換した時に変換前の印象と変換後の印象とが大きく乖離してしまわないようにするためである。従って、入力色域20の外郭に最も近い出力色域30の外郭を変換用色域40の外郭として用いることで、出力色域30を活かしつつ入力側の色の印象を維持することができる。   Note that when the outline of the input color gamut 20 on the low brightness side is outside the outline of the output color gamut 30 and the outline difference is large, the outline of the output color gamut 30 is used as the outline of the conversion color gamut 40. This is because when the input image signal is converted, the impression before conversion and the impression after conversion do not greatly deviate from each other. Therefore, by using the outline of the output color gamut 30 closest to the outline of the input color gamut 20 as the outline of the conversion color gamut 40, it is possible to maintain the impression of the color on the input side while utilizing the output color gamut 30.

ステップ134では、変換用色域の低明度側における全ての外郭を設定したか否かを判断する。ここではメモリに記憶されている外郭差情報が全て読み出されたと判断した場合には肯定判断され、それ以外の場合には、否定判断される。ステップ134で否定判断した場合には、ステップ120に戻って、次の外郭差情報を読み出す。なお、次の外郭差情報を読み出す前に、これまでに読み出した外郭差情報(ただし符号が変化したと判断された外郭差情報を除く)をクリアしておく。   In step 134, it is determined whether or not all outlines on the low brightness side of the conversion color gamut have been set. Here, an affirmative determination is made when it is determined that all of the outline difference information stored in the memory has been read, and a negative determination is made otherwise. If a negative determination is made in step 134, the process returns to step 120 to read the next outline difference information. Before reading the next outline difference information, the outline difference information read so far (except for the outline difference information determined to have changed sign) is cleared.

一方、ステップ126で、入力色域20の外郭と出力色域30の外郭との差は小さいと判断した場合には、ステップ130で、出力色域30の内側に変換用色域40の外郭を生成して設定し、ステップ134に移行する。   On the other hand, if it is determined in step 126 that the difference between the outline of the input color gamut 20 and the outline of the output color gamut 30 is small, the outline of the conversion color gamut 40 is placed inside the output color gamut 30 in step 130. Generate and set, and proceed to Step 134.

なお、低明度側の入力色域20の外郭が出力色域30の外郭の外側であって外郭差が小さい場合に、外郭差が大きい場合と同様に出力色域30の外郭をそのまま変換用色域40の外郭として用いてもよいように思われるが、そうせずに出力色域30の内側に変換用色域40の外郭を生成して用いるのは、以下の理由がある。   When the outline of the input color gamut 20 on the low lightness side is outside the outline of the output color gamut 30 and the outline difference is small, the outline of the output color gamut 30 is converted as it is in the same manner as when the outline difference is large. Although it seems that it may be used as an outline of the gamut 40, the outline of the conversion color gamut 40 is generated and used inside the output color gamut 30 without doing so for the following reasons.

CRTモニタや液晶ディスプレイ等の入力側デバイスで再現される色は、同じ程度に低い明度であっても入力側デバイスの発光によりプリンタ等の出力側デバイスプリンタ等で印刷したものより明るめに表現される傾向がある。従って、外郭差が小さい場合に変換用色域40の外郭に出力色域30の外郭をそのまま用いると入力側の色に比べて暗めに出力されてしまい、入力側の色の印象と出力側の色の印象が大きく異なってしまう。そこで、低明度側では印刷時に明るめに出力されるように(すなわち、明度が高くなるように)、出力色域30の外郭より内側に新たに変換用色域40の外郭を生成して用いる。   Colors reproduced by an input device such as a CRT monitor or a liquid crystal display are expressed brighter than those printed by an output device printer such as a printer by light emission of the input device even if the lightness is as low as the same. Tend. Therefore, when the outline difference is small, if the outline of the output color gamut 30 is used as it is for the outline of the conversion color gamut 40, it is output darker than the color on the input side. The impression of color will be very different. Therefore, a new outline of the conversion color gamut 40 is generated and used inside the outline of the output color gamut 30 so that the lightness is output brightly at the time of printing (that is, the brightness is increased).

なお、どの程度内側に変換用色域40の外郭を生成するかは、入力側デバイスや出力側デバイスの特性に応じて予め設定しておく。   Note that the extent to which the outline of the conversion color gamut 40 is generated is set in advance according to the characteristics of the input side device and the output side device.

また、ステップ124で、入力色域20の外郭が出力色域30の外郭の内側にあると判断した場合には、ステップ132で、入力色域20の外郭から出力色域30の外郭までの範囲に変換用色域40の外郭を生成して設定し、ステップ126に移行する。新たに外郭を生成する「範囲」には入力色域20の外郭及び出力色域30の外郭も含まれる。   If it is determined in step 124 that the outline of the input color gamut 20 is inside the outline of the output color gamut 30, the range from the outline of the input color gamut 20 to the outline of the output color gamut 30 in step 132. The outline of the conversion color gamut 40 is generated and set, and the process proceeds to step 126. The “range” in which a new outline is generated includes the outline of the input color gamut 20 and the outline of the output color gamut 30.

なお、低明度側の入力色域20の外郭が出力色域30の外郭の内側にある場合に、変換用色域の外郭として入力色域20の外郭から出力色域30の外郭までの範囲に生成した新たな外郭を用いるのは、低明度側の入力色域20の外郭が出力色域30の外郭の外側であって外郭差が小さい場合と同様の理由で、変換用色域40の外郭に出力色域30の外郭をそのまま用いると出力結果が暗くなってしまうためであり、低明度側では印刷時に明るめに出力されるように(すなわち、明度が高くなるように)変換用色域40の外郭を生成する。   Note that when the outline of the input color gamut 20 on the low lightness side is inside the outline of the output color gamut 30, the outline of the conversion color gamut is within the range from the outline of the input color gamut 20 to the outline of the output color gamut 30. The generated new outline is used because the outline of the input color gamut 20 on the low lightness side is outside the outline of the output color gamut 30 and the outline difference is small. This is because if the outline of the output color gamut 30 is used as it is, the output result will be dark, and the conversion color gamut 40 will output lightly at the time of printing on the low brightness side (that is, so that the brightness will be high). Generate the outline of.

ただし、入力色域20の外郭が出力色域30の外郭の内側にある部分の全域で、常に入力色域20の外郭と出力色域30の外郭との中間位置に変換用色域40の外郭を生成しなくてもよい。例えば、一部では入力色域20の外郭及び出力色域30の外郭のいずれか一方の外郭を変換用色域40の外郭として用い、残りの部分では入力色域20の外郭と出力色域30の外郭との中間位置に変換用色域40の外郭を生成するようにしてもよい。どのように外郭を生成するかは、所定の条件(ここでは印刷目的)に応じて決定する。ここでの外郭生成方法の詳細は、後述する。   However, the outline of the conversion color gamut 40 is always at an intermediate position between the outline of the input color gamut 20 and the outline of the output color gamut 30 over the entire area where the outline of the input color gamut 20 is inside the outline of the output color gamut 30. May not be generated. For example, in some cases, one of the outline of the input color gamut 20 and the outline of the output color gamut 30 is used as the outline of the conversion color gamut 40, and in the remaining part, the outline of the input color gamut 20 and the output color gamut 30 are used. The outline of the conversion color gamut 40 may be generated at an intermediate position with respect to the outline. How to generate the outline is determined according to a predetermined condition (here, the printing purpose). Details of the outline generation method here will be described later.

こうして、ステップ134で肯定判断されるまでは、低明度側の外郭の設定処理を順次行ない、低明度側の外郭の設定が全て完了した時点で、この外郭設定処理ルーチンを終了して、メインルーチン(図2)に戻る。   Thus, until the affirmative determination is made in step 134, the low brightness side outline setting process is sequentially performed, and when all the low brightness side outline settings are completed, the outline setting process routine is terminated and the main routine is completed. Return to FIG.

なお、上記では、低明度側の領域において、入力色域20の外郭と出力色域30の外郭とが交差する場合を除き、外郭差が0の部分、すなわち、入力色域20の外郭と出力色域30の外郭が一致する部分についての変換用色域40の外郭をどのように設定するかについては説明を省略したが、この部分については、入力色域20の外郭が出力色域30の外郭の外側にあり外郭差が小さい場合と同様に、出力色域30の内側に新たに外郭を生成して変換用色域40の外郭として用いるようにしてもよい。   In the above, except for the case where the outline of the input color gamut 20 and the outline of the output color gamut 30 intersect each other in the low lightness side area, that is, the outline of the input color gamut 20 and the output. The description of how to set the outline of the conversion color gamut 40 for the portion where the outline of the color gamut 30 is the same has been omitted, but for this part, the outline of the input color gamut 20 is the output color gamut 30. Similar to the case where the outline difference is small outside the outline, a new outline may be generated inside the output color gamut 30 and used as the outline of the conversion color gamut 40.

ここで、変換用色域外郭設定部16により設定される外郭の具体例を説明する。   Here, a specific example of the outline set by the conversion color gamut outline setting unit 16 will be described.

図7(A)に示すように、低明度側の入力色域20の外郭が出力色域30の外郭の外側にあって外郭差が大きい場合には、上記ステップ128の処理により、図7(B)に示すように、出力色域30の外郭が低明度側の変換用色域40の外郭として設定される。   As shown in FIG. 7A, when the outline of the input color gamut 20 on the low lightness side is outside the outline of the output color gamut 30 and the outline difference is large, the processing in step 128 above results in FIG. As shown in B), the outline of the output color gamut 30 is set as the outline of the conversion color gamut 40 on the low brightness side.

図8(A)に示すように、低明度側の入力色域20の外郭が出力色域30の外郭の外側にあって外郭差が小さい場合には、上記ステップ130の処理により、図8(B)に示すように、出力色域30の内側に変換用色域40の外郭を生成して設定する。   As shown in FIG. 8A, when the outline of the input color gamut 20 on the low lightness side is outside the outline of the output color gamut 30 and the outline difference is small, the processing in the above step 130 results in FIG. As shown in B), an outline of the conversion color gamut 40 is generated and set inside the output color gamut 30.

なお、変換用色域40の外郭をどの程度内側に生成するか、或いはどのような形状にするかは、入力側デバイス及び出力側デバイスの特性等に応じて予め設定しておく。ただし、明度が上記所定明度αの直下となる部分では、図8(B)に示すように、C*軸に平行な所定明度αを示す直線と、出力色域30の外郭とが交わる点を必ず通るように変換用色域40の外郭を設定する。これにより、高明度側の変換用色域40の外郭と低明度側の変換用色域40の外郭とが連続する。   It should be noted that how much the outline of the conversion color gamut 40 is generated on the inside or what shape is set in advance according to the characteristics of the input device and the output device. However, in the portion where the lightness is directly below the predetermined lightness α, as shown in FIG. 8B, a point where the straight line indicating the predetermined lightness α parallel to the C * axis and the outline of the output color gamut 30 intersect. The outline of the conversion color gamut 40 is set so that it always passes. As a result, the outline of the conversion color gamut 40 on the high brightness side and the outline of the conversion color gamut 40 on the low brightness side are continuous.

また、図9(A)に示すように、低明度側の入力色域20の外郭が出力色域30の外郭の内側にある場合には、上記ステップ132の処理により、図9(B)に示すように、入力色域20の外郭から出力色域30の外郭までの範囲に変換用色域40の外郭を生成して設定する。   Further, as shown in FIG. 9A, when the outline of the input color gamut 20 on the low lightness side is inside the outline of the output color gamut 30, the processing in step 132 described above results in FIG. 9B. As shown, the outline of the conversion color gamut 40 is generated and set in the range from the outline of the input color gamut 20 to the outline of the output color gamut 30.

また、図10(A)に示すように、低明度側の領域において、入力色域20の外郭が出力色域30の外郭の外側となる部分と、入力色域20の外郭が出力色域30の外郭の内側となる部分とが混在する場合には、図10(B)に示すように各部分毎に入力色域20の外郭と出力色域30の外郭との位置関係に応じた外郭が設定される。   Also, as shown in FIG. 10A, in the low lightness side region, a portion where the outline of the input color gamut 20 is outside the outline of the output color gamut 30, and the outline of the input color gamut 20 is the output color gamut 30. 10B, the outline corresponding to the positional relationship between the outline of the input color gamut 20 and the outline of the output color gamut 30 is shown for each part as shown in FIG. Is set.

図9や図10に示すように、低明度側の入力色域20の外郭が出力色域30の外郭の内側にある場合に入力色域20の外郭から出力色域30の外郭までの範囲に変換用色域40の外郭を生成する場合、例えば、入力色域20の外郭と、出力色域30の外郭と、所定明度αを示す直線とで囲まれた範囲の重心を通る外郭を生成してもよい。また、これに限定されず、例えば、出力側デバイスや入力側デバイスの特性によって予め定めておいた形状となるように変換用色域40の外郭を生成してもよいし、印刷目的に応じた形状となるように生成してもよい。印刷目的に応じた形状となるように生成する場合には、印刷目的と、該印刷目的に対応する形状を示す情報とを対応付けて所定のメモリに記憶しておき、該メモリを参照して生成する。ただし、いずれにしても、生成する外郭は、入力色域20の外郭と、出力色域30の外郭と、所定明度αを示す直線とで囲まれた範囲内に収まるようにする。   As shown in FIG. 9 and FIG. 10, when the outline of the input color gamut 20 on the low lightness side is inside the outline of the output color gamut 30, the range from the outline of the input color gamut 20 to the outline of the output color gamut 30 is reached. When generating the outline of the conversion color gamut 40, for example, an outline that passes through the center of gravity of the range surrounded by the outline of the input color gamut 20, the outline of the output color gamut 30, and the straight line indicating the predetermined brightness α is generated. May be. Further, the present invention is not limited to this. For example, the outline of the conversion color gamut 40 may be generated so as to have a predetermined shape depending on the characteristics of the output side device and the input side device, and according to the printing purpose. You may produce | generate so that it may become a shape. When generating a shape corresponding to a printing purpose, the printing purpose and information indicating the shape corresponding to the printing purpose are stored in a predetermined memory in association with each other, and the memory is referred to. Generate. In any case, however, the generated outline is within the range surrounded by the outline of the input color gamut 20, the outline of the output color gamut 30, and the straight line indicating the predetermined brightness α.

なお、このように外殻を生成する場合に、入力色域20の外郭と、出力色域30の外郭と、所定明度αを示す直線とで囲まれた範囲内に設定した少なくとも1つ以上の点(これを制御点と呼称する)を通るように外殻を生成するようにしてもよい。この制御点の位置は、入力色域20の外郭と、出力色域30の外郭と、所定明度αを示す直線とで囲まれた範囲の重心であってもよいし、出力側デバイスや入力側デバイスの特性によって予め定められた位置、或いは印刷目的に応じて定められる位置に設定される。   When the outer shell is generated in this way, at least one or more set within a range surrounded by the outline of the input color gamut 20, the outline of the output color gamut 30, and a straight line indicating the predetermined brightness α. You may make it produce | generate an outer shell so that it may pass through a point (this is called a control point). The position of the control point may be the center of gravity of the range surrounded by the outline of the input color gamut 20, the outline of the output color gamut 30, and the straight line indicating the predetermined brightness α, or the output side device or the input side It is set to a position determined in advance according to the characteristics of the device or a position determined according to the purpose of printing.

図11(A)〜(D)は、制御点CPを設定して新たに生成した変換用色域40の外郭の具体例を示す図である。図11(A)〜(D)に示すように、1つ以上の制御点CPが、入力色域20の外郭と、出力色域30の外郭と、所定明度αを示す直線とで囲まれた範囲内(この範囲は網点で図示されている)に設定され、この制御点CPを通る線が変換用色域40の外郭として生成されている。   11A to 11D are diagrams showing specific examples of the outline of the conversion color gamut 40 newly generated by setting the control point CP. As shown in FIGS. 11A to 11D, one or more control points CP are surrounded by an outline of the input color gamut 20, an outline of the output color gamut 30, and a straight line indicating the predetermined brightness α. The line is set within the range (the range is shown by halftone dots), and a line passing through the control point CP is generated as an outline of the conversion color gamut 40.

図12(A)〜(E)は、印刷目的に応じて制御点CPを設定して変換用色域40の外郭を生成・設定した場合の具体例を示す図である。なお、図12(A)〜(E)においては、低明度側の変換用色域40の外郭が強調されるように高明度側における変換用色域40の外郭の図示を省略している。   FIGS. 12A to 12E are diagrams showing specific examples when the outline of the conversion color gamut 40 is generated and set by setting the control point CP according to the printing purpose. In FIGS. 12A to 12E, the outline of the conversion color gamut 40 on the high brightness side is omitted so that the outline of the conversion color gamut 40 on the low brightness side is emphasized.

入力色域20の色再現性を活かしつつ全体として出力色域30の色再現性が十分に維持されるように出力する場合には、図12(A)に示すように、出力色域30の外郭に近い部分に変換用色域40の外郭を生成する。   When output is performed so that the color reproducibility of the output color gamut 30 is sufficiently maintained as a whole while making use of the color reproducibility of the input color gamut 20, as shown in FIG. An outline of the conversion color gamut 40 is generated in a portion close to the outline.

また、低明度及び低彩度の領域で入力色域20の色再現性が維持されるように出力する場合には、図12(B)に示すように、低明度及び低彩度の領域では入力色域20の外郭を用いて変換用色域40の外郭を生成する。   Further, when outputting so that the color reproducibility of the input color gamut 20 is maintained in the low lightness and low chroma regions, as shown in FIG. 12B, in the low lightness and low chroma regions, An outline of the conversion color gamut 40 is generated using the outline of the input color gamut 20.

また、コントラストをつけて出力する場合には、図12(C)に示すように、低明度及び低彩度の領域では出力色域30の外郭を用いるように変換用色域40の外郭を生成する。   Further, when outputting with contrast, as shown in FIG. 12C, the outline of the conversion color gamut 40 is generated so that the outline of the output color gamut 30 is used in the low lightness and low saturation areas. To do.

また、入力色域20の階調性を維持して出力する場合には、図12(D)に示すように、変換用色域40の外郭を入力色域20の外郭の形状に合わせる。   When the output color gamut 20 is output while maintaining the gradation, the outline of the conversion color gamut 40 is matched with the outline of the input color gamut 20 as shown in FIG.

また、出力色域30の階調性を維持して出力する場合には、図12(E)に示すように、変換用色域40の外郭を出力色域30の外郭の形状に合わせる。   When the output color gamut 30 is output while maintaining the gradation, the outline of the conversion color gamut 40 is matched with the outline of the output color gamut 30 as shown in FIG.

以上説明したように、ステップ102〜106の処理により、変換用色域40の外郭の全体が設定されると(図13参照)、ステップ108で、色空間圧縮・伸張部18が、入力画像信号を、変換用色域外郭設定部16で設定された変換用色域内の信号にマッピングし、出力画像信号へ変換する。   As described above, when the entire outline of the conversion color gamut 40 is set by the processing in steps 102 to 106 (see FIG. 13), in step 108, the color space compression / decompression unit 18 causes the input image signal to be input. Are mapped to a signal in the conversion color gamut set by the conversion color gamut outline setting unit 16 and converted into an output image signal.

具体的には、線形圧縮や非線形圧縮などの周知の方法を用いることができる。例えば、線形圧縮方法を用いる場合には、入力色域20の外郭が変換用色域40の外郭に合致するように圧縮や伸張を行なったときの入力色域20内の画像信号の移動量を、入力色域20内の画像信号の位置(L軸から画像信号までの距離の、L軸から入力色域20の外郭までの距離に対する割合)に応じて演算し、入力色域20内の画像信号をその移動量だけ移動する。これにより入力色域20内の画像信号が変換用色域40内の画像信号に変換される。なお、上述の説明から明らかなように、変換用色域40は出力色域30より外側にはならないように生成されるため、結果として入力色域20内の画像信号が出力色域30内の画像信号に変換されることになる。   Specifically, a known method such as linear compression or nonlinear compression can be used. For example, when the linear compression method is used, the amount of movement of the image signal in the input color gamut 20 when compression or expansion is performed so that the outline of the input color gamut 20 matches the outline of the conversion color gamut 40. The image signal is calculated in accordance with the position of the image signal in the input color gamut 20 (the ratio of the distance from the L axis to the image signal to the distance from the L axis to the outline of the input color gamut 20). Move the signal by the amount of movement. As a result, the image signal in the input color gamut 20 is converted into the image signal in the conversion color gamut 40. As is clear from the above description, the conversion color gamut 40 is generated so as not to be outside the output color gamut 30, and as a result, the image signal in the input color gamut 20 is in the output color gamut 30. It is converted into an image signal.

本実施の形態に係る画像処理装置の構成例を示す図である。It is a figure which shows the structural example of the image processing apparatus which concerns on this Embodiment. 画像処理装置で実行される色変換処理のメインルーチンの流れを示すフローチャートである。It is a flowchart which shows the flow of the main routine of the color conversion process performed with an image processing apparatus. 外郭差を求める方法の一例を説明する説明図である。It is explanatory drawing explaining an example of the method of calculating | requiring an outline difference. 外郭差を求める方法の他の例を説明する説明図である。It is explanatory drawing explaining the other example of the method of calculating | requiring an outline difference. 外郭差を求める方法の他の例を説明する説明図である。It is explanatory drawing explaining the other example of the method of calculating | requiring an outline difference. 変換用色域外郭設定部により行なわれる低明度側の外郭設定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the outline setting process by the side of low brightness performed by the conversion color gamut outline setting part. 低明度側の入力色域の外郭が出力色域の外郭の外側にある場合に生成される変換用色域の外殻の一例を示す図である。It is a figure which shows an example of the outer shell of the color gamut for conversion produced | generated when the outline of the input color gamut on the low lightness side is outside the outline of the output color gamut. 低明度側の入力色域の外郭が出力色域の外郭の外側にあって外郭差が小さい場合に生成される変換用色域の外殻の一例を示す図である。It is a figure which shows an example of the shell of the color gamut for conversion produced | generated when the outline of the input color gamut on the low lightness side is outside the outline of the output color gamut and the outline difference is small. 低明度側の入力色域の外郭が出力色域の外郭の内側にある場合に生成される変換用色域の外殻の一例を示す図である。It is a figure which shows an example of the outer shell of the color gamut for conversion produced | generated when the outline of the input color gamut on the low lightness side is inside the outline of the output color gamut. 低明度側の領域において、入力色域の外郭が出力色域の外郭の外側となる部分と、入力色域の外郭が出力色域の外郭の内側となる部分とが混在する場合に生成される変換用色域の外殻の一例を示す図である。Generated when the input color gamut outline is outside the output color gamut outline and the input color gamut outline is inside the output color gamut outline in the low brightness area It is a figure which shows an example of the outer shell of the color gamut for conversion. (A)〜(D)は、制御点を設定して生成した変換用色域の外郭の具体例を示す図である。(A)-(D) are figures which show the specific example of the outline of the color gamut for conversion produced | generated by setting a control point. (A)〜(E)は、印刷目的に応じて制御点を設定して生成した変換用色域の外郭の具体例を示す図である。(A)-(E) is a figure which shows the specific example of the outline of the color gamut for conversion produced | generated by setting a control point according to the printing purpose. 入力色域と、出力色域と、これら色域から設定された変換用色域との位置関係の一例を示す図である。It is a figure which shows an example of the positional relationship of the input color gamut, the output color gamut, and the color gamut for conversion set from these color gamuts.

符号の説明Explanation of symbols

10 画像処理装置
12 色域情報取得部
14 色域比較部
16 変換用色域外郭設定部
18 色空間圧縮・伸張部
20 入力色域
30 出力色域
40 変換用色域
DESCRIPTION OF SYMBOLS 10 Image processing apparatus 12 Color gamut information acquisition part 14 Color gamut comparison part 16 Conversion color gamut outline setting part 18 Color space compression / expansion part 20 Input color gamut 30 Output color gamut 40 Conversion color gamut

Claims (9)

所定の色空間における入力側の色再現域を示す入力色域内の画像信号を前記所定の色空間における出力側の色再現域を示す出力色域内の画像信号に変換する際に用いる変換用の色域の外郭を設定する場合に、前記所定の色空間を所定明度を境界として高明度側の領域と低明度側の領域に分割する分割手段と、
前記所定の色空間の座標系を形成する軸に平行な第1の直線と前記入力色域の外郭とが交わる点と、該第1の直線と前記出力色域の外郭とが交わる点との距離または色差を、前記入力色域の外郭と前記出力色域の外郭との差として求めるか、又は前記所定の色空間の座標系を形成する軸上にあり前記入力色域内部且つ前記出力色域内部にある所定の点から前記入力色域の外郭に向かって延びる第2の直線と前記入力色域の外郭とが交わる点と、該第2の直線と前記出力色域の外郭とが交わる点との距離または色差を、前記入力色域の外郭と前記出力色域の外郭との差として求める外郭差導出手段と、
前記低明度側の領域において前記入力色域の外郭が前記出力色域の外郭の外側に位置する部分であるとともに、前記外郭差導出手段により求められた差が所定値以上の部分については、前記出力色域の外郭を前記変換用の色域の外郭として設定し、前記低明度側の領域において前記入力色域の外郭が前記出力色域の外郭の外側に位置する部分であるとともに、前記外郭差導出手段により求められた差が所定値未満の部分については、前記出力色域より内側に前記変換用の色域の外郭を生成して設定する第1設定手段と、
前記高明度側の領域について前記変換用の色域の外郭を設定する第2設定手段と、
前記入力色域内の画像信号を、前記第1設定手段及び前記第2設定手段で設定された外郭を有する変換用の色域内の画像信号に変換する変換手段と、
を含む画像処理装置。
Conversion color used when converting an image signal in the input color gamut indicating the color reproduction gamut on the input side in a predetermined color space into an image signal in the output color gamut indicating the color reproduction gamut on the output side in the predetermined color space A division unit that divides the predetermined color space into a region on the high lightness side and a region on the low lightness side with the predetermined lightness as a boundary when setting an outline of the region ;
A point where a first straight line parallel to an axis forming a coordinate system of the predetermined color space intersects with the outline of the input color gamut, and a point where the first straight line intersects with the outline of the output color gamut A distance or a color difference is obtained as a difference between an outline of the input color gamut and an outline of the output color gamut, or is on an axis that forms a coordinate system of the predetermined color space and is inside the input color gamut and the output color A point where a second straight line extending from a predetermined point inside the gamut toward the outline of the input color gamut and the outline of the input color gamut intersect, and the second straight line and the outline of the output color gamut intersect A contour difference deriving unit for obtaining a distance or color difference from a point as a difference between the contour of the input color gamut and the contour of the output color gamut;
In the low lightness side area, the outline of the input color gamut is a part located outside the outline of the output color gamut, and the difference obtained by the outline difference deriving unit is greater than or equal to a predetermined value, An outline of the output color gamut is set as an outline of the color gamut for conversion, and the outline of the input color gamut is a portion located outside the outline of the output color gamut in the low lightness side area, and the outline A first setting unit that generates and sets an outline of the color gamut for conversion inside the output color gamut for a portion where the difference obtained by the difference deriving unit is less than a predetermined value;
Second setting means for setting an outline of the color gamut for conversion with respect to the area on the high brightness side;
Conversion means for converting an image signal in the input color gamut into an image signal in a conversion color gamut having an outline set by the first setting means and the second setting means ;
An image processing apparatus.
前記第1設定手段は、更に、前記低明度側の領域において前記入力色域の外郭が前記出力色域の外郭の内側にある部分について、前記入力色域の外郭から前記出力色域の外郭までの範囲に前記変換用の色域の外郭を生成して設定する
請求項1に記載の画像処理装置。
The first setting means further includes, from the outline of the input color gamut to the outline of the output color gamut, for a portion where the outline of the input color gamut is inside the outline of the output color gamut in the low lightness side area. The image processing apparatus according to claim 1 , wherein an outline of the color gamut for conversion is generated and set in the range .
前記第2設定手段は、前記高明度側の領域について、前記出力色域の外郭を前記変換用の色域の外郭として設定する
請求項1又は請求項2に記載の画像処理装置。
Said second setting means, the area of the high-brightness side, the image processing apparatus according to claim 1 or claim 2 for setting the contour of the output gamut as a contour of a color gamut for the conversion.
前記第1設定手段は、前記入力色域の外郭が前記出力色域の外郭の内側にある部分について前記変換用の色域の外郭を生成する場合には、所定の条件に応じた形状の外殻を前記変換用の色域の外郭として生成する
請求項2又は請求項3記載の画像処理装置。
The first setting means generates an outer shape of the color gamut for conversion for a portion where the outer shape of the input color gamut is inside the outer shape of the output color gamut. The image processing apparatus according to claim 2 , wherein a shell is generated as an outline of the color gamut for conversion.
前記第1設定手段は、前記変換用の色域の外郭を生成する場合に、前記入力色域の外郭から前記出力色域の外郭までの範囲に、前記所定の条件に応じた点を設定し、該設定した点を通るように前記外郭を生成する
請求項1〜請求項4のいずれか1項記載の画像処理装置。
The first setting means sets a point corresponding to the predetermined condition in a range from the input color gamut outline to the output color gamut outline when generating the conversion color gamut outline. The image processing apparatus according to claim 1 , wherein the outline is generated so as to pass through the set point.
所定の色空間における入力側の色再現域を示す入力色域内の画像信号を前記所定の色空間における出力側の色再現域を示す出力色域内の画像信号に変換する際に用いる変換用の色域の外郭を設定する場合に、前記所定の色空間を所定明度を境界として高明度側の領域と低明度側の領域に分割する分割手段と、
前記所定の色空間の座標系を形成する軸に平行な第1の直線と前記入力色域の外郭とが交わる点と、該第1の直線と前記出力色域の外郭とが交わる点との距離または色差を、前記入力色域の外郭と前記出力色域の外郭との差として求めるか、又は前記所定の色空間の座標系を形成する軸上にあり前記入力色域内部且つ前記出力色域内部にある所定の点から前記入力色域の外郭に向かって延びる第2の直線と前記入力色域の外郭とが交わる点と、該第2の直線と前記出力色域の外郭とが交わる点との距離または色差を、前記入力色域の外郭と前記出力色域の外郭との差として求める外郭差導出手段と、
前記高明度側の領域においては、前記出力色域の外郭を前記変換用の色域の外郭として設定し、
前記低明度側の領域においては、
前記入力色域の外郭が前記出力色域の外郭の外側に位置する連続した部分で、且つ前記差の最大値が所定値以上の部分については、前記出力色域の外郭を前記変換用の色域の外郭として設定し、
前記入力色域の外郭が前記出力色域の外郭の外側に位置する連続した部分で、且つ前記差の最大値が所定値未満の部分については、前記出力色域より内側に前記変換用の色域の外郭を生成して設定し、
前記入力色域の外郭が前記出力色域の外郭の内側に位置する連続した部分については、前記入力色域の外郭から前記出力色域の外郭までの範囲に前記変換用の色域の外郭を生成して設定する設定手段と、
前記入力色域内の画像信号を、前記設定手段で設定された外郭を有する変換用の色域内の画像信号に変換する変換手段と、
を含む画像処理装置。
Conversion color used when converting an image signal in the input color gamut indicating the color reproduction gamut on the input side in a predetermined color space into an image signal in the output color gamut indicating the color reproduction gamut on the output side in the predetermined color space A division unit that divides the predetermined color space into a region on the high lightness side and a region on the low lightness side with the predetermined lightness as a boundary when setting an outline of the region ;
A point where a first straight line parallel to an axis forming a coordinate system of the predetermined color space intersects with the outline of the input color gamut, and a point where the first straight line intersects with the outline of the output color gamut A distance or a color difference is obtained as a difference between an outline of the input color gamut and an outline of the output color gamut, or is on an axis that forms a coordinate system of the predetermined color space and is inside the input color gamut and the output color A point where a second straight line extending from a predetermined point inside the gamut toward the outline of the input color gamut and the outline of the input color gamut intersect, and the second straight line and the outline of the output color gamut intersect A contour difference deriving unit for obtaining a distance or color difference from a point as a difference between the contour of the input color gamut and the contour of the output color gamut;
In the high brightness area, the outline of the output color gamut is set as the outline of the color gamut for conversion,
In the low brightness area,
For the continuous portion where the outline of the input color gamut is located outside the outline of the output color gamut, and the portion where the maximum value of the difference is a predetermined value or more, the outline of the output color gamut is converted to the color for conversion. Set as the outline of the area,
For the continuous portion where the outline of the input color gamut is located outside the outline of the output color gamut, and the portion where the maximum value of the difference is less than a predetermined value, the color for conversion inside the output color gamut Generate and set the area outline,
For a continuous portion in which the outline of the input color gamut is located inside the outline of the output color gamut, the outline of the color gamut for conversion is included in the range from the outline of the input color gamut to the outline of the output color gamut. Setting means for generating and setting ;
Conversion means for converting an image signal in the input color gamut into an image signal in a conversion color gamut having an outline set by the setting means;
An image processing apparatus.
前記設定手段は、前記入力色域の外郭が前記出力色域の外郭の内側にある部分について前記変換用の色域の外郭を生成する場合には、所定の条件に応じた形状の外殻を前記変換用の色域の外郭として生成する
請求項に記載の画像処理装置。
The setting unit generates an outer shell having a shape according to a predetermined condition when generating the outer color gamut for the conversion with respect to a portion where the outer color of the input color gamut is inside the outer color of the output color gamut. The image processing device according to claim 6 , wherein the image processing device is generated as an outline of the color gamut for conversion.
前記設定手段は、前記変換用の色域の外郭を生成する場合に、前記入力色域の外郭から前記出力色域の外郭までの範囲に、前記所定の条件に応じた点を設定し、該設定した点を通るように前記外郭を生成する
請求項6又は請求項7に記載の画像処理装置。
The setting means sets a point corresponding to the predetermined condition in a range from the outline of the input color gamut to the outline of the output color gamut when generating the outline of the color gamut for conversion, The image processing apparatus according to claim 6 , wherein the outline is generated so as to pass through a set point.
コンピュータを、
所定の色空間における入力側の色再現域を示す入力色域内の画像信号を前記所定の色空間における出力側の色再現域を示す出力色域内の画像信号に変換する際に用いる変換用の色域の外郭を設定する場合に、前記所定の色空間を所定明度を境界として高明度側の領域と低明度側の領域に分割する分割手段、
前記所定の色空間の座標系を形成する軸に平行な第1の直線と前記入力色域の外郭とが交わる点と、該第1の直線と前記出力色域の外郭とが交わる点との距離または色差を、前記入力色域の外郭と前記出力色域の外郭との差として求めるか、又は前記所定の色空間の座標系を形成する軸上にあり前記入力色域内部且つ前記出力色域内部にある所定の点から前記入力色域の外郭に向かって延びる第2の直線と前記入力色域の外郭とが交わる点と、該第2の直線と前記出力色域の外郭とが交わる点との距離または色差を、前記入力色域の外郭と前記出力色域の外郭との差として求める外郭差導出手段、
前記低明度側の領域において前記入力色域の外郭が前記出力色域の外郭の外側に位置する部分であるとともに、前記外郭差導出手段により求められた差が所定値以上の部分については、前記出力色域の外郭を前記変換用の色域の外郭として設定し、前記低明度側の領域において前記入力色域の外郭が前記出力色域の外郭の外側に位置する部分であるとともに、前記外郭差導出手段により求められた差が所定値未満の部分については、前記出力色域より内側に前記変換用の色域の外郭を生成して設定する第1設定手段、
前記高明度側の領域について前記変換用の色域の外郭を設定する第2設定手段、及び
前記入力色域内の画像信号を、前記第1設定手段及び前記第2設定手段で設定された外郭を有する変換用の色域内の画像信号に変換する変換手段
として機能させるためのプログラム。
The computer,
Conversion color used when converting an image signal in the input color gamut indicating the color reproduction gamut on the input side in a predetermined color space into an image signal in the output color gamut indicating the color reproduction gamut on the output side in the predetermined color space A division unit that divides the predetermined color space into a region on the high lightness side and a region on the low lightness side with the predetermined lightness as a boundary when setting an outline of the region ;
A point where a first straight line parallel to an axis forming a coordinate system of the predetermined color space intersects with the outline of the input color gamut, and a point where the first straight line intersects with the outline of the output color gamut A distance or a color difference is obtained as a difference between an outline of the input color gamut and an outline of the output color gamut, or is on an axis that forms a coordinate system of the predetermined color space and is inside the input color gamut and the output color A point where a second straight line extending from a predetermined point inside the gamut toward the outline of the input color gamut and the outline of the input color gamut intersect, and the second straight line and the outline of the output color gamut intersect A contour difference deriving unit for obtaining a distance or color difference from a point as a difference between the contour of the input color gamut and the contour of the output color gamut;
In the low lightness side area, the outline of the input color gamut is a part located outside the outline of the output color gamut, and the difference obtained by the outline difference deriving unit is greater than or equal to a predetermined value, An outline of the output color gamut is set as an outline of the color gamut for conversion, and the outline of the input color gamut is a portion located outside the outline of the output color gamut in the low lightness side area, and the outline A first setting means for generating and setting an outline of the color gamut for conversion inside the output color gamut for a portion where the difference obtained by the difference deriving means is less than a predetermined value;
Second setting means for setting an outline of the color gamut for conversion for the high brightness side area, and an image signal in the input color gamut for the outline set by the first setting means and the second setting means. Conversion means for converting to an image signal in the color gamut for conversion
Program to function as.
JP2007151560A 2007-06-07 2007-06-07 Image processing apparatus and program Expired - Fee Related JP4775328B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007151560A JP4775328B2 (en) 2007-06-07 2007-06-07 Image processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007151560A JP4775328B2 (en) 2007-06-07 2007-06-07 Image processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2008306447A JP2008306447A (en) 2008-12-18
JP4775328B2 true JP4775328B2 (en) 2011-09-21

Family

ID=40234776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007151560A Expired - Fee Related JP4775328B2 (en) 2007-06-07 2007-06-07 Image processing apparatus and program

Country Status (1)

Country Link
JP (1) JP4775328B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5577279B2 (en) * 2011-02-28 2014-08-20 京セラドキュメントソリューションズ株式会社 Image forming apparatus and color gamut correction method
JP5857617B2 (en) * 2011-10-19 2016-02-10 ブラザー工業株式会社 Control device and program

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04196675A (en) * 1990-11-26 1992-07-16 Konica Corp Color estimate method
JP3794182B2 (en) * 1998-12-18 2006-07-05 富士ゼロックス株式会社 Color image signal processing apparatus and color image signal processing method
JP3981790B2 (en) * 1999-10-07 2007-09-26 富士ゼロックス株式会社 Color image processing method, color image processing apparatus, color conversion coefficient generation method, color conversion coefficient generation apparatus, and storage medium
JP3596677B2 (en) * 2000-10-06 2004-12-02 セイコーエプソン株式会社 Image processing apparatus, image processing method, program, and recording medium
JP4524578B2 (en) * 2000-10-06 2010-08-18 セイコーエプソン株式会社 Image processing apparatus, image processing method, program, and recording medium
JP4250863B2 (en) * 2000-11-08 2009-04-08 ソニー株式会社 Color correction processing method and apparatus
JP2003087586A (en) * 2001-09-12 2003-03-20 Canon Inc Image processing method, device and program
US7474438B2 (en) * 2003-07-31 2009-01-06 Hewlett-Packard Development Company, L.P. Wide gamut mapping method and apparatus
KR100601867B1 (en) * 2004-06-11 2006-07-19 삼성전자주식회사 Gamut mapping apparatus using vetcor streching and method the same
JP2006345187A (en) * 2005-06-08 2006-12-21 Canon Inc Color processing method and device thereof
JP2007053521A (en) * 2005-08-17 2007-03-01 Seiko Epson Corp Image data conversion apparatus, printer, image data conversion method, print method, and conversion table generating method
JP2007060420A (en) * 2005-08-25 2007-03-08 Canon Inc Color converting device and method therefor

Also Published As

Publication number Publication date
JP2008306447A (en) 2008-12-18

Similar Documents

Publication Publication Date Title
JP5067276B2 (en) Color conversion method, color conversion table generated by the color conversion method, image processing apparatus, and color conversion program
KR100788053B1 (en) Color conversion method and profile generation method
US9846826B2 (en) Image processing to generate a tone curve for processing an image by associating a model parameter of the image with another model parameter of a reference image
JP2007184766A (en) Color separation processing method, color separation processor, program, and medium
US20120307270A1 (en) Image processing apparatus and color conversion table generating method
US7843606B2 (en) Color converter, color converting method, and computer readable medium
JP4803122B2 (en) Color processing apparatus and program
JP6671265B2 (en) Image processing apparatus, control method therefor, and program
US7656414B2 (en) System and method for determination of gray for CIE color conversion using chromaticity
JP4775328B2 (en) Image processing apparatus and program
JP2009171158A (en) Mosaic image generation apparatus, method, and program
JP2015002442A (en) Image processing apparatus and method
JP2010050832A (en) Device and method for processing image, program, and recording medium
JP4985162B2 (en) Color gamut generation device, color gamut generation program, and color conversion device
US7679782B2 (en) System and method for extracting grayscale data in accordance with a prescribed tolerance function
JP4853270B2 (en) Color gamut generation device, color gamut generation method, and color gamut generation program
JPH10191090A (en) Apparatus and method for manufacturing color conversion table, and recording medium
JP4983955B2 (en) Image processing apparatus and image processing program
JP2006260532A (en) Image forming apparatus and method
JP2008160298A (en) Color gamut generator, color gamut generation method, color gamut generation program and color converter
JP4849099B2 (en) Color processing apparatus and color processing program
JP2006260533A (en) Image forming apparatus and method
JP2005260404A (en) Image processor
JP4970419B2 (en) Image processing device
JP6740729B2 (en) Data conversion device, data conversion method, and data conversion program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090824

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110304

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110322

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110512

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110613

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140708

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees