[go: up one dir, main page]

JP2001094799A - Image processing method, apparatus and recording medium - Google Patents

Image processing method, apparatus and recording medium

Info

Publication number
JP2001094799A
JP2001094799A JP26390499A JP26390499A JP2001094799A JP 2001094799 A JP2001094799 A JP 2001094799A JP 26390499 A JP26390499 A JP 26390499A JP 26390499 A JP26390499 A JP 26390499A JP 2001094799 A JP2001094799 A JP 2001094799A
Authority
JP
Japan
Prior art keywords
color
color gamut
signal
gamut
mapping
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
JP26390499A
Other languages
Japanese (ja)
Inventor
Hirochika Matsuoka
寛親 松岡
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 JP26390499A priority Critical patent/JP2001094799A/en
Priority to US09/467,984 priority patent/US7116441B1/en
Publication of JP2001094799A publication Critical patent/JP2001094799A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】 入出力装置における色再現域の形状の相違を
良好に吸収し、高品質の出力画像を得ることができるよ
うにすることを目的とする。 【解決手段】 第1の色再現域における色信号を、第2
の色再現域における色信号へ写像変換する画像処理方法
であって、第1の色再現域における色信号を第3の色再
現域における色信号に写像変換する第1の信号変換工程
と、前記第3の色再現域の境界と前記第2の色再現域の
境界に基づき、前記第3の色再現域に対する明度補正条
件を算出する算出工程と、前記明度補正条件に基づき、
色度を保持しつつ前記第3の色再現域の明度を調整する
第2の信号変換工程とを有する。
(57) [Problem] To provide a high-quality output image by favorably absorbing a difference in shape of a color gamut in an input / output device. A color signal in a first color gamut is converted to a second color signal.
An image processing method for performing mapping conversion to a color signal in a color reproduction gamut, wherein a first signal conversion step of mapping conversion of a color signal in a first color gamut to a color signal in a third color gamut; A calculating step of calculating a lightness correction condition for the third color gamut based on a boundary of a third color gamut and the boundary of the second color gamut;
And a second signal conversion step of adjusting the lightness of the third color gamut while maintaining the chromaticity.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ガマットマッピン
グを行う画像処理方法、装置および記録媒体に関する。
The present invention relates to an image processing method, apparatus, and recording medium for performing gamut mapping.

【0002】[0002]

【従来の技術】近年、パーソナルコンピュータ/ワーク
ステーションの普及に伴い、デスクトップ・パブリッシ
ング(DTP)やCADが広く一般に使用されるように
なってきた。このような中、コンピュータによってモニ
タ上で表現される色を実際に色材を用いて再現する色再
現技術が重要となってきている。例えばDYPにおいて
は、カラーモニタとカラープリンタとを有するコンピュ
ータシステムにおいて、モニタ上にてカラー画像の作成
/編集/加工等を行い、カラープリンタで出力する。こ
こでユーザは、モニタ上のカラー画像とプリンタ出力画
像とが知覚的に一致していることを強く望む。しかしな
がら色再現技術において、カラー画像とプリンタ出力画
像とにおいてこのような知覚上の一致を図ることには困
難が伴う。この困難さは以下の理由による。
2. Description of the Related Art In recent years, with the spread of personal computers / workstations, desktop publishing (DTP) and CAD have been widely and generally used. Under such circumstances, a color reproduction technology for actually reproducing colors expressed on a monitor by a computer using color materials has become important. For example, in DYP, in a computer system having a color monitor and a color printer, a color image is created / edited / processed on a monitor and output by a color printer. Here, the user strongly desires that the color image on the monitor and the printer output image match perceptually. However, in color reproduction technology, it is difficult to achieve such a perceptual match between a color image and a printer output image. This difficulty is due to the following reasons.

【0003】カラーモニタにおいては、蛍光体を用いて
特定波長の光を発光することによりカラー画像を表現す
る。他方、カラープリンタにおいてはインク等を用いて
特定波長の光を吸収し、残りの反射光によってカラー画
像を表現する。このように画像表示形態が異なることに
起因して、両者を比較すると色再現域が大きく異なる。
さらに、カラーモニタであっても、液晶モニタと電子銃
方式のブラウン管とプラズマ方式のモニタとでは色再現
域が異なる。カラープリンタにあっても、紙質等の相違
やインクの使用量の相違等により色再現域が異なる。こ
のため、カラーモニタ上の画像とカラープリンタ出力画
像、あるいは複数種の機種、複数種の紙質にて出力した
カラープリンタ出力画像において、これらの画像の色を
測色的な意味において完全に一致させることは不可能で
ある。従って、各出力媒体における表示カラー画像を人
間が知覚するとき、各画像間に大きな差異を感じる。
In a color monitor, a color image is expressed by emitting light of a specific wavelength using a phosphor. On the other hand, in a color printer, light of a specific wavelength is absorbed using ink or the like, and a color image is expressed by the remaining reflected light. As described above, due to the difference in the image display form, the color gamut is greatly different when the two are compared.
Further, even in the case of a color monitor, the color reproduction range is different between a liquid crystal monitor, an electron gun type cathode ray tube, and a plasma type monitor. Even in a color printer, the color gamut is different due to a difference in paper quality and the like, a difference in the amount of ink used, and the like. For this reason, in an image on a color monitor and an output image of a color printer, or in an output image of a color printer output on a plurality of types and types of paper, the colors of these images are completely matched in a colorimetric sense. It is impossible. Therefore, when a display color image on each output medium is perceived by a human, a great difference is felt between the images.

【0004】ここで、これら色再現域の異なる表示媒体
間において、表示カラー画像の知覚上の相違を吸収し、
表示画像の知覚的一致を図る為の技術として、均等表色
系を用いて、ある色再現域を別の色再現域内へ写像する
ガマットマッピング技術が存在する。ガマットマッピン
グ技術の一例としては、均等表色系において各色相毎に
明度−彩度次元において線形写像を行う技術等が存在す
る。かかる技術に依れば、図3の模式図に示すようなモ
ニタ色再現域は、図19の模式図に示すようなプリンタ
色再現域内へ写像される。
[0004] Here, the perceptual difference of a display color image is absorbed between display media having different color reproduction ranges,
As a technique for achieving a perceptual coincidence of display images, there is a gamut mapping technique for mapping a certain color gamut into another color gamut using a uniform color system. As an example of the gamut mapping technique, there is a technique of performing a linear mapping in a lightness-chroma dimension for each hue in a uniform color system. According to such a technique, the monitor color gamut as shown in the schematic diagram of FIG. 3 is mapped into the printer color gamut as shown in the schematic diagram of FIG.

【0005】[0005]

【発明が解決しようとしている課題】ところが上記の様
な従来の技術に依り補正されて出力される画像は、一般
に知覚上好ましくない。係る問題を解決するために、低
彩度部の彩度や中明度部の明度を保存するような非線型
なガマットマッピングが有効である。しかしながら、モ
ニタ色再現域とプリンタ色再現域とは形状が大きく異な
るため、前記非線型ガマットマッピングを用いた場合に
おいても色の見えが不自然となる場合が多々存在する。
However, an image corrected and output according to the above-described conventional technique is generally not perceptually preferable. In order to solve such a problem, a non-linear gamut mapping that preserves the saturation of the low saturation portion and the brightness of the medium brightness portion is effective. However, since the monitor color gamut and the printer color gamut have significantly different shapes, there are many cases where the color appearance becomes unnatural even when the non-linear gamut mapping is used.

【0006】モニタ色再現域とプリンタ色再現域とは形
状の相違について簡単に説明する。例えば、図4はグリ
ーンの色相におけるプリンタ色再現域の模式図であり、
プリンタ色再現域を実線により、モニタ色再現域を点線
より示している。図4から明らかな通り、グリーンの色
相においてはモニタ色再現域とプリンタ色再現域とは非
相似であり、形状が大きく異なる。次に、図21にレッ
ドの色相における模試図を示す。図21において、モニ
タ色再現域を実線により、プリンタ色再現域を点線によ
り示している。図21から明らかな通り、レッドの色相
においてはモニタ色再現域とプリンタ色再現域とは比較
的相似な形状をしている。
The difference between the monitor color gamut and the printer color gamut will be briefly described. For example, FIG. 4 is a schematic diagram of a printer color gamut in a green hue,
The printer color gamut is indicated by a solid line, and the monitor color gamut is indicated by a dotted line. As is clear from FIG. 4, the monitor color gamut and the printer color gamut are non-similar in the green hue, and have greatly different shapes. Next, FIG. 21 shows a schematic diagram of a red hue. In FIG. 21, the monitor color reproduction range is indicated by a solid line, and the printer color reproduction range is indicated by a dotted line. As is clear from FIG. 21, in the red hue, the monitor color reproduction range and the printer color reproduction range have relatively similar shapes.

【0007】モニタ上の画像とプリンタ出力による画像
とで色の見えを自然とするためには、係る相違を吸収す
るガマットマッピングが必要である。
In order to make the color appearance natural between the image on the monitor and the image output from the printer, gamut mapping for absorbing such a difference is required.

