JP2017041819A - Image formation apparatus and program - Google Patents

Image formation apparatus and program Download PDF

Info

Publication number
JP2017041819A
JP2017041819A JP2015163481A JP2015163481A JP2017041819A JP 2017041819 A JP2017041819 A JP 2017041819A JP 2015163481 A JP2015163481 A JP 2015163481A JP 2015163481 A JP2015163481 A JP 2015163481A JP 2017041819 A JP2017041819 A JP 2017041819A
Authority
JP
Japan
Prior art keywords
color
target
image
color value
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015163481A
Other languages
Japanese (ja)
Other versions
JP6562381B2 (en
Inventor
杉 伸介
Shinsuke Sugi
伸介 杉
勇一 西國
Yuichi Nishikuni
勇一 西國
知弘 谷川
Tomohiro Tanigawa
知弘 谷川
智之 三ツ橋
Tomoyuki Mitsuhashi
智之 三ツ橋
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2015163481A priority Critical patent/JP6562381B2/en
Publication of JP2017041819A publication Critical patent/JP2017041819A/en
Application granted granted Critical
Publication of JP6562381B2 publication Critical patent/JP6562381B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To select such an adjustment amount that a correction amount of color matching becomes small when correcting image data so as to bring an object color close to a target color.SOLUTION: A color matching designation unit 302 designates an object color being an object of color correction in image data. An image reading unit 300 reads a target image having a target color being a target of color correction to the object color. A virtual reading color value calculation unit 303 calculates a virtual reading color value in a case where the object color adjusted on the basis of the image quality mode is output on the basis of the standard characteristics and read on the basis of the standard characteristics. A color value calculation unit 304 calculates a color value difference between the calculated virtual reading color value and the color value of the target color. An image quality mode selection unit 305 selects the image quality mode having the smallest color value difference. A correction parameter generation unit 310 generates the correction data for correcting electronic image data so as to bring the object color adjusted in the selected image quality mode close to the target color.SELECTED DRAWING: Figure 3

Description

本発明は、画像形成装置およびプログラムに関する。   The present invention relates to an image forming apparatus and a program.

特許文献1には、現状のカラープロファイルとプリンタを用いた代表色の印刷の制御を行い、同時に、画面上に代表色周辺色の表示を行い、ユーザが代表色のプリント出力をみて画面上の周辺色と見比べ、一番近いと思う色を入力して、調整情報をカラープロファイルに反映させることが開示されている。   In Patent Document 1, the current color profile and printing of representative colors using a printer are controlled, and at the same time, the peripheral colors of the representative colors are displayed on the screen, and the user sees the print output of the representative colors on the screen. It is disclosed that a color that is considered to be the closest to the surrounding colors is input and the adjustment information is reflected in the color profile.

特許文献2には、あらかじめ設定する変換テーブルデータと、これに対応する原稿とプリントアウトしたときの色差をあらかじめ記憶しておいた色域毎の色差データを読み出し、スキャナから読み取られた特定色を変換したL*a*b値と同様の色域の色差データを抽出し、この色域の残差が小さくなる方向周辺色域へ補正させる修正変換テーブルデータを、原稿を読み取る際の原稿モードに対応させることが開示されている。   Patent Document 2 reads out conversion table data set in advance, color difference data for each color gamut in which the color difference when printing is performed with a corresponding document, and a specific color read from the scanner. The color conversion data of the same color gamut as the converted L * a * b value is extracted, and the correction conversion table data for correcting to the peripheral color gamut in the direction in which the residual of the color gamut is reduced is used as the original mode when reading the original. Corresponding is disclosed.

特許文献3には、印刷プレビュー画面から所望の領域を切り取り、切り取られた領域の画像を構成するカラー各色の濃度、色相、彩度及び明度の各画像要素から選択された画像要素を段階的に変更し、変更を受けた画像を段階別に並べて印刷し、印刷された画像の中から選択された画像に対し、最も適した値が選択されたときにそれらの値を画像全体に反映させることが開示されている。   In Patent Document 3, a desired region is cut out from a print preview screen, and image elements selected from the image elements of the density, hue, saturation, and brightness of each color constituting the image of the cut-out region are stepwise. You can change and print the changed images side by step, and when the most appropriate value is selected for the image selected from the printed images, the values are reflected in the entire image It is disclosed.

特開2002−290753号公報JP 2002-290753 A 特開2004−241981号公報Japanese Patent Laid-Open No. 2004-241981 特開2004−164125号公報JP 2004-164125 A

画像データの特定の色を目標となる目標色に合わせるように部分的な補正を行う場合、画像データの特定の色を目標色に近づけるように画像データの色補正を行うことがある。しかし、色補正後の画像データにおいて、特定の色とその他の色との視覚的なバランスが崩れてしまい、ユーザが意図した出力結果とは異なってしまう場合がある。   When performing partial correction so that a specific color of image data matches a target color that is a target, color correction of the image data may be performed so that the specific color of the image data approaches the target color. However, in the image data after color correction, the visual balance between the specific color and other colors may be lost, and the output result intended by the user may be different.

本発明の目的は、対象色が目標色に近づくよう画像データを補正する際に、色合わせの補正量が小さくなるような調整量を選択することが可能な画像形成装置およびプログラムを提供することである。   An object of the present invention is to provide an image forming apparatus and a program capable of selecting an adjustment amount that reduces a correction amount of color matching when correcting image data so that a target color approaches a target color. It is.

請求項1に係る本発明は、画像データにおいて色補正を行う対象となる対象色を指定する指定手段と、
前記対象色に対する色補正の目標となる目標色を有する目標画像を読み取る読取手段と、
予め定められた調整量に関する複数の設定を記憶する記憶手段と、
前記設定に基づいて調整された対象色が、標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合の仮想読取色値を算出する仮想読取色値算出手段と、
前記仮想読取色値算出手段により算出された仮想読取色値と前記目標色の色値との色値差を算出する色値差算出手段と、
前記複数の設定のうち、前記色値差算出手段により算出された色値差が最も小さい設定を選択する選択手段と、
前記選択手段により選択された設定に基づいて、前記画像データの色を調整する調整手段と、
前記調整手段により調整された対象色が前記目標色に近づくよう前記画像データを補正するための補正データを生成する補正データ生成手段と、
を有する画像形成装置である。
According to the first aspect of the present invention, there is provided a specifying means for specifying a target color to be subjected to color correction in image data;
Reading means for reading a target image having a target color that is a target of color correction for the target color;
Storage means for storing a plurality of settings relating to a predetermined adjustment amount;
A target color adjusted based on the setting is output based on a standard characteristic, and a virtual read color value calculating unit that calculates a virtual read color value when read based on the standard characteristic;
Color value difference calculating means for calculating a color value difference between the virtual read color value calculated by the virtual read color value calculating means and the color value of the target color;
A selection unit that selects a setting having the smallest color value difference calculated by the color value difference calculation unit from among the plurality of settings;
Adjusting means for adjusting the color of the image data based on the setting selected by the selecting means;
Correction data generation means for generating correction data for correcting the image data so that the target color adjusted by the adjustment means approaches the target color;
An image forming apparatus having

請求項2に係る本発明は、前記複数の設定が、それぞれ前記画像データの画質を調整するための画質モードである請求項1記載の画像形成装置である。   The present invention according to claim 2 is the image forming apparatus according to claim 1, wherein each of the plurality of settings is an image quality mode for adjusting an image quality of the image data.

請求項3に係る本発明は、前記複数の設定が、それぞれ前記画像データの色の濃度値の調整量に関する設定である請求項1記載の画像形成装置である。   The present invention according to claim 3 is the image forming apparatus according to claim 1, wherein each of the plurality of settings is a setting relating to an adjustment amount of a density value of a color of the image data.

請求項4に係る本発明は、前記記憶手段が、前記選択手段により選択された設定と前記補正データ生成手段により生成された補正データとを対応付けて記憶し、
前記選択手段により前記設定が選択された場合に、当該設定と対応する補正データに基づいて前記画像データを補正する補正手段をさらに有する請求項2または3記載の画像形成装置である。
According to a fourth aspect of the present invention, the storage unit stores the setting selected by the selection unit in association with the correction data generated by the correction data generation unit,
4. The image forming apparatus according to claim 2, further comprising: a correction unit that corrects the image data based on correction data corresponding to the setting when the setting is selected by the selection unit. 5.

請求項5に係る本発明は、標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合に、前記目標色が得られるような仮想入力色値を算出する仮想入力色値算出手段と、
前記仮想入力色値算出手段により算出された仮想入力色値および当該仮想入力色値の予め定められた範囲の周辺色値を含む色見本を記録媒体上に出力する出力手段と、
前記読取手段によって読み取られた前記記録媒体上の色見本から複数の色を抽出する抽出手段と、
をさらに有し、
前記補正データ生成手段は、前記調整手段により調整された対象色が、前記目標色に最も近い出力色となるように前記抽出手段により抽出された複数の色から前記画像データを補正するための補正データを生成する請求項1から4いずれか1項記載の画像形成装置である。
According to a fifth aspect of the present invention, there is provided a virtual input color that calculates a virtual input color value that is output based on a standard characteristic and that obtains the target color when read based on the standard characteristic. A value calculating means;
Output means for outputting on the recording medium a color sample including the virtual input color value calculated by the virtual input color value calculation means and a peripheral color value in a predetermined range of the virtual input color value;
Extracting means for extracting a plurality of colors from a color sample on the recording medium read by the reading means;
Further comprising
The correction data generation unit corrects the image data from a plurality of colors extracted by the extraction unit so that the target color adjusted by the adjustment unit is an output color closest to the target color. The image forming apparatus according to claim 1, wherein the image forming apparatus generates data.

請求項6に係る本発明は、予め定められた調整量に関する複数の設定を記憶するステップと、
画像データにおいて色補正を行う対象となる対象色を指定するステップと、
前記対象色に対する色補正の目標となる目標色を有する目標画像を読み取るステップと、
前記設定に基づいて調整された前記対象色が標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合の仮想読取色値を算出するステップと、
算出された仮想読取色値と前記目標色の色値との色値差を算出するステップと、
前記複数の設定のうち、算出された色値差が最も小さい設定を選択するステップと、
選択された設定に基づいて前記画像データの色を調整するステップと、
調整された対象色が前記目標色に近づくよう前記画像データを補正するための補正データを生成するステップと、
をコンピュータに実行させるためのプログラムである。
The present invention according to claim 6 stores a plurality of settings related to a predetermined adjustment amount;
Specifying a target color to be subjected to color correction in the image data;
Reading a target image having a target color that is a target of color correction for the target color;
Calculating a virtual read color value when the target color adjusted based on the setting is output based on a standard characteristic and read based on the standard characteristic;
Calculating a color value difference between the calculated virtual read color value and the color value of the target color;
Selecting a setting having the smallest calculated color value difference among the plurality of settings;
Adjusting the color of the image data based on the selected settings;
Generating correction data for correcting the image data so that the adjusted target color approaches the target color;
Is a program for causing a computer to execute.

請求項1に係る本発明によれば、対象色が目標色に近づくよう画像データを補正する際に、色合わせの補正量が小さくなるような調整量を選択することが可能な画像形成装置を提供することができる。   According to the first aspect of the present invention, there is provided an image forming apparatus capable of selecting an adjustment amount that reduces a correction amount of color matching when correcting image data so that a target color approaches a target color. Can be provided.

請求項2に係る本発明によれば、対象色が目標色に近づくよう画像データを補正する際の補正量が小さくなるような画質モードを選択することが可能な画像形成装置を提供することができる。   According to the second aspect of the present invention, it is possible to provide an image forming apparatus capable of selecting an image quality mode in which a correction amount is small when correcting image data so that the target color approaches the target color. it can.

請求項3に係る本発明によれば、対象色が目標色に近づくよう画像データを補正する際の補正量が小さくなるような濃度値を選択することが可能な画像形成装置を提供することができる。   According to the third aspect of the present invention, it is possible to provide an image forming apparatus capable of selecting a density value so that the correction amount when correcting the image data so that the target color approaches the target color is small. it can.

請求項4に係る本発明によれば、対象色が目標色に近づくよう画像データの色補正する際に、設定ごとの補正データに基づいて画像データを補正することが可能な画像形成装置を提供することができる。   According to the fourth aspect of the present invention, there is provided an image forming apparatus capable of correcting image data based on correction data for each setting when correcting the color of the image data so that the target color approaches the target color. can do.

請求項5に係る本発明によれば、画像データを記録媒体上に印刷する場合に、専用の測色機を用いることなく、記録媒体上に印刷される画像中の特定色が目標色に近づくように画像データの色補正を行うことが可能な画像形成装置を提供することができる。   According to the fifth aspect of the present invention, when printing image data on a recording medium, the specific color in the image printed on the recording medium approaches the target color without using a dedicated colorimeter. Thus, an image forming apparatus capable of performing color correction of image data can be provided.

請求項6に係る本発明によれば、対象色が目標色に近づくよう画像データを補正する際に、色合わせの補正量が小さくなるような調整量を選択することが可能なプログラムを提供することができる   According to the sixth aspect of the present invention, there is provided a program capable of selecting an adjustment amount that reduces the correction amount of color matching when correcting the image data so that the target color approaches the target color. be able to

本発明の一実施形態における画像形成システムの一例を示す図である。1 is a diagram illustrating an example of an image forming system according to an embodiment of the present invention. 本発明の一実施形態における画像形成装置3のハードウェア構成を示すブロック図である。2 is a block diagram illustrating a hardware configuration of an image forming apparatus 3 according to an embodiment of the present invention. FIG. 本発明の一実施形態における画像形成装置3の機能構成を示すブロック図である。2 is a block diagram illustrating a functional configuration of an image forming apparatus 3 according to an embodiment of the present invention. FIG. 本発明の一実施形態における電子画像データ100の一例を示す図である。It is a figure which shows an example of the electronic image data 100 in one Embodiment of this invention. 本発明の一実施形態における色合わせ対象指定画面の一例を示す図である。It is a figure which shows an example of the color matching object designation | designated screen in one Embodiment of this invention. 本発明の一実施形態におけるターゲット画像の一例を示す図である。It is a figure which shows an example of the target image in one Embodiment of this invention. 本発明の一実施形態における対象色の仮想読取色値を算出する方法の一例を説明するための図である。It is a figure for demonstrating an example of the method of calculating the virtual reading color value of the object color in one Embodiment of this invention. 本発明の一実施形態におけるターゲット色の仮想入力色値を算出する方法の一例を説明するための図である。It is a figure for demonstrating an example of the method of calculating the virtual input color value of the target color in one Embodiment of this invention. 本発明の一実施形態におけるカラーパッチ画像データの一例を示す図である。It is a figure which shows an example of the color patch image data in one Embodiment of this invention. 本発明の一実施形態におけるカラーパッチ画像の一例を示す図である。It is a figure which shows an example of the color patch image in one Embodiment of this invention. 本発明の一実施形態における色合わせ補正確認画面の一例を示す図である。It is a figure which shows an example of the color matching correction confirmation screen in one Embodiment of this invention. 本発明の一実施形態における補正パラメータの生成方法の一例を説明するための図である。It is a figure for demonstrating an example of the production | generation method of the correction parameter in one Embodiment of this invention. 本発明の一実施形態における電子画像データ101の一例を示す図である。It is a figure which shows an example of the electronic image data 101 in one Embodiment of this invention. 本発明の一実施形態における「標準モード」に基づいて調整された電子画像データ101に対して色合わせ補正を行う場合の一例である。It is an example in the case of performing color matching correction with respect to the electronic image data 101 adjusted based on the “standard mode” in one embodiment of the present invention. 本発明の一実施形態における「プレゼンモード」に基づいて調整された電子画像データ101に対して色合わせ補正を行う場合の一例である。It is an example when color matching correction is performed on the electronic image data 101 adjusted based on the “presentation mode” according to the embodiment of the present invention. 本発明の一実施形態における画質モードの一例を示す図である。It is a figure which shows an example of the image quality mode in one Embodiment of this invention. 本発明の一実施形態における各画質モードに基づいて調整された場合の対象色の仮想読取色値とターゲット色の色値とのRGB空間上における距離の一例を示す図である。It is a figure which shows an example of the distance on the RGB space of the virtual read color value of the object color when adjusted based on each image quality mode in one Embodiment of this invention, and the color value of a target color. 本発明の一実施形態における色合わせ補正を行う際の画質モードとして設定するか否かを決定する画面の一例である。It is an example of the screen which determines whether it sets as an image quality mode at the time of performing color matching correction in one Embodiment of this invention. 本発明の一実施形態における画像形成装置3の全体的な処理を示すフローチャートである。4 is a flowchart showing overall processing of the image forming apparatus 3 according to an embodiment of the present disclosure. 本発明の一実施形態における画質モードの選択の処理を示すフローチャートである。It is a flowchart which shows the process of selection of the image quality mode in one Embodiment of this invention. 本発明の一実施形態における色合わせ補正の処理を示すフローチャートである。It is a flowchart which shows the process of color matching correction | amendment in one Embodiment of this invention.

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

図1は、本発明の一実施形態における画像形成システムの一例を示す図である。   FIG. 1 is a diagram illustrating an example of an image forming system according to an embodiment of the present invention.

図1に示されるように、本実施形態における画像形成システムは、端末装置1と、ターゲットプリンタ2と、画像形成装置3とから構成されている。また、端末装置1と、画像形成装置3とは、それぞれネットワーク4を介して互いに接続されている。   As shown in FIG. 1, the image forming system in the present embodiment includes a terminal device 1, a target printer 2, and an image forming device 3. Further, the terminal device 1 and the image forming apparatus 3 are connected to each other via the network 4.

本実施形態におけるターゲットプリンタ2とは、例えば、画像の印刷を行う業者において利用されるような高価なプリンタである。これに対して、本実施形態における画像形成装置3は、オフィス等で利用されるいわゆる複合機であり、ターゲットプリンタ2とは異なる特性を有している。ターゲットプリンタ2によれば、コーポレートカラー等の特定色を含む画像を高品質に用紙上に出力することができる。しかし、本実施形態における画像形成装置3により同じ画像データを印刷したとしても、ターゲットプリンタ2により印刷された画像と同じような品質を確保することができず、特にコーポレートカラー等の特定色を忠実に再現することは難しい。そこで、本実施形態における画像形成装置3は、ターゲットプリンタ2により印刷された画像をターゲット画像(目標画像)とし、用紙(記録媒体)上に印刷する画像の特定色をターゲット画像に含まれるターゲット色(目標色)に近づけるような処理を行う。   The target printer 2 in the present embodiment is an expensive printer that is used, for example, by a company that prints images. On the other hand, the image forming apparatus 3 according to the present embodiment is a so-called multifunction machine used in an office or the like, and has characteristics different from those of the target printer 2. According to the target printer 2, an image including a specific color such as a corporate color can be output on paper with high quality. However, even if the same image data is printed by the image forming apparatus 3 according to the present embodiment, the same quality as the image printed by the target printer 2 cannot be ensured, and a specific color such as a corporate color is particularly faithful. It is difficult to reproduce. Therefore, the image forming apparatus 3 according to the present embodiment uses the image printed by the target printer 2 as the target image (target image), and the target color included in the target image includes a specific color of the image printed on the paper (recording medium). Perform processing to bring it closer to the target color.

次に、本実施形態の画像形成システムにおける画像形成装置3のハードウェア構成を、図2を参照して説明する。本実施形態の画像形成装置3は、図2に示されるように、CPU11、メモリ12、ハードディスクドライブ(HDD)等の記憶装置13、ネットワーク4を介して端末装置10およびサーバ装置30との間でデータの送信及び受信を行う通信インタフェース(IF)部14、タッチパネルや液晶ディスプレイにより構成されたユーザインタフェース(UI)装置15、スキャナ等の画像を読み取る画像読取部16、用紙等の記録媒体に対して画像を出力する画像出力部17を有する。そして、これらの構成要素は、制御バス18を介して互いに接続されている。   Next, the hardware configuration of the image forming apparatus 3 in the image forming system of the present embodiment will be described with reference to FIG. As shown in FIG. 2, the image forming apparatus 3 according to the present embodiment includes a CPU 11, a memory 12, a storage device 13 such as a hard disk drive (HDD), and the terminal device 10 and the server device 30 via the network 4. For a communication interface (IF) unit 14 for transmitting and receiving data, a user interface (UI) device 15 constituted by a touch panel and a liquid crystal display, an image reading unit 16 for reading an image such as a scanner, and a recording medium such as paper An image output unit 17 that outputs an image is provided. These components are connected to each other via a control bus 18.

CPU11は、メモリ12または記憶装置13に格納された印刷制御プログラムに基づいて所定の処理を実行して、画像形成装置3の動作を制御する。   The CPU 11 controls the operation of the image forming apparatus 3 by executing a predetermined process based on the print control program stored in the memory 12 or the storage device 13.

図3は、上記の印刷制御プログラムが実行されることにより実現される画像形成装置3の機能構成を示すブロック図である。   FIG. 3 is a block diagram showing a functional configuration of the image forming apparatus 3 realized by executing the above-described print control program.

画像形成装置3は、図3に示されるように、画像読取部300と、記憶部301と、色合わせ指定部302と、仮想読取色値算出部303と、色値差算出部304と、画質モード選択部305と、画質調整部306と、仮想入力色値算出部307と、カラーパッチ画像生成部308と、カラーパッチ抽出部309と、補正パラメータ生成部310と、色補正部311と、画像出力部312とを有する。   As illustrated in FIG. 3, the image forming apparatus 3 includes an image reading unit 300, a storage unit 301, a color matching designation unit 302, a virtual read color value calculation unit 303, a color value difference calculation unit 304, an image quality A mode selection unit 305, an image quality adjustment unit 306, a virtual input color value calculation unit 307, a color patch image generation unit 308, a color patch extraction unit 309, a correction parameter generation unit 310, a color correction unit 311, an image And an output unit 312.

画像読取部300は、対象色に対する補正の目標となるターゲット色(目標色)を含むターゲット画像を読み取る。なお、本実施形態においては、ターゲットプリンタ2により予めターゲット画像を用紙に出力しておく。また、このターゲット画像は、色合わせ指定部302において指定された対象色に対する色合わせ補正の目標となるターゲット色を有する。   The image reading unit 300 reads a target image including a target color (target color) which is a correction target for the target color. In the present embodiment, the target printer 2 outputs a target image on paper in advance. The target image has a target color that is a target of color matching correction for the target color specified by the color matching specification unit 302.

記憶部301は、画像読取部300により読み取られたターゲット画像データを記憶する。また、記憶部301は、予め定められた調整量に関する複数の設定を記憶する。なお、本実施形態において、予め定められた調整量に関する複数の設定とは、それぞれ電子画像データの画質を調整するための画質モードである。さらに、記憶部301は、後述する補正パラメータ生成部310により生成された補正パラメータを記憶(格納)する。   The storage unit 301 stores target image data read by the image reading unit 300. In addition, the storage unit 301 stores a plurality of settings related to predetermined adjustment amounts. In the present embodiment, the plurality of settings related to the predetermined adjustment amount are image quality modes for adjusting the image quality of the electronic image data. Furthermore, the storage unit 301 stores (stores) correction parameters generated by a correction parameter generation unit 310 described later.

色合わせ指定部302は、端末装置1から送信された電子画像データにおいて色補正を行う対象となる対象色を指定する。本実施形態においては、電子画像データにおける特定の部分の色を、ターゲットプリンタ2により用紙上に出力されたターゲット画像(目標画像)に含まれる特定の色に近づくように電子画像データの色合わせ補正を行うための対象となる対象色として指定する。   The color matching designation unit 302 designates a target color to be subjected to color correction in the electronic image data transmitted from the terminal device 1. In the present embodiment, the color matching correction of the electronic image data is performed so that the color of a specific portion in the electronic image data approaches the specific color included in the target image (target image) output on the paper by the target printer 2. Is specified as the target color to be used for

仮想読取色値算出部303は、画質モードに基づいて調整された対象色が標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合の仮想読取色値を算出する。なお、仮想読取色値の具体的な算出方法については後述する。   The virtual read color value calculation unit 303 calculates a virtual read color value when the target color adjusted based on the image quality mode is output based on the standard characteristics and read based on the standard characteristics. A specific method for calculating the virtual read color value will be described later.

色値差算出部304は、仮想読取色値算出部303により算出された仮想読取色値と画像読取部300により読み取られたターゲット色の色値との色値差を算出する。例えば、色値差算出部304は、仮想読取色値とターゲット色の色値との色値差として、RGB空間上における2つの色値の距離を算出する。   The color value difference calculation unit 304 calculates a color value difference between the virtual read color value calculated by the virtual read color value calculation unit 303 and the color value of the target color read by the image reading unit 300. For example, the color value difference calculation unit 304 calculates the distance between two color values in the RGB space as the color value difference between the virtual read color value and the color value of the target color.

画質モード選択部305は、記憶部301に記憶された複数の画質モードのうち、色値差算出部304により算出された色値差が最も小さい画質モードを選択する。   The image quality mode selection unit 305 selects an image quality mode having the smallest color value difference calculated by the color value difference calculation unit 304 from among a plurality of image quality modes stored in the storage unit 301.

画質調整部306は、記憶部301に記憶された画質モードに基づいて電子画像データの色を調整する。   The image quality adjustment unit 306 adjusts the color of the electronic image data based on the image quality mode stored in the storage unit 301.

仮想入力色値算出部307は、標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合にターゲット色が得られるような仮想入力色値を算出する。   The virtual input color value calculation unit 307 calculates a virtual input color value that is output based on the standard characteristics and that allows the target color to be obtained when read based on the standard characteristics.

カラーパッチ画像生成部308は、仮想色値算出部307により算出された仮想入力色値および当該仮想入力色値の予め定められた範囲の周辺色を含むカラーパッチ画像(色見本)データを生成する。また、本実施形態においては、画像出力部312により、カラーパッチ画像生成部308において生成されたカラーパッチ画像データを用紙(記録媒体)に出力する。なお、本実施形態におけるカラーパッチ画像の具体的な説明については後述する。   The color patch image generation unit 308 generates color patch image (color sample) data including the virtual input color value calculated by the virtual color value calculation unit 307 and peripheral colors in a predetermined range of the virtual input color value. . In this embodiment, the image output unit 312 outputs the color patch image data generated by the color patch image generation unit 308 to a sheet (recording medium). A specific description of the color patch image in the present embodiment will be described later.

カラーパッチ抽出部309は、画像読取部300によって読み取られた用紙上のカラーパッチ画像から複数の色を抽出する。   The color patch extraction unit 309 extracts a plurality of colors from the color patch image on the paper read by the image reading unit 300.

補正パラメータ生成部310は、画質モード選択部305により選択された画質モードに基づいて画質調整部306により調整された対象色が、ターゲット色に最も近い出力色となるようにカラーパッチ抽出部309により抽出された複数の色から電子画像データを補正するための補正パラメータ(補正データ)を生成する。   The correction parameter generation unit 310 uses the color patch extraction unit 309 so that the target color adjusted by the image quality adjustment unit 306 based on the image quality mode selected by the image quality mode selection unit 305 is the output color closest to the target color. A correction parameter (correction data) for correcting electronic image data from a plurality of extracted colors is generated.

色補正部311は、補正パラメータ生成部310により生成された補正パラメータに基づいて、電子画像データに対する補正を行う。   The color correction unit 311 corrects the electronic image data based on the correction parameter generated by the correction parameter generation unit 310.

画像出力部312は、色補正部311により補正された電子画像データを用紙に出力する。また、画像出力部312は、カラーパッチ画像生成部308により生成されたカラーパッチ画像データを用紙に出力する。   The image output unit 312 outputs the electronic image data corrected by the color correction unit 311 to a sheet. The image output unit 312 outputs the color patch image data generated by the color patch image generation unit 308 to a sheet.

[色合わせ補正方法]
まず、本実施形態における色合わせ補正方法について、図面を参照して詳細に説明する。
[Color matching correction method]
First, the color matching correction method in the present embodiment will be described in detail with reference to the drawings.

[対象色の指定]
まず、画像形成装置3は、端末装置1からネットワーク4を介して図4に示されるような電子画像データ100を取得する。また、ターゲットプリンタ2において、後述するターゲット画像を予め用紙に出力しておく。
[Specify target color]
First, the image forming apparatus 3 acquires electronic image data 100 as shown in FIG. 4 from the terminal device 1 via the network 4. Further, the target printer 2 outputs a target image described later on a sheet in advance.

そして、色合わせ指定部302は、取得された電子画像データ100を解析して、電子画像データ100に含まれるオブジェクト(描画情報)を抽出する。本実施形態においては、図4に示されるように、電子画像データ100には、2つのオブジェクト50、51が含まれている。   Then, the color matching designation unit 302 analyzes the acquired electronic image data 100 and extracts an object (drawing information) included in the electronic image data 100. In the present embodiment, as shown in FIG. 4, the electronic image data 100 includes two objects 50 and 51.

次に、色合わせ指定部31は、抽出したオブジェクト50、51を図示しない表示部を介して、図5に示されるような色合わせ対象指定画面を表示する。本実施形態においては、各オブジェクトがRGB(レッド、グリーン、ブルー)値で表現された色で構成されている。例えば、オブジェクト50およびオブジェクト51は(255,0,0)の値をそれぞれ有する。本実施形態においては、色合わせ指定部31は、抽出した電子画像データ100のオブジェクト50およびオブジェクト51に基づいて、対象色となる色を指定する。   Next, the color matching designation unit 31 displays a color matching target designation screen as shown in FIG. 5 via a display unit (not shown) for the extracted objects 50 and 51. In the present embodiment, each object is composed of colors expressed by RGB (red, green, blue) values. For example, object 50 and object 51 each have a value of (255, 0, 0). In the present embodiment, the color matching designation unit 31 designates a color to be a target color based on the object 50 and the object 51 of the extracted electronic image data 100.

本実施形態においては、色合わせ指定部302は、色合わせ対象指定画面に表示されたオブジェクト50およびオブジェクト51は、それぞれコーポレートカラー等のように、特性が異なる出力装置で出力された場合であっても用紙に出力された際の品質を一定に保ちたい色により構成されている。そして、図示しない操作部におけるユーザの操作により、色合わせ指定部302は、表示部を介して表示されたオブジェクト50およびオブジェクト51のいずれかのオブジェクトを指定する。例えば、オブジェクト50の色を色合わせの対象色として指定する場合には、図5に示されるように、色合わせ対象画面においてオブジェクト50を選択して、OKボタンを押下することにより、色合わせ指定部302は、オブジェクト50の色を対象色として指定する。   In this embodiment, the color matching designation unit 302 is a case where the object 50 and the object 51 displayed on the color matching target designation screen are output by output devices having different characteristics such as corporate colors. Also, it is made up of colors that want to maintain a constant quality when output on paper. The color matching designation unit 302 designates either the object 50 or the object 51 displayed via the display unit by a user operation on an operation unit (not shown). For example, when the color of the object 50 is designated as the color matching target color, the color matching designation is performed by selecting the object 50 on the color matching target screen and pressing the OK button as shown in FIG. The unit 302 specifies the color of the object 50 as the target color.

なお、本実施形態においては、電子画像データ100を解析して、ユーザの操作によりオブジェクト50の色を色合わせの対象色として指定するものとして説明したが、抽出された電子画像データ100のオブジェクトにおいて予め定められたオブジェクトが存在する場合には、当該オブジェクトの色を対象色として指定するようにしてもよい。   In the present embodiment, the electronic image data 100 is analyzed and the color of the object 50 is designated as the color matching target color by the user's operation. However, in the extracted object of the electronic image data 100, If a predetermined object exists, the color of the object may be designated as the target color.

[ターゲット色の指定]
次に、画像読取部300は、図6に示されるようなターゲットプリンタ2により予め用紙に出力されたターゲット画像を読み取る。
[Specify target color]
Next, the image reading unit 300 reads a target image that has been output in advance by the target printer 2 as shown in FIG.

そして、仮想読取色値算出部303は、図7に示されるように、標準的な特性を有する仮想出力装置により対象色が出力された場合の色値である仮想出力色値を算出する。例えば、対象色の入力色値(sRGB値)を、標準的な特性を有する仮想出力装置により出力されたものと仮定して、標準的な特性に基づいてCMYK(シアン、マゼンタ、イエロー、ブラック)値を算出する。なお、標準的な特性とは、生産された機器ごとにそれぞれ有する特性を平均したものである。例えば、本実施形態における標準的な特性を有する仮想出力装置とは、生産された出力装置ごとにそれぞれ有する出力特性の平均的な特性を有する仮想出力装置である。   Then, as shown in FIG. 7, the virtual read color value calculation unit 303 calculates a virtual output color value that is a color value when the target color is output by a virtual output device having standard characteristics. For example, assuming that the input color value (sRGB value) of the target color is output by a virtual output device having standard characteristics, CMYK (cyan, magenta, yellow, black) based on the standard characteristics Calculate the value. Note that the standard characteristic is an average of the characteristics of each produced device. For example, the virtual output device having standard characteristics in the present embodiment is a virtual output device having an average characteristic of output characteristics of each produced output device.

次に、図7に示されるように、仮想色値算出部304は、仮想出力装置により出力された対象色の仮想出力色値を、標準的な特性を有する仮想読取装置により読み取った場合の色値である仮想読取色値を算出する。例えば、対象色の仮想出力色値(CMYK値)を、標準的な特性を有する仮想読取装置により読み取られたものとして仮定して、L*a*b値に変換した後に、標準的な特性に基づいて仮想読取色値(dRGB値)を算出する。   Next, as illustrated in FIG. 7, the virtual color value calculation unit 304 has a color when the virtual output color value of the target color output by the virtual output device is read by a virtual reading device having standard characteristics. A virtual read color value that is a value is calculated. For example, assuming that the virtual output color value (CMYK value) of the target color has been read by a virtual reading device having standard characteristics, and converted into L * a * b values, the standard characteristics are obtained. Based on this, a virtual read color value (dRGB value) is calculated.

つまり、本実施形態における仮想読取色値算出部303は、対象色が標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合に得られるような仮想読取色値を算出する。   That is, the virtual read color value calculation unit 303 in the present embodiment calculates a virtual read color value that is obtained when the target color is output based on the standard characteristics and read based on the standard characteristics. To do.

そして、仮想入力色値算出部307は、対象色の仮想読取色値に基づいて、読み取られたターゲット画像からターゲット色を設定する。本実施形態においては、ターゲット画像に含まれる色のうち、対象色の仮想読取色値に最も近い色をターゲット色として設定する。   Then, the virtual input color value calculation unit 307 sets a target color from the read target image based on the virtual read color value of the target color. In the present embodiment, among the colors included in the target image, the color closest to the virtual read color value of the target color is set as the target color.

例えば、指定された対象色のRGB値が(255,0,0)であり、仮想出力装置および仮想読取装置の標準的な特性に基づいて算出された仮想読取色値のRGB値が(180,45,60)である場合には、仮想入力色値算出部307は、画像読取部300により読み取られたターゲット画像に含まれる色のうち、仮想読取色値のRGB値(180,45,60)に最も近い色をターゲット色として設定する。本実施形態においては、画像読取部300により読み取られた図6に示されるようなターゲット画像において、オブジェクト60の色が仮想読取色値のRGB値(180,45,60)に最も近いため、対象色の色合わせの基準となるターゲット色として設定する。なお、本実施形態においては、オブジェクト60の色のRGB値が(180,50,50)であるものとして説明する。   For example, the RGB value of the specified target color is (255, 0, 0), and the RGB value of the virtual read color value calculated based on the standard characteristics of the virtual output device and the virtual read device is (180, 45, 60), the virtual input color value calculation unit 307 includes the RGB values (180, 45, 60) of the virtual read color value among the colors included in the target image read by the image reading unit 300. The color closest to is set as the target color. In the present embodiment, since the color of the object 60 is closest to the RGB value (180, 45, 60) of the virtual read color value in the target image as shown in FIG. Set as the target color that is the reference for color matching. In the present embodiment, the description will be made assuming that the RGB value of the color of the object 60 is (180, 50, 50).

なお、本実施形態においては、ターゲット画像に含まれる色のうち、仮想読取色値に最も近い色をターゲット色として設定するものとして説明するが、ターゲット色を設定する場合に、読み取られたターゲット画像を図示しない表示部を介して表示し、このターゲット画像に含まれる色のうち、指定されたオブジェクトの色をターゲット色として設定するようにしてもよい。例えば、ユーザの操作により、ターゲット画像のオブジェクト60が指定された場合、色合わせ指定部302は、この指定されたオブジェクト60の色をターゲット色として設定するようにしてもよい。   In the present embodiment, the description will be made assuming that the color closest to the virtual read color value among the colors included in the target image is set as the target color. However, when the target color is set, the read target image is set. May be displayed via a display unit (not shown), and the color of the specified object among the colors included in the target image may be set as the target color. For example, when the target image object 60 is designated by the user's operation, the color matching designation unit 302 may set the color of the designated object 60 as the target color.

[仮想入力色値の算出]
次に、本実施形態におけるターゲット色の仮想入力色値の算出方法について、図8を参照して詳細に説明する。
[Calculation of virtual input color value]
Next, a method for calculating the virtual input color value of the target color in the present embodiment will be described in detail with reference to FIG.

まず、仮想入力色値算出部307は、設定したターゲット色の色値(dRGB値)をL*a*b値に変換する。   First, the virtual input color value calculation unit 307 converts the color value (dRGB value) of the set target color into an L * a * b value.

次に、仮想入力色値算出部307は、仮想読取装置においてどのような色(CMYK値)が読み取られた場合に、ターゲット色が変換されたL*a*b値となるのかを算出する。本実施形態においては、仮想読取装置の標準的な特性に基づいて、ターゲット色が変換されたL*a*b値となるような仮想出力色値(CMYK値)を算出する。   Next, the virtual input color value calculation unit 307 calculates what color (CMYK value) is read by the virtual reading device and the target color becomes the converted L * a * b value. In the present embodiment, a virtual output color value (CMYK value) is calculated based on the standard characteristics of the virtual reading device so that the target color becomes the converted L * a * b value.

そして、仮想入力色値算出部307は、仮想出力装置においてどのような入力画像の色値を出力した場合に、ターゲット色から算出された仮想出力色値(CMYK値)となるのかを算出する。本実施形態においては、仮想出力装置の標準的な特性に基づいて、ターゲット色から算出された仮想出力色値(CMYK値)となるような仮想入力色値(sRGB値)を算出する。   Then, the virtual input color value calculation unit 307 calculates what kind of input image color value is output from the virtual output device to obtain the virtual output color value (CMYK value) calculated from the target color. In the present embodiment, a virtual input color value (sRGB value) that is a virtual output color value (CMYK value) calculated from the target color is calculated based on the standard characteristics of the virtual output device.

つまり、本実施形態における仮想入力色値算出部307は、標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合にターゲット色が得られるような仮想入力色値を算出する。   In other words, the virtual input color value calculation unit 307 in the present embodiment calculates a virtual input color value that is output based on the standard characteristics and that allows the target color to be obtained when read based on the standard characteristics. To do.

例えば、図8に示されるように、仮想入力色値算出部307は、まず、設定したターゲット色のRGB値(180,50,50)をL*a*b値に変換する。次に、仮想入力色値算出部307は、仮想読取装置によって読み取られた場合に、ターゲット色が変換されたL*a*b値が得られる仮想出力色値(CMYK値)を算出する。そして、仮想入力色値算出部307は、仮想出力装置によって仮想出力色値(CMYK値)を出力するための仮想入力色値のRGB値(241,8,12)を算出する。   For example, as shown in FIG. 8, the virtual input color value calculation unit 307 first converts the RGB values (180, 50, 50) of the set target color into L * a * b values. Next, the virtual input color value calculation unit 307 calculates a virtual output color value (CMYK value) from which an L * a * b value obtained by converting the target color is obtained when read by the virtual reading device. Then, the virtual input color value calculation unit 307 calculates the RGB values (241, 8, 12) of the virtual input color value for outputting the virtual output color value (CMYK value) by the virtual output device.

[カラーパッチ画像データの生成]
次に、本実施形態におけるカラーパッチ画像の具体例ついて、図9を参照して詳細に説明する。
[Generate color patch image data]
Next, a specific example of the color patch image in the present embodiment will be described in detail with reference to FIG.

本実施形態におけるカラーパッチ画像生成部308は、仮想入力色値算出部307により算出されたターゲット色の仮想入力色値を中心として、ターゲット色の仮想入力色値の予め定められた範囲内における周辺色を含むカラーパッチ画像(色見本)データを生成する。具体的には、図9に示されるように、仮想入力色値算出部307により算出されたターゲット色の仮想入力色値(241,8,12)を中心の基準色として、仮想入力色値の周辺の色値を含むカラーパッチ画像データを生成する。本実施形態においては、図9に示されるように、仮想入力色値の周辺の色値として、上下方向において基準色から明度を変更した色が配置され、左右方向において基準色から彩度および色相を変更した色が配置されたカラーパッチ画像データを生成する。   The color patch image generation unit 308 according to the present embodiment has a virtual input color value of the target color calculated by the virtual input color value calculation unit 307 as a center and a peripheral area within a predetermined range of the virtual input color value of the target color. Color patch image (color sample) data including colors is generated. Specifically, as illustrated in FIG. 9, the virtual input color value of the target color calculated by the virtual input color value calculation unit 307 is set as the center reference color, and the virtual input color value is calculated. Color patch image data including peripheral color values is generated. In the present embodiment, as shown in FIG. 9, as the color values around the virtual input color value, a color whose brightness is changed from the reference color in the vertical direction is arranged, and the saturation and hue from the reference color in the horizontal direction. The color patch image data in which the changed color is arranged is generated.

例えば、図9のカラーパッチ画像データの左右方向においては、左から順に20%、30%、40%、50%、60%、70%、80%というように、左右方向において仮想入力色値から彩度が変更された色が配置される。   For example, in the left-right direction of the color patch image data of FIG. 9, from the virtual input color value in the left-right direction, such as 20%, 30%, 40%, 50%, 60%, 70%, 80% in order from the left. A color whose saturation is changed is arranged.

また、図9のカラーパッチ画像データの中心から右方向においては、仮想入力色値のRGB値のうち、例えば、Bの値を増加させることにより色相が変更された色が配置され、中心から左方向においては、仮想入力色値のRGB値のうち、Gの値を増加することにより色相が変更された色が配置されるというように、左右方向において仮想入力色値から色相が変更された色が配置される。   Further, in the right direction from the center of the color patch image data of FIG. 9, among the RGB values of the virtual input color value, for example, a color whose hue has been changed by increasing the value of B is arranged, and left from the center. In the direction, the color whose hue is changed from the virtual input color value in the left-right direction is arranged such that the color whose hue is changed by increasing the value of G among the RGB values of the virtual input color value is arranged. Is placed.

また、図9のカラーパッチ画像データの上下方向においては、上から順に100%、80%、60%、40%、20%というように、上下方向において仮想入力色値から明度が変更された色が配置される。   Further, in the vertical direction of the color patch image data of FIG. 9, the color whose brightness is changed from the virtual input color value in the vertical direction, such as 100%, 80%, 60%, 40%, and 20% in order from the top. Is placed.

なお、本実施形態においては、図9に示されるように、カラーパッチ画像データにおける基準色(仮想入力色値)のRGB値が(241,8,12)、明度が60%、彩度が50%であるものとして説明する。   In the present embodiment, as shown in FIG. 9, the RGB values of the reference colors (virtual input color values) in the color patch image data are (241, 8, 12), the lightness is 60%, and the saturation is 50. % Is described.

そして、記憶部301は、生成されたカラーパッチ画像データを記憶しておく。   The storage unit 301 stores the generated color patch image data.

[補正パラメータの生成]
次に、本実施形態における補正パラメータの具体的な生成方法について、図10および図11を参照して詳細に説明する。
[Generate correction parameters]
Next, a specific method for generating correction parameters in the present embodiment will be described in detail with reference to FIGS.

まず、画像出力部312は、カラーパッチ画像生成部308により生成されたカラーパッチ画像データに基づいて、図10に示されるようなカラーパッチ画像を用紙に出力する。   First, the image output unit 312 outputs a color patch image as shown in FIG. 10 on a sheet based on the color patch image data generated by the color patch image generation unit 308.

次に、画像読取部300は、画像出力部312により用紙に出力されたカラーパッチ画像を読み取る。   Next, the image reading unit 300 reads the color patch image output on the paper by the image output unit 312.

そして、カラーパッチ抽出部309は、画像読取部300により読み取られたカラーパッチ画像から複数の色を抽出する。   The color patch extraction unit 309 extracts a plurality of colors from the color patch image read by the image reading unit 300.

次に、補正パラメータ生成部310は、カラーパッチ抽出部309により抽出された色のうち、ターゲット色に最も近い色を特定する。本実施形態においては、補正パラメータ生成部310は、カラーパッチ抽出部309により抽出された色のうち、ターゲット色のRGB値(180,50,50)に最も近い色を特定する。なお、本実施形態においては、補正パラメータ生成部310は、カラーパッチ抽出部310により抽出された複数の色のうち、ターゲット色のRGB値との距離が最も小さい色をターゲット色に最も近い色として特定するものとして説明するが、このような方法に限定されるものではない。   Next, the correction parameter generation unit 310 identifies the color closest to the target color among the colors extracted by the color patch extraction unit 309. In the present embodiment, the correction parameter generation unit 310 identifies the color closest to the RGB value (180, 50, 50) of the target color among the colors extracted by the color patch extraction unit 309. In the present embodiment, the correction parameter generation unit 310 sets the color having the smallest distance from the RGB value of the target color among the plurality of colors extracted by the color patch extraction unit 310 as the color closest to the target color. Although it demonstrates as what identifies, it is not limited to such a method.

なお、カラーパッチ画像における基準色は、標準的な特性を有する仮想出力装置および仮想読取装置に基づいて、ターゲット色から算出されたものであるため、画像出力部312および画像読取部300の特性が標準的なものであれば、カラーパッチ抽出部309により抽出された基準色のRGB値とターゲット色のRGB値とが一致する。そのため、カラーパッチ抽出部309により抽出された基準色がターゲット色に最も近い色として特定される。しかし、画像出力部312および画像読取部300の特性が標準的なものではない場合には、基準色がターゲット色と一致しない可能性があるため、カラーパッチ抽出部309により抽出された複数の色のうち、ターゲット色に最も近い色を検索する。   Since the reference color in the color patch image is calculated from the target color based on the virtual output device and the virtual reading device having standard characteristics, the characteristics of the image output unit 312 and the image reading unit 300 are the same. In the case of a standard one, the RGB value of the reference color extracted by the color patch extraction unit 309 matches the RGB value of the target color. Therefore, the reference color extracted by the color patch extraction unit 309 is specified as the color closest to the target color. However, if the characteristics of the image output unit 312 and the image reading unit 300 are not standard, the reference color may not match the target color, and thus a plurality of colors extracted by the color patch extraction unit 309 may be used. Among them, the color closest to the target color is searched.

本実施形態においては、画像出力部312および画像読取部300の機器の特性により、基準色のRGB値がターゲット色のRGB値と一致しない場合について説明する。   In the present embodiment, a case where the RGB value of the reference color does not match the RGB value of the target color due to the characteristics of the devices of the image output unit 312 and the image reading unit 300 will be described.

例えば、補正パラメータ生成部310は、図10に示されるようにカラーパッチ抽出部309により抽出された複数の色のうち、周辺色AのRGB値が(182,55,42)であり、ターゲット色に最も近い色であるため、基準色ではなく周辺色Aをターゲット色のRGB値(180,50,50)に最も近い色として特定する。   For example, the correction parameter generation unit 310 has the RGB value of the peripheral color A (182, 55, 42) among the plurality of colors extracted by the color patch extraction unit 309 as shown in FIG. Therefore, the peripheral color A, not the reference color, is specified as the color closest to the RGB value (180, 50, 50) of the target color.

そして、補正パラメータ生成部310は、図11に示されるような色合わせ補正確認画面を図示しない表示部を介して表示して、OKボタンが押下された場合に補正パラメータを生成する。   Then, the correction parameter generation unit 310 displays a color matching correction confirmation screen as shown in FIG. 11 via a display unit (not shown), and generates a correction parameter when the OK button is pressed.

本実施形態においては、補正パラメータ生成部310は、指定された対象色が、カラーパッチ抽出部309により抽出された色のうちターゲット色に最も近い色を出力する際に使用された色に近づくように電子画像データ100を補正するための補正パラメータを生成する。   In the present embodiment, the correction parameter generation unit 310 causes the designated target color to approach the color used when outputting the color closest to the target color among the colors extracted by the color patch extraction unit 309. Then, a correction parameter for correcting the electronic image data 100 is generated.

例えば、補正パラメータ生成部310は、記憶部301に記憶されているカラーパッチ画像生成部35により生成されたカラーパッチ画像データを参照して、カラーパッチ画像を出力する際に使用されたカラーパッチ画像データにおいて周辺色Aと対応する色を特定する。本実施形態においては、図9に示されるように、カラーパッチ画像データにおいて周辺色Aと対応する色のRGB値(245,13,12)を特定する。   For example, the correction parameter generation unit 310 refers to the color patch image data generated by the color patch image generation unit 35 stored in the storage unit 301 and uses the color patch image used when outputting the color patch image. A color corresponding to the peripheral color A is specified in the data. In the present embodiment, as shown in FIG. 9, the RGB values (245, 13, 12) of the color corresponding to the peripheral color A are specified in the color patch image data.

そして、補正パラメータ生成部310は、対象色のRGB値(255,0,0)がカラーパッチ抽出部309により抽出された複数の色のうちターゲット色に最も近い色を出力する際に使用された色に近づくよう電子画像データ100を補正するとともに、当該対象色の周辺色を補正するような補正パラメータを生成する。   The correction parameter generation unit 310 is used when outputting the color closest to the target color among the plurality of colors in which the RGB value (255, 0, 0) of the target color is extracted by the color patch extraction unit 309. The electronic image data 100 is corrected so as to approach the color, and a correction parameter that corrects the peripheral color of the target color is generated.

具体的には、補正前において、対象色および対象色の周辺色が図12(A)に示されるような色空間に配置されている場合には、図12(B)に示されるように、対象色のRGB値(255,0,0)が、ターゲット色に最も近い周辺色Aに対応するカラーパッチ画像データの色のRGB値(245,13,12)に近づくとともに、対象色の補正にともなって対象色の周辺色が補正されるような補正パラメータを生成する。また、補正パラメータ生成部310は、生成した補正パラメータを記憶部301に記憶する。   Specifically, when the target color and the peripheral colors of the target color are arranged in a color space as shown in FIG. 12A before correction, as shown in FIG. As the RGB value (255, 0, 0) of the target color approaches the RGB value (245, 13, 12) of the color patch image data corresponding to the peripheral color A closest to the target color, the target color is corrected. At the same time, a correction parameter for correcting the peripheral color of the target color is generated. Further, the correction parameter generation unit 310 stores the generated correction parameter in the storage unit 301.

本実施形態においては、カラーパッチ画像が画像出力部312の特性に基づいて用紙に出力されているため、カラーパッチ画像の入力色値であるカラーパッチ画像データの色に近づくように補正した電子画像データ100を、カラーパッチ画像と同様に画像出力部312によって用紙に出力した場合、カラーパッチ画像の色に近い色の画像が出力される。   In this embodiment, since the color patch image is output to the paper based on the characteristics of the image output unit 312, the electronic image is corrected so as to approach the color of the color patch image data that is the input color value of the color patch image. When the data 100 is output onto a sheet by the image output unit 312 in the same manner as the color patch image, an image having a color close to the color patch image is output.

なお、カラーパッチ抽出部309により抽出された基準色のRGB値とターゲット色のRGB値が一致する場合には、補正パラメータ生成部310は、対象色が基準色に対応するカラーパッチ画像データの色(ターゲット色の仮想入力色値)に近づくような補正パラメータを生成する。   When the RGB value of the reference color extracted by the color patch extraction unit 309 matches the RGB value of the target color, the correction parameter generation unit 310 determines the color of the color patch image data corresponding to the reference color as the target color. A correction parameter that approaches (virtual input color value of the target color) is generated.

そして、色補正部311は、補正パラメータ生成部310により生成された補正パラメータに基づいて電子画像データ100の色合わせ補正を行う。   Then, the color correction unit 311 performs color matching correction of the electronic image data 100 based on the correction parameter generated by the correction parameter generation unit 310.

[画質モード選択]
上述した電子画像データ100においては、対象色として指定されたオブジェクト50の色と、オブジェクト51とが同一の色であるため、電子画像データ100に対して色合わせ補正を行った場合、オブジェクト50及びオブジェクト51がともにターゲット色に近づくよう電子画像データ100が補正される。
[Image quality mode selection]
In the electronic image data 100 described above, since the color of the object 50 designated as the target color and the object 51 are the same color, when the color matching correction is performed on the electronic image data 100, the object 50 and The electronic image data 100 is corrected so that both the objects 51 approach the target color.

そして、画像形成装置3において予め記憶されている画質を調整するための複数の画質モードのうちのいずれかに基づいて、電子画像データ100の色を調整した場合であっても、オブジェクト50およびオブジェクト51が同一の色であるため、色合わせ補正後において、オブジェクト50及びオブジェクト51のカラーバランスが、電子画像データ100の作成時と同一となる。   Even when the color of the electronic image data 100 is adjusted based on one of a plurality of image quality modes for adjusting the image quality stored in advance in the image forming apparatus 3, the object 50 and the object Since 51 is the same color, the color balance of the object 50 and the object 51 is the same as when the electronic image data 100 is created after the color matching correction.

ここで、図13に示されるような、異なる色を有する複数のオブジェクト50〜53が含まれる電子画像データ101に対して、画質モードに基づいて電子画像データ101の色を調整した後に、上述した色合わせ補正を行った場合について説明する。この際、画質モードに基づく調整後の対象色とターゲット色との色差が大きい場合、図14に示されるように、対象色として指定された色については(図14においてはオブジェクト50)、ターゲット色に近い色に補正されるが、それ以外の色は画質モードに基づいて調整された後の色となる。そのため、対象色と、対象色以外の色とのカラーバランスが電子画像データ101の作成時とは異なってしまい、ユーザの意図から外れた出力結果となってしまう可能性がある。   Here, after adjusting the color of the electronic image data 101 based on the image quality mode for the electronic image data 101 including the plurality of objects 50 to 53 having different colors as shown in FIG. A case where color matching correction is performed will be described. At this time, when the color difference between the target color after adjustment based on the image quality mode and the target color is large, as shown in FIG. 14, for the color designated as the target color (object 50 in FIG. 14), the target color The other colors are corrected after being adjusted based on the image quality mode. For this reason, the color balance between the target color and the color other than the target color is different from that at the time of creating the electronic image data 101, and there is a possibility that the output result is out of the user's intention.

例えば、図14に示されるように、オブジェクト50およびオブジェクト51のRGB値が(255,0,0)、オブジェクト52のRGB値が(0,255,0)、オブジェクト53のRGB値が(0,0,255)である電子画像データ101に対して、「標準モード」に基づいて画質の調整を行ったものとする。このとき、図14に示されるように、「標準モード」に基づいて調整された電子画像データ101においては、オブジェクト50およびオブジェクト51のRGB値が(190,40,40)、オブジェクト52のRGB値が(40,190,40)、オブジェクト53のRGB値が(40,40,190)に調整される。そして、画質の調整後の電子画像データ101において、オブジェクト50を対象色として指定された場合の色合わせ補正を行うと、図14に示されるように、オブジェクト50およびオブジェクト51については、ターゲット色に近い色であるRGB値(245,13,12)に補正され、オブジェクト52およびオブジェクト53については画質の調整後の色が維持される。   For example, as shown in FIG. 14, the RGB values of the object 50 and the object 51 are (255, 0, 0), the RGB value of the object 52 is (0, 255, 0), and the RGB value of the object 53 is (0, Assume that image quality adjustment is performed on the electronic image data 101 that is 0, 255) based on the “standard mode”. At this time, as shown in FIG. 14, in the electronic image data 101 adjusted based on the “standard mode”, the RGB values of the object 50 and the object 51 are (190, 40, 40), and the RGB value of the object 52 is Is (40, 190, 40), and the RGB value of the object 53 is adjusted to (40, 40, 190). Then, in the electronic image data 101 after the image quality adjustment, when color matching correction is performed when the object 50 is designated as the target color, as shown in FIG. The RGB values (245, 13, 12), which are close colors, are corrected, and the colors after adjusting the image quality are maintained for the objects 52 and 53.

上述したように、画質の調整後の電子画像データ101の対象色とターゲット色との色値差が大きい場合には、電子画像データ101の作成時における各オブジェクト50〜53のカラーバランスと、色合わせ補正後の電子データ101における各オブジェクト50〜53のカラーバランスが大きく異なってしまう。   As described above, when the color value difference between the target color and the target color of the electronic image data 101 after adjusting the image quality is large, the color balance and color of each object 50 to 53 at the time of creating the electronic image data 101 The color balance of the objects 50 to 53 in the electronic data 101 after the alignment correction is greatly different.

一方、図15に示されるように、画質モードに基づく調整後の対象色とターゲット色との色差が小さい場合には、色合わせ補正の補正量が小さいため、調整後の対象色とターゲット色との色値差が大きい場合と比較して、対象色と、対象色以外の色とのカラーバランスが大きく変化せず、電子画像データ101の作成時におけるユーザの意図に近い出力結果を得ることができる。   On the other hand, as shown in FIG. 15, when the color difference between the target color after adjustment based on the image quality mode and the target color is small, the correction amount for color matching correction is small, so the target color and target color after adjustment are small. The color balance between the target color and the color other than the target color does not change significantly compared with the case where the color value difference between the two is large, and an output result close to the user's intention when creating the electronic image data 101 can be obtained. it can.

図15においては、「プレゼンモード」に基づいて電子画像データ101の画質が調整され、オブジェクト50の色を対象色として指定された際に色合わせ補正を行った場合の一例を示す。図15に示される通り、色合わせ補正後の電子画像データ101において、オブジェクト50およびオブジェクト51のRGB値が(245,13,12)、オブジェクト52のRGB値が(20,240,20)、オブジェクト53のRGB値が(20,20,240)となっており、「標準モード」に基づいて調整された電子画像データ101に対して色合わせ補正を行った場合と比較して、「プレゼンモード」に基づいて調整された電子画像データ101に対して色合わせ補正を行った方が、対象色と、対象色以外の色とのカラーバランスの変化が小さくなっている。   FIG. 15 shows an example in which color matching correction is performed when the image quality of the electronic image data 101 is adjusted based on the “presentation mode” and the color of the object 50 is designated as the target color. As shown in FIG. 15, in the electronic image data 101 after color matching correction, the RGB values of the object 50 and the object 51 are (245, 13, 12), the RGB values of the object 52 are (20, 240, 20), and the object The RGB value of 53 is (20, 20, 240), which is “presentation mode” compared to the case where color matching correction is performed on the electronic image data 101 adjusted based on “standard mode”. The color balance change between the target color and the color other than the target color becomes smaller when the color matching correction is performed on the electronic image data 101 adjusted based on the above.

そこで、以下の説明においては、画像形成装置3が有する画質モードのうち、対象色のRGB値とターゲット色のRGB値との色値差が最も少なくなる画質モードを選択する処理について説明する。   Therefore, in the following description, a process of selecting an image quality mode that minimizes the color value difference between the RGB value of the target color and the RGB value of the target color from among the image quality modes of the image forming apparatus 3 will be described.

まず、画像形成装置3が有する画質モードについて説明する。図16は、画像形成装置3が有する画質モードの一例を示す図である。   First, the image quality mode of the image forming apparatus 3 will be described. FIG. 16 is a diagram illustrating an example of an image quality mode included in the image forming apparatus 3.

図16に示されるように、本実施形態においては、画質モードとして「プレゼンモード」、「標準モード」および「デザインモード」の3つの画質モードが記憶部301において記憶されている。なお、画質モードとは、それぞれに予め定められた調整量に基づいて、電子画像データ101の画質を調整するものである。   As shown in FIG. 16, in the present embodiment, three image quality modes of “presentation mode”, “standard mode”, and “design mode” are stored in the storage unit 301 as image quality modes. The image quality mode is for adjusting the image quality of the electronic image data 101 based on an adjustment amount determined in advance.

例えば、「プレゼンモード」は、画像形成装置3における最大出力に基づいて画像が出力されるよう画質を調整する画質モードである。また、「デザインモード」は、図示しない表示装置に表示された電子画像データ101と視覚的に近い色により出力されるよう画質を調整する画質モードである。また、「標準モード」は、「プレゼンモード」と「デザインモード」の中間の調整量により画質を調整する画質モードである。   For example, the “presentation mode” is an image quality mode in which the image quality is adjusted so that an image is output based on the maximum output in the image forming apparatus 3. The “design mode” is an image quality mode in which the image quality is adjusted so as to be output in a color visually close to the electronic image data 101 displayed on a display device (not shown). The “standard mode” is an image quality mode in which the image quality is adjusted by an intermediate adjustment amount between the “presentation mode” and the “design mode”.

次に、本実施形態における画質モードの選択方法について図面を参照して詳細に説明する。   Next, a method for selecting an image quality mode in the present embodiment will be described in detail with reference to the drawings.

まず、上述した方法と同様にして、色合わせ指定部302は、電子画像データ101から対象色を指定する。本実施形態においては、オブジェクト50が指定されたものとして説明する。   First, in the same manner as described above, the color matching designation unit 302 designates a target color from the electronic image data 101. In the present embodiment, description will be made assuming that the object 50 is designated.

次に、仮想読取色値算出部303は、記憶部301に記憶されている各画質モードに基づいて調整された対象色が標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合に得られるような仮想読取色値を算出する。具体的には、「プレゼンモード」、「標準モード」および「デザインモード」の各画質モードに基づいて調整された場合の対象色それぞれの仮想読取色値を、上述した仮想読取色値の算出方法により算出する。また、仮想入力色値算出部307は、画像読取部300により読み取られたターゲット画像に含まれる色のうち、調整前の対象色の仮想読取色値に最も近い色をターゲット色として設定する。   Next, the virtual read color value calculation unit 303 outputs the target color adjusted based on each image quality mode stored in the storage unit 301 based on the standard characteristics, and reads based on the standard characteristics. If so, a virtual read color value as obtained is calculated. Specifically, the virtual read color value calculation method described above is used for the virtual read color value of each target color when adjusted based on each image quality mode of “presentation mode”, “standard mode”, and “design mode”. Calculated by Further, the virtual input color value calculation unit 307 sets a color closest to the virtual read color value of the target color before adjustment among the colors included in the target image read by the image reading unit 300 as the target color.

次に、色値差算出部304は、仮想読取色値算出手段により算出された仮想読取色値と、設定されたターゲット色の色値との色値差を算出する。具体的には、図17に示されるように、仮想読取色値のRGB値とターゲット色のRGB値とのRGB空間上における距離を算出する。例えば、図17に示されるように、「プレゼンモード」に基づいて調整された場合の対象色の仮想読取色値のRGB値(180,53,54)と、ターゲット色の(180,50,50)とのRGB各色の差を(dR,dG,dB)とした場合、色値差算出部304は、

Figure 2017041819
により算出される距離を色値差として算出する。 Next, the color value difference calculation unit 304 calculates a color value difference between the virtual read color value calculated by the virtual read color value calculation unit and the color value of the set target color. Specifically, as shown in FIG. 17, the distance in the RGB space between the RGB value of the virtual read color value and the RGB value of the target color is calculated. For example, as shown in FIG. 17, the RGB values (180, 53, 54) of the virtual read color value of the target color and the target colors (180, 50, 50) when adjusted based on the “presentation mode”. ) And RGB color differences are (dR, dG, dB), the color value difference calculation unit 304
Figure 2017041819
Is calculated as a color value difference.

