JP2007049642A - Image processing apparatus, image processing method and table creating method - Google Patents

Image processing apparatus, image processing method and table creating method Download PDF

Info

Publication number
JP2007049642A
JP2007049642A JP2005234786A JP2005234786A JP2007049642A JP 2007049642 A JP2007049642 A JP 2007049642A JP 2005234786 A JP2005234786 A JP 2005234786A JP 2005234786 A JP2005234786 A JP 2005234786A JP 2007049642 A JP2007049642 A JP 2007049642A
Authority
JP
Japan
Prior art keywords
color
reproduction range
color reproduction
gamut
image processing
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.)
Granted
Application number
JP2005234786A
Other languages
Japanese (ja)
Other versions
JP4533277B2 (en
Inventor
Ayumi Hori
亜由美 堀
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005234786A priority Critical patent/JP4533277B2/en
Priority to US11/462,652 priority patent/US7965426B2/en
Publication of JP2007049642A publication Critical patent/JP2007049642A/en
Application granted granted Critical
Publication of JP4533277B2 publication Critical patent/JP4533277B2/en
Active 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)

Abstract

<P>PROBLEM TO BE SOLVED: To effectively use color gamuts of an output device in gamut mapping, to excellently reproduce colors of an input device and to also guarantee color reproduction for other colors. <P>SOLUTION: It is judged whether or not a lattice point X of an object of gamut mapping is within an input estimated color gamut 1202. If it is determined that the point X is within the input estimated color gamut 1202, the lattice point is compressed into point X' of a distance OX' within a preferential color gamut 1204. If it is judged that the point X is outside the input estimated color gamut 1202, on the other hand, the point X is compressed into point X' between a boundary Pf of the preferential color gamut 1204 and an outer-most shell D of a printer color gamut 1203. Thus, the preferential color gamut is made comparatively large for colors within the input estimated color gamut 1202, so that excellent compression can be performed without incurring color crush or the like. Furthermore, areas for colors after compression are secured within the printer color gamut for colors outside the input estimated color gamut 1202, and the colors outside the input estimated color gamut can also be reproduced in a printer. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像処理装置、画像処理方法およびテーブル作成方法に関し、詳しくは、デバイスに依存しない標準色空間を介して入力デバイスの色域を出力デバイスの色域へ変換するガマットマッピングに用いるテーブルに関するものである。   The present invention relates to an image processing apparatus, an image processing method, and a table creation method, and more particularly to a table used for gamut mapping for converting a color gamut of an input device to a color gamut of an output device via a standard color space independent of the device. Is.

近年、デジタルカメラやイメージスキャナ等のデジタル機器が普及し、デジタル画像を手軽に得ることができるようになって来ている。また、フルカラーハードコピー技術も急速に発展している。特に、インクジェット方式による印刷はその画質が銀塩写真に匹敵するものとなりつつあり、広く用いられるようになって来ている。一方でインターネット等のネットワークが広く普及し、多くのユーザーが様々なデバイスを接続することができる環境にある。そして、このような入出力デバイスが多様である環境では、例えば、ある色再現範囲を持ったモニターのカラー画像信号を色再現範囲がそれより狭いプリンタによってハードコピーする場合のように、色再現範囲が異なるデバイス間においてカラー画像データの入出力が行われる。   In recent years, digital devices such as digital cameras and image scanners have become widespread, and digital images can be easily obtained. Also, full-color hard copy technology is rapidly developing. In particular, inkjet printing is becoming more widely used because its image quality is comparable to silver salt photography. On the other hand, networks such as the Internet are widely spread, and many users can connect various devices. In an environment where such input / output devices are diverse, the color reproduction range, for example, when a color image signal of a monitor having a certain color reproduction range is hard-copied by a printer with a narrower color reproduction range. Input / output of color image data is performed between devices having different.

これに対し、異なるデバイス間で同じ色の色再現を行う技術として、「カラーマネージメントシステム(以下、単に「CMS」とも言う)」が知られている。   On the other hand, “color management system (hereinafter also simply referred to as“ CMS ”)” is known as a technique for reproducing the same color between different devices.

図1は、このCMSの一構成の概要を示す図であり、デバイスに依存しない色空間を用いたCMSを示している。例えば、カメラやスキャナのような画像入力デバイスとプリンタやモニターなどの画像出力デバイスを接続する場合、図1に示す構成では、あるデバイスの色信号から出力デバイスの色信号への変換は、それぞれのプロファイル(各デバイスカラーとデバイス独立な色空間を結びつける変換式、もしくは上記変換を予めルックアップテーブルとして作成した変換テーブルを記述したもの)によるデバイス独立な色空間(例えば、CIE−XYZ,CIE−L)を介在させて実現される。このようなシステムは、接続する入、出力デバイスが異なるシステムの交換を容易に行うことができるという利点を有している。 FIG. 1 is a diagram showing an outline of one configuration of this CMS, and shows a CMS using a device-independent color space. For example, when an image input device such as a camera or a scanner is connected to an image output device such as a printer or monitor, in the configuration shown in FIG. 1, conversion from a color signal of a certain device to a color signal of an output device Device-independent color space (for example, CIE-XYZ, CIE-L) based on a profile (a conversion formula that links each device color and a device-independent color space, or a conversion table in which the above conversion is created in advance as a lookup table) * A * b * ). Such a system has an advantage that a system having different input and output devices to be connected can be easily exchanged.

このようなCMSで用いられるデバイスに依存しない色空間(以下、「標準色空間」とも言う)は、例えば、業界標準として広く普及しているInternational Color Consortium(ICC)により提唱されるプロファイルでは、このプロファイルを結びつけるためのものとして、D50光源下におけるCIE−XYZ色空間やCIE−L色空間が規定されている。また、標準的な色域としては、Microsoft社のオペレーティングシステムWindows(登録商標)環境下では、sRGB色空間(IEC 61966−2−1)が用いられている。さらに近年では、ハイエンドのデジタルカメラ等の入力機器において、Adobe社が提唱するAdobeRGB色空間などが用いられる場合もある。これらの色域を有する色空間を標準色空間とする場合もある。このような、デバイス非依存な色空間である標準色空間を介することにより、デバイスに依存しない色再現を行うことが可能となる。 Such a device-independent color space used in CMS (hereinafter also referred to as “standard color space”) is, for example, a profile proposed by the International Color Consortium (ICC) that is widely spread as an industry standard. A CIE-XYZ color space and a CIE-L * a * b * color space under a D50 light source are defined as those for linking profiles. As a standard color gamut, an sRGB color space (IEC 61966-2-1) is used under the Microsoft operating system Windows (registered trademark) environment. Furthermore, in recent years, the Adobe RGB color space proposed by Adobe may be used in input devices such as high-end digital cameras. A color space having these color gamuts may be a standard color space. Through such a standard color space which is a device-independent color space, it is possible to perform color reproduction independent of a device.

このCMSにおいて各デバイスで色再現をする際に、あるデバイスで再現可能な色を出力デバイスで再現することができるようにするため、それら入、出力デバイス間の色再現範囲の違いを吸収するガマットマッピングの技術が用いられる。   When performing color reproduction with each device in this CMS, in order to be able to reproduce colors that can be reproduced with a certain device with an output device, the gamut that absorbs the difference in the color reproduction range between those input and output devices Mapping techniques are used.

特許文献1では、色再現域がより狭いデバイスの色域に対してマッピングをする際、そのデバイスの色再現域以外の色は明度および色相を一定として彩度のみを圧縮し、そのデバイスの色域の最外殻に圧縮する方法や、色再現域以外の色はCIE−L色空間における色差が最小となる色に圧縮をする方法によるガマットマッピングが記載されている。 In Patent Document 1, when mapping to a device color gamut with a narrower color reproduction gamut, colors other than the device color reproduction gamut are compressed with only lightness and hue being constant, and the color of the device is compressed. a method of compressing the outermost shell of the range, the color other than the color reproduction range is described gamut mapping by a method of compression to color the color difference in the CIE-L * a * b * color space is minimized.

特開平6−225130号公報JP-A-6-225130

しかしながら、標準色空間を介在させたガマットマッピングを上述のルックアップテーブル(以下、LUTとも言う)を用いて実現する場合には、標準色空間の大きさや形と入力デバイスや出力デバイスが持つ色再現域との関係で、主に2つの点でマッピングを良好に行うことが困難となり、結果として印刷される画像の品位が十分に実現されないという問題がある。   However, when the gamut mapping with the standard color space interposed is realized by using the lookup table (hereinafter also referred to as LUT), the size and shape of the standard color space and the color reproduction of the input device and output device In relation to the area, it is difficult to perform mapping in two main points. As a result, there is a problem that the quality of the printed image is not sufficiently realized.

第1の問題は、標準色空間の大きさと入、出力デバイスそれぞれの色再現域との包含関係に起因した問題である。   The first problem is caused by the inclusion relationship between the size of the standard color space, the input, and the color gamut of each output device.

図2は、出力デバイス用のプロファイルとしてのLUT作成に際して、標準色空間が出力デバイスの色再現域を総て包含していない場合を示す図である。同図は、CIE−L表色系において、標準色空間としてのsRGB色空間201と出力デバイスの一例であるインクジェットプリンタの色域202を示しており、斜線で示した領域203は、標準色空間よりもプリンタ色域が広い領域である。このような色域外の色が、入力デバイスから入力されたとしても、標準色空間を介した時点で取り扱うことができなくなる。つまり、出力デバイスの色域を全て有効に使い、出力デバイスの色再現能力を最大限に引き出すためには、出力デバイスの色域を包含した標準色空間を用いる必要がある。 FIG. 2 is a diagram illustrating a case where the standard color space does not include the entire color gamut of the output device when creating an LUT as a profile for the output device. This figure shows an sRGB color space 201 as a standard color space and a color gamut 202 of an ink jet printer as an example of an output device in a CIE-L * a * b * color system, and an area 203 indicated by hatching Is an area where the printer color gamut is wider than the standard color space. Even if such an out-of-gamut color is input from the input device, it cannot be handled at the time via the standard color space. That is, in order to use all the color gamut of the output device effectively and maximize the color reproduction capability of the output device, it is necessary to use a standard color space including the color gamut of the output device.

しかし、他方で、このような条件を満足する標準色空間は、実際に入力されると想定できる色域(以下、「入力想定色域」と称す)よりも相当広い場合があり、それに起因した問題を生じることになる。このように標準色空間が入力想定色域より広くなる傾向を持つのは、上述のICCプロファイルなどの規格の標準色空間を用いることや、どのような出力デバイスでもLUTがその色再現域の総てを含むことができるように標準色空間を定めるからである。   However, on the other hand, the standard color space that satisfies such conditions may be considerably wider than the color gamut that can be assumed to be actually input (hereinafter referred to as “input assumed color gamut”). Will cause problems. In this way, the standard color space tends to be wider than the assumed input color gamut because the standard color space of the standard such as the above-mentioned ICC profile is used and the LUT has a total color reproduction gamut for any output device. This is because the standard color space is determined so that it can be included.