【0008】本発明は、入出力装置における色再現域の
形状の相違を良好に吸収し、高品質の出力画像を得るこ
とができるようにすることを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to satisfactorily absorb the difference in the shape of the color gamut in an input / output device so that a high quality output image can be obtained.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、本願第1の発明にかかる画像処理方法は、第1の色
再現域における色信号を、第2の色再現域における色信
号へ写像変換する画像処理方法であって、第1の色再現
域における色信号を第3の色再現域における色信号に写
像変換する第1の信号変換工程と、前記第3の色再現域
の境界と前記第2の色再現域の境界に基づき、前記第3
の色再現域に対する明度補正条件を算出する算出工程
と、前記明度補正条件に基づき、色度を保持しつつ前記
第3の色再現域の明度を調整する第2の信号変換工程と
を有することを特徴とする。
In order to achieve the above object, an image processing method according to the first invention of the present application converts a color signal in a first color gamut into a color signal in a second color gamut. An image processing method for performing mapping conversion, comprising: a first signal conversion step of mapping conversion of a color signal in a first color gamut to a color signal in a third color gamut; and a boundary of the third color gamut. And the third color gamut based on
And a second signal conversion step of adjusting the lightness of the third color gamut based on the lightness correction conditions while maintaining the chromaticity. It is characterized by.

【0010】[0010]

【発明の実施の形態】図1は本発明にかかる実施形態と
しての色信号変換装置のシステム構成を示すブロック図
である。
FIG. 1 is a block diagram showing a system configuration of a color signal conversion device as an embodiment according to the present invention.

【0011】101はCPU、102はメインメモリ、
103はSCSIインタフェース、104はネットワー
クインタフェース、105はHDD、106はグラフィ
ックアクセラレータ、107はカラーモニタ、108は
色信号変換機、109はカラープリンタ、110はキー
ボード/マウスコントローラ、111はキーボード、1
12はマウス、113はローカルエルアネットワーク、
114はPCIバスである。
[0011] 101 is a CPU, 102 is a main memory,
103 is a SCSI interface, 104 is a network interface, 105 is an HDD, 106 is a graphic accelerator, 107 is a color monitor, 108 is a color signal converter, 109 is a color printer, 110 is a keyboard / mouse controller, 111 is a keyboard,
12 is a mouse, 113 is a local Lure network,
Reference numeral 114 denotes a PCI bus.

【0012】HDD105に格納されている画像データ
は、CPU101からの指令によりSCSII/F10
3を介してPCIバス114経由によりメインメモリ1
02に転送される。また、LANに接続されているサー
バに格納されている画像データあるいはインターネット
上の画像データは、CPU101からの指令によりネッ
トワークI/F104を介してPCIバス114経由に
よりメインメモリ102に転送される。前記メインメモ
リ102に保持されている画像データはCPU101か
らの指令によりPCIバス114経由によってグラフィ
ックアクセラレータ106に転送される。グラフィック
アクセラレータ106は画像データをD/A変換した後
ディスプレイケーブルを通じてカラーモニタ107に送
信し、カラーモニタ107上に画像データが表示され
る。ここで、ユーザがメインメモリ102に保持されて
いる画像をプリンタ109から出力するよう指令する
と、まずCPU101が、しかるべきカラーモニタの色
再現域情報としかるべきプリンタの色再現域情報とをH
DD105からメインメモリ102に転送し、その後に
前記2つの色再現域情報を色信号変換装置108へ転送
する。さらにCPU101は色信号変換装置108に対
して、RGBデータからCMYKデータへの変換のため
の初期化を行うよう指示する。前記初期化動作に付いて
は、詳細に後述する。前記動作が終了すると、前記メイ
ンメモリ102に保持されているRGB画像データがC
PU101からの指令によりPCIバス114経由によ
って色信号変換装置108に転送される。色信号変換装
置108は、前記RGB画像データに対してガマットマ
ッピングの結果に基づく色信号変換を行った後、プリン
タ109へ変換結果であるCMYK画像データを送信す
る。以上一連の動作の結果として、プリンタ109より
CMYK画像データが出力される。
The image data stored in the HDD 105 is transmitted to the SCS II / F 10 by a command from the CPU 101.
3 via the PCI bus 114 and the main memory 1
02. Further, image data stored in a server connected to the LAN or image data on the Internet is transferred to the main memory 102 via the PCI bus 114 via the network I / F 104 in accordance with a command from the CPU 101. The image data stored in the main memory 102 is transferred to the graphic accelerator 106 via the PCI bus 114 according to a command from the CPU 101. The graphic accelerator 106 performs D / A conversion of the image data, transmits the image data to the color monitor 107 via the display cable, and the image data is displayed on the color monitor 107. Here, when the user instructs the printer 109 to output the image held in the main memory 102, the CPU 101 firstly sets the color gamut information of the appropriate color monitor and the color gamut information of the appropriate printer to H.
The data is transferred from the DD 105 to the main memory 102, and thereafter, the two pieces of color gamut information are transferred to the color signal converter 108. Further, the CPU 101 instructs the color signal converter 108 to perform initialization for conversion from RGB data to CMYK data. The initialization operation will be described later in detail. When the operation is completed, the RGB image data stored in the main memory 102 is stored in the C memory.
The image data is transferred to the color signal conversion device 108 via the PCI bus 114 according to a command from the PU 101. After performing color signal conversion on the RGB image data based on the result of the gamut mapping, the color signal conversion device 108 transmits the CMYK image data as the conversion result to the printer 109. As a result of the above series of operations, CMYK image data is output from the printer 109.

【0013】図2は本実施形態の色信号変換装置108
の構成を示すブロック図である。
FIG. 2 shows a color signal converter 108 according to this embodiment.
FIG. 3 is a block diagram showing the configuration of FIG.

【0014】201はLUT作成部であり、LUT作成
部201内の各装置が指定された手順に従って動作する
ことにより、RGBからCMYKへの変換用ルックアッ
プテーブル(LUT)が作成される。202はRAMで
あり、LUT作成部201により作成されたLUTを記
憶する。203は補間装置であり、入力されたRGBデ
ータに対して出力すべきCMYKデータを、RAM20
2に記憶されたLUTを用いた補間演算を行うことによ
り算出する。215、216は端子であり、端子215
からはメインメモリに保持されていたRGB画像データ
がラスタスキャン方式にて入力され、端子216からは
入力されたRGBデータに対応するCMYKデータがプ
リンタへ出力される。
Reference numeral 201 denotes an LUT creation unit, which creates a lookup table (LUT) for conversion from RGB to CMYK by operating each device in the LUT creation unit 201 according to a designated procedure. A RAM 202 stores the LUT created by the LUT creation unit 201. An interpolator 203 stores CMYK data to be output with respect to the input RGB data in the RAM 20.
The calculation is performed by performing an interpolation operation using the LUT stored in Step 2. 215 and 216 are terminals;
, RGB image data held in the main memory is input by a raster scan method, and CMYK data corresponding to the input RGB data is output from a terminal 216 to the printer.

【0015】次に、LUT作成部201内の各装置につ
いて述べる。213、214は端子であり、213から
はプリンタの色再現域に関する情報が、214からはモ
ニタの色再現域に関する情報が入力される。204はモ
ニタ色域記憶装置であって入力された前記モニタ色再現
域情報を記憶し、205はプリンタ色域記憶装置であっ
て入力された前記プリンタ色再現域情報を記憶する。2
06は写像パラメータ算出装置であり、前記プリンタ色
再現域情報と前記モニタ色再現域情報とを参照して、後
述の圧縮動作において必要な圧縮パラメータの算出を行
う。
Next, each device in the LUT creation unit 201 will be described. Reference numerals 213 and 214 denote terminals. Information about the color gamut of the printer is input from 213, and information about the color gamut of the monitor is input from 214. A monitor color gamut storage device 204 stores the input monitor color gamut information, and a printer color gamut storage device 205 stores the input printer color gamut information. 2
Reference numeral 06 denotes a mapping parameter calculation device, which calculates a compression parameter necessary for a compression operation described later with reference to the printer color gamut information and the monitor color gamut information.

【0016】207は明度/色度分離色域写像装置であ
り、前記算出された圧縮パラメータと前記モニタ色再現
域情報とを参照し、モニタ色再現域の写像を行う。以
下、明度/色度分離色域写像装置207によるモニタ色
再現域の写像結果を、第1中間写像色再現域と呼称す
る。208は色域記憶装置であり、前記モニタ色再現域
の圧縮/マッピング結果であるところの第1中間写像色
再現域の情報を記憶する。
Reference numeral 207 denotes a lightness / chromaticity separation color gamut mapping device, which refers to the calculated compression parameters and the monitor color gamut information to map a monitor color gamut. Hereinafter, the mapping result of the monitor gamut by the brightness / chromaticity separation gamut mapping device 207 is referred to as a first intermediate mapped gamut. Reference numeral 208 denotes a color gamut storage device which stores information on a first intermediate mapped color gamut, which is a result of compression / mapping of the monitor color gamut.