そして、画質モード選択部305は、色値差算出部304により算出された色値差が最も小さい画質モードを選択する。具体的には、図17に示されるように、「プレゼンモード」の場合の対象色の仮想読取色値とターゲット色の色値との距離が5、「標準モード」の場合の対象色の仮想読取色値とターゲット色の色値との距離が13、「デザインモード」の場合の対象色の仮想読取色値とターゲット色の色値との距離が26である場合、画質モード選択部305は、色値差が最も小さい画質モードとして「プレゼンモード」を選択する。   Then, the image quality mode selection unit 305 selects an image quality mode with the smallest color value difference calculated by the color value difference calculation unit 304. Specifically, as shown in FIG. 17, the distance between the virtual read color value of the target color in the “presentation mode” and the color value of the target color is 5, and the virtual of the target color in the “standard mode”. When the distance between the read color value and the color value of the target color is 13, and the distance between the virtual read color value of the target color and the color value of the target color in the “design mode” is 26, the image quality mode selection unit 305 “Presentation mode” is selected as the image quality mode with the smallest color value difference.

そして、画質調整部306は、画質モード選択部305により選択された画質モードに基づいて、電子画像データ101に対する画質の調整を行う。   Then, the image quality adjustment unit 306 adjusts the image quality for the electronic image data 101 based on the image quality mode selected by the image quality mode selection unit 305.

