JP2001036756A - Method and device for processing image - Google Patents

Method and device for processing image

Info

Publication number
JP2001036756A
JP2001036756A JP11202190A JP20219099A JP2001036756A JP 2001036756 A JP2001036756 A JP 2001036756A JP 11202190 A JP11202190 A JP 11202190A JP 20219099 A JP20219099 A JP 20219099A JP 2001036756 A JP2001036756 A JP 2001036756A
Authority
JP
Japan
Prior art keywords
color
image processing
image data
image
color reproduction
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
JP11202190A
Other languages
Japanese (ja)
Inventor
Okinobu Tsuchiya
興宜 土屋
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 JP11202190A priority Critical patent/JP2001036756A/en
Publication of JP2001036756A publication Critical patent/JP2001036756A/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

PROBLEM TO BE SOLVED: To obtain image processing method and device capable of realizing color reproducing space mapping without deteriorating the quality of images. SOLUTION: Only a false contour is extracted by detecting (S103 to S107) an edge part from an image obtained by applying color reproducing space mapping processing (S102) to a target image and comparing (S108) the detected edge part with an edge part directly detected (S121 to S125) from the target image and the mapping processing is corrected (S110) in accordance with the degree of false contour.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像処理方法及び装
置に関し、特に色再現空間のマッピングを行う画像処理
方法及び装置に関する。
The present invention relates to an image processing method and apparatus, and more particularly, to an image processing method and apparatus for mapping a color reproduction space.

【0002】[0002]

【従来の技術】インクジェットプリンタ等の画像処理装
置において、画像入力部から入力された3次元の色信号
に基づいて画像出力部からカラー画像を出力する場合
に、色再現性が良好に保たれている必要がある。このた
めの技術として、画像出力部で色再現できない範囲を圧
縮して色再現できる範囲にマッピングする、いわゆる色
再現空間マッピング技術が知られている。
2. Description of the Related Art In an image processing apparatus such as an ink jet printer, when a color image is output from an image output unit based on a three-dimensional color signal input from an image input unit, good color reproducibility is maintained. Need to be. As a technique for this, a so-called color reproduction space mapping technique is known in which a range in which color cannot be reproduced by an image output unit is compressed and mapped to a range in which color can be reproduced.

【0003】従来の色再現空間マッピング技術として
は、例えば、特開平5−284347号に示されるよう
な方法が知られている。即ち、3次元ルックアップテー
ブル(LUT)を用いて色変換を行いて色再現空間マッ
ピングを行う場合に、出力色空間(色再現変換系と出力
系との間で色信号が形成する空間)を色再現空間マッピ
ング処理を行う領域(マッピング領域)と該処理を行わ
ない領域(非マッピング領域)とに分け、それを入力色
空間(入力系と色再現変換系との間で色信号が形成する
空間)にマッピングしてクリッピング領域を判断してい
た。
[0003] As a conventional color reproduction space mapping technique, for example, a method disclosed in Japanese Patent Application Laid-Open No. 5-284347 is known. That is, when performing color conversion using a three-dimensional lookup table (LUT) to perform color reproduction space mapping, the output color space (the space in which color signals are formed between the color reproduction conversion system and the output system) is changed. An area where the color reproduction space mapping processing is performed (mapping area) and an area where the processing is not performed (non-mapping area) are divided, and a color signal is formed between the input color space (input system and color reproduction conversion system). Mapping) to determine the clipping area.

【0004】従来のマッピング技術を図面を参照して具
体的に説明する。図15は、モニタ等の入力色空間がプ
リンタ等の出力色空間よりも広い例を示す図であり、入
力色空間において出力できない範囲を、出力色空間内の
圧縮色再現領域に圧縮する必要があることが分かる。従
って従来のマッピング技術によれば、プリンタの出力色
空間が、圧縮色再現領域であるマッピング領域と忠実色
再現領域である非マッピング領域とに任意の境界で分離
される。
[0004] A conventional mapping technique will be specifically described with reference to the drawings. FIG. 15 is a diagram showing an example in which the input color space of a monitor or the like is wider than the output color space of a printer or the like. It is necessary to compress a range that cannot be output in the input color space into a compressed color reproduction area in the output color space. You can see that there is. Therefore, according to the conventional mapping technique, the output color space of the printer is separated at an arbitrary boundary into a mapping area that is a compressed color reproduction area and a non-mapping area that is a faithful color reproduction area.

【0005】次に、実際のマッピング例を図16に示
す。同図において縦軸はプリンタ彩度、横軸はモニタ彩
度を示し、それぞれSo2がプリンタ最大彩度、Si2がモ
ニタ最大彩度を示す。プリンタ彩度において0〜So1が
図15の忠実色再現領域に相当し、So1〜So2が圧縮色
再現領域に相当する。図16によれば即ち、モニタ彩度
における0〜Si1がプリンタ側の忠実色再現領域内にマ
ッピングされ、Si1〜Si2が圧縮色再現領域内にマッピ
ングされることが分かる。このように、従来の色空間マ
ッピング処理においては、第一空間へのマッピング法と
第二の空間へのマッピング法とを変化させていた。
Next, an actual mapping example is shown in FIG. In the figure, the vertical axis indicates the printer saturation, and the horizontal axis indicates the monitor saturation. So2 indicates the maximum printer saturation and Si2 indicates the maximum monitor saturation. In printer saturation, 0 to So1 correspond to the faithful color reproduction area in FIG. 15, and So1 to So2 correspond to the compressed color reproduction area. FIG. 16 shows that 0 to Si1 in the monitor saturation are mapped in the faithful color reproduction area on the printer side, and Si1 to Si2 are mapped in the compressed color reproduction area. As described above, in the conventional color space mapping processing, the mapping method to the first space and the mapping method to the second space are changed.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来の色再現空間マッピング方法によれば、出力機器の色
再現空間の2領域においてマッピング法が異なるため、
任意に設定される該2領域の境界の選び方によっては、
擬似輪郭やトーン(色調)ジャンプが生じてしまい、画
質劣化を誘発してしまうことがあった。
However, according to the above-mentioned conventional color reproduction space mapping method, the mapping method is different in two regions of the color reproduction space of the output device.
Depending on how to select the boundary between the two regions that is arbitrarily set,
In some cases, a false contour or a tone (color tone) jump is generated, thereby deteriorating the image quality.

【0007】本発明は上記問題を解決するためになされ
たものであり、画質劣化を伴わない色再現空間マッピン
グを実現する画像処理方法及び装置を提供することを目
的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and has as its object to provide an image processing method and apparatus for realizing color reproduction space mapping without image quality deterioration.

【0008】また、色再現空間マッピング処理によって
発生した擬似輪郭を検出する画像処理方法及び装置を提
供することを目的とする。
It is another object of the present invention to provide an image processing method and apparatus for detecting a pseudo contour generated by a color reproduction space mapping process.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
の一手法として、本発明の画像処理方法は以下の工程を
備える。
According to one aspect of the present invention, an image processing method includes the following steps.

【0010】即ち、画像データからエッジ部を検出する
第1のエッジ検出工程と、前記画像データについて色信
号変換を施した後にエッジ部を検出する第2のエッジ検
出工程と、前記第1の検出工程における検出結果と、前
記第2の検出工程における検出結果とを比較する比較工
程と、該比較結果に基づいて擬似輪郭を検出する擬似輪
郭検出工程と、を有することを特徴とする。
That is, a first edge detecting step of detecting an edge portion from image data, a second edge detecting step of detecting an edge portion after performing color signal conversion on the image data, and the first detecting step. A comparison step of comparing a detection result in the step with a detection result in the second detection step; and a pseudo contour detection step of detecting a pseudo contour based on the comparison result.

【0011】更に、前記擬似輪郭検出工程において検出
された擬似輪郭に基づいて、前記色信号変換の方法を補
正する補正工程を有することを特徴とする。
Further, the method further comprises a correction step of correcting the color signal conversion method based on the pseudo contour detected in the pseudo contour detection step.

【0012】更に、前記擬似輪郭の度合を示すパラメー
タを設定する設定工程を備え、前記補正工程において
は、前記パラメータに基づいて前記色信号変換の方法を
補正することを特徴とする。
[0012] The method may further include a setting step of setting a parameter indicating the degree of the pseudo contour, wherein the correcting step corrects the color signal conversion method based on the parameter.

【0013】更に、前記補正工程において補正された色
信号変換方法によって、画像データに対する色信号変換
処理を行う変換工程を有することを特徴とする。
Further, the image processing apparatus further includes a conversion step of performing a color signal conversion process on the image data by the color signal conversion method corrected in the correction step.

【0014】[0014]

【発明の実施の形態】以下、図面を参照して本発明に係
る一実施形態について詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment according to the present invention will be described below in detail with reference to the drawings.