【0017】209は明度調整色域写像装置であり、前
記算出された圧縮パラメータと前記第1中間写像色再現
域情報とを参照し、第1中間写像色再現域内の各色に対
して明度のみの写像を行う。前記写像においては各色の
色度は保存される。以下、色度調整色域写像装置209
による第1中間写像色再現域の写像結果を、第2中間写
像色再現域と呼称する。210は色域記憶装置であり、
前記第1中間写像色再現域のマッピング結果であるとこ
ろの第2中間写像色再現域の情報を記憶する。
Reference numeral 209 denotes a lightness adjustment color gamut mapping device, which refers to the calculated compression parameters and the first intermediate mapped color gamut information, and determines only the brightness of each color in the first intermediate mapped color gamut. Perform the mapping. In the mapping, the chromaticity of each color is preserved. Hereinafter, the chromaticity adjustment gamut mapping device 209 will be described.
Is referred to as a second intermediate mapped color gamut. 210 is a color gamut storage device,
The information of the second intermediate mapped color gamut, which is the mapping result of the first intermediate mapped color gamut, is stored.

【0018】211は色域補正装置であり、前記第2中
間写像色再現域情報とプリンタ色再現域情報とを参照
し、第2中間写像色再現域をプリンタ色再現域へ写像す
る。以下、前記マッピング結果を写像色再現域と呼称す
る。
Reference numeral 211 denotes a color gamut correction device, which maps the second intermediate mapped color gamut to the printer color gamut with reference to the second intermediate mapped color gamut information and the printer color gamut information. Hereinafter, the mapping result is referred to as a mapped color gamut.

【0019】212はLUT作成装置であり、モニタ色
再現域と写像色再現域との対応関係、並びにモニタ上に
て所定の色を出力するRGBデータと、プリンタ上にて
所定の色を出力するCMYKデータとを参照して、RG
BデータからCMYKデータへの変換用LUTを作成す
る。
Reference numeral 212 denotes an LUT creation device, which outputs a predetermined relationship between a monitor color gamut and a mapped color gamut, and RGB data for outputting a predetermined color on a monitor, and a predetermined color on a printer. RG with reference to CMYK data
Create an LUT for conversion from B data to CMYK data.

【0020】なお本実施例においては、上記一連の写像
動作においては均等表色系としてL*** 色空間を
用いる。
In this embodiment, the L * a * b * color space is used as a uniform color system in the above series of mapping operations.

【0021】上記構成におけるLUT作成部201の動
作について説明する。
The operation of the LUT creation unit 201 having the above configuration will be described.

【0022】まず初めに、CPU101からの指令によ
りカラーモニタの色再現域情報ならびにプリンタの色再
現域情報が送信される。送信された前記2つの色再現域
情報は、それぞれLUT作成部201内のモニタ色域記
憶装置204とプリンタ色域記憶装置205に、モニタ
色再現域情報とプリンタ色再現域情報として記憶され
る。送信が終了すると、CPU101より色信号変換の
為の初期化を行うよう指令される。
First, color gamut information of a color monitor and color gamut information of a printer are transmitted in accordance with a command from the CPU 101. The transmitted two pieces of color gamut information are stored as monitor color gamut information and printer color gamut information in the monitor gamut storage device 204 and the printer gamut storage device 205 in the LUT creation unit 201, respectively. When the transmission is completed, the CPU 101 instructs to perform initialization for color signal conversion.

【0023】この指令を色信号変換装置108が受ける
と、LUT作成部201内部が以下の様に動作する。
When this instruction is received by the color signal converter 108, the inside of the LUT generator 201 operates as follows.

【0024】まず写像パラメータ算出装置206が動作
し、明度/色度分離色域写像装置207ならびに明度調
整色域写像装置209の動作に必要な各種パラメータを
算出する。前記パラメータ算出が終了すると、次に、明
度/色度分離色域写像装置207が動作し、均等表色系
においてモニタ色再現域を第1中間写像色再現域へ圧縮
/マッピングする。この動作にあっては、明度と彩度と
を非線型に圧縮する手法等を用いる。
First, the mapping parameter calculation device 206 operates, and calculates various parameters required for the operation of the brightness / chromaticity separation color gamut mapping device 207 and the brightness adjustment color gamut mapping device 209. When the parameter calculation is completed, next, the brightness / chromaticity separation gamut mapping device 207 operates to compress / map the monitor color gamut to the first intermediate mapped color gamut in the uniform color system. In this operation, a method of nonlinearly compressing the brightness and the saturation is used.

【0025】本実施形態における明度/色度分離色域写
像装置207による写像動作に関しては詳細に後述する
が、図3、図4、図11の各模式図を用いた簡単な説明
を行う。図3はグリーンの色相におけるモニタ色再現域
の模式図である。図4はグリーンの色相におけるプリン
タ色再現域の模式図であり、プリンタ色再現域を実線に
より、モニタ色再現域を点線により示している。図11
はグリーンの色相における第1中間写像色再現域の模式
図であり第1中間写像色再現域を実線により、モニタ色
再現域を1点破線により、プリンタ色再現域を点線によ
り示している。
The mapping operation by the lightness / chromaticity separation color gamut mapping device 207 in this embodiment will be described in detail later, but a brief description will be given with reference to FIGS. 3, 4 and 11. FIG. 3 is a schematic diagram of a monitor color reproduction range in a green hue. FIG. 4 is a schematic diagram of a printer color gamut in a green hue, in which the printer color gamut is indicated by a solid line, and the monitor color gamut is indicated by a dotted line. FIG.
Is a schematic diagram of a first intermediate mapped color gamut in a green hue, wherein the first intermediate mapped color gamut is indicated by a solid line, a monitor color gamut is indicated by a dashed line, and a printer color gamut is indicated by a dotted line.

【0026】明度/色度分離色域写像装置207は、モ
ニタ色再現域内の色に対して明度成分と色度成分を分離
し、明度成分と色度成分とをそれぞれ非線型に写像す
る。この動作により、図3に示すモニタ色再現域を、図
11に示す第1中間写像色再現域へと写像する。
The lightness / chromaticity separation color gamut mapping device 207 separates the lightness component and the chromaticity component from the colors in the monitor color reproduction gamut, and non-linearly maps the lightness component and the chromaticity component. With this operation, the monitor color gamut shown in FIG. 3 is mapped to the first intermediate mapped color gamut shown in FIG.

【0027】明度/色度分離色域写像装置207による
動作が終了すると、第1中間写像色再現域情報が色域記
憶装置208へ格納され、続いて明度調整色域写像装置
209が動作し、第1中間写像色再現域に対してを第2
中間写像色再現域へ写像する。前記動作に関しては詳細
に後述するが、図11、図15の各模式図を用いて簡単
な説明を行う。図15はグリーンの色相における第2中
間写像色再現域の模式図であり第2中間写像色再現域を
実線により、第1中間写像色再現域を一点破線により示
している。
When the operation of the brightness / chromaticity separation gamut mapping device 207 is completed, the first intermediate mapped gamut information is stored in the gamut storage device 208, and the brightness adjustment gamut mapping device 209 subsequently operates. The second for the first intermediate mapped color gamut
Maps to the intermediate mapping color gamut. The operation will be described in detail later, but a brief description will be given with reference to the schematic diagrams in FIGS. FIG. 15 is a schematic diagram of the second intermediate mapped color gamut in the green hue, in which the second intermediate mapped color gamut is indicated by a solid line, and the first intermediate mapped color gamut is indicated by a dashed line.

【0028】明度調整色域写像装置209は、第1中間
写像色再現域内の色に対して明度成分と色度成分を分離
し、色度成分一定のまま明度成分のみ非線型写像を行
う。尚、写像を実現する明度入出力関数は色度により異
なる。前記写像により、図11に示した第1中間写像色
再現域は図15に示した第2中間写像色再現域に写像さ
れる。
The lightness adjustment color gamut mapping device 209 separates the lightness component and the chromaticity component from the colors in the first intermediate mapped color reproduction gamut, and performs non-linear mapping of only the lightness component while keeping the chromaticity component constant. The brightness input / output function for realizing the mapping differs depending on the chromaticity. By the mapping, the first intermediate mapped color gamut shown in FIG. 11 is mapped to the second intermediate mapped color gamut shown in FIG.

【0029】色域補正装置208は中間写像色再現域情
報とプリンタ色再現域情報とを参照し、第2中間写像色
再現域をプリンタ色再現域へ写像を行う。前記色域補正
装置208の動作に関しては詳細に後述するが、図1
5、図19の各模式図を用いて簡単な説明を行う。図1
9はグリーンの色相における写像色再現域の模式図であ
り写像色再現域を実線により、第2中間写像色再現域を
一点破線により示している。
The color gamut corrector 208 maps the second intermediate mapped color gamut to the printer color gamut with reference to the intermediate mapped color gamut information and the printer color gamut information. Although the operation of the color gamut correction device 208 will be described later in detail, FIG.
A brief description will be given with reference to FIGS. FIG.
Reference numeral 9 is a schematic diagram of a mapped color gamut in a green hue, in which the mapped color gamut is indicated by a solid line, and the second intermediate mapped color gamut is indicated by a dashed line.