そして、画質調整部306により調整された対象色について上述した色合わせ補正を行う。具体的には、上述した通り、仮想入力色値307により、標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合に、ターゲット色が得られるような仮想入力色値を算出し、画像出力部312は、この仮想入力色値および当該仮想入力色値の予め定められた範囲の周辺色値を含むカラーパッチ画像を用紙上に出力し、カラーパッチ抽出部309は、画像読取部300によって読み取られたカラーパッチ画像から複数の色を抽出する。   Then, the above-described color matching correction is performed on the target color adjusted by the image quality adjustment unit 306. Specifically, as described above, the virtual input color value 307 is a virtual input color value that is output based on the standard characteristics and is obtained based on the standard characteristics, and the target color is obtained. The image output unit 312 outputs a color patch image including the virtual input color value and a peripheral color value in a predetermined range of the virtual input color value on a sheet, and the color patch extraction unit 309 A plurality of colors are extracted from the color patch image read by the image reading unit 300.

そして、補正パラメータ生成部310は、画質モード選択部305により選択された画質モードに基づいて画質調整部306により調整された対象色が、ターゲット色に最も近い出力色となるようにカラーパッチ抽出部309により抽出された複数の色から電子画像データ101を補正するための補正パラメータを生成する。   Then, the correction parameter generation unit 310 is a color patch extraction unit so that the target color adjusted by the image quality adjustment unit 306 based on the image quality mode selected by the image quality mode selection unit 305 is the output color closest to the target color. A correction parameter for correcting the electronic image data 101 from the plurality of colors extracted in step 309 is generated.

