JP2008072476A - Color processing device and method - Google Patents

Color processing device and method Download PDF

Info

Publication number
JP2008072476A
JP2008072476A JP2006249575A JP2006249575A JP2008072476A JP 2008072476 A JP2008072476 A JP 2008072476A JP 2006249575 A JP2006249575 A JP 2006249575A JP 2006249575 A JP2006249575 A JP 2006249575A JP 2008072476 A JP2008072476 A JP 2008072476A
Authority
JP
Japan
Prior art keywords
color
image
information
processing
gamut
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.)
Withdrawn
Application number
JP2006249575A
Other languages
Japanese (ja)
Inventor
Mizue Misumi
瑞恵 三角
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 JP2006249575A priority Critical patent/JP2008072476A/en
Publication of JP2008072476A publication Critical patent/JP2008072476A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide preferable gray reproduction wherein differences between achromatic color axes of image devices having different color gamuts are taken into consideration. <P>SOLUTION: A method of color processing includes an acquisition step of acquiring color gamut information on appearance color spaces of 1st and 2nd image devices; a first conversion step of converting a color signal of the achromatic color axis of the color gamut information into a color signal of a preferable gray axis suitable to the first and second image devices; and a mapping step of mapping the color gamut that the color gamut information of the 1st image device represents in the color gamut that the color gamut information of the 2nd image device represents after the first color conversion. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は色処理装置およびその方法に関し、例えば、異なる色域をもつ画像機器間における色処理に関する。   The present invention relates to a color processing apparatus and method, for example, color processing between image devices having different color gamuts.

ディジタルカメラやスキャナの普及などにより、ユーザが画像をプリンタで出力して鑑賞したり、保存する機会が増え、好ましい色で画像を出力したいという要求が高まっている。また、グラフィックアーティストなど、プリンタを仕事のツールとして用いるユーザには、プリンタの故障または機能向上のためにプリンタを買い替えようにも、プリンタの色特性が変わり、期待する色が得られなくなる懸念がある。   With the widespread use of digital cameras and scanners, there are increasing demands for users to output images with a printer for viewing and storage, and there is an increasing demand for outputting images in a preferred color. In addition, there is a concern for users who use printers as work tools, such as graphic artists, because the printer color characteristics change and the expected color cannot be obtained even if the printer is replaced due to a printer failure or function improvement. .

ユーザは、大別すると下の二つの方法を用いて、所望する色合いを実現することになる。第一の方法は、画像レタッチソフトなどを用いて、モニタ上で画像を所望する色合いに変換する方法である。また、第二の方法は、ユーザが望む色合いの画像を出力するようにプリンタの色処理を調整する方法である。   When the user is roughly classified, the user can achieve a desired color by using the following two methods. The first method is a method for converting an image into a desired color on a monitor using image retouching software or the like. The second method is a method of adjusting the color processing of the printer so as to output an image having a hue desired by the user.

しかし、第一の方法は、画像レタッチソフトの機能・操作を習得し、さらに、モニタの色再現性と、プリンタの色再現性の両方を考慮した上で色変換を行う、非常に高度な知識を要する方法である。また、第二の方法は、プリンタドライバが提供する色調整ユーザンタフェイスの機能・操作を習得し、かつ、プリンタの色再現性や一般的な画像処理の知識を必要と方法である。このような二つの方法によれば、ユーザは、所望する色合いの印刷物を得るまでに試行錯誤を繰り返して色合いを調整しなければならず、ユーザの負担が大きい。   However, the first method is very advanced knowledge that learns the functions and operations of image retouching software, and performs color conversion considering both the color reproducibility of the monitor and the color reproducibility of the printer. It is a method that requires. The second method is a method that learns the functions and operations of the color adjustment user interface provided by the printer driver, and requires knowledge of the color reproducibility of the printer and general image processing. According to these two methods, the user must adjust the hue by repeating trial and error until obtaining a printed matter having a desired hue, which places a heavy burden on the user.

特開2004-213317公報は、全体のプロファイルを保持したまま、ある特定の色に関するマッチングのみを変更することで汎用性を高める画像処理装置を記載する。つまり、選択された色について、そのプロファイルデータを色調整する機能である。   Japanese Patent Application Laid-Open No. 2004-213317 describes an image processing apparatus that improves versatility by changing only matching for a specific color while retaining the entire profile. That is, it is a function for adjusting the color of the profile data for the selected color.

また、上記のように、カラー画像機器が色再現可能な色域は機器の特性により異なる。そこで、異なる機器間において、画像の色の見えを等しくする変換(カラーマッチング)を行って、狭い色域をもつ画像機器Aの色を、よりも広い色域をもつ画像機器Bで再現する場合は、画像機器Bで、画像機器Aの色をそのまま再現すればよい。しかし、例えばモニタに表示されているカラー画像をプリンタで出力するように、画像機器Cの色を、よりも狭い色域をもつ画像機器Dで再現する場合は、画像機器Dで、画像機器Cの色をそのまま再現することはできない。   Further, as described above, the color gamut that the color image device can reproduce is different depending on the characteristics of the device. Therefore, when converting the color appearance of the image between different devices (color matching) and reproducing the color of the image device A having a narrow color gamut with the image device B having a wider color gamut The image device B may reproduce the color of the image device A as it is. However, when the color of the image device C is reproduced by the image device D having a narrower color gamut, for example, so that the color image displayed on the monitor is output by the printer, the image device C is used. The color cannot be reproduced as it is.

モニタとプリンタといった異なる機器の間における色再現のみならず、プリンタ同士の間でも、印刷方式、記録紙の種類、色材(インクやトナー)などにより、色再現可能な色域が異なる。そのため、例えば同じプリンタでも、広い色域をもつ光沢紙で再現した色を、色域が非常に狭い普通紙で再現する場合などは、モニタとプリンタ間の色再現と同様の問題が発生する。   Not only color reproduction between different devices such as a monitor and a printer, but also between printers, the color gamut that can be reproduced varies depending on the printing method, the type of recording paper, the color material (ink or toner), and the like. For this reason, for example, when a color reproduced with glossy paper having a wide color gamut is reproduced with plain paper having a very narrow color gamut even with the same printer, the same problem as color reproduction between the monitor and the printer occurs.

このように、色再現可能な色域が異なる画像機器間のカラーマッチングにおいては、画像機器Aの色を、なるべくその色みを保ちつつ、画像機器Bの色域内にマッピングする処理(ガマットマッピング)が必要になる。   In this way, in color matching between image devices having different color gamuts that can be reproduced, the process of mapping the color of image device A within the color gamut of image device B while maintaining its color as much as possible (gamut mapping) Is required.

特開2002-262120公報は、同一色相の入力色信号が色差最小になる色相の出力色信号にマッピングすることで、色みの変化を小さくする技術を開示する。   Japanese Patent Laid-Open No. 2002-262120 discloses a technique for reducing a change in color by mapping an input color signal having the same hue to an output color signal having a hue that minimizes the color difference.

しかし、特開2002-262120公報に開示されたガマットマッピングは、マッピング前の画像とマッピング後の画像を比較すると、中彩度、高彩度領域においては良好なカラーマッチングを得られるが、全体的には不自然な印象を与える場合がある。これは、当該ガマットマッピングが、入力色域と出力色域の違いを吸収することのみに主眼を置いているため、入出力色域の白色(R, G, B) = (255, 255, 255)および黒色(R, G, B) = (0, 0, 0)、さらに、白色と黒色を結ぶ無彩色軸の違いを考慮しないことに起因する。   However, the gamut mapping disclosed in Japanese Patent Application Laid-Open No. 2002-262120 can obtain good color matching in the middle saturation and high saturation regions when comparing the image before mapping with the image after mapping. May give an unnatural impression. This is because the gamut mapping mainly focuses on absorbing the difference between the input color gamut and the output color gamut, so the white (R, G, B) = (255, 255, 255) ) And black color (R, G, B) = (0, 0, 0), and further, the difference between the achromatic color axis connecting white and black is not considered.

印刷物においては、一般に、白色は紙の白色に依存し、黒色はインクやトナーの色材の色に依存する。このように白色と黒色、および、それらを結ぶ無彩色軸は、機器特性への依存度が強い。   In printed matter, generally white depends on the white of paper and black depends on the color of the color material of ink or toner. Thus, white and black, and the achromatic color axis connecting them are highly dependent on device characteristics.