【0030】色域補正装置208は、第2中間写像色再
現域内の色に対して明度成分と色度成分を分離し、明度
成分一定のまま、色度成分における彩度成分を非線型に
写像する。前記写像により、図15に示した第2中間写
像色再現域は図19に示した写像色再現域に写像され
る。
The color gamut correction device 208 separates the lightness component and the chromaticity component from the colors in the second intermediate mapped color reproduction gamut and non-linearly maps the chroma components of the chromaticity component while maintaining the lightness component constant. I do. By the mapping, the second intermediate mapped color gamut shown in FIG. 15 is mapped to the mapped color gamut shown in FIG.

【0031】次に、LUT作成装置209は最終写像結
果であるところの写像色再現域を参照してRGBデータ
からCMYKデータへの変換用LUTを作成し、RAM
202へLUTを書き込む。以上の一連の動作が終了す
ると、初期化が終了した旨CPU101へ送信する。
Next, the LUT creation device 209 creates an LUT for conversion from RGB data to CMYK data with reference to the mapping color gamut, which is the final mapping result, and stores it in the RAM.
Write the LUT to 202. When the series of operations described above is completed, a notification to the effect that the initialization has been completed is transmitted to the CPU 101.

【0032】以下、色信号変換装置108の各装置にお
ける動作を詳細に説明する。
The operation of each unit of the color signal converter 108 will be described below in detail.

【0033】明度/色度分離色域写像装置207の動作
について説明する。本実施形態においては、明度成分と
色度成分との非線型写像を以下の様に実現する。
The operation of the brightness / chromaticity separation gamut mapping device 207 will be described. In the present embodiment, a non-linear mapping between a lightness component and a chromaticity component is realized as follows.

【0034】明度成分の非線型写像においては、色度に
依らない1つの入出力関数により写像を実現する。前記
写像における入出力関数は、中程度の明度においては明
度を保存するように制御され、最高明度付近ならびに最
低明度付近においては入出力関数の微分値が小さくなる
ように、すなわち圧縮率を高くするように制御される。
さらに、擬似輪郭等の発生を防止する為、入出力関数は
少なくとも1次微分が全ての点に於いて連続となるよう
(C1連続となるよう)制御される。本実施形態により
実現される明度成分の非線型写像の一例を図5に示す。
尚、以上述べた明度成分の非線型写像の制御パラメータ
は、写像パラメータ算出装置206により算出され、設
定される。
In the non-linear mapping of the lightness component, the mapping is realized by one input / output function independent of the chromaticity. The input / output function in the mapping is controlled so as to preserve the lightness at a medium brightness, so that the differential value of the input / output function becomes small near the highest brightness and near the lowest brightness, that is, the compression ratio is increased. Is controlled as follows.
Further, in order to prevent the occurrence of a false contour or the like, the input / output function is controlled so that at least the first derivative is continuous at all points (so as to be C1 continuous). FIG. 5 shows an example of a non-linear mapping of a brightness component realized by the present embodiment.
The control parameters of the non-linear mapping of the brightness component described above are calculated and set by the mapping parameter calculating device 206.

【0035】色度成分の非線型写像においては、色度成
分をさらに色相成分と彩度成分とに分離し、それぞれに
対して非線型写像を施す。
In the non-linear mapping of the chromaticity component, the chromaticity component is further separated into a hue component and a chroma component, and the non-linear mapping is performed on each of them.

【0036】彩度成分の写像について、図6のフローチ
ャートを用いて説明する。まずステップ601にて、写
像変換の対象となる色Mを指定する。ステップ602で
は、色Mの色相における外郭彩度圧縮比Rbを写像パラ
メータ算出装置206から取得する。続いてステップ6
03において、色Mと同一明度、同一色相におけるモニ
タ色再現域境界の色Bmを算出する。色Mと色Bmとの
関係を模式図として図7に示す。なお、図7において実
線はモニタ色再現域を表すものであり、点線は本彩度写
像によってモニタ色再現域の外郭の彩度がどのように写
像されるかを模式的に表したものである。ステップ60
4においては、色Mの彩度Cmと色Bmの彩度Cbmと
を算出し、比RをR=Cm/Cbmと算出する。次にス
テップ605において彩度の写像を行う彩度入出力関数
g(・)を写像パラメータ算出装置206から取得す
る。ステップ606では、以上算出/取得したパラメー
タから次式を用いて彩度の写像を行う。Cm_mapped
写像後の彩度である。
The mapping of the saturation component will be described with reference to the flowchart of FIG. First, in step 601, a color M to be mapped is specified. In step 602, the contour saturation compression ratio Rb for the hue of the color M is obtained from the mapping parameter calculation device 206. Then step 6
At 03, the color Bm at the monitor color reproduction gamut boundary with the same brightness and the same hue as the color M is calculated. FIG. 7 is a schematic diagram showing the relationship between the color M and the color Bm. In FIG. 7, the solid line represents the monitor color gamut, and the dotted line schematically represents how the saturation of the outline of the monitor color gamut is mapped by the main chroma mapping. . Step 60
In 4, the saturation Cm of the color M and the saturation Cbm of the color Bm are calculated, and the ratio R is calculated as R = Cm / Cbm. Next, in step 605, a saturation input / output function g (·) for performing saturation mapping is acquired from the mapping parameter calculation device 206. In step 606, the saturation is mapped from the parameters calculated / acquired using the following equation. Cm_mapped is the saturation after the mapping.

【0037】Cm_mapped =Cbm×g(R) ここで、彩度入出力関数g(・)は次の様な条件を持
つ。 ・g(・)の台は〔0、1〕 ・g(・)は単調増加 ・g(0)=0 ・g(1)=Rb ・g(・)は少なくともC1連続 ・g′(0)=1 ・g′(1)=γ,γ:γ>0、γは圧縮を制御する定
数であって。各色相毎に定められ、Rbに反比例して変
化。 ・g′(x)≠0,x:0≦x≦1 前記彩度入出力関数g(・)の模式図を表すと、図8の
ようになる。すなわち、彩度の低いところほど彩度が保
存され、彩度の高いところほど高い圧縮率にて圧縮され
る。さらに入出力関数は少なくともC1連続であるの
で、彩度の変化率は滑らかに変化し、擬似輪郭等の発生
を抑制する。
Cm_mapped = Cbm × g (R) Here, the saturation input / output function g (·) has the following conditions. G (•) is [0,1] g (•) monotonically increases g (0) = 0 g (1) = Rb g (•) is at least C1 continuous g ′ (0) = 1 · g ′ (1) = γ, γ: γ> 0, γ is a constant for controlling compression. Determined for each hue and changes in inverse proportion to Rb. G ′ (x) ≠ 0, x: 0 ≦ x ≦ 1 FIG. 8 shows a schematic diagram of the saturation input / output function g (·). That is, the lower the saturation, the more the saturation is stored, and the higher the saturation, the higher the compression ratio. Furthermore, since the input / output function is at least C1 continuous, the change rate of the saturation changes smoothly, and the occurrence of a false contour or the like is suppressed.

【0038】次に色相成分の写像について、図9のフロ
ーチャートを用いて説明する。まずステップ901に
て、写像変換の対象となる色Mを指定する。ステップ9
02では、色Mの明度における色相入出力関数h(・)
を写像パラメータ算出装置206から取得する。なお、
概色相入出力関数h(・)は明度により変化する。ステ
ップ903では、次式を用いて色相の写像を行う。次式
においてHue_mは色Mの色相であり、Hue_m
_mapped は写像後の色相である。
Next, the mapping of hue components will be described with reference to the flowchart of FIG. First, in step 901, a color M to be mapped is specified. Step 9
02, the hue input / output function h (·) at the lightness of the color M
From the mapping parameter calculation device 206. In addition,
The approximate hue input / output function h (·) changes depending on the brightness. In step 903, hue mapping is performed using the following equation. In the following equation, Hue_m is the hue of the color M, and Hue_m
_mapped is the hue after the mapping.

【0039】Hue_m_mapped =h(Hue_m) 前記色相入出力関数h(・)の1例を模式図に表すと、
図10のようになる。図10においては、色相角を、a
** 色度座標系においてb* 軸正方向を色相角0ra
dとし、反時計方向への回転を正としたラジアン表記に
より表している。
Hue_m_mapped = h (Hue_m) An example of the hue input / output function h (·) is represented in a schematic diagram as follows.
As shown in FIG. In FIG. 10, the hue angle is represented by a
* In the b * chromaticity coordinate system, the hue angle is 0ra in the positive direction of the b * axis.
It is expressed by radian notation where d is a counterclockwise rotation and is positive.