なお、本実施形態においては、色値差が最も小さい画質モードを選択し、選択された画質モードに基づいて電子画像データに対する画質の調整を行うものものとして説明したが、画質モード選択部305により選択された画質モードを図示しない表示部を介して表示し、ユーザの操作により画質モード選択部305により選択された画質モードを、色合わせ補正を行う際の画質モードとして設定するか否かを決定するようにしてもよい。また、記憶部301は、設定された色合わせ補正を行う際の画質モードと補正パラメータとを対応付けて記憶し、色補正部311は、画質モード選択部305により、画質モードが選択された場合に、当該画質モードと対応する補正パラメータに基づいて電子画像データ101を補正するようにしてもよい。   In the present embodiment, the image quality mode with the smallest color value difference is selected and the image quality adjustment for the electronic image data is performed based on the selected image quality mode. The selected image quality mode is displayed via a display unit (not shown), and it is determined whether or not to set the image quality mode selected by the image quality mode selection unit 305 by the user's operation as the image quality mode for color matching correction. You may make it do. In addition, the storage unit 301 stores the image quality mode and correction parameter for performing the set color matching correction in association with each other, and the color correction unit 311 stores the image quality mode when the image quality mode selection unit 305 selects the image quality mode. In addition, the electronic image data 101 may be corrected based on the correction parameter corresponding to the image quality mode.