図13は、CIELAB空間の明度L*-彩度C*平面において、モニタの色域1001とプリンタの色域1002、および、機器に固有の無彩色軸(モニタの無彩色軸1003およびプリンタの無彩色軸1004)を表す図である。また、図14は、CIELAB空間の明度L*-彩度C*平面において、異なる記録紙および異なるプリンタの色域1011および1012、並びに、各記録紙に固有の無彩色軸1013および1014を表す図である。   FIG. 13 shows a monitor color gamut 1001 and a printer color gamut 1002 in the lightness L * -saturation C * plane of the CIELAB space, and an achromatic color axis specific to the device (the achromatic color axis 1003 of the monitor and the printer color gamut 1003). It is a figure showing the chromatic axis 1004). FIG. 14 is a diagram showing color gamuts 1011 and 1012 of different recording papers and different printers, and achromatic color axes 1013 and 1014 unique to each recording paper in the lightness L * -saturation C * plane of the CIELAB space. It is.

図13、図14に示すように、使用する機器あるいは使用する記録紙の種類によって、色域のみならず無彩色軸も異なる。とくに無彩色軸は、画像全体の色みを決定する。例えばプルーフの際など、異なるプリンタ間のカラーマッチングを実現するには、色域の相違のみならず、白色、黒色および無彩色軸の違いを吸収する色処理が必要になる。   As shown in FIGS. 13 and 14, not only the color gamut but also the achromatic color axis varies depending on the equipment used or the type of recording paper used. In particular, the achromatic color axis determines the color of the entire image. In order to realize color matching between different printers, for example, at the time of proofing, color processing that absorbs not only the difference in color gamut but also the difference in white, black, and achromatic color axis is required.

特開平01-167791公報は、色再現可能な色域が異なる画像機器間のカラーマッチングにおいて、それぞれの画像機器の無彩色軸を色空間における明度軸上に変換し、ガマットマッピングをおこなう技術を開示する。しかし、特開平01-167791公報に開示された、白色、黒色および無彩色軸の違いを吸収する色処理では、色空間における無彩色、いわばニュートラルグレイを中心にマッピングを行うため、黒色や白色などのデバイス条件を考慮しつつも出力目的に応じたグレイ色(好ましいグレイ色)を考慮した色変換を行うことができず、無彩色軸および低彩度領域で好ましいグレイの再現精度が低下する。
特開2004-213317公報 特開2002-262120公報 特開平01-167791公報
Japanese Laid-Open Patent Publication No. 01-167791 discloses a technique for performing gamut mapping by converting the achromatic color axis of each image device to the lightness axis in the color space in color matching between image devices having different color gamuts. To do. However, in the color processing that absorbs the difference between white, black, and achromatic color axis disclosed in Japanese Patent Laid-Open No. 01-167791, mapping is performed mainly in achromatic colors, that is, neutral gray in the color space, so black, white, etc. However, it is impossible to perform color conversion considering the gray color (preferred gray color) according to the output purpose while considering the device conditions of the above, and the preferable gray reproduction accuracy is reduced in the achromatic color axis and the low saturation region.
Japanese Patent Laid-Open No. 2004-213317 JP 2002-262120 A Japanese Patent Laid-Open No. 01-167791

本発明は、異なる色域をもつ画像機器間の無彩色軸の違いを考慮した好ましいグレイ再現を実現する色処理を提供することを目的とする。   An object of the present invention is to provide color processing that realizes preferable gray reproduction in consideration of the difference in the achromatic color axis between image devices having different color gamuts.

また、任意の画像出力環境において、ユーザが所望する色合いの再現を容易に実現することを目的とする。   It is another object of the present invention to easily reproduce a color desired by a user in an arbitrary image output environment.

本発明は、前記の目的を達成する一手段として、以下の構成を備える。   The present invention has the following configuration as one means for achieving the above object.

異なる色域をもつ画像機器間の色処理方法であって、第一および第二の画像機器のアピアランス色空間の色域情報を取得し、前記色域情報の無彩色軸の色信号を第一および第二の画像機器に応じた好ましいグレイ軸の色信号に変換し、前記第一の変換ステップの後、前記第一の画像機器の色域情報が示す色域を、前記第二の画像機器の色域情報が示す色域内へマッピングすることを特徴とする色処理方法。   A color processing method between image devices having different color gamuts, wherein color gamut information of appearance color spaces of first and second image devices is acquired, and a color signal of an achromatic color axis of the color gamut information is first And a preferred gray axis color signal corresponding to the second image device, and after the first conversion step, the color gamut indicated by the color gamut information of the first image device is changed to the second image device. A color processing method characterized by mapping into the color gamut indicated by the color gamut information.

また、画像機器が再現する色合いを調整する色処理方法であって、目標とする色合いを示す第一の色情報、および、前記画像機器の出力色を示す第二の色情報を取得し、前記色情報をアピアランス色空間の色情報に変換し、前記色情報の無彩色軸の色信号を第一および第二の画像機器に応じた好ましいグレイ軸の色信号に変換し、前記第一の変換ステップの後、前記第一の色情報が示す色域を、前記第二の色情報が示す色域内へマッピングするマッピングし、前記マッピングステップの処理結果から、前記画像機器に前記目標とする色合いを再現させるための色変換テーブルを作成する作成することを特徴とする色処理方法。   Further, a color processing method for adjusting a hue reproduced by an image device, wherein first color information indicating a target hue and second color information indicating an output color of the image device are acquired, The color information is converted into appearance color space color information, the achromatic color axis color signal of the color information is converted into a preferred gray axis color signal corresponding to the first and second imaging devices, and the first conversion After the step, the color gamut indicated by the first color information is mapped into the color gamut indicated by the second color information, and the target color is assigned to the image device from the processing result of the mapping step. A color processing method comprising: creating a color conversion table for reproduction.

本発明によれば、異なる色域をもつ画像機器間の無彩色軸の違いを考慮した好ましいグレイ再現を実現する色処理を提供することができる。   According to the present invention, it is possible to provide color processing that realizes preferable gray reproduction in consideration of the difference in the achromatic color axis between image devices having different color gamuts.

また、任意の画像出力環境において、ユーザが所望する色合いの再現を容易に実現することができる。   In addition, in any image output environment, it is possible to easily realize the color tone desired by the user.

以下では、本発明にかかる実施例の画像処理を図面を参照して詳細に説明する。   Hereinafter, image processing according to an embodiment of the present invention will be described in detail with reference to the drawings.

[装置の構成]
図3は実施例1の画像処理装置1の構成例を示すブロック図である。
[Device configuration]
FIG. 3 is a block diagram illustrating a configuration example of the image processing apparatus 1 according to the first embodiment.

画像処理装置1は、スキャナなどの画像入力装置19から入力した画像をモニタなどの画像表示装置2に画像を表示し、画像表示装置2に表示した画像などをプリンタなどの画像出力装置3に出力する画像処理を行う。画像出力装置3で画像を印刷する際、詳細は後述するが、ターゲットプリンタで印刷した場合の色みを表現するように、画像にガマットマッピングを施す。   The image processing device 1 displays an image input from an image input device 19 such as a scanner on an image display device 2 such as a monitor, and outputs the image displayed on the image display device 2 to an image output device 3 such as a printer. Perform image processing. When the image is printed by the image output device 3, the details will be described later, but gamut mapping is applied to the image so as to express the color when printed by the target printer.

画像表示部4は、画像表示装置2に画像を表示するための信号を生成する。画像処理部5は、画像表示装置2に表示された色を、画像出力装置3に出力するための階調変換処理などを行う。ターゲット色記憶部6は、ターゲットのプリンタの色再現情報、言い換えれば、色再現の目標になるプリンタの色域情報を記憶する。   The image display unit 4 generates a signal for displaying an image on the image display device 2. The image processing unit 5 performs a gradation conversion process for outputting the color displayed on the image display device 2 to the image output device 3. The target color storage unit 6 stores color reproduction information of the target printer, in other words, color gamut information of the printer that is the target of color reproduction.

均等色空間変換部7は、モニタプロファイル記憶部13、プリンタプロファイル記憶部14、ターゲット色記憶部6などの測色的なデバイス特性データを、予め定義した、見た目に忠実なアピアランス色空間に変換する処理を行う。好適グレイ補償色空間変換部8は、好適グレイ色変換部10にて算出された好適なグレイ色が、無彩色軸となるように色空間を変換する処理を行う。   The uniform color space conversion unit 7 converts colorimetric device characteristic data such as the monitor profile storage unit 13, the printer profile storage unit 14, and the target color storage unit 6 into a predefined appearance color space that is faithful to the appearance. Process. The preferred gray compensation color space conversion unit 8 performs a process of converting the color space so that the preferred gray color calculated by the preferred gray color conversion unit 10 is an achromatic color axis.

色域圧縮処理部9は、ガマットマッピングを行う。好適グレイ色変換部10は、予め決められた無彩色軸を各機器における白色と黒色の関係から算出する好適なグレイ色へ変換を行う。画像入出力部11は、画像入力装置19から画像信号を入力し、画像出力装置3に出力する印刷用の画像信号を生成する。   The color gamut compression processing unit 9 performs gamut mapping. The preferred gray color conversion unit 10 converts a predetermined achromatic color axis into a suitable gray color calculated from the relationship between white and black in each device. The image input / output unit 11 receives an image signal from the image input device 19 and generates an image signal for printing to be output to the image output device 3.