【0040】以上述べた明度/色度分離色域写像装置2
07の写像動作により、図3の模式図に示すモニタ色再
現域は、図11の模式図に示す第1中間写像色再現域へ
と写像される。図11において、実線により示される色
再現域は第1中間写像色再現域であり、1点破線により
示される色再現域はモニタ色再現域であり、点線により
示される色再現域はプリンタ色再現域である。
The lightness / chromaticity separation gamut mapping device 2 described above
By the mapping operation 07, the monitor color gamut shown in the schematic diagram of FIG. 3 is mapped to the first intermediate mapped color gamut shown in the schematic diagram of FIG. In FIG. 11, the color gamut indicated by the solid line is the first intermediate mapped color gamut, the color gamut indicated by the dashed line is the monitor color gamut, and the color gamut indicated by the dotted line is the printer color gamut. Area.

【0041】以下において、明度調整色域写像装置20
9の動作について図12のフローチャートを用いて説明
する。
In the following, the brightness adjustment color gamut mapping device 20
Operation 9 will be described with reference to the flowchart in FIG.

【0042】まずステップ1201にて、写像変換の対
象となる色Mを指定する。尚、ここでの色Mは第1中間
写像色再現域における色であって、モニタ色再現域にお
ける色を表すものではない。ステップ1202では、色
Mと同一の色度における第1中間写像色再現域の上部境
界Buを計算する。色Mと上部境界Buとの関係を図1
3に示す。ステップ1203では、色Mと同一の色度に
おける第1中間写像色再現域の下部境界B1を計算す
る。色Mと上部境界B1との関係を図13に示す。ステ
ップ1204では、色Mと同一の色度における上部明度
補正値Ad_uを写像パラメータ算出装置206から取
得する。上部明度補正値Ad_uは上部境界Buに対す
る明度補正値であり、明度上昇方向を正とする実数で与
えられる。上部明度補正値Ad_uと上部境界Buとの
関係を模式的に表すと図13の様になる。ここで色Bu
_mapped は明度調整色域写像装置によりBuが写像され
た結果である。また図13において、実線により示され
る色再現域は第1中間写像色再現域の境界であり、1点
破線により示される色再現域は第2中間写像色再現域の
境界であり、点線により示される色再現域はプリンタ色
再現域である。
First, in step 1201, a color M to be mapped is specified. Note that the color M here is a color in the first intermediate mapped color reproduction range, and does not represent a color in the monitor color reproduction range. In step 1202, the upper boundary Bu of the first intermediate mapped color gamut at the same chromaticity as the color M is calculated. FIG. 1 shows the relationship between the color M and the upper boundary Bu.
3 is shown. In step 1203, the lower boundary B1 of the first intermediate mapped color gamut at the same chromaticity as the color M is calculated. FIG. 13 shows the relationship between the color M and the upper boundary B1. In step 1204, the upper lightness correction value Ad_u at the same chromaticity as the color M is obtained from the mapping parameter calculation device 206. The upper lightness correction value Ad_u is a lightness correction value for the upper boundary Bu, and is given as a real number with the lightness increasing direction being positive. FIG. 13 schematically shows the relationship between the upper brightness correction value Ad_u and the upper boundary Bu. Here the color Bu
_mapped is a result of mapping Bu by the brightness adjustment color gamut mapping device. In FIG. 13, the color gamut indicated by the solid line is the boundary of the first intermediate mapped color gamut, the color gamut indicated by the one-dot broken line is the boundary of the second intermediate mapped color gamut, and is indicated by the dotted line. The color gamut to be used is the printer color gamut.

【0043】ステップ1205では、色Mと同一の色度
における下部明度補正値Ad_lを写像パラメータ算出
装置206から取得する。下部明度補正値Ad_lは下
部境界Blに対する明度補正値であり、明度上昇方向を
正とする実数で与えられる。下部明度補正値Ad_lと
下部境界Blとの関係を模式図に表すと図13の様にな
る。ここで色Bl_mapped は明度調整色域写像装置によ
りBlが写像された結果である。続いてステップ120
6では、以上求めた4パラメータから明度調整の写像を
行う入出力関数p(・)を導出する。ここで、入出力関
数p(・)の導出に当たっては下記の条件を満たすよう
に求められる。尚、LBlはBlの明度であり、LBlm
Bl_mapped の明度であり、LBuはBuの明度であり、
Bum はBu_mapped の明度である。 ・P(・)の台は〔LBl、LBu〕 ・P(・)は台において単調増加 ・P(LBl)=LBlm ・P(LBu)=LBum ・P(・)は少なくともC1連続 ・p′(LBl)=α,α:α>0、αは圧縮を制御する
定数。各色度毎にAd_lに従って定められる。Ad_
lが正の場合はα≦1、Ad_lが負の場合はα≧1で
ある。 ・p′(LBu)=β,β:β>0、βは圧縮を制御する
定数。各色度毎にAd_uに従って定められる。Ad_
uが正の場合はβ≧1、Ad_uが負の場合はβ≦1で
ある。 入出力関数p(・)は上記条件を満たすよう算出される
と共に、さらに台の中間部において明度をできるだけ保
存するよう、明度変化量ができるだけ少なくなるよう算
出される。本実施形態においては、入出力関数p(・)
としてC2連続な3次スプライン関数を用いる。C2連
続な3次スプライン関数を用いることの利点として、端
点における条件から接点数に依らず入出力関数p(・)
が一意に求まる、という点がある。さらに、入出力関数
が滑らかに定義されることから、擬似輪郭の抑制におい
ても効果が期待される。ここで、本実施例における入出
力関数p(・)の例を図14(a)ならびに図14
(b)に示す。図14(a)においては、台の中間部に
おいて明度がほぼ保たれている一方、高明度付近ならび
に低明度付近では大きく圧縮されている。ちなみにLBl
=40、LBlm =45、Ad_l=5、LBu=68、L
Bum =64、Ad_u=−4である。また、図14
(b)においては、明度調整量Ad_lならびにAd_
uの絶対値が大きいことから、台の中間部において明度
を保存する機能が働いているものの完全には保存してい
ない。明度付近では大きく伸張され、明度付近では大き
く圧縮されている。ちなみにLBl=60、LBlm =4
6、Ad_l=−14、LBu=84、LBum=75、A
d_u=−9である。尚、当然ながら色Mと同一色度の
色は、同一の入出力関数p(・)を用いることとなる。
In step 1205, the lower lightness correction value Ad_l at the same chromaticity as the color M is obtained from the mapping parameter calculator 206. The lower lightness correction value Ad_l is a lightness correction value for the lower boundary Bl, and is given as a real number with the lightness increasing direction being positive. FIG. 13 is a schematic diagram showing the relationship between the lower brightness correction value Ad_l and the lower boundary Bl. Here, the color Bl_mapped is a result of mapping Bl by the lightness adjustment color gamut mapping device. Then step 120
In step 6, an input / output function p (•) for performing mapping of brightness adjustment is derived from the four parameters obtained above. Here, the derivation of the input / output function p (·) is determined so as to satisfy the following condition. Note that L Bl is the brightness of Bl, L Blm is the brightness of Bl_mapped , L Bu is the brightness of Bu,
L Bum is the lightness of Bu_mapped . · P (·) is a platform [L Bl, L Bu] · P (·) monotonically increasing · P (L Bl) in the base = L Blm · P (L Bu ) = L Bum · P (·) is at least C1 continuous p '(L B1 ) = α, α: α> 0, α is a constant for controlling compression. It is determined according to Ad_l for each chromaticity. Ad_
When l is positive, α ≦ 1, and when Ad_l is negative, α ≧ 1. P '(L Bu ) = β, β: β> 0, β is a constant for controlling compression. It is determined according to Ad_u for each chromaticity. Ad_
If u is positive, β ≧ 1, and if Ad_u is negative, β ≦ 1. The input / output function p (·) is calculated so as to satisfy the above condition, and furthermore, is calculated so that the brightness change amount is as small as possible so that the brightness is preserved as much as possible in the middle part of the platform. In the present embodiment, the input / output function p (·)
, A C2 continuous cubic spline function is used. An advantage of using a C2 continuous cubic spline function is that the input / output function p (·) does not depend on the number of contacts due to the conditions at the end points.
Is uniquely determined. Further, since the input / output function is smoothly defined, an effect is expected in suppressing a false contour. Here, examples of the input / output function p (•) in the present embodiment are shown in FIGS.
(B). In FIG. 14 (a), while the brightness is almost maintained in the middle part of the platform, it is largely compressed near the high brightness and near the low brightness. By the way, L Bl
= 40, L Blm = 45, Ad_l = 5, L Bu = 68, L
Bum = 64 and Ad_u = -4. FIG.
In (b), the brightness adjustment amounts Ad_l and Ad_
Since the absolute value of u is large, the function of preserving the brightness in the middle part of the table works, but it is not completely preserved. It is greatly expanded near lightness, and largely compressed near lightness. By the way, L Bl = 60, L Blm = 4
6, Ad_l = -14, L Bu = 84, L Bum = 75, A
d_u = -9. It should be noted that a color having the same chromaticity as the color M naturally uses the same input / output function p (•).

【0044】最後に1207のステップにおいてステッ
プ1206にて求めた入出力関数p(・)を用いて、色
Mの写像前の明度Lmに対して写像後の明度Lm
_mapped をLm_mapped =p(Lm)と求めて明度調整
の写像を行う。
Finally, in step 1207, using the input / output function p (•) obtained in step 1206, the lightness Lm before the mapping of the color M is compared with the lightness Lm after the mapping.
_mapped is calculated as Lm_mapped = p (Lm), and the brightness adjustment mapping is performed.