例えば、画質モード選択部305は、図示しない表示部を介して、図18(A)に示されるような画面を表示し、選択された画質モードを、色合わせ補正を行う際の画質モードとして設定するか否かについて、ユーザの入力を受け付ける。ここで、「はい」ボタンが押下された場合には、画質調整部306は、画質モード選択部305により選択された画質モードを、今後の色合わせ補正を行う際の画質モードとして設定する。   For example, the image quality mode selection unit 305 displays a screen as shown in FIG. 18A via a display unit (not shown), and sets the selected image quality mode as an image quality mode for performing color matching correction. The user's input is accepted as to whether or not to do so. Here, when the “Yes” button is pressed, the image quality adjustment unit 306 sets the image quality mode selected by the image quality mode selection unit 305 as an image quality mode for future color matching correction.

また、「いいえ」ボタンが押下された場合には、画質モード選択部305は、図示しない表示部を介して図15(B)に示されるように、色合わせ補正を行う際の画質モードを選択する画面を表示する。そして、「常に適用」ボタンが押下された場合には、画質モード選択部305は、「プレゼンモード」、「標準モード」および「デザインモード」のいずれの画質モードにおいても色合わせ補正を行うように設定する。また、「現在の画質モードを適用」ボタンが押下された場合には、現在の画像形成装置3において設定されている画質モードを、今後の色合わせ補正を行う際の画質モードとして設定する。さらに、「画質モードを選択する」ボタンが押下された場合には、図15(C)に示されるような画面を表示し、「プレゼンモード」、「標準モード」および「デザインモード」のうちいずれの画質モードを、今後の色合わせ補正を行う画質モードとして設定するかをユーザの操作により決定する。   If the “No” button is pressed, the image quality mode selection unit 305 selects an image quality mode for performing color matching correction as shown in FIG. 15B via a display unit (not shown). Display the screen to be used. When the “always apply” button is pressed, the image quality mode selection unit 305 performs color matching correction in any of the image quality modes “presentation mode”, “standard mode”, and “design mode”. Set. When the “apply current image quality mode” button is pressed, the image quality mode set in the current image forming apparatus 3 is set as an image quality mode for future color matching correction. Further, when the “select image quality mode” button is pressed, a screen as shown in FIG. 15C is displayed, and any one of “presentation mode”, “standard mode”, and “design mode” is displayed. It is determined by the user's operation whether the image quality mode is set as an image quality mode for future color matching correction.

