JP2017103616A - Image forming apparatus and program - Google Patents

Image forming apparatus and program Download PDF

Info

Publication number
JP2017103616A
JP2017103616A JP2015235359A JP2015235359A JP2017103616A JP 2017103616 A JP2017103616 A JP 2017103616A JP 2015235359 A JP2015235359 A JP 2015235359A JP 2015235359 A JP2015235359 A JP 2015235359A JP 2017103616 A JP2017103616 A JP 2017103616A
Authority
JP
Japan
Prior art keywords
color
target
image
correction
unit
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
JP2015235359A
Other languages
Japanese (ja)
Other versions
JP6707262B2 (en
Inventor
智之 三ツ橋
Tomoyuki Mitsuhashi
智之 三ツ橋
勇一 西國
Yuichi Nishikuni
勇一 西國
杉 伸介
Shinsuke Sugi
伸介 杉
知弘 谷川
Tomohiro Tanigawa
知弘 谷川
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 JP2015235359A priority Critical patent/JP6707262B2/en
Publication of JP2017103616A publication Critical patent/JP2017103616A/en
Application granted granted Critical
Publication of JP6707262B2 publication Critical patent/JP6707262B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To reduce user's labor when specifying target color to be color-matched.SOLUTION: A color matching specifying unit 302 extracts and creates a list of color values of drawing commands included in the print job from this print job at the time of selecting the target color to be subjected to color matching correction. A raster drawing command instructing the drawing of the raster image other than the natural image is preferentially rearranged in the list of the created color values. Then, the color matching specifying unit 302 presents the list of rearranged color values to the user as a target color candidate to be subjected to color correction. Then, the color matching specifying unit 302 accepts designation of a target color to be subjected to color correction from the presented candidates of the target color. A correction parameter generation unit 310 generates correction parameter for correcting the color of the image to which printing is instructed by the print job so that the target color of the color matching correction specified by the color matching specifying unit 302 is the output color closest to the target color.SELECTED DRAWING: Figure 3

Description

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

特許文献1には、入力された色信号に対して一般的な色変換処理を行った後に、ユーザにより指定された特定色が基準色となるように補正関数を用いた補正処理を行う色処理装置が開示されている。   Japanese Patent Application Laid-Open No. 2004-133826 describes color processing for performing correction processing using a correction function so that a specific color designated by a user becomes a reference color after performing general color conversion processing on an input color signal. An apparatus is disclosed.

特開2006−19956号公報JP 2006-19956 A

印刷ジョブ(印刷指示)により印刷が指示された画像の特定の色を目標となる目標色に合わせるように部分的な補正を行う場合、画像の特定の色を目標色に近づけるように色補正を行う。しかし、画像中に多くの色が含まれる場合、ユーザは、その多くの色の中から色合わせの対象色とするのかを指定しなければならならず、対象色の指定に手間がかかるという問題がある。   When performing partial correction so that the specific color of the image for which printing is instructed by the print job (print instruction) matches the target target color, the color correction is performed so that the specific color of the image approaches the target color. Do. However, when many colors are included in an image, the user has to specify whether the target color for color matching is selected from the many colors, and it takes time to specify the target color. There is.

本発明の目的は、印刷指示に含まれる色値のリストを単にユーザに提示して色合わせの対象となる対象色の指定を入力する場合と比較して、色合わせの対象となる対象色を指定する際のユーザの手間を削減することが可能な画像形成装置およびプログラムを提供することである。   An object of the present invention is to provide a target color to be color-matched as compared to a case where a list of color values included in a print instruction is simply presented to a user and designation of a target color to be color-matched is input. An object of the present invention is to provide an image forming apparatus and a program capable of reducing a user's trouble in designating.

[画像形成装置]
請求項1に係る本発明は、印刷指示に含まれる描画命令の色値のリストを当該印刷指示から抽出して作成する作成手段と、
前記作成手段により作成された色値のリストを、自然画像以外のラスタ画像の描画を指示するラスタ描画命令を優先して並び替える並び替え手段と、
前記並び替え手段により並び替えられた色値のリストを、色補正を行う対象の対象色の候補として提示する提示手段と、
前記提示手段により提示された対象色の候補の中から、色補正を行う対象となる対象色の指定を受付ける指定受付手段と、
前記対象色に対する色補正の目標となる目標色を有する目標画像を読み取る読取手段と、
前記指定受付手段により受付けた対象色が、前記目標色に近い出力色となるように前記印刷指示により印刷が指示された画像の色を補正するための補正データを生成する補正データ生成手段とを備えた画像形成装置である。
[Image forming apparatus]
The present invention according to claim 1 is a creation unit that extracts and creates a list of color values of a drawing command included in a print instruction from the print instruction;
Reordering means for preferentially reordering a list of color values created by the creating means with priority given to a raster drawing command for drawing a raster image other than a natural image;
Presenting means for presenting a list of color values rearranged by the rearranging means as candidates for target colors to be subjected to color correction;
Designation accepting means for accepting designation of a target color to be subjected to color correction from among target color candidates presented by the presenting means;
Reading means for reading a target image having a target color that is a target of color correction for the target color;
Correction data generating means for generating correction data for correcting the color of the image instructed to be printed by the print instruction so that the target color received by the designation receiving means is an output color close to the target color. An image forming apparatus provided.

請求項2に係る本発明は、前記並び替え手段が、自然画像以外のラスタ画像の描画を指示するラスタ描画命令、塗りつぶし描画命令、線描画命令、文字描画命令の順で前記作成手段により作成された色値のリストの並び替える請求項1記載の画像形成装置である。   According to a second aspect of the present invention, the rearranging means is created by the creating means in the order of a raster drawing command for instructing drawing of a raster image other than a natural image, a fill drawing command, a line drawing command, and a character drawing command. The image forming apparatus according to claim 1, wherein the list of color values is rearranged.

請求項3に係る本発明は、前記並び替え手段が、同一種類の描画命令については、色値の画素数が多い描画命令を優先して、前記作成手段により作成された色値のリストの並び替える請求項1または2記載の画像形成装置である。   According to a third aspect of the present invention, for the same kind of drawing command, the sorting unit gives priority to a drawing command having a large number of color value pixels, and arranges a list of color values created by the creating unit. 3. The image forming apparatus according to claim 1, wherein the image forming apparatus is replaced.

請求項4に係る本発明は、前記補正データ生成手段が、
標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合に前記目標色が得られるような仮想入力色値を算出する算出手段と、
前記算出手段により算出された仮想入力色値および当該仮想入力色値の予め定められた範囲の周辺色値を含む色見本を記録媒体上に出力する出力手段と、
前記読取手段によって読み取られた前記記録媒体上の色見本の画像から複数の色を抽出する抽出手段とをさらに備え、
前記補正データ生成手段は、前記指定受付手段により受付けた対象色が、前記目標色に近い出力色となるように前記抽出手段により抽出された複数の色から前記印刷指示により印刷が指示された画像の色を補正するための補正データを生成する請求項1から3のいずれか1項記載の画像形成装置である。
The present invention according to claim 4 is characterized in that the correction data generating means is
A calculation means for calculating 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;
Output means for outputting a color sample including a virtual input color value calculated by the calculation means and a peripheral color value in a predetermined range of the virtual input color value on a recording medium;
An extraction means for extracting a plurality of colors from an image of a color sample on the recording medium read by the reading means;
The correction data generating means is an image instructed to be printed by the print instruction from a plurality of colors extracted by the extracting means so that the target color received by the designation receiving means is an output color close to the target color. The image forming apparatus according to claim 1, wherein correction data for correcting the color is generated.

請求項5に係る本発明は、前記補正データ生成手段により生成された補正データに基づいて前記印刷指示により印刷が指示された画像の色を補正する補正手段を更に有し、
前記出力手段は、前記補正手段により色が補正された画像を出力する請求項1から4いずれか1項記載の画像形成装置である。
The present invention according to claim 5 further includes correction means for correcting the color of an image instructed to be printed by the print instruction based on the correction data generated by the correction data generation means,
The image forming apparatus according to claim 1, wherein the output unit outputs an image whose color is corrected by the correction unit.

[プログラム]
請求項6に係る本発明は、印刷指示に含まれる描画命令の色値のリストを当該印刷指示から抽出して作成する作成ステップと、
前記作成ステップにおいて作成された色値のリストを、自然画像以外のラスタ画像の描画を指示するラスタ描画命令を優先して並び替える並び替えステップと、
前記並び替えステップにおいて並び替えられた色値のリストを、色補正を行う対象の対象色の候補として提示する提示ステップと、
前記提示ステップにおいて提示された対象色の候補の中から、色補正を行う対象となる対象色の指定を受付ける指定受付ステップと、
前記対象色に対する色補正の目標となる目標色を有する目標画像を読み取る読取ステップと、
前記指定受付ステップにより受付けた対象色が、前記目標色に近い出力色となるように前記印刷指示により印刷が指示された画像の色を補正するための補正データを生成する補正データ生成ステップとをコンピュータに実行させるためのプログラムである。
[program]
The present invention according to claim 6 is a creation step of extracting and creating a list of color values of a drawing command included in a print instruction from the print instruction;
A reordering step for reordering the list of color values created in the creating step with priority given to a raster rendering command that instructs rendering of a raster image other than a natural image;
A presenting step of presenting a list of color values rearranged in the rearrangement step as candidates for a target color to be subjected to color correction;
A designation receiving step for accepting designation of a target color to be subjected to color correction from among target color candidates presented in the presenting step;
A reading step of reading a target image having a target color that is a target of color correction for the target color;
A correction data generation step for generating correction data for correcting the color of the image instructed to be printed by the print instruction so that the target color received in the designation reception step is an output color close to the target color. A program for causing a computer to execute.

請求項1に係る本発明によれば、印刷指示に含まれる色値のリストを単にユーザに提示して色合わせの対象となる対象色の指定を入力する場合と比較して、色合わせの対象となる対象色を指定する際のユーザの手間を削減することができる画像形成装置を提供することができる。   According to the first aspect of the present invention, compared with a case where a list of color values included in a print instruction is simply presented to the user and designation of a target color to be color-matched is input, the color-matching target Therefore, it is possible to provide an image forming apparatus that can reduce the user's trouble in specifying the target color to be.

請求項2に係る本発明によれば、印刷指示に含まれる色値のリストを単にユーザに提示して色合わせの対象となる対象色の指定を入力する場合と比較して、色合わせの対象となる対象色を指定する際のユーザの手間を削減することができる画像形成装置を提供することができる。   According to the second aspect of the present invention, compared with the case where the list of color values included in the print instruction is simply presented to the user and the designation of the target color to be color-matched is input, the color-matching target Therefore, it is possible to provide an image forming apparatus that can reduce the user's trouble in specifying the target color to be.

請求項3に係る本発明によれば、印刷指示に含まれる色値のリストを単にユーザに提示して色合わせの対象となる対象色の指定を入力する場合と比較して、色合わせの対象となる対象色を指定する際のユーザの手間を削減することができる画像形成装置を提供することができる。   According to the third aspect of the present invention, compared with the case where the list of color values included in the print instruction is simply presented to the user and the designation of the target color to be the color matching is input, the color matching target Therefore, it is possible to provide an image forming apparatus that can reduce the user's trouble in specifying the target color to be.

請求項4に係る本発明によれば、印刷指示に含まれる色値のリストを単にユーザに提示して色合わせの対象となる対象色の指定を入力する場合と比較して、色合わせの対象となる対象色を指定する際のユーザの手間を削減することができる画像形成装置を提供することができる。   According to the fourth aspect of the present invention, compared with a case where a list of color values included in a print instruction is simply presented to the user and designation of a target color to be color-matched is input, the color-matching target Therefore, it is possible to provide an image forming apparatus that can reduce the user's trouble in specifying the target color to be.

請求項5に係る本発明によれば、請求項1から4のいずれか1項記載の本発明により得られる効果に加えて、生成された補正データにより色が補正された画像を出力することが可能な画像形成装置を提供することができる。   According to the present invention of claim 5, in addition to the effect obtained by the present invention of any one of claims 1 to 4, it is possible to output an image whose color is corrected by the generated correction data. A possible image forming apparatus can be provided.

請求項6に係る本発明によれば、印刷指示に含まれる色値のリストを単にユーザに提示して色合わせの対象となる対象色の指定を入力する場合と比較して、色合わせの対象となる対象色を指定する際のユーザの手間を削減することができるプログラムを提供することができる。   According to the sixth aspect of the present invention, compared with a case where a list of color values included in a print instruction is simply presented to the user and designation of a target color to be color-matched is input, the color-matching target It is possible to provide a program that can reduce the user's trouble when specifying the target color.

本発明の一実施形態における画像形成システムを示す図である。1 is a diagram illustrating 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. 色合わせ指定部302により作成された描画コマンドの色値のリストの一例を示す図である。6 is a diagram illustrating an example of a list of color values of a drawing command created by a color matching designation unit 302. FIG. 並び替え処理が行われた後の色値リストの一例を示す図である。It is a figure which shows an example of the color value list | wrist after a rearrangement process was performed. 本発明の一実施形態における色合わせ対象指定画面の一例を示す図である。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 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. 本発明の一実施形態における画像形成装置3の全体的な処理を説明するためのフローチャートである。4 is a flowchart for explaining overall processing of the image forming apparatus 3 according to an embodiment of the present disclosure. 本発明の一実施形態における対象色指定処理(ステップS101)を説明するためのフローチャートである。It is a flowchart for demonstrating the object color designation | designated process (step S101) in one Embodiment of this invention. 本発明の一実施形態における色合わせ補正処理(ステップS104)を説明するためのフローチャートである。It is a flowchart for demonstrating the color matching correction process (step S104) 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 this embodiment is, for example, a business-use printer that is used by a trader who 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 output 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と、仮想入力色値算出部307と、カラーパッチ画像生成部308と、カラーパッチ抽出部309と、補正パラメータ生成部310と、色補正部311と、画像出力部312とを有する。   As shown 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 input color value calculation unit 307, a color patch image generation unit 308, a color patch image generation unit 308, A patch extraction unit 309, a correction parameter generation unit 310, a color correction unit 311, and an image output unit 312 are included.

画像読取部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は、後述する補正パラメータ生成部310により生成された補正パラメータを記憶(格納)する。   The storage unit 301 stores target image data read by the image reading unit 300. The storage unit 301 also stores (stores) correction parameters generated by a correction parameter generation unit 310 described later.

色合わせ指定部302は、端末装置1から送信された電子画像データにおいて色補正を行う対象となる対象色の指定を受け付ける。本実施形態においては、印刷ジョブにより印刷が指示された電子画像データにおける特定の部分の色が、ターゲットプリンタ2により用紙上に出力されたターゲット画像(目標画像)に含まれる目標色に近づくように電子画像データの色合わせ補正を行うための対象とする対象色としてユーザにより指定される。   The color matching designation unit 302 accepts designation of 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 of a specific portion in the electronic image data instructed to be printed by the print job approaches the target color included in the target image (target image) output on the paper by the target printer 2. It is designated by the user as a target color to be subjected to color matching correction of electronic image data.

その際に、色合わせ指定部302は、印刷ジョブ(印刷指示)に含まれる描画コマンド(描画命令)の色値のリストをこの印刷ジョブから抽出して作成して、作成した色値のリストを、自然画像以外のラスタ画像の描画を指示するラスタ描画コマンドを優先して並び替える。そして、色合わせ指定部302は、並び替えられた色値のリストを、色補正を行う対象の対象色の候補としてユーザに提示する。そして、色合わせ指定部302は、提示した対象色の候補の中から、色補正を行う対象となる対象色の指定を受付ける。   At this time, the color matching designation unit 302 extracts and creates a list of color values of the drawing command (drawing command) included in the print job (printing instruction) from the print job, and creates the created list of color values. The raster drawing command for instructing drawing of a raster image other than the natural image is rearranged with priority. Then, the color matching designation unit 302 presents the rearranged list of color values to the user as a target color candidate to be subjected to color correction. Then, the color matching designation unit 302 accepts designation of a target color to be subjected to color correction from among the presented target color candidates.

これは、色合わせ補正の対象は企業のロゴマーク等の描画オブジェクトが指定される可能性が高いが、企業ロゴ等のオブジェクトはラスタ描画コマンドにより描画指示される可能性が高いからである。   This is because the object of color matching correction is likely to be a drawing object such as a company logo mark, but the object such as a company logo is highly likely to be designated by a raster drawing command.

ただし、印刷ジョブに含まれる描画コマンドの種類には、ラスタ画像の描画を指示するラスタ描画コマンド以外にも、指定された領域を特定の色で塗りつぶすような描画を指示する塗りつぶし描画コマンド(Fill描画コマンド)、指定された点を指定された線幅でつなげるような描画を指示するストローク描画コマンド(線描画命令)、文字の描画を指示するテキスト描画コマンド(文字描画命令)等の描画コマンドが存在する。   However, in addition to the raster drawing command for instructing drawing of a raster image, the type of drawing command included in the print job includes a fill drawing command (Fill drawing for instructing drawing to fill a specified area with a specific color). Command), stroke drawing command (line drawing command) that instructs drawing to connect specified points with the specified line width, and text drawing command (character drawing command) that instructs character drawing To do.