データバッファ12は、データ処理を行うために一時的に、入力画像を含む各種データ保存するメモリで、例えばRAMによって構成される。モニタプロファイル記憶部13は画像表示装置2などのモニタプロファイルを記憶し、プリンタプロファイル記憶部14は画像出力装置3などのプリンタプロファイルを記憶するメモリで、例えばハードディスクなどの不揮発性メモリによって構成される。   The data buffer 12 is a memory that temporarily stores various data including an input image in order to perform data processing, and is configured by a RAM, for example. The monitor profile storage unit 13 stores a monitor profile of the image display device 2 and the like, and the printer profile storage unit 14 is a memory that stores a printer profile of the image output device 3 and the like, and is configured by a non-volatile memory such as a hard disk.

ユーザインタフェイス(UI)部15は、画像処理装置1の操作するためのグラフィカルユーザインタフェイス画面を例えば画像表示装置2に表示して、ユーザに画像処理装置1の操作環境を提供する。色変換処理部16は、画像出力装置3に画像を出力するための色変換処理を行う。テーブル作成部17は、画像表示装置2に表示される色と画像出力装置3によって出力される色のカラーマッチング用のルックアップテーブル(LUT)を作成する。   The user interface (UI) unit 15 displays a graphical user interface screen for operating the image processing apparatus 1 on the image display apparatus 2, for example, and provides the user with the operating environment of the image processing apparatus 1. The color conversion processing unit 16 performs color conversion processing for outputting an image to the image output device 3. The table creation unit 17 creates a look-up table (LUT) for color matching between colors displayed on the image display device 2 and colors output by the image output device 3.

上記の構成は、ハードウェアとして実現することもできるが、RAMをワークメモリとして、ROMやハードディスクに格納されたオペレーティグシステム(OS)や各種処理のプログラムを実行するCPUに、後述する処理を実行するプログラム(例えばプリンタドライバのプログラム)を供給することでも実現可能である。その場合、画像表示部4はグラフィカルプロセッサ(GPU)を備えるビデオカードで、画像出力部11はUSB (Universal Serial Bus)やIEEE1394などのシリアルバス用のインタフェイスカードで構成し、CPU、RAM、ROM、ハードディスク、ビデオカード、インタフェイスカード間をシステムバス18で接続すればよい。
[全体処理]
図1は画像処理部5が実行する画像処理を示すフローチャートで、画像入力装置19から入力した画像を画像出力装置3へ出力する際に実行する処理である。
The above configuration can be realized as hardware, but the RAM is used as a work memory, and the processing described later is executed on the operating system (OS) stored in the ROM and hard disk and the CPU that executes various processing programs. It can also be realized by supplying a program (for example, a printer driver program). In that case, the image display unit 4 is a video card equipped with a graphical processor (GPU), and the image output unit 11 is composed of an interface card for a serial bus such as USB (Universal Serial Bus) or IEEE1394, and CPU, RAM, ROM The hard disk, video card, and interface card may be connected by the system bus 18.
[Overall processing]
FIG. 1 is a flowchart showing image processing executed by the image processing unit 5, and is processing executed when an image input from the image input device 19 is output to the image output device 3.

まず、UI部15にユーザインタフェイスを表示させ、色変換テーブルを作成するプリンタ(画像出力装置3)および記録紙の種類をユーザに選択させ、選択されたプリンタおよび記録紙の種類に対応するプリンタ特性データPcをプリンタプロファイル記憶部14から取得する(S401)。   First, the user interface is displayed on the UI unit 15, the printer (image output apparatus 3) for creating the color conversion table and the recording paper type are selected by the user, and the printer corresponding to the selected printer and the recording paper type is selected. The characteristic data Pc is acquired from the printer profile storage unit 14 (S401).

次に、色変換テーブルの色再現の目標色を示す特性データTcをターゲット記憶部6から取得する(S402)。特性データTcの取得は次のように行う。まず、例えばRGBデータで表現した、複数のカラーパッチを備えるカラーチャートをターゲットプリンタで印刷する。そして、印刷したカラーチャートのカラーパッチを測色し、測色結果の例えばLab値とRGB値の関係を示すテーブルを作成し、このテーブルを色再現の目標になるプリンタの色域情報(特性データTc)にする。勿論、ターゲットプリンタの既存の色域情報があれば、それを利用すればよい。   Next, characteristic data Tc indicating the target color for color reproduction in the color conversion table is acquired from the target storage unit 6 (S402). The acquisition of the characteristic data Tc is performed as follows. First, for example, a color chart including a plurality of color patches expressed by RGB data is printed by a target printer. Then, the color patches of the printed color chart are measured, and a table showing the relationship between the Lab value and the RGB value of the color measurement result is created, and this table is used for color gamut information (characteristic data) of the printer that is the target of color reproduction. Tc). Of course, if there is existing color gamut information of the target printer, it may be used.

次に、人の視覚特性に近いアピアランス色空間などを利用して、プリンタ特性データPcを均等色空間のデータPc1に変換する処理を均等色空間変換部7に実行させる(S403)。続いて、同様に、目標色の特性データTcを均等色空間のデータTc1に変換する処理を均等色空間変換部7に実行させる(S404)。アピアランス色空間の例としては、CIECAM97sやCIECAM02などが挙げられる。以下では、見た目に忠実な色空間としてCIECAM02を用いた色変換を例に説明するが、これに限定されるわけではない。 Next, the uniform color space conversion unit 7 is caused to perform processing for converting the printer characteristic data Pc into the uniform color space data Pc 1 using an appearance color space that is close to human visual characteristics (S403). Subsequently, the uniform color space conversion unit 7 is similarly executed to convert the target color characteristic data Tc into the uniform color space data Tc 1 (S404). Examples of appearance color spaces include CIECAM97s and CIECAM02. In the following, color conversion using CIECAM02 as a color space faithful to the appearance will be described as an example, but the present invention is not limited to this.

次に、プリンタ特性データPc1のR=G=Bの色信号に対応する無彩色軸を、好適グレイ軸に変換する処理を好適グレイ色変換部8に実行させる(S405)。続いて、同様に、目標色の特性データTc1のR=G=Bの色信号に対応する無彩色軸を、好適グレイ軸に変換する処理を好適グレイ色変換部8に実行させる(S406)。 Next, the preferred gray color conversion unit 8 is caused to execute processing for converting the achromatic color axis corresponding to the color signal of R = G = B in the printer characteristic data Pc 1 into the preferred gray axis (S405). Subsequently, similarly, the suitable gray color conversion unit 8 is caused to execute processing for converting the achromatic color axis corresponding to the color signal of R = G = B of the target color characteristic data Tc 1 into the preferred gray axis (S406). .

次に、ステップS405の処理によって決まる色域において、好適グレイ軸が色度座標の原点にくるような、好適グレイ補償色空間に変換する処理を好適グレイ補償色空間変換部20に実行させる(S407)。続いて、同様に、目標色の特性データTc2においても、ステップS406の処理によって決まる色域において、好適グレイ軸が色度座標の原点にくるような、好適グレイ補償色空間変換に変換する処理を好適色空間変換部20に実行させる(S408)。 Next, in the color gamut determined by the processing in step S405, the preferred gray compensation color space conversion unit 20 is caused to perform processing for converting to the preferred gray compensation color space so that the preferred gray axis is at the origin of the chromaticity coordinates (S407). ). Subsequently, similarly, the target color characteristic data Tc 2 is also converted into a preferred gray compensation color space conversion in which the preferred gray axis is at the origin of the chromaticity coordinates in the color gamut determined by the processing in step S406. Is executed by the preferred color space conversion unit 20 (S408).

次に、ステップS407およびS408の処理によって決まる色域を用いて、目標色の特性データTc1が示す色域を、プリンタ特性データPc1が示す色域内にマッピングする処理(詳細は後述する)を色域圧縮処理部9に実行させる(S409)。 Next, processing for mapping the color gamut indicated by the target color characteristic data Tc 1 into the color gamut indicated by the printer characteristic data Pc 1 using the color gamut determined by the processing of steps S407 and S408 (details will be described later). The color gamut compression processing unit 9 is executed (S409).