次に、本実施形態における画像形成装置3の全体的な処理の流れについて、図19のフローチャートを参照して説明する。   Next, the overall processing flow of the image forming apparatus 3 in the present embodiment will be described with reference to the flowchart of FIG.

まず、色合わせ指定部302は、電子画像データ101において色補正を行う対象となる対象色を指定する(ステップS101)。   First, the color matching designation unit 302 designates a target color to be subjected to color correction in the electronic image data 101 (step S101).

次に、画像読取部300は、対象色に対する色補正の目標となるターゲット色を有するターゲット画像を読み取る(ステップS102)。   Next, the image reading unit 300 reads a target image having a target color that is a target of color correction for the target color (step S102).

次に、仮想入力色値算出部307は、調整前の対象色の仮想読取色値に基づいて、読み取られたターゲット画像からターゲット色を設定する(ステップS103)。   Next, the virtual input color value calculation unit 307 sets a target color from the read target image based on the virtual read color value of the target color before adjustment (step S103).

次に、画質モード選択部305は、画質モードの選択の処理を実行する(ステップS104)。   Next, the image quality mode selection unit 305 executes image quality mode selection processing (step S104).

そして、色補正部311は、画質モード選択部305により選択された画質モードに基づいて画質調整部306により調整された対象色が、ターゲット色に近づくよう電子画像データ101を補正するための補正パラメータに基づいて電子画像データ101の色を補正する(ステップS105)。   Then, the color correction unit 311 corrects the electronic image data 101 so that the target color adjusted by the image quality adjustment unit 306 based on the image quality mode selected by the image quality mode selection unit 305 approaches the target color. The color of the electronic image data 101 is corrected based on (Step S105).