【0045】以上述べた明度調整色域写像装置209の
写像動作により、図11の模式図に示す第1中間色再現
域は、図15の模式図に示す第2中間写像色再現域へと
写像される。図15において、実線により示される色再
現域は第2中間写像色再現域であり、1点破線により示
される色再現域は第1中間写像色再現域であり、点線に
より示される色再現域はプリンタ色再現域である。
By the mapping operation of the brightness adjustment color gamut mapping device 209 described above, the first intermediate color gamut shown in the schematic diagram of FIG. 11 is mapped to the second intermediate color gamut shown in the schematic diagram of FIG. You. In FIG. 15, the color gamut indicated by the solid line is the second intermediate mapped color gamut, the color gamut indicated by the one-dot broken line is the first intermediate mapped color gamut, and the color gamut indicated by the dotted line is This is the printer color gamut.

【0046】以下に於いて、色域補正装置211の動作
について説明する。本実施形態においては、色域補正装
置211は色域拡大写像補正機能に加えて、色域縮小写
像補正機能も有する。以下、図16のフローチャートを
用いて詳しく述べる。
Hereinafter, the operation of the color gamut correction device 211 will be described. In the present embodiment, the color gamut correction device 211 has a color gamut reduction mapping correction function in addition to the color gamut expansion mapping correction function. Hereinafter, this will be described in detail with reference to the flowchart of FIG.

【0047】色域補正装置211はまずステップ160
1にて写像計算対象となる色Mを定める。ここでの色M
は第2中間写像色再現域における色である。次にステッ
プ1602にて色Mと同一の明度/同一の色相における
プリンタ色再現域境界Bpを計算し、ステップ1603
にて色Mと同一の明度/同一の色相における第2中間写
像色再現域境界Biを計算する。さらにステップ160
4にて、色Mと同一の明度/同一の色相における上限色
再現域境界Bsupを計算する。上現色再現域は、プリ
ンタ色域の使用上限を指定するところの色再現域であ
り、あらかじめ色域補正装置211により計算され、記
憶されている。これらの色M、色Bp、色Bi、色Bs
upの関係を模式図に表すと、図17の様になる。但し
図17において、実線により示される色再現域は第2中
間写像色再現域の境界であり、1点破線により示される
色再現域は上限色再現域の境界であり、点線により示さ
れる色再現域はプリンタ色再現域である。続いてステッ
プ1605にて、以上のステップに於いて算出した色B
p、色Bi、色Bsupから色域補正の写像を行う入出
力関数q(・)を導出する。ここで入出力関数q(・)
は色Bpの彩度をCp、色Biの彩度をCi、色Bsupの
彩度をCsupCmax=max〔CpCsup〕と表記したと
き、下記の条件を満たすように求められる。 ・q(・)の台は〔0、Ci〕 ・q(0)=0 ・q(Ci)=Cmax ・q′(0)=1 ・q′(Ci)=γ,γ:γ>0、 ・q′(x)≠0,x:0≦x≦Ci γは最大彩度付近における彩度補正の拡大率/圧縮率を
制御する値であり、自動的に定められる。但し、CiCp
の場合はγ<1となり、入出力関数q(・)による写像
は圧縮動作となる。CiCpの場合γ≧1となり、入出力
関数q(・)による写像は伸張動作となる。本実施形態
においては、入出力関数q(・)としてC2連続な3次
スプライン関数を用いる。C2連続な3次スプライン関
数を用いることの利点として、端点における条件から接
点数に依らず入出力関数q(・)が一意に求まる、とい
う点がある。さらに、入出力関数が滑らかに定義される
ことから、擬似輪郭の抑制においても効果が期待され
る。
First, the color gamut correction device 211 executes step 160
In step 1, the color M to be mapped is determined. The color M here
Is a color in the second intermediate mapped color reproduction range. Next, in step 1602, the printer color gamut boundary Bp for the same lightness / same hue as the color M is calculated, and in step 1603
Calculates the second intermediate mapped color gamut boundary Bi at the same brightness / same hue as the color M. Step 160
At 4, the upper limit color gamut boundary Bsup at the same brightness / same hue as the color M is calculated. The upper current color gamut is a color gamut for specifying the upper limit of use of the printer color gamut, and is calculated and stored by the color gamut correction device 211 in advance. These colors M, Bp, Bi, Bs
FIG. 17 is a schematic diagram showing the relationship of up. However, in FIG. 17, the color gamut indicated by the solid line is the boundary of the second intermediate mapped color gamut, the color gamut indicated by the dashed line is the boundary of the upper limit color gamut, and the color reproduction indicated by the dotted line is The gamut is the printer color gamut. Subsequently, in step 1605, the color B calculated in the above steps
An input / output function q (·) for performing mapping of color gamut correction is derived from p, color Bi, and color Bsup. Where the input / output function q (•)
Is expressed so as to satisfy the following condition, when the saturation of the color Bp is expressed as Cp , the saturation of the color Bi is expressed as Ci , the saturation of the color Bsup is expressed as Csup , and Cmax = max [ Cp , Csup ]. Q (·) is [0, Ci ] q (0) = 0 q ( Ci ) = Cmax · q ′ (0) = 1 q ′ ( Ci ) = γ, γ: γ> 0, Q ′ (x) ≠ 0, x: 0 ≦ x ≦ Ciγ is a value for controlling the enlargement / compression ratio of the saturation correction near the maximum saturation, and is automatically determined. Where Ci > Cp
In this case, γ <1, and the mapping by the input / output function q (·) is a compression operation. If CiCp , γ ≧ 1, and the mapping by the input / output function q (·) is a decompression operation. In the present embodiment, a C2 continuous cubic spline function is used as the input / output function q (·). An advantage of using a C2 continuous cubic spline function is that the input / output function q (·) can be uniquely determined from the conditions at the end points regardless of the number of contact points. Further, since the input / output function is smoothly defined, an effect is expected in suppressing a false contour.

【0048】ここで、本実施形態における入出力関数q
(・)の例を図18(a)ならびに図18(b)に示
す。図18(a)は、CiCpの場合を示し、が伸張動作
となっている。図18(b)は、CiCpの場合を示し、
が圧縮動作となっている。
Here, the input / output function q in the present embodiment
Examples of (•) are shown in FIGS. 18A and 18B. FIG. 18A shows a case where CiCp , and is a decompression operation. FIG. 18B shows a case where Ci > Cp ,
Is a compression operation.

【0049】最後に1606のステップにおいて、ステ
ップ1605にて求めた入出力関数q(・)を用いて、
色Mの彩度を変換する。色Cの彩度をCorg、変換後の彩
度をCmodと表記すると、Cmod=q(Corg)となる。
Finally, in step 1606, using the input / output function q (•) obtained in step 1605,
Convert the saturation of the color M. If the saturation of the color C is expressed as Corg and the converted saturation is expressed as Cmod , Cmod = q ( Corg ).

【0050】以上のべた色域補正装置211の写像動作
により、図15の模式図に示す第2中間色再現域は、図
19の模式図に示す写像色再現域へと写像される。図1
9において、実線により示される色再現域は写像色再現
域であり、1点破線により示される色再現域は第2中間
写像色再現域であり、点線により示される色再現域はプ
リンタ色再現域である。
By the mapping operation of the solid color gamut correction device 211 described above, the second intermediate color gamut shown in the schematic diagram of FIG. 15 is mapped to the mapped color gamut shown in the schematic diagram of FIG. FIG.
9, the color gamut indicated by a solid line is a mapped color gamut, the color gamut indicated by a dashed line is a second intermediate mapped color gamut, and the color gamut indicated by a dotted line is a printer color gamut. It is.

【0051】本実施形態に依れば、モニタ色再現域とプ
リンタ色再現域との形状の相違を呼吸するガマットマッ
ピングが可能となる。さらに各写像において、色変化の
変化率における急峻な変化率変動をあらかじめ防止する
ことにより、出力画像における階調性を保持し、擬似輪
郭の発生を防止し、好ましい画像再現を可能とする。
According to the present embodiment, it is possible to perform gamut mapping for breathing a difference in shape between the monitor color gamut and the printer color gamut. Further, in each mapping, a sharp change rate in the change rate of the color change is prevented in advance, thereby maintaining the gradation in the output image, preventing the occurrence of a false contour, and enabling preferable image reproduction.

【0052】また、出力装置の性能上限においてコント
ラストが高く鮮やかに再現することができる。
In the upper limit of the performance of the output device, a high contrast can be reproduced vividly.

【0053】なお、上記実施形態では、モニタ色再現域
をプリンタ色再現域に写像する例を説明したが、他の装
置の組み合わせにおけるガマットマッピングにも適用す
ることが可能である。
In the above embodiment, an example in which the monitor color gamut is mapped to the printer color gamut has been described. However, the present invention can be applied to gamut mapping in a combination of other devices.

【0054】(他の実施形態)また前述した実施形態の
機能を実現する様に各種のデバイスを動作させる様に該
各種デバイスと接続された装置あるいはシステム内のコ
ンピュータに、前記実施形態機能(例えば、図6、11、
12、14のフローチャートにより実現される機能)を実現
するためのソフトウエアのプログラムコードを供給し、
そのシステムあるいは装置のコンピュータ(CPUあるい
はMPU)を格納されたプログラムに従って前記各種デバ
イスを動作させることによって実施したものも本発明の
範疇に含まれる。
(Other Embodiments) The functions of the above-described embodiments (for example, a computer connected to an apparatus or a system connected to the various devices so as to operate various devices so as to realize the functions of the above-described embodiments) , FIGS. 6, 11,
Software program code for realizing the functions realized by the flowcharts of 12 and 14),
The present invention also includes a computer (CPU or MPU) of the system or apparatus implemented by operating the various devices according to a stored program.

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

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

【0057】またコンピュータが供給されたプログラム
コードを実行することにより、前述の実施形態の機能が
実現されるだけではなく、そのプログラムコードがコン
ピュータにおいて稼働しているOS(オペレーティングシ
ステム)、あるいは他のアプリケーションソフト等と共
同して前述の実施形態の機能が実現される場合にもかか
るプログラムコードは本発明の実施形態に含まれること
は言うまでもない。
When the computer executes the supplied program code, not only the functions of the above-described embodiment are realized, but also the OS (operating system) running on the computer, or another program. Needless to say, the program code is included in the embodiment of the present invention even when the functions of the above-described embodiment are realized in cooperation with application software or the like.

【0058】更に供給されたプログラムコードが、コン
ピュータの機能拡張ボードやコンピュータに接続された
機能拡張ユニットに備わるメモリに格納された後そのプ
ログラムコードの指示に基づいてその機能拡張ボードや
機能格納ユニットに備わるCPU等が実際の処理の一部ま
たは全部を行い、その処理によって前述した実施形態の
機能が実現される場合も本発明に含まれることは言うま
でもない。
Further, the supplied program code is stored in a memory provided in a function expansion board of the computer or a function expansion unit connected to the computer, and then stored in the function expansion board or the function storage unit based on the instruction of the program code. It is needless to say that the present invention includes a case where a provided CPU or the like performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0059】[0059]

【発明の効果】本発明によれば、入出力装置における色
再現域の形状の相違を良好に吸収し、高品質の出力画像
を得ることができる。
According to the present invention, the difference in the shape of the color reproduction range in the input / output device can be favorably absorbed, and a high-quality output image can be obtained.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施例としての色信号変換装置
のシステム構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a system configuration of a color signal conversion device according to a first embodiment of the present invention.

【図2】本発明の第1の実施例としての色信号変換装置
の構成を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a color signal conversion device according to a first embodiment of the present invention.

【図3】グリーンの色相におけるモニタ色再現域を表す
模式図である。
FIG. 3 is a schematic diagram illustrating a monitor color gamut in a green hue.

【図4】グリーンの色相におけるプリンタ色再現域を表
す模式図である。
FIG. 4 is a schematic diagram illustrating a printer color gamut in a green hue.

【図5】明度成分の非線型写像を実現する入出力関数の
一例を示す図である。
FIG. 5 is a diagram illustrating an example of an input / output function for realizing a non-linear mapping of a brightness component.

【図6】本発明の第1の実施例における明度/色度分離
色域写像装置207の彩度成分写像動作を示すフローチ
ャート図である。
FIG. 6 is a flowchart illustrating a chroma component mapping operation of the brightness / chromaticity separation gamut mapping device 207 according to the first embodiment of the present invention.

【図7】色Mと色Bmとの空間関係を示す模式図であ
る。
FIG. 7 is a schematic diagram illustrating a spatial relationship between a color M and a color Bm.

【図8】彩度成分の非線型写像を実現する彩度入出力関
数g(・)の一例を示す図である。
FIG. 8 is a diagram illustrating an example of a saturation input / output function g (·) for realizing a nonlinear mapping of a saturation component.

【図9】本発明の第1の実施例における明度/色度分離
色域写像装置207の色相成分写像動作を示すフローチ
ャート図である。
FIG. 9 is a flowchart showing a hue component mapping operation of the brightness / chromaticity separation gamut mapping device 207 according to the first embodiment of the present invention.

【図10】色相成分の写像を実現する色相入出力関数の
一例を示す図である。
FIG. 10 is a diagram illustrating an example of a hue input / output function that realizes mapping of hue components.

【図11】グリーンの色相における第1中間写像色再現
域を表す模式図である。
FIG. 11 is a schematic diagram illustrating a first intermediate mapped color gamut in a green hue.

【図12】本発明の第1の実施例における明度調整色域
写像装置209の動作を示すフローチャート図である。
FIG. 12 is a flowchart illustrating an operation of the brightness adjustment color gamut mapping device 209 according to the first embodiment of the present invention.

【図13】ステップ1201〜ステップ1205にて得
られる各色の空間関係を示す模式図である。
FIG. 13 is a schematic diagram showing a spatial relationship of each color obtained in steps 1201 to 1205.

【図14】aは明度成分の非線型写像を実現する入出力
関数p(・)の一例を示す図である。bは明度成分の非
線型写像を実現する入出力関数p(・)の一例を示す図
である。
FIG. 14A is a diagram illustrating an example of an input / output function p (·) for realizing a non-linear mapping of a lightness component. b is a diagram showing an example of an input / output function p (•) for realizing a non-linear mapping of a lightness component.

【図15】グリーンの色相における第2中間写像色再現
域を表す模式図である。
FIG. 15 is a schematic diagram illustrating a second intermediate mapped color gamut in a green hue.

【図16】本発明の第1の実施例における色域補正装置
211の動作を示すフローチャート図である。
FIG. 16 is a flowchart illustrating an operation of the color gamut correction device 211 according to the first embodiment of the present invention.

【図17】ステップ1601〜ステップ1604にて得
られる各色の空間関係を示す模式図である。
FIG. 17 is a schematic diagram showing a spatial relationship of each color obtained in steps 1601 to 1604.

【図18】aは彩度成分の非線型写像を実現する入出力
関数q(・)の一例を示す図である。bは彩度成分の非
線型写像を実現する入出力関数q(・)の一例を示す図
である。
FIG. 18A is a diagram illustrating an example of an input / output function q (·) for realizing a nonlinear mapping of a saturation component. b is a diagram illustrating an example of an input / output function q (•) for realizing a non-linear mapping of a saturation component.

【図19】グリーンの色相における写像色再現域を表す
模式図である。
FIG. 19 is a schematic diagram illustrating a mapped color gamut in a green hue.

【図20】ガマットマッピングの一例を示す模式図であ
る。
FIG. 20 is a schematic diagram illustrating an example of gamut mapping.

【図21】レッドの色相におけるモニタ色再現域とプリ
ンタ色再現域とを表す模式図である。
FIG. 21 is a schematic diagram illustrating a monitor color gamut and a printer color gamut in a red hue.