次に、ステップS409の処理によって決まる色域を、好適グレイ補償色空間色空間から測色的な色空間へ変換する(S410)。測色的な色空間とは、例えばCIELABのような色空間で、ここでは、モニタプロファイル記憶部13やプリンタプロファイル記憶部14などに記憶されているデバイス特性データの色空間のことを示す。続いて、ステップS409までの処理で得られた色信号RGBと測色値の対応関係、並びに、ステップS401で取得したプリンタ特性データから、色変換テーブルを作成する(S411)。
[プリンタの無彩色軸を好適なグレイ軸上へ変換する処理(S405)]
図5は、機器依存無彩色変換部8が実行する、プリンタ特性データPc1の無彩色軸を好適なグレイ軸上へ変換する処理の詳細を示すフローチャートである。
Next, the color gamut determined by the processing in step S409 is converted from a preferred gray compensation color space color space to a colorimetric color space (S410). The colorimetric color space is a color space such as CIELAB, for example, and indicates a color space of device characteristic data stored in the monitor profile storage unit 13, the printer profile storage unit 14, or the like. Subsequently, a color conversion table is created from the correspondence between the color signal RGB and the colorimetric values obtained in the processing up to step S409, and the printer characteristic data acquired in step S401 (S411).
[Process to convert the achromatic color axis of the printer onto a suitable gray axis (S405)]
FIG. 5 is a flowchart showing details of the process of converting the achromatic color axis of the printer characteristic data Pc 1 onto a suitable gray axis, which is executed by the device-dependent achromatic color conversion unit 8.

まず、プリンタ特性データPc1の無彩色軸を好適なグレイ軸上に変換する際、当該変換により、プリンタ特性データの色域内で急峻な変化にならないようにする必要がある。そこで、無彩色軸のみを変換するのではなく、無彩色軸の近傍も変換するために、補正領域Reを算出する(S501)。本実施例では、図7に示す好適グレイ補償となる色空間のある明度の色相平面において、プリンタ特性データPc1の無彩色軸上の色P1と、色相平面の原点(無彩色P0)を結ぶ線分を主軸とする楕円によって、当該色相平面の補正領域Reを定義する。なお、補正領域Reの定義は楕円に限定するわけではない。 First, when the achromatic color axis of the printer characteristic data Pc 1 is converted to a suitable gray axis, it is necessary to prevent a steep change in the color gamut of the printer characteristic data by the conversion. Therefore, the correction area Re is calculated in order to convert not only the achromatic color axis but also the vicinity of the achromatic color axis (S501). In the present embodiment, the color plane P1 on the achromatic color axis of the printer characteristic data Pc 1 is connected to the origin (achromatic color P0) of the hue plane in the lightness hue plane having a color space that is the preferred gray compensation shown in FIG. A correction area Re of the hue plane is defined by an ellipse having a line segment as a main axis. The definition of the correction area Re is not limited to an ellipse.

図6は補正領域Reを算出する処理の詳細を示すフローチャートである。補正領域Reを定義する楕円の中心G1(Ga, Gb)を下式で計算する(S601)。   FIG. 6 is a flowchart showing details of processing for calculating the correction area Re. The center G1 (Ga, Gb) of the ellipse that defines the correction area Re is calculated by the following equation (S601).

Ga = Pa/2, Gb = Pb/2 …(1)
ここで、Pa、Pbは色P1におけるCIECAM02の色度a、b
次に、無彩色P0と色P1の距離Eを下式で算出する(S602)。
Ga = Pa / 2, Gb = Pb / 2… (1)
Here, Pa and Pb are the chromaticities a and b of CIECAM02 in the color P1.
Next, the distance E between the achromatic color P0 and the color P1 is calculated by the following equation (S602).

E = √(Pa2 + Pb2) …(2)
次に、補正領域Reを定義する楕円の長軸L1を算出する(S603)。楕円の長軸L1は、パラメータαを用いて下式で計算する。
E = √ (Pa 2 + Pb 2 )… (2)
Next, the major axis L1 of the ellipse that defines the correction region Re is calculated (S603). The major axis L1 of the ellipse is calculated by the following equation using the parameter α.

L1 = E×α …(3)
次に、補正領域Reを定義する楕円の短軸L2を算出する(S604)。楕円の短軸L2は、パラメータβを用いて下式で計算する。
L1 = E × α (3)
Next, the minor axis L2 of the ellipse that defines the correction region Re is calculated (S604). The minor axis L2 of the ellipse is calculated by the following equation using the parameter β.

L2 = L1×β …(4)
パラメータαはα≧1の値で、値が大きいと補正領域Reにおける色変化は緩やかになるが、変換が影響する範囲が拡がる。逆に、値が小さいと変換が影響する範囲は狭まるが、領域Reの色変化が急になり、階調性が劣化する場合がある。また、パラメータβは楕円形状を決定するパラメータで、β=1であれば補正領域Reは円になる。パラメータβも、値が大きいと変換が影響する範囲が拡がり、値が小さいと補正領域Reの色変化が急になり階調性が劣化する場合がある。
L2 = L1 × β (4)
The parameter α is a value of α ≧ 1, and when the value is large, the color change in the correction region Re becomes gentle, but the range affected by the conversion is expanded. On the contrary, if the value is small, the range affected by the conversion is narrowed, but the color change in the region Re becomes sudden and the gradation may be deteriorated. The parameter β is a parameter for determining an elliptical shape. If β = 1, the correction region Re is a circle. If the value of the parameter β is large, the range affected by the conversion is expanded.

なお、上記Tc1では、一色相平面の補正領域Reの定義を説明したが、プリンタ特性データPc1の無彩色軸の範囲において、必要な数の色相平面の補正領域Reを定義することは言うまでもない。 In the above Tc 1 , the definition of the correction area Re of one hue plane has been described. Needless to say, the necessary number of correction areas Re of the hue plane are defined in the range of the achromatic color axis of the printer characteristic data Pc 1. Yes.

図5に戻り、プリンタ特性データPc1に含まれる各データがステップS501で定義した補正領域Re内の色か否かを判定し(S502)、補正領域内の色であれば、プリンタ特性データPc1の無彩色軸は明度軸上に変換し、無彩色軸の近傍の色も当該変換に追従するような処理を行う(S503)。この処理により、例えば図8に示すCIECAM02色空間のある明度の色相平面において、線分P1PB上の色PAは、下式に示す関係で、線分P0PB上の色PDへ写像される。 Returning to FIG. 5, it is determined whether each data included in the printer characteristic data Pc 1 is a color in the correction area Re defined in step S501 (S502). If the color is in the correction area, the printer characteristic data Pc is determined. The achromatic color axis of 1 is converted on the lightness axis, and processing is performed so that the color near the achromatic color axis follows the conversion (S503). This process, for example in the hue plane of lightness with CIECAM02 color space shown in FIG. 8, the color P A on the line segment P1P B is a relationship shown in the following formula, is mapped to the color P D on the line P0P B The

P1PA/P1PB = P0PD/P0PB …(5)
そして、ステップS504の判定により、プリンタ特性データPc1に含まれるすべての色(データ)についてステップS502およびS503の処理を繰り返す。
[目標色の無彩色軸を明度軸上へ変換する処理(S406)]
本処理は、図5から図7に示した処理において、色P1を、目標色データTc1の好適なグレイ軸上の色にするだけで、その他は同一の処理であるから、その詳細説明を省略する。
[ガマットマッピング(S409)]
図9は、色域圧縮部9が実行する、目標色の特性データTc1が示す色域をプリンタ特性データPC1が示す色域に圧縮するガマットマッピングを説明するフローチャートである。なお、本処理は、ステップS406で算出した目標色の特性データTc1が示す色域を入力色域に、ステップS405で算出したプリンタ特性データPC1が示す色域を出力色域に使用する。
P1P A / P1P B = P0P D / P0P B … (5)
Then, it is determined in step S504, for all the colors contained in the printer characteristic data Pc 1 (data) repeats the processing of steps S502 and S503.
[Process for converting the achromatic color axis of the target color onto the lightness axis (S406)]
This process, in the process shown in FIGS. 5-7, a color P1, only the colors on a suitable gray axis of the target color data Tc 1, the other because is the same process, a detailed description thereof will be Omitted.
[Gamut mapping (S409)]
FIG. 9 is a flowchart for explaining gamut mapping executed by the color gamut compressing unit 9 to compress the color gamut indicated by the target color characteristic data Tc 1 into the color gamut indicated by the printer characteristic data PC 1 . In this process, the color gamut indicated by the target color characteristic data Tc 1 calculated in step S406 is used as the input color gamut, and the color gamut indicated by the printer characteristic data PC 1 calculated in step S405 is used as the output color gamut.

まず、入力色信号Pの色相角を算出し、出力色域の色相角として、入力色域の色相角をそのまま使用する(S901)。   First, the hue angle of the input color signal P is calculated, and the hue angle of the input gamut is used as it is as the hue angle of the output gamut (S901).

次に、図10に示すように各明度値における、入力色域の最大彩度色(色域最外郭色)RGoを算出し(S902)、出力色域の色域最外郭色SGoを算出する(S903)。   Next, as shown in FIG. 10, the maximum saturation color (gamut outermost color) RGo of the input color gamut at each lightness value is calculated (S902), and the color gamut outermost color SGo of the output color gamut is calculated. (S903).