ここで、入力想定色域は、次のようなものである。例えば、出力デバイスがインクジェットプリンタで、印刷される入力画像がデジタルカメラで撮影された写真画像である場合を考える。一般的に、普及型のデジタルカメラにおいては、入力センサーで取得した色信号を所定の処理によってsRGB色空間への圧縮を想定したYCrCbデータへ変換する。つまり、デジタルカメラから入力される色はsRGB色空間内の色となる。この場合、入力想定色域としてsRGB色空間が定められる。このようにLUT作成に際して、入力想定色域は、そのLUTを用いるシステムにおいて最も入力することが多いと想定される入力の色域が定められる。   Here, the assumed input color gamut is as follows. For example, consider a case where the output device is an inkjet printer and the input image to be printed is a photographic image taken with a digital camera. In general, in a popular digital camera, a color signal acquired by an input sensor is converted into YCrCb data assuming compression into an sRGB color space by a predetermined process. That is, the color input from the digital camera is a color in the sRGB color space. In this case, the sRGB color space is defined as the assumed input color gamut. As described above, when an LUT is created, an input color gamut that is assumed to be input most often in a system using the LUT is determined.

入力想定色域が上記のようにsRGB色空間で、標準色空間が、例えば、CIE−L色空間やAdobeRGB色空間である場合、標準色空間は入力想定色域であるsRGB色空間よりも広いものとなる。図3は、広い標準色空間の一例としてCIE−L色空間301と、プリンタの色域302および入力想定色域(sRGB色空間)303との関係を示す図である。 When the input assumed color gamut is the sRGB color space as described above and the standard color space is, for example, the CIE-L * a * b * color space or the AdobeRGB color space, the standard color space is sRGB which is the assumed input color gamut. It is wider than the color space. FIG. 3 is a diagram illustrating a relationship between a CIE-L * a * b * color space 301, a printer color gamut 302, and an assumed input color gamut (sRGB color space) 303 as an example of a wide standard color space.

同図において、出力デバイス用のプロファイルとしてのLUTで規定される標準色空間301を変換して出力デバイスの色域302にガマットマッピングする際、入力想定色域303以外の色である、例えば色Xも出力デバイスの色域に圧縮する必要がある。つまり、実際に入力される可能性の少ない色まで、出力デバイスでの色再現を保証した圧縮をしなければならない。そのため、出力デバイスの色域302内で、入力想定色域303の色を色再現する領域がそれだけ狭くなる。この場合、プリンタにおいて、写真印刷などを行う場合に、色つぶれが発生したり、彩度が落ちたりして見栄えの悪い印刷画像となることがある。   In this figure, when the standard color space 301 defined by the LUT as the profile for the output device is converted and gamut mapped to the color gamut 302 of the output device, it is a color other than the input assumed color gamut 303, for example, the color X Also need to be compressed into the color gamut of the output device. In other words, it is necessary to perform compression that guarantees color reproduction in the output device up to colors that are unlikely to be actually input. For this reason, the color reproduction region of the color of the assumed input color gamut 303 is narrowed within the color gamut 302 of the output device. In this case, when performing photographic printing or the like in the printer, color collapse may occur or saturation may be lowered, resulting in a poor-looking print image.

第2の問題は、標準色空間に対して出力デバイスの色域の大きさが用いる印刷媒体などによって異なることに起因した問題である。   The second problem is caused by the fact that the size of the color gamut of the output device differs from the standard color space depending on the print medium used.

一般に、出力デバイスの色域は、印刷媒体の種類や目的とする印刷品位ごとに大きさが異なる。出力デバイスがインクジェットプリンタである場合、写真専用紙に印刷する場合の色域は広く、普通紙に印刷する場合の色域は狭い。従って、出力デバイスの色域を包含するような標準色空間を用いた場合、写真専用紙による色域に階調を持たせてマッピングした場合と、それよりも狭い普通紙による色域にマッピングした場合とで色再現性が異なる。すなわち、写真専用紙の色域では、マッピングによる彩度や明度の低下は少なく、普通紙の色域にマッピングする場合は、彩度や明度がかなり低下する。その結果、印刷画像がくすんでしまったり、コントラストが低くなったりし、良好な色再現を実現することができない。   In general, the color gamut of the output device varies depending on the type of print medium and the intended print quality. When the output device is an inkjet printer, the color gamut when printing on photographic paper is wide, and the color gamut when printing on plain paper is narrow. Therefore, when a standard color space that covers the color gamut of the output device is used, the color gamut of photo-dedicated paper is mapped with gradation, and the color gamut of plain paper is narrower than that. Color reproducibility differs depending on the case. That is, in the color gamut of the photo paper, there is little decrease in saturation and lightness due to mapping, and when mapping to the color gamut of plain paper, the saturation and lightness are considerably reduced. As a result, the printed image becomes dull or the contrast becomes low, and good color reproduction cannot be realized.

本発明は、上記のような主に二つの課題を解決するためになされたものであり、その目的とするところは、出力デバイスの色域を有効に使い、また、入力想定色域の色を良好に色再現させ、かつそれ以外の色に対しても色再現を保証することができる画像処理装置、画像処理方法およびテーブル作成方法を提供することにある。   The present invention has been made in order to solve the above two main problems, and the object of the present invention is to use the color gamut of the output device effectively and to change the color of the input assumed color gamut. An object of the present invention is to provide an image processing apparatus, an image processing method, and a table creation method capable of achieving good color reproduction and ensuring color reproduction for other colors.

そのために本発明では、第一の色再現範囲の色を第二の色再現範囲の色に色変換する処理を行う画像処理装置であって、前記第一の色再現範囲内において、入力されると想定される色の第三の色再現範囲を規定する手段と、前記第二の色再現範囲内において、前記第三の色再現範囲の色を圧縮する先となる色再現範囲であって、前記第二の色再現範囲より小さい第四の色再現範囲を規定する手段と、前記第一の色再現範囲の色を前記第二の色再現範囲に色変換する際に、前記第三の色再現範囲の色を前記第四の色再現範囲の色に圧縮する圧縮手段と、を有したことを特徴とする。   Therefore, in the present invention, an image processing apparatus that performs a process of converting a color in the first color reproduction range to a color in the second color reproduction range, and is input within the first color reproduction range. Means for defining a third color reproduction range of the assumed color, and within the second color reproduction range, a color reproduction range to which the color of the third color reproduction range is compressed, Means for defining a fourth color reproduction range that is smaller than the second color reproduction range; and when the color of the first color reproduction range is converted into the second color reproduction range, the third color Compression means for compressing a color in the reproduction range to a color in the fourth color reproduction range.

また、第一の色再現範囲の色を第二の色再現範囲の色に色変換する処理を行うための画像処理方法であって、前記第一の色再現範囲内において、入力されると想定される色の第三の色再現範囲を規定する工程と、前記第二の色再現範囲内において、前記第三の色再現範囲の色を圧縮する先となる色再現範囲であって、前記第二の色再現範囲より小さい第四の色再現範囲を規定する工程と、前記第一の色再現範囲の色を前記第二の色再現範囲に色変換する際に、前記第三の色再現範囲の色を前記第四の色再現範囲の色に圧縮する圧縮工程と、を有したことを特徴とする。   An image processing method for performing a process of converting a color in the first color reproduction range to a color in the second color reproduction range, and is assumed to be input within the first color reproduction range A step of defining a third color reproduction range of the generated color, and a color reproduction range to which the color of the third color reproduction range is compressed within the second color reproduction range, A step of defining a fourth color reproduction range smaller than the second color reproduction range, and the third color reproduction range when the color of the first color reproduction range is converted into the second color reproduction range. A compression step of compressing the first color into a color in the fourth color reproduction range.

さらに、第一の色再現範囲の色を第二の色再現範囲の色に色変換する処理に用いられるテーブルの作成方法であって、前記第一の色再現範囲内において、入力されると想定される色の第三の色再現範囲を規定する工程と、前記第二の色再現範囲内において、前記第三の色再現範囲の色を圧縮する先となる色再現範囲であって、前記第二の色再現範囲より小さい第四の色再現範囲を規定する工程と、前記第一の色再現範囲の色を前記第二の色再現範囲に色変換する際に、前記第三の色再現範囲の色を前記第四の色再現範囲の色に圧縮するようにそれぞれの格子点の格子点データを定める工程と、を有したことを特徴とする。   Furthermore, it is a method for creating a table used for the process of converting the color in the first color reproduction range to the color in the second color reproduction range, and is assumed to be input within the first color reproduction range. A step of defining a third color reproduction range of the generated color, and a color reproduction range to which the color of the third color reproduction range is compressed within the second color reproduction range, A step of defining a fourth color reproduction range smaller than the second color reproduction range, and the third color reproduction range when the color of the first color reproduction range is converted into the second color reproduction range. Determining the grid point data of each grid point so as to compress the color of the color into the color of the fourth color reproduction range.

以上の構成によれば、入力されると想定される色の第三の色再現範囲を規定し、その範囲の色が、例えば出力デバイスが持つ第二の色再現範囲内のそれより小さな第四の色再現範囲の色に圧縮されるので、入力するほとんどの色信号は、例えば、階調性や測色的一致の条件を保って圧縮することができる。また、上記第三の色再現範囲外の色が入力した場合でも、上記第二の色再現範囲内で上記第三の色再現範囲外の範囲に圧縮することが可能となる。   According to the above configuration, the third color reproduction range of the color assumed to be input is defined, and the color in the range is, for example, the fourth smaller than that within the second color reproduction range of the output device. Therefore, almost all input color signals can be compressed while maintaining the conditions of gradation and colorimetric coincidence, for example. Even when a color outside the third color reproduction range is input, it is possible to compress within the second color reproduction range to a range outside the third color reproduction range.

この結果、出力デバイスの色域を有効に使い、また、入力想定色域の色を良好に色再現させ、かつそれ以外の色に対しても色再現を保証することが可能となる。   As a result, the color gamut of the output device can be used effectively, the color of the assumed color gamut can be reproduced well, and color reproduction can be guaranteed for other colors.

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

図4は、本発明の一実施形態に係る画像処理システムの概略構成を示すブロック図である。図において、画像入力装置401は、例えばデジタルカメラやイメージスキャナなどである。画像処理装置402は、画像入力部403で入力した画像データを画像処理部404において、以下の各実施形態で説明するLUTを用いたガマットマッピングなどの所定の画像処理を施し、画像出力部405で最終的に得られる印刷データを画像出力装置406に出力する。この画像処理装置402はパーソナルコンピュータ(PC)とすることができる。なお、この形態に限られず、プリンタなどの印刷装置でこの画像処理装置の一部または全部を実行してもよいことはもちろんである。例えば、デジタルカメラで撮影した画像を直接プリンタに入力して印刷出力をする形態では、そのプリンタに画像処理装置が構成される。画像出力装置406は、プリンタなどの印刷装置やモニターとすることができる。   FIG. 4 is a block diagram showing a schematic configuration of an image processing system according to an embodiment of the present invention. In the figure, an image input device 401 is, for example, a digital camera or an image scanner. The image processing apparatus 402 performs predetermined image processing such as gamut mapping using an LUT described in the following embodiments in the image processing unit 404 on the image data input by the image input unit 403, and the image output unit 405 The finally obtained print data is output to the image output device 406. The image processing apparatus 402 can be a personal computer (PC). Of course, the present invention is not limited to this mode, and a part or all of the image processing apparatus may be executed by a printing apparatus such as a printer. For example, in an embodiment in which an image captured by a digital camera is directly input to a printer and printed out, an image processing apparatus is configured in the printer. The image output device 406 can be a printing device such as a printer or a monitor.