【0015】<第1実施形態> ●システム構成 本実施形態におけるシステムの一例を図1に示す。ホス
トコンピュータ100には、例えばインクジェットプリ
ンタなどのプリンタ105とモニタ106が接続されて
いる。
First Embodiment System Configuration An example of a system according to the present embodiment is shown in FIG. A printer 105 such as an ink jet printer and a monitor 106 are connected to the host computer 100.

【0016】ホストコンピュータ100は、ワードプロ
セッサ、表計算、インターネットブラウザ等のアプリケ
ーションソフトウエア101と、OS(Operati
ngSystem)102、アプリケーション101に
よってOS102に発行される出力画像を示す各種描画
命令群(イメージ描画命令、テキスト描画命令、グラフ
ィックス描画命令)を処理して印刷データを作成するプ
リンタドライバ103、およびアプリケーション101
が発行する各種描画命令群を処理してモニタ106に表
示を行なうモニタドライバ104をソフトウエアとして
持つ。
The host computer 100 includes application software 101 such as a word processor, a spreadsheet, and an Internet browser, and an OS (Operati).
ngSystem) 102, a printer driver 103 that processes various drawing commands (image drawing command, text drawing command, graphics drawing command) indicating an output image issued by the application 101 to the OS 102, and creates print data, and the application 101
The software has a monitor driver 104 that processes various drawing command groups issued by the PC and displays the result on the monitor 106.

【0017】ホストコンピュータ100は、これらソフ
トウエアが動作可能な各種ハードウエアとして中央演算
処理装置CPU108、ハードディスクHD107、ラ
ンダムアクセスメモリRAM109、リードオンリメモ
リROM110等を備える。
The host computer 100 includes a central processing unit CPU 108, a hard disk HD 107, a random access memory RAM 109, a read only memory ROM 110, and the like as various hardware on which the software can operate.

【0018】図1で示される画像処理システムの例とし
て、例えば一般的に普及しているIBM社製のPC−A
T互換のパーソナルコンピュータにMicrosoft
社のWindows98をOSとして使用し、印刷を行
える所望のアプリケーションをインストールし、モニタ
とプリンタとを接続した形態が考えられる。
As an example of the image processing system shown in FIG. 1, for example, PC-A manufactured by IBM, which is widely spread, is used.
Microsoft compatible with T compatible personal computer
It is possible to use Windows 98 of the company as an OS, install a desired application capable of printing, and connect a monitor and a printer.

【0019】ホストコンピュータ100では、モニタに
表示された表示画像にもとづき、アプリケーション10
1で、文字などのテキストに分類されるテキストデー
タ、図形などのグラフィックスに分類されるグラフィッ
クスデータ、自然画などに分類されるイメージ画像デー
タなどを用いて出力画像データを作成する。そして、出
力画像データを印刷出力するときには、アプリケーショ
ン101からOS102に印刷出力要求を行ない、グラ
フィックスデータ部分はグラフィックス描画命令、イメ
ージ画像データ部分はイメージ描画命令で構成される出
力画像を示す描画命令群をOS102に発行する。OS
102はアプリケーションの出力要求を受け、出力プリ
ンタに対応するプリンタドライバ103に描画命令群を
発行する。プリンタドライバ103はOS102から入
力した印刷要求と描画命令群を処理しプリンタ105で
印刷可能な印刷データを作成してプリンタ105に転送
する。プリンタ105がラスタープリンタである場合
は、プリンタドライバ103では、OSからの描画命令
に対して順次画像補正処理を行い、そして順次RGB2
4ビットページメモリにラスタライズし、全ての描画命
令をラスタライズした後にRGB24ビットページメモ
リの内容をプリンタ105が印刷可能なデータ形式、例
えばCMYKデータに変換を行ないプリンタ105に転
送する。
In the host computer 100, based on the display image displayed on the monitor, the application 10
In step 1, output image data is created using text data classified as text such as characters, graphics data classified as graphics such as figures, image image data classified as natural images, and the like. When printing out the output image data, the application 101 issues a print output request to the OS 102, and the graphics data portion is a graphics drawing command, and the image image data portion is a drawing command indicating an output image composed of an image drawing command. The group is issued to the OS 102. OS
102 receives an output request from an application and issues a drawing command group to a printer driver 103 corresponding to the output printer. The printer driver 103 processes a print request and a drawing command group input from the OS 102, creates print data printable by the printer 105, and transfers the print data to the printer 105. When the printer 105 is a raster printer, the printer driver 103 sequentially performs image correction processing in response to a drawing command from the OS, and sequentially executes RGB2
After rasterizing into a 4-bit page memory and rasterizing all drawing commands, the contents of the RGB 24-bit page memory are converted into a data format printable by the printer 105, for example, CMYK data, and transferred to the printer 105.

【0020】次に、プリンタドライバ103で行われる
処理を図2を用いて説明する。
Next, processing performed by the printer driver 103 will be described with reference to FIG.

【0021】画像補正処理部120は、OS102から
入力した描画命令群に含まれる色情報に対して、画像補
正処理を行う。この画像補正処理としては例えば、RG
B色情報を輝度・色差信号に変換し、輝度信号に対して
露出補正処理を行い、補正された輝度・色差信号をRG
B色情報に逆変換する。
The image correction processing unit 120 performs an image correction process on the color information included in the drawing command group input from the OS 102. As this image correction processing, for example, RG
The B color information is converted into a luminance / color difference signal, an exposure correction process is performed on the luminance signal, and the corrected luminance / color difference signal is converted into an RG signal.
Inverse conversion to B color information.

【0022】プリンタ用補正処理部121は、まず画像
補正処理されたRGB色情報によって描画命令をラスタ
ライズし、RGB24ビットページメモリ上にラスター
画像を生成し、色再現空間マッピング処理、CMYKへ
の色分解処理、階調補正処理をおこなって各画素に対し
てプリンタの色再現性に依存したCMYKデータを生成
し、印刷可能となった画像データをプリンタ105に転
送する。
The printer correction processing unit 121 first rasterizes a drawing command based on the RGB color information subjected to the image correction processing, generates a raster image on an RGB 24-bit page memory, performs color reproduction space mapping processing, and color separation into CMYK. Processing and gradation correction processing are performed to generate CMYK data for each pixel depending on the color reproducibility of the printer, and the printable image data is transferred to the printer 105.

【0023】●プリンタ用補正処理 以下、図2に示すプリンタ用補正処理部121における
処理ついて詳細に説明する。図3は、プリンタ用補正処
理部121の詳細ブロック構成を示す図である。尚、以
下においては説明の簡単のため、通常3次元で表される
色空間を模式的に2次元で表現する(図4等)とする。
Printer Correction Processing The processing in the printer correction processing unit 121 shown in FIG. 2 will be described in detail below. FIG. 3 is a diagram illustrating a detailed block configuration of the printer correction processing unit 121. In the following, for the sake of simplicity, it is assumed that a color space normally represented in three dimensions is schematically represented in two dimensions (FIG. 4 and the like).

【0024】まず、画像補正処理部120によって明る
さやコントラスト、色調が整えられたRGB各8ビット
の画像データが、プリンタ用補正処理部121内の画像
信号入力部131に入力される。ここで、入力されたR
GB各8ビットの画像データは、モニタ上で再現される
色に対応している。例えば、均等色空間であるCIEL
*a*b*表色系の座標値においては、(L_Monitor,a_Mo
nitor,b_Monitor)という色を表している。
First, 8-bit RGB image data, whose brightness, contrast, and color tone have been adjusted by the image correction processing unit 120, are input to an image signal input unit 131 in the printer correction processing unit 121. Here, the input R
The 8-bit image data of each GB corresponds to a color reproduced on a monitor. For example, CIEL which is a uniform color space
In the coordinate values of * a * b * color system, (L_Monitor, a_Mo
nitor, b_Monitor).

【0025】ところが、図4からも分かるように、モニ
タ106の色再現空間とプリンタ105の色再現空間
は、例えばL*a*b*空間等の均等色空間上においてそ
の大きさが異なっている。従って、モニタ106上に表
現された画像データに対して、後述する後段色変換部1
33でRGB−CMYK変換を、階調補正部134で階
調補正処理を施した後、画像出力部135に出力して
も、印刷が不可能な領域、即ちプリンタ105において
表現不可能な色空間上の領域が発生してしまう。
However, as can be seen from FIG. 4, the color reproduction space of the monitor 106 and the color reproduction space of the printer 105 are different in size on a uniform color space such as an L * a * b * space. . Therefore, the image data expressed on the monitor 106 is processed by the post-stage color conversion unit 1 described later.
33, the RGB-CMYK conversion is performed by the gradation correction unit 134, and then the image is output to the image output unit 135. The upper area occurs.