次に、入力色信号Pと所定のマッピング点Lst(例えば明度50%の点に設定する)を結ぶ線分λstを算出し(S904)、線分λstと入力色域の最外郭色RGoの交点Qを算出し(S905)、線分λstと出力色域の最外郭色SGoの交点Rを算出する(S906)。   Next, a line segment λst connecting the input color signal P and a predetermined mapping point Lst (for example, set to a point with 50% lightness) is calculated (S904), and the intersection of the line segment λst and the outermost color RGo of the input color gamut Q is calculated (S905), and the intersection R of the line segment λst and the outermost color SGo of the output color gamut is calculated (S906).

次に、マッピング点Lstと交点Qとの距離Sin(max)を算出し(S907)、マッピング点Lstと入力色信号Pの距離Sinを算出し(S908)、マッピング点Lstと交点Rの距離Sout(max)を算出する(S909)。   Next, the distance Sin (max) between the mapping point Lst and the intersection point Q is calculated (S907), the distance Sin between the mapping point Lst and the input color signal P is calculated (S908), and the distance Sout between the mapping point Lst and the intersection point R is calculated. (max) is calculated (S909).

次に、距離Sin、Sin(max)およびSout(max)に基づき、マッピング点Lstと出力色信号Xの距離Soutを設定し、言い換えれば、入力色信号Pを出力色信号Xにマッピングし(S910)、距離Soutから出力色信号Xを算出する(S911)。   Next, the distance Sout between the mapping point Lst and the output color signal X is set based on the distances Sin, Sin (max) and Sout (max), in other words, the input color signal P is mapped to the output color signal X (S910). The output color signal X is calculated from the distance Sout (S911).

図11はステップS910の処理を説明する図で、距離SinとSoutの関係を表す彩度圧縮関数である。入力色域の方が出力色域よりも大きい場合、図11に示すように、出力Soutは入力Sinをそのまま再現することができないため、入力Sin(max)に対して出力はSout(max)になる。彩度圧縮関数は、ある領域(例えば図11に示すSout(max)のα%)までは入力Sinを保持し、高彩度域では彩度を圧縮する。
[変形例]
上記では、中間明度における色度点は、CIECAM02における無彩色としたが、これに限定しない。色変換の目的によって変化させてよいことはいうまでもない。
FIG. 11 is a diagram for explaining the processing in step S910, which is a saturation compression function representing the relationship between the distances Sin and Sout. If the input color gamut is larger than the output color gamut, as shown in Fig. 11, the output Sout cannot reproduce the input Sin as it is, so the output will be Sout (max) relative to the input Sin (max). Become. The saturation compression function holds the input Sin up to a certain region (for example, α% of Sout (max) shown in FIG. 11), and compresses the saturation in the high saturation region.
[Modification]
In the above description, the chromaticity point at the intermediate brightness is an achromatic color in CIECAM02, but is not limited thereto. Needless to say, it may be changed according to the purpose of color conversion.

ガマットマッピング(S407)は、図9に示した処理に限定されるわけではなく、入力色域の色を出力色域内の、色差最小になる色に変換するなど、必要な精度、ガマットマッピングの目的に応じた処理を行えばよい。   Gamut mapping (S407) is not limited to the processing shown in Fig. 9, but the required accuracy and purpose of gamut mapping, such as converting the color in the input gamut to a color in the output gamut that minimizes the color difference, etc. Processing according to the above may be performed.

また、上記では、異なる色域を画像機器間のカラーマッチングにCIECAM02の色空間を使用する例を説明したが、色空間はこれに限定されるわけではなく、CIECAM97sなど、必要な精度、カラーマッチングの目的に応じた色空間を使用すればよい。   In the above example, the CIECAM02 color space is used for color matching between image devices with different color gamuts. However, the color space is not limited to this, and the required accuracy and color matching such as CIECAM97s It is sufficient to use a color space according to the purpose.

また、上記では、ターゲットプリンタで印刷したカラーチャートのカラーパッチを測色し、その測色結果を色再現の目標になる色域情報(特性データTc)にし、プリンタプロファイル記憶部14から画像出力装置3と記録紙に応じた色域情報(特性データPc)を取得して、プルーフを行う色処理を説明した。ターゲットプリンタの代りに画像表示装置2などのモニタに、カラーチャートを表示してカラーパッチを測色して特性データTcを作成すれば、モニタと画像出力装置3の間のカラーマッチングを実行することができる。   In the above, color measurement is performed on the color patch of the color chart printed by the target printer, and the color measurement result is used as color gamut information (characteristic data Tc) that is a target for color reproduction. 3 and the color processing for obtaining the color gamut information (characteristic data Pc) corresponding to the recording paper and performing proofing has been described. Perform color matching between the monitor and the image output device 3 by displaying the color chart on the monitor such as the image display device 2 instead of the target printer and measuring the color patch to create the characteristic data Tc. Can do.

このように、異なる色域をもつ画像機器間のカラーマッチングにおいて、第一の画像機器の無彩色軸と、色域が狭い第二の画像機器の無彩色軸を、見た目に忠実な色空間(例えばCIECAM02)の無彩色軸に合わせた上で、第一の画像機器の色を第二の画像機器の色域の等色相角上に変換(階調性を保ちつつ圧縮)し、さらに、第二の画像機器の無彩色軸の色信号を、第一の画像機器のグレイ色と見た目に等しいまたは近い、好適なグレイ色を再現する色信号に変換することで、見た目の違和感が少ない自然な色再現が可能になる。   Thus, in color matching between image devices having different color gamuts, the achromatic color axis of the first image device and the achromatic color axis of the second image device having a narrow color gamut are visually faithful color space ( For example, after matching the achromatic color axis of CIECAM02), the color of the first image device is converted to the same hue angle of the color gamut of the second image device (compressed while maintaining gradation), and By converting the color signal of the achromatic axis of the second image device to a color signal that reproduces a suitable gray color that is the same or close to the gray color of the first image device, it is natural that there is little discomfort to the eye Color reproduction is possible.

以下、本発明にかかる実施例2の画像処理を説明する。なお、実施例2において、実施例1と略同様の構成については、同一符号を付して、その詳細説明を省略する。
[システムの構成]
図15は実施例2の画像出力システムの構成例を示すブロック図である。
The image processing according to the second embodiment of the present invention will be described below. Note that the same reference numerals in the second embodiment denote the same parts as in the first embodiment, and a detailed description thereof will be omitted.
[System configuration]
FIG. 15 is a block diagram illustrating a configuration example of the image output system according to the second embodiment.

画像出力システムを制御するパーソナルコンピュータ(PC) 401は、スキャナ406により原稿画像を読み取り、その画像データを取得し、モニタ402に画像を表示し、プリンタ403により記録紙に画像を印刷する。   A personal computer (PC) 401 that controls the image output system reads an original image by a scanner 406, acquires the image data, displays the image on a monitor 402, and prints the image on a recording sheet by a printer 403.

また、PC 401は、印刷する画像の色合いを調整するために、プリンタ403を用いて、記録紙にテストチャートを印刷する。図15に示すテストチャート405は、ユーザがプリンタ403にセットした記録紙Aに印刷したテストチャートであり、テストチャート406は、ユーザがプリンタ403にセットした、記録紙Aと異なる記録紙Bに印刷したテストチャートである。なお、このテストチャートを印刷するための画像データは、RGB9段階のデータ(729色)をA4サイズの記録紙一枚に印刷できるようなデータで、かつ、ユーザが望む出力環境(プリンタおよび記録紙)の色再現性を取得可能なデータが好ましい。   In addition, the PC 401 prints a test chart on a recording sheet using the printer 403 in order to adjust the hue of an image to be printed. The test chart 405 shown in FIG. 15 is a test chart printed on the recording paper A set by the user on the printer 403, and the test chart 406 is printed on the recording paper B different from the recording paper A set by the user on the printer 403. It is a test chart. The image data for printing this test chart is data that can print RGB 9-level data (729 colors) on a single A4 size recording paper, and the output environment (printer and recording paper desired by the user) Data that can acquire the color reproducibility of) is preferable.

PC 401上では、オペレーティングシステム(OS) 412が稼働し、OS 412の下で、画像処理用のアプリケーション407、アプリケーション407とプリンタ403の間をつなぐプリンタドライバ408などが稼働する。なお、図には示さないが、原稿画像を読み取る場合はスキャナドライバも稼働する。   An operating system (OS) 412 operates on the PC 401, and under the OS 412, an image processing application 407, a printer driver 408 that connects the application 407 and the printer 403, and the like operate. Although not shown in the figure, the scanner driver also operates when reading a document image.