そのため、色合わせ指定部302は、自然画像以外のラスタ画像の描画を指示するラスタ描画コマンド、塗りつぶし描画コマンド、ストローク描画コマンド、テキスト描画コマンドの順で、作成した色値のリストの並び替えを行うようにしても良い。   Therefore, the color matching designation unit 302 rearranges the list of generated color values in the order of a raster drawing command for instructing drawing of a raster image other than a natural image, a fill drawing command, a stroke drawing command, and a text drawing command. You may do it.

なお、自然画像には様々な色が含まれるため、自然画像を色合わせ補正の対象とすることはほとんど有り得ないため、自然画像の描画を指示するラスタ描画命令については色合わせ補正の対象外とする。   Since a natural image includes various colors, it is almost impossible to make a natural image a target for color matching correction. Therefore, a raster drawing command for instructing a natural image drawing is not subject to color matching correction. To do.

さらに、色合わせ指定部302は、同一種類の描画コマンドについては、色値の画素数が多い描画コマンドを優先して、作成された色値のリストの並び替えるようにしても良い。   Furthermore, for the same type of drawing command, the color matching designation unit 302 may rearrange the created color value list by giving priority to a drawing command having a large number of color value pixels.

このように画素数が多い色値の優先順位を高くして色合わせて補正の対象候補の色として優先的にユーザに提示するようにしているのは、画素数が多いオブジェクトほど色合わせ補正の対象となる可能性が高いからである。   In this way, the priority of color values with a large number of pixels is increased and the colors are matched and preferentially presented to the user as target colors for correction. This is because the possibility of being a target is high.