【0026】従ってプリンタ105側においては、モニ
タ106で再現可能で、且つプリンタ105で再現不可
能な色空間上の領域(図4の斜線の領域)について、擬
似的な色(L*a*b*値)、即ちモニタ106の発色と
は異なる擬似的な色を生成して印刷を行う必要がある。
Therefore, on the printer 105 side, a pseudo color (L * a * b) in an area in a color space that can be reproduced by the monitor 106 but cannot be reproduced by the printer 105 (the shaded area in FIG. 4). * Value), that is, a pseudo color different from the color of the monitor 106 must be generated and printed.

【0027】以下、均等色空間としてL*a*b*空間を
円筒座標H(=atan(b/a)),S(=sqrt(a*2+b*
2)),V(=L*)に写したHSV空間を考え、該全空
間について、図5に示される一つのSについての圧縮式
を用いて、色空間圧縮を行う場合について説明する。
Hereinafter, the L * a * b * space is defined as a uniform color space in cylindrical coordinates H (= atan (b / a)), S (= sqrt (a * 2 + b *).
2 )), a case where an HSV space copied to V (= L *) is considered, and color space compression is performed for the entire space using the compression formula for one S shown in FIG.

【0028】●前段色変換部 プリンタ用補正処理部121内の前段色変換部132に
おいては、モニタ106の色再現空間(モニタガマッ
ト)において、プリンタ105で再現不可能な領域につ
いて圧縮を施すことにより、プリンタ105の色再現空
間(プリンタガマット)内の点と対応付ける。即ち、前
段色変換部132によって処理されたRGB各8ビット
のデータは、プリンタ色再現空間上の点に対応したR’
G’B’各8ビットのデータに変換される。
The first-stage color conversion unit 132 in the first-stage color conversion unit 132 in the printer correction processing unit 121 compresses an area that cannot be reproduced by the printer 105 in the color reproduction space (monitor gamut) of the monitor 106. And a point in the color reproduction space (printer gamut) of the printer 105. That is, the RGB 8-bit data processed by the pre-stage color conversion unit 132 outputs R ′ corresponding to a point in the printer color reproduction space.
G'B 'is converted to 8-bit data.

【0029】具体的には、前段色変換部132において
は、以下の手順に従ってモニタ106のRGB色信号空
間からプリンタ105のR’G’B’色信号空間への変
換を行う。
More specifically, the pre-stage color conversion section 132 converts the RGB color signal space of the monitor 106 into the R'G'B 'color signal space of the printer 105 according to the following procedure.

【0030】RGB色信号空間は3軸がR,G,B
(赤,緑,青)の色信号強度を表しており、各色信号が
とれる値は、色信号の強さのデータが8ビット構成であ
れば、“0”,“1”,“2”,…,“255”の25
6種である。従って、該RGB色信号によって表現可能
な色数は16777216色となるが、この全色につい
て測色的にL*a*b*値を求めることは現実的でない。
そこで本実施形態においては、以下に説明するように
R,G,Bそれぞれの色信号強度を9分割し、その格子
間に位置するRGB値を補間することを特徴とする。
尚、本実施形態においては、RGB値から対応するL*
a*b*値を求める手法として、立方体補間法を用いる。
The RGB color signal space has three axes of R, G, B
(Red, green, blue), and the value that each color signal can take is “0”, “1”, “2”, …, 25 of “255”
There are six types. Therefore, the number of colors that can be represented by the RGB color signals is 16777216 colors, but it is not realistic to obtain the L * a * b * values calorimetrically for all the colors.
Therefore, the present embodiment is characterized in that the R, G, and B color signal intensities are divided into nine and the RGB values located between the lattices are interpolated as described below.
Note that in the present embodiment, the corresponding L *
As a method of obtaining the a * b * values, a cubic interpolation method is used.

【0031】例えば、図6に示す画像データを2種類の
デバイスより出力し、各デバイスによる色再現空間(ガ
マット)を、均等色空間の座標点とそれぞれ対応づけら
れた、RGB空間内の3次元の格子によって表現する場
合について考える。
For example, image data shown in FIG. 6 is output from two types of devices, and a color reproduction space (gamut) of each device is converted into a three-dimensional image in an RGB space, which is associated with a coordinate point in a uniform color space. Let us consider the case of expressing by the lattice of

【0032】この場合の格子点の座標としては、各色の
信号値が“0”,“16”,“32”,…,“224”
および“255”の9通りの組合せで表現されるものを
考える。その結果、格子点の数は93=729となる。
この時、色信号強度を一般の測色機器で測色して例えば
L*a*b*値を求めることにより、各入出力色信号の絶
対色を比較することが可能となる。これにより即ち、R
GB色信号強度とL*a*b*値とが対応づけられる。
In this case, as the coordinates of the grid points, the signal value of each color is “0”, “16”, “32”,.
And “255” are considered as nine combinations. As a result, the number of grid points is 9 3 = 729.
At this time, it is possible to compare the absolute colors of the input and output color signals by measuring the color signal intensity with a general colorimetric device and obtaining, for example, L * a * b * values. This means that R
The GB color signal intensity is associated with the L * a * b * value.

【0033】尚、均等色空間における色置の比較は、上
記測色値を用いる方法に代えて、例えば特開平5−28
7347号に記載された出力結果予測手法を用いてもよ
い。該手法によればニューラルネットワークを応用した
近似式を予測に用いることで、L*a*b*値から直接C
MYK値を得ることができる。
Incidentally, the comparison of the color arrangement in the uniform color space is performed by, for example, Japanese Patent Laid-Open No. 5-28, instead of the method using the colorimetric values.
No. 7347 may be used. According to this method, an approximate expression applying a neural network is used for prediction, so that C * can be directly obtained from L * a * b * values.
The MYK value can be obtained.

【0034】また本実施形態のように729点の格子点
におけるCMYK値から任意のRGB値を求める場合に
は、補間を行う必要があるが、上記近似式を用いること
により、補間処理を省いた効率的な処理が可能となる。
予測手法としては種々の手法が知られているが、要求さ
れる要素精度などを考慮して、適当な手法を用いればよ
い。
When an arbitrary RGB value is obtained from CMYK values at 729 grid points as in the present embodiment, interpolation must be performed. However, the interpolation processing is omitted by using the above approximate expression. Efficient processing becomes possible.
Various methods are known as a prediction method, but an appropriate method may be used in consideration of required element accuracy and the like.

【0035】図3に示す前段色変換部132において
は、L*a*b*空間上でモニタRGBによるガマットが
プリンタR’G’B’ガマットの内側に入るように、例
えば明度L*を保持したまま彩度S(=sqrt(a*×a*+
b*×b*))を下げる等の処理を行うことにより圧縮す
る。この圧縮処理の例を図7に示す。図7は、彩度
(S)方向へのガマット圧縮をSV平面において概念的
に示すものである。該処理によって即ち、モニタRGB
値に対応するプリンタガマット内のL*a*b*値の組が
得られる。
The pre-stage color converter 132 shown in FIG. 3 holds, for example, the lightness L * so that the gamut by the monitor RGB enters the printer R'G'B 'gamut in the L * a * b * space. Saturation S (= sqrt (a * × a * +
b * × b *)) to compress the image. FIG. 7 shows an example of this compression processing. FIG. 7 conceptually shows gamut compression in the saturation (S) direction on the SV plane. That is, the monitor RGB
A set of L * a * b * values in the printer gamut corresponding to the values is obtained.