プリンタドライバ408には、色変換プロファイルを記憶したデフォルトプロファイル記憶部409、ユーザの希望に合わせてプロファイルを作成するプロファイル作成処理部410、プロファイル作成処理部410が作成したプロファイルをプリンタドライバ408が管理するメモリ領域に記憶するためのプロファイル追加処理部411などが存在する。   The printer driver 408 manages a default profile storage unit 409 that stores a color conversion profile, a profile creation processing unit 410 that creates a profile according to a user's request, and a profile created by the profile creation processing unit 410. There is a profile addition processing unit 411 for storing in the memory area.

なお、OS 412、アプリケーション407、プリンタドライバ408などはハードディスクなどの不揮発性メモリに記憶され、必要に応じて、PC 401のCPUによりRAMなどのワークメモリにロードされ、実行されることは言うまでもない。
[ユーザインタフェイス]
図16は、ユーザがアプリケーション407のメニューで「印刷」を指示した場合に、プリンタドライバ408によってモニタ402に表示される印刷設定画面101の一例を示す図である。
Needless to say, the OS 412, the application 407, the printer driver 408, and the like are stored in a nonvolatile memory such as a hard disk, and are loaded into a work memory such as a RAM by the CPU of the PC 401 and executed as necessary.
[User interface]
FIG. 16 is a diagram illustrating an example of a print setting screen 101 displayed on the monitor 402 by the printer driver 408 when the user instructs “print” from the menu of the application 407.

ユーザは、印刷設定画面101に配置された、記録紙の種類を選択するためのプルダウンメニュー102、印刷品位を選択するためのラジオボタン103、色調整を切り換えるためのラジオボタン104を操作し、「印刷」ボタン105をマウスなどでクリックすると、プリンタ403によって画像を印刷することができる。また、「キャンセル」ボタン106をクリックすれば印刷をキャンセルすることができる。   The user operates a pull-down menu 102 for selecting the type of recording paper, a radio button 103 for selecting print quality, and a radio button 104 for switching color adjustment, which are arranged on the print setting screen 101. When the “print” button 105 is clicked with a mouse or the like, an image can be printed by the printer 403. If the “Cancel” button 106 is clicked, printing can be canceled.

プリンタドライバ408は、色調整ラジオボタン104の「自動」が選択された状態で、「印刷」ボタン105がクリックされると、デフォルトプロファイル記憶部409に記憶されたプロファイルを用いて画像をプリンタ403用に色変換する。一方、色調整ラジオボタン104の「マニュアル調整」が選択された状態で、「印刷」ボタン105がクリックされると、図17に示すマニュアル色調整画面201をモニタ402に表示する。   When the “automatic” color adjustment radio button 104 is selected and the “print” button 105 is clicked, the printer driver 408 uses the profile stored in the default profile storage unit 409 to print an image for the printer 403. Convert color to. On the other hand, when the “print” button 105 is clicked in a state where “manual adjustment” of the color adjustment radio button 104 is selected, a manual color adjustment screen 201 shown in FIG.

ユーザは、マニュア色調整画面201に配置された、カラーバランス設定部208の各色のスライダバー202を操作することで、カラーバランスを調整することができる。また、間珍具方法設定部209のプルダウンメニュー203によって所望するマッチング方法を設定することができる。さらに、ユーザが所望する色合いを実現するために、色変換のターゲットを指定するためのチェックボックス204がある。ターゲット指定用のチェックボックス204をチェックすると、プルダウンメニュー205によるターゲットの選択が可能になる。ユーザは、プルダウンメニュー205によって、既に作成したプロファイルを選択することが可能であるが、新規作成を選択することも可能である。プリンタドライバ408は、新規作成が選択され、「OK」ボタン206がクリックされると図2に示す処理を開始する。   The user can adjust the color balance by operating the slider bar 202 of each color of the color balance setting unit 208 arranged on the manual color adjustment screen 201. In addition, a desired matching method can be set by a pull-down menu 203 of the odd tool method setting unit 209. Further, there is a check box 204 for designating a target for color conversion in order to realize a hue desired by the user. When the check box 204 for specifying a target is checked, a target can be selected from the pull-down menu 205. The user can select a profile that has already been created using the pull-down menu 205, but can also select a new creation. The printer driver 408 starts the processing shown in FIG. 2 when new creation is selected and the “OK” button 206 is clicked.

また、ターゲット指定用のチェックボックス204がオフ(未チェック)、あるいは、オンでもプルダウンメニュー205でプロファイルが選択された状態で、「OK」ボタン206がクリックされると、プリンタドライバ408の処理は、図16の印刷設定画面101に戻る。
[プロファイルの作成]
図2はプロファイル作成処理部410が実行するプロファイルの作成処理を示すフローチャートである。
If the “OK” button 206 is clicked when the target designation check box 204 is off (unchecked) or the profile is selected from the pull-down menu 205 even when the check box 204 is on, the processing of the printer driver 408 is as follows. Returning to the print setting screen 101 in FIG.
[Create profile]
FIG. 2 is a flowchart showing profile creation processing executed by the profile creation processing unit 410.

まず、プロファイル作成処理部410は、図4に示すプロファイル作成画面301をモニタ402に表示し(S500)、ユーザのターゲットデータTcを取得する(S501)。ユーザは、図4に示すプロファイル作成画面301のターゲットデータ取得用のラジオボタン308によって参照または読み取りを指定する。事前にターゲットデータTcを測色(取得)済みの場合、ユーザは参照を指定し、PC 401のハードディスクなどに格納したターゲットデータTcのファイル名を入力部302に入力するか、参照ボタンを押して当該ファイルを選択する。また、ターゲットデータが未取得の場合、ユーザは読み取りを指定し、スキャナ406にターゲットのカラーチャートをセットした後、読み取り開始ボタン303をクリックする。プロファイル作成処理部410は、ターゲットデータを参照またはスキャナ406から取得する。   First, the profile creation processing unit 410 displays the profile creation screen 301 shown in FIG. 4 on the monitor 402 (S500), and obtains user target data Tc (S501). The user designates reference or reading using the target data acquisition radio button 308 on the profile creation screen 301 shown in FIG. When the target data Tc has been colorimetric (acquired) in advance, the user designates the reference and inputs the file name of the target data Tc stored in the hard disk of the PC 401 into the input unit 302 or presses the reference button to Select a file. If the target data has not been acquired, the user designates reading, sets the target color chart in the scanner 406, and then clicks the reading start button 303. The profile creation processing unit 410 acquires target data from the reference or scanner 406.

ターゲットのカラーチャートは、例えば、画像レタッチソフトを用いてテストチャートの各パッチの画像データを調整し、印刷して得た、ユーザが好ましい色と感じる色のパッチが印刷されたチャートである。その際、ユーザ自ら調整を行う必要はなく、調整に慣れた者に依頼して、好ましいと感じる色のカラーチャートを作成すればよい。そして、このカラーチャートを、写真用、グラフィックス用、ビジネスカラー用など画像の属性に応じて用意すれば、印刷する画像の属性に応じたターゲットデータを用意することができる。勿論、このカラーチャートは、ユーザが使用する、図15に示す印刷システムで印刷する必要はなく、他の印刷システムで、あるいは、過去に使っていたプリンタで印刷したカラーチャートでよい。   The target color chart is, for example, a chart printed with patches of colors that the user feels are preferable colors obtained by adjusting and printing the image data of each patch of the test chart using image retouching software. At that time, it is not necessary for the user to make adjustments, but a person who is used to the adjustment may be asked to create a color chart of colors that he / she finds desirable. If this color chart is prepared according to image attributes such as for photographs, graphics, and business colors, target data corresponding to the attributes of the image to be printed can be prepared. Of course, this color chart need not be printed by the printing system shown in FIG. 15 used by the user, but may be a color chart printed by another printing system or by a printer used in the past.

次に、プロファイル作成処理部410は、ユーザの出力条件Pcを取得する(S502)。ユーザは、出力条件Pcを設定するために、プリンタ403に所望する記録紙をセットした後、「チャート印刷」ボタン304をクリックする。プロファイル作成処理部410は、テストチャートの印刷命令がプリンタ403に出力し、テストチャートを印刷する。ユーザは、このテストチャートをスキャナ406にセットした後、「スキャナ読み取り」ボタン305をクリックする。プロファイル作成処理部410は、出力条件Pcをスキャナ406から取得する。   Next, the profile creation processing unit 410 acquires the user's output condition Pc (S502). The user clicks a “chart print” button 304 after setting desired recording paper in the printer 403 in order to set the output condition Pc. The profile creation processing unit 410 outputs a test chart print command to the printer 403 and prints the test chart. The user clicks the “scanner reading” button 305 after setting the test chart on the scanner 406. The profile creation processing unit 410 acquires the output condition Pc from the scanner 406.