次に、ステップS104における画質モードの選択の処理の流れについて、図20のフローチャートを参照して説明する。   Next, the flow of image quality mode selection processing in step S104 will be described with reference to the flowchart of FIG.

まず、仮想読取色値算出部303は、記憶部301に記憶された画質モードを1つ設定する(ステップS201)。   First, the virtual read color value calculation unit 303 sets one image quality mode stored in the storage unit 301 (step S201).

次に、仮想読取色値算出部303は、設定した画質モードに基づいて調整された対象色が標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合の仮想読取色値を算出する(ステップS202)。   Next, the virtual read color value calculation unit 303 outputs the target color adjusted based on the set image quality mode based on the standard characteristics, and reads the virtual read color based on the standard characteristics A value is calculated (step S202).

次に、色値差算出部304は、画質モードに基づいて調整された対象色の仮想読取色値とターゲット色とのRGB各色の差(dR、dG、dB)を算出する(ステップS203)。   Next, the color value difference calculation unit 304 calculates a difference (dR, dG, dB) between the RGB colors of the target color and the virtual read color value of the target color adjusted based on the image quality mode (step S203).

また、色値差算出部304は、画質モードに基づいて調整された対象色の仮想読取色値とターゲット色とのRGB各色の差に基づいて、調整された対象色の仮想読取色値とターゲット色とのRGB空間上における距離を算出する(ステップS204)。このとき、記憶部301は、算出された距離と画質モードとを対応付けて記憶しておく。   The color value difference calculation unit 304 also adjusts the virtual read color value of the target color and the target adjusted based on the difference between the RGB colors of the target color and the virtual read color value of the target color adjusted based on the image quality mode. The distance between the color and the RGB space is calculated (step S204). At this time, the storage unit 301 stores the calculated distance and the image quality mode in association with each other.

そして、色値差算出部304は、記憶部301を参照して、調整後の対象色の仮想読取色値が算出されていない画質モードが存在するか否かを判定する(ステップS205)。調整後の対象色の仮想読取色値が算出されていない画質モードが存在する場合(ステップS205においてyes)、ステップ201に戻り、処理を繰り返す。   Then, the color value difference calculation unit 304 refers to the storage unit 301 and determines whether there is an image quality mode in which the virtual read color value of the adjusted target color is not present (step S205). If there is an image quality mode in which the virtual read color value of the target color after adjustment is not calculated (yes in step S205), the process returns to step 201 and the process is repeated.

また、調整後の対象色の仮想読取色値が算出されていない画質モードが存在しない場合(ステップS205においてno)、画質モード選択部305は、色値差算出部304により算出された距離が最も小さい画質モードを選択する(ステップS205)。   If there is no image quality mode in which the virtual read color value of the target color after adjustment has not been calculated (No in step S205), the image quality mode selection unit 305 has the distance calculated by the color value difference calculation unit 304 being the longest. A small image quality mode is selected (step S205).

次に、ステップS104における色合わせ補正の処理の流れについて、図21のフローチャートを参照して説明する。   Next, the flow of color matching correction processing in step S104 will be described with reference to the flowchart of FIG.

まず、仮想入力色値算出部34は、設定されたターゲット色の仮想入力色値を算出する(ステップS301)。   First, the virtual input color value calculation unit 34 calculates a virtual input color value of the set target color (step S301).

そして、カラーパッチ画像生成部308は、仮想入力色値および当該仮想入力色値の周辺色値を含むカラーパッチ画像データを生成し、画像出力312は、用紙にカラーパッチ画像を出力する(ステップS302)。   Then, the color patch image generation unit 308 generates color patch image data including the virtual input color value and the peripheral color value of the virtual input color value, and the image output 312 outputs the color patch image on the sheet (step S302). ).

次に、画像読取部300は、出力されたカラーパッチ画像を読み取る(ステップS303)。   Next, the image reading unit 300 reads the output color patch image (step S303).

そして、カラーパッチ抽出部309は、読み取られたカラーパッチ画像から複数の色を抽出する(ステップS304)。   Then, the color patch extraction unit 309 extracts a plurality of colors from the read color patch image (step S304).

次に、補正パラメータ生成部310は、画質モード選択部305により選択された画質モードに基づいて画質調整部306により調整された対象色が、ターゲット色に近づくよう電子画像データ101を補正するための補正パラメータを生成し、色補正部38は、生成された補正パラメータに基づいて、電子画像データの色合わせ補正を行う(ステップS305)。   Next, the correction parameter generation unit 310 corrects the electronic image data 101 so that the target color adjusted by the image quality adjustment unit 306 based on the image quality mode selected by the image quality mode selection unit 305 approaches the target color. A correction parameter is generated, and the color correction unit 38 performs color matching correction of the electronic image data based on the generated correction parameter (step S305).

最後に、画像出力部312は、色補正部311により補正された電子画像データ101に基づいて用紙上に画像を出力する(ステップS306)。   Finally, the image output unit 312 outputs an image on a sheet based on the electronic image data 101 corrected by the color correction unit 311 (step S306).

なお、本実施形態においては、画質モード選択部305により、仮想読取色値のRGB値とターゲット色のRGB値との距離が最も小さい画質モードを画質モード選択部305により選択して、この画質モードに基づいて調整された対象色について色合わせ補正を行うものとして説明した。しかし、電子画像データ101を調整する方法としては、画質モードに限定されるものではない。例えば、記憶部301は、予め定められた調整量として、対象色のRGB各色、明度、彩度または色度等の画像データの色の濃度値に関する複数の設定(例えば、RGB各色ごとの変換テーブル)を記憶しておき、画質モード選択部305は、これら複数の設定のうち、調整後の対象色の仮想読取色値のRGB値とターゲット色のRGB値との距離が最も小さい設定を選択するようにしてもよい。   In the present embodiment, the image quality mode selection unit 305 selects the image quality mode having the smallest distance between the RGB value of the virtual read color value and the RGB value of the target color by the image quality mode selection unit 305, and this image quality mode. In the above description, the color matching correction is performed on the target color adjusted based on the above. However, the method for adjusting the electronic image data 101 is not limited to the image quality mode. For example, the storage unit 301 has a plurality of settings (for example, a conversion table for each RGB color) regarding the density value of the color of the image data such as each RGB color, brightness, saturation, or chromaticity as a target adjustment amount as a predetermined adjustment amount. ) And the image quality mode selection unit 305 selects a setting having the smallest distance between the RGB value of the virtual read color value of the target color after adjustment and the RGB value of the target color from among the plurality of settings. You may do it.

