JP4775328B2 - Image processing apparatus and program - Google Patents
Image processing apparatus and program Download PDFInfo
- 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
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参照。)。
本発明は、出力色域を十分に活かしつつ、入力側で再現される色の印象と出力側で再現される色の印象を合わせるように画像信号を変換することができる画像処理装置およびプログラムを提供することを目的とする。 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の発明は、請求項6に記載の画像処理装置において、前記設定手段は、前記入力色域の外郭が前記出力色域の外郭の内側にある部分について前記変換用の色域の外郭を生成する場合には、所定の条件に応じた形状の外殻を前記変換用の色域の外郭として生成する。 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
これらの各部12〜18の機能により、CRTモニタや液晶ディスプレイ等の入力側デバイスで入力された画像信号(入力画像信号)が出力側デバイス(上記出力装置)で出力するための画像信号(出力画像信号)に変換される。以下、この変換処理を色変換処理と呼称する。ここで、各部12〜18の機能について説明する。
With the functions of these
色域情報取得部12は、入力側デバイスの色再現域を示す入力色域の情報、及び出力側デバイス(上述した画像出力装置)の色再現域を示す出力色域の情報を取得する。なお、入力色域の情報や出力色域の情報は、例えば、ICC(International Color Consortium)プロファイル等の規格に基づいた情報としてもよい。
The color gamut
入力色域の情報や出力色域の情報は、色域情報取得部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
色域比較部14は、色域情報取得部12で取得した入力色域の情報及び出力色域の情報に基づいて、所定の色空間(本実施の形態ではL*a*b*色空間)における入力色域の外郭と出力色域の外郭とを比較する。具体的には、入力色域の外郭と出力色域の外郭との差(距離または色差)を求め、求めた差を示す情報(外郭差情報)を比較結果として所定のメモリに記憶する。
The color
変換用色域外郭設定部16は、色域情報取得部12が取得した入力色域及び出力色域の情報、及び上記メモリに記憶した比較結果(外郭差情報)に基づいて、L*a*b*色空間における入力色域内の画像信号を、L*a*b*色空間における出力色域内の画像信号に変換する際に用いる変換用の色域の外郭を設定する。具体的には、変換用色域外郭設定部16は、明度、入力色域及び出力色域の位置を考慮し、入力側で再現される色の印象と出力側で再現される色の印象が大きく異ならないように画像信号を変換するための変換用色域の外郭を設定する。この変換用色域の外郭は、出力色域の外郭より外側にはならないように設定される。
Based on the input gamut and output gamut information acquired by the gamut
色空間圧縮・伸張部18は、入力画像信号を、変換用色域外郭設定部16で設定された変換用色域内の信号にマッピングし、出力画像信号へ変換する。
The color space compression /
なお、これらの各部12〜18は、CPU(Central Processing Unit)、ROM(Read Only Memory)およびRAM(Random Access Memory)等の組み合わせからなるコンピュータが、所定のメモリに記憶された所定プログラムを実行することによって実現されるものとする。
Each of these
次に、画像処理装置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
ステップ102では、変換用色域外郭設定部16が、上記メモリから取得した出力色域の情報に基づいて、変換用色域40の高明度側の外郭を設定する。具体的には、図7に示すように、L*a*b*色空間を所定明度αを境界として高明度側の領域と低明度側の領域に分割し、所定明度αより高い高明度側の領域については、出力色域30の外郭をそのまま変換用色域40の外郭として設定する。なお、所定明度αの値は、入力側デバイスや出力側デバイスの特性に応じて設定するようにしてもよいし、デバイスによらず色変換の精度に差がほとんど生じない場合等では、例えば出力色域30の最大の彩度値を示す点(最大彩度点)における明度の値を所定明度αの値としてもよい。
In
なお、高明度側の変換用色域40の外郭として出力色域30の外郭そのままを用いるのは、高明度側では入力色域20の外郭が出力色域30の外郭より大きい場合が一般的であり(例えば、入力側デバイスがCRTモニタであり出力側デバイスがプリンタ等である場合などでは入力側の色域の方が明度が高くなる傾向がある)、且つ高明度側は明度の変化が視認しやすく、明度の低下は少しでも目につきやすい。従って、高明度側では、画像信号の変換の際、出力色域30の外郭いっぱいまで使用することで(すなわち、変換用色域40の外郭を出力色域30の外郭とする)、出力色域30の色再現性を活かして明度の低下を抑え、入力側の印象を維持する。
Note that the outline of the
ステップ104では、色域比較部14が、L*a*b*色空間の低明度側(ここでは明度が所定明度α以下の領域)における、入力色域20の外郭と出力色域30の外郭との差を求める。
In
まず、色域比較部14は、入力色域20の情報及び出力色域30の情報に基づいて、入力色域20の外郭座標値及び出力色域30の外郭座標値を抽出する。なお、ここで外郭座標値とは、L*C*(明度・彩度)平面における各色域の外郭を構成する点の位置を示す座標値である。そして、色域比較部14は、L*a*b*色空間のL*C*平面における入力色域20の外郭と出力色域30の外郭との差(距離または色差)を求め、この差を比較結果としてメモリに記憶する。以下、ここで求める差を外郭差と呼称し、外郭差を示す情報を外郭差情報と呼称する。なお、L*C*平面上のL*軸は、明度軸であり、C*軸が彩度軸(a*b*平面の中心からの距離を示す)である。ここで、外郭差の求め方について説明する。
First, the color
図3は、外郭差を求める方法の一例を説明する説明図である。 FIG. 3 is an explanatory diagram for explaining an example of a method for obtaining an outline difference.
この方法では、まずL*軸に平行な直線l1に入力色域20の外郭が交わる点A、及び同じ直線l1に出力色域30の外郭が交わる点Bを抽出する。これにより、入力色域20の外郭上の点Aと、出力色域30の外郭上の点であって、点Aと同色相、同彩度で明度が異なる点Bとが抽出される。なお、図3において、直線l1に入力色域20の外郭が交わる点と直線l1に出力色域30の外郭が交わる点とはそれぞれ2つずつあるが、その場合には低明度側の点を抽出する。
In this way, it extracts the first L * contour intersects the point A of the
ここで、点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
なお、直線l1が入力色域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
この方法では、C*軸に平行な直線l2に入力色域20の外郭が交わる点A、及び同じ直線l2に出力色域30の外郭が交わる点Bを抽出する。これにより、入力色域20の外郭上の点Aと、出力色域30の外郭上の点であって、点Aと同色相、同明度で彩度が異なる点Bとが抽出される。
In this way, it extracts the C * point contour of the
ここで、点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
なお、直線l2が入力色域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
図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の外郭に向かって延びる直線l3と入力色域20の外郭とが交わる点Aと、該直線l3と出力色域30の外郭とが交わる点Bとを抽出する。
In this method, first, a predetermined point O that is on the point L * axis and is inside the
ここで、点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).
なお、本実施の形態において、色域比較部14は、外郭点毎の外郭差情報を入力色域20の外郭点の座標値に対応付けて(或いは出力色域30の外郭点に対応付けて)メモリに記憶するが、その際、外殻点の明度の高い側から低い側へ順にメモリに記憶する。
In the present embodiment, the color
色域比較部14により外郭差を求めてメモリに記憶した後は、ステップ104で、変換用色域外郭設定部16が、入力色域20の情報、出力色域30の情報、及び外郭差情報に基づいて、変換用色域40の低明度側の外郭を設定する。
After obtaining the outline difference by the color
図6は、変換用色域外郭設定部16により行なわれる低明度側の外郭設定処理の流れを示すフローチャートである。
FIG. 6 is a flowchart showing a flow of low-lightness outline setting processing performed by the conversion color gamut
ステップ120では、上記メモリから外郭差情報を読み出す。
In
ステップ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
なお、ここで、読み出した外郭差情報の外郭差が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
ステップ124では、外郭差が0になるまで読み出した外郭差情報(或いは最後の外郭差情報まで)の符号に基づいて、入力色域20及び出力色域30における、それまでに連続して読み出した外郭差情報に対応する部分の位置関係を判定する。
In
例えば、図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
ステップ124で入力色域20の外郭が出力色域30の外郭よりも外側にあると判断した場合には、ステップ126で、入力色域20の外郭と出力色域30の外郭との差が大きいか否かを判断する。具体的には、ステップ120〜122で読み出した外郭差情報が示す外郭差の各々の絶対値を求め、そこから最大値を抽出し、該最大値が予め定められた閾値βよりも大きい場合には、入力色域20の外郭と出力色域30の外郭との差が大きいと判断し、該最大値が閾値β以下である場合には、入力色域20の外郭と出力色域30の外郭との差は小さいと判断する。
If it is determined in
すなわち、上記絶対値の最大値が閾値βよりも大きい場合には、読み出した外郭差情報の中に閾値βよりも小さい外郭差を示す情報が含まれている場合であっても、入力色域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
ステップ126で入力色域20の外郭と出力色域30の外郭との差は大きいと判断した場合には、ステップ128で、出力色域30の外郭を変換用色域の外郭として設定し、ステップ134に移行する。
If it is determined in
なお、低明度側の入力色域20の外郭が出力色域30の外郭の外側にあって外郭差が大きい場合に、変換用色域40の外郭として出力色域30の外郭そのままを用いるのは、入力画像信号を変換した時に変換前の印象と変換後の印象とが大きく乖離してしまわないようにするためである。従って、入力色域20の外郭に最も近い出力色域30の外郭を変換用色域40の外郭として用いることで、出力色域30を活かしつつ入力側の色の印象を維持することができる。
Note that when the outline of the
ステップ134では、変換用色域の低明度側における全ての外郭を設定したか否かを判断する。ここではメモリに記憶されている外郭差情報が全て読み出されたと判断した場合には肯定判断され、それ以外の場合には、否定判断される。ステップ134で否定判断した場合には、ステップ120に戻って、次の外郭差情報を読み出す。なお、次の外郭差情報を読み出す前に、これまでに読み出した外郭差情報(ただし符号が変化したと判断された外郭差情報を除く)をクリアしておく。
In
一方、ステップ126で、入力色域20の外郭と出力色域30の外郭との差は小さいと判断した場合には、ステップ130で、出力色域30の内側に変換用色域40の外郭を生成して設定し、ステップ134に移行する。
On the other hand, if it is determined in
なお、低明度側の入力色域20の外郭が出力色域30の外郭の外側であって外郭差が小さい場合に、外郭差が大きい場合と同様に出力色域30の外郭をそのまま変換用色域40の外郭として用いてもよいように思われるが、そうせずに出力色域30の内側に変換用色域40の外郭を生成して用いるのは、以下の理由がある。
When the outline of the
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
なお、どの程度内側に変換用色域40の外郭を生成するかは、入力側デバイスや出力側デバイスの特性に応じて予め設定しておく。
Note that the extent to which the outline of the
また、ステップ124で、入力色域20の外郭が出力色域30の外郭の内側にあると判断した場合には、ステップ132で、入力色域20の外郭から出力色域30の外郭までの範囲に変換用色域40の外郭を生成して設定し、ステップ126に移行する。新たに外郭を生成する「範囲」には入力色域20の外郭及び出力色域30の外郭も含まれる。
If it is determined in
なお、低明度側の入力色域20の外郭が出力色域30の外郭の内側にある場合に、変換用色域の外郭として入力色域20の外郭から出力色域30の外郭までの範囲に生成した新たな外郭を用いるのは、低明度側の入力色域20の外郭が出力色域30の外郭の外側であって外郭差が小さい場合と同様の理由で、変換用色域40の外郭に出力色域30の外郭をそのまま用いると出力結果が暗くなってしまうためであり、低明度側では印刷時に明るめに出力されるように(すなわち、明度が高くなるように)変換用色域40の外郭を生成する。
Note that when the outline of the
ただし、入力色域20の外郭が出力色域30の外郭の内側にある部分の全域で、常に入力色域20の外郭と出力色域30の外郭との中間位置に変換用色域40の外郭を生成しなくてもよい。例えば、一部では入力色域20の外郭及び出力色域30の外郭のいずれか一方の外郭を変換用色域40の外郭として用い、残りの部分では入力色域20の外郭と出力色域30の外郭との中間位置に変換用色域40の外郭を生成するようにしてもよい。どのように外郭を生成するかは、所定の条件(ここでは印刷目的)に応じて決定する。ここでの外郭生成方法の詳細は、後述する。
However, the outline of the
こうして、ステップ134で肯定判断されるまでは、低明度側の外郭の設定処理を順次行ない、低明度側の外郭の設定が全て完了した時点で、この外郭設定処理ルーチンを終了して、メインルーチン(図2)に戻る。
Thus, until the affirmative determination is made in
なお、上記では、低明度側の領域において、入力色域20の外郭と出力色域30の外郭とが交差する場合を除き、外郭差が0の部分、すなわち、入力色域20の外郭と出力色域30の外郭が一致する部分についての変換用色域40の外郭をどのように設定するかについては説明を省略したが、この部分については、入力色域20の外郭が出力色域30の外郭の外側にあり外郭差が小さい場合と同様に、出力色域30の内側に新たに外郭を生成して変換用色域40の外郭として用いるようにしてもよい。
In the above, except for the case where the outline of the
ここで、変換用色域外郭設定部16により設定される外郭の具体例を説明する。
Here, a specific example of the outline set by the conversion color gamut
図7(A)に示すように、低明度側の入力色域20の外郭が出力色域30の外郭の外側にあって外郭差が大きい場合には、上記ステップ128の処理により、図7(B)に示すように、出力色域30の外郭が低明度側の変換用色域40の外郭として設定される。
As shown in FIG. 7A, when the outline of the
図8(A)に示すように、低明度側の入力色域20の外郭が出力色域30の外郭の外側にあって外郭差が小さい場合には、上記ステップ130の処理により、図8(B)に示すように、出力色域30の内側に変換用色域40の外郭を生成して設定する。
As shown in FIG. 8A, when the outline of the
なお、変換用色域40の外郭をどの程度内側に生成するか、或いはどのような形状にするかは、入力側デバイス及び出力側デバイスの特性等に応じて予め設定しておく。ただし、明度が上記所定明度αの直下となる部分では、図8(B)に示すように、C*軸に平行な所定明度αを示す直線と、出力色域30の外郭とが交わる点を必ず通るように変換用色域40の外郭を設定する。これにより、高明度側の変換用色域40の外郭と低明度側の変換用色域40の外郭とが連続する。
It should be noted that how much the outline of the
また、図9(A)に示すように、低明度側の入力色域20の外郭が出力色域30の外郭の内側にある場合には、上記ステップ132の処理により、図9(B)に示すように、入力色域20の外郭から出力色域30の外郭までの範囲に変換用色域40の外郭を生成して設定する。
Further, as shown in FIG. 9A, when the outline of the
また、図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
図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
なお、このように外殻を生成する場合に、入力色域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
図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
図12(A)〜(E)は、印刷目的に応じて制御点CPを設定して変換用色域40の外郭を生成・設定した場合の具体例を示す図である。なお、図12(A)〜(E)においては、低明度側の変換用色域40の外郭が強調されるように高明度側における変換用色域40の外郭の図示を省略している。
FIGS. 12A to 12E are diagrams showing specific examples when the outline of the
入力色域20の色再現性を活かしつつ全体として出力色域30の色再現性が十分に維持されるように出力する場合には、図12(A)に示すように、出力色域30の外郭に近い部分に変換用色域40の外郭を生成する。
When output is performed so that the color reproducibility of the
また、低明度及び低彩度の領域で入力色域20の色再現性が維持されるように出力する場合には、図12(B)に示すように、低明度及び低彩度の領域では入力色域20の外郭を用いて変換用色域40の外郭を生成する。
Further, when outputting so that the color reproducibility of the
また、コントラストをつけて出力する場合には、図12(C)に示すように、低明度及び低彩度の領域では出力色域30の外郭を用いるように変換用色域40の外郭を生成する。
Further, when outputting with contrast, as shown in FIG. 12C, the outline of the
また、入力色域20の階調性を維持して出力する場合には、図12(D)に示すように、変換用色域40の外郭を入力色域20の外郭の形状に合わせる。
When the
また、出力色域30の階調性を維持して出力する場合には、図12(E)に示すように、変換用色域40の外郭を出力色域30の外郭の形状に合わせる。
When the
以上説明したように、ステップ102〜106の処理により、変換用色域40の外郭の全体が設定されると(図13参照)、ステップ108で、色空間圧縮・伸張部18が、入力画像信号を、変換用色域外郭設定部16で設定された変換用色域内の信号にマッピングし、出力画像信号へ変換する。
As described above, when the entire outline of the
具体的には、線形圧縮や非線形圧縮などの周知の方法を用いることができる。例えば、線形圧縮方法を用いる場合には、入力色域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
10 画像処理装置
12 色域情報取得部
14 色域比較部
16 変換用色域外郭設定部
18 色空間圧縮・伸張部
20 入力色域
30 出力色域
40 変換用色域
DESCRIPTION OF SYMBOLS 10
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に記載の画像処理装置。 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 .
請求項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.
請求項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〜請求項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.
請求項6に記載の画像処理装置。 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.
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)
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)
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 |
-
2007
- 2007-06-07 JP JP2007151560A patent/JP4775328B2/en not_active Expired - Fee Related
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 |