次に、プロファイル作成処理部410は、作成するプロファイルの名称(またはファイル名)を受け付ける(S503)。ユーザは、入力部306にプロファイル名を入力する。このプロファイル名は、図17のターゲット指定用のプルダウンメニュー205の操作において識別し易い名称が好ましい。ユーザがプロファイル名を入力後、「プロファイル作成」ボタン307をクリックすること、プロファイル作成処理部410は、ユーザが設定した出力環境(出力条件Pc)下において、ユーザが指定した色合い(ターゲットデータTc)に一致するように色変換するためのプロファイル(色変換テーブル)の作成を開始する。   Next, the profile creation processing unit 410 receives the name (or file name) of the profile to be created (S503). The user inputs a profile name in the input unit 306. The profile name is preferably a name that can be easily identified in the operation of the pull-down menu 205 for specifying a target in FIG. When the user inputs the profile name and then clicks the “create profile” button 307, the profile creation processing unit 410 causes the color specified by the user (target data Tc) under the output environment (output condition Pc) set by the user. The creation of a profile (color conversion table) for color conversion so as to match the above is started.

まず、人の視覚特性に近いアピアランス色空間などを利用して、取得した出力条件Pcを均等色空間のデータPc1に変換し(S504)、同様に、ターゲットデータTcを均等色空間のデータTc1に変換する(S505)。アピアランス色空間の例としては、CIECAM97sやCIECAM02などが挙げられる。以下では、見た目に忠実な色空間としてCIECAM02を用いた色変換を例に説明するが、これに限定されるわけではない。 First, using an appearance color space close to human visual characteristics, the acquired output condition Pc is converted to uniform color space data Pc 1 (S504), and similarly, the target data Tc is converted to uniform color space data Tc. Conversion to 1 (S505). Examples of appearance color spaces include CIECAM97s and CIECAM02. Hereinafter, color conversion using CIECAM02 as an example of a color space faithful to the appearance will be described as an example, but the present invention is not limited to this.

次に、出力条件Pc1のR=G=Bの色信号に対応する無彩色軸をCIECAM02色空間の明度軸へ変換し(S506)、同様に、ターゲットデータTc1のR=G=Bの色信号に対応する無彩色軸をCIECAM02色空間の明度軸へ変換する(S507)。 Next, the achromatic color axis corresponding to the color signal of R = G = B of the output condition Pc 1 is converted to the brightness axis of the CIECAM02 color space (S506), and similarly, R = G = B of the target data Tc 1 The achromatic color axis corresponding to the color signal is converted into the brightness axis of the CIECAM02 color space (S507).

次に、ステップS506およびS507の処理によって決まる色域を用いて、ターゲットデータTc1が示す色域を、出力条件Pc1が示す色域内にマッピングする処理を行い(S508)、ターゲットデータのR=G=B(無彩色軸)に対応する、出力条件Pc1が示す色域内にマッピングした色信号を、出力条件Pc1の白色および黒色に応じた好ましいグレイ色へ変換する(S509)。 Next, using the color gamut determined by the processing of steps S506 and S507, the process of mapping the color gamut indicated by the target data Tc 1 into the color gamut indicated by the output condition Pc 1 is performed (S508), and R = The color signal mapped in the color gamut indicated by the output condition Pc 1 corresponding to G = B (achromatic color axis) is converted into a preferred gray color corresponding to the white and black of the output condition Pc 1 (S509).

次に、ステップS509の処理によって決まる色域を、均等色空間から測色的な色空間へ変換する(S510)。測色的な色空間とは、例えばCIELABのような色空間である。続いて、ステップS510までの処理で得られた色信号RGBと測色値の対応関係、並びに、ステップS502で取得した出力条件Pcから、色変換テーブルを作成する(S511)。   Next, the color gamut determined by the processing in step S509 is converted from a uniform color space to a colorimetric color space (S510). The colorimetric color space is a color space such as CIELAB. Subsequently, a color conversion table is created from the correspondence between the color signal RGB and the colorimetric values obtained in the processing up to step S510, and the output condition Pc acquired in step S502 (S511).

このようにして作成した色変換テーブル(プロファイル)は、プロファイル追加処理部411により、プリンタドライバ408が管理するメモリ領域に記憶され、図17に示すターゲット指定用のプルダウンメニュー205によって指定(選択)可能になる。
[変形例]
図12に示すように、マニュアル色調整画面201のプルダウンメニュー205から選択可能なプロファイルとして、プリンタドライバ408に、プリンタ機種に対応するプロファイルを記憶しておくこともできる。このようにすれば、プリンタの故障や機能アップのためにプリンタの機種を変更した場合も、過去に使用していたプリンタの機種に対応するプロファイルをターゲットデータに指定することで、出力画像の色合いの変化を最小にすることができる。製造または販売が終了したプリンタ機種のプロファイルを記憶しておけば、とくに有効である。
The color conversion table (profile) created in this way is stored in the memory area managed by the printer driver 408 by the profile addition processing unit 411, and can be specified (selected) by the pull-down menu 205 for target specification shown in FIG. become.
[Modification]
As shown in FIG. 12, a profile corresponding to the printer model can be stored in the printer driver 408 as a profile that can be selected from the pull-down menu 205 of the manual color adjustment screen 201. In this way, even if the printer model is changed due to a printer failure or functional enhancement, the color of the output image can be specified by specifying the profile corresponding to the printer model used in the past as the target data. Changes can be minimized. It is particularly effective to store a profile of a printer model that has been manufactured or sold.

また、実施例2の無彩色軸に関する変換においても、実施例1と同様に、無彩色軸上の色だけではなく、無彩色軸近傍の色も変換することが好ましい。   Also in the conversion related to the achromatic color axis in the second embodiment, it is preferable to convert not only the color on the achromatic color axis but also the color in the vicinity of the achromatic color axis as in the first embodiment.

このように、任意のプリンタ環境(使用するプリンタの機種や使用する記録紙の種類)において、所望する色合いの印刷物を得るまでに試行錯誤を繰り返して色合いを調整するといったユーザの負担をなくして、ユーザが望む色合いを容易に実現することができる。
[他の実施例]
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。
In this way, in any printer environment (the type of printer to be used and the type of recording paper to be used), the burden on the user of adjusting the hue by repeating trial and error until obtaining a printed matter with a desired hue is eliminated. The color desired by the user can be easily realized.
[Other embodiments]
Note that the present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, and a printer), and a device (for example, a copying machine and a facsimile device) including a single device. You may apply to.

また、本発明の目的は、前述した実施例の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施例の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施例の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施例の機能が実現される場合も含まれることは言うまでもない。   Also, an object of the present invention is to supply a storage medium (or recording medium) on which a program code of software that realizes the functions of the above-described embodiments is recorded to a system or apparatus, and to computer (or CPU or CPU) of the system or apparatus Needless to say, this can also be achieved by the MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施例の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. Needless to say, the CPU of the expansion card or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するプログラムコードが格納されることになる。   When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.

画像処理部が実行する画像処理を示すフローチャートFlow chart showing image processing executed by image processing unit プロファイル作成処理部が実行するプロファイルの作成処理を示すフローチャートFlowchart showing profile creation processing executed by the profile creation processing unit 実施例1の画像処理装置の構成例を示すブロック図1 is a block diagram illustrating a configuration example of an image processing apparatus according to a first embodiment. プロファイル作成画面の一例を示す図Figure showing an example of the profile creation screen プリンタ特性データの無彩色軸を明度軸上へ変換する処理の詳細を示すフローチャートFlowchart showing details of processing for converting achromatic color axis of printer characteristic data onto lightness axis 補正領域を算出する処理の詳細を示すフローチャートFlow chart showing details of processing for calculating correction area 補正領域の定義を説明する図Diagram explaining the definition of the correction area 無彩色軸およびその近傍の色の変換を説明する図The figure explaining the conversion of the achromatic color axis and the color in the vicinity 目標色の色域をプリンタの色域に圧縮するガマットマッピングを説明するフローチャートFlowchart for explaining gamut mapping for compressing the target color gamut into the printer gamut ガマットマッピングを説明する模式図Schematic diagram explaining gamut mapping 彩度圧縮関数を説明する図Diagram explaining the saturation compression function マニュアル色調整画面の第二例を示す図である。It is a figure which shows the 2nd example of a manual color adjustment screen. モニタの色域とプリンタの色域、および、機器に固有の無彩色軸を表す図Diagram showing monitor gamut, printer gamut, and achromatic axis specific to the device 異なる記録紙および異なるプリンタの色域、並びに、各記録紙に固有の無彩色軸を表す図Diagram showing the color gamuts of different recording papers and different printers, and the achromatic color axis unique to each recording paper 画像出力システムの構成例を示すブロック図Block diagram showing a configuration example of an image output system 印刷設定画面の一例を示す図Figure showing an example of the print settings screen マニュアル色調整画面の一例を示す図Diagram showing an example of the manual color adjustment screen

