JP7331602B2 - Color conversion table correction device and program - Google Patents

Color conversion table correction device and program Download PDF

Info

Publication number
JP7331602B2
JP7331602B2 JP2019183372A JP2019183372A JP7331602B2 JP 7331602 B2 JP7331602 B2 JP 7331602B2 JP 2019183372 A JP2019183372 A JP 2019183372A JP 2019183372 A JP2019183372 A JP 2019183372A JP 7331602 B2 JP7331602 B2 JP 7331602B2
Authority
JP
Japan
Prior art keywords
color
image data
area
printing
conversion table
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.)
Active
Application number
JP2019183372A
Other languages
Japanese (ja)
Other versions
JP2021061489A (en
Inventor
岳志 山口
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2019183372A priority Critical patent/JP7331602B2/en
Publication of JP2021061489A publication Critical patent/JP2021061489A/en
Application granted granted Critical
Publication of JP7331602B2 publication Critical patent/JP7331602B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Image Processing (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

本発明は、色変換テーブル修正装置及びプログラムに関する。 The present invention relates to a color conversion table correction device and program.

一般に、CMYK表色系やRGB表色系で表される画像データは、入出力デバイスの入出力特性に依存している。例えば、同じCMYKの画像データを異なるプリンターで印刷した場合、プリンターによって異なる色で再現される。そこで、プリンターで印刷する際の原稿となる画像データ(印刷用画像データ)に対して、目標とする色再現特性に合わせるための色変換処理を行う必要がある。 In general, image data represented by the CMYK color system or the RGB color system depends on the input/output characteristics of input/output devices. For example, when the same CMYK image data is printed by different printers, different colors are reproduced depending on the printer. Therefore, it is necessary to perform color conversion processing to match the target color reproduction characteristics to the image data (image data for printing) that will be the original when printed by the printer.

色変換処理は、色変換テーブルを用いて行われるが、一部の色だけを、色合わせ目標印刷物(色見本)の色に合わせたい場合がある。例えば、月次の会報などにおいて、ロゴの色は先月度の色と同じに、と指定されることがある。このような場合、色見本をスキャナー等で読み取って得られた値を基に色変換テーブルを修正する方法があるが、原稿の画像データと色見本の読取画像データとで色合わせを行うべき色を対応付けることが難しい。 The color conversion process is performed using a color conversion table, and there are cases where it is desired to match only some colors to the colors of the color-matching target printed material (color sample). For example, in a monthly bulletin, the color of the logo may be specified to be the same as the last month's color. In such a case, there is a method of correcting the color conversion table based on the values obtained by reading the color sample with a scanner or the like. is difficult to match.

例えば、特許文献1には、原稿画像データと、この原稿画像データに基づき画像が印刷された印刷物との色の対応関係を求めるために、原稿画像データと前記印刷物の読取画像データの幾何対応関係を推定し、この幾何対応関係に基づいて少なくとも一方に対し、両者を一致させる幾何変換を行うことにより両者の位置合わせを行って、色の対応する領域を抽出することが記載されている。 For example, Japanese Patent Laid-Open No. 2002-100000 discloses a geometric correspondence relationship between document image data and read image data of the printed matter in order to obtain a color correspondence relationship between the document image data and a printed matter on which an image is printed based on the document image data. are estimated, and based on this geometric correspondence relationship, at least one of them is geometrically transformed to match them, thereby aligning them and extracting a corresponding color region.

特開2016-72816号公報JP 2016-72816 A

しかしながら、特許文献1に記載の手法は、原稿画像データと読取画像データの内容(文字やレイアウト)が一致していることが前提であり、原稿画像データと色見本のように内容が異なる場合には位置合わせがうまくいかず、色合わせを行うことができない。また、対応する一部領域のみをスキャンする方法もあるが、該当領域のみをスキャンするのは煩雑である。 However, the method described in Patent Document 1 assumes that the contents (characters and layout) of the document image data and the read image data match. is not aligned properly and color matching cannot be performed. There is also a method of scanning only the corresponding partial area, but scanning only the corresponding area is complicated.

本発明の課題は、印刷用画像データの一部の色を文字やレイアウトの異なる色合わせ目標印刷物の色に合わせることができるようにすることである。 SUMMARY OF THE INVENTION An object of the present invention is to make it possible to match some colors of image data for printing with the colors of a color-matching target printed material having different characters and layouts.

上記課題を解決するため、請求項1に記載の発明の色変換テーブル修正装置は、
印刷用画像データの色変換に用いる色変換テーブルを取得する色変換テーブル取得手段と、
前記印刷用画像データの色分布情報を取得する第1の色分布取得手段と、
前記印刷用画像データの一部の色合わせ目標となる画像領域を含む色合わせ目標印刷物を測色して色分布情報を取得する第2の色分布取得手段と、
前記印刷用画像データの色分布情報と前記色合わせ目標印刷物の色分布情報を色空間上で比較して、互いの色分布の形状が近似する領域を対応付けて抽出する抽出手段と、
前記抽出手段により抽出された領域に基づいて前記印刷用画像データにおける修正対象の領域を決定し、前記色変換テーブルにおける前記修正対象の領域の色の変換情報を、前記色合わせ目標印刷物の前記修正対象の領域に対応する色に基づいて修正する修正手段と、
を備える。
In order to solve the above problems, the color conversion table correcting device of the invention described in claim 1 comprises:
a color conversion table obtaining means for obtaining a color conversion table used for color conversion of image data for printing;
a first color distribution obtaining means for obtaining color distribution information of the image data for printing;
a second color distribution obtaining means for obtaining color distribution information by measuring a color matching target printed material including an image area serving as a color matching target for a part of the image data for printing;
an extracting means for comparing the color distribution information of the image data for printing and the color distribution information of the color matching target printed material in a color space, and extracting regions having similar color distribution shapes in association with each other;
determining an area to be corrected in the image data for printing based on the area extracted by the extracting means; a correcting means for correcting based on the color corresponding to the region of interest;
Prepare.

請求項2に記載の発明は、請求項1に記載の発明において、
前記抽出手段は、前記印刷用画像データの色分布情報及び前記色合わせ目標印刷物の色分布情報をそれぞれクラスタリングし、前記色空間上において代表色からの距離が所定の閾値以下の色の頻度が所定の閾値以上の色分布領域を前記比較の対象領域とし、前記対象領域間の距離が所定の閾値以下であり、かつ前記対象領域に含まれる色の頻度の差が所定の閾値以下の領域を前記色分布の形状が近似する領域として抽出する。
The invention according to claim 2 is the invention according to claim 1,
The extraction means clusters the color distribution information of the image data for printing and the color distribution information of the color-matching target print, respectively, and the frequency of colors whose distance from the representative color is equal to or less than a predetermined threshold in the color space is determined. A color distribution area equal to or greater than the threshold of is set as the comparison target area, a distance between the target areas is equal to or less than a predetermined threshold, and a difference in frequency of colors included in the target areas is equal to or less than the predetermined threshold. It is extracted as an area where the shape of the color distribution is similar.

請求項3に記載の発明は、請求項2に記載の発明において、
ユーザー操作に応じて前記抽出手段による抽出に用いられる前記閾値のそれぞれを設定する設定手段を備える。
The invention according to claim 3 is the invention according to claim 2,
A setting unit is provided for setting each of the threshold values used for extraction by the extraction unit according to a user operation.

請求項4に記載の発明は、請求項1~3のいずれか一項に記載の発明において、
ユーザーが色合わせ対象の色を指定するための指定手段を備え、
前記修正手段は、前記指定手段による指定結果と、前記色分布の形状が近似する領域の抽出結果とに基づいて、前記修正対象の領域を決定する。
The invention according to claim 4 is the invention according to any one of claims 1 to 3,
Provided with a designating means for the user to designate a color to be color-matched,
The modifying means determines the area to be modified based on the designation result of the designating means and the extraction result of the area where the shape of the color distribution is similar.

請求項5に記載の発明は、請求項1~4のいずれか一項に記載の発明において、
前記修正対象の領域をユーザーに報知するための報知手段を備える。
The invention according to claim 5 is the invention according to any one of claims 1 to 4,
A notification means is provided for notifying the user of the area to be corrected.

請求項6に記載の発明は、請求項1~3のいずれか一項に記載の発明において、
前記抽出手段により抽出された領域をユーザーに報知するための報知手段と、
前記報知された領域の中からユーザーが領域を選択するための選択手段を備え、
前記修正手段は、前記選択手段により選択された領域を前記修正対象の領域と決定して前記色変換テーブルの修正を行う。
The invention according to claim 6 is the invention according to any one of claims 1 to 3,
a notification means for notifying a user of the region extracted by the extraction means;
comprising selection means for the user to select an area from the notified areas;
The modifying means determines the area selected by the selecting means as the area to be modified, and modifies the color conversion table.

請求項7に記載の発明のプログラムは、
コンピューターを、
印刷用画像データの色変換に用いる色変換テーブルを取得する色変換テーブル取得手段、
前記印刷用画像データの色分布情報を取得する第1の色分布取得手段、
前記印刷用画像データの一部の色合わせ目標となる画像領域を含む色合わせ目標印刷物を測色して色分布情報を取得する第2の色分布取得手段、
前記印刷用画像データの色分布情報と前記色合わせ目標印刷物の色分布情報を色空間上で比較して、互いの色分布の形状が近似する領域を対応付けて抽出する抽出手段、
前記抽出手段により抽出された領域に基づいて前記印刷用画像データにおける修正対象の領域を決定し、前記色変換テーブルにおける前記修正対象の領域の色の変換情報を、前記色合わせ目標印刷物の前記修正対象の領域に対応する色に基づいて修正する修正手段、
として機能させる。
The program of the invention according to claim 7,
the computer,
color conversion table acquisition means for acquiring a color conversion table used for color conversion of image data for printing;
first color distribution acquisition means for acquiring color distribution information of the image data for printing;
a second color distribution obtaining means for obtaining color distribution information by measuring the color of a color matching target printed material including an image area serving as a color matching target for a part of the image data for printing;
extraction means for comparing the color distribution information of the image data for printing and the color distribution information of the color-matching target printed matter in a color space, and extracting areas in which the shapes of the color distributions are similar to each other in association with each other;
determining an area to be corrected in the image data for printing based on the area extracted by the extracting means; a correction means that corrects based on the color corresponding to the region of interest;
function as

本発明によれば、印刷用画像データの一部の色を文字やレイアウトの異なる色合わせ目標印刷物の色に合わせることが可能となる。 According to the present invention, it is possible to match a part of the colors of the image data for printing with the colors of the color-matching target printed material having different characters and layouts.

印刷システムのシステム構成図である。1 is a system configuration diagram of a printing system; FIG. コントローラーの機能的構成を示すブロック図である。3 is a block diagram showing the functional configuration of a controller; FIG. 色変換テーブル修正装置の機能的構成を示すブロック図である。2 is a block diagram showing the functional configuration of a color conversion table correction device; FIG. 色変換テーブル修正処理を示すフローチャートである。4 is a flowchart showing color conversion table correction processing; (a)は、印刷用画像データの一例を示す図、(b)は、印刷用画像データの色分布図である。(a) is a diagram showing an example of image data for printing, and (b) is a color distribution diagram of the image data for printing. (a)は、色合わせ目標印刷物の一例を示す図、(b)は、色合わせ目標印刷物の色分布図である。(a) is a diagram showing an example of a color-matching target print, and (b) is a color distribution diagram of the color-matching target print. 色合わせ対象の色をユーザーが指定するためのユーザーインターフェースの一例を示す図である。FIG. 10 is a diagram showing an example of a user interface for a user to specify a color to be color-matched; 色合わせ対象領域の表示の一例を示す図である。FIG. 10 is a diagram showing an example of display of a color matching target area; ソースプロファイルの修正量のデータ構造を示す図である。FIG. 10 is a diagram showing the data structure of the correction amount of the source profile;

以下、本発明の実施形態を図面に基づいて詳細に説明する。ただし、発明の範囲は図示例に限定されない。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail based on the drawings. However, the scope of the invention is not limited to the illustrated examples.

まず、本発明の実施形態における印刷システム100の構成について説明する。
図1に、印刷システム100のシステム構成を示す。図1に示すように、印刷システム100は、プリンター10、コントローラー20、色変換テーブル修正装置30、印刷指示端末40a,40b,・・・を備え、各装置は、通信ネットワークNを介してデータ通信可能に接続されている。
First, the configuration of the printing system 100 according to the embodiment of the present invention will be described.
FIG. 1 shows the system configuration of a printing system 100. As shown in FIG. As shown in FIG. 1, the printing system 100 includes a printer 10, a controller 20, a color conversion table correction device 30, print instruction terminals 40a, 40b, . connected as possible.

プリンター10は、コントローラー20から受信したビットマップ形式の画像データ(CMYKデータ)に基づいて印刷を行う画像形成装置である。プリンター10における印刷方式としては、電子写真方式やインクジェット方式等の各種の印刷方式を採用することができる。 The printer 10 is an image forming apparatus that performs printing based on bitmap image data (CMYK data) received from the controller 20 . As a printing method in the printer 10, various printing methods such as an electrophotographic method and an inkjet method can be adopted.

コントローラー20は、印刷指示端末40a,40b,・・・から送信された印刷データに対してラスタライズ(RIP処理)を行って印刷用画像データを作成し、印刷用画像データに色変換、スクリーニング等の画像処理を行ってプリンター10に送信する。なお、コントローラー20は、プリンター10に内蔵されていてもよい。また、コントローラー20とプリンター10とは、PCI接続等、専用線を介して接続されていてもよい。 The controller 20 rasterizes (RIPs) the print data transmitted from the print instruction terminals 40a, 40b, . Image processing is performed and the image is transmitted to the printer 10 . Note that the controller 20 may be built in the printer 10 . Also, the controller 20 and the printer 10 may be connected via a dedicated line such as a PCI connection.

色変換テーブル修正装置30は、コントローラー20において印刷用画像データに色変換処理を行う際に用いられる色変換テーブルを色合わせの目標となる色合わせ目標印刷物に基づいて修正する。なお、色変換テーブル修正装置30は、コントローラー20やプリンター10に内蔵されていてもよい。 The color conversion table correction device 30 corrects the color conversion table used when the controller 20 performs color conversion processing on the image data for printing, based on the color matching target printed matter that is the target of color matching. Note that the color conversion table correction device 30 may be built in the controller 20 or the printer 10 .

印刷指示端末40a,40b,・・・は、プリンタードライバープログラムや専用のソフトウェアを用いて、コントローラー20に対して印刷指示を行う。具体的には、印刷指示端末40a,40b,・・・は、ユーザー操作に応じて、ジョブの情報としてコントローラー20が解釈可能なページ記述言語(PDL:Page Description Language)で記述された印刷データを生成し、生成された印刷データをコントローラー20に送信する。 The print instruction terminals 40a, 40b, . . . issue print instructions to the controller 20 using a printer driver program or dedicated software. Specifically, the print instruction terminals 40a, 40b, . and transmits the generated print data to the controller 20 .

図2に、コントローラー20の機能的構成を示す。図2に示すように、コントローラー20は、CPU(Central Processing Unit)21、RAM(Random Access Memory)22、記憶部23、操作部24、表示部25、通信部26等を備え、各部はバス27により接続されている。 FIG. 2 shows the functional configuration of the controller 20. As shown in FIG. As shown in FIG. 2, the controller 20 includes a CPU (Central Processing Unit) 21, a RAM (Random Access Memory) 22, a storage section 23, an operation section 24, a display section 25, a communication section 26, and the like. connected by

CPU21は、コントローラー20の各部の処理動作を統括的に制御する。CPU21は、操作部24から入力される操作信号又は通信部26により受信される指示信号に応じて、記憶部23に格納されている各種処理プログラムを読み出してRAM22に展開し、当該プログラムとの協働により各種処理を実行する。 The CPU 21 comprehensively controls the processing operations of each section of the controller 20 . The CPU 21 reads various processing programs stored in the storage unit 23 according to an operation signal input from the operation unit 24 or an instruction signal received by the communication unit 26, develops them in the RAM 22, and cooperates with the programs. Various processes are executed depending on the function.

例えば、CPU21は、印刷指示端末40a,40b,・・・から受信した印刷データ(PDLデータ)を解析し、RIP処理プログラム230との協働によりビットマップ形式の印刷用画像データ(CMYK値)に展開する(RIP(Raster Image Processer)処理)。また、印刷指示端末40a,40b,・・・から受信した印刷データに基づきジョブの一覧を生成して色変換テーブル修正装置30に送信する。また、色変換テーブル修正装置30からの要求に応じて、印刷用画像データ、デバイスプロファイル232、デバイスリンクプロファイル233(詳細後述)を色変換テーブル修正装置30に送信する。 For example, the CPU 21 analyzes the print data (PDL data) received from the print instruction terminals 40a, 40b, . Develop (RIP (Raster Image Processor) processing). Also, a list of jobs is generated based on the print data received from the print instruction terminals 40a, 40b, . . . In addition, in response to a request from the color conversion table correction device 30, the image data for printing, the device profile 232, and the device link profile 233 (details will be described later) are sent to the color conversion table correction device 30. FIG.

また、CPU21は、色変換処理プログラム231との協働により、色変換テーブル修正装置30から受信した修正済みのデバイスプロファイル232又はデバイスリンクプロファイル233を用いて、印刷用画像データに対して色変換を行う。 In addition, the CPU 21 cooperates with the color conversion processing program 231 to perform color conversion on the image data for printing using the corrected device profile 232 or device link profile 233 received from the color conversion table correction device 30. conduct.

RAM22は、CPU21により実行される各種処理プログラム及びこれらプログラムに係るデータを一時的に記憶するワークエリアを形成する。 The RAM 22 forms a work area for temporarily storing various processing programs executed by the CPU 21 and data related to these programs.

記憶部23は、不揮発性の半導体メモリーやハードディスク等の記憶装置からなり、各種処理プログラムや各種処理に関するデータ、受信した印刷データ等を記憶する。例えば、記憶部23は、RIP処理プログラム230、色変換処理プログラム231、デバイスプロファイル232、デバイスリンクプロファイル233等を記憶する。デバイスプロファイル232、デバイスリンクプロファイル233は、色変換処理に用いられる色変換テーブルであり、一又は複数記憶されている。 The storage unit 23 is composed of a storage device such as a nonvolatile semiconductor memory or a hard disk, and stores various processing programs, data related to various processing, received print data, and the like. For example, the storage unit 23 stores a RIP processing program 230, a color conversion processing program 231, a device profile 232, a device link profile 233, and the like. The device profile 232 and device link profile 233 are color conversion tables used for color conversion processing, and one or more of them are stored.

デバイスプロファイル232は、モニターやプリンター等のデバイスに依存するデバイス値(CMYK値、RGB値等)と、デバイスに依存しない色彩値(XYZ値、L値等)と、を対応付けたものであり、デバイス値から色彩値への色変換テーブル(LUT:Look Up Table)と色彩値からデバイス値への色変換テーブルから構成される。例えば、CMYKプリンターのデバイスプロファイル232の場合、CMYK値からL値へのLUT(AtoBテーブルという。)と、L値からCMYK値へのLUT(BtoAテーブルという。)から構成される。色彩値は、プロファイルをつなぐ色空間となることから、プロファイルコネクションスペースと呼ばれる。 The device profile 232 associates device values (CMYK values, RGB values, etc.) that depend on devices such as monitors and printers with device-independent color values (XYZ values, L * a * b * values, etc.). It consists of a color conversion table (LUT: Look Up Table) from device values to color values and a color conversion table from color values to device values. For example, in the case of the device profile 232 of a CMYK printer, there is an LUT from CMYK values to L * a * b * values (referred to as an AtoB table) and an LUT from L * a * b * values to CMYK values (referred to as a BtoA table. ). A color value is called a profile connection space because it becomes a color space that connects profiles.

色変換処理を行うには、色合わせの目標とするデバイスのデバイスプロファイル232が必要となり、それをソースプロファイル(ターゲットプロファイル)と呼ぶ。例えば、ソースプロファイルとして、オフセット印刷機のプロファイルや、JapanColor等の標準的なプロファイルが選択される。そして、出力デバイスのデバイスプロファイル232をデスティネーションプロファイル(プリンタープロファイル)と呼ぶ。デスティネーションプロファイルとして、実際に出力するプリンター10のプロファイルが選択される。
入力された画像データのデバイス値(CMYK値、RGB値等)は、ソースプロファイルのAtoBテーブルを用いてデバイスに依存しない色彩値に変換され、この色彩値がデスティネーションプロファイルのBtoAテーブルを用いて出力デバイスのデバイス値(CMYK値)に変換される。この変換を経ることで、目標とするデバイスのデバイス値に対応するプリンター10のCMYK値を求めることができる。
To perform color conversion processing, a device profile 232 of the target device for color matching is required, which is called a source profile (target profile). For example, a profile of an offset printing machine or a standard profile such as JapanColor is selected as the source profile. The device profile 232 of the output device is called a destination profile (printer profile). As the destination profile, the profile of the printer 10 that actually outputs is selected.
Device values (CMYK values, RGB values, etc.) of the input image data are converted into device-independent color values using the AtoB table of the source profile, and these color values are output using the BtoA table of the destination profile. It is converted to the device value (CMYK value) of the device. Through this conversion, the CMYK values of the printer 10 corresponding to the device values of the target device can be obtained.

デバイスリンクプロファイル233は、入力デバイスのデバイス値から色彩値への色変換テーブルと色彩値から出力デバイスのデバイス値への色変換テーブルを一つのLUTにしたものである。つまり、デバイスリンクプロファイル233は、入力デバイスのデバイス値と出力デバイスのデバイス値を対応付けたLUTである。デバイスリンクプロファイル233を用いることにより、色変換が一度で済むとともに、CMYK値の場合、3次元のL値等に変換しなくてよいので、墨版の情報を残すことができる等、情報の欠損が少なくなる。ただし、デバイスリンクプロファイル233だけでは、色彩値を取得することはできない。
デバイスリンクプロファイル233の場合、一つのLUTのみから構成される。入力画像データのデバイス値は、デバイスリンクプロファイル233のLUTを用いて、出力デバイスのCMYK値に変換される。
The device link profile 233 is one LUT that includes a color conversion table from the device value of the input device to the color value and a color conversion table from the color value to the device value of the output device. That is, the device link profile 233 is an LUT that associates device values of input devices and device values of output devices. By using the device link profile 233, color conversion can be completed only once, and in the case of CMYK values, there is no need to convert them into three-dimensional L * a * b * values, etc., so black plate information can be left. etc., the loss of information is reduced. However, the device link profile 233 alone cannot acquire color values.
The device link profile 233 consists of only one LUT. The device values of the input image data are converted into CMYK values of the output device using the device link profile 233 LUT.

本実施形態においては、デバイスプロファイル232として、入力された印刷データをRIP処理することにより得られた印刷用画像データ(CMYK値)を色彩値に変換するためのソースプロファイル、スキャナー50により読み取られた読取画像データ(RGB値)を色彩値に変換するためのソースプロファイル(以下、スキャナープロファイルと呼ぶ)、色彩値をプリンター10のCMYK値に変換するためのデスティネーションプロファイルが記憶されている。
また、デバイスリンクプロファイル233として、入力された印刷データをRIP処理することにより得られた印刷用画像データ(CMYK値)を目標とするデバイスのデバイス値に対応するプリンター10のCMYK値に変換するためのデバイスリンクプロファイル233が記憶されている。
In the present embodiment, the device profile 232 is a source profile for converting print image data (CMYK values) obtained by RIP-processing input print data into color values. A source profile (hereinafter referred to as a scanner profile) for converting read image data (RGB values) into color values and a destination profile for converting color values into CMYK values of the printer 10 are stored.
Also, as the device link profile 233, the image data for printing (CMYK values) obtained by performing RIP processing on the input print data is converted into the CMYK values of the printer 10 corresponding to the device values of the target device. device link profile 233 is stored.

操作部24は、カーソルキー、文字入力キー及び各種機能キー等を備えたキーボードと、マウス等のポインティングデバイスを備えて構成され、ユーザーによる操作入力を受け付ける。操作部24は、キーボードに対するキー操作やマウス操作により入力された操作信号をCPU21に出力する。 The operation unit 24 includes a keyboard having cursor keys, character input keys, various function keys, etc., and a pointing device such as a mouse, and receives operation inputs from the user. The operation unit 24 outputs to the CPU 21 an operation signal input by a key operation on the keyboard or a mouse operation.

表示部25は、LCD(Liquid Crystal Display)を備え、CPU21からの指示に従って、各種操作画面や各種処理結果を表示する。 The display unit 25 has an LCD (Liquid Crystal Display), and displays various operation screens and various processing results according to instructions from the CPU 21 .

通信部26は、通信ネットワークNを介して外部装置との間でデータの送受信を行う。 The communication unit 26 transmits and receives data to and from an external device via the communication network N. FIG.

図3に、色変換テーブル修正装置30の機能的構成を示す。図3に示すように、色変換テーブル修正装置30は、CPU31、RAM32、記憶部33、操作部34、表示部35、通信部36、IF(Inter Face)部37等を備え、各部はバス38により接続されている。 FIG. 3 shows the functional configuration of the color conversion table correction device 30. As shown in FIG. As shown in FIG. 3, the color conversion table correction device 30 includes a CPU 31, a RAM 32, a storage section 33, an operation section 34, a display section 35, a communication section 36, an IF (Interface) section 37, etc. Each section connects to a bus 38. connected by

CPU31は、色変換テーブル修正装置30の各部の処理動作を統括的に制御する。CPU31は、操作部34から入力される操作信号又は通信部36により受信される指示信号に応じて、記憶部33に格納されている各種処理プログラムを読み出してRAM32に展開し、当該プログラムとの協働により各種処理を実行する。
例えば、CPU31は、色変換テーブル修正処理プログラム331との協働により後述する色変換テーブル修正処理を実行し、選択されたジョブの印刷用画像データに適用する色変換テーブルをコントローラー20から取得して修正し、コントローラー20に送信する。CPU31は、色変換テーブル修正処理を実行することにより、色変換テーブル取得手段、第1の色分布情報取得手段、第2の色分布情報取得手段、抽出手段、修正手段、設定手段として機能する。
The CPU 31 comprehensively controls the processing operations of each section of the color conversion table correction device 30 . The CPU 31 reads various processing programs stored in the storage unit 33 according to an operation signal input from the operation unit 34 or an instruction signal received by the communication unit 36, develops them in the RAM 32, and cooperates with the programs. Various processes are executed depending on the function.
For example, the CPU 31 cooperates with the color conversion table correction processing program 331 to execute a color conversion table correction process, which will be described later, to obtain from the controller 20 a color conversion table to be applied to the print image data of the selected job. Correct it and send it to the controller 20 . The CPU 31 functions as color conversion table acquisition means, first color distribution information acquisition means, second color distribution information acquisition means, extraction means, correction means, and setting means by executing the color conversion table correction process.

RAM32は、CPU31により実行される各種処理プログラム及びこれらプログラムに係るデータを一時的に記憶するワークエリアを形成する。 The RAM 32 forms a work area for temporarily storing various processing programs executed by the CPU 31 and data related to these programs.

記憶部33は、不揮発性の半導体メモリーやハードディスク等の記憶装置からなり、各種処理プログラムや各種処理に関するデータ等を記憶する。例えば、記憶部33は、色変換テーブル修正処理プログラム331等を記憶する。 The storage unit 33 is composed of a storage device such as a nonvolatile semiconductor memory or a hard disk, and stores various processing programs, data related to various processes, and the like. For example, the storage unit 33 stores a color conversion table correction processing program 331 and the like.

操作部34は、カーソルキー、文字入力キー及び各種機能キー等を備えたキーボードと、マウス等のポインティングデバイスを備えて構成され、ユーザーによる操作入力を受け付ける。操作部34は、キーボードに対するキー操作やマウス操作により入力された操作信号をCPU31に出力する。
操作部34は、指定手段として機能する。
The operation unit 34 includes a keyboard having cursor keys, character input keys, various function keys, etc., and a pointing device such as a mouse, and receives operation inputs from the user. The operation unit 34 outputs to the CPU 31 an operation signal input by a key operation on the keyboard or a mouse operation.
The operation unit 34 functions as specifying means.

表示部35は、LCDを備え、CPU31からの指示に従って、各種操作画面や各種処理結果を表示する。例えば、表示部35は、色変換テーブルを修正する際のGUI(Graphical User Interface、例えば、図7、図8参照)を表示する。
表示部35は、報知手段として機能する。
The display unit 35 has an LCD and displays various operation screens and various processing results according to instructions from the CPU 31 . For example, the display unit 35 displays a GUI (Graphical User Interface, eg, see FIGS. 7 and 8) for correcting the color conversion table.
The display unit 35 functions as notification means.

通信部36は、通信ネットワークNを介して外部装置との間でデータの送受信を行う。例えば、通信部36は、色変換テーブル修正装置30において修正された色変換テーブルをコントローラー20に送信する。 The communication unit 36 transmits and receives data to and from an external device via the communication network N. FIG. For example, the communication unit 36 transmits the color conversion table corrected by the color conversion table correction device 30 to the controller 20 .

IF部37は、スキャナー50から色合わせの目標となる色合わせ目標印刷物を読み取ることにより得られた読取画像データ(RGB値)を受信する。 The IF unit 37 receives read image data (RGB values) obtained by reading a color matching target printed material, which is a target for color matching, from the scanner 50 .

次に、本実施形態の動作について説明する。
図4は、色変換テーブル修正装置30において実行される色変換テーブル修正処理を示すフローチャートである。色変換テーブル修正処理は、印刷用画像データの一部の色を色合わせ目標印刷物に含まれる画像領域の色に合わせたい場合に、コントローラー20に記憶されている、印刷用画像データの色変換に用いる色変換テーブル(デバイスプロファイル232又はデバイスリンクプロファイル233)の一部を色合わせ目標印刷物の色に基づいて修正する処理である。
Next, the operation of this embodiment will be described.
FIG. 4 is a flow chart showing the color conversion table correction processing executed by the color conversion table correction device 30. As shown in FIG. The color conversion table correction process is performed to match the color of a part of the image data for printing with the colors of the image area included in the color matching target printed material. This is a process of correcting a part of the color conversion table (device profile 232 or device link profile 233) to be used based on the colors of the color matching target printed matter.

色変換テーブル修正装置30は、操作部34により、ジョブ一覧からジョブが選択され、当該ジョブにおいて色変換に用いる色変換テーブルの修正の実行が指示された際に、CPU31と、記憶部33に記憶されている色変換テーブル修正処理プログラム331との協働によるソフトウェア処理によって実現される。
なお、図4においては、色変換テーブルとしてデバイスプロファイル232を用いる場合を例にとり説明する。
When a job is selected from the job list by the operation unit 34 and the execution of correction of the color conversion table used for color conversion in the job is instructed, the color conversion table correction device 30 stores the color conversion table in the CPU 31 and the storage unit 33 . It is realized by software processing in cooperation with the color conversion table correction processing program 331 provided.
Note that in FIG. 4, the case where the device profile 232 is used as the color conversion table will be described as an example.

まず、CPU31は、選択されたジョブの印刷用画像データの色変換に用いる色変換テーブル(ここでは、デバイスプロファイル232)をコントローラー20から取得する(ステップS1)。
ステップS1において、CPU31は、デバイスプロファイル232、すなわち、印刷用画像データ(CMYK値)を色彩値に変換するためのソースプロファイル、及び色彩値を印刷を行うプリンター10のCMYK値に変換するためのデスティネーションプロファイルをコントローラー20から取得する。併せて、スキャナー50により読み取られた読取画像データ(RGB値)を色彩値に変換するためのスキャナープロファイルを取得する。
First, the CPU 31 acquires from the controller 20 a color conversion table (here, the device profile 232) used for color conversion of the print image data of the selected job (step S1).
In step S1, the CPU 31 selects the device profile 232, that is, the source profile for converting the image data for printing (CMYK values) into color values, and the destination profile for converting the color values into CMYK values for the printer 10 that performs printing. A nation profile is obtained from the controller 20. At the same time, a scanner profile for converting read image data (RGB values) read by the scanner 50 into color values is acquired.

次いで、CPU31は、選択されたジョブの印刷用画像データをコントローラー20から取得する(ステップS2)。
なお、色変換テーブル修正装置30にRIP処理プログラムを備える構成とし、コントローラー20から印刷データを受信して色変換テーブル修正装置30にてRIP処理を行って印刷用画像データを取得することとしてもよい。
Next, the CPU 31 acquires print image data of the selected job from the controller 20 (step S2).
Alternatively, the color conversion table correcting device 30 may be configured to include a RIP processing program, receive print data from the controller 20, and perform RIP processing in the color conversion table correcting device 30 to obtain image data for printing. .

次いで、CPU31は、色合わせ目標印刷物の読取画像データを取得する(ステップS3)。
例えば、CPU31は、スキャナー50においてユーザー操作に応じて色合わせ目標印刷物を読み取ることにより得られた読取画像データをIF部37を介して受信する。色合わせ目標印刷物は、印刷用画像データの一部の色合わせ目標となる画像領域を含む印刷物である。
Next, the CPU 31 acquires the read image data of the color matching target print (step S3).
For example, the CPU 31 receives, via the IF section 37, read image data obtained by reading the color matching target printed matter in the scanner 50 according to user's operation. The target color-matching printed material is a printed material that includes an image area that is part of the image data for printing and is a target for color matching.

次いで、CPU31は、印刷用画像データの色分布情報を取得する(ステップS4)。
例えば、CPU31は、印刷用画像データをソースプロファイルを用いて画素ごとにL値に変換することにより印刷用画像データの色分布情報を取得する。
Next, the CPU 31 acquires color distribution information of the image data for printing (step S4).
For example, the CPU 31 acquires the color distribution information of the image data for printing by converting the image data for printing into L * a * b * values for each pixel using the source profile.

次いで、CPU31は、色合わせ目標印刷物の色分布情報を取得する(ステップS5)。
例えば、CPU31は、色合わせ目標印刷物の読取画像データをスキャナープロファイルを用いて画素ごとにL値に変換することにより色合わせ目標印刷物の色分布情報を取得する。
Next, the CPU 31 acquires the color distribution information of the target printed material for color matching (step S5).
For example, the CPU 31 acquires the color distribution information of the color matching target print by converting the read image data of the color matching target print to L * a * b * values for each pixel using the scanner profile.

次いで、CPU31は、印刷用画像データの色分布情報と、色合わせ目標印刷物の色分布情報とを比較し、色空間上において互いの色分布の形状が近似している領域を対応付けて抽出する(ステップS6)。
例えば、CPU31は、まず、印刷用画像データの色分布情報と色合わせ目標印刷物の色分布情報のそれぞれを色空間(ここでは、L色空間)にプロットしてK-平均法などでクラスタリングし、クラスタリングにより分類された複数の色分布領域のうち、代表色からの距離が所定の閾値TH0以下の色の頻度が所定の閾値TH1以上の色分布領域を比較の対象領域として抽出する。代表色は、例えば、色分布領域に含まれる色の代表点(例えば、重心、中心、又は平均)の色である。なお、代表色からの距離が所定の閾値TH0以下の色の頻度は、印刷用画像データ又は色合わせ目標印刷物の読取画像データにおける、上記代表色からの距離が所定の閾値TH0以下の色の画素数をカウントすることにより求めることができる。
Next, the CPU 31 compares the color distribution information of the image data for printing with the color distribution information of the color-matching target printed matter, and extracts areas in which the shapes of the color distributions are similar to each other in the color space. (Step S6).
For example, the CPU 31 first plots the color distribution information of the image data for printing and the color distribution information of the target printed material for color matching in a color space (here, L * a * b * color space) and performs the K-mean method. etc., and among the plurality of color distribution areas classified by the clustering, a color distribution area whose distance from the representative color is less than or equal to a predetermined threshold TH0 and whose frequency is greater than or equal to a predetermined threshold TH1 is extracted as a comparison target area. do. The representative color is, for example, the color of the representative point (for example, the center of gravity, center, or average) of colors included in the color distribution area. Note that the frequency of colors whose distance from the representative color is equal to or less than a predetermined threshold TH0 is the pixel of a color whose distance from the representative color is equal to or less than a predetermined threshold TH0 in the image data for printing or the read image data of the color-matching target print. It can be obtained by counting the number.

図5(a)に、印刷用画像データの一例を示す。図5(b)に、図5(a)に示す印刷用画像データをソースプロファイルを用いてL値に変換し、L色空間上にプロットした色分布図を示す。なお、図5(b)においては、色の頻度を、その色を中心とする円の大きさ(面積)で示している。
図6(a)に、色合わせ目標印刷物の一例を示す。図6(b)に、図6(a)に示す色合わせ目標印刷物を読み取った読取画像データをスキャナープロファイルを用いてL値に変換し、L色空間上にプロットした色分布図を示す。なお、図6(b)においても同様に、色の頻度を、その色を中心とする円の大きさ(面積)で示している。
図5(b)、図6(b)に円で示した各領域がクラスタリングにより分類された複数の色分布領域である。
FIG. 5A shows an example of image data for printing. FIG. 5(b) is a color distribution diagram obtained by converting the printing image data shown in FIG. 5(a) into L * a * b * values using the source profile and plotting them on the L * a * b * color space. indicates Note that in FIG. 5B, the frequency of a color is indicated by the size (area) of a circle centered on that color.
FIG. 6A shows an example of a color matching target print. In FIG. 6(b), the read image data obtained by reading the color matching target printed matter shown in FIG. shows a color distribution diagram plotted in . Similarly, in FIG. 6B, the frequency of a color is indicated by the size (area) of a circle centered on that color.
Each region indicated by a circle in FIGS. 5B and 6B is a plurality of color distribution regions classified by clustering.

次いで、CPU31は、印刷用画像データの色分布情報から抽出した比較の対象領域と色合わせ目標印刷物の色分布情報から抽出した比較の対象領域を比較し、対象領域間の色空間上の距離が所定の閾値TH2以内であり、かつ、対象領域に含まれる色の頻度の差が所定の閾値TH3以内である領域を、互いの色分布の形状が近似している領域として対応付けて抽出する。ここで、対象領域に含まれる色の頻度は、印刷用画像データや色合わせ目標印刷物の読取画像データにおける対象領域に含まれる色の画素数をカウントすることにより求めることができる。 Next, the CPU 31 compares the target area for comparison extracted from the color distribution information of the image data for printing and the target area for comparison extracted from the color distribution information of the color matching target print, and determines the distance between the target areas in the color space. Areas within a predetermined threshold TH2 and in which the difference in color frequency included in the target area is within a predetermined threshold TH3 are extracted in association with each other as areas having similar color distribution shapes. Here, the frequency of colors included in the target area can be obtained by counting the number of pixels of the color included in the target area in the image data for printing or the read image data of the color-matching target print.

ステップS6により、印刷用画像データと色合わせ目標印刷物とで色及び大きさ(面積)が概ね一致している領域、すなわち、同じオブジェクトとみなせる領域を抽出することができる。
なお、閾値TH0~閾値TH3は、ユーザーの操作部34の操作により設定することができる。すなわち、どれだけ色分布の形状が近い領域を色が対応する領域として抽出するかをユーザーが設定することができる。
By step S6, it is possible to extract an area where the color and size (area) of the image data for printing and the color-matching target printed material are approximately the same, that is, an area that can be regarded as the same object.
Note that the thresholds TH0 to TH3 can be set by the operation of the operation unit 34 by the user. In other words, the user can set how close regions with similar color distribution shapes are to be extracted as regions with corresponding colors.

次いで、CPU31は、ユーザーにより色合わせ対象の色が指定されたか否かを判断する(ステップS7)。
例えば、CPU31は、図7に示すように、印刷用画像データに基づく画像と色合わせ目標印刷物の読取画像データに基づく画像を表示部35に表示させ、操作部34による色合わせ対象の色の指定を受け付ける。例えば、印刷用画像データに基づく画像上から色合わせ対象の色の指定を受け付ける。色は点で指定しても領域で指定してもよい。
ここで、色分布図上での比較だけでなく、ユーザーによる指定も用いることで、ユーザーの意図に即した色合わせが可能となる。
Next, the CPU 31 determines whether or not the user has specified a color to be matched (step S7).
For example, as shown in FIG. 7, the CPU 31 causes the display unit 35 to display an image based on the image data for printing and an image based on the read image data of the color-matching target printed matter, and the operation unit 34 designates a color to be color-matched. accept. For example, it accepts designation of a color to be subjected to color matching from an image based on image data for printing. A color can be specified by a point or by an area.
Here, by using not only comparison on the color distribution diagram but also designation by the user, it is possible to perform color matching that meets the user's intention.

ユーザーにより色合わせ対象の色が指定されたと判断した場合(ステップS7;YES)、CPU31は、色分布の形状が近似する領域の抽出結果とユーザーによる色合わせ対象の色の指定結果に基づいて色合わせ対象領域(修正対象の領域)を決定して強調表示し(ステップS8)、ステップS10に移行する。
例えば、色分布の形状が近似する領域として抽出された領域のうち、ユーザーが指定した色の領域を色合わせ対象領域として、すなわち、色変換テーブルの修正対象の領域として決定して強調表示する。
なお、両者が一致しない場合は、例えば、閾値TH0~TH3を再設定して色分布の形状が近似する領域の再抽出等を行う。
If it is determined that the user has specified a color to be color-matched (step S7; YES), the CPU 31 extracts a color based on the result of extraction of an area having a similar color distribution shape and the result of the user's specification of the color to be color-matched. A matching target area (correction target area) is determined and highlighted (step S8), and the process proceeds to step S10.
For example, among the regions extracted as regions having similar color distribution shapes, the user-specified color region is determined as a color matching target region, that is, a correction target region of the color conversion table, and is highlighted.
If the two do not match, for example, the threshold values TH0 to TH3 are reset, and an area having a similar color distribution shape is re-extracted.

ユーザーにより色合わせ対象の色が指定されていないと判断した場合(ステップS7;NO)、CPU31は、色分布の形状が近似する領域の抽出結果に基づいて色合わせ対象領域を決定して強調表示し(ステップS9)、ステップS10に移行する。
例えば、色分布の形状が近似する領域として抽出された領域の全てを色合わせ対象領域として、すなわち、色変換テーブルの修正対象の領域として決定して強調表示する。
If it is determined that the user has not designated a color for color matching (step S7; NO), the CPU 31 determines a color matching target region based on the extraction result of the region where the shape of the color distribution is similar, and highlights it. (step S9), and the process proceeds to step S10.
For example, all of the regions extracted as regions having similar color distribution shapes are determined as color matching target regions, that is, regions to be corrected in the color conversion table, and highlighted.

図8に、ステップS8、S9における、色合わせ対象領域の表示の一例を示す。ステップS8、S9では、色合わせ対象領域を点滅や縁取り、フォーカス(対象以外はグレーアウト(図8の例))などにより強調表示し、ユーザーに報知する。 FIG. 8 shows an example of the display of the color matching target area in steps S8 and S9. In steps S8 and S9, the target area for color matching is highlighted by blinking, framing, focusing (other than the target area is grayed out (example in FIG. 8)), and the like to notify the user.

次いで、CPU31は、表示された領域の色合わせ(色変換テーブルの修正)の実行が指示されたか否かを判断する(ステップS10)。
例えば、操作部34により図8のYESが押下された場合、表示された領域の色合わせの実行が指示されたと判断する。
なお、ユーザーからの最終確認を経て色合わせを実行することが好ましいが、ステップS10の判断をスキップして、ステップS11に移行してもよい。
Next, the CPU 31 determines whether execution of color matching (correction of the color conversion table) of the displayed area has been instructed (step S10).
For example, when YES in FIG. 8 is pressed by the operation unit 34, it is determined that execution of color matching of the displayed area has been instructed.
Although it is preferable to perform color matching after final confirmation from the user, the determination in step S10 may be skipped and the process may proceed to step S11.

表示された領域の色合わせ(色変換テーブルの修正)の実行が指示されたと判断した場合(ステップS10;YES)、CPU31は、決定した色合わせ対象領域に基づいて、色変換テーブルを修正する修正色のリストを作成する(ステップS11)。
ステップS11においては、例えば、印刷用画像データの決定した色合わせ対象領域内の色(例えば、代表色)を修正色として修正色リストを作成する。色合わせを行う領域が1色の領域であれば1色だけのリストとなるが、例えば、グラデーション等の多数の色を含む領域であれば、一定の範囲をもった複数色のリストが作成される。
If it is determined that execution of color matching of the displayed area (correction of the color conversion table) has been instructed (step S10; YES), the CPU 31 corrects the color conversion table based on the determined color matching target area. A list of colors is created (step S11).
In step S11, for example, a corrected color list is created using colors (for example, representative colors) in the determined color matching target area of the image data for printing as corrected colors. If the area to be color-matched is a single-color area, the list will consist of only one color. However, if the area contains a large number of colors, such as a gradation, a list of multiple colors with a certain range will be created. be.

次いで、CPU31は、修正色リストの各色について、デバイスプロファイル232のソースプロファイルにおける修正量を算出する(ステップS12)。
ここで、修正色リストの各修正色を色合わせ目標印刷物の色に合わせるためには、ソースファイルにおける各修正色の色彩値が、色合わせ目標印刷物の上記修正色に対応する色(例えば、対応する色合わせ対象領域内の代表色等)の色彩値となるように、ソースプロファイルを修正すればよい。
そこで、ステップS12においては、修正色リストの各修正色について、印刷用画像データの値(デバイス値)をソースプロファイルにより色彩値に変換した値と、色合わせ目標印刷物の上記修正色に対応する色(例えば、対応する色合わせ対象領域内の代表色等)の色彩値との差分をソースプロファイルにおける当該修正色に対応する色彩値の修正量として算出する。なお、修正色をピンポイントで修正するのではなく、その周囲の色も一定の範囲をもたせて減衰しながら修正するほうがトーンジャンプの発生を軽減できるので好ましい。
Next, CPU 31 calculates the amount of correction in the source profile of device profile 232 for each color in the correction color list (step S12).
Here, in order to match each corrected color in the corrected color list to the color of the color matching target print, the color value of each corrected color in the source file must be the color corresponding to the above corrected color of the color matching target print (for example, the corresponding The source profile may be modified so that the color value is the representative color in the color matching target area, etc.).
Therefore, in step S12, for each correction color in the correction color list, the value obtained by converting the value of the image data for printing (device value) into the color value by the source profile and the color corresponding to the correction color of the color matching target print (For example, the representative color in the corresponding color matching target area) is calculated as the correction amount of the color value corresponding to the correction color in the source profile. It should be noted that, instead of correcting the correction color with a pinpoint, it is preferable to correct the surrounding colors while attenuating them within a certain range, because it is possible to reduce the occurrence of tone jumps.

図9に、ソースプロファイルの修正量のデータ構造を示す。図9に示すように、ソースプロファイルにおける各修正色の修正前の色彩値をL,a,b、色合わせ目標印刷物に基づく修正後の色彩値をL’,a’,b’とすると、修正量ΔL,Δa,Δbは、以下の(式1)により求めることができる。
ΔL=L’-L
Δa=a’-a
Δb=b’-b ・・・(式1)
FIG. 9 shows the data structure of the source profile correction amount. As shown in FIG. 9, L * ,a * ,b * are color values before correction of each correction color in the source profile, and L * ',a * ',b are color values after correction based on the color matching target print. * ', the correction amounts .DELTA.L * , .DELTA.a * and .DELTA.b * can be obtained by the following (Equation 1).
ΔL * =L * '-L *
Δa * =a * '-a *
Δb * =b * '-b * (Formula 1)

次いで、CPU31は、修正色リストに記載された全点の修正量を算出したか否かを判断する(ステップS13)。
修正色リストに記載された全点の修正量を算出していないと判断した場合(ステップS13;NO)、CPU31は、ステップS12に戻る。
修正色リストに記載された全点の修正量を算出したと判断した場合(ステップS13;YES)、CPU31は、算出した修正量に基づいて、ソースプロファイルの修正を行い(ステップS14)、色変換テーブル修正処理を終了する。
ステップS14においては、算出した修正量をソースプロファイルの該当する色彩値に加算することにより、ソースプロファイルを修正する。なお、複数の点(修正色)の修正の影響を受ける色(グリッド)に関しては修正量の平均化などを行い、想定以上の修正がかからないようにすることが好ましい。また、全点の移動平均を算出する等、スムージング計算を行って、ソースプロファイルの修正を行っても良い。
Next, the CPU 31 determines whether or not the correction amounts for all the points listed in the correction color list have been calculated (step S13).
If it is determined that the correction amounts for all the points listed in the correction color list have not been calculated (step S13; NO), the CPU 31 returns to step S12.
If it is determined that the correction amounts for all points listed in the correction color list have been calculated (step S13; YES), the CPU 31 corrects the source profile based on the calculated correction amounts (step S14), and performs color conversion. Terminate table correction processing.
In step S14, the source profile is corrected by adding the calculated correction amount to the corresponding color value of the source profile. For colors (grids) that are affected by the correction of a plurality of points (correction colors), it is preferable to average the amount of correction so as not to apply more correction than expected. Further, the source profile may be corrected by performing smoothing calculation such as calculating a moving average of all points.

上記説明では、デバイスプロファイル232を修正する例について示したが、デバイスリンクプロファイル233の修正も実質的に同じ処理を行うことができる。
デバイスリンクプロファイル233の修正方法としては、まず、上述の修正色の色彩値L,a,bをデバイスプロファイル232のデスティネーションプロファイルを用いてプリンター10のデバイス値であるC,M,Y,Kに変換する。同様に、修正色に対応する色合わせ目標印刷物の色彩値L’,a’,b’をデバイスプロファイル232のデスティネーションプロファイルを用いてプリンター10のデバイス値であるC’,M’,Y’,K’に変換する。そして、C’,M’,Y’,K’とC,M,Y,Kの差分ΔC,ΔM,ΔY,ΔKを、デバイスリンクプロファイル233の修正色に対応するCMYK値に加算する。これにより、デバイスリンクプロファイル233の修正色の変換情報を色合わせ目標印刷物に合わせて修正することができる。
In the above description, an example of modifying the device profile 232 was shown, but substantially the same processing can be performed for modifying the device link profile 233 as well.
As a method of correcting the device link profile 233, first, the color values L * , a * , and b * of the above-described corrected colors are used as the device values C, M, and Y of the printer 10 using the destination profile of the device profile 232. , K. Similarly, the color values L * ', a * ', and b * ' of the color matching target prints corresponding to the corrected colors are converted to the device values C', M', and C' of the printer 10 using the destination profile of the device profile 232. Convert to Y', K'. Then, the differences ΔC, ΔM, ΔY, ΔK between C′, M′, Y′, K′ and C, M, Y, K are added to the CMYK values corresponding to the modified colors of the device link profile 233 . As a result, the corrected color conversion information of the device link profile 233 can be corrected in accordance with the color matching target printed matter.

色変換テーブル修正処理が終了すると、CPU31は、修正したデバイスプロファイル232又はデバイスリンクプロファイル233をジョブIDに対応付けて通信部36によりコントローラー20に送信する。コントローラー20のCPU21は、受信したジョブIDのジョブの色変換時に受信した修正済みのデバイスプロファイル232又はデバイスプロファイル232を用いて色変換処理を行う。これにより、色合わせ対象領域の色を色合わせ目標印刷物の同等の色に合わせることが可能となる。 When the color conversion table correction process is completed, the CPU 31 associates the corrected device profile 232 or device link profile 233 with the job ID and transmits it to the controller 20 through the communication section 36 . The CPU 21 of the controller 20 performs color conversion processing using the corrected device profile 232 or the device profile 232 received at the time of color conversion of the job with the received job ID. This makes it possible to match the color of the color-matching target area to the equivalent color of the color-matching target print.

以上説明したように、色変換テーブル修正装置30のCPU31によれば、選択されたジョブの印刷用画像データ及び当該印刷用画像データの色変換に用いる色変換テーブルであるデバイスプロファイル232をコントローラー20から取得し、印刷用画像データをデバイスプロファイル232のソースプロファイルを用いて色彩値に変換して色分布情報を取得し、色合わせ目標印刷物をスキャナー50により読み取った読取画像データをスキャナープロファイルにより色彩値に変換して色分布情報を取得する。そして、印刷用画像データの色分布情報と色合わせ目標印刷物の色分布情報を色空間上で比較して、互いの色分布の形状が近似する領域を対応付けて抽出し、抽出した領域に基づいて印刷用画像データにおける色合わせ対象領域(修正対象の領域)を決定し、ソースプロファイルにおける色合わせ対象領域の色の変換情報を、色合わせ目標印刷物の前記色合わせ対象領域に対応する色に基づいて修正する。
したがって、印刷用画像データと色合わせ目標印刷物の色分布に基づいて色合わせ対象領域を決定するので、印刷用画像データと色合わせ目標印刷物の文字やレイアウトが異なる場合であっても、印刷用画像データの一部の色を色合わせ目標印刷物の色に合わせることが可能となる。
As described above, according to the CPU 31 of the color conversion table correction device 30, the image data for printing of the selected job and the device profile 232, which is the color conversion table used for color conversion of the image data for printing, are transmitted from the controller 20. The image data for printing is converted into color values using the source profile of the device profile 232 to acquire color distribution information, and the read image data obtained by reading the color matching target printed matter with the scanner 50 is converted into color values using the scanner profile. Convert to get color distribution information. Then, the color distribution information of the image data for printing and the color distribution information of the color matching target printed material are compared on the color space, and areas where the shapes of the color distributions are similar to each other are extracted in association with each other, and based on the extracted areas. determines the color matching target area (correction target area) in the image data for printing, and converts the color conversion information of the color matching target area in the source profile based on the color corresponding to the color matching target area of the color matching target print. to correct.
Therefore, since the color matching target area is determined based on the color distribution of the image data for printing and the color distribution of the target color matching print, even if the characters and layout of the image data for printing and the target color matching print are different, the image for printing can be It is possible to match the colors of a part of the data to the colors of the color-matching target print.

上記の互いの色分布の形状が近似する領域は、例えば、印刷用画像データの色分布情報及び色合わせ目標印刷物の色分布情報をそれぞれクラスタリングし、色空間上において代表色からの距離が所定の閾値以下の色の頻度が所定の閾値以上の色分布領域を比較の対象領域とし、対象領域間の距離が所定の閾値以下であり、かつ対象領域に含まれる色の頻度の差が所定の閾値以下の領域を抽出することにより取得することができる。 The regions where the shape of the color distribution resembles each other are obtained by, for example, clustering the color distribution information of the image data for printing and the color distribution information of the color-matching target print, and determining the distance from the representative color in the color space. A color distribution area in which the frequency of colors below the threshold is equal to or greater than a predetermined threshold is set as an area to be compared, the distance between the target areas is equal to or less than the predetermined threshold, and the difference in the frequency of colors included in the target areas is the predetermined threshold. It can be obtained by extracting the following areas.

また、例えば、ユーザーが色合わせ対象の色を指定するためのユーザーインターフェースを備え、ユーザーによる指定結果と、色分布の形状が近似する領域の抽出結果とに基づいて、色合わせ対象領域を決定するようにすることで、ユーザーの意図する色合わせが可能となる。 Further, for example, a user interface is provided for the user to specify a color to be subjected to color matching, and the area to be subjected to color matching is determined based on the user's specification result and the extraction result of an area having a similar color distribution shape. By doing so, it is possible to perform color matching intended by the user.

また、上記の互いの色分布の形状が近似する領域を抽出する際に用いる閾値のそれぞれをユーザー操作に応じて設定するための設定手段を備えることで、どれだけ色分布が近い領域を抽出するのかをユーザーが指定することが可能となる。 Further, by providing a setting means for setting each of the threshold values used when extracting the regions where the shapes of the color distributions are similar to each other in accordance with the user's operation, regions with similar color distributions can be extracted. The user can specify whether

また、色合わせ対象領域を表示してユーザーに報知することで、どの領域について色合わせを行うのかをユーザーが確認することが可能となる。 In addition, by displaying the color matching target area and informing the user of it, the user can confirm for which area color matching is to be performed.

また、報知された領域に対する修正の実行をユーザーが指示するためのユーザーインターフェースを備え、ユーザーの指示に応じて、色変換テーブルの修正を行うようにすることで、ユーザーの意図しない修正が行われることを抑制することができる。 In addition, a user interface is provided for the user to instruct execution of correction for the notified area, and the color conversion table is corrected according to the user's instruction, so that the user's unintended correction is performed. can be suppressed.

なお、上記実施形態における記述は、本発明に係る色変換テーブル修正装置の好適な例であり、これに限定されるものではない。 The description in the above embodiment is a preferred example of the color conversion table correction device according to the present invention, and the present invention is not limited to this.

例えば、上記実施形態では、色彩値としてL色空間を用いることとして説明したが、XYZ色空間、CIECAM02色空間、CIELUV色空間等を用いることもできる。 For example, in the above embodiment, the L * a * b * color space is used as the color value, but the XYZ color space, CIECAM02 color space, CIELUV color space, or the like can also be used.

また、上記実施形態では、色合わせ目標印刷物をスキャナー50を用いて測色し色彩値を取得することとして説明したが、デジタルカメラを用いて測色してもよいし、測色計を用いて測色することとしてもよい。 Further, in the above-described embodiment, the scanner 50 is used to measure the colors of the target printed matter for color matching to acquire the color values. Color measurement may be performed.

また、上記実施形態では、ステップS6における色分布の形状が近似する領域の抽出結果、又は、この抽出結果とユーザーによる色合わせ対象の色の指定結果とに基づいて色合わせ対象領域(修正対象の領域)を決定することとして説明したが、例えば、ステップS6において抽出された領域を表示部35に表示することによりユーザーに報知し、表示された領域の中からユーザーが操作部34により選択した領域を色合わせ対象領域(修正対象の領域)に決定することとしてもよい。これにより、ユーザーの意図する領域の色合わせが可能となる。 In the above-described embodiment, the extraction result of the area whose color distribution shape is similar in step S6, or the color matching target area (correction target area) is based on the extraction result and the result of specifying the color matching target color by the user. However, for example, the user is notified by displaying the area extracted in step S6 on the display unit 35, and the user selects the area selected by the operation unit 34 from among the displayed areas. may be determined as the color matching target area (correction target area). This enables color matching of the area intended by the user.

また、以上の説明では、各処理を実行するためのプログラムを格納したコンピューター読み取り可能な媒体として不揮発性の半導体メモリーやハードディスクを使用した例を開示したが、この例に限定されない。その他のコンピューター読み取り可能な媒体として、CD-ROM等の可搬型記録媒体を適用することも可能である。また、プログラムのデータを通信回線を介して提供する媒体として、キャリアウェーブ(搬送波)を適用することとしてもよい。 Also, in the above description, an example of using a non-volatile semiconductor memory or a hard disk as a computer-readable medium storing a program for executing each process has been disclosed, but the present invention is not limited to this example. As another computer-readable medium, it is also possible to apply a portable recording medium such as a CD-ROM. Further, a carrier wave may be applied as a medium for providing program data via a communication line.

その他、色変換テーブル修正装置や印刷システムを構成する各部の細部構成及び細部動作に関しても本発明の趣旨を逸脱することのない範囲で適宜変更可能である。 In addition, the detailed configuration and detailed operation of each part constituting the color conversion table correcting device and the printing system can be changed as appropriate without departing from the spirit of the present invention.

10 プリンター
20 コントローラー
30 色変換テーブル修正装置
31 CPU
32 RAM
33 記憶部
34 操作部
35 表示部
36 通信部
37 IF部
40a,40b,・・・ 印刷指示端末
50 スキャナー
100 印刷システム
230 RIP処理プログラム
231 色変換処理プログラム
232 デバイスプロファイル
233 デバイスリンクプロファイル
331 色変換テーブル修正処理プログラム
N 通信ネットワーク
10 printer 20 controller 30 color conversion table correction device 31 CPU
32 RAMs
33 storage unit 34 operation unit 35 display unit 36 communication unit 37 IF unit 40a, 40b, ... print instruction terminal 50 scanner 100 printing system 230 RIP processing program 231 color conversion processing program 232 device profile 233 device link profile 331 color conversion table Correction processing program N Communication network

Claims (7)

印刷用画像データの色変換に用いる色変換テーブルを取得する色変換テーブル取得手段と、
前記印刷用画像データの色分布情報を取得する第1の色分布取得手段と、
前記印刷用画像データの一部の色合わせ目標となる画像領域を含む色合わせ目標印刷物を測色して色分布情報を取得する第2の色分布取得手段と、
前記印刷用画像データの色分布情報と前記色合わせ目標印刷物の色分布情報を色空間上で比較して、互いの色分布の形状が近似する領域を対応付けて抽出する抽出手段と、
前記抽出手段により抽出された領域に基づいて前記印刷用画像データにおける修正対象の領域を決定し、前記色変換テーブルにおける前記修正対象の領域の色の変換情報を、前記色合わせ目標印刷物の前記修正対象の領域に対応する色に基づいて修正する修正手段と、
を備える色変換テーブル修正装置。
a color conversion table obtaining means for obtaining a color conversion table used for color conversion of image data for printing;
a first color distribution obtaining means for obtaining color distribution information of the image data for printing;
a second color distribution obtaining means for obtaining color distribution information by measuring a color matching target printed material including an image area serving as a color matching target for a part of the image data for printing;
an extracting means for comparing the color distribution information of the image data for printing and the color distribution information of the color matching target printed material in a color space, and extracting regions having similar color distribution shapes in association with each other;
determining an area to be corrected in the image data for printing based on the area extracted by the extracting means; a correcting means for correcting based on the color corresponding to the region of interest;
A color conversion table correction device comprising:
前記抽出手段は、前記印刷用画像データの色分布情報及び前記色合わせ目標印刷物の色分布情報をそれぞれクラスタリングし、前記色空間上において代表色からの距離が所定の閾値以下の色の頻度が所定の閾値以上の色分布領域を前記比較の対象領域とし、前記対象領域間の距離が所定の閾値以下であり、かつ前記対象領域に含まれる色の頻度の差が所定の閾値以下の領域を前記色分布の形状が近似する領域として抽出する請求項1に記載の色変換テーブル修正装置。 The extraction means clusters the color distribution information of the image data for printing and the color distribution information of the color-matching target print, respectively, and the frequency of colors whose distance from the representative color is equal to or less than a predetermined threshold in the color space is determined. A color distribution area equal to or greater than the threshold of is set as the comparison target area, a distance between the target areas is equal to or less than a predetermined threshold, and a difference in frequency of colors included in the target areas is equal to or less than the predetermined threshold. 2. A color conversion table correcting device according to claim 1, wherein the color distribution table is extracted as an area having a similar color distribution shape. ユーザー操作に応じて前記抽出手段による抽出に用いられる前記閾値のそれぞれを設定する設定手段を備える請求項2に記載の色変換テーブル修正装置。 3. The color conversion table correction device according to claim 2, further comprising setting means for setting each of said threshold values used for extraction by said extraction means according to a user's operation. ユーザーが色合わせ対象の色を指定するための指定手段を備え、
前記修正手段は、前記指定手段による指定結果と、前記色分布の形状が近似する領域の抽出結果とに基づいて、前記修正対象の領域を決定する請求項1に記載の色変換テーブル修正装置。
Provided with a designating means for the user to designate a color to be color-matched,
2. The color conversion table correction device according to claim 1, wherein said correction means determines said correction target area based on a result of designation by said designation means and a result of extraction of an area having a similar shape of said color distribution.
前記修正対象の領域をユーザーに報知するための報知手段を備える請求項1~4のいずれか一項に記載の色変換テーブル修正装置。 5. The color conversion table correcting device according to claim 1, further comprising notifying means for notifying a user of said area to be corrected. 前記抽出手段により抽出された領域をユーザーに報知するための報知手段と、
前記報知された領域の中からユーザーが領域を選択するための選択手段を備え、
前記修正手段は、前記選択手段により選択された領域を前記修正対象の領域と決定して前記色変換テーブルの修正を行う請求項1~3のいずれか一項に記載の色変換テーブル修正装置。
a notification means for notifying a user of the region extracted by the extraction means;
comprising selection means for the user to select an area from the notified areas;
4. The color conversion table correction device according to claim 1, wherein said correction means determines the area selected by said selection means as said correction target area and corrects said color conversion table.
コンピューターを、
印刷用画像データの色変換に用いる色変換テーブルを取得する色変換テーブル取得手段、
前記印刷用画像データの色分布情報を取得する第1の色分布取得手段、
前記印刷用画像データの一部の色合わせ目標となる画像領域を含む色合わせ目標印刷物を測色して色分布情報を取得する第2の色分布取得手段、
前記印刷用画像データの色分布情報と前記色合わせ目標印刷物の色分布情報を色空間上で比較して、互いの色分布の形状が近似する領域を対応付けて抽出する抽出手段、
前記抽出手段により抽出された領域に基づいて前記印刷用画像データにおける修正対象の領域を決定し、前記色変換テーブルにおける前記修正対象の領域の色の変換情報を、前記色合わせ目標印刷物の前記修正対象の領域に対応する色に基づいて修正する修正手段、
として機能させるためのプログラム。
the computer,
color conversion table acquisition means for acquiring a color conversion table used for color conversion of image data for printing;
first color distribution acquisition means for acquiring color distribution information of the image data for printing;
a second color distribution obtaining means for obtaining color distribution information by measuring the color of a color matching target printed material including an image area serving as a color matching target for a part of the image data for printing;
extraction means for comparing the color distribution information of the image data for printing and the color distribution information of the color-matching target printed matter in a color space, and extracting areas in which the shapes of the color distributions are similar to each other in association with each other;
determining an area to be corrected in the image data for printing based on the area extracted by the extracting means; a correction means that corrects based on the color corresponding to the region of interest;
A program to function as
JP2019183372A 2019-10-04 2019-10-04 Color conversion table correction device and program Active JP7331602B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019183372A JP7331602B2 (en) 2019-10-04 2019-10-04 Color conversion table correction device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019183372A JP7331602B2 (en) 2019-10-04 2019-10-04 Color conversion table correction device and program

Publications (2)

Publication Number Publication Date
JP2021061489A JP2021061489A (en) 2021-04-15
JP7331602B2 true JP7331602B2 (en) 2023-08-23

Family

ID=75380457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019183372A Active JP7331602B2 (en) 2019-10-04 2019-10-04 Color conversion table correction device and program

Country Status (1)

Country Link
JP (1) JP7331602B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007535829A (en) 2004-05-17 2007-12-06 セイコーエプソン株式会社 Image processing method, image processing apparatus, and program
JP2016072816A (en) 2014-09-30 2016-05-09 富士フイルム株式会社 Image reading device and method, reading area display device and method, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3289792B2 (en) * 1993-02-10 2002-06-10 大日本印刷株式会社 Color correction method for specific area of color image

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007535829A (en) 2004-05-17 2007-12-06 セイコーエプソン株式会社 Image processing method, image processing apparatus, and program
JP2016072816A (en) 2014-09-30 2016-05-09 富士フイルム株式会社 Image reading device and method, reading area display device and method, and program

Also Published As

Publication number Publication date
JP2021061489A (en) 2021-04-15

Similar Documents

Publication Publication Date Title
US10530969B2 (en) Matching output colors of printers having different gamut ranges
US8164798B2 (en) Image processing apparatus and method for printing and plate making, and recording medium having image processing program recorded therein for printing and plate making
JP2006197457A (en) Color chart creating method, device, and program, and color conversion definition correcting method
KR100699493B1 (en) Method and apparatus for generating preview image
US20160086063A1 (en) Image forming device and method and non-transitory computer readable medium
US8797614B2 (en) Creating a color conversion table by performing color conversion using a 3D and 1D table after limiting total color material amount
US12028501B2 (en) Control apparatus, color adjustment method, and storage medium
JP7331602B2 (en) Color conversion table correction device and program
US10521706B2 (en) Color verification apparatus, color verification system, and computer-readable storage medium storing a program
JP2018133670A (en) Print data processing device and program
JP2010103606A (en) Apparatus, program and method for generating profile
JP5610687B2 (en) Information processing apparatus, method, and program
JP6083323B2 (en) Image forming method, image forming apparatus, image forming program, and recording medium
US9924074B2 (en) Method and system for enabling optimal colorant job programming
US20220171581A1 (en) Color conversion table generation device and recording medium
JP6707262B2 (en) Image forming apparatus and program
JP7321885B2 (en) Image processing device, image processing method, and program
JP7443745B2 (en) Color conversion device, color conversion method and program
US20240193355A1 (en) Information processing apparatus, control method thereof, and storage medium
US11467784B2 (en) Information processing apparatus, image collating method, and program
JP6051526B2 (en) Image processing system, image forming apparatus, image processing program, and image processing method
JP2010074352A (en) Color adjustment apparatus, color adjustment method, and program
JP6394247B2 (en) Image processing apparatus and computer program
JP2024016587A (en) Printing system, printing method, and program
JP2007184829A (en) Image processor, image processing system, image processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220819

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230509

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230623

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230724

R150 Certificate of patent or registration of utility model

Ref document number: 7331602

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150