【0036】圧縮後のモニタガマットがプリンタガマッ
トに収まるようになったら、例えば、色差ΔE(=sqrt
((L*'−L*)2+(a*'−a*)2+(b*'−b*)2))が最小
となるように、L*a*b*値をキーとして、モニタ
(R,G,B)とプリンタ(R’,G’,B’)の組を
決定することで、モニタRGB値に対応するプリンタ
R’G’B’値を求めることができる。
When the monitor gamut after compression can be accommodated in the printer gamut, for example, the color difference ΔE (= sqrt
The L * a * b * value is used as a key so that ((L * ′ − L *) 2 + (a * ′ − a *) 2 + (b * ′ − b *) 2 )) is minimized. By determining a set of the monitor (R, G, B) and the printer (R ', G', B '), a printer R'G'B' value corresponding to the monitor RGB value can be obtained.

【0037】しかしながら、上述した前段色変換処理に
よれば、モニタガマットとプリンタガマットの双方に共
通な領域ではΔEを指標として忠実な色再現を行いつ
つ、モニタ(R,G,B)とプリンタ(R’,G’,
B’)の組を決定することが可能であるが、プリンタの
再現不可能な色空間上の領域については色の潰れが起こ
りやすい。即ち、空間的に短い区間で色調が急激に変化
するような領域では十分な階調性が保たれていないこと
から擬似輪郭が生じ易く、良好な色再現を行うことがで
きない。
However, according to the above-described pre-stage color conversion processing, in a region common to both the monitor gamut and the printer gamut, the monitor (R, G, B) and the printer ( R ', G',
Although the set B ′) can be determined, color collapse is likely to occur in an area in a color space that cannot be reproduced by the printer. That is, in a region where the color tone sharply changes in a spatially short section, sufficient gradation is not maintained, so that a pseudo contour is easily generated, and good color reproduction cannot be performed.

【0038】そこで前段色変換部132においては、図
8に示す色再現空間マッピング補正処理を行うことによ
り、擬似輪郭の抑制を可能とする。
The pre-stage color conversion section 132 performs the color reproduction space mapping correction processing shown in FIG.

【0039】以下、本実施形態における色再現空間マッ
ピング補正処理について、図8のフローチャートを参照
して詳述する。
Hereinafter, the color reproduction space mapping correction processing in this embodiment will be described in detail with reference to the flowchart of FIG.

【0040】まず、ステップS101において初期圧縮
パラメータ設定を行う際に、図5に示すような圧縮が行
われるような設定を行った後、ステップS102におい
て通常の前段色変換処理と同様の色再現空間マッピング
処理を行ない、ステップS103で該マッピング処理に
よって生成されたRGB−R’G’B’の変換LUTを
用いて自然画(サンプル画像)を変換する。
First, when the initial compression parameters are set in step S101, settings are made so that the compression as shown in FIG. 5 is performed. In step S102, the same color reproduction space as that of the normal former-stage color conversion process is used. A mapping process is performed, and in step S103, a natural image (sample image) is converted using the RGB-R'G'B 'conversion LUT generated by the mapping process.

【0041】ここで上述したように、ステップS103
で得られた変換結果においては、階調性の不足によって
画像上のグラデーション部分に存在し得ない輪郭、即ち
擬似輪郭が生じているおそれがある。
Here, as described above, step S103
In the conversion result obtained in (1), there is a possibility that a contour that cannot exist in a gradation portion on the image due to lack of gradation, that is, a pseudo contour, may occur.

【0042】そこで本実施形態においては、前段色処理
後のサンプル画像について更に微分処理を行ってエッジ
を抽出し(S104)、視覚に感ずる輪郭線を抽出する
ためにフーリエ変換を施し(S105)、人間の空間周
波数領域での視覚特性を表すフィルタであるMTFを通
し(S106)、さらに実領域に戻すためにフーリエ逆
変換を行う(S107)。尚、図9にステップS106
で使用するMTFの例を示す。これにより、前段色処理
後のサンプル画像におけるエッジ部が検出される。尚、
このエッジ検出は、微分処理のみ、あるいはフーリエ変
換,MTF,逆フーリエ変換の組み合わせのみによって
行うことも可能である。
Therefore, in the present embodiment, the sample image after the pre-stage color processing is further differentiated to extract an edge (S104), and to perform a Fourier transform to extract a visually perceived outline (S105). The image is passed through an MTF, which is a filter representing visual characteristics in the spatial frequency domain of a human (S106), and an inverse Fourier transform is performed to return to the real domain (S107). Note that FIG.
Here is an example of the MTF used in. Thus, an edge portion in the sample image after the first-stage color processing is detected. still,
This edge detection can be performed only by differential processing or only by a combination of Fourier transform, MTF, and inverse Fourier transform.

【0043】以上の処理で抽出されたエッジ群はオリジ
ナルのサンプル画像(原サンプル画像)にも同様に存在
している可能性があるので、擬似輪郭候補のみを検出す
るために、上記と同様のエッジ抽出処理を原サンプル画
像、即ち色再現空間マッピング処理を行っていない画像
に対しても並行して施す(S121〜S125)。そし
てステップS108において2つの画像の差分をとるこ
とで、真の擬似輪郭のみを検出することができる。
Since the edge group extracted by the above processing may exist in the original sample image (original sample image) as well, in order to detect only the pseudo contour candidate, the edge group similar to the above is used. Edge extraction processing is also performed in parallel on the original sample image, that is, an image on which the color reproduction space mapping processing has not been performed (S121 to S125). Then, by taking the difference between the two images in step S108, it is possible to detect only the true pseudo contour.

【0044】その後、詳細は後述するが、ステップS1
08で検出された擬似輪郭の強さを示す圧縮パラメータ
γを算出し(S109)、該パラメータに基づいて、色
再現空間マッピング処理の補正が行われる(S11
0)。
Thereafter, although details will be described later, step S1
The compression parameter γ indicating the strength of the pseudo contour detected in step 08 is calculated (S109), and the color reproduction space mapping process is corrected based on the parameter (S11).
0).

【0045】尚、擬似輪郭抽出の際に、原サンプル画像
に対してMTF等によるフィルタ処理を施した画像と、
前段色処理後のサンプル画像に対してフィルタ処理を施
した画像とでは、抽出される輪郭線において互いにズレ
が発生することがある。このような場合には、これら2
つの画像間の差分をとる前に例えば、原画像に生じる輪
郭線を膨張処理し、その後に差分をとることで前記ズレ
による誤差を抑制することができる。
At the time of pseudo contour extraction, an image obtained by subjecting the original sample image to filter processing using MTF or the like,
A shift may occur between the extracted contour line and the image obtained by performing the filter process on the sample image after the first-stage color processing. In such a case, these 2
For example, before taking the difference between the two images, the contour line generated in the original image is subjected to dilation processing, and then the difference is taken, so that the error due to the deviation can be suppressed.

【0046】また、前記色処理後のサンプル画像と原サ
ンプル画像とでは、それぞれの微分画像における対応点
の画素値が異なるが、これを吸収するために、それぞれ
の微分画像を原サンプル画像よりも低い階調数に設定す
ることも有効である。あるいは、微分画像での画素値を
例えば0〜100に規格化することも有効である。ま
た、複数検出された擬似輪郭候補が同じ色相領域に含ま
れる場合には、両者の平均や加重和を用いることも有効
である。
The pixel value of the corresponding point in the differential image is different between the sample image after the color processing and the original sample image. However, in order to absorb the difference, each differential image is compared with the original sample image. It is also effective to set a low gradation number. Alternatively, it is also effective to normalize the pixel value in the differential image to, for example, 0 to 100. When a plurality of detected pseudo contour candidates are included in the same hue region, it is also effective to use the average or weighted sum of the two.

【0047】尚、前記サンプル画像をフーリエ変換した
後にMTF補正をかける代わりに、原サンプル画像の組
(画像上の座標値、RGB値)と、サンプル画像に対し
てフーリエ変換,MTF補正,フーリエ逆変換を施した
画像の組(画像上の座標値、RGB値)をLUTとして
用いると、ガマット圧縮のたびにフーリエ変換を行わず
に済むため、処理の高速化が可能となる。
Instead of subjecting the sample image to Fourier transform and then performing MTF correction, a set of original sample images (coordinate values on the image, RGB values) and a Fourier transform, MTF correction, Fourier inverse If a set of transformed images (coordinate values and RGB values on the image) is used as an LUT, it is not necessary to perform a Fourier transform every time the gamut is compressed, so that the processing can be sped up.

【0048】ただし、MTF補正を行って空間周波数領
域における評価を行う場合には、予め画像サイズを規定
する必要があるため、原サンプル画像サイズをパラメー
タとして与えている。
However, when the evaluation in the spatial frequency domain is performed by performing the MTF correction, the image size must be defined in advance, so the original sample image size is given as a parameter.

【0049】尚、周波数領域で微分処理後にMTF補正
を施す代わりに、例えばラプラシアンフィルタを用いた
一度のフィルタ処理によって同様の効果を得ることもで
きる。また、通過する周波数帯の異なる複数または1つ
のハイパスフィルタ、ローパスフィルタ、バンドパスフ
ィルタ、またはこれらの組み合わせを用いることによっ
ても、同様の効果を得ることができる。尚この場合に
は、例えば使用するプリンタの性能上やむを得ない程度
の擬似輪郭は無視し、重大な欠陥となりうる擬似輪郭の
みを検出するように、バンドパスフィルタを構成するこ
とができる。
Instead of performing the MTF correction after the differentiation process in the frequency domain, the same effect can be obtained by a single filtering process using a Laplacian filter, for example. The same effect can be obtained by using a plurality or one of a high-pass filter, a low-pass filter, a band-pass filter, or a combination thereof that passes through different frequency bands. In this case, for example, the band-pass filter can be configured to ignore pseudo contours that are unavoidable in terms of the performance of the printer to be used and to detect only pseudo contours that can be serious defects.

【0050】以上説明したように前段色変換部132に
おいては、擬似輪郭を検出する際にターゲット画像(サ
ンプル画像)を設定し、該ターゲット画像について擬似
輸郭の生じる色相を調べることができる。しかしなが
ら、ターゲット画像には顕れない色空間上の領域につい
ても、擬似輪郭が発生する可能性がある。
As described above, in the former-stage color conversion section 132, a target image (sample image) can be set when detecting a false contour, and the hue at which a pseudo-transformation occurs can be checked for the target image. However, a pseudo contour may also occur in a region in a color space that does not appear in the target image.

【0051】そこで、ターゲット画像として自然画の代
わりに、図10に示すRGBCMYの各色相、及び無彩
色についての各色相毎のグラデーションからなるサンプ
ル画像を適用することによって、色空間全体について擬
似輪郭の検出を行うことができる。尚、図10に示すグ
ラデーション画像においては、空間座標と色度との対応
が1対1となっている。
Therefore, instead of a natural image as a target image, a sample image composed of gradations for each hue of RGBCMY and each hue of an achromatic color shown in FIG. Detection can be performed. In the gradation image shown in FIG. 10, the correspondence between spatial coordinates and chromaticity is one-to-one.

【0052】また、ターゲット画像が自然画である場合
には、発生した複数の擬似輪郭を分割して解析した上
で、擬似輪郭の出現する色相及び彩度等を検出する必要
があるが、ターゲット画像として、予め画像上の座標値
と例えばL*a*b*空間の色度座標の対応が分かってい
る、図10に示すような画像を用いることにより、擬似
輪郭線が複数生じた場合にも容易に調整すべき色相を調
べることができ、擬似輪郭検出処理の高速化が可能とな
る。
When the target image is a natural image, it is necessary to divide and analyze a plurality of generated pseudo contours and to detect the hue and saturation at which the pseudo contour appears. By using an image as shown in FIG. 10 in which the correspondence between the coordinate values on the image and the chromaticity coordinates in the L * a * b * space is known in advance, when a plurality of pseudo contour lines are generated, Also, the hue to be adjusted can be easily checked, and the speed of the pseudo contour detection processing can be increased.

【0053】サンプル画像を用いずにL*a*b*空間か
ら直接に擬似輪郭検出、及び前段色信号処理補正を行う
ことも可能であり、この例を図11のフローチャートに
示す。
It is also possible to perform pseudo contour detection and pre-stage color signal processing correction directly from the L * a * b * space without using a sample image, and this example is shown in the flowchart of FIG.

【0054】また、面積変調による階調性を付加したプ
リンタ、例えば実質的な解像度が例えば360dpiであ
るプリンタを出力デバイスとして用いる場合に、印刷出
力後の画像サイズが縦横共に5インチであると仮定した
場合、図10のような各色相毎のグラデーション画像に
代えて、前記圧縮後のモニタガマットについて(L*_mon
_max−L*_mon_min)/(5×360)なるサンプリング間
隔によってサンプリングした画像データを用いても良
い。この場合、ターゲット(サンプル)画像の全データ
を装置内に格納しておく必要がないため、例えばRAM
109等、装置内のメモリを節約することができる。
When a printer to which gradation is added by area modulation, for example, a printer having a substantial resolution of, for example, 360 dpi, is used as an output device, it is assumed that the image size after printing and output is 5 inches both vertically and horizontally. In this case, instead of the gradation image for each hue as shown in FIG. 10, the monitor gamut after compression (L * _mon
Image data sampled at a sampling interval of _max-L * _mon_min) / (5 × 360) may be used. In this case, since it is not necessary to store all data of the target (sample) image in the apparatus, for example, the RAM
109, etc., the memory in the device can be saved.

【0055】尚、図12のフローチャートに示すよう
に、前段色変換部132における色変換補正処理の際
に、擬似輪郭が目標値以下(図では0個)となるまで繰
り返しフィードバックをかけることも有効である。
As shown in the flowchart of FIG. 12, it is also effective to repeatedly apply feedback until the pseudo contour becomes equal to or less than the target value (0 in the figure) during the color conversion correction processing in the preceding-stage color conversion unit 132. It is.

【0056】以下、前段色変換部132における、圧縮
パラメータγに基づく色再現空間マッピング処理補正
(図8のステップS110)について、詳細に説明す
る。
Hereinafter, the color reproduction space mapping process correction (step S110 in FIG. 8) based on the compression parameter γ in the former-stage color converter 132 will be described in detail.

【0057】本実施形態においては、擬似輪郭の強さを
表す圧縮パラメータγを、以下の式で定義する。
In the present embodiment, the compression parameter γ representing the strength of the pseudo contour is defined by the following equation.

【0058】[0058]

【数1】 (Equation 1)

【0059】尚、該式においてf(x,y)は画像について
微分処理後にMTFを通した実領域の画像のそれぞれの
点(x,y)において彩度を表す関数である。また、(x,y)
は画像上の座標値を示し、2重積分は全画面について右
の積分をとることを意味している。尚、ここでは色相、
明度ともに一定の条件下でガマット圧縮をおこなってい
るため、f(x,y)は彩度についての関数であるとした
が、この条件を用いない場合は色相、明度について適宜
加味した関数を再定義し、上式のf(x,y)に代えて用い
ることが考えられる。
In the above equation, f (x, y) is a function representing the saturation at each point (x, y) of the image of the real area that has passed through the MTF after the image is differentiated. Also, (x, y)
Indicates the coordinate value on the image, and the double integration means taking the right integration over the entire screen. Here, the hue,
Since gamut compression was performed under constant conditions for both lightness and lightness, f (x, y) was assumed to be a function for saturation, but if this condition was not used, a function with appropriate considerations for hue and lightness was reapplied. It is conceivable to define and use f (x, y) in the above equation.

【0060】尚、ここでf原画像(x,y) は、原画像デー
タについて前記処理を施こす関数を示し、f圧縮後画像
(x,y)は、原画像について色域返還を施した後に、前記
処理を施こす関数を示す。
Here, the f original image (x, y) indicates a function for performing the above-described processing on the original image data, and the f- compressed image
(x, y) indicates a function for performing the above-described processing after performing color gamut conversion on the original image.

【0061】本実施形態においては、上式に従って求め
られた擬似輪郭の強さを表す圧縮パラメータγを用い
て、ガマット圧縮方法を変化させることを特徴とする。
This embodiment is characterized in that the gamut compression method is changed using the compression parameter γ representing the strength of the pseudo contour obtained according to the above equation.

【0062】ここでは、モニタRGB値に対応する彩度
と、プリンタR’G’B’値に対応する彩度を図5に示
す曲線によって対応づけている。尚、図5の例において
は、実線の曲線の方が破線の曲線よりも高彩度の領域を
潰し気味にしているため、擬似輪郭が生じやすくなって
いる。
Here, the saturation corresponding to the monitor RGB values and the saturation corresponding to the printer R'G'B 'values are associated by the curve shown in FIG. In the example shown in FIG. 5, the solid curve tends to crush the high-saturation region more than the broken curve, so that a pseudo contour is more likely to occur.

【0063】上記実線によるガマット圧縮によって擬似
輪郭が生じた場合には、その擬似輪郭の度合いに応じて
圧縮パラメータγが算出され、これを D=S_ptr×(S_mon−S_ptr)/sqrt(S_mon2+S_ptr
2) によって規格化されたd=γ/Dによって、図5におけ
る点Pとガマット圧縮曲線との距離dを変化させてい
る。ガマット圧縮曲線は必ず点(0,0)、(S_mon,S_
prt)を通る必要があるので、この3点によって曲線を規
定し、シュプライン等の曲線によってなめらかにつなげ
ばよい。
When a pseudo contour is generated by the gamut compression using the solid line, a compression parameter γ is calculated in accordance with the degree of the pseudo contour, and is calculated as D = S_ptr × (S_mon−S_ptr) / sqrt (S_mon 2 + S_ptr).
The distance d between the point P and the gamut compression curve in FIG. 5 is changed by d = γ / D standardized by 2 ). The gamut compression curve always has the points (0, 0), (S_mon, S_
Since it is necessary to pass through (prt), a curve may be defined by these three points, and may be smoothly connected by a curve such as a spline.

【0064】尚、dを焦点とする双曲線の使用も同等の
効果を呈する。また、双曲線を用いることにより図5の
破線で示される漸近線を確実に満たしつつ、より簡易に
圧縮曲線を構成することが可能となる。
It should be noted that the use of a hyperbola with d as the focal point has the same effect. Further, by using the hyperbola, it is possible to more easily form the compression curve while reliably satisfying the asymptote indicated by the broken line in FIG.

【0065】尚、ここでは全色相を一つの圧縮パラメー
タγに基づいて生成される圧縮曲線により圧縮する例に
ついて説明したが、他の方法による圧縮も可能である。
例えば図13に示すように全色相を6つに分け、RYG
CBMの各色相ごとに独立して圧縮曲線を定義する。例
えば、R色相の圧縮曲線を変更した場合にはR軸に隣り
合うIとIVの領域についても、R軸と注目点との距離
を考慮した変更を施すようにすれば、RYGCBMの各
色相ごとに彩度のことなるプリンタガマットをより有効
に使用することができる。尚、この場合、擬似輪郭の生
じている色相領域を検出し、変更するべき圧縮曲線を特
定する必要があることは言うまでもない。
Here, an example has been described in which all hues are compressed by a compression curve generated based on one compression parameter γ, but compression by another method is also possible.
For example, as shown in FIG.
A compression curve is independently defined for each hue of the CBM. For example, when the compression curve of the R hue is changed, the I and IV regions adjacent to the R axis are also changed in consideration of the distance between the R axis and the point of interest. The printer gamut having different saturation can be used more effectively. In this case, it is needless to say that it is necessary to detect the hue area where the pseudo contour occurs and specify the compression curve to be changed.

【0066】このような場合には、複数の擬似輪郭が隣
接して生じる可能性があり、それぞれの擬似輪郭を分割
するために画像の領域分割を行う必要があるが、図10
に示すようなサンプル画像を用いることにより、真の擬
似輪郭が生じている色空間上の座標値を、領域分割を行
うことなく特定することができる。
In such a case, there is a possibility that a plurality of pseudo contours may occur adjacent to each other, and it is necessary to divide the image into regions in order to divide each pseudo contour.
By using a sample image as shown in (1), it is possible to specify the coordinate values in the color space where a true pseudo contour occurs without performing area division.

【0067】また、HSV空間のS成分についてのみ圧
縮曲線を設定してモニタガマット圧縮を行なう例につい
て説明したが、H,V成分についても同様の圧縮が可能
である。ただし、H成分については0度と360度のつ
なぎを考慮した構成とし、V成分については図14に示
すようなS字型構成とする必要がある。
Also, an example has been described in which a compression curve is set for only the S component of the HSV space and monitor gamut compression is performed. However, similar compression is possible for the H and V components. However, the H component needs to be configured in consideration of the connection between 0 ° and 360 °, and the V component needs to have an S-shaped configuration as shown in FIG.

【0068】また、前段色変換部132においてガマッ
ト圧縮を行う例について説明したが、後述する後段色変
換部133との兼ね合い、あるいは、例えばCMY等の
デバイスについての純色が、その単一インクで表現され
ない結果がでてしまうような場合には、上述したように
自動生成されたガマット圧縮曲線をGUI上で提示し、
これに対してマニュアル操作によって変更を加える等の
処理を行うことで、微調整を可能とする。
Also, an example in which gamut compression is performed in the first-stage color conversion unit 132 has been described. However, the balance with the second-stage color conversion unit 133 to be described later, or a pure color of a device such as CMY is expressed by the single ink. If the result is not obtained, the gamut compression curve automatically generated as described above is presented on the GUI,
On the other hand, by performing a process such as adding a change by a manual operation, fine adjustment can be performed.

【0069】以上説明したように、前段色変換部132
においては、擬似輪郭を適切に検出し、その発生度合に
応じた圧縮方法によって、入力色空間内の全ての点を出
力色再現領域内に圧縮することにより、擬似輪郭の生じ
ない適切な色空間圧縮を行うことができる。従って、入
力色空間の全ての色信号について、その階調性を大きく
損なうことなく、出力色空間へ対応付けることができ
る。
As described above, the former-stage color converter 132
In, by appropriately detecting the pseudo contour and compressing all the points in the input color space into the output color reproduction area by a compression method according to the degree of occurrence, an appropriate color space free of pseudo contour is generated. Compression can be performed. Therefore, all color signals in the input color space can be associated with the output color space without significantly impairing the gradation.

【0070】●後段色変換部 次に、プリンタ用補正処理部121内の後段色変換部1
33における処理について説明する。
Next-stage color conversion unit Next, the second-stage color conversion unit 1 in the printer correction processing unit 121
33 will be described.

【0071】後段色変換部133においては、前段色変
換部132でプリンタ用のR’G’B’に変換された各
色8ビットの信号を、プリンタのインク色に対応したC
MYK各8ビットの信号値へと変換する。このR’G’
B’からCMYKへの色信号の変換方法としては、例え
ばカラーマスキングによる方法が知られている。このカ
ラーマスキングによる色変換方法を下式に示す。
The second-stage color conversion section 133 converts the 8-bit signal of each color converted into R'G'B 'for the printer by the first-stage color conversion section 132 into a C-color signal corresponding to the ink color of the printer.
MYK is converted into an 8-bit signal value. This R'G '
As a method of converting a color signal from B ′ to CMYK, for example, a method using color masking is known. The following equation shows a color conversion method using this color masking.

【0072】[0072]

【数2】 (Equation 2)

【0073】[0073]

【数3】 (Equation 3)

【0074】これにより、CMY値が得られる。尚、K
(ブラック)の信号値の決定方法としては様々な方法が
ある。例えば、上記行列式における最右辺を、そのベク
トル要素のそれぞれからK値を引いたベクトル[Dr-K
Dg-K Db-K]tに置き換え、インク量に対応する各
色信号値CMYが常に正または0であるという条件を利
用してK値に拘束を加えつつ、試行鎖誤的にマスキング
マトリクスを求めることにより、K値を決定することが
できる。
As a result, a CMY value is obtained. In addition, K
There are various methods for determining the (black) signal value. For example, the rightmost side of the above determinant is calculated by subtracting the K value from each of the vector elements [Dr-K
Dg-K Db-K] t , and the masking matrix is erroneously obtained in a trial chain while restricting the K value using the condition that each color signal value CMY corresponding to the ink amount is always positive or 0. Thus, the K value can be determined.

【0075】尚、後段色変換部132をLUTを使用し
て実現することももちろん可能である。
Incidentally, it is of course possible to realize the latter-stage color conversion section 132 using an LUT.

【0076】●階調補正部 次に、プリンタ用補正処理部121内の階調補正部13
4における処理について説明する。
Tone Correction Unit Next, the tone correction unit 13 in the printer correction processing unit 121
4 will be described.

【0077】階調補正部134においては、入力画像の
色信号を前段色変換部132及び後段色変換部133で
順次変換した、CMYK各8ビットデータをプリンタで
印刷可能なCMYK各2ビットデータに変換する。
The tone correcting section 134 converts the color signals of the input image sequentially by the preceding-stage color converting section 132 and the succeeding-stage color converting section 133, and converts the CMYK 8-bit data into CMYK 2-bit data printable by a printer. Convert.

【0078】この階調補正方法としては、例えばベイヤ
ー型の16×16のマトリクスを入力されたC,M,
Y,Kの画像それぞれにあてがい、マトリクス要素より
も対応する画像上の画素値が大きい場合には1、画素値
が前記マトリクス要素以下の場合には0とすることによ
って実現される。また、このハーフトーニング手法とし
て誤差拡散法などを用いることもできる。
As this gradation correction method, for example, C, M,
This is realized by assigning 1 to each of the Y and K images and setting the value to 1 when the pixel value on the corresponding image is larger than the matrix element and setting it to 0 when the pixel value is equal to or less than the matrix element. Also, an error diffusion method or the like can be used as the halftoning method.

【0079】例えば、本実施形態において用いた補間処
理に代えて、特開平3−13066号に記載された4面
体体積を適用することも可能である。
For example, instead of the interpolation processing used in the present embodiment, a tetrahedral volume described in JP-A-3-13066 can be applied.

【0080】尚、色再現空間マッピング技術としては複
数の方法が知られているが、本実施形態ではこれを特に
規定するものではない。
Although a plurality of methods are known as a color reproduction space mapping technique, this method is not particularly limited in the present embodiment.

【0081】以上説明したように本実施形態によれば、
真の擬似輪郭のみを検出し、その度合いを示すパラメー
タを用いて色信号変換方法を適宜変更することによっ
て、擬似輪郭を生じることなく適切な色信号変換を行う
ことが可能となる。
As described above, according to the present embodiment,
By detecting only the true pseudo contour and appropriately changing the color signal conversion method using a parameter indicating the degree, it is possible to perform appropriate color signal conversion without generating a pseudo contour.

【0082】<他の実施形態>本発明は上述した実施形
態の機能を実現するように各種のデバイスを動作させる
ように該各種デバイスと接続された装置あるいはシステ
ムに実施形態機能を実現するためのプログラムコード自
体、及びそのプログラムコードをコンピュータに供給す
るための手段、例えばかかるプログラムコードを格納し
た記憶媒体は本発明を構成する。
<Other Embodiments> The present invention is for implementing the functions of the embodiments in an apparatus or system connected to the various devices so as to operate various devices so as to realize the functions of the above-described embodiments. The program code itself and means for supplying the program code to a computer, for example, a storage medium storing the program code constitute the present invention.

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

【0084】またコンピュータが供給されたプログラム
コードを実行することにより、前述の実施形態の機能が
実現されるだけではなく、そのプログラムコードがコン
ピュータにおいて稼働している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 also included in the embodiment of the present invention when the functions of the above-described embodiment are realized in cooperation with application software or the like.

【0085】さらに供給されたプログラムコードが、コ
ンピュータの機能拡張ボードやコンピュータに接続され
た機能拡張ユニットに備わるメモリに格納された後その
プログラムコードの指示の基づいてその機能拡張ボード
や機能格納ユニットに備わるCPUなどが実際の処理の
一部または全部を行い、その処理によって前述した実施
形態の機能が実現される場合も本発明に含まれることは
言うまでもない。
Further, the supplied program code is stored in a memory provided on 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 actual processing, and the processing realizes the functions of the above-described embodiments.

【0086】また、上記複数の実施形態を組み合わせて
も構わない。
Further, the above embodiments may be combined.

【0087】[0087]

【発明の効果】以上説明したように本発明によれば、画
質劣化を伴わない色再現空間マッピングが可能となる。
As described above, according to the present invention, it is possible to perform color reproduction space mapping without image quality deterioration.

【0088】また、色再現空間マッピング処理によって
発生した擬似輪郭を検出することができる。
Further, it is possible to detect a pseudo contour generated by the color reproduction space mapping process.

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

【図1】本発明に係る一実施形態におけるシステム構成
を示すブロック図、
FIG. 1 is a block diagram showing a system configuration according to an embodiment of the present invention;

【図2】本実施形態におけるプリンタドライバの機能構
成を示すブロック図、
FIG. 2 is a block diagram illustrating a functional configuration of a printer driver according to the embodiment.

【図3】プリンタドライバにおいて色処理を行うための
詳細構成を示すブロック図、
FIG. 3 is a block diagram showing a detailed configuration for performing color processing in a printer driver.

【図4】モニタ色再現範囲とプリンタ色再現範囲の2次
元での比較を模式的に示す図、
FIG. 4 is a diagram schematically showing a two-dimensional comparison between a monitor color reproduction range and a printer color reproduction range.

【図5】擬似輪郭の度合いに基づくガマット圧縮方法を
設定する曲線を示す図、
FIG. 5 is a diagram showing a curve for setting a gamut compression method based on a degree of a pseudo contour;

【図6】デバイスのガマット決定の際に用いられるチャ
ート例を示す図、
FIG. 6 is a diagram showing an example of a chart used in determining a gamut of a device.

【図7】彩度方向へのガマット圧縮の概念を示す図、FIG. 7 is a diagram showing the concept of gamut compression in the saturation direction;

【図8】本実施形態におけるサンプル画像を用いた擬似
輪郭検出、及び前段色信号処理を示すフローチャート、
FIG. 8 is a flowchart illustrating pseudo contour detection using a sample image and pre-stage color signal processing according to the present embodiment;

【図9】人間の視覚特性を周波数空間で表したMTFを
示す図、
FIG. 9 is a diagram showing an MTF representing human visual characteristics in a frequency space;

【図10】本実施形態においてサンプル画像として使用
されるグラデーション画像の例を示す図、
FIG. 10 is a diagram showing an example of a gradation image used as a sample image in the embodiment;

【図11】サンプル画像を用いずにL*a*b*空間から
直接に行う擬似輪郭検出、及び前段色信号処理を示すフ
ローチャート、
FIG. 11 is a flowchart illustrating pseudo contour detection and pre-stage color signal processing performed directly from L * a * b * space without using a sample image;

【図12】サンプル画像を用いた擬似輪郭検出、及び前
段色信号処理の際にフィードバックを行う例を示すフロ
ーチャート、
FIG. 12 is a flowchart illustrating an example of performing pseudo contour detection using a sample image and performing feedback at the time of pre-stage color signal processing;

【図13】色相領域の分割例を示す図、FIG. 13 is a diagram showing an example of dividing a hue area;

【図14】明度についての圧縮方法を規定する曲線を示
す図、
FIG. 14 is a diagram showing a curve defining a compression method for brightness.

【図15】従来のモニタ色再現範囲とプリンタ色再現範
囲の2次元での比較を模式的に示す図、
FIG. 15 is a diagram schematically showing a two-dimensional comparison between a conventional monitor color reproduction range and a printer color reproduction range.

【図16】従来のガマット圧縮方法の概念を示す図、で
ある。
FIG. 16 is a diagram showing the concept of a conventional gamut compression method.

【符号の説明】[Explanation of symbols]

103 プリンタドライバ 120 画像補正処理部 121 プリンタ用補正処理部 131 画像信号入力部 132 前段色変換部 133 後段色変換部 134 階調補正部 135 画像出力部 103 Printer Driver 120 Image Correction Processing Unit 121 Printer Correction Processing Unit 131 Image Signal Input Unit 132 Front Stage Color Conversion Unit 133 Back Stage Color Conversion Unit 134 Tone Correction Unit 135 Image Output Unit

フロントページの続き Fターム(参考) 2C262 BA01 BA18 BC19 DA03 DA13 EA12 FA14 5B057 AA11 CA01 CA08 CA12 CB01 CB08 CB12 CC01 CE17 CE18 DA08 DB02 DB06 DB09 DC16 5C077 LL01 LL19 MP07 MP08 PP32 PP33 PP37 PP41 PP43 PP47 PQ20 SS06 5C079 HB01 HB02 LA01 LA14 LA15 LB02 MA17 PA03 PA05 Continued on the front page F-term (reference) 2C262 BA01 BA18 BC19 DA03 DA13 EA12 FA14 5B057 AA11 CA01 CA08 CA12 CB01 CB08 CB12 CC01 CE17 CE18 DA08 DB02 DB06 DB09 DC16 5C077 LL01 LL19 MP07 MP08 PP32 PP33 PP37 PP41 PP43 PP47 P02B01 SS06 LA14 LA15 LB02 MA17 PA03 PA05

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 画像データからエッジ部を検出する第1
のエッジ検出工程と、 前記画像データについて色信号変換を施した後にエッジ
部を検出する第2のエッジ検出工程と、 前記第1の検出工程における検出結果と、前記第2の検
出工程における検出結果とを比較する比較工程と、 該比較結果に基づいて擬似輪郭を検出する擬似輪郭検出
工程と、を有することを特徴とする画像処理方法。
1. A first method for detecting an edge portion from image data.
An edge detection step, a second edge detection step of detecting an edge portion after performing color signal conversion on the image data, a detection result in the first detection step, and a detection result in the second detection step And a pseudo contour detecting step of detecting a pseudo contour based on the comparison result.
【請求項2】 更に、前記擬似輪郭検出工程において検
出された擬似輪郭に基づいて、前記色信号変換の方法を
補正する補正工程を有することを特徴とする請求項1記
載の画像処理方法。
2. The image processing method according to claim 1, further comprising a correction step of correcting the color signal conversion method based on the pseudo contour detected in the pseudo contour detection step.
【請求項3】 更に、前記擬似輪郭の度合を示すパラメ
ータを設定する設定工程を備え、 前記補正工程においては、前記パラメータに基づいて前
記色信号変換の方法を補正することを特徴とする請求項
2記載の画像処理方法。
3. The method according to claim 2, further comprising a setting step of setting a parameter indicating a degree of the pseudo contour, wherein the correcting step corrects the color signal conversion method based on the parameter. 2. The image processing method according to 2.
【請求項4】 更に、前記補正工程において補正された
色信号変換方法によって、画像データに対する色信号変
換処理を行う変換工程を有することを特徴とする請求項
2記載の画像処理方法。
4. The image processing method according to claim 2, further comprising a conversion step of performing a color signal conversion process on the image data by the color signal conversion method corrected in the correction step.
【請求項5】 前記画像データは第1の色再現範囲内に
あり、前記変換工程においては、前記画像データを第2
の色再現範囲に適応させることを特徴とする請求項4記
載の画像処理方法。
5. The image data is within a first color reproduction range, and in the conversion step, the image data is
5. The image processing method according to claim 4, wherein the image processing method is adapted to the color reproduction range.
【請求項6】 前記第2の色再現範囲は、前記第1の色
再現範囲よりも狭いことを特徴とする請求項5記載の画
像処理方法。
6. The image processing method according to claim 5, wherein said second color reproduction range is narrower than said first color reproduction range.
【請求項7】 前記第1及び第2の色再現範囲は、互い
に異なるデバイスに対応する色再現範囲であることを特
徴とする請求項5記載の画像処理方法。
7. The image processing method according to claim 5, wherein the first and second color reproduction ranges are color reproduction ranges corresponding to different devices.
【請求項8】 前記第1の色再現範囲はモニタの色再現
範囲であり、前記第2の色再現範囲はプリンタの色再現
範囲であることを特徴とする請求項7記載の画像処理方
法。
8. The image processing method according to claim 7, wherein said first color reproduction range is a color reproduction range of a monitor, and said second color reproduction range is a color reproduction range of a printer.
【請求項9】 更に、前記補正工程において補正された
色信号変換方法に対して微調整を施す調整工程を有する
ことを特徴とする請求項2記載の画像処理方法。
9. The image processing method according to claim 2, further comprising an adjustment step of performing fine adjustment on the color signal conversion method corrected in the correction step.
【請求項10】 前記調整工程においては、前記色信号
変換方法に対してマニュアルによる微調整を施すことを
特徴とする請求項9記載の画像処理方法。
10. The image processing method according to claim 9, wherein in the adjusting step, fine adjustment is performed manually on the color signal conversion method.
【請求項11】 前記第1及び第2のエッジ検出工程に
おいては、前記画像データに対してフーリエ変換を施こ
すことを特徴とする請求項1記載の画像処理方法。
11. The image processing method according to claim 1, wherein in the first and second edge detection steps, a Fourier transform is performed on the image data.
【請求項12】 前記第1及び第2のエッジ検出工程に
おいては、前記画像データに対してフーリエ変換を施こ
した後に、所定の帯域通過フィルタによる補正を施すこ
とを特徴とする請求項11記載の画像処理方法。
12. The image processing apparatus according to claim 11, wherein, in the first and second edge detecting steps, the image data is subjected to Fourier transform, and then corrected by a predetermined band-pass filter. Image processing method.
【請求項13】 前記画像データは、所定の画像データ
であることを特徴とする請求項1記載の画像処理方法。
13. The image processing method according to claim 1, wherein the image data is predetermined image data.
【請求項14】 前記所定の画像データは、グラデーシ
ョン画像を示すことを特徴とする請求項13記載の画像
処理方法。
14. The image processing method according to claim 13, wherein the predetermined image data indicates a gradation image.
【請求項15】 前記グラデーション画像は、複数の色
相におけるグラデーションを呈することを特徴とする請
求項14記載の画像処理方法。
15. The image processing method according to claim 14, wherein the gradation image exhibits gradations in a plurality of hues.
【請求項16】 画像データの色再現範囲を変換する第
1の色変換手段と、 前記第1の色変換手段により変換された画像データの色
再現空間を変換する第2の色変換手段と、を有し、 前記第1の色変換手段は、サンプル画像データの色再現
範囲を変換した後に発生した擬似輪郭の度合に基づい
て、前記色再現範囲の変換方法を補正することを特徴と
する画像処理装置。
16. A first color conversion means for converting a color reproduction range of image data, a second color conversion means for converting a color reproduction space of the image data converted by the first color conversion means, Wherein the first color conversion means corrects the color gamut conversion method based on a degree of a pseudo contour generated after converting the color gamut of the sample image data. Processing equipment.
【請求項17】 前記第1の色変換手段は、前記サンプ
ル画像データから検出されたエッジ部と該サンプル画像
データの色再現範囲を変換した後に検出されたエッジ部
とを比較することにより、前記擬似輪郭を検出すること
を特徴とする請求項16記載の画像処理装置。
17. The image processing apparatus according to claim 1, wherein the first color conversion unit compares the edge portion detected from the sample image data with an edge portion detected after converting a color reproduction range of the sample image data. 17. The image processing apparatus according to claim 16, wherein a pseudo contour is detected.
【請求項18】 前記第1の色変換手段は、第1のデバ
イスに関する色再現空間内にある前記画像データを、第
2のデバイスに関する色再現空間内に適合するように変
換することを特徴とする請求項16記載の画像処理装
置。
18. The apparatus according to claim 1, wherein the first color conversion means converts the image data in a color reproduction space for a first device so as to be compatible with a color reproduction space for a second device. The image processing apparatus according to claim 16, wherein:
【請求項19】 前記第1のデバイスはモニタであり、
前記第2のデバイスはプリンタであることを特徴とする
請求項18記載の画像処理装置。
19. The first device is a monitor,
19. The image processing apparatus according to claim 18, wherein the second device is a printer.
【請求項20】 更に、前記サンプル画像データを保持
する保持手段を備えることを特徴とする請求項16記載
の画像処理装置。
20. The image processing apparatus according to claim 16, further comprising a holding unit that holds the sample image data.
【請求項21】 色再現空間変換処理のプログラムを記
録した記録媒体であって、該プログラムは少なくとも、 画像データからエッジ部を検出する第1のエッジ検出工
程のコードと、 前記画像データについて色信号変換を施した後にエッジ
部を検出する第2のエッジ検出工程のコードと、 前記第1の検出工程における検出結果と、前記第2の検
出工程における検出結果とを比較する比較工程のコード
と、 該比較結果に基づいて擬似輪郭を検出する擬似輪郭検出
工程のコードと、を有することを特徴とする記録媒体。
21. A recording medium recording a color reproduction space conversion processing program, the program comprising at least a code of a first edge detection step for detecting an edge portion from image data, and a color signal for the image data. A code of a second edge detection step of detecting an edge portion after performing the conversion, and a code of a comparison step of comparing the detection result in the first detection step with the detection result in the second detection step; A code for a pseudo contour detecting step of detecting a pseudo contour based on the comparison result.
JP11202190A 1999-07-15 1999-07-15 Method and device for processing image Withdrawn JP2001036756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11202190A JP2001036756A (en) 1999-07-15 1999-07-15 Method and device for processing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11202190A JP2001036756A (en) 1999-07-15 1999-07-15 Method and device for processing image

Publications (1)

Publication Number Publication Date
JP2001036756A true JP2001036756A (en) 2001-02-09

Family

ID=16453465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11202190A Withdrawn JP2001036756A (en) 1999-07-15 1999-07-15 Method and device for processing image

Country Status (1)

Country Link
JP (1) JP2001036756A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005516260A (en) * 2002-01-25 2005-06-02 トムソン ライセンシング ソシエテ アノニム Method and system for removing contouring
JP4859927B2 (en) * 2005-10-19 2012-01-25 トムソン ライセンシング Method, system, and device for color quality control
KR101108435B1 (en) 2005-05-31 2012-02-16 서강대학교산학협력단 False contour correction method and display apparatus to be applied to the same
KR101120092B1 (en) * 2005-06-04 2012-03-23 삼성전자주식회사 Method for improving quality of composite video signal and the apparatus therefore and method for decoding composite video signal and the apparatus therefore
JP2020068409A (en) * 2018-10-22 2020-04-30 コニカミノルタ株式会社 Image processing device and image processing program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005516260A (en) * 2002-01-25 2005-06-02 トムソン ライセンシング ソシエテ アノニム Method and system for removing contouring
JP4740539B2 (en) * 2002-01-25 2011-08-03 トムソン ライセンシング Method and system for removing contouring artifacts
KR101108435B1 (en) 2005-05-31 2012-02-16 서강대학교산학협력단 False contour correction method and display apparatus to be applied to the same
KR101120092B1 (en) * 2005-06-04 2012-03-23 삼성전자주식회사 Method for improving quality of composite video signal and the apparatus therefore and method for decoding composite video signal and the apparatus therefore
JP4859927B2 (en) * 2005-10-19 2012-01-25 トムソン ライセンシング Method, system, and device for color quality control
JP2020068409A (en) * 2018-10-22 2020-04-30 コニカミノルタ株式会社 Image processing device and image processing program

Similar Documents

Publication Publication Date Title
US7310167B2 (en) Color converting device emphasizing a contrast of output color data corresponding to a black character
US6181445B1 (en) Device-independent and medium-independent color matching between an input device and an output device
JP4491129B2 (en) Color gamut mapping method and apparatus using local area information
JP3583630B2 (en) Color data conversion method
US6204939B1 (en) Color matching accuracy inside and outside the gamut
KR100605164B1 (en) Gamut mapping apparatus and method thereof
JP2002504274A (en) Appearance-based techniques for rendering colors on output devices
US6185004B1 (en) Self-calibration for color image reproduction system
JPH10145582A (en) Image processing method and device therefor
JP2003092690A (en) Image data processing method, apparatus, storage medium and program
US7312891B2 (en) Image processing method and apparatus
US6516089B1 (en) In-gamut image reproduction using spatial comparisons
US6160644A (en) Scanner calibration technique to overcome tone inversion
JP4774757B2 (en) Image processing apparatus, image processing program, electronic camera, and image processing method
JPH0832827A (en) Gradation correction divice for digital image
JP2001014448A (en) Device and method for converting color data and computer readable recording medium with program for computer to execute the same method recorded therein
JP2003219193A (en) Color image processing method and color image processor
JP2001175843A (en) Image processing method, image processor and storage medium
JP2008147937A (en) Image processor and image processing method
JP2001036756A (en) Method and device for processing image
JP2001177731A (en) Image processing method, image processor and storage medium
JPH0787345A (en) Method and device for matching color
KR20080065447A (en) Method and apparatus for classifying image based on the image feature
JP4086442B2 (en) Color space coordinate conversion method and apparatus, color signal conversion table generation method and apparatus, and memory medium
JP2000013616A (en) Image processing method, device and recording medium

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