フロントページの続き Fターム(参考) 2C262 AA24 AB11 BA01 BA16 CA10 EA13 FA14 5B021 AA01 LG07 5B057 CA01 CA08 CB01 CB08 CE17 CE18 CH01 CH11 DB06 DB09 5C077 LL19 MP08 PP31 PP32 PP33 PP35 PP36 PP37 PP38 PQ12 PQ22 PQ23 TT02 5C079 HB06 HB11 LA26 LA37 LB02 MA01 MA11 NA01 NA03 PA03 PA05 Continued on the front page F term (reference) 2C262 AA24 AB11 BA01 BA16 CA10 EA13 FA14 5B021 AA01 LG07 5B057 CA01 CA08 CB01 CB08 CE17 CE18 CH01 CH11 DB06 DB09 5C077 LL19 MP08 PP31 PP32 PP33 PP35 PP36 PP37 PP38 PQ12 PQ22 P037 LB02 MA01 MA11 NA01 NA03 PA03 PA05

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 第1の色再現域における色信号を、第2
の色再現域における色信号へ写像変換する画像処理方法
であって、 第1の色再現域における色信号を第3の色再現域におけ
る色信号に写像変換する第1の信号変換工程と、 前記第3の色再現域の境界と前記第2の色再現域の境界
に基づき、前記第3の色再現域に対する明度補正条件を
算出する算出工程と、 前記明度補正条件に基づき、色度を保持しつつ前記第3
の色再現域の明度を調整する第2の信号変換工程とを有
することを特徴とする画像処理方法。
1. A color signal in a first color reproduction range is
An image processing method for performing mapping conversion to a color signal in a color gamut, wherein a first signal conversion step of mapping conversion of a color signal in a first color gamut to a color signal in a third color gamut; Calculating a lightness correction condition for the third color gamut based on a boundary between a third color gamut and the boundary between the second color gamut; and holding chromaticity based on the lightness correction condition. While the third
And a second signal conversion step of adjusting the lightness of the color reproduction range.
【請求項2】 前記第1の信号変換工程は、明度と色度
とを独立に写像変換することを特徴とする請求項1記載
の画像処理方法。
2. The image processing method according to claim 1, wherein in the first signal conversion step, brightness and chromaticity are independently mapped.
【請求項3】 前記明度補正条件は、前記第3の色再現
域の中間明度部における明度補正量が小さくなるように
非線型に明度を調整することを特徴とする請求項1記載
の画像処理方法。
3. The image processing apparatus according to claim 1, wherein the lightness correction condition adjusts the lightness in a non-linear manner so that the lightness correction amount in an intermediate lightness part of the third color gamut becomes small. Method.
【請求項4】 前記明度補正条件は、連続的な入出力関
数であることを特徴とする請求項1記載の画像処理方
法。
4. The image processing method according to claim 1, wherein the brightness correction condition is a continuous input / output function.
【請求項5】 前記第1の信号変換工程は、色信号を明
度と色度に分離し、 前記明度に対しては高低明度付近において圧縮率を高く
し、 前記色度に対しては高彩度付近において圧縮率を高くす
ることを特徴とする請求項1記載の画像処理方法。
5. The first signal conversion step separates a color signal into lightness and chromaticity, increases the compression ratio in the vicinity of high and low lightness for the lightness, and closes the high chroma in the chromaticity. 2. The image processing method according to claim 1, wherein the compression ratio is increased.
【請求項6】 さらに、前記第2の信号変換工程により
得られた第4の色再現域の境界と前記第3の色再現域の
境界に基づき、前記第2の信号変換工程から出力される
色信号に対して拡大写像を行う第3の信号変換工程を有
することを特徴とする請求項1記載の画像処理方法。
6. The output from the second signal conversion step based on the boundary of the fourth color gamut and the boundary of the third color gamut obtained in the second signal conversion step. 2. The image processing method according to claim 1, further comprising a third signal conversion step of performing an enlarged mapping on the color signal.
【請求項7】 さらに、前記第2の信号変換工程により
得られた第4の色再現域の境界と前記第3の色再現域の
境界に基づき、前記第2の信号変換工程から出力される
色信号に対して拡大写像または縮小写像を行う第3の信
号変換工程を有することを特徴とする請求項1記載の画
像処理方法。
7. An output from the second signal conversion step based on a boundary of a fourth color reproduction area and a boundary of the third color reproduction area obtained in the second signal conversion step. 2. The image processing method according to claim 1, further comprising a third signal conversion step of performing an expansion mapping or a reduction mapping on the color signal.
【請求項8】 第1の色再現域における色信号を、第2
の色再現域における色信号へ写像変換する画像処理装置
であって、 第1の色再現域における色信号を第3の色再現域におけ
る色信号に写像変換する第1の信号変換手段と、 前記第3の色再現域の境界と前記第2の色再現域の境界
に基づき、前記第3の色再現域に対する明度補正条件を
算出する算出手段と、 前記明度補正条件に基づき、色度を保持しつつ前記第3
の色再現域の明度を調整する第2の信号変換手段とを有
することを特徴とする画像処理装置。
8. A color signal in a first color gamut is converted into a second color signal.
An image processing device that performs mapping conversion to a color signal in a color reproduction range of: a first signal conversion unit that performs mapping conversion of a color signal in a first color reproduction range to a color signal in a third color reproduction range. Calculating means for calculating a lightness correction condition for the third color gamut based on a boundary between a third color gamut and the boundary between the second color gamut; and holding chromaticity based on the lightness correction condition. While the third
And a second signal converter for adjusting the brightness of the color reproduction range.
【請求項9】 コンピュータが読み取り可能にプログラ
ムが記録されている記録媒体であって、 第1の色再現域における色信号を、第2の色再現域にお
ける色信号へ写像変換する画像処理方法であって、 第1の色再現域における色信号を第3の色再現域におけ
る色信号に写像変換する第1の信号変換工程と、 前記第3の色再現域の境界と前記第2の色再現域の境界
に基づき、前記第3の色再現域に対する明度補正条件を
算出する算出工程と、 前記明度補正条件に基づき、色度を保持しつつ前記第3
の色再現域の明度を調整する第2の信号変換工程とを有
するプログラムを記録することを特徴とする記録媒体。
9. A recording medium on which a program is recorded so as to be readable by a computer, comprising: an image processing method for mapping a color signal in a first color gamut into a color signal in a second color gamut. A first signal conversion step of mapping a color signal in a first color gamut to a color signal in a third color gamut; and a boundary of the third color gamut and the second color reproduction. Calculating a lightness correction condition for the third color gamut based on the boundary of the gamut; and calculating the third lightness while maintaining the chromaticity based on the lightness correction condition.
A second signal conversion step of adjusting the lightness of the color gamut of the recording medium.
JP26390499A 1998-12-21 1999-09-17 Image processing method, apparatus and recording medium Withdrawn JP2001094799A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP26390499A JP2001094799A (en) 1999-09-17 1999-09-17 Image processing method, apparatus and recording medium
US09/467,984 US7116441B1 (en) 1998-12-21 1999-12-21 Signal processing apparatus image processing apparatus and their methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26390499A JP2001094799A (en) 1999-09-17 1999-09-17 Image processing method, apparatus and recording medium

Publications (1)

Publication Number Publication Date
JP2001094799A true JP2001094799A (en) 2001-04-06

Family

ID=17395888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26390499A Withdrawn JP2001094799A (en) 1998-12-21 1999-09-17 Image processing method, apparatus and recording medium

Country Status (1)

Country Link
JP (1) JP2001094799A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003037745A (en) * 2001-07-24 2003-02-07 Matsushita Electric Ind Co Ltd Color gamut compression method
JP2007043424A (en) * 2005-08-02 2007-02-15 Canon Inc Color processing method and apparatus
EP1995947A2 (en) 2007-05-21 2008-11-26 Canon Kabushiki Kaisha Color signal conversion method and apparatus, and method and apparatus for generating mapping parameters
JP2009219061A (en) * 2008-03-12 2009-09-24 Seiko Epson Corp Image processing method, image processor and image processing program
US7639380B2 (en) 2001-08-28 2009-12-29 Fujifilm Corporation Print order system, printing system, order terminal, and programs therefor
US8045222B2 (en) 2006-06-30 2011-10-25 Ricoh Company, Ltd. Image processing method, image processing apparatus, computer program product, and recording medium for image processing

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003037745A (en) * 2001-07-24 2003-02-07 Matsushita Electric Ind Co Ltd Color gamut compression method
US7639380B2 (en) 2001-08-28 2009-12-29 Fujifilm Corporation Print order system, printing system, order terminal, and programs therefor
JP2007043424A (en) * 2005-08-02 2007-02-15 Canon Inc Color processing method and apparatus
US8045222B2 (en) 2006-06-30 2011-10-25 Ricoh Company, Ltd. Image processing method, image processing apparatus, computer program product, and recording medium for image processing
EP1995947A2 (en) 2007-05-21 2008-11-26 Canon Kabushiki Kaisha Color signal conversion method and apparatus, and method and apparatus for generating mapping parameters
US7982912B2 (en) 2007-05-21 2011-07-19 Canon Kabushiki Kaisha Color signal conversion method and apparatus, and method and apparatus for generating mapping parameters
JP2009219061A (en) * 2008-03-12 2009-09-24 Seiko Epson Corp Image processing method, image processor and image processing program

Similar Documents

Publication Publication Date Title
US7116441B1 (en) Signal processing apparatus image processing apparatus and their methods
US6608926B1 (en) Image processing method, image processing apparatus and recording medium
JP3163987B2 (en) Image processing apparatus and gamut adjustment method
JP4065482B2 (en) Image data processing method, apparatus, storage medium, and program
US20110298819A1 (en) Hardware-accelerated color data processing
JP2000165692A (en) Color data conversion method
JPH11313219A (en) Color data conversion method
US8665290B2 (en) Image-based source gamut adjustment for compression-type gamut mapping algorithm
US7446899B2 (en) Image processing method, image processing apparatus, and storage medium
US7809187B2 (en) Color processing method and apparatus
JP4565642B2 (en) Image processing method and image processing apparatus
WO2023241339A1 (en) Color cast correction method and apparatus, device, storage medium and program product
JP2001094799A (en) Image processing method, apparatus and recording medium
JP4109802B2 (en) Color processing apparatus and method
JP2002033931A (en) Image processing method, apparatus and recording medium
JP4592089B2 (en) Image processing method, profile creation method, and image processing apparatus
JP2003143425A (en) Image processing device
JP2005176200A (en) Color signal converting apparatus and method
JP4227371B2 (en) Image processing apparatus and method
JP2002335416A (en) Color signal conversion device, method, program, and storage medium
JP4423016B2 (en) Image processing apparatus, image processing method, storage medium, and program
JP2000188694A (en) Signal processor and its method
JP2008283522A (en) Color processing apparatus and method
JP2003323609A (en) Color conversion processing method, color conversion processing device, and recording medium
JP2004072272A (en) Image processing apparatus and method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20061205