また、後述の各実施形態で説明するLUTの作成は、上記画像処理装置としてのPCにおいて実施することができ、また、その作成されたLUTは画像処理装置としてのPCまたはプリンタなどの所定のメモリに格納して用いることができる。   The LUT creation described in each embodiment described later can be performed on a PC as the image processing apparatus, and the created LUT is stored in a predetermined memory such as a PC or a printer as the image processing apparatus. Can be stored and used.

図5は、図4に示した画像処理装置402においてなされる処理の概略を示すフローチャートである。まず、ステップ501で画像を入力し、ステップ502でその入力画像に入力色空間変換処理を施す。入力色空間変換処理は、入力デバイスの色空間における色信号を標準色空間の色信号に変換する処理である。次に、ステップ503で、画像の見栄えを良くするために、入力画像の彩度や明るさを上げたり、色味を補正したりといった色加工・補正処理を行う。さらに、ステップ504で、標準色空間の色信号を出力デバイスの色域の色信号に変換する、ガマットマッピングを行う。ガマットマッピング後の色をもとに、デバイス固有の色を得る。最後に、ステップ505の色分解、量子化処理などの処理を経て、ステップ506で出力される。   FIG. 5 is a flowchart showing an outline of processing performed in the image processing apparatus 402 shown in FIG. First, in step 501, an image is input, and in step 502, the input image is subjected to input color space conversion processing. The input color space conversion process is a process of converting a color signal in the color space of the input device into a color signal in the standard color space. Next, in step 503, in order to improve the appearance of the image, color processing / correction processing such as increasing the saturation or brightness of the input image or correcting the color is performed. In step 504, gamut mapping is performed to convert the color signal in the standard color space into the color signal in the color gamut of the output device. A device-specific color is obtained based on the color after gamut mapping. Finally, after the color separation and quantization processing in step 505, the data is output in step 506.

以下で示す各実施形態では、上記ステップS504のガマットマッピングで用いるLUTもしくはその作成方法を説明する。なお、それらの実施形態では、画像出力装置としてインクジェットプリンタを用いたシステムについて説明する。また、それぞれの実施形態の説明で用いる色空間は、総てCIE−L表色系で扱われるものとする。なお、特にCIE−L表色系に限定されるものでなく、L色空間等、それに類似する色空間であれば実現することできることは言うまでもない。
(実施形態1)
本発明の第1の実施形態は、入力想定色域内にある色とそれより外にある色とで、プリンタ色域への圧縮の仕方を変えるガマットマッピングのLUTに関するものである。
In each embodiment described below, an LUT used in the gamut mapping in step S504 or a method for creating the LUT will be described. In these embodiments, a system using an inkjet printer as an image output apparatus will be described. In addition, all the color spaces used in the description of each embodiment are handled in the CIE-L * a * b * color system. Needless to say, the present invention is not limited to the CIE-L * a * b * color system, and can be realized if the color space is similar to the L * u * v * color space.
(Embodiment 1)
The first embodiment of the present invention relates to a gamut mapping LUT that changes the method of compression into the printer color gamut, depending on the colors that are within the input expected color gamut and the colors that are outside of the color.

図6は、このLUT作成の処理を示すフローチャートである。また、図7は、このLUTで規定される標準色空間1201、入力想定色域1202、インクジェットプリンタの色域1203などを模式的に示す図である。   FIG. 6 is a flowchart showing this LUT creation processing. FIG. 7 is a diagram schematically showing a standard color space 1201, an assumed input color gamut 1202, a color gamut 1203 of an inkjet printer, and the like defined by this LUT.

本実施形態の標準色空間は、上述したように、出力デバイスの色域を包含していることが望ましいことから、AdobeRGB色空間よりも広い色域を有する色空間(以降、WideGamutRGB色空間と称する)を用いる。また、入力想定色域は、本実施形態のインクジェットプリンタの場合、その主な用途として、デジタルカメラで撮影された画像を印刷することやドキュメントを印刷することが挙げられる。そのため、入力される画像の色域はsRGB色空間に収まることが多い。従って、本実施形態では入力想定色域はsRGB色空間とする。   Since the standard color space of the present embodiment desirably includes the color gamut of the output device as described above, a color space having a wider color gamut than the AdobeRGB color space (hereinafter referred to as a WideGamutRGB color space). ) Is used. In the case of the ink jet printer of the present embodiment, the assumed input color gamut includes printing an image photographed by a digital camera and printing a document as main applications. Therefore, the color gamut of the input image often falls within the sRGB color space. Therefore, in this embodiment, the assumed input color gamut is the sRGB color space.

図6において、最初に、ステップS601で上述の標準色空間を設定する。具体的には、LUTの各格子点を規定する、例えばRGB値の組み合わせの色がL色空間で表される標準色空間内に存在するように、それぞれの格子点を設定する。
次に、ステップS602で入力想定色域1202、プリンタ色域1203および以下で説明する優先色域1204を設定する。すなわち、L色空間で表される入力想定色域、プリンタ色域および優先色域について、それらに対応するRGB値の組み合わせのデータを設定する。 図7に示すように、圧縮は、圧縮先として規定される明度軸上の点(色)Oと圧縮対象の格子点の色Xとを結ぶ直線に沿った方向に行われる。この直線において、直線OPの範囲が入力想定色域1202の範囲であり、それより外の直線PTの範囲が入力想定色域外となる。
In FIG. 6, first, the standard color space described above is set in step S601. Specifically, each grid point that defines each grid point of the LUT is set so that, for example, a combination color of RGB values exists in a standard color space represented by an L * a * b * color space. To do.
In step S602, an assumed input color gamut 1202, a printer color gamut 1203, and a priority color gamut 1204 described below are set. That is, for the assumed input color gamut, printer color gamut, and priority color gamut represented by the L * a * b * color space, data of combinations of RGB values corresponding to them is set. As shown in FIG. 7, the compression is performed in a direction along a straight line connecting a point (color) O on the lightness axis defined as a compression destination and the color X of the lattice point to be compressed. In this straight line, the range of the straight line OP is the range of the assumed input color gamut 1202, and the range of the straight line PT outside the range is outside the assumed input color gamut.

ステップS602の設定では、最初に、点Oから点Xまでの距離OX、点Oから標準色空間1201の最外殻との交点Tまでの距離とOT、点Oから入力想定色域の最外殻の交点Pまでの距離OP、さらにインクジェットプリンタの色域の最外殻の点Dまでの距離ODを算出する。次に、入力想定色域を圧縮する色域(優先色域と称する)を設定する。   In the setting of step S602, first, the distance OX from the point O to the point X, the distance from the point O to the intersection T with the outermost shell of the standard color space 1201, the OT, and the outermost point of the input assumed color gamut from the point O A distance OP to the intersection point P of the shells and a distance OD to the point D of the outermost shell in the color gamut of the inkjet printer are calculated. Next, a color gamut (referred to as a priority color gamut) for compressing the assumed input color gamut is set.

この優先色域1204は、プリンタの色域1203内に収まる必要があるため、距離OD以下とする。他方で、入力想定色域外の色も同様にプリンタの色域1203内に収まるようにする。このため、本実施形態では、距離ODの8割の領域を優先色域1204とする。そして、点Oから優先色域1204の最外郭との交点Pfまでの距離をOPfとする。   Since this priority color gamut 1204 needs to be within the printer color gamut 1203, it is set to be equal to or less than the distance OD. On the other hand, colors outside the assumed input color gamut are also set within the color gamut 1203 of the printer. For this reason, in this embodiment, 80% of the distance OD is set as the priority color gamut 1204. A distance from the point O to the intersection Pf with the outermost contour of the priority color gamut 1204 is defined as OPf.

ステップS603では、ステップS602で設定したそれぞれの色域データに基づいて、ガマットマッピングの対象である格子点Xが上記で設定された入力想定色域内にあるか否かを判断する。そして、以下では、圧縮対象点Xが入力想定色域内か、それより外にあるかに応じて圧縮の仕方を異ならせる。   In step S603, based on the respective color gamut data set in step S602, it is determined whether or not the grid point X to be gamut mapped is within the input assumed color gamut set above. In the following, the compression method is varied depending on whether the compression target point X is within or outside the assumed input color gamut.

求めるべき圧縮先の点をX’とするとき、点Xが入力想定色域内と判定された場合、ステップS604で、点Xを、優先色域1204内の距離OX’の点X’に圧縮する。そして、この距離OX’は、以下の圧縮関数(1.1)から算出する。すなわち、同式および図8から明らかなように、この圧縮では均等な階調を保った圧縮が行われる。このように点Xに対する点X´を求めることにより、LUTの作成において、格子点Xの格子点データを点X´を表すRGB値の組合せとする。   When the compression destination point to be obtained is X ′, when it is determined that the point X falls within the assumed input color gamut, the point X is compressed to the point X ′ of the distance OX ′ within the priority color gamut 1204 in step S604. . The distance OX ′ is calculated from the following compression function (1.1). That is, as is apparent from the equation and FIG. 8, this compression is performed while maintaining uniform gradation. By obtaining the point X ′ for the point X in this way, the grid point data of the grid point X is used as a combination of RGB values representing the point X ′ in the creation of the LUT.

Figure 2007049642
Figure 2007049642

一方、点Xが入力想定色域外と判断されたときは、距離OX’は以下の圧縮関数(1.2)から算出され、優先色域1204の境界Pfとプリンタ色域1203の最外殻Dとの間の点X´に圧縮する。同式および図8から明らかなように、入力想定色域内の色よりもより狭い領域に圧縮される。このように点Xに対する点X´を求めることにより、同様に、LUTの作成において、格子点Xの格子点データを点X´を表すRGB値の組合せとする。ここで、PXは入力想定色域の境界と格子点Xまでの距離、また、PfDは優先色域とインクジェットプリンタの色域の外殻までの距離、PTは優先色域の境界と標準色空間の最外殻までの距離を示す。   On the other hand, when it is determined that the point X is outside the assumed input color gamut, the distance OX ′ is calculated from the following compression function (1.2), and the boundary Pf of the priority color gamut 1204 and the outermost shell D of the printer color gamut 1203. To a point X ′ between As is apparent from the equation and FIG. 8, the image is compressed into a narrower region than the color within the assumed input color gamut. By obtaining the point X ′ for the point X in this manner, similarly, in the creation of the LUT, the lattice point data of the lattice point X is used as a combination of RGB values representing the point X ′. Here, PX is the distance between the boundary of the assumed color gamut and the grid point X, PfD is the distance between the priority color gamut and the outer shell of the color gamut of the inkjet printer, and PT is the boundary between the priority color gamut and the standard color space. Indicates the distance to the outermost shell.