なお、1つの描画オブジェクトに複数の色値が含まれる場合には、その描画オブジェクトに含まれる色値のうち最も画素数が多い色値どうしを比較して、画素数が多い色値を含む描画オブジェクトの優先順位を高くする。   When a plurality of color values are included in one drawing object, the color values having the largest number of pixels among the color values included in the drawing object are compared, and drawing including the color value having the largest number of pixels is performed. Increase object priority.

仮想入力色値算出部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. A specific method for calculating the virtual input color value will be described later.

カラーパッチ画像生成部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 input color value calculation unit 307 and peripheral colors in a predetermined range of the virtual input color value. To do. 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は、カラーパッチ抽出部309により抽出された複数の色に基づいて、カラーパッチ抽出部309により抽出された複数の色のうち、画像読取部300により読み取られたターゲット画像におけるターゲット色に近い色を選択して、色合わせ指定部302により指定された色合わせ補正の対象色が、ターゲット色に最も近い出力色となるようにカラーパッチ抽出部309により抽出された複数の色から電子画像データを補正するための補正パラメータ(補正データ)を生成する。なお、補正パラメータの具体的な生成方法については後述する。   Based on the plurality of colors extracted by the color patch extraction unit 309, the correction parameter generation unit 310 selects a target in the target image read by the image reading unit 300 from among the plurality of colors extracted by the color patch extraction unit 309. A color close to the color is selected, and a color matching correction target color designated by the color matching designation unit 302 is selected from a plurality of colors extracted by the color patch extraction unit 309 so as to be an output color closest to the target color. A correction parameter (correction data) for correcting the electronic image data is generated. A specific method for generating correction parameters will be described later.

色補正部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には、5つのオブジェクト51〜55が含まれている。   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 five objects 51 to 55.

ここで、オブジェクト51は、いわゆる企業ロゴであり、ラスタ描画コマンドにより描画指示がされている。また、オブジェクト52は、ストローク描画コマンドにより描画指示がされている。また、オブジェクト53は、ラスタ描画コマンドにより描画指示がされている。また、オブジェクト54は、塗りつぶし描画コマンドにより描画指示がされている。最後に、オブジェクト55は、自然画像であり、ラスタ描画コマンドにより描画指示がされている。   Here, the object 51 is a so-called company logo, and a drawing instruction is given by a raster drawing command. The object 52 is instructed to draw by a stroke drawing command. The object 53 is instructed to draw by a raster drawing command. The object 54 is instructed to draw by a paint drawing command. Finally, the object 55 is a natural image, and a drawing instruction is given by a raster drawing command.

ここで、色合わせ指定部302は、図4に示すような電子画像データ100の印刷を指示する印刷ジョブから、描画コマンドの色値のリストを抽出して作成する。このようにして作成された色値のリスト例を図5に示す。   Here, the color matching designation unit 302 extracts and creates a list of color values of drawing commands from a print job instructing printing of the electronic image data 100 as shown in FIG. An example of a list of color values created in this way is shown in FIG.

図5に示した色値のリストでは、RGB(レッド、グリーン、ブルー)の各濃度値とともに画素数と描画コマンドの種類の情報が抽出されているのが分かる。   In the list of color values shown in FIG. 5, it can be seen that information on the number of pixels and the type of drawing command is extracted together with each density value of RGB (red, green, blue).

そして、色合わせ指定部302は、図5に示した使用色値のリストを、描画コマンドの種類に基づいて並び替える。このようにして並び替えが行われた後のリスト例を図6に示す。   Then, the color matching designation unit 302 rearranges the list of used color values shown in FIG. 5 based on the types of drawing commands. FIG. 6 shows an example of the list after the rearrangement is performed in this way.

色合わせ指定部302は、自然画像以外のラスタ画像の描画を指示するラスタ描画コマンドを優先して並び替えを行うため、図6では、自然画像以外のラスタ画像の描画を指示する2つのラスタ描画コマンドが優先順位の1番と2番となっている。   Since the color matching designation unit 302 performs sorting by giving priority to a raster drawing command for instructing drawing of a raster image other than a natural image, in FIG. 6, two raster drawing commands for instructing drawing of a raster image other than a natural image are performed. The commands are the first and second priority.

また、色合わせ指定部302は、ラスタ描画コマンド以外の描画コマンドについては、塗りつぶし描画コマンド、ストローク描画コマンド、テキスト描画コマンドの順で優先順位が高くなるように並び替えを行っている。そのため、図6では、塗りつぶし描画コマンドが優先順位の3番目となり、ストローク描画コマンドが優先順位の4番目となっている。   In addition, the color matching designation unit 302 rearranges drawing commands other than the raster drawing command so that the priorities are higher in the order of the fill drawing command, the stroke drawing command, and the text drawing command. Therefore, in FIG. 6, the fill drawing command has the third priority, and the stroke drawing command has the fourth priority.

なお、自然画像の描画を指示するラスタ描画コマンドについては色合わせ補正の対象外であるため、このリストの最後に並び替えられている。   Note that raster rendering commands for instructing natural image rendering are not subject to color matching correction, and are therefore rearranged at the end of this list.

そして、色合わせ指定部302は、図6に示したような色値のリストに基づいて、表示部等を介してユーザに図7に示すような画面表示を行って、色合わせ補正の対象となる対象色の候補を提示する。   Then, the color matching designation unit 302 performs screen display as shown in FIG. 7 on the user via the display unit based on the color value list as shown in FIG. The candidate for the target color is presented.

図7に示す画面例では、色合わせ補正の対象となる対象色のRGB値、その色および色合わせ補正の対象オブジェクトのプレビュー画像が優先順位毎に示されているのが分かる。   In the screen example shown in FIG. 7, it can be seen that the RGB value of the target color to be subjected to color matching correction, the preview image of the color and the target object for color matching correction are shown for each priority order.

ユーザは、このようにして提示された複数の色合わせ補正の対象色の候補の中から色合わせ補正を行う対象色を1つ選択する。そして、色合わせ指定部302は、ユーザにより指定された対象色の選択を受付ける。   The user selects one target color to be subjected to the color matching correction from among the plurality of color matching correction target candidates presented in this way. Then, the color matching designation unit 302 accepts the selection of the target color designated by the user.

図7の表示画面例では、ユーザは、各色値の横に表示されたチェックボックスのうちの1つを選択することにより、色合わせ補正を行う対象色を選択するようになっており、優先順位が1番の色値のオブジェクトをユーザが対象色として選択した場合が示されている。   In the display screen example of FIG. 7, the user selects a target color to be subjected to color matching correction by selecting one of the check boxes displayed beside each color value. This shows a case where the user selects the object having the first color value as the target color.

本実施形態では、図4に示した画像例において示されたオブジェクト51は、コーポレートカラー等のように特性が異なる出力装置で出力された場合であっても用紙に出力された際の品質を一定に保ちたい色により構成されており、図7ではユーザがこのオブジェクト51の色値を色合わせ補正の対象色として指定している。   In the present embodiment, the object 51 shown in the image example shown in FIG. 4 has a constant quality when it is output on paper even when it is output by an output device having different characteristics such as a corporate color. In FIG. 7, the user designates the color value of the object 51 as the target color for color matching correction.

そして、図7の表示画面例において、ユーザがOKボタンを押下することにより、色合わせ指定部302は、オブジェクト51の色を対象色とする選択を確定する。   Then, in the display screen example of FIG. 7, when the user presses the OK button, the color matching designation unit 302 confirms the selection with the color of the object 51 as the target color.

[ターゲット色の指定]
次に、画像読取部300は、ターゲットプリンタ2により予め用紙に出力されたターゲット画像を読み取る。このターゲット画像の一例を図8に示す。このターゲット画像には、色合わせ補正の目標とするターゲット色の基準となるオブジェクト60が含まれているものとする。
[Specify target color]
Next, the image reading unit 300 reads a target image that has been output to a sheet in advance by the target printer 2. An example of this target image is shown in FIG. It is assumed that the target image includes an object 60 that is a target color reference that is a target of color matching correction.

そして、画像読取部300により読み取られたターゲット画像を表示部等を介して表示して、このターゲット画像に含まれる色のうち、ユーザにより指定されたオブジェクトの色をターゲット色として設定する。ここでは、ユーザの操作により、ターゲット画像のオブジェクト60が指定されたものとして以下の説明を行う。なお、本実施形態においては、オブジェクト60の色のRGB値が(180,50,50)であるものとして説明する。   Then, the target image read by the image reading unit 300 is displayed via a display unit or the like, and among the colors included in the target image, the color of the object designated by the user is set as the target color. Here, the following description is given on the assumption that the target image object 60 is designated by the user's operation. 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).

[仮想入力色値の算出]
次に、本実施形態におけるターゲット色の仮想入力色値の算出方法について、図9を参照して詳細に説明する。
[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値に変換する。   When the target color is set by the method as described above, 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.

例えば、図9に示されるように、仮想入力色値算出部307は、まず、設定したターゲット色のRGB値(180,50,50)をL*a*b値に変換する。次に、仮想入力色値算出部307は、仮想読取装置によって読み取られた場合に、ターゲット色が変換されたL*a*b値が得られる仮想出力色値(CMYK値)を算出する。そして、仮想入力色値算出部307は、仮想出力装置によって仮想出力色値(CMYK値)を出力するための仮想入力色値のRGB値(241,8,12)を算出する。   For example, as illustrated in FIG. 9, 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.

[カラーパッチ画像データの生成]
次に、本実施形態におけるカラーパッチ画像の具体例ついて、図10を参照して詳細に説明する。
[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により算出されたターゲット色の仮想入力色値を中心として、ターゲット色の仮想入力色値の予め定められた範囲内における周辺色を含むカラーパッチ画像(色見本)データを生成する。具体的には、図10に示されるように、仮想入力色値算出部307により算出されたターゲット色の仮想入力色値(241,8,12)を中心の基準色として、仮想入力色値の周辺の色値を含むカラーパッチ画像データを生成する。本実施形態においては、図10に示されるように、仮想入力色値の周辺の色値として、上下方向において基準色から明度を変更した色が配置され、左右方向において基準色から彩度および色相を変更した色が配置されたカラーパッチ画像データを生成する。   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 shown in FIG. 10, 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. Color patch image data including peripheral color values is generated. In the present embodiment, as shown in FIG. 10, 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.

例えば、図10のカラーパッチ画像データの左右方向においては、左から順に20%、30%、40%、50%、60%、70%、80%というように、左右方向において仮想入力色値から彩度が変更された色が配置される。   For example, in the left-right direction of the color patch image data in FIG. 10, 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.

また、図10のカラーパッチ画像データの中心から右方向においては、仮想入力色値のRGB値のうち、例えば、Bの値を増加させることにより色相が変更された色が配置され、中心から左方向においては、仮想入力色値のRGB値のうち、Gの値を増加することにより色相が変更された色が配置されるというように、左右方向において仮想入力色値から色相が変更された色が配置される。   Further, in the right direction from the center of the color patch image data in FIG. 10, 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.

また、図10のカラーパッチ画像データの上下方向においては、上から順に100%、80%、60%、40%、20%というように、上下方向において仮想入力色値から明度が変更された色が配置される。   Further, in the vertical direction of the color patch image data in FIG. 10, 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.

なお、本実施形態においては、図10に示されるように、カラーパッチ画像データにおける基準色(仮想入力色値)のRGB値が(241,8,12)、明度が60%、彩度が50%であるものとして説明する。   In the present embodiment, as shown in FIG. 10, 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.

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

まず、画像出力部312は、カラーパッチ画像生成部308により生成されたカラーパッチ画像データに基づいて、図11に示されるようなカラーパッチ画像を用紙に出力する。   First, the image output unit 312 outputs a color patch image as shown in FIG. 11 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は、図11に示されるようにカラーパッチ抽出部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は、図12に示されるような色合わせ補正確認画面を表示部等を介してユーザに対して表示して、OKボタンが押下された場合に補正パラメータを生成する。   Then, the correction parameter generation unit 310 displays a color matching correction confirmation screen as shown in FIG. 12 to the user via the display unit or the like, 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と対応する色を特定する。本実施形態においては、補正パラメータ生成部310は、図10に示したカラーパッチ画像データを参照するとことにより、周辺色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, the correction parameter generation unit 310 identifies RGB values (245, 13, 12) of colors corresponding to the peripheral color A by referring to the color patch image data shown in FIG.

そして、補正パラメータ生成部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.

具体的には、補正前において、対象色および対象色の周辺色が図13(A)に示されるような色空間に配置されている場合には、図13(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. 13A 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.

次に、本実施形態における画像形成装置3の全体的な処理の流れについて、図14のフローチャートを参照して説明する。   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 accepts designation of a target color to be subjected to color correction in the electronic image data 101 (step S101).

次に、画像読取部300は、対象色に対する色補正の目標となるターゲット色を有するターゲット画像を読み取る(ステップS102)。そして、読み取られたターゲット画像からターゲット色が設定される(ステップS103)。   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). Then, a target color is set from the read target image (step S103).

そして、色合わせ補正の対象色として指定されたオブジェクトが記録媒体上に出力された場合に、設定されたターゲット色に近い色となるような色合わせ補正が行われる(ステップS104)。   Then, when the object designated as the color for color matching correction is output on the recording medium, color matching correction is performed so that the color is close to the set target color (step S104).

次に、図14に示したフローチャートのステップS101における対象色の指定処理の流れについて、図15のフローチャートを参照して説明する。   Next, the flow of target color designation processing in step S101 of the flowchart shown in FIG. 14 will be described with reference to the flowchart of FIG.

まず、色合わせ指定部302は、図4に示したような電子画像データ100の印刷を指示する印刷ジョブを解析する(ステップS201)。そして、この解析結果に基づいて、色合わせ指定部302は、印刷ジョブから描画コマンドの色値情報を抽出して(ステップS202)、抽出した色値のリストを作成する(ステップS203)。   First, the color matching designation unit 302 analyzes a print job instructing printing of the electronic image data 100 as shown in FIG. 4 (step S201). Based on the analysis result, the color matching designation unit 302 extracts color value information of the drawing command from the print job (step S202), and creates a list of the extracted color values (step S203).

そして、色合わせ指定部302は、作成した色値のリストを、描画コマンドの種類に基づいて並び替える(ステップS204)。   Then, the color matching designation unit 302 rearranges the created color value list based on the type of drawing command (step S204).

そして、色合わせ指定部302は、並び替えを行った後の色値のリストに基づいて、表示部等を介してユーザに色合わせ補正の対象となる対象色の候補を提示する(ステップS205)。   Then, based on the list of color values after the rearrangement, the color matching designation unit 302 presents the target color candidates to be subjected to color matching correction to the user via the display unit or the like (step S205). .

最後に、色合わせ指定部302は、ユーザにより指定された対象色の選択を受付ける(ステップS206)。   Finally, the color matching designation unit 302 accepts selection of the target color designated by the user (step S206).

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

まず、ターゲット色が設定されると、仮想入力色値算出部307は、設定されたターゲット色の仮想入力色値を算出する(ステップS301)。   First, when a target color is set, the virtual input color value calculation unit 307 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 the color of each patch from the read color patch image (step S304).

次に、補正パラメータ生成部310は、色合わせ補正の対象色が、ターゲット色に近づくよう電子画像データ101を補正するための補正パラメータを生成し、色補正部311は、生成された補正パラメータに基づいて、電子画像データの色合わせ補正を行う(ステップS305)。   Next, the correction parameter generation unit 310 generates a correction parameter for correcting the electronic image data 101 so that the target color for color matching correction approaches the target color, and the color correction unit 311 uses the generated correction parameter. Based on this, color matching correction of electronic image data is performed (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).

1 端末装置
2 ターゲットプリンタ
3 画像形成装置
4 ネットワーク
11 CPU
12 メモリ
13 記憶装置
14 通信IF
15 UI装置
16、300 画像読取部
17 画像出力部
18 制御バス
51〜55、60 オブジェクト
100、101 電子画像データ
301 記憶部
302 色合わせ指定部
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 51-55, 60 Object 100, 101 Electronic image data 301 Storage part 302 Color matching designation part 307 Virtual input color value calculation part 308 Color patch image generation part 309 Color patch extraction unit 310 Correction parameter generation unit 311 Color correction unit 312 Image output unit

Claims (6)

印刷指示に含まれる描画命令の色値のリストを当該印刷指示から抽出して作成する作成手段と、
前記作成手段により作成された色値のリストを、自然画像以外のラスタ画像の描画を指示するラスタ描画命令を優先して並び替える並び替え手段と、
前記並び替え手段により並び替えられた色値のリストを、色補正を行う対象の対象色の候補として提示する提示手段と、
前記提示手段により提示された対象色の候補の中から、色補正を行う対象となる対象色の指定を受付ける指定受付手段と、
前記対象色に対する色補正の目標となる目標色を有する目標画像を読み取る読取手段と、
前記指定受付手段により受付けた対象色が、前記目標色に近い出力色となるように前記印刷指示により印刷が指示された画像の色を補正するための補正データを生成する補正データ生成手段と、
を備えた画像形成装置。
Creating means for extracting and creating a list of color values of drawing commands included in the print instruction;
Reordering means for preferentially reordering a list of color values created by the creating means with priority given to a raster drawing command for drawing a raster image other than a natural image;
Presenting means for presenting a list of color values rearranged by the rearranging means as candidates for target colors to be subjected to color correction;
Designation accepting means for accepting designation of a target color to be subjected to color correction from among target color candidates presented by the presenting means;
Reading means for reading a target image having a target color that is a target of color correction for the target color;
Correction data generating means for generating correction data for correcting the color of the image instructed to be printed by the print instruction so that the target color received by the designation receiving means is an output color close to the target color;
An image forming apparatus.
前記並び替え手段は、自然画像以外のラスタ画像の描画を指示するラスタ描画命令、塗りつぶし描画命令、線描画命令、文字描画命令の順で前記作成手段により作成された色値のリストの並び替える請求項1記載の画像形成装置。   The rearranging means rearranges the list of color values created by the creating means in the order of a raster drawing command for instructing drawing of a raster image other than a natural image, a fill drawing command, a line drawing command, and a character drawing command. Item 2. The image forming apparatus according to Item 1. 前記並び替え手段は、同一種類の描画命令については、色値の画素数が多い描画命令を優先して、前記作成手段により作成された色値のリストの並び替える請求項1または2記載の画像形成装置。   3. The image according to claim 1, wherein the rearranging unit rearranges a list of color values created by the creating unit with priority given to a rendering command having a large number of pixels of color values for the same type of rendering command. Forming equipment. 前記補正データ生成手段は、
標準的な特性に基づいて出力され、標準的な特性に基づいて読み取られた場合に前記目標色が得られるような仮想入力色値を算出する算出手段と、
前記算出手段により算出された仮想入力色値および当該仮想入力色値の予め定められた範囲の周辺色値を含む色見本を記録媒体上に出力する出力手段と、
前記読取手段によって読み取られた前記記録媒体上の色見本の画像から複数の色を抽出する抽出手段とをさらに備え、
前記補正データ生成手段は、前記指定受付手段により受付けた対象色が、前記目標色に近い出力色となるように前記抽出手段により抽出された複数の色から前記印刷指示により印刷が指示された画像の色を補正するための補正データを生成する請求項1から3のいずれか1項記載の画像形成装置。
The correction data generation means includes
A calculation means for calculating 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;
Output means for outputting a color sample including a virtual input color value calculated by the calculation means and a peripheral color value in a predetermined range of the virtual input color value on a recording medium;
An extraction means for extracting a plurality of colors from an image of a color sample on the recording medium read by the reading means;
The correction data generating means is an image instructed to print by the print instruction from a plurality of colors extracted by the extracting means so that the target color received by the designation receiving means is an output color close to the target color. The image forming apparatus according to claim 1, wherein correction data for correcting the color is generated.
前記補正データ生成手段により生成された補正データに基づいて前記印刷指示により印刷が指示された画像の色を補正する補正手段を更に有し、
前記出力手段は、前記補正手段により色が補正された画像を出力する請求項1から4いずれか1項記載の画像形成装置。
A correction unit that corrects a color of an image instructed to be printed by the print instruction based on the correction data generated by the correction data generation unit;
The image forming apparatus according to claim 1, wherein the output unit outputs an image whose color is corrected by the correction unit.
印刷指示に含まれる描画命令の色値のリストを当該印刷指示から抽出して作成する作成ステップと、
前記作成ステップにおいて作成された色値のリストを、自然画像以外のラスタ画像の描画を指示するラスタ描画命令を優先して並び替える並び替えステップと、
前記並び替えステップにおいて並び替えられた色値のリストを、色補正を行う対象の対象色の候補として提示する提示ステップと、
前記提示ステップにおいて提示された対象色の候補の中から、色補正を行う対象となる対象色の指定を受付ける指定受付ステップと、
前記対象色に対する色補正の目標となる目標色を有する目標画像を読み取る読取ステップと、
前記指定受付ステップにより受付けた対象色が、前記目標色に近い出力色となるように前記印刷指示により印刷が指示された画像の色を補正するための補正データを生成する補正データ生成ステップとをコンピュータに実行させるためのプログラム。
A creation step of extracting and creating a list of color values of a drawing command included in the print instruction from the print instruction;
A reordering step for reordering the list of color values created in the creating step with priority given to a raster rendering command that instructs rendering of a raster image other than a natural image;
A presenting step of presenting a list of color values rearranged in the rearrangement step as candidates for a target color to be subjected to color correction;
A designation receiving step for accepting designation of a target color to be subjected to color correction from among target color candidates presented in the presenting step;
A reading step of reading a target image having a target color that is a target of color correction for the target color;
A correction data generation step for generating correction data for correcting the color of the image instructed to be printed by the print instruction so that the target color received in the designation reception step is an output color close to the target color. A program that causes a computer to execute.
JP2015235359A 2015-12-02 2015-12-02 Image forming apparatus and program Active JP6707262B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015235359A JP6707262B2 (en) 2015-12-02 2015-12-02 Image forming apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015235359A JP6707262B2 (en) 2015-12-02 2015-12-02 Image forming apparatus and program

Publications (2)

Publication Number Publication Date
JP2017103616A true JP2017103616A (en) 2017-06-08
JP6707262B2 JP6707262B2 (en) 2020-06-10

Family

ID=59016921

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015235359A Active JP6707262B2 (en) 2015-12-02 2015-12-02 Image forming apparatus and program

Country Status (1)

Country Link
JP (1) JP6707262B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112102439A (en) * 2019-09-05 2020-12-18 北京无线电测量研究所 Target characteristic image drawing device and dynamic drawing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112102439A (en) * 2019-09-05 2020-12-18 北京无线电测量研究所 Target characteristic image drawing device and dynamic drawing method
CN112102439B (en) * 2019-09-05 2024-04-19 北京无线电测量研究所 Drawing device and dynamic drawing method for target feature image

Also Published As

Publication number Publication date
JP6707262B2 (en) 2020-06-10

Similar Documents

Publication Publication Date Title
US10530969B2 (en) Matching output colors of printers having different gamut ranges
JP2009071548A (en) Color processing device and method therefor
US8913312B2 (en) Image processing method and apparatus using virtual color gamut information in association with color standards and processed statistically to offset a difference in color reproducibility of an output apparatus
JP6210319B2 (en) Printing method and printing system
JP2017022648A (en) Image formation apparatus and program
US9202150B2 (en) Print control system, print control method, and computer program product
JP6844296B2 (en) Print data processing equipment and programs
JP6707262B2 (en) Image forming apparatus and program
US9813592B2 (en) Image forming apparatus, storage medium, and color conversion method
JP6895791B2 (en) Color processing equipment, color processing method
US8531746B2 (en) Image processing apparatus
JP2009017473A (en) Color gamut generation device, color gamut generation method, color gamut generation program, and color conversion unit
JP2016100682A (en) Image processing apparatus, control program of image processing apparatus, and control method of image processing apparatus
JP2016225701A (en) Image processing apparatus and image processing method
JP6562381B2 (en) Image forming apparatus and program
JP5849549B2 (en) Color processing apparatus and program
JP2006053642A (en) Print result notification device
JP2013042349A (en) Image processing apparatus, image processing method, program, and recording medium
JP7321885B2 (en) Image processing device, image processing method, and program
US10306104B2 (en) Image processing method and image processing apparatus that ensure efficient memory use, and recording medium therefor
JP2008271572A (en) Image reproduction utilizing specific color space
US10057458B2 (en) Method and apparatus for printing in grayscale
JP6405248B2 (en) Image processing apparatus, image processing method, and program
JP6684164B2 (en) Color processing device and color processing method
JP6604159B2 (en) Information processing apparatus, program, and image processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181022

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190829

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190913

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191107

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200503

R150 Certificate of patent or registration of utility model

Ref document number: 6707262

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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