Claims (9)

異なる色域をもつ画像機器間の色処理方法であって、
第一および第二の画像機器のアピアランス色空間の色域情報を取得する取得ステップと、
前記色域情報の無彩色軸の色信号を第一および第二の画像機器に応じた好ましいグレイ軸の色信号に変換する第一の変換ステップと、
前記第一の変換ステップの後、前記第一の画像機器の色域情報が示す色域を、前記第二の画像機器の色域情報が示す色域内へマッピングするマッピングステップとを有することを特徴とする色処理方法。
A color processing method between image devices having different color gamuts,
An acquisition step of acquiring color gamut information of the appearance color space of the first and second imaging devices;
A first conversion step of converting a color signal of the achromatic color axis of the color gamut information into a color signal of a preferable gray axis corresponding to the first and second imaging devices;
A mapping step of mapping the color gamut indicated by the color gamut information of the first image device into the color gamut indicated by the color gamut information of the second image device after the first conversion step; Color processing method.
前記第一の変換ステップは、前記無彩色軸の近傍の色信号を前記好ましいグレイ軸の近傍の色信号に変換する処理を含むことを特徴とする請求項1に記載された色処理方法。   2. The color processing method according to claim 1, wherein the first conversion step includes a process of converting a color signal near the achromatic color axis into a color signal near the preferred gray axis. 異なる色域をもつ画像機器間の色処理装置であって、
第一および第二の画像機器のアピアランス色空間の色域情報を取得する取得手段と、
前記色域情報の無彩色軸の色信号を第一および第二の画像機器に応じた好ましいグレイ軸の色信号に変換する第一の変換手段と、
前記第一の変換手段の処理後、前記第一の画像機器の色域情報が示す色域を、前記第二の画像機器の色域情報が示す色域内へマッピングするマッピング手段とを有することを特徴とする色処理装置。
A color processing device between image devices having different color gamuts,
Obtaining means for obtaining color gamut information of the appearance color space of the first and second imaging devices;
A first conversion means for converting the color signal of the achromatic color axis of the color gamut information into a color signal of a preferred gray axis corresponding to the first and second image devices;
Mapping means for mapping the color gamut indicated by the color gamut information of the first image device into the color gamut indicated by the color gamut information of the second image device after the processing of the first conversion means; A featured color processing apparatus.
画像機器が再現する色合いを調整する色処理方法であって、
目標とする色合いを示す第一の色情報、および、前記画像機器の出力色を示す第二の色情報を取得する取得ステップと、
前記色情報をアピアランス色空間の色情報に変換する第一の変換ステップと、
前記色情報の無彩色軸の色信号を第一および第二の画像機器に応じた好ましいグレイ軸の色信号に変換する第二の変換ステップと、
前記第一の変換ステップの後、前記第一の色情報が示す色域を、前記第二の色情報が示す色域内へマッピングするマッピングステップと、
前記マッピングステップの処理結果から、前記画像機器に前記目標とする色合いを再現させるための色変換テーブルを作成する作成ステップとを有することを特徴とする色処理方法。
A color processing method for adjusting a hue reproduced by an imaging device,
An acquisition step of acquiring first color information indicating a target hue, and second color information indicating an output color of the imaging device;
A first conversion step of converting the color information into appearance color space color information;
A second conversion step of converting the achromatic color axis color signal of the color information into a preferred gray axis color signal corresponding to the first and second imaging devices;
After the first conversion step, a mapping step for mapping the color gamut indicated by the first color information into the color gamut indicated by the second color information;
A color processing method comprising: creating a color conversion table for causing the image device to reproduce the target hue from the processing result of the mapping step.
さらに、製造または販売が終了した画像機器の色合いを示す情報を前記第一の情報としてメモリに格納する格納ステップと、
前記メモリに記憶された、取得すべき前記第一の情報を選択する選択ステップとを有することを特徴とする請求項4に記載された色処理方法。
A storage step of storing in the memory information indicating the hue of the image equipment that has been manufactured or sold as the first information;
5. The color processing method according to claim 4, further comprising a selection step of selecting the first information to be acquired stored in the memory.
さらに、メモリに記憶された色変換テーブルを選択する選択ステップと、
前記選択ステップで選択した色変換テーブルによって色処理を行う処理ステップを有することを特徴とする請求項5または請求項5に記載された色処理方法。
A selection step for selecting a color conversion table stored in the memory;
6. The color processing method according to claim 5, further comprising a processing step of performing color processing using the color conversion table selected in the selection step.
画像機器が再現する色合いを調整する色処理装置であって、
目標とする色合いを示す第一の色情報、および、前記画像機器の出力色を示す第二の色情報を取得する取得手段と、
前記色情報をアピアランス色空間の色情報に変換する第一の変換手段と、
前記色情報の無彩色軸の色信号を第一および第二の画像機器に応じた好ましいグレイ軸の色信号に変換する第二の変換手段と、
前記第一の変換手段の処理後、前記第一の色情報が示す色域を、前記第二の色情報が示す色域内へマッピングするマッピング手段と、
前記マッピング手段の処理結果から、前記画像機器に前記目標とする色合いを再現させるための色変換テーブルを作成する作成手段とを有することを特徴とする色処理装置。
A color processing device that adjusts the hue reproduced by an imaging device,
Acquisition means for acquiring first color information indicating a target hue and second color information indicating an output color of the imaging device;
First conversion means for converting the color information into color information of an appearance color space;
Second conversion means for converting the color signal of the achromatic color axis of the color information into a color signal of a preferred gray axis corresponding to the first and second image devices;
Mapping means for mapping the color gamut indicated by the first color information into the color gamut indicated by the second color information after the processing of the first conversion means;
A color processing apparatus comprising: a creation unit that creates a color conversion table for causing the image device to reproduce the target color tone from the processing result of the mapping unit.
画像処理装置を制御して、請求項1から請求項2、請求項4から請求項6の何れかに記載された色処理を実現することを特徴とするプログラム。   A program for controlling the image processing apparatus to realize the color processing according to any one of claims 1 to 2 and claims 4 to 6. 請求項8に記載されたプログラムが記録されたことを特徴とする記録媒体。   A recording medium on which the program according to claim 8 is recorded.
JP2006249575A 2006-09-14 2006-09-14 Color processing device and method Withdrawn JP2008072476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006249575A JP2008072476A (en) 2006-09-14 2006-09-14 Color processing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006249575A JP2008072476A (en) 2006-09-14 2006-09-14 Color processing device and method

Publications (1)

Publication Number Publication Date
JP2008072476A true JP2008072476A (en) 2008-03-27

Family

ID=39293657

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006249575A Withdrawn JP2008072476A (en) 2006-09-14 2006-09-14 Color processing device and method

Country Status (1)

Country Link
JP (1) JP2008072476A (en)

Similar Documents

Publication Publication Date Title
JP4367943B2 (en) Color processing apparatus and method
US7450281B2 (en) Image processing apparatus and information processing apparatus, and method thereof
JP3890211B2 (en) Image processing method, image processing apparatus, program, and storage medium
KR100739731B1 (en) Image processing method and apparatus for printing displayed image
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
JP5153607B2 (en) Image processing apparatus, image processing method, and image processing program
US8204304B2 (en) Color gamut mapping by forming curved cross-sectional surfaces
US7982911B2 (en) Color conversion coefficient creating device, color conversion coefficient creating method, and computer readable medium storing a program for color conversion coefficient creation
JP2002359748A (en) Medium for recording color transformation program, color transformation program, method for generating color transformation table, medium for recording color transformation table data, color transformation device, color transformation method and color transformation table
JP5329920B2 (en) Color processing apparatus and method
EP2421242B1 (en) Print controlling terminal and method for compensating colors
US8427696B2 (en) Color processing method and apparatus thereof
WO2003003716A1 (en) Image processing device, image processing method, program, and recording medium
JP2014165656A (en) Color profile generation device, image processing apparatus, image processing system, color profile generation method and program
US7843606B2 (en) Color converter, color converting method, and computer readable medium
JP4944413B2 (en) Information processing method, computer program, computer-readable storage medium, and information processing apparatus
JP2008160307A (en) Image processor and its control method
JP4985162B2 (en) Color gamut generation device, color gamut generation program, and color conversion device
JP2008072476A (en) Color processing device and method
JP2009038593A (en) Color processing apparatus and method
JP2007081742A (en) Method for processing color and device therefor
JP7490997B2 (en) Image forming apparatus, image forming method, and image forming program
JP2005260801A (en) Image processor and image processing method
JP2021141358A (en) Image processing device, method, and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20091201