Figure 2007049642
Figure 2007049642

以上のようにして、標準色空間の全格子点をプリンタ色域にガマット圧縮をすることができる。このように、圧縮をする際に圧縮される色が入力想定色域の中にあるか外にあるかに応じて、プリンタ色域における圧縮後の色が決められるので、入力想定色域内の色はその圧縮後の色の領域、つまり優先色域を比較的大きくとることにより、色のつぶれなどを生じない良好な圧縮を行うことができる。また、入力想定色域外の色はその圧縮後の色の領域がプリンタ色域内に確保され、入力想定色域外の色についてもプリンタにおいて(色つぶれなく)再現することができる。   As described above, all grid points in the standard color space can be gamut-compressed into the printer color gamut. In this way, the compressed color in the printer color gamut is determined depending on whether the color to be compressed when being compressed is within or outside the assumed input color gamut. By making the compressed color area, that is, the priority color gamut relatively large, it is possible to perform good compression without causing color collapse or the like. In addition, for colors outside the assumed input color gamut, the compressed color area is secured in the printer color gamut, and colors outside the assumed input color gamut can be reproduced (without color collapse) in the printer.

(実施形態2)
上記の第1実施形態に示した、標準色空間を出力デバイスの色域に均等な階調性を保って圧縮する方法は、階調再現性は良いものの、全ての色に対して測色的な色の差異が生じるため、出力デバイスごとに違う色再現になってしまうデメリットがある。一方、測色的一致(Colorimetric)を実現するガマット圧縮方法が知られているが、この手法を用いた場合、プリンタ色域外の色は全て色がつぶれてしまい、良好な色再現とは言えない場合がある。
(Embodiment 2)
Although the method for compressing the standard color space while maintaining the uniform gradation in the color gamut of the output device shown in the first embodiment has good gradation reproducibility, it is colorimetric for all colors. There is a demerit that a different color reproduction is produced for each output device. On the other hand, a gamut compression method that realizes colorimetric matching is known. However, when this method is used, all colors outside the printer gamut are crushed and cannot be said to have good color reproduction. There is a case.

そこで、本発明の第二の実施形態では、出力デバイスの中に測色的に近似した色再現をさせる色域(以下、測色的一致色域と称する)を設け、標準色空間の色のうち、測色的一致色域内の色はそのまま測色的に近似するように色再現し、測色的一致色域外の色は、測色的一致色域の外殻より外側の出力デバイス(本実施形態では、プリンタの色域)に圧縮する。これにより、種類の異なる出力デバイスにおいて、測色的一致色域内の色は測色的に近似した色に、測色的一致色域外の色はすべて階調がつぶれるのではなく、色再現を確保した圧縮をすることができる。   Therefore, in the second embodiment of the present invention, a color gamut (hereinafter referred to as a colorimetric coincidence color gamut) that reproduces a colorimetric approximation in the output device is provided, and the color of the standard color space is set. Of these, the colors within the colorimetric color gamut are reproduced so that they are approximated colorimetrically. Colors outside the colorimetric color gamut are output devices outside the outer shell of the colorimetric color gamut. In the embodiment, the image is compressed into the printer color gamut. As a result, in different types of output devices, the colors within the colorimetric matching color gamut are colorimetrically approximated, and all colors outside the colorimetric matching color gamut are not crushed, ensuring color reproduction. Can be compressed.

図9は、本実施形態のLUT作成の処理を示すフローチャートである。また、図10は、このLUTで規定される標準色空間1401、入力想定色域1402、インクジェットプリンタの色域1403、さらに以下で説明する測色的一致色域1404などを模式的に示す図である。図10において、圧縮先の点Oから圧縮対象の格子点Xを結ぶ直線上の、測色的一致色域の境界の点をFとし、その距離をOFとする。その他の点は、上述の第一の実施形態に係る図7に示したものと同様である。   FIG. 9 is a flowchart showing the LUT creation processing of this embodiment. FIG. 10 is a diagram schematically showing a standard color space 1401 defined by the LUT, an assumed input color gamut 1402, a color gamut 1403 of an inkjet printer, and a colorimetric color gamut 1404 described below. is there. In FIG. 10, the boundary point of the colorimetric matching color gamut on the straight line connecting the compression target point O and the lattice point X to be compressed is F, and the distance is OF. Other points are the same as those shown in FIG. 7 according to the first embodiment described above.

本実施形態では、測色的一致色域1404はプリンタの色域1403と相似な形状で体積が6割の領域とする。ここで、測色的一致色域はプリンタの色域と相似な形状としたが、必ずしも相似な形状である必要はない。   In this embodiment, the colorimetric color gamut 1404 has a shape similar to the printer color gamut 1403 and a volume of 60%. Here, the colorimetric color gamut is similar to the color gamut of the printer, but is not necessarily similar.

図9において、ステップS901で標準色空間1401を設定し、また、ステップS902で、入力想定色域1405、プリンタ色域1403および測色的一致色域1404を設定する。具体的な設定の仕方は上述した第一の実施形態と同様である。   In FIG. 9, a standard color space 1401 is set in step S901, and an assumed input color gamut 1405, a printer color gamut 1403, and a colorimetric matching color gamut 1404 are set in step S902. The specific setting method is the same as that of the first embodiment described above.

ステップS903では、以上のように設定した各色域に対して、圧縮対象の格子点Xがどの色域に属するかを判断する。具体的には、圧縮対象格子点Xが、
(i)測色的一致色域内
(ii)測色的一致色域外で、かつ入力想定色域内
(iii)入力想定色域外で、かつ標準色空間内
のいずれの色域に存在するかを判断する。
In step S903, it is determined to which color gamut the grid point X to be compressed belongs for each color gamut set as described above. Specifically, the compression target grid point X is
(I) Within the colorimetric color gamut (ii) Outside the colorimetric color gamut and within the assumed input color gamut (iii) Which color gamut is outside the assumed color gamut and within the standard color space To do.

点Xが色域(i)に位置すると判断したときは、ステップS904で、以下の圧縮関数(2.1)に従い圧縮する。すなわち、入力された色を忠実に色再現するマッピングを行う。   When it is determined that the point X is located in the color gamut (i), the compression is performed according to the following compression function (2.1) in step S904. That is, mapping is performed to faithfully reproduce the input color.

Figure 2007049642
Figure 2007049642

また、点Xが色域(ii)にあると判断したときは、ステップS905で、以下の圧縮関数(2.2)に従い圧縮をし、また、色域(iii)にあると判断したときは、ステップS906で、以下の圧縮関数(2.3)に従い圧縮を行う。   When it is determined that the point X is in the color gamut (ii), in step S905, compression is performed according to the following compression function (2.2), and when it is determined that it is in the color gamut (iii). In step S906, compression is performed according to the following compression function (2.3).

Figure 2007049642
Figure 2007049642

以上のように圧縮先の点X´が定まると、そのRGB値を格子点Xの格子点データとして格納する。   When the compression destination point X ′ is determined as described above, the RGB value is stored as lattice point data of the lattice point X.

図11は、上記圧縮関数(2.1)、(2.2)および(2.3)を示す図である。同図からも明らかなように、標準色空間の色のうち、色域(i)の色はそのまま色のとして忠実に再現し、色域(ii)にある色は、測色的一致色域1404より外で、かつ優先色域1405内の色として色再現を行う。さらに、色域(iii)にある色は、優先色域1405より外で、プリンタ色域1403内の色に圧縮する。   FIG. 11 is a diagram illustrating the compression functions (2.1), (2.2), and (2.3). As is clear from the figure, among the colors in the standard color space, the color in the color gamut (i) is faithfully reproduced as the color as it is, and the color in the color gamut (ii) is the colorimetric color gamut. Color reproduction is performed as a color outside 1404 and in the priority color gamut 1405. Furthermore, the color in the color gamut (iii) is compressed outside the priority color gamut 1405 to a color in the printer color gamut 1403.

このように本実施形態では、特に測色的一致色域を規定することにより、この色域にある色の測色的に一致した圧縮を実現するとともに、この圧縮によって他の色域にある色が圧縮に起因して色つぶれがないようにすることができる。   As described above, in this embodiment, by defining a colorimetric coincidence color gamut in particular, the colorimetrically consistent compression of the colors in this color gamut is realized, and the colors in the other color gamuts are realized by this compression. Can be prevented from being crushed due to compression.

なお、以上説明した各実施形態では、圧縮関数を一次元の直線を使った関数としたが、それに限定されるものではなく、二次関数や指数関数などを用いることも可能である。また、上記の各実施形態では、一点の圧縮先に向かって圧縮を行う方法について説明したが、特にそのガマット圧縮方法に限定されるものではない。例えば、明度を維持して無彩色軸に向かう圧縮を行う圧縮方法や、詳細が後述されるような彩度反転が起こらない圧縮を実施することもできる。   In each of the embodiments described above, the compression function is a function using a one-dimensional straight line. However, the present invention is not limited to this, and a quadratic function, an exponential function, or the like can also be used. In each of the above embodiments, the method of performing compression toward a single compression destination has been described. However, the method is not particularly limited to the gamut compression method. For example, a compression method that performs compression toward the achromatic color axis while maintaining lightness, or compression that does not cause saturation inversion as will be described in detail later can be performed.

(実施形態3)
本発明の第三の実施形態は、出力デバイスの色域の形状や大きさがその出力デバイスで用いる印刷媒体などに応じて異なることに係わる問題を解決するガマットマッピングのLUT構成に関するものである。
(Embodiment 3)
The third embodiment of the present invention relates to an LUT configuration for gamut mapping that solves the problem related to the difference in the shape and size of the color gamut of an output device depending on the print medium used in the output device.

一般に、印刷媒体としての普通紙を用いたときの色域は、写真専用紙を用いたときの色域よりも狭く、体積も小さい。図12に示す色域1602および色域1603は、それぞれ普通紙および写真専用紙に印刷する場合のインクジェットプリンタの色域を示している。また、本実施形態では、写真専用紙と普通紙の両方を包含することのできる標準色空間として、上述した各実施形態と同様、WideGamutRGB色空間1601を用いる。例えば、点1604のような標準色空間の点を、圧縮先の点Oに向かい、写真専用紙の色域に階調を維持する手法で圧縮を行うと、点1605の位置に圧縮される。また、点1604を普通紙の色域に圧縮すると、点1606の位置に圧縮される。つまり、普通紙の色域に圧縮をすると、写真専用紙の色域に圧縮する場合よりも、彩度、明度ともに低下してしまう。   In general, the color gamut when using plain paper as a printing medium is narrower and the volume is smaller than the color gamut when using dedicated photo paper. A color gamut 1602 and a color gamut 1603 shown in FIG. 12 indicate the color gamut of the ink jet printer when printing is performed on plain paper and photo paper, respectively. In this embodiment, the WideGamutRGB color space 1601 is used as a standard color space that can include both photo-dedicated paper and plain paper, as in the above-described embodiments. For example, when a point in the standard color space such as the point 1604 is directed to the point O of the compression destination and the gradation is maintained in the color gamut of the photo-dedicated paper, the point 1605 is compressed. When the point 1604 is compressed into the plain paper color gamut, the point 1604 is compressed to the position of the point 1606. That is, when the compression is performed in the color gamut of plain paper, both saturation and lightness are reduced as compared with the case of compression in the color gamut of the dedicated photo paper.

そこで、プリンタ色域に応じて入力想定色域を規定する。例えば、普通紙のように狭い色域の場合は、入力想定色域をsRGB色空間のような狭い色域とし、sRGB色空間内の色の色再現を重視したLUTとする。   Therefore, an assumed input color gamut is defined according to the printer color gamut. For example, in the case of a narrow color gamut such as plain paper, the assumed input color gamut is a narrow color gamut such as an sRGB color space, and an LUT that places importance on color reproduction of colors in the sRGB color space.

図13は、本実施形態に係る標準色空間1701、入力想定色域1702、普通紙によるプリンタ色域1703などを示す図である。同図に示すように、普通紙によるプリンタ色域1703内に、その色域と相似な形状で体積が9割の領域をとり、これを優先色域1704とする。   FIG. 13 is a diagram showing a standard color space 1701, an assumed input color gamut 1702, a printer color gamut 1703 using plain paper, and the like according to this embodiment. As shown in the figure, a printer color gamut 1703 made of plain paper has an area with a shape similar to that gamut and a volume of 90%, and this is designated as a priority color gamut 1704.

これらの色域に対し、標準色空間の色1705は、例えば、この点を従来の階調を維持する手法で圧縮すると、点1707の位置に圧縮される。これに対し、本実施形態では、点1705が入力想定色域1702内の色であるため、優先色域1704内の点1706の位置に圧縮される。すなわち、本実施形態によれば、ガマット圧縮による彩度、明度の低下を防ぎ、良好な色再現を実現することができる。   For these color gamuts, the color 1705 in the standard color space is compressed to the position of the point 1707 when, for example, this point is compressed by a conventional method of maintaining gradation. On the other hand, in this embodiment, since the point 1705 is a color within the assumed input color gamut 1702, the point 1705 is compressed to the position of the point 1706 within the priority color gamut 1704. That is, according to the present embodiment, it is possible to prevent a decrease in saturation and lightness due to gamut compression and to realize good color reproduction.

また、写真専用紙のように広い色域を持つものは、例えば、AdobeRGB色空間のようなsRGB色空間よりも広い色空間を入力想定色域にすることができる。   In addition, a paper having a wide color gamut, such as photo-dedicated paper, can have a color space wider than an sRGB color space such as an AdobeRGB color space as an assumed input color gamut.

さらに、プリンタ色域の大きさに応じて優先領域の大きさを決定しても良い。例えば、上記の普通紙と写真専用紙の色域において、入力想定色域をAdobeRGB色空間のような広い色空間とした場合について説明する。例えば、普通紙のように狭い色域において優先領域を狭くとってしまった場合、入力される機会の多い入力想定色域の色が彩度の低い、くすんだ色みで再現される。そのため、優先領域を比較的大きく取ることが効果的である。逆に、写真専用紙の色域は広いため、入力想定色域外の色の階調性を保つ目的で、優先領域を狭くとってもよい。普通紙に比べて、彩度の低下は低いからである。このように、プリンタ色域の大きさと入力想定色域の関係を考慮して、各色域の大きさを決定することが有効である。   Furthermore, the size of the priority area may be determined according to the size of the printer color gamut. For example, a case will be described in which the assumed input color gamut is a wide color space such as the AdobeRGB color space in the color gamut of the plain paper and the photo paper. For example, when the priority area is narrowed in a narrow color gamut such as plain paper, the color of the assumed input color gamut that is frequently input is reproduced with a dull color with low saturation. Therefore, it is effective to make the priority area relatively large. On the contrary, since the color gamut of the photo-dedicated paper is wide, the priority area may be narrowed for the purpose of maintaining the gradation of colors outside the assumed input color gamut. This is because the decrease in saturation is lower than that of plain paper. As described above, it is effective to determine the size of each color gamut in consideration of the relationship between the size of the printer color gamut and the assumed input color gamut.

(実施形態4)
上記の各実施形態では、優先色域を圧縮先の点から出力デバイスの色域までの距離の均等割合とした。優先色域の定め方はこれに限られない。入力想定色域の特性を考慮し、圧縮対象の標準色空間の点ごとに距離の割合を変えても良い。例えば、入力想定色域をsRGB色空間としたときに、グリーンの高彩度部があまり入力されないとすると、このグリーン領域の圧縮先の点Oと優先色域の境界までの距離OPfを長く設定し、入力想定色域外の色を圧縮する領域を狭くする。それにより、実質的に入力される機会の多い、彩度の低いグリーンの色を再現する色域が広くなり、良好な階調再現をする上で効果的である。
(Embodiment 4)
In each of the above-described embodiments, the priority color gamut is an equal ratio of the distance from the compression destination point to the color gamut of the output device. The method for determining the priority color gamut is not limited to this. In consideration of the characteristics of the assumed color gamut, the distance ratio may be changed for each point in the standard color space to be compressed. For example, when the input assumed color gamut is the sRGB color space, if the high chroma portion of the green is not input so much, the distance OPf between the compression destination point O of the green area and the boundary of the priority color gamut is set long. Narrow the area to compress colors outside the expected color gamut. As a result, a color gamut that reproduces a green color with low saturation, which is substantially input frequently, is widened, which is effective in achieving good gradation reproduction.

また、写真再現では、人物の肌色が特に注目される箇所である。そのため、肌色の色相付近で、圧縮先の点Oと優先色域までの距離OPfを長く設定することも効果的である。それにより、広い範囲での肌色領域を優先色域にマッピングすることができるため、つぶれや極端な彩度、明度低下を防ぐことができる。   Moreover, in the reproduction of photographs, the skin color of a person is a particularly noticeable part. Therefore, it is also effective to set the distance OPf between the compression destination point O and the priority color gamut longer in the vicinity of the flesh-colored hue. Thereby, since the skin color area in a wide range can be mapped to the priority color gamut, it is possible to prevent crushing, extreme saturation, and a decrease in brightness.

また、上記各実施形態では、優先色域を圧縮先の点から出力デバイスの色域までの距離をもとに規定するものとしたが、それに限定されるものではない。例えば、出力デバイスの色域よりも小さい相似な形状の色域を設け、この領域を優先色域とし、圧縮先の点Oから圧縮対象の点を結ぶ直線と優先色域の最外殻が交わる点を探し、その点と点O間の距離をOPfとしてもよい。この優先色域を示す色域は出力デバイスの色域に相似な形状に限定されるものではなく、出力デバイスの色域内に収まっていれば、適宜、形状を変形することも可能である。このように、優先色域をひとつの色域とすると、容易に優先色域をイメージすることができ、優先色域の形状を変形しやすい利点がある。   In each of the above embodiments, the priority color gamut is defined based on the distance from the compression destination point to the color gamut of the output device, but the present invention is not limited to this. For example, a color gamut having a similar shape smaller than the color gamut of the output device is provided, and this region is set as the priority color gamut, and a straight line connecting the point to be compressed from the compression destination point O and the outermost shell of the priority color gamut intersect. A point may be searched and the distance between the point and the point O may be OPf. The color gamut indicating the priority color gamut is not limited to a shape similar to the color gamut of the output device, and the shape can be appropriately modified as long as it falls within the color gamut of the output device. Thus, if the priority color gamut is one color gamut, the priority color gamut can be easily imaged, and there is an advantage that the shape of the priority color gamut is easily deformed.

(実施形態5)
上記の各実施形態では、出力デバイスをインクジェットプリンタと想定し、入力想定色域の例をsRGB色空間として説明した。ここで、出力デバイスがデジタルカメラで撮影された画像を印刷するための用途にのみ用いられる場合などは、入力想定色域をデジタルカメラの性質に特化した色空間に設定することも効果的である。例えば、通常の撮影シーンではsRGB色空間の原色のグリーンといった高彩度部の色はあまり存在しないことから、sRGB色空間の高彩度部を削った形の色空間を入力想定色域とすると良い。以上のように、入力想定色域は既存の色空間に限定されるものではなく、入力されると想定される色空間として適応的に設定することができる。
(Embodiment 5)
In each of the above embodiments, the output device is assumed to be an ink jet printer, and an example of the assumed input color gamut has been described as the sRGB color space. Here, when the output device is used only for printing images taken with a digital camera, it is also effective to set the assumed input color gamut to a color space specialized for the characteristics of the digital camera. is there. For example, since there are not many high-saturation colors such as green, which is the primary color of the sRGB color space, in a normal shooting scene, a color space in which the high-saturation part of the sRGB color space is removed may be used as the assumed input color gamut. As described above, the assumed input color gamut is not limited to the existing color space, and can be adaptively set as a color space assumed to be input.

(他の実施形態)
上述したガマットマッピングにおける圧縮では、彩度変化の反転など階調変化の反転を生じる場合がある。すなわち、図14に示すように、標準色空間601では点P1から点P2にかけて彩度は減少するのに対し、これらの点が写像された、プリンタ色域602の点P1´から点P2´にかけて彩度は増加する。そこで、本発明のより好ましい実施形態では、上述のような再度反転を生じないように各色域の変形などを行い、その後に上述の各実施形態で説明したガマットマッピングのLUT作成を行う。
(Other embodiments)
The compression in the above-described gamut mapping may cause inversion of gradation change such as inversion of saturation change. That is, as shown in FIG. 14, in the standard color space 601, the saturation decreases from the point P1 to the point P2, whereas these points are mapped from the point P1 ′ to the point P2 ′ of the printer color gamut 602. Saturation increases. Therefore, in a more preferred embodiment of the present invention, the color gamut is deformed so as not to cause the inversion again as described above, and then the LUT creation of the gamut mapping described in each of the above embodiments is performed.

図15は、色相角方向の彩度変化の反転を説明する図である。図15に示すように、標準色空間701とプリンタ色域702との間で、それぞれのプライマリカラー(R(レッド)、G(グリーン)、B(ブルー)、C(シアン)、M(マゼンタ)、Y(イエロー))の色相は一般にずれている。いま、グリーン(G)の色相の色Gとその色相からCの色相方向へ色相角が変換した色Lに着目してそれぞれの明度軸方向への圧縮写像を考えると、点(色)Gは色域702の境界の点G´に写像され、点(色)Lは同じく境界のL´に写像される。この場合、図からわかるように、点Gから点Lにかけての色相角方向の彩度変化が減少するのに対し、点G´から点L´にかけての彩度変化が増している。このように、圧縮写像によって、色相角方向で彩度ないし彩度変化の反転を起こすことがある。   FIG. 15 is a diagram for explaining reversal of the saturation change in the hue angle direction. As shown in FIG. 15, the primary colors (R (red), G (green), B (blue), C (cyan), M (magenta)) between the standard color space 701 and the printer color gamut 702, respectively. , Y (yellow)) generally deviates. Now, considering the color G of the hue of green (G) and the color L whose hue angle is converted from the hue to the hue direction of C, and considering the compression mapping in the respective lightness axis directions, the point (color) G is The point (color) L is mapped to the boundary point G ′, and the point (color) L is mapped to the boundary L ′. In this case, as can be seen from the figure, the saturation change in the hue angle direction from the point G to the point L decreases, while the saturation change from the point G ′ to the point L ′ increases. Thus, the compression mapping may cause saturation or reversal of the saturation change in the hue angle direction.

このような問題に対し、第1の処理として、プリンタ色域の「削除」を行う。   For such a problem, as a first process, “deletion” of the printer color gamut is performed.

図16は、このプリンタ色域の削除を説明する図である。図16に示すように、プリンタ色域702の斜線で示す部分を削除する。この削除は、具体的には、図17に示すような、色相に対する彩度変換曲線を所定の明度ごとに規定し、これをプリンタ色域を表している格子点データに適用することによって行う。すなわち、図17に示すように、横軸は色域の色相角を示し、R、Y、G、C、B、Mはそれぞれモニター色域のプライマリカラーもしくはその色相を示す。また、縦軸は各色相角におけるプリンタ色域の最大彩度を示す。本実施形態は、これらの各プライマリカラーの最大彩度の点を白丸でプロットし直線で結んだものを彩度変換曲線として規定とする。そして、この彩度変換曲線を上記のようにそれぞれのグリッドデータに適用して、この曲線が示す彩度の値より大きい部分を減じて曲線が示す彩度の値とする処理行う。これにより、図17に示すように各プライマリカラーの最大彩度の点を結んだ線より高い彩度を有した色(たとえば、色相G−C間では斜線で示す部分)が削除されることになる。この処理は予め定めた所定の明度ごとに行う。これにより、標準色空間701が削除の分だけ彩度が小さくなる変形をし、色空間701上の点Lは点L´´に写像される。その結果、プリンタ色域702において点G´から点L´´にかけて、標準色空間701の点Gから点Lにかけてとほぼ同じ(階調変化が同傾向になる)ように色相角方向において彩度が減少し、圧縮写像による彩度変化の反転を生じないようにすることができる。   FIG. 16 is a diagram for explaining the deletion of the printer color gamut. As shown in FIG. 16, the hatched portion of the printer color gamut 702 is deleted. Specifically, this deletion is performed by defining a saturation conversion curve for a hue for each predetermined brightness as shown in FIG. 17 and applying it to grid point data representing a printer color gamut. That is, as shown in FIG. 17, the horizontal axis represents the hue angle of the color gamut, and R, Y, G, C, B, and M represent the primary color of the monitor color gamut or the hue thereof, respectively. The vertical axis represents the maximum saturation of the printer color gamut at each hue angle. In the present embodiment, the maximum saturation point of each primary color is plotted with a white circle and connected with a straight line as a saturation conversion curve. Then, the saturation conversion curve is applied to the respective grid data as described above, and the portion larger than the saturation value indicated by the curve is subtracted to obtain the saturation value indicated by the curve. As a result, as shown in FIG. 17, a color having a higher saturation than the line connecting the maximum saturation points of each primary color (for example, a portion indicated by hatching between hues GC) is deleted. Become. This process is performed for each predetermined brightness. As a result, the standard color space 701 is deformed so that the saturation is reduced by the amount of deletion, and the point L on the color space 701 is mapped to the point L ″. As a result, in the printer color gamut 702, the saturation in the hue angle direction is almost the same from the point G ′ to the point L ″ from the point G to the point L in the standard color space 701 (the gradation change tends to be the same). , And saturation inversion due to compression mapping does not occur.

なお、上記の例では、各プライマリカラーの色相における最大彩度の点を直線的に結んだ変換定義を示したが、例えば、スプライン曲線などを用いることによってより連続性の高い色域の「削除」を行うことができる。   In the above example, the conversion definition in which the maximum saturation points in the hues of the primary colors are linearly connected is shown. For example, by using a spline curve or the like, a “continuous” color gamut can be deleted. "It can be performed.

次に、本実施形態の第2の処理として、プリンタ色域を変形し、プリンタ色域の最大彩度の色(点)をモニターの色域の最大彩度の点の色相と同じ色相の色に移す処理を行う。   Next, as a second process of the present embodiment, the printer color gamut is deformed, and the color (point) of the maximum saturation of the printer color gamut is the same hue as the hue of the maximum saturation point of the monitor color gamut. Process to move to.

図14で説明したように、ある特定の1点に向かって色域圧縮を行うと彩度反転を生じることが多い。これに対して、上述した第1の処理によって、プリンタ色域の彩度が小さくなるような「削除」を行い、図14に示した彩度反転も同時に解消できる場合はある。しかし、本実施形態の第2の処理を行うことにより、上記彩度反転を確実に解消することができる。また、この第2の処理を行うことによって、第1の処理にかかる削除の量を少なくしてプリンタの色域が必要以上に小さくなることを防ぎ、これにより、ガマットマッピングによってプリンタの出力結果の見栄えが悪くなることを防止することもできる。このように、第1の処理に係る削除を、第2の処理にかかる変形との関係でどの程度行うかは、「削除」による見栄えの低下や色相方向の階調変化の違いを、出力される画像において総合的に判断して設定することができる。   As described with reference to FIG. 14, when color gamut compression is performed toward a specific point, saturation inversion often occurs. On the other hand, there is a case where “deletion” is performed so that the saturation of the printer color gamut is reduced by the first processing described above, and the saturation inversion shown in FIG. However, the saturation inversion can be reliably eliminated by performing the second processing of the present embodiment. Also, by performing this second process, the amount of deletion in the first process is reduced to prevent the printer's color gamut from becoming unnecessarily small. It can also prevent the appearance from deteriorating. As described above, how much the deletion related to the first processing is performed in relation to the deformation related to the second processing is output based on the difference in the deterioration of the appearance due to “deletion” and the change in the gradation in the hue direction. Image can be comprehensively determined and set.

図18は、この第2の処理にかかる色域変形を説明する図である。図18に示すように、破線で示すプリンタ色域1002の最大彩度点Sを、圧縮写像の収束点Tと標準色空間1001の最大彩度の点P1とを結ぶ直線上の点S´に移すような色域の変形を行う。すなわち、色域1002を実線で示すプリンタの色域1003に変形する。これにより、標準色空間1001のプリンタ色域内にない色を収束点Tに向かって圧縮写像するとき、標準色空間の最大彩度の色P1はプリンタの色域1003の最大彩度の色S´に写像される。この結果、標準色空間1001の点P1から点P2にかけて彩度が減少するとき、これらが写像された色域1003上の点S´からP2´にかけて同じように彩度が減少して彩度の反転を生じない。   FIG. 18 is a diagram for explaining color gamut deformation according to the second processing. As shown in FIG. 18, the maximum saturation point S of the printer color gamut 1002 indicated by the broken line is changed to a point S ′ on a straight line connecting the convergence point T of the compression map and the maximum saturation point P1 of the standard color space 1001. The color gamut is changed. That is, the color gamut 1002 is transformed into a printer color gamut 1003 indicated by a solid line. As a result, when a color that is not within the printer color gamut of the standard color space 1001 is compressed and mapped toward the convergence point T, the maximum saturation color P1 in the standard color space is the maximum saturation color S ′ in the printer color gamut 1003. Is mapped. As a result, when the saturation decreases from the point P1 to the point P2 in the standard color space 1001, the saturation decreases in the same manner from the point S ′ to P2 ′ on the color gamut 1003 to which these are mapped. Does not cause inversion.

図19は、以上説明した本実施形態の色域変形を示す図である。図19に示すように、本実施形態では、単純にそれぞれの色の明度を上げる変形を行う。すなわち、プリンタ色域1002の最大彩度点Sの明度Lsまでの範囲の色は、明度Lsが、上記のように定める変形後の色域1003の最大彩度点S´の明度Ls´に変換されるような比較的大きな割合の線形変換を行う。また、明度Lsより高い明度の色はそれより小さい割合の線形変換を行う。この図19に示す変換は、プリンタ色域1002の境界だけでなくその内部の色に対しても行われることはもちろんである。   FIG. 19 is a diagram showing the color gamut modification of the present embodiment described above. As shown in FIG. 19, in this embodiment, a modification that simply increases the brightness of each color is performed. That is, the color in the range up to the lightness Ls of the maximum saturation point S of the printer color gamut 1002 is converted into the lightness Ls ′ of the maximum saturation point S ′ of the transformed color gamut 1003 as defined above. A relatively large proportion of linear transformation is performed. Further, a color having a lightness higher than the lightness Ls is subjected to linear conversion at a smaller ratio. Of course, the conversion shown in FIG. 19 is performed not only on the boundary of the printer color gamut 1002 but also on the internal color.

(さらに他の実施の形態)
本発明は上述した実施形態の機能を実現するように各種のデバイスを動作させるように該各種デバイスと接続された装置あるいはシステム内のコンピュータに、上述の図6、図9などに示した実施形態機能を実現するためのソフトウエアのプログラムコードを供給し、そのシステムあるいは装置のコンピュータ(CPUあるいはMPU)を格納されたプログラムにしたがって前記各種デバイスを動作させることによって実施したものも本発明の範疇に含まれる。
(Still another embodiment)
The present invention is applied to an apparatus or a computer in a system connected to various devices so as to operate various devices so as to realize the functions of the above-described embodiments, and the embodiments shown in FIGS. Software program codes for realizing the functions are supplied, and the system or apparatus computer (CPU or MPU) is operated by operating the various devices according to the stored program. included.

また、この場合、前記ソフトウエアのプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード自体、及びそのプログラムコードをコンピュータに供給するための手段、例えばかかるプログラムコードを格納した記憶媒体は本発明を構成する。   In this case, the program code of the software itself realizes the functions of the above-described embodiments, and the program code itself and means for supplying the program code to the computer, for example, the program code are stored. This storage medium constitutes the present invention.

かかるプログラムコードを格納する記憶媒体としては例えばフロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。   As a storage medium for storing the program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

またコンピュータが供給されたプログラムコードを実行することにより、前述の実施形態の機能が実現されるだけではなく、そのプログラムコードがコンピュータにおいて稼働しているOS(オペレーティングシステム)、あるいは他のアプリケーションソフトなどと共同して前述の実施形態の機能が実現される場合にもかかるプログラムコードは本発明の実施形態に含まれることは言うまでもない。
さらに供給されたプログラムコードが、コンピュータの機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに格納された後そのプログラムコードの指示の基づいてその機能拡張ボードや機能格納ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も本発明に含まれることは言うまでもない。
Further, by executing the program code supplied by the computer, not only the functions of the above-described embodiments are realized, but also the OS (operating system) in which the program code is running on the computer, or other application software, etc. It goes without saying that the program code is also included in the embodiment of the present invention even when the functions of the above-described embodiment are realized in cooperation with the embodiment.
Further, after the supplied program code is stored in the memory of the function expansion board of the computer or the function expansion unit connected to the computer, the CPU of the function expansion board or function storage unit based on the instruction of the program code However, it is needless to say that the present invention also includes a case where the function of the above-described embodiment is realized by performing part or all of the actual processing.

カラーマネージメントシステムの一構成の概要を示す図である。It is a figure which shows the outline | summary of one structure of a color management system. 出力デバイス用のプロファイルとしてのLUT作成に際して、標準色空間が出力デバイスの色再現域を総て包含していない場合を示す図である。FIG. 10 is a diagram illustrating a case where a standard color space does not include the entire color gamut of an output device when creating an LUT as an output device profile. 広い標準色空間の一例としてCIE−L色空間と、プリンタの色域および入力想定色域(sRGB色空間)との関係を示す図である。A CIE-L * a * b * color space as an example of a wide standard color space is a diagram showing the relationship between color gamut and input assumption gamut of the printer and (sRGB color space). 本発明の一実施形態に係る画像処理システムの概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of an image processing system according to an embodiment of the present invention. 図4に示した画像処理装置においてなされる処理の概略を示すフローチャートである。5 is a flowchart illustrating an outline of processing performed in the image processing apparatus illustrated in FIG. 4. 本発明の第1の実施形態に係るガマットマッピングのLUT作成の処理を示すフローチャートである。It is a flowchart which shows the process of LUT creation of the gamut mapping which concerns on the 1st Embodiment of this invention. 上記作成されるLUTで規定される標準色空間、入力想定色域、インクジェットプリンタの色域などを模式的に示す図である。It is a figure which shows typically the standard color space prescribed | regulated with the said LUT produced | generated, an input assumption color gamut, the color gamut of an inkjet printer, etc. FIG. 本発明の第一の実施形態で用いる圧縮関数を示す図である。It is a figure which shows the compression function used in 1st embodiment of this invention. 本発明の第二の実施形態に係るLUT作成の処理を示すフローチャートである。It is a flowchart which shows the process of LUT creation which concerns on 2nd embodiment of this invention. 上記作成されるLUTで規定される標準色空間、入力想定色域、インクジェットプリンタの色域、さらに測色的一致色域などを模式的に示す図である。It is a figure which shows typically the standard color space prescribed | regulated by the said created LUT, the input assumption color gamut, the color gamut of an inkjet printer, and also a colorimetric coincidence color gamut. 本発明の第二の実施形態で用いる圧縮関数を示す図である。It is a figure which shows the compression function used in 2nd embodiment of this invention. 本発明の第三の実施形態に係る、普通紙および写真専用紙による色域それぞれへの圧縮を説明する図である。It is a figure explaining compression to each color gamut by plain paper and photographic exclusive paper according to a third embodiment of the present invention. 第三の実施形態に係る標準色空間、入力想定色域、普通紙によるプリンタ色域などを示す図である。It is a figure which shows the standard color space which concerns on 3rd embodiment, the input assumption color gamut, the printer color gamut by plain paper, etc. モニターが持つsRGB色空間の色域とインクジェットプリンタの色域との関係を示す図である。It is a figure which shows the relationship between the color gamut of the sRGB color space which a monitor has, and the color gamut of an inkjet printer. 本発明の実施形態によって解決される、色相角方向の彩度変化の反転を説明する図である。It is a figure explaining inversion of the saturation change of the hue angle direction solved by embodiment of this invention. 本発明の実施形態に係わる、プリンタ色域の削除を説明する図である。FIG. 10 is a diagram illustrating deletion of a printer color gamut according to the embodiment of the present invention. 本発明の実施形態に係わる、色相に対する彩度変換曲線を示す図である。It is a figure which shows the saturation conversion curve with respect to the hue concerning embodiment of this invention. 本発明の実施形態に係わる色域変形を説明する図である。It is a figure explaining the color gamut deformation | transformation concerning embodiment of this invention. 本発明の実施形態に係わる色域変形における明度を上げる処理を説明する図である。It is a figure explaining the process which raises the brightness in the color gamut deformation | transformation concerning embodiment of this invention.

符号の説明Explanation of symbols

401 画像入力装置
402 画像処理装置
403 画像入力部
404 画像処理部
405 画像出力部
406 画像出力装置
401 Image Input Device 402 Image Processing Device 403 Image Input Unit 404 Image Processing Unit 405 Image Output Unit 406 Image Output Device

Claims (26)

第一の色再現範囲の色を第二の色再現範囲の色に色変換する処理を行う画像処理装置であって、
前記第一の色再現範囲内において、入力されると想定される色の第三の色再現範囲を規定する手段と、
前記第二の色再現範囲内において、前記第三の色再現範囲の色を圧縮する先となる色再現範囲であって、前記第二の色再現範囲より小さい第四の色再現範囲を規定する手段と、
前記第一の色再現範囲の色を前記第二の色再現範囲に色変換する際に、前記第三の色再現範囲の色を前記第四の色再現範囲の色に圧縮する圧縮手段と、
を有したことを特徴とする画像処理装置。
An image processing apparatus that performs a process of converting a color in a first color reproduction range to a color in a second color reproduction range,
Means for defining a third color reproduction range of colors assumed to be input within the first color reproduction range;
Within the second color gamut, a fourth color gamut that is a color gamut to which the colors in the third color gamut are to be compressed and is smaller than the second color gamut is defined. Means,
Compression means for compressing the color of the third color reproduction range to the color of the fourth color reproduction range when color-converting the color of the first color reproduction range to the second color reproduction range;
An image processing apparatus comprising:
前記第二の色再現範囲内において、測色的に一致、もしくは近似した色再現をするため色再現範囲であって、前記第四の色再現範囲より小さい第五の色再現範囲を規定する手段をさらに有し、前記圧縮手段は、前記第一の色再現範囲の色を前記第二の色再現範囲の色に色変換する際に、前記第五の色再現範囲内の色は測色的に近似するように色変換し、前記第三の色再現範囲の色は前記第五の色再現範囲外の前記第四の色再現範囲の色に圧縮することを特徴とする請求項1に記載の画像処理装置。   Means for defining a fifth color reproduction range smaller than the fourth color reproduction range, which is a color reproduction range for colorimetrically matching or approximating color reproduction within the second color reproduction range. And the compression means converts the color in the first color reproduction range to the color in the second color reproduction range, and the color in the fifth color reproduction range is colorimetric. The color conversion is performed so as to approximate to the color, and the color in the third color reproduction range is compressed to the color in the fourth color reproduction range outside the fifth color reproduction range. Image processing apparatus. 前記第三の色再現範囲は、前記第二の色再現範囲の形状と大きさに基づいて規定することを特徴とする請求項1または2に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the third color reproduction range is defined based on a shape and a size of the second color reproduction range. 前記第三の色再現範囲は、出力デバイスが持つ前記第二の色再現範囲の大きさに応じた大きさで規定することを特徴とする請求項1ないし3のいずれかに記載の画像処理装置。   4. The image processing apparatus according to claim 1, wherein the third color reproduction range is defined by a size corresponding to a size of the second color reproduction range of an output device. 5. . 前記第一と第二の色再現範囲は、色変換に適した形状に変形されていることを特徴とする請求項1ないし4のいずれかに記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the first and second color reproduction ranges are deformed into a shape suitable for color conversion. 前記第四の色再現範囲は、前記第二の色再現範囲の広さに応じて定めることを特徴とする請求項1ないし5のいずれかに記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the fourth color reproduction range is determined according to a width of the second color reproduction range. 前記第四の色再現範囲は、圧縮先の点と前記第一の色再現範囲における圧縮対象の点を結ぶ直線と前記第二の色再現範囲の最外殻が交わる交点を求め、前記圧縮先の点と前記交点までの距離に基づいた割合に基づいて規定することを特徴とする請求項1ないし6のいずれかに記載の画像処理装置。   The fourth color reproduction range obtains an intersection point where a straight line connecting a compression destination point and a point to be compressed in the first color reproduction range and an outermost shell of the second color reproduction range intersect, and the compression destination The image processing device according to claim 1, wherein the image processing device is defined based on a ratio based on a distance from the point to the intersection. 前記割合は色相ごとに可変であることを特徴とする請求項7に記載の画像処理装置。   The image processing apparatus according to claim 7, wherein the ratio is variable for each hue. 前記第四の色再現範囲は、一部もしくは全体が前記第二の色再現範囲に相似な形状であることを特徴とする請求項1ないし8のいずれかに記載の画像処理装置。   9. The image processing apparatus according to claim 1, wherein a part or the whole of the fourth color reproduction range has a shape similar to the second color reproduction range. 記第四の色再現範囲は、前記第二の色再現範囲内で、前記第三の色再現範囲の特徴に応じて決定することを特徴とする請求項1ないし9のいずれかに記載の画像処理装置。   The image according to any one of claims 1 to 9, wherein the fourth color reproduction range is determined in accordance with the characteristics of the third color reproduction range within the second color reproduction range. Processing equipment. 前記第一の色再現範囲は、デバイスに非依存な色空間であり、前記第二の色再現範囲は、出力デバイスの色再現範囲であることを特徴とする請求項1ないし10のいずれかに記載の画像処理装置。   11. The first color reproduction range is a device-independent color space, and the second color reproduction range is a color reproduction range of an output device. The image processing apparatus described. 前記第三の色再現範囲は、入力デバイスの特性、および用途に応じて決めることを特徴とする請求項1ないし11のいずれかに記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the third color reproduction range is determined according to characteristics of an input device and an application. 第一の色再現範囲の色を第二の色再現範囲の色に色変換する処理を行うための画像処理方法であって、
前記第一の色再現範囲内において、入力されると想定される色の第三の色再現範囲を規定する工程と、
前記第二の色再現範囲内において、前記第三の色再現範囲の色を圧縮する先となる色再現範囲であって、前記第二の色再現範囲より小さい第四の色再現範囲を規定する工程と、
前記第一の色再現範囲の色を前記第二の色再現範囲に色変換する際に、前記第三の色再現範囲の色を前記第四の色再現範囲の色に圧縮する圧縮工程と、
を有したことを特徴とする画像処理方法。
An image processing method for performing a process of converting a color in a first color reproduction range to a color in a second color reproduction range,
Defining a third color reproduction range of colors assumed to be input within the first color reproduction range;
Within the second color gamut, a fourth color gamut that is a color gamut to which the colors in the third color gamut are to be compressed and is smaller than the second color gamut is defined. Process,
A compression step of compressing the color of the third color reproduction range to the color of the fourth color reproduction range when color-converting the color of the first color reproduction range to the second color reproduction range;
An image processing method characterized by comprising:
前記第二の色再現範囲内において、測色的に一致、もしくは近似した色再現をするため色再現範囲であって、前記第四の色再現範囲より小さい第五の色再現範囲を規定する工程をさらに有し、前記圧縮工程は、前記第一の色再現範囲の色を前記第二の色再現範囲の色に色変換する際に、前記第五の色再現範囲内の色は測色的に近似するように色変換し、前記第三の色再現範囲の色は前記第五の色再現範囲外の前記第四の色再現範囲の色に圧縮することを特徴とする請求項13に記載の画像処理方法。   In the second color reproduction range, a step of defining a fifth color reproduction range which is a color reproduction range for colorimetrically matching or approximating color reproduction and smaller than the fourth color reproduction range And when the color in the first color reproduction range is converted to the color in the second color reproduction range, the color in the fifth color reproduction range is colorimetric. The color conversion is performed so as to approximate to the color, and the color in the third color reproduction range is compressed to the color in the fourth color reproduction range outside the fifth color reproduction range. Image processing method. 前記第三の色再現範囲は、前記第二の色再現範囲の形状と大きさに基づいて規定することを特徴とする請求項13または14に記載の画像処理方法。   15. The image processing method according to claim 13, wherein the third color reproduction range is defined based on the shape and size of the second color reproduction range. 前記第三の色再現範囲は、出力デバイスが持つ前記第二の色再現範囲の大きさに応じた大きさで規定することを特徴とする請求項13ないし15のいずれかに記載の画像処理方法。   The image processing method according to claim 13, wherein the third color reproduction range is defined by a size corresponding to a size of the second color reproduction range of the output device. . 前記第一と第二の色再現範囲は、色変換に適した形状に変形されていることを特徴とする請求項13ないし16のいずれかに記載の画像処理方法。   17. The image processing method according to claim 13, wherein the first and second color reproduction ranges are transformed into a shape suitable for color conversion. 前記第四の色再現範囲は、前記第二の色再現範囲の広さに応じて定めることを特徴とする請求項13ないし17のいずれかに記載の画像処理方法。   The image processing method according to claim 13, wherein the fourth color reproduction range is determined according to a width of the second color reproduction range. 前記第四の色再現範囲は、圧縮先の点と前記第一の色再現範囲における圧縮対象の点を結ぶ直線と前記第二の色再現範囲の最外殻が交わる交点を求め、前記圧縮先の点と前記交点までの距離に基づいた割合に基づいて規定することを特徴とする請求項13ないし18のいずれかに記載の画像処理方法。   The fourth color reproduction range obtains an intersection point where a straight line connecting a compression destination point and a point to be compressed in the first color reproduction range and an outermost shell of the second color reproduction range intersect, and the compression destination The image processing method according to claim 13, wherein the image processing method is defined based on a ratio based on a distance from the point to the intersection. 前記割合は色相ごとに可変であることを特徴とする請求項19に記載の画像処理方法。   The image processing method according to claim 19, wherein the ratio is variable for each hue. 前記第四の色再現範囲は、一部もしくは全体が前記第二の色再現範囲に相似な形状であることを特徴とする請求項13ないし20のいずれかに記載の画像処理方法。   21. The image processing method according to claim 13, wherein a part or all of the fourth color reproduction range has a shape similar to the second color reproduction range. 記第四の色再現範囲は、前記第二の色再現範囲内で、前記第三の色再現範囲の特徴に応じて決定することを特徴とする請求項13ないし21のいずれかに記載の画像処理方法。   The image according to any one of claims 13 to 21, wherein the fourth color reproduction range is determined in accordance with the characteristics of the third color reproduction range within the second color reproduction range. Processing method. 前記第一の色再現範囲は、デバイスに非依存な色空間であり、前記第二の色再現範囲は、出力デバイスの色再現範囲であることを特徴とする請求項13ないし22のいずれかに記載の画像処理方法。   23. The device according to claim 13, wherein the first color reproduction range is a device-independent color space, and the second color reproduction range is a color reproduction range of an output device. The image processing method as described. 前記第三の色再現範囲は、入力デバイスの特性、および用途に応じて決めることを特徴とする請求項13ないし23のいずれかに記載の画像処理方法。   The image processing method according to any one of claims 13 to 23, wherein the third color reproduction range is determined according to characteristics of an input device and an application. 第一の色再現範囲の色を第二の色再現範囲の色に色変換する処理に用いられるテーブルの作成方法であって、
前記第一の色再現範囲内において、入力されると想定される色の第三の色再現範囲を規定する工程と、
前記第二の色再現範囲内において、前記第三の色再現範囲の色を圧縮する先となる色再現範囲であって、前記第二の色再現範囲より小さい第四の色再現範囲を規定する工程と、
前記第一の色再現範囲の色を前記第二の色再現範囲に色変換する際に、前記第三の色再現範囲の色を前記第四の色再現範囲の色に圧縮するようにそれぞれの格子点の格子点データを定める工程と、
を有したことを特徴とするテーブル作成方法。
A method for creating a table used for a process of converting a color in a first color reproduction range to a color in a second color reproduction range,
Defining a third color reproduction range of colors assumed to be input within the first color reproduction range;
Within the second color gamut, a fourth color gamut that is a color gamut to which the colors in the third color gamut are to be compressed and is smaller than the second color gamut is defined. Process,
When the color of the first color reproduction range is converted to the second color reproduction range, the color of the third color reproduction range is compressed to the color of the fourth color reproduction range. A step of determining lattice point data of lattice points;
A table creation method characterized by comprising:
コンピュータを請求項1ないし12のいずれかに記載の画像処理装置として機能させることを特徴とするプログラム。
A program causing a computer to function as the image processing apparatus according to any one of claims 1 to 12.
JP2005234786A 2005-08-12 2005-08-12 Image processing apparatus, image processing method, and table creation method Active JP4533277B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2005234786A JP4533277B2 (en) 2005-08-12 2005-08-12 Image processing apparatus, image processing method, and table creation method
US11/462,652 US7965426B2 (en) 2005-08-12 2006-08-04 Image processing apparatus and method for performing gamut mapping via device-independent standard color space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005234786A JP4533277B2 (en) 2005-08-12 2005-08-12 Image processing apparatus, image processing method, and table creation method

Publications (2)

Publication Number Publication Date
JP2007049642A true JP2007049642A (en) 2007-02-22
JP4533277B2 JP4533277B2 (en) 2010-09-01

Family

ID=37852081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005234786A Active JP4533277B2 (en) 2005-08-12 2005-08-12 Image processing apparatus, image processing method, and table creation method

Country Status (1)

Country Link
JP (1) JP4533277B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011123295A (en) * 2009-12-10 2011-06-23 Sharp Corp Display device
JP2012195853A (en) * 2011-03-17 2012-10-11 Canon Inc Color processing apparatus, method thereof, and image processing apparatus
JP2020098382A (en) * 2018-12-17 2020-06-25 コニカミノルタ株式会社 Color conversion table correction unit and color conversion table correction program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05284347A (en) * 1992-03-31 1993-10-29 Olympus Optical Co Ltd Color picture output device
JP2000050091A (en) * 1998-07-29 2000-02-18 Fujitsu Ltd Color image processing system, color image processor, color area adjustment method and storage medium recording color image processing program
JP2000083177A (en) * 1998-07-02 2000-03-21 Fuji Xerox Co Ltd Image processing method and image processor
JP2000165692A (en) * 1998-11-30 2000-06-16 Fujitsu Ltd Color data converting method
JP2000278546A (en) * 1999-01-22 2000-10-06 Sony Corp Device and method for image processing, device and method for color gamut conversion table preparation, recording medium recording image processing program and recording medium recording color gamut conversion table preparation program
JP2003069840A (en) * 2001-08-22 2003-03-07 Dainippon Printing Co Ltd Method for converting color

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05284347A (en) * 1992-03-31 1993-10-29 Olympus Optical Co Ltd Color picture output device
JP2000083177A (en) * 1998-07-02 2000-03-21 Fuji Xerox Co Ltd Image processing method and image processor
JP2000050091A (en) * 1998-07-29 2000-02-18 Fujitsu Ltd Color image processing system, color image processor, color area adjustment method and storage medium recording color image processing program
JP2000165692A (en) * 1998-11-30 2000-06-16 Fujitsu Ltd Color data converting method
JP2000278546A (en) * 1999-01-22 2000-10-06 Sony Corp Device and method for image processing, device and method for color gamut conversion table preparation, recording medium recording image processing program and recording medium recording color gamut conversion table preparation program
JP2003069840A (en) * 2001-08-22 2003-03-07 Dainippon Printing Co Ltd Method for converting color

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011123295A (en) * 2009-12-10 2011-06-23 Sharp Corp Display device
JP2012195853A (en) * 2011-03-17 2012-10-11 Canon Inc Color processing apparatus, method thereof, and image processing apparatus
JP2020098382A (en) * 2018-12-17 2020-06-25 コニカミノルタ株式会社 Color conversion table correction unit and color conversion table correction program
JP7230481B2 (en) 2018-12-17 2023-03-01 コニカミノルタ株式会社 Color conversion table correction unit and color conversion table correction program

Also Published As

Publication number Publication date
JP4533277B2 (en) 2010-09-01

Similar Documents

Publication Publication Date Title
JP4565642B2 (en) Image processing method and image processing apparatus
JP4594185B2 (en) Color processing method and apparatus
US6814420B2 (en) Image processing method and apparatus, storage medium and program
US8045222B2 (en) Image processing method, image processing apparatus, computer program product, and recording medium for image processing
US7710600B2 (en) Image processing apparatus and method thereof
JP5713727B2 (en) Profile creation method, profile creation apparatus, image processing apparatus and program for performing color conversion by profile
JP4623630B2 (en) Image processing apparatus, image processing method, program, image forming apparatus, and image forming system
US7965426B2 (en) Image processing apparatus and method for performing gamut mapping via device-independent standard color space
US7764411B2 (en) Color processing apparatus and method, and storage medium storing color processing program
US7929760B2 (en) Color processing method and apparatus based on viewing condition
JP2005318523A (en) Image processing device, its method and its program
JP2008219791A (en) Image processor, image processing method, program, and recording medium
US8284447B2 (en) Image processing apparatus and profile generating method
JP4803122B2 (en) Color processing apparatus and program
US7750919B2 (en) Apparatus and method for enhancing device-adaptive color
US7456999B2 (en) Device link profile creation method and device and image processing apparatus
US8792131B2 (en) Image processing system, information processing system, control method, and program
JP4592089B2 (en) Image processing method, profile creation method, and image processing apparatus
JP4533277B2 (en) Image processing apparatus, image processing method, and table creation method
JP4748796B2 (en) Image processing apparatus and image processing method.
US8203751B2 (en) Color signal converting apparatus, image forming apparatus, color signal conversion method and computer readable medium
JP2007243957A (en) System, method and program for extracting gray information from color image data
JP2007043613A (en) Color data processing method, color data processing apparatus, and program
JP4764889B2 (en) Image processing apparatus and image processing method
JP2005284521A (en) Printing control utilizing color transformation profile corresponding to color reproduction of multiple sorts

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080812

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100323

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4533277

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130618

Year of fee payment: 3