JP2005027052A - Device and method for adjusting hue, program and recording medium - Google Patents

Device and method for adjusting hue, program and recording medium Download PDF

Info

Publication number
JP2005027052A
JP2005027052A JP2003190570A JP2003190570A JP2005027052A JP 2005027052 A JP2005027052 A JP 2005027052A JP 2003190570 A JP2003190570 A JP 2003190570A JP 2003190570 A JP2003190570 A JP 2003190570A JP 2005027052 A JP2005027052 A JP 2005027052A
Authority
JP
Japan
Prior art keywords
hue
characteristic
image data
adjustment
computer
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
JP2003190570A
Other languages
Japanese (ja)
Inventor
Yuki Inoue
祐樹 井上
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2003190570A priority Critical patent/JP2005027052A/en
Publication of JP2005027052A publication Critical patent/JP2005027052A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a hue adjusting device and method for enabling a user to easily perform hue adjustment for each color of an image by graphing the hue adjustment, specifying the hue adjustment clearly, grasping the hue adjustment characteristics clearly, or the like and to provide a program and a recording medium. <P>SOLUTION: This hue adjusting device for adjusting the hues of an output image of a printer is provided with a means for displaying the hue characteristic on a graph on a hue ring, a means for designating the hue position from which desired characteristics can be obtained for displayed hue characteristics for each hue, and a means for changing the hue characteristics on the basis of the designated hue position. Changing the hue characteristics is performed by changing the parameter that indicates the hue and making a printer change the hue with reference to the parameter. A means for display is provided with a reset display for setting hue adjustment cancellation. A means for changing the hue characteristics is set in a printer driver installed in a computer. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、色相調整装置、色相調整方法、プログラム、及び記録媒体に関し、特に、カラープリンタのプリンタドライバ内で行われる出力画像に対する色相調整装置、色相調整方法、プログラム、及び記録媒体に関する。
【0002】
【従来の技術】
従来のカラープリンタにおける画像調整の色相調整機能に関しては、画像全体に対する色相調整といった限定された機能を有するのみであることが一般的であった(特許文献1参照)。
【0003】
これに対して、画像全体ではなく、R(レッド)、G(グリーン)、B(ブルー)、C(シアン)、M(マゼンダ)、Y(イエロー)といった基本色に対する色相調整を有することで差別化を図っている画像処理方法およびプリントシステムもある(特許文献2参照)。
【0004】
この方法では、基本色だけに対する色相調整を行い、それだけでは保つことができない中間調の階調性を、階調パッチを出力して測色計で測定しその結果に基づいて階調特性を修正することで階調性を保つことができるとしている。
【0005】
たしかに、この画像処理方法およびプリントシステムは、一般的である前述した画像全体に対する色相調整と比べて、基本色に対する色相調整機能を有することで有意義である。
【0006】
【特許文献1】
特開平8−251393号公報
【特許文献2】
特開2000−190572号公報
【0007】
【発明が解決しようとする課題】
しかし、その実現方法は上述したような「基本色の調整+測色計を使用した階調特性の修正」という決して簡単とはいえない方法となっている。すなわち、測色計による測色やそのデータを利用した調整を行うには、ユーザに色に関する知識が豊富である必要があることから、一般的なユーザにとっては上記の方法では簡単かつ間違いなく所望の調整結果を得ることは困難であると考えられる。
【0008】
そこで、本発明は、このような従来技術の実情に顧みてなされたもので、その目的は、画像の色ごとの色相調整をユーザが容易に行える色相調整装置及び色相調整方法を提供することにある。
【0009】
また、本発明の他の目的は、色相調整をグラフ化して明示することによりユーザがその特性を明確に把握できる色相調整装置及び色相調整方法を提供することにある。
【0010】
さらに、本発明の他の目的は、上記の方法を実現させるプログラム及びプログラムが記録されたコンピュータ読取可能な記録媒体を提供することにある。
【0011】
【課題を解決するための手段】
上記の目的を達成するために、請求項1記載の発明によれば、色相調整装置は、コンピュータから転送された画像データに従って画像を印刷するプリンタの出力画像の色相を調整する色相調整装置であって、色相特性を色相環上にグラフとして表示する表示手段と、表示手段により表示された色相特性に対して所望の特性を得られる色相位置を色相ごとに指定する指定手段と、指定手段により指定された色相位置に基づいて色相特性を変更する色相特性変更手段と、を有することを特徴とするものである。
【0012】
請求項2記載の発明によれば、色相調整装置は、色相特性の変更は、色相特性変更手段が色相を指示するパラメータを変更し、プリンタがパラメータを参照して色相を変更する、ことにより行われる請求項1記載の色相調整装置であることを特徴とするものである。
【0013】
請求項3記載の発明によれば、表示手段は、指定手段による色相調整の取り消しを設定するためのリセット表示手段、をさらに有する請求項1または2記載の色相調整装置であることを特徴とするものである。
【0014】
請求項4記載の発明によれば、色相調整装置は、色相特性変更手段は、コンピュータにインストールされているプリンタドライバに設定されている請求項1から3のいずれか1項に記載の色相調整装置であることを特徴とするものである。
【0015】
請求項5記載の発明によれば、色相調整方法は、コンピュータから転送された画像データに従って画像を印刷するプリンタの出力画像の色相を調整する色相調整方法であって、色相の特性をあらわす色相特性をグラフとしてコンピュータの表示画面上に表示する手順と、表示画面上に表示された色相特性に対して所望の特性を得られる色相位置を指定する手順と、プリンタドライバが指定された色相位置に基づいて色相特性を変更し、色相特性を参照して色相の調整を行う手順と、を有することを特徴とするものである。
【0016】
請求項7記載の発明によれば、プログラムは、請求項5または6記載の手順をコンピュータに実行させることを特徴とするものである。
【0017】
請求項6記載の発明によれば、プログラムは、コンピュータにインストールされ、プリンタドライバによってプリントの色相を調整するためのプログラムであって、RGB画像データ入力があった時に、RGB画像データをYC 画像データに変換する手順と、変換されたYC 画像データのC データの色相特性をグラフとして表示する手順と、表示された色相特性に対して所望の特性を得られる色相位置が指定された時、指定された色相位置に基づいて色相特性を変更する手順と、変更された色相特性に基づいてYC 画像データのC データを変更する手順と、変更されたC データに基づいてYC 画像データをRGB画像データに変換する手順と、をコンピュータに実行させることを特徴とするものである。
【0018】
請求項8記載の発明によれば、記録媒体は、請求項7記載のプログラムを記録したコンピュータ読み取り可能な記録媒体であることを特徴とするものである。
【0019】
【発明の実施の形態】
次に、添付図面を参照して、本発明による色相調整装置、色相調整方法、プログラム、及び記録媒体の実施の形態を詳細に説明する。
【0020】
本実施の形態は、カラープリンタのプリンタドライバ内で行われる出力画像に対するカラー調整機能のうち、色相調整に関する機能のものである。
【0021】
まず、カラープリンタにおける一般的なカラープリントの流れについて図1に示す。
【0022】
はじめに、画像に対してアプリケーション10から印刷が実行されると、画像のRGBデータがアプリケーション10からプリンタドライバ20に渡される(ステップS1)。
【0023】
プリンタドライバ20では、RGBデータに対して、明度・彩度調整や色相調整といったドライバUI(User Interface)上でユーザにより指定される調整機能を施し(ステップS2)、さらに必要に応じてカラーマッチング処理を行う(ステップS3)。
【0024】
調整及びカラーマッチング処理されたRGBデータは、プリンタドライバ20から有線もしくは無線で接続されたカラープリンタに転送される。
【0025】
カラープリンタに内蔵されるプリンタコントローラ30は、転送されてきたRGBデータを受け取り、BG/UCR(Black Generation/Under Color Removal)やGCR(Gray Component Replacement)といった既知の技術により、印刷の色空間であるCMYKデータに変換する(ステップS4)。
【0026】
CMYKデータは、カラーバランスを調整するγ変換処理が行われた後(ステップS5)、多値で階調を表現できないプリンタエンジン40にて階調を表現するために、既知の技術であるディザ法や誤差拡散法を使用した階調変換が行われる(ステップS6)。
【0027】
その後、階調変換されたCMYKデータがプリンタエンジン40に送られて、電子写真方式やインクジェット方式により印刷が実行される(ステップS7)。
【0028】
本実施の形態における色相調整も、上記の一般的なカラープリントの流れに従って、アプリケーション10からプリンタドライバ20に渡されるRGBデータに対して実施することとし、その処理に関してはプリンタドライバ20のインストールされたコンピュータ上で行うこととする。
【0029】
色相調整の実施の形態については、プリンタドライバ20上でユーザにより設定された基本6色、R(レッド)、G(グリーン)、B(ブルー)、C(シアン)、M(マゼンタ)、Y(イエロー)のそれぞれ色相調整を行うこととする。
【0030】
図2に、本発明による色相調整装置、色相調整方法、プログラム、及び記録媒体の一実施形態における色相調整のフローチャートを示す。
【0031】
ステップS21において、RGB画像データからYC 画像データへの変換が行われる。ステップS22において、色相Hの算出が行われる。ステップS23において、ユーザによる色相調整指定が行われる。ステップS24において、指定色の色相H’の算出が行われる。ステップS25において、色相回転処理が行われる。ステップS26において、YC 画像データからRGB画像データへの変換が行われる。
【0032】
以上の各ステップについて、以下、さらに詳しく説明する。
【0033】
まず、プリンタドライバ20にアプリケーション10から渡された入力RGB画像データを図3に示す変換マトリクステーブルを用いてYC 画像データに変換する(Y:明度、C ,C :彩度)(ステップS21参照)。
【0034】
RGBからYC に変換することで、色空間を図5に示すような明度、彩度、色相という3種類のパラメータとして捉えることが可能となる。
なお、明度とは、色の明るさの度合いを尺度化したものをいう。彩度とは、色のあざやかさ、色みの度合いを尺度化したものをいう。色相とは、後述のように、赤、緑、青、シアン、マゼンダ、黄等の色み、色合いの違いを尺度化したものをいう。
【0035】
また、YC データのC とC の関係をプロットすることで得られる図6に示す色相環では、色は無彩色である色相環の中心を原点として円状に分布しており、中心から離れるほど高彩度の色を表している。
【0036】
各色は、360度の色相環のある角度に必ず分布することとなり、色相環の中心と各色の最高彩度点を結ぶ線の角度を色相と呼んでいる。図6には、基本6色であるRGB、C、M、Yの色相のイメージも示されている。
【0037】
続いて、変換された画像データのC 値とC 値(C データ)とから、以下に示す変換式を使用して色相Hを算出し、色相ごとに画像データを分類しておく(ステップS22参照)。
H=tan−1 (C /C
【0038】
続いて、色相の調整を前述の通り基本6色それぞれに対して行うわけであるが(ステップS23参照)、ここで問題となるのが基本6色以外の色に対する連続性である。
【0039】
この連続性を保つためには何らかの調整を行う必要があり、本実施形態では、この調整方法として、まず図7に示すように基本6色間に準基本6色(MB、RM、YR、GY、CG、BC)を定義し、その準基本色を使用してYC 空間での補間を行うことによって連続性を保つこととする。
【0040】
なお、準基本6色は基本6色のRGB空間上におけるちょうど真中の色とし、表1に基本色と準基本色の合計12色のRGB値及びYC 値と色相をまとめておく。
【0041】
【表1】

Figure 2005027052
【0042】
以下に本実施形態の実例として赤色の色相調整を考える。
【0043】
プリンタドライバUI上でユーザにより赤の色相をx度変更するよう指定されたとすると、元々の赤の色相H は当然であるが、さらには図7のH 近辺の(1)と(12)の範囲の色が影響を受けることとなる。
【0044】
この(1)と(12)の範囲の色相は、準基準色RMとYRの色相HRM、HYRを使用して、以下の補間演算式により求める(ステップS24参照)。
(1) H’=H+x*(HRM−H)/(HRM−H
(12)H’=H+x*(H−HYR)/(H −HYR
なお、Hは調整前の色相でH’は調整後の色相を表す。
【0045】
この補間演算式で色相調整を行うことで、図8に示すように調整を行っているR(赤色)近辺の色は調整値の影響を大きく受け、RMやYRの色に近づくにつれて調整値の影響を受けなくなるという特性を持つこととなり、注目色以外の色相の連続性も保つことができる。
【0046】
また、最も彩度の高い赤色だけでなく、同色相値を持つ低彩度から高彩度にかけての色も同様の割合で変化するので、彩度方向の連続性も損なわれることはない。
【0047】
続いて、算出された色相H’を使用してC 値(C データ)を変更する(ステップS25参照)。
色相調整前のデータをC とC とし、調整後のデータをC ’とC ’とすると、C ’とC ’は、調整前後の色相HとH’とを使用して、図9に示す変換マトリクステーブルを用いて算出する。
【0048】
最後に、算出後のC ’C ’値と、変更していないY値から、図4に示す変換マトリクステーブルを用いてRGB画像データに変更する(ステップS26参照)。
【0049】
以上をまとめると、本実施の形態は、RGB画像データ入力があった時に、RGB画像データをYC 画像データに変換し、変換されたYC 画像データのC データの色相特性をグラフとして表示し、表示された色相特性に対して所望の特性を得られる色相位置が指定された時、指定された色相位置に基づいて色相特性を変更し、変更された色相特性に基づいてYC 画像データのC データを変更し、変更されたC データに基づいてYC 画像データをRGB画像データに変換するという各手順となる。そして、このような手順をコンピュータに実行させるためのプログラムを作成し、コンピュータにインストールし、プリンタドライバによってプリントの色相を調整する。
【0050】
こうして得られたRGB画像が、前述のように必要に応じてカラーマッチング処理が行われた後、プリンタに転送されてプリントが実行されることとなる。
【0051】
図10に、プリンタドライバ上でユーザが行う色相調整のGUIの例を示す。
【0052】
図において、色相調整のGUI100は、色相特性グラフ50と、数値ボックス60と、リセットボタン70等、を有して構成される。色相特性グラフ50は、色相を表すバー51と、マウスポインタ52等、を有して構成される。
【0053】
GUI100上には前述した色相環を表示しておき(図6、図7参照)、基本6色上に色相を表すバー51を表示させることで色相特性グラフ50を表す。
【0054】
このバー51は、マウスでのドラッグ操作を可能としておき、ユーザがこのバー51をマウスのポインタ52で操作することにより、注目色相の変更が可能となる。
また、色相の変更はキーボードによる数値入力も可能とする。
【0055】
図のように、色相特性グラフ50の横に数値入力用の数値ボックス60を用意し、そこに注目色相の値を直接入力することでも変更が可能となる。
【0056】
色相を表すバー51と数値ボックス60は相互にデータの反映を行い、バー51が動かされると数値も変更され、数値が変更されるとバー51も動くこととする。
【0057】
色相の調整範囲は、隣り合う基本色を超えてしまうことによる連続性の破綻を防ぐために、±15度までとし、それ以上の数値入力とバーの移動にはリミットをかけておく。
【0058】
また、色相調整を無効とするためのリセットボタン70を設ける。これにより、これまで操作した調整値はすべて0リセットすることができる。
【0059】
【発明の効果】
請求項1から4記載の発明によれば、色相特性を色相環上にグラフとして表示する手段と、表示された色相特性に対して所望の特性を得られる色相位置を色相ごとに指定する手段と、指定された色相位置に基づいて前記色相特性を変更する手段を備えているので、従来画像全体に対してしかできなかった色相調整が色相ごとに行えるようになる。また、請求項1記載の発明によれば、従来色相ごとの調整が可能でもその方法には複雑な手順が必要であった色相調整が、容易に行えるようになる。
【0060】
請求項2から4記載の発明によれば、色相特性を変更する手段は、色相を指示するパラメータを変更し、プリンタは前記パラメータを参照して色相を変更するので、簡単な構成で調整の多様性に対応できる色相調整を実行することができる。
【0061】
請求項3、4記載の発明によれば、表示する手段に前記指定手段による色相調整の取り消しを設定するリセット表示を設けるので、色相変更前後でデフォルトとの比較が容易に行える。
【0062】
請求項4記載の発明によれば、色相特性を変更する手段は、コンピュータにインストールされるプリンタドライバに設定されるので、プリンタドライバをコンピュータにインストールするだけで、前記各効果を容易に得ることができる。
【0063】
請求項5、7、8記載の発明によれば、色相特性グラフを前記コンピュータの表示画面上に表示し、表示された色相特性に対して所望の特性を得られる色相位置を指定し、コンピュータのプリンタドライバは指定された色相位置に基づいて前記色相特性を設定し、その特性を参照して色相を調整するので、ユーザは自由かつ直感的に最適な色相調整を行うことができ、ユーザの満足度の高い出力結果を得ることができる。
【0064】
請求項6から8記載の発明によれば、RGB画像データ入力があった時に、YC 画像データに変換する第1の手順と、変換されたYC 画像データの色相特性を表示する第2の手順と、表示された色相特性に対して所望の特性を得られる色相位置が指定された時、指定された色相位置に基づいて色相特性を変更する第3の手順と、変更された色相特性に基づいてYC 画像データのCbCrデータを変更する第4の手順と、変更されたC データに基づいて、YC 画像データをRGB画像データに変換する第5の手順が情報記録媒体にプログラムとして書き込まれているので、この情報記録媒体を使用してコンピュータにプリンタドライバをインストールすれば、ユーザは誰でも自由かつ直感的に最適な色相調整を行うことができ、ユーザの満足度の高い出力結果を得ることができる。
【図面の簡単な説明】
【図1】一般的なカラープリントの流れ図である。
【図2】本発明による色相調整装置、色相調整方法、プログラム、及び記録媒体の一実施形態における色相調整のフローチャートである。
【図3】本発明による色相調整装置、色相調整方法、プログラム、及び記録媒体の一実施形態におけるRGBからYC への変換式である。
【図4】本発明による色相調整装置、色相調整方法、プログラム、及び記録媒体の一実施形態におけるYC からRGBへの変換式である。
【図5】YC 色空間である。
【図6】YC データのC とC の関係をプロットすることで得られる色相環である。
【図7】基本6色間に準基本6色を定義した色相環である。
【図8】本発明による色相調整装置、色相調整方法、プログラム、及び記録媒体の一実施形態におけるR調整時のR近辺色の動きの説明図である。
【図9】本発明による色相調整装置、色相調整方法、プログラム、及び記録媒体の一実施形態におけるC からC ’C ’への変換式である。
【図10】本発明による色相調整装置、色相調整方法、プログラム、及び記録媒体の一実施形態におけるプリンタドライバGUIの一例である。
【符号の説明】
10 アプリケーション
20 プリンタドライバ
30 プリンタコントローラ
40 プリンタエンジン
50 色相特性グラフ
51 (色相を表す)バー
52 マウスポインタ
60 数値ボックス
70 リセットボタン
100 色相調整のGUI[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a hue adjustment device, a hue adjustment method, a program, and a recording medium, and more particularly, to a hue adjustment device, a hue adjustment method, a program, and a recording medium for an output image performed in a printer driver of a color printer.
[0002]
[Prior art]
Regarding the hue adjustment function of image adjustment in a conventional color printer, it is general that only a limited function such as hue adjustment for the entire image is provided (see Patent Document 1).
[0003]
On the other hand, it is discriminated by having hue adjustments for basic colors such as R (red), G (green), B (blue), C (cyan), M (magenta), and Y (yellow) rather than the entire image. There is also an image processing method and a printing system which are designed to be realized (see Patent Document 2).
[0004]
This method adjusts the hue of only the basic color, and outputs a gradation patch to measure the gradation of halftones that cannot be maintained by itself, and measures the gradation characteristics based on the result. By doing so, the gradation can be maintained.
[0005]
Certainly, the image processing method and the printing system are significant in that they have a hue adjustment function for the basic color as compared with the above-described general hue adjustment for the entire image.
[0006]
[Patent Document 1]
JP-A-8-251393 [Patent Document 2]
Japanese Patent Laid-Open No. 2000-190572
[Problems to be solved by the invention]
However, the method of realizing it is a method that is not as simple as the above-mentioned “adjustment of basic color + correction of gradation characteristics using a colorimeter”. That is, in order to perform colorimetry using a colorimeter and adjustment using the data, the user needs to have a wealth of knowledge about colors. It is considered difficult to obtain the adjustment result.
[0008]
Therefore, the present invention has been made in view of the actual situation of such a conventional technique, and an object of the present invention is to provide a hue adjustment apparatus and a hue adjustment method that allow a user to easily adjust the hue for each color of an image. is there.
[0009]
Another object of the present invention is to provide a hue adjustment apparatus and a hue adjustment method that allow a user to clearly grasp the characteristics by displaying the hue adjustment as a graph.
[0010]
Another object of the present invention is to provide a program for realizing the above method and a computer-readable recording medium on which the program is recorded.
[0011]
[Means for Solving the Problems]
To achieve the above object, according to the first aspect of the present invention, the hue adjusting device is a hue adjusting device that adjusts the hue of an output image of a printer that prints an image according to image data transferred from a computer. The display means for displaying the hue characteristics as a graph on the hue ring, the designation means for designating the hue position for each hue to obtain a desired characteristic for the hue characteristics displayed by the display means, and the designation means And a hue characteristic changing means for changing the hue characteristic based on the hue position.
[0012]
According to the second aspect of the present invention, the hue adjusting device performs the hue characteristic change by changing the parameter indicating the hue by the hue characteristic changing unit and the printer changing the hue with reference to the parameter. The hue adjusting device according to claim 1, wherein
[0013]
According to a third aspect of the present invention, the display means further comprises a reset display means for setting cancellation of the hue adjustment by the designation means, the hue adjustment apparatus according to the first or second aspect. Is.
[0014]
According to a fourth aspect of the present invention, in the hue adjusting apparatus, the hue characteristic changing means is set in the printer driver installed in the computer. It is characterized by being.
[0015]
According to the invention described in claim 5, the hue adjustment method is a hue adjustment method for adjusting the hue of an output image of a printer that prints an image in accordance with image data transferred from a computer, the hue characteristic representing a hue characteristic. On the display screen of the computer as a graph, a procedure for specifying a hue position for obtaining a desired characteristic with respect to the hue characteristic displayed on the display screen, and a printer driver based on the specified hue position And changing the hue characteristic and adjusting the hue with reference to the hue characteristic.
[0016]
According to the invention described in claim 7, the program causes the computer to execute the procedure described in claim 5 or 6.
[0017]
According to the sixth aspect of the present invention, the program is a program that is installed in a computer and adjusts the hue of printing by a printer driver. When RGB image data is input, the RGB image data is converted into YC b C. a step of converting the r image data, a procedure for displaying the hue characteristics of the C b C r data of the converted YC b C r image data as a graph, the hue obtained the desired characteristics for the displayed hue characteristics When the position is designated, the procedure for changing the hue characteristic based on the designated hue position, the procedure for changing the C b C r data of the YC b C r image data based on the changed hue characteristic, and the change a step of converting the YC b C r image data into RGB image data on the basis of the C b C r data, that causes a computer to execute the It is an butterfly.
[0018]
According to an eighth aspect of the invention, the recording medium is a computer-readable recording medium in which the program according to the seventh aspect is recorded.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of a hue adjusting device, a hue adjusting method, a program, and a recording medium according to the present invention will be described in detail with reference to the accompanying drawings.
[0020]
This embodiment relates to a hue adjustment function among color adjustment functions for an output image performed in a printer driver of a color printer.
[0021]
First, FIG. 1 shows a general color print flow in a color printer.
[0022]
First, when printing is performed on an image from the application 10, RGB data of the image is passed from the application 10 to the printer driver 20 (step S1).
[0023]
The printer driver 20 performs adjustment functions specified by the user on the driver UI (User Interface) such as brightness / saturation adjustment and hue adjustment for the RGB data (step S2), and further performs color matching processing as necessary. Is performed (step S3).
[0024]
The RGB data subjected to the adjustment and color matching processing is transferred from the printer driver 20 to a color printer connected by wire or wirelessly.
[0025]
The printer controller 30 incorporated in the color printer receives the transferred RGB data, and is a printing color space by a known technology such as BG / UCR (Black Generation / Under Color Removal) or GCR (Gray Component Replacement). Conversion into CMYK data is performed (step S4).
[0026]
The CMYK data is subjected to a γ conversion process for adjusting the color balance (step S5), and then a dither method, which is a known technique, is used to express gradations with the printer engine 40 that cannot express gradations with multiple values. Or gradation conversion using the error diffusion method is performed (step S6).
[0027]
Thereafter, the CMYK data subjected to tone conversion is sent to the printer engine 40, and printing is performed by an electrophotographic method or an ink jet method (step S7).
[0028]
The hue adjustment in the present embodiment is also performed on the RGB data passed from the application 10 to the printer driver 20 in accordance with the above general flow of color printing, and the printer driver 20 is installed for the processing. It will be done on a computer.
[0029]
In the embodiment of hue adjustment, six basic colors, R (red), G (green), B (blue), C (cyan), M (magenta), Y (set by the user on the printer driver 20 are described. (Yellow) will be adjusted.
[0030]
FIG. 2 shows a flowchart of hue adjustment in one embodiment of the hue adjustment apparatus, hue adjustment method, program, and recording medium according to the present invention.
[0031]
In step S21, conversion from RGB image data to YC b Cr image data is performed. In step S22, the hue H is calculated. In step S23, the user performs hue adjustment designation. In step S24, the hue H ′ of the designated color is calculated. In step S25, a hue rotation process is performed. In step S26, conversion from YC b Cr image data to RGB image data is performed.
[0032]
Each of the above steps will be described in more detail below.
[0033]
First, input RGB image data passed from the application 10 to the printer driver 20 is converted into YC b C r image data using the conversion matrix table shown in FIG. 3 (Y: brightness, C b , C r : saturation). (See step S21).
[0034]
By converting from RGB to YC b C r, it is possible to capture the color space lightness as shown in FIG. 5, chroma, as the three parameters: hue.
The lightness is a measure of the degree of color brightness. Saturation is a measure of the vividness of color and the degree of color. As described later, the hue refers to a scaled difference in hue and hue such as red, green, blue, cyan, magenta, and yellow.
[0035]
In the hue circle shown in FIG. 6 obtained by plotting the relationship between C b and C r in the YC b C r data, the colors are distributed in a circular shape with the center of the hue circle being an achromatic color as the origin. The more saturated the color, the farther away from the center.
[0036]
Each color is necessarily distributed at a certain angle of the 360 degree hue circle, and the angle of the line connecting the center of the hue circle and the highest saturation point of each color is called the hue. FIG. 6 also shows images of the basic six colors RGB, C, M, and Y.
[0037]
Subsequently, the hue H is calculated from the C b value and the C r value (C b C r data) of the converted image data using the following conversion formula, and the image data is classified for each hue. (See step S22).
H = tan −1 (C b / C r )
[0038]
Subsequently, the hue is adjusted for each of the six basic colors as described above (see step S23), but the problem here is continuity with respect to colors other than the basic six colors.
[0039]
In order to maintain this continuity, it is necessary to make some adjustments. In this embodiment, as this adjustment method, first, as shown in FIG. 7, there are six basic colors (MB, RM, YR, GY) between the six basic colors. , CG, BC), and continuity is maintained by performing interpolation in the YC b Cr space using the quasi-basic colors.
[0040]
The six quasi-basic colors are the middle colors in the RGB space of the six basic colors, and Table 1 summarizes the RGB values, YC b Cr values, and hues of a total of 12 colors of the basic colors and quasi-basic colors.
[0041]
[Table 1]
Figure 2005027052
[0042]
Hereinafter, red hue adjustment is considered as an example of the present embodiment.
[0043]
When the red hue by the user on the printer driver UI and designated to modify x degree, although the hue H R of the original red of course, more near H R 7 and (1) (12) The range of colors will be affected.
[0044]
Hue range of the (1) and (12), using the hue H RM, H YR quasi reference color RM and YR, determined by the following interpolation calculation formula (see step S24).
(1) H ′ = H + x * (H RM −H) / (H RM −H R )
(12) H ′ = H + x * (H−H YR ) / (H R −H YR )
H represents a hue before adjustment, and H ′ represents a hue after adjustment.
[0045]
By performing the hue adjustment with this interpolation formula, the color in the vicinity of R (red) that is being adjusted as shown in FIG. 8 is greatly affected by the adjustment value, and the adjustment value changes as the color approaches RM or YR. It has the characteristic of not being affected, and the continuity of hues other than the target color can be maintained.
[0046]
Further, since not only red with the highest saturation but also colors from low saturation to high saturation having the same hue value change at the same rate, the continuity in the saturation direction is not impaired.
[0047]
Subsequently, the C b C r value (C b C r data) is changed using the calculated hue H ′ (see step S25).
Assuming that the data before hue adjustment is C b and C r and the data after adjustment is C b ′ and C r ′, C b ′ and C r ′ use hues H and H ′ before and after adjustment. , Using the conversion matrix table shown in FIG.
[0048]
Finally, the calculated C b 'C r ' value and the unchanged Y value are changed to RGB image data using the conversion matrix table shown in FIG. 4 (see step S26).
[0049]
In summary, in the present embodiment, when RGB image data is input, the RGB image data is converted into YC b C r image data, and the C b C r data of the converted YC b C r image data is converted. When the hue characteristic that displays the hue characteristic and displays the desired hue characteristic for the displayed hue characteristic is specified, the hue characteristic is changed based on the specified hue position, and the changed hue characteristic is obtained. based change the C b C r data of YC b C r image data, and each step of converting YC b C r image data into RGB image data based on the modified C b C r data. Then, a program for causing the computer to execute such a procedure is created, installed in the computer, and the print hue is adjusted by the printer driver.
[0050]
The RGB image obtained in this way is subjected to color matching processing as necessary as described above, and is then transferred to the printer for printing.
[0051]
FIG. 10 shows an example of a hue adjustment GUI performed by the user on the printer driver.
[0052]
In the figure, the hue adjustment GUI 100 includes a hue characteristic graph 50, a numerical value box 60, a reset button 70, and the like. The hue characteristic graph 50 includes a bar 51 representing a hue, a mouse pointer 52, and the like.
[0053]
The above-described hue circle is displayed on the GUI 100 (see FIGS. 6 and 7), and the hue characteristic graph 50 is displayed by displaying the bar 51 representing the hue on the basic six colors.
[0054]
The bar 51 can be dragged with the mouse, and the user can change the target hue by operating the bar 51 with the mouse pointer 52.
In addition, the hue can be changed numerically by using a keyboard.
[0055]
As shown in the drawing, a numerical value box 60 for inputting numerical values is prepared beside the hue characteristic graph 50, and the value of the hue of interest can be directly input thereto to change the value.
[0056]
The bar 51 representing the hue and the numerical value box 60 reflect data to each other. When the bar 51 is moved, the numerical value is changed, and when the numerical value is changed, the bar 51 is also moved.
[0057]
The hue adjustment range is set to ± 15 degrees in order to prevent continuity failure due to exceeding the adjacent basic colors, and limits are imposed on numerical input and bar movement beyond that.
[0058]
In addition, a reset button 70 is provided for invalidating the hue adjustment. Thereby, all the adjustment values operated so far can be reset to zero.
[0059]
【The invention's effect】
According to the first to fourth aspects of the present invention, means for displaying the hue characteristic as a graph on the hue ring, means for designating a hue position for obtaining a desired characteristic for the displayed hue characteristic for each hue, and Since the means for changing the hue characteristic based on the designated hue position is provided, the hue adjustment that can only be performed for the entire image can be performed for each hue. According to the first aspect of the present invention, even if the adjustment for each hue is possible, the hue adjustment that requires a complicated procedure can be easily performed.
[0060]
According to the second to fourth aspects of the present invention, since the means for changing the hue characteristic changes the parameter indicating the hue, and the printer changes the hue with reference to the parameter, various adjustments can be made with a simple configuration. It is possible to execute hue adjustment that can correspond to the sex.
[0061]
According to the third and fourth aspects of the present invention, since the display means is provided with a reset display for setting cancellation of hue adjustment by the designation means, comparison with the default can be easily performed before and after the hue change.
[0062]
According to the fourth aspect of the present invention, since the means for changing the hue characteristic is set in the printer driver installed in the computer, the above-described effects can be easily obtained simply by installing the printer driver in the computer. it can.
[0063]
According to the fifth, seventh, and eighth aspects of the present invention, a hue characteristic graph is displayed on the display screen of the computer, a hue position at which a desired characteristic can be obtained with respect to the displayed hue characteristic is designated, and Since the printer driver sets the hue characteristic based on the designated hue position and adjusts the hue with reference to the characteristic, the user can freely and intuitively perform the optimum hue adjustment, which satisfies the user's satisfaction. A high output result can be obtained.
[0064]
According to the invention of claims 6 to 8, wherein, when there is RGB image data input, display a first step of converting the YC b C r image data and the hue characteristic of the converted YC b C r image data A second procedure for changing the hue characteristic based on the designated hue position when a hue position capable of obtaining a desired characteristic with respect to the displayed hue characteristic is designated. A fourth procedure for changing the CbCr data of the YC b C r image data based on the hue characteristics, and a second procedure for converting the YC b C r image data into RGB image data based on the changed C b C r data. Since the procedure 5 is written as a program on the information recording medium, if the printer driver is installed in the computer using this information recording medium, any user is free and intuitively optimal. Can make a phase adjustment, it is possible to obtain a highly satisfactory user output.
[Brief description of the drawings]
FIG. 1 is a flowchart of a general color print.
FIG. 2 is a flowchart of hue adjustment in one embodiment of a hue adjustment apparatus, a hue adjustment method, a program, and a recording medium according to the present invention.
[Figure 3] hue adjustment device according to the present invention, a conversion formula of the hue adjustment method, a program, and the RGB in one embodiment of the recording medium to the YC b C r.
FIG. 4 is a conversion formula from YC b Cr to RGB in an embodiment of a hue adjustment device, a hue adjustment method, a program, and a recording medium according to the present invention.
FIG. 5 is a YC b Cr color space.
FIG. 6 is a hue circle obtained by plotting the relationship between C b and C r of YC b C r data.
FIG. 7 is a hue circle in which six quasi-basic colors are defined between six basic colors.
FIG. 8 is an explanatory diagram of movement of colors in the vicinity of R at the time of R adjustment in an embodiment of the hue adjustment device, the hue adjustment method, the program, and the recording medium according to the present invention.
[9] hue adjustment device according to the present invention, a conversion formula of the hue adjustment method, a program, and the C b C r in an embodiment of the recording medium to the C b 'C r'.
FIG. 10 is an example of a hue adjustment apparatus, a hue adjustment method, a program, and a printer driver GUI according to an embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 Application 20 Printer driver 30 Printer controller 40 Printer engine 50 Hue characteristic graph 51 (Hue) bar 52 Mouse pointer 60 Numeric box 70 Reset button 100 Hue adjustment GUI

Claims (8)

コンピュータから転送された画像データに従って画像を印刷するプリンタの出力画像の色相を調整する色相調整装置であって、
該色相調整装置は、
色相特性を色相環上にグラフとして表示する表示手段と、
該表示手段により表示された前記色相特性に対して所望の特性を得られる色相位置を色相ごとに指定する指定手段と、
該指定手段により指定された前記色相位置に基づいて前記色相特性を変更する色相特性変更手段と、
を有することを特徴とする色相調整装置。
A hue adjustment device that adjusts the hue of an output image of a printer that prints an image according to image data transferred from a computer,
The hue adjusting device is
Display means for displaying the hue characteristics as a graph on the hue ring;
Designating means for designating, for each hue, a hue position capable of obtaining a desired characteristic with respect to the hue characteristic displayed by the display means;
Hue characteristic changing means for changing the hue characteristic based on the hue position designated by the designation means;
A hue adjusting device characterized by comprising:
前記色相特性の変更は、
前記色相特性変更手段が色相を指示するパラメータを変更し、
前記プリンタが前記パラメータを参照して色相を変更する、
ことにより行われることを特徴とする請求項1記載の色相調整装置。
The change of the hue characteristic is
The hue characteristic changing means changes the parameter indicating the hue,
The printer changes the hue with reference to the parameter;
The hue adjusting device according to claim 1, wherein the hue adjusting device is performed.
前記表示手段は、
前記指定手段による色相調整の取り消しを設定するためのリセット表示手段、
をさらに有することを特徴とする請求項1または2記載の色相調整装置。
The display means includes
Reset display means for setting cancellation of hue adjustment by the designation means;
The hue adjusting device according to claim 1, further comprising:
前記色相特性変更手段は、
コンピュータにインストールされているプリンタドライバに設定されていることを特徴とする請求項1から3のいずれか1項に記載の色相調整装置。
The hue characteristic changing means is
4. The hue adjusting apparatus according to claim 1, wherein the hue adjusting apparatus is set in a printer driver installed in a computer.
コンピュータから転送された画像データに従って画像を印刷するプリンタの出力画像の色相を調整する色相調整方法であって、
該色相調整方法は、
前記色相の特性をあらわす色相特性をグラフとしてコンピュータの表示画面上に表示する手順と、
前記表示画面上に表示された前記色相特性に対して所望の特性を得られる色相位置を指定する手順と、
プリンタドライバが前記指定された前記色相位置に基づいて前記色相特性を変更し、該色相特性を参照して前記色相の調整を行う手順と、
を有することを特徴とする色相調整方法。
A hue adjustment method for adjusting a hue of an output image of a printer that prints an image according to image data transferred from a computer,
The hue adjustment method is:
A procedure for displaying a hue characteristic representing the hue characteristic on a display screen of a computer as a graph;
A procedure for designating a hue position at which a desired characteristic can be obtained with respect to the hue characteristic displayed on the display screen;
A procedure for a printer driver to change the hue characteristic based on the designated hue position and to adjust the hue with reference to the hue characteristic;
A hue adjustment method characterized by comprising:
コンピュータにインストールされ、プリンタドライバによってプリントの色相を調整するためのプログラムであって、
RGB画像データ入力があった時に、該RGB画像データをYC 画像データに変換する手順と、
該変換されたYC 画像データのC データの色相特性をグラフとして表示する手順と、
該表示された前記色相特性に対して所望の特性を得られる色相位置が指定された時、該指定された前記色相位置に基づいて前記色相特性を変更する手順と、
該変更された前記色相特性に基づいて前記YC 画像データの前記C データを変更する手順と、
該変更された前記C データに基づいて前記YC 画像データをRGB画像データに変換する手順と、
を有することを特徴とする色相調整方法。
A program that is installed in a computer and adjusts the hue of a print by a printer driver,
When there is RGB image data input, the procedure for converting the RGB image data to YC b C r image data,
A step of displaying the color characteristics of the C b C r data of YC b C r image data the converter as a graph,
A procedure for changing the hue characteristic based on the designated hue position when a hue position capable of obtaining a desired characteristic is designated for the displayed hue characteristic;
Changing the C b C r data of the YC b C r image data based on the changed hue characteristics;
Converting the YC b C r image data into RGB image data based on the changed C b C r data;
A hue adjustment method characterized by comprising:
請求項5または6記載の手順をコンピュータに実行させるためのプログラム。The program for making a computer perform the procedure of Claim 5 or 6. 請求項7記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。A computer-readable recording medium on which the program according to claim 7 is recorded.
JP2003190570A 2003-07-02 2003-07-02 Device and method for adjusting hue, program and recording medium Withdrawn JP2005027052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003190570A JP2005027052A (en) 2003-07-02 2003-07-02 Device and method for adjusting hue, program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003190570A JP2005027052A (en) 2003-07-02 2003-07-02 Device and method for adjusting hue, program and recording medium

Publications (1)

Publication Number Publication Date
JP2005027052A true JP2005027052A (en) 2005-01-27

Family

ID=34188411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003190570A Withdrawn JP2005027052A (en) 2003-07-02 2003-07-02 Device and method for adjusting hue, program and recording medium

Country Status (1)

Country Link
JP (1) JP2005027052A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011126180A (en) * 2009-12-18 2011-06-30 Canon Inc Printer and printing control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011126180A (en) * 2009-12-18 2011-06-30 Canon Inc Printer and printing control method

Similar Documents

Publication Publication Date Title
US7944594B2 (en) Image processing device and an image processing method for curbing the amount of color material consumed and suppressing a deterioration in image quality
JPH09135316A (en) Device and method for processing image
US20040126009A1 (en) Image processing apparatus, image processing method, and image processing program
JP6156401B2 (en) Color conversion method, program, and image processing apparatus
JP2004282156A (en) Color adjustment apparatus, print control unit, color adjustment method, and color adjustment program
JP2012015993A (en) Image processing device, image processing method, program and recording medium
JP2006262446A (en) Image processing equipment, image processing method, and image processing program
JP2016025496A (en) Color conversion device and color conversion method
US9396419B2 (en) Data-processing apparatus generating color conversion data
JP2006262238A (en) Image processing method, image processor and image processing program
US8031965B2 (en) Image processor, computer readable medium storing image processing program, and image processing method
JP2009124326A (en) Image processing device, image processing method, program, and recording medium
JP7204402B2 (en) IMAGE PROCESSING DEVICE, CONTROL METHOD THEREOF, AND PROGRAM
JP2011049833A (en) Color conversion condition setting program, color conversion condition setting method, and color conversion condition setting device
JP2005027052A (en) Device and method for adjusting hue, program and recording medium
JP5206428B2 (en) Color processing apparatus and program
JPH08321957A (en) Color image recorder
JP2004128585A (en) Color correction table forming method, control program, storing medium, and apparatus thereof
JP2006157162A (en) Saturation regulator, image forming apparatus, saturation regulating method, computer program and recording medium
US8988748B2 (en) Output profile for colour reproduction system
JP4159912B2 (en) Color conversion method with hue correction using multiple lookup tables and interpolation
JP2006174008A (en) Saturation adjustment apparatus, saturation adjustment method, program and recording medium
JP2005151212A (en) Apparatus and method for adjusting hue, image forming apparatus, computer program and recording medium
JP4501836B2 (en) Color adjustment of color image data
JP2002190959A (en) Image processor, image processing method 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: 20060905