また、複数の画質モードのうち、調整後の対象色の仮想読取色値のRGB値とターゲット色のRGB値とのRGB空間上における距離が予め定められた閾値未満(例えば10未満)となる画質モードが存在しない場合、画質モード選択部305は、濃度値に関する複数の設定のうち、調整された対象色の仮想読取色値のRGB値と、ターゲット色のRGB値との色値差が最も小さい設定を選択するようにしてもよい。この場合には、補正パラメータ生成部311は、選択された設定に基づいて調整された対象色がターゲット色に近づくよう電子画像データ101を補正するための補正データを生成する。   In addition, among the plurality of image quality modes, the image quality in which the distance in the RGB space between the RGB value of the virtual read color value of the target color after adjustment and the RGB value of the target color is less than a predetermined threshold (for example, less than 10). When there is no mode, the image quality mode selection unit 305 has the smallest color value difference between the RGB value of the virtual read color value of the adjusted target color and the RGB value of the target color among the plurality of settings regarding the density value. A setting may be selected. In this case, the correction parameter generation unit 311 generates correction data for correcting the electronic image data 101 so that the target color adjusted based on the selected setting approaches the target color.

1 端末装置
2 ターゲットプリンタ
3 画像形成装置
4 ネットワーク
11 CPU
12 メモリ
13 記憶装置
14 通信IF
15 UI装置
16、300 画像読取部
17 画像出力部
18 制御バス
50、51、52、53、60 オブジェクト
100、101 電子画像データ
301 記憶部
302 色合わせ指定部
303 仮想読取色値算出部
304 色値差算出部
305 画質モード選択部
306 画質調整部
307 仮想入力色値算出部
308 カラーパッチ画像生成部
309 カラーパッチ抽出部
310 補正パラメータ生成部
311 色補正部
312 画像出力部
1 Terminal Device 2 Target Printer 3 Image Forming Device 4 Network 11 CPU
12 Memory 13 Storage device 14 Communication IF
DESCRIPTION OF SYMBOLS 15 UI apparatus 16,300 Image reading part 17 Image output part 18 Control bus 50, 51, 52, 53, 60 Object 100, 101 Electronic image data 301 Storage part 302 Color matching designation part 303 Virtual reading color value calculation part 304 Color value Difference calculation unit 305 Image quality mode selection unit 306 Image quality adjustment unit 307 Virtual input color value calculation unit 308 Color patch image generation unit 309 Color patch extraction unit 310 Correction parameter generation unit 311 Color correction unit 312 Image output unit

Claims (6)

画像データにおいて色補正を行う対象となる対象色を指定する指定手段と、
前記対象色に対する色補正の目標となる目標色を有する目標画像を読み取る読取手段と、
予め定められた調整量に関する複数の設定を記憶する記憶手段と、
前記設定に基づいて調整された対象色が、標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合の仮想読取色値を算出する仮想読取色値算出手段と、
前記仮想読取色値算出手段により算出された仮想読取色値と前記目標色の色値との色値差を算出する色値差算出手段と、
前記複数の設定のうち、前記色値差算出手段により算出された色値差が最も小さい設定を選択する選択手段と、
前記選択手段により選択された設定に基づいて、前記画像データの色を調整する調整手段と、
前記調整手段により調整された対象色が前記目標色に近づくよう前記画像データを補正するための補正データを生成する補正データ生成手段と、
を有する画像形成装置。
A designation means for designating a target color to be subjected to color correction in the image data;
Reading means for reading a target image having a target color that is a target of color correction for the target color;
Storage means for storing a plurality of settings relating to a predetermined adjustment amount;
A target color adjusted based on the setting is output based on a standard characteristic, and a virtual read color value calculating unit that calculates a virtual read color value when read based on the standard characteristic;
Color value difference calculating means for calculating a color value difference between the virtual read color value calculated by the virtual read color value calculating means and the color value of the target color;
A selection unit that selects a setting having the smallest color value difference calculated by the color value difference calculation unit from among the plurality of settings;
Adjusting means for adjusting the color of the image data based on the setting selected by the selecting means;
Correction data generation means for generating correction data for correcting the image data so that the target color adjusted by the adjustment means approaches the target color;
An image forming apparatus.
前記複数の設定は、それぞれ前記画像データの画質を調整するための画質モードである請求項1記載の画像形成装置。   The image forming apparatus according to claim 1, wherein each of the plurality of settings is an image quality mode for adjusting an image quality of the image data. 前記複数の設定は、それぞれ前記画像データの色の濃度値の調整量に関する設定である請求項1記載の画像形成装置。   The image forming apparatus according to claim 1, wherein each of the plurality of settings is a setting relating to an adjustment amount of a color density value of the image data. 前記記憶手段は、前記選択手段により選択された設定と前記補正データ生成手段により生成された補正データとを対応付けて記憶し、
前記選択手段により前記設定が選択された場合に、当該設定と対応する補正データに基づいて前記画像データを補正する補正手段をさらに有する請求項2または3記載の画像形成装置。
The storage means stores the setting selected by the selection means and the correction data generated by the correction data generation means in association with each other,
4. The image forming apparatus according to claim 2, further comprising: a correction unit that corrects the image data based on correction data corresponding to the setting when the setting is selected by the selection unit. 5.
標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合に、前記目標色が得られるような仮想入力色値を算出する仮想入力色値算出手段と、
前記仮想入力色値算出手段により算出された仮想入力色値および当該仮想入力色値の予め定められた範囲の周辺色値を含む色見本を記録媒体上に出力する出力手段と、
前記読取手段によって読み取られた前記記録媒体上の色見本から複数の色を抽出する抽出手段と、
をさらに有し、
前記補正データ生成手段は、前記調整手段により調整された対象色が、前記目標色に最も近い出力色となるように前記抽出手段により抽出された複数の色から前記画像データを補正するための補正データを生成する請求項1から4いずれか1項記載の画像形成装置。
Virtual input color value calculating means for calculating a virtual input color value that is output based on standard characteristics and read based on standard characteristics so that the target color is obtained;
Output means for outputting on the recording medium a color sample including the virtual input color value calculated by the virtual input color value calculation means and a peripheral color value in a predetermined range of the virtual input color value;
Extracting means for extracting a plurality of colors from a color sample on the recording medium read by the reading means;
Further comprising
The correction data generation unit corrects the image data from a plurality of colors extracted by the extraction unit so that the target color adjusted by the adjustment unit is an output color closest to the target color. The image forming apparatus according to claim 1, wherein the image forming apparatus generates data.
予め定められた調整量に関する複数の設定を記憶するステップと、
画像データにおいて色補正を行う対象となる対象色を指定するステップと、
前記対象色に対する色補正の目標となる目標色を有する目標画像を読み取るステップと、
前記設定に基づいて調整された前記対象色が標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合の仮想読取色値を算出するステップと、
算出された仮想読取色値と前記目標色の色値との色値差を算出するステップと、
前記複数の設定のうち、算出された色値差が最も小さい設定を選択するステップと、
選択された設定に基づいて前記画像データの色を調整するステップと、
調整された対象色が前記目標色に近づくよう前記画像データを補正するための補正データを生成するステップと、
をコンピュータに実行させるためのプログラム。
Storing a plurality of settings relating to a predetermined adjustment amount;
Specifying a target color to be subjected to color correction in the image data;
Reading a target image having a target color that is a target of color correction for the target color;
Calculating a virtual read color value when the target color adjusted based on the setting is output based on a standard characteristic and read based on the standard characteristic;
Calculating a color value difference between the calculated virtual read color value and the color value of the target color;
Selecting a setting having the smallest calculated color value difference among the plurality of settings;
Adjusting the color of the image data based on the selected settings;
Generating correction data for correcting the image data so that the adjusted target color approaches the target color;
A program that causes a computer to execute.
JP2015163481A 2015-08-21 2015-08-21 Image forming apparatus and program Expired - Fee Related JP6562381B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015163481A JP6562381B2 (en) 2015-08-21 2015-08-21 Image forming apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015163481A JP6562381B2 (en) 2015-08-21 2015-08-21 Image forming apparatus and program

Publications (2)

Publication Number Publication Date
JP2017041819A true JP2017041819A (en) 2017-02-23
JP6562381B2 JP6562381B2 (en) 2019-08-21

Family

ID=58206794

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015163481A Expired - Fee Related JP6562381B2 (en) 2015-08-21 2015-08-21 Image forming apparatus and program

Country Status (1)

Country Link
JP (1) JP6562381B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006019956A (en) * 2004-06-30 2006-01-19 Fuji Xerox Co Ltd Device and method for color processing
JP2007266740A (en) * 2006-03-27 2007-10-11 Noritsu Koki Co Ltd Print processing system
JP2012080226A (en) * 2010-09-30 2012-04-19 Fujifilm Corp Color value acquisition method, image processing method, color value acquisition device, image processing device, and program
JP2012186786A (en) * 2011-02-17 2012-09-27 Kyocera Document Solutions Inc Image processing apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006019956A (en) * 2004-06-30 2006-01-19 Fuji Xerox Co Ltd Device and method for color processing
JP2007266740A (en) * 2006-03-27 2007-10-11 Noritsu Koki Co Ltd Print processing system
JP2012080226A (en) * 2010-09-30 2012-04-19 Fujifilm Corp Color value acquisition method, image processing method, color value acquisition device, image processing device, and program
JP2012186786A (en) * 2011-02-17 2012-09-27 Kyocera Document Solutions Inc Image processing apparatus

Also Published As

Publication number Publication date
JP6562381B2 (en) 2019-08-21

Similar Documents

Publication Publication Date Title
KR100788053B1 (en) Color conversion method and profile generation method
JP5713727B2 (en) Profile creation method, profile creation apparatus, image processing apparatus and program for performing color conversion by profile
US10530969B2 (en) Matching output colors of printers having different gamut ranges
US20070030499A1 (en) Color processing method and apparatus
JP2012029276A (en) Image forming device, color adjustment method and color adjustment program
JP6414519B2 (en) Image forming apparatus and program
JP2014165656A (en) Color profile generation device, image processing apparatus, image processing system, color profile generation method and program
US8149456B2 (en) Color processing method and image forming apparatus for creating a color separation table
US9667837B2 (en) Image processing apparatus, image processing method, and program
KR20120016451A (en) Print controling terminal unit and method for color revising
JP7367159B2 (en) Image processing device, image processing method, and program
JP2008148275A (en) Color processing apparatus and program
US9218552B2 (en) Image processing apparatus and image processing method
JP5691526B2 (en) Image processing apparatus, image processing program, and image processing method
JP4985162B2 (en) Color gamut generation device, color gamut generation program, and color conversion device
US10038825B2 (en) Image process apparatus for correcting a document based on correction parameter of another document and computer program therefor
JP6562381B2 (en) Image forming apparatus and program
JP6707262B2 (en) Image forming apparatus and program
JP5206428B2 (en) Color processing apparatus and program
JP2008072550A (en) Color processing method, color processing apparatus, image forming apparatus, program and recording medium
JP2015061179A (en) Image processor, color adjustment method, and program
JP5849549B2 (en) Color processing apparatus and program
JP7490447B2 (en) Image processing device, control method thereof, and program
JP2013042349A (en) Image processing apparatus, image processing method, program, and recording medium
JP2008245156A (en) Color adjusting device, color adjusting method, image forming apparatus, color adjustment program and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180622

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190325

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190509

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190701

R150 Certificate of patent or registration of utility model

Ref document number: 6562381

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190714

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees