JP2013089119A - Printer driver - Google Patents

Printer driver Download PDF

Info

Publication number
JP2013089119A
JP2013089119A JP2011230883A JP2011230883A JP2013089119A JP 2013089119 A JP2013089119 A JP 2013089119A JP 2011230883 A JP2011230883 A JP 2011230883A JP 2011230883 A JP2011230883 A JP 2011230883A JP 2013089119 A JP2013089119 A JP 2013089119A
Authority
JP
Japan
Prior art keywords
range
image
color
adjustment
candidate
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
JP2011230883A
Other languages
Japanese (ja)
Other versions
JP5536733B2 (en
Inventor
Yoshitaka Kishi
義尚 岸
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions 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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2011230883A priority Critical patent/JP5536733B2/en
Publication of JP2013089119A publication Critical patent/JP2013089119A/en
Application granted granted Critical
Publication of JP5536733B2 publication Critical patent/JP5536733B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printer driver for enabling the user of a computer to designate a range in which the colors of pixels are adjusted in an image.SOLUTION: A printer driver makes a PC execute: a step of accepting the designation of a reference point 22g in an image; a step of accepting the designation of a first range 22h on image as a range surrounding the reference point 22g in the image; a step of accepting the designation of a second range 22i on image as a range excluding the first range 22h on image as a range surrounding the first range 22h on image in the image; and a pixel color adjustment step of adjusting the colors of pixels in the image. The pixel color adjustment step includes: adjusting the colors of the pixels in the first range 22h on image with the amount of adjustment of colors from the reference color to candidate colors; and adjusting the colors of the pixels in the second range 22i on image such that the amount of adjustment of the colors are gradually decreased from the first range 22h side on image toward an opposite side to the first range 22h on image.

Description

本発明は、画像形成装置を制御するためのプリンタードライバーに関する。   The present invention relates to a printer driver for controlling an image forming apparatus.

従来、画像における画素の色を調整する技術として、利用者の指示に応じて色空間上の色を調整することによって、画像における画素の色を調整する技術が知られている(例えば特許文献1、2参照。)。   2. Description of the Related Art Conventionally, as a technique for adjusting the color of a pixel in an image, a technique for adjusting the color of a pixel in an image by adjusting a color in a color space in accordance with a user instruction is known (for example, Patent Document 1). 2).

特開2007−143077号公報JP 2007-143077 A 特許第4438741号公報Japanese Patent No. 4438741

しかしながら、従来の技術においては、画像において利用者が意図していない範囲の画素の色まで調整されてしまうという問題がある。   However, in the conventional technology, there is a problem that the color of the pixel in the range not intended by the user in the image is adjusted.

そこで、本発明は、画像において画素の色を調整する範囲をコンピューターの利用者に指定させることができるプリンタードライバーを提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides a printer driver that allows a user of a computer to designate a range for adjusting a pixel color in an image.

本発明のプリンタードライバーは、調整対象の基準色の指定を受け付ける基準色受付ステップと、前記基準色受付ステップによって受け付けられた前記基準色に対して色の調整が実行されたと仮定した場合の色の調整後の前記基準色の候補である候補色を画像形成装置に複数種類印刷させる候補色印刷ステップと、前記候補色印刷ステップによって印刷された複数種類の前記候補色から1つの候補色の指定を受け付ける候補色受付ステップと、前記画像における基準点の指定を受け付ける基準点受付ステップと、前記基準点受付ステップによって受け付けられた前記基準点を前記画像において囲む範囲である画像上第1範囲の指定を受け付ける画像上第1範囲受付ステップと、前記画像上第1範囲受付ステップによって受け付けられた前記画像上第1範囲を前記画像において囲む範囲であって前記画像上第1範囲を除く範囲である画像上第2範囲の指定を受け付ける画像上第2範囲受付ステップと、前記画像における画素の色を調整する画素色調整ステップとをコンピューターに実行させ、前記画素色調整ステップは、前記画像上第1範囲受付ステップによって受け付けられた前記画像上第1範囲内の前記画素の色を、前記基準色受付ステップによって受け付けられた前記基準色から前記候補色受付ステップによって受け付けられた前記候補色への色の調整量によって調整し、前記画像上第2範囲受付ステップによって受け付けられた前記画像上第2範囲内の前記画素の色を、前記画像上第1範囲側から前記画像上第1範囲とは反対側に向けて色の調整量が徐々に減少するように調整するステップであることを特徴とする。   The printer driver of the present invention has a reference color receiving step for receiving designation of a reference color to be adjusted, and color adjustments when it is assumed that color adjustment has been performed on the reference color received by the reference color receiving step. A candidate color printing step for causing the image forming apparatus to print a plurality of types of candidate colors that are candidates for the reference color after adjustment, and designation of one candidate color from the plurality of types of the candidate colors printed by the candidate color printing step. A candidate color receiving step for accepting, a reference point accepting step for accepting designation of a reference point in the image, and designation of a first range on the image that is a range surrounding the reference point accepted by the reference point accepting step in the image The image first range receiving step to be received and the image received by the image first range receiving step. An image upper second range accepting step for accepting designation of an image upper second range which is a range surrounding the upper first range in the image and excluding the image upper first range, and adjusting a pixel color in the image A pixel color adjustment step to be executed by the computer, wherein the pixel color adjustment step is configured to change the color of the pixel within the first range on the image received by the first range reception step on the image to the reference color reception step. Is adjusted according to the amount of color adjustment from the reference color received by the candidate color receiving step to the candidate color received by the candidate color receiving step, and within the second range on the image received by the second on-image range receiving step. The color of the pixel is adjusted so that the amount of color adjustment gradually decreases from the first range on the image toward the opposite side of the first range on the image. Characterized in that it is a step for.

この構成により、本発明のプリンタードライバーを実行するコンピューターは、画像上第1範囲および画像上第2範囲の指定を受け付けて、画像上第1範囲内および画像上第2範囲内の画素の色を調整するので、画像において画素の色を調整する範囲を利用者に指定させることができる。特に、本発明のプリンタードライバーを実行するコンピューターは、基準色から候補色への色の調整量によって画素の色を調整する画像上第1範囲の指定を受け付けるだけではなく、画像上第1範囲側から画像上第1範囲とは反対側に向けて色の調整量が徐々に減少するように画素の色を調整する画像上第2範囲の指定も受け付けるので、画像における範囲であって基準色から候補色への色の調整量によって画素の色を調整する範囲のみの指定を受け付ける構成と比較して、画素の色を調整する範囲の内外で画像における色が不自然に変化する可能性を抑えることができる。   With this configuration, the computer that executes the printer driver of the present invention receives the designation of the first range on the image and the second range on the image, and sets the colors of the pixels in the first range on the image and the second range on the image. Since the adjustment is performed, it is possible to allow the user to designate a range in which the pixel color is adjusted in the image. In particular, the computer that executes the printer driver of the present invention not only accepts the designation of the first range on the image for adjusting the pixel color by the color adjustment amount from the reference color to the candidate color, but also on the first range side on the image. Since the designation of the second range on the image for adjusting the color of the pixels so that the color adjustment amount gradually decreases toward the opposite side of the first range on the image from Compared to a configuration that accepts designation of only the range in which the pixel color is adjusted according to the color adjustment amount to the candidate color, the possibility that the color in the image changes unnaturally inside and outside the range in which the pixel color is adjusted is suppressed. be able to.

また、本発明のプリンタードライバーは、前記基準色受付ステップによって受け付けられた前記基準色を色空間において囲む範囲である色空間上範囲の指定を受け付ける色空間上範囲受付ステップを前記コンピューターに実行させ、前記画素色調整ステップは、前記画像上第1範囲受付ステップによって受け付けられた前記画像上第1範囲内の前記画素の色のうち、前記色空間上範囲受付ステップによって受け付けられた前記色空間上範囲内の色を、前記基準色受付ステップによって受け付けられた前記基準色から前記候補色受付ステップによって受け付けられた前記候補色への色の調整量によって調整し、前記画像上第2範囲受付ステップによって受け付けられた前記画像上第2範囲内の前記画素の色のうち、前記色空間上範囲受付ステップによって受け付けられた前記色空間上範囲内の色を、前記画像上第1範囲側から前記画像上第1範囲とは反対側に向けて色の調整量が徐々に減少するように調整するステップであっても良い。   Further, the printer driver of the present invention causes the computer to execute a color space range receiving step for receiving designation of a range on the color space, which is a range surrounding the reference color received in the reference color receiving step in a color space, In the pixel color adjustment step, the color space upper range accepted by the color space upper range acceptance step among the colors of the pixels in the first image upper range accepted by the image first range acceptance step. Are adjusted by the amount of color adjustment from the reference color received in the reference color receiving step to the candidate color received in the candidate color receiving step, and received in the second on-image range receiving step. Of the color of the pixel in the second range on the image, the range reception step on the color space. Adjusting the color within the range on the color space received by the color space so that the amount of color adjustment gradually decreases from the first range on the image toward the opposite side of the first range on the image. There may be.

この構成により、本発明のプリンタードライバーを実行するコンピューターは、画像における範囲だけでなく、色空間における範囲によっても、色を調整する画素を指定することができる。   With this configuration, the computer that executes the printer driver of the present invention can specify the pixel whose color is to be adjusted not only by the range in the image but also by the range in the color space.

本発明のプリンタードライバーは、画像において画素の色を調整する範囲をコンピューターの利用者に指定させることができる。   The printer driver of the present invention can allow a computer user to specify a range for adjusting the pixel color in an image.

本発明の一実施の形態に係る画像形成システムのブロック図である。1 is a block diagram of an image forming system according to an embodiment of the present invention. 図1に示すPCのブロック図である。It is a block diagram of PC shown in FIG. 図2に示す基準色および色空間上範囲の説明図である。It is explanatory drawing of the reference | standard color shown in FIG. 2, and the range on color space. 図2に示す基準点、画像上第1範囲および画像上第2範囲の説明図である。It is explanatory drawing of the reference point shown in FIG. 2, the 1st range on an image, and the 2nd range on an image. 図1に示すMFPのブロック図である。FIG. 2 is a block diagram of the MFP shown in FIG. 1. 部分色調整を実行する場合の図1に示すPCの動作のフローチャートである6 is a flowchart of the operation of the PC shown in FIG. 1 when performing partial color adjustment. 図6に示す初期処理のフローチャートである。It is a flowchart of the initial process shown in FIG. 図6に示す部分色調整第1画面表示処理のフローチャートである。7 is a flowchart of partial color adjustment first screen display processing shown in FIG. 6. 図2に示す表示部に表示される部分色調整第1画面を示す図である。It is a figure which shows the partial color adjustment 1st screen displayed on the display part shown in FIG. 図6に示す基準色受付処理のフローチャートである。7 is a flowchart of a reference color acceptance process shown in FIG. 図6に示す色空間上範囲受付処理のフローチャートである。FIG. 7 is a flowchart of a color space range acceptance process shown in FIG. 6. FIG. 図6に示す基準点受付処理のフローチャートである。It is a flowchart of the reference point reception process shown in FIG. 図6に示す画像上第1範囲受付処理のフローチャートである。It is a flowchart of the 1st range reception process on an image shown in FIG. 図6に示す画像上第2範囲受付処理のフローチャートである。It is a flowchart of the 2nd range reception process on an image shown in FIG. 図6に示すフローチャートの続きのフローチャートである。It is a flowchart following the flowchart shown in FIG. 図15に示す部分色調整第2画面表示処理のフローチャートである。It is a flowchart of the partial color adjustment 2nd screen display process shown in FIG. 図2に示す表示部に表示される部分色調整第2画面を示す図である。It is a figure which shows the partial color adjustment 2nd screen displayed on the display part shown in FIG. 図15に示すテスト印刷処理のフローチャートである。FIG. 16 is a flowchart of a test print process shown in FIG. 15. (a)色相、彩度および明度のうち1つのパラメーターで候補色が生成された場合の図1に示すMFPによって印刷されるパッチの例を示す図である。(b)色相、彩度および明度のうち2つのパラメーターで候補色が生成された場合の図1に示すMFPによって印刷されるパッチの例を示す図である。(A) It is a figure which shows the example of the patch printed by MFP shown in FIG. 1 when a candidate color is produced | generated by one parameter among hue, saturation, and lightness. FIG. 2B is a diagram illustrating an example of a patch printed by the MFP illustrated in FIG. 1 when a candidate color is generated with two parameters of hue, saturation, and brightness. 図15に示す追加パラメーターテスト印刷処理のフローチャートである。FIG. 16 is a flowchart of additional parameter test print processing shown in FIG. 15. FIG. 図15に示す追加パラメーターパッチキャンセル処理のフローチャートである。FIG. 16 is a flowchart of additional parameter patch cancellation processing shown in FIG. 15. FIG. 図15に示す色調整処理のフローチャートである。It is a flowchart of the color adjustment process shown in FIG. 図22に示す色調整処理において算出される画素毎調整量の説明のための図である。It is a figure for demonstrating the adjustment amount for every pixel computed in the color adjustment process shown in FIG. 図22に示す色調整処理において画素に適用される調整量を示す図である。It is a figure which shows the adjustment amount applied to a pixel in the color adjustment process shown in FIG.

以下、本発明の一実施の形態について、図面を用いて説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

まず、本実施の形態に係る画像形成システムの構成について説明する。   First, the configuration of the image forming system according to the present embodiment will be described.

図1は、本実施の形態に係る画像形成システム10のブロック図である。   FIG. 1 is a block diagram of an image forming system 10 according to the present embodiment.

図1に示すように、画像形成システム10は、コンピューターとしてのPC(Personal Computer)20と、画像形成装置としてのMFP(Multifunction Peripheral)40とを備えている。PC20およびMFP40は、LAN(Local Area Network)、インターネットなどのネットワーク11経由で互いに通信可能に接続されている。   As illustrated in FIG. 1, the image forming system 10 includes a PC (Personal Computer) 20 as a computer and an MFP (Multifunction Peripheral) 40 as an image forming apparatus. The PC 20 and the MFP 40 are communicably connected to each other via a network 11 such as a LAN (Local Area Network) or the Internet.

図2は、PC20のブロック図である。   FIG. 2 is a block diagram of the PC 20.

図2に示すように、PC20は、PC20全体を制御する制御部21と、各種のデータを記憶しているHDD(Hard Disk Drive)などの記憶デバイスである記憶部22と、利用者による種々の操作が入力されるキーボード、マウスなどの入力デバイスである操作部23と、種々の情報を表示するLCD(Liquid Crystal Display)などの表示デバイスである表示部24と、ネットワーク11経由で通信を行うネットワーク通信デバイスであるネットワーク通信部25とを備えている。   As shown in FIG. 2, the PC 20 includes a control unit 21 that controls the entire PC 20, a storage unit 22 that is a storage device such as an HDD (Hard Disk Drive) that stores various types of data, A network that communicates via the network 11 with an operation unit 23 that is an input device such as a keyboard and a mouse for inputting operations, and a display unit 24 that is a display device such as an LCD (Liquid Crystal Display) that displays various information. And a network communication unit 25 which is a communication device.

制御部21は、例えば、CPU(Central Processing Unit)と、プログラムおよび各種のデータを予め記憶しているROM(Read Only Memory)と、CPUの作業領域として用いられるRAM(Random Access Memory)とを備えている。CPUは、ROMまたは記憶部22に記憶されているプログラムを実行するようになっている。   The control unit 21 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory) that stores programs and various data in advance, and a RAM (Random Access Memory) used as a work area of the CPU. ing. The CPU is configured to execute a program stored in the ROM or the storage unit 22.

記憶部22は、MFP40を制御するためのプリンタードライバー22aを記憶している。また、記憶部22は、画像の各画素の座標データ22bと、その画像の各画素のRGBデータ22cとを含んでいる画像データ22dが記憶されることが可能である。また、記憶部22は、調整対象の基準色22eと、基準色22eをLab色空間において囲む範囲である色空間上範囲22fと、画像における基準点22gと、基準点22gを画像において囲む範囲である画像上第1範囲22hと、画像上第1範囲22hを画像において囲む範囲であって画像上第1範囲22hを除く範囲である画像上第2範囲22iと、RGBデータ22cのRGB値をLab値に変換したLabデータ22jと、基準色22eに対して色の調整が実行されたと仮定した場合の色の調整後の基準色の候補である候補色のパッチの印刷のための情報である第1パッチ情報22kおよび第2パッチ情報22lとが記憶されることが可能である。座標データ22b、基準点22g、画像上第1範囲22hおよび画像上第2範囲22iは、画像上の座標によって表されている。RGBデータ22cは、RGB値で表されている。基準色22e、色空間上範囲22fおよびLabデータ22jは、Lab値で表されている。   The storage unit 22 stores a printer driver 22 a for controlling the MFP 40. The storage unit 22 can store image data 22d including coordinate data 22b of each pixel of the image and RGB data 22c of each pixel of the image. The storage unit 22 includes a reference color 22e to be adjusted, a color space upper range 22f that surrounds the reference color 22e in the Lab color space, a reference point 22g in the image, and a range that surrounds the reference point 22g in the image. The RGB value of the RGB data 22c is defined as the first range 22h on the image, the second range 22i on the image that is the range surrounding the first range 22h on the image and excluding the first range 22h on the image. Lab data 22j converted into values and information for printing patches of candidate colors that are candidates for reference colors after color adjustment on the assumption that color adjustment has been performed on the reference color 22e. One patch information 22k and second patch information 22l can be stored. The coordinate data 22b, the reference point 22g, the first on-image range 22h, and the second on-image range 22i are represented by the coordinates on the image. The RGB data 22c is represented by RGB values. The reference color 22e, the color space upper range 22f, and the Lab data 22j are represented by Lab values.

プリンタードライバー22aは、PC20の製造段階でPC20にインストールされていても良いし、CD(Compact Disk)、DVD(Digital Versatile Disk)などの記憶媒体から、または、ネットワーク11上からPC20に追加でインストールされても良い。   The printer driver 22a may be installed in the PC 20 at the manufacturing stage of the PC 20, or may be additionally installed on the PC 20 from a storage medium such as a CD (Compact Disk) and a DVD (Digital Versatile Disk) or from the network 11. May be.

制御部21は、記憶部22に記憶されているプリンタードライバー22aを実行することによって、調整対象の基準色の指定を受け付ける基準色受付部21a、基準色受付部21aによって受け付けられた基準色に対して色の調整が実行されたと仮定した場合の色の調整後の基準色の候補である候補色をMFP40に複数種類印刷させる候補色印刷部21b、候補色印刷部21bによって印刷された複数種類の候補色から1つの候補色の指定を受け付ける候補色受付部21c、画像における基準点の指定を受け付ける基準点受付部21d、基準点受付部21dによって受け付けられた基準点を画像において囲む範囲である画像上第1範囲の指定を受け付ける画像上第1範囲受付部21e、画像上第1範囲受付部21eによって受け付けられた画像上第1範囲を画像において囲む範囲であって画像上第1範囲を除く範囲である画像上第2範囲の指定を受け付ける画像上第2範囲受付部21f、画像における画素の色を調整する画素色調整部21g、および、基準色受付部21aによって受け付けられた基準色をLab色空間において囲む範囲である色空間上範囲の指定を受け付ける色空間上範囲受付部21hとして機能する。   The control unit 21 executes the printer driver 22a stored in the storage unit 22 so as to receive the specification of the reference color to be adjusted and the reference color received by the reference color receiving unit 21a. In this case, the candidate color printing unit 21b that causes the MFP 40 to print a plurality of types of candidate colors that are candidates for the reference color after the color adjustment when the color adjustment is performed is performed. A candidate color receiving unit 21c that receives designation of one candidate color from candidate colors, a reference point receiving unit 21d that receives designation of a reference point in an image, and an image that is a range surrounding the reference point received by the reference point receiving unit 21d in the image Received by the upper first range receiving unit 21e and the upper first range receiving unit 21e for accepting designation of the upper first range A second on-image range accepting unit 21f that accepts designation of a second on-image range that is a range surrounding the first on-image range in the image and excluding the first on-image range, and a pixel that adjusts the color of the pixel in the image The color adjustment unit 21g and the color space range receiving unit 21h that receives designation of a range on the color space that is a range surrounding the reference color received by the reference color receiving unit 21a in the Lab color space.

図3は、基準色22eおよび色空間上範囲22fの説明図である。   FIG. 3 is an explanatory diagram of the reference color 22e and the color space upper range 22f.

図3に示すように、色空間上範囲22fは、Lab色空間において基準色22eを含む範囲である。色空間上範囲22fは、次の数1で示すことができる。数1において、ΔEは、後述する色空間上範囲指定スライダー54eによって指定されることができる色差である。L、C、Hは、それぞれLab色空間における基準色22eの明度、彩度、色相である。L、C、Hは、それぞれLab色空間における色空間上範囲22fの境界を形成する画素の明度、彩度、色相である。
As shown in FIG. 3, the color space upper range 22f is a range including the reference color 22e in the Lab color space. The color space upper range 22f can be expressed by the following equation (1). In Equation 1, ΔE is a color difference that can be specified by a color space range specifying slider 54e described later. L 1 , C 1 , and H 1 are the brightness, saturation, and hue of the reference color 22e in the Lab color space, respectively. L 2 , C 2 , and H 2 are the brightness, saturation, and hue of the pixels that form the boundary of the upper color space range 22f in the Lab color space.

図4は、基準点22g、画像上第1範囲22hおよび画像上第2範囲22iの説明図である。   FIG. 4 is an explanatory diagram of the reference point 22g, the first image range 22h, and the second image range 22i.

図4に示すように、画像上第1範囲22hは、画像において、半径が所定の距離であって基準点22gを中心とした円によって囲まれた範囲である。画像上第2範囲22iは、画像において、半径が画像上第1範囲22hの半径より長い所定の距離であって基準点22gを中心とした円によって囲まれた範囲のうち、画像上第1範囲22hを除いた範囲である。画像上第1範囲22hは、次の数2で示すことができる。数2において、lは、後述する画像上第1範囲指定スライダー55bによって指定されることができる値であり、画像において画像上第1範囲22hの境界を形成する円の半径である。x、yは、それぞれ画像のxy平面上における基準点22gのx座標、y座標である。x、yは、それぞれ画像のxy平面上における画像上第1範囲22hの境界を形成する画素のx座標、y座標である。画像上第1範囲22hについて説明したが、画像上第2範囲22iについても同様である。
As shown in FIG. 4, the first range 22h on the image is a range surrounded by a circle whose radius is a predetermined distance and whose center is the reference point 22g. The image second range 22i is a first range on the image out of a range surrounded by a circle having a radius that is longer than the radius of the image first range 22h and centered on the reference point 22g. This is the range excluding 22h. The first range 22h on the image can be expressed by the following formula 2. In Equation 2, l is a value that can be specified by an on-image first range specifying slider 55b, which will be described later, and is the radius of a circle that forms the boundary of the on-image first range 22h in the image. x 1 and y 1 are the x coordinate and y coordinate of the reference point 22g on the xy plane of the image, respectively. x 2 and y 2 are the x coordinate and y coordinate of the pixels forming the boundary of the first range 22h on the image on the xy plane of the image, respectively. The first range 22h on the image has been described, but the same applies to the second range 22i on the image.

図5は、MFP40のブロック図である。   FIG. 5 is a block diagram of the MFP 40.

図5に示すように、MFP40は、MFP40全体を制御する制御部41と、各種のデータを記憶しているEEPROM(Electrically Erasable Programmable Read Only Memory)、HDDなどの記憶デバイスである記憶部42と、利用者による種々の操作が入力されるボタンなどの入力デバイスである操作部43と、種々の情報を表示するLCDなどの表示デバイスである表示部44と、用紙に印刷を実行する印刷デバイスであるプリンター45と、原稿から画像を読み取る読取デバイスであるスキャナー46と、公衆電話回線などの通信回線経由でファックス通信を行うファックスデバイスであるファックス通信部47と、ネットワーク11経由で通信を行うネットワーク通信デバイスであるネットワーク通信部48とを備えている。   As shown in FIG. 5, the MFP 40 includes a control unit 41 that controls the entire MFP 40, a storage unit 42 that is a storage device such as an EEPROM (Electrically Erasable Programmable Read Only Memory) and HDD that stores various types of data, An operation unit 43 that is an input device such as buttons for inputting various operations by a user, a display unit 44 that is a display device such as an LCD that displays various information, and a printing device that executes printing on paper. A printer 45, a scanner 46 that is a reading device that reads an image from a document, a fax communication unit 47 that is a fax device that performs fax communication via a communication line such as a public telephone line, and a network communication device that performs communication via the network 11 And a network communication unit 48 which is a network.

制御部41は、例えば、CPUと、プログラムおよび各種のデータを予め記憶しているROMと、CPUの作業領域として用いられるRAMとを備えている。CPUは、ROMまたは記憶部42に記憶されているプログラムを実行するようになっている。   The control unit 41 includes, for example, a CPU, a ROM that stores programs and various data in advance, and a RAM that is used as a work area for the CPU. The CPU executes a program stored in the ROM or the storage unit 42.

次に、PC20の動作について説明する。   Next, the operation of the PC 20 will be described.

PC20の制御部21は、プリンタードライバー22aを実行することによって、利用者からの指示に応じて画像をMFP40に印刷させることができる。そして、MFP40によって用紙に印刷された画像を見た利用者は、例えば、画像の少なくとも一部分の色を変更して再度画像をMFP40に印刷させることを希望する場合がある。制御部21は、画像の少なくとも一部分の色の調整(以下「部分色調整」という。)の指示が操作部23から入力されると、プリンタードライバー22aを実行することによって、図6に示す処理を開始する。なお、部分色調整の指示には、部分色調整の対象の画像データとして、記憶部22上の画像データ22dの指定も含まれている。   The control unit 21 of the PC 20 can cause the MFP 40 to print an image in accordance with an instruction from the user by executing the printer driver 22a. A user who sees an image printed on a sheet by the MFP 40 may, for example, desire to change the color of at least a part of the image and cause the MFP 40 to print the image again. When an instruction to adjust the color of at least a part of the image (hereinafter referred to as “partial color adjustment”) is input from the operation unit 23, the control unit 21 executes the process shown in FIG. 6 by executing the printer driver 22a. Start. The partial color adjustment instruction includes designation of image data 22d on the storage unit 22 as image data to be subjected to partial color adjustment.

図6は、部分色調整を実行する場合のPC20の動作のフローチャートである。   FIG. 6 is a flowchart of the operation of the PC 20 when executing partial color adjustment.

図6に示すように、PC20の制御部21は、図7に示す初期処理を実行する(S101)。   As shown in FIG. 6, the control unit 21 of the PC 20 executes the initial process shown in FIG. 7 (S101).

図7は、図6に示す初期処理のフローチャートである。   FIG. 7 is a flowchart of the initial process shown in FIG.

図7に示すように、制御部21は、デフォルトの基準色、色空間上範囲、基準点、画像上第1範囲および画像上第2範囲を、基準色22e、色空間上範囲22f、基準点22g、画像上第1範囲22hおよび画像上第2範囲22iとしてそれぞれ記憶部22に書き込む(S121)。   As illustrated in FIG. 7, the control unit 21 sets a default reference color, a color space range, a reference point, an image first range, and an image second range as a reference color 22e, a color space range 22f, and a reference point. 22g, the first on-image range 22h, and the second on-image range 22i are written in the storage unit 22 (S121).

次いで、制御部21は、部分色調整の対象の画像データとして指定された画像データ22dのRGBデータ22cのRGB値をLab値に変換したLabデータを生成する(S122)。   Next, the control unit 21 generates Lab data obtained by converting the RGB values of the RGB data 22c of the image data 22d specified as the image data to be subjected to partial color adjustment into Lab values (S122).

次いで、制御部21は、S122において生成したLabデータをLabデータ22jとして記憶部22に書き込む(S123)。   Next, the control unit 21 writes the Lab data generated in S122 to the storage unit 22 as Lab data 22j (S123).

制御部21は、S123の処理を終了すると、図7に示す初期処理を終了する。   When the process of S123 is completed, the control unit 21 ends the initial process shown in FIG.

図6に示すように、制御部21は、S101の初期処理を終了すると、図8に示す部分色調整第1画面表示処理を実行する(S102)。   As shown in FIG. 6, when the initial process of S101 is completed, the control unit 21 executes the partial color adjustment first screen display process shown in FIG. 8 (S102).

図8は、図6に示す部分色調整第1画面表示処理のフローチャートである。   FIG. 8 is a flowchart of the partial color adjustment first screen display process shown in FIG.

図8に示すように、制御部21は、部分色調整を実行するための画面である図9に示す部分色調整第1画面50を表示部24に表示させる(S141)。   As shown in FIG. 8, the control unit 21 causes the display unit 24 to display the partial color adjustment first screen 50 shown in FIG. 9, which is a screen for executing partial color adjustment (S141).

図9は、表示部24に表示される部分色調整第1画面50を示す図である。   FIG. 9 is a diagram showing a partial color adjustment first screen 50 displayed on the display unit 24.

図9において、部分色調整第1画面50は、色の調整対象の画像を色の調整前の状態で表示するための調整前画像プレビュー領域51と、色の調整対象の画像のうち色の調整対象の画素を表示するための調整対象画素表示領域52と、調整対象の基準色を表示するための基準色表示領域53と、調整対象の色を指定するためのGUI(Graphical User Interface)を表示する調整対象色指定GUI領域54と、色の調整対象の画像のうち色の調整対象の範囲を指定するためのGUIを表示する調整対象範囲指定GUI領域55と、色の調整対象の画素の指定を了承するためのボタンである次へボタン56と、部分色調整の実行を中止するためのボタンであるキャンセルボタン57とを含んでいる。   In FIG. 9, the partial color adjustment first screen 50 is a pre-adjustment image preview area 51 for displaying the color adjustment target image in a state before the color adjustment, and the color adjustment of the color adjustment target image. An adjustment target pixel display area 52 for displaying the target pixel, a reference color display area 53 for displaying the reference color to be adjusted, and a GUI (Graphical User Interface) for specifying the color to be adjusted are displayed. An adjustment target color specification GUI area 54 to be adjusted, an adjustment target range specification GUI area 55 for displaying a GUI for specifying a color adjustment target range in an image to be adjusted, and specification of a pixel to be adjusted Next button 56, which is a button for accepting the above, and a cancel button 57, which is a button for canceling the execution of partial color adjustment.

調整対象色指定GUI領域54は、調整前画像プレビュー領域51に表示されている画像上で調整対象の基準色を直接指定するためのカーソルである基準色指定カーソルを出現させるためのアイコンである基準色指定カーソル用アイコン54aと、R値の直接の入力によって調整対象の基準色のR値を指定するためのスピンボックスであるR値スピンボックス54bと、G値の直接の入力によって調整対象の基準色のG値を指定するためのスピンボックスであるG値スピンボックス54cと、B値の直接の入力によって調整対象の基準色のB値を指定するためのスピンボックスであるB値スピンボックス54dと、調整対象の色の範囲である色空間上範囲を指定するためのスライダーである色空間上範囲指定スライダー54eとを含んでいる。色空間上範囲指定スライダー54eは、Lab空間において色空間上範囲の境界を決める色差ΔEを指定するためのGUIである。   The adjustment target color designation GUI area 54 is an icon for making a reference color designation cursor appear as a cursor for directly designating the reference color to be adjusted on the image displayed in the pre-adjustment image preview area 51. A color designation cursor icon 54a, an R value spin box 54b that is a spin box for designating an R value of a reference color to be adjusted by direct input of an R value, and a reference of an adjustment target by direct input of a G value A G value spin box 54c which is a spin box for designating the G value of the color, and a B value spin box 54d which is a spin box for designating the B value of the reference color to be adjusted by direct input of the B value; A color space range specifying slider 54e that is a slider for specifying the color space range that is the range of the color to be adjusted.The color space range designation slider 54e is a GUI for designating the color difference ΔE that determines the boundary of the color space range in the Lab space.

調整対象範囲指定GUI領域55は、調整前画像プレビュー領域51に表示されている画像上で基準点を直接指定するためのカーソルである基準点指定カーソルを出現させるためのアイコンである基準点指定カーソル用アイコン55aと、画像上第1範囲を指定するためのスライダーである画像上第1範囲指定スライダー55bと、画像上第2範囲を指定するためのスライダーである画像上第2範囲指定スライダー55cとを含んでいる。画像上第1範囲指定スライダー55bは、画像において画像上第1範囲22h(図4参照。)の境界を形成する円の半径を指定するためのGUIである。画像上第2範囲指定スライダー55cは、画像において画像上第2範囲22i(図4参照。)の境界のうち画像上第1範囲22hの境界とは異なる境界を形成する円の半径を指定するためのGUIである。   The adjustment target range specification GUI area 55 is a reference point specification cursor that is an icon for causing a reference point specification cursor to appear on the image displayed in the pre-adjustment image preview area 51. An icon 55a, an image first range designation slider 55b that is a slider for designating a first range on the image, and an image second range designation slider 55c that is a slider for designating the second range on the image. Is included. The image first range designation slider 55b is a GUI for designating the radius of a circle forming the boundary of the image first range 22h (see FIG. 4) in the image. The image second range designation slider 55c designates the radius of a circle forming a boundary different from the boundary of the image first range 22h among the boundaries of the image second range 22i (see FIG. 4) in the image. This is the GUI.

図8に示すように、制御部21は、S141を実行した後、画像データ22dに基づいて、調整前画像プレビュー領域51および調整対象画素表示領域52への表示用のプレビュー画像を生成する(S142)。   As shown in FIG. 8, after executing S141, the control unit 21 generates a preview image for display in the pre-adjustment image preview area 51 and the adjustment target pixel display area 52 based on the image data 22d (S142). ).

次いで、制御部21は、S142において生成したプレビュー画像を調整前画像プレビュー領域51および調整対象画素表示領域52の両方に表示する(S143)。   Next, the control unit 21 displays the preview image generated in S142 in both the pre-adjustment image preview area 51 and the adjustment target pixel display area 52 (S143).

次いで、制御部21は、画像上第1範囲22hおよび画像上第2範囲22iを調整対象画素表示領域52に表示する(S144)。なお、図9に示す調整対象画素表示領域52においては、画像上第1範囲22hおよび画像上第2範囲22iは、画像上第1範囲22hの境界を形成する円と、画像上第2範囲22iの境界のうち画像上第1範囲22hの境界とは異なる境界を形成する円とが破線で示されることによって表示されている。   Next, the control unit 21 displays the first image range 22h and the second image range 22i in the adjustment target pixel display area 52 (S144). In the adjustment target pixel display region 52 shown in FIG. 9, the first image range 22h and the second image range 22i include a circle that forms a boundary between the first image range 22h and the second image range 22i. Among the boundaries, a circle forming a boundary different from the boundary of the first range 22h on the image is displayed by a broken line.

次いで、制御部21は、画像データ22dによって表される画像のうち、色空間上範囲22f内であって、画像上第1範囲22hまたは画像上第2範囲22i内である画素を検出する(S145)。ここで、制御部21は、画像データ22dによって表される画像のうち色空間上範囲22f内の画素を、Labデータ22jおよび色空間上範囲22fに基づいて検出することができる。また、制御部21は、画像データ22dによって表される画像のうち画像上第1範囲22h内の画素を、画像データ22dの座標データ22bと、画像上第1範囲22hとに基づいて検出することができる。また、制御部21は、画像データ22dによって表される画像のうち画像上第2範囲22i内の画素を、座標データ22bと、画像上第2範囲22iとに基づいて検出することができる。   Next, the control unit 21 detects pixels that are in the color space range 22f and within the first image range 22h or the second image range 22i in the image represented by the image data 22d (S145). ). Here, the control unit 21 can detect pixels in the color space range 22f in the image represented by the image data 22d based on the Lab data 22j and the color space range 22f. Further, the control unit 21 detects pixels in the first image range 22h in the image represented by the image data 22d based on the coordinate data 22b of the image data 22d and the first image range 22h. Can do. Moreover, the control part 21 can detect the pixel in the image 2nd range 22i among the images represented by the image data 22d based on the coordinate data 22b and the image 2nd range 22i.

次いで、制御部21は、S145において検出した画素を調整対象画素表示領域52に表示する(S146)。なお、図9に示す調整対象画素表示領域52においては、画像データ22dによって表される画像のうち、色空間上範囲22f内であって、画像上第1範囲22hまたは画像上第2範囲22i内である画素は、ハッチングで示されている。   Next, the control unit 21 displays the pixels detected in S145 in the adjustment target pixel display area 52 (S146). In the adjustment target pixel display area 52 shown in FIG. 9, the image represented by the image data 22d is in the color space upper range 22f and in the first image upper range 22h or the second image upper range 22i. Pixels that are are indicated by hatching.

次いで、制御部21は、記憶部22に記憶されている基準色22eで基準色表示領域53を塗り潰すことによって、基準色表示領域53に基準色22eを表示する(S147)。   Next, the control unit 21 displays the reference color 22e in the reference color display region 53 by filling the reference color display region 53 with the reference color 22e stored in the storage unit 22 (S147).

次いで、制御部21は、基準色22eに基づいて、R値スピンボックス54b、G値スピンボックス54cおよびB値スピンボックス54dの表示を変更する(S148)。   Next, the control unit 21 changes the display of the R value spin box 54b, the G value spin box 54c, and the B value spin box 54d based on the reference color 22e (S148).

次いで、制御部21は、記憶部22に記憶されている色空間上範囲22fに基づいて、色空間上範囲指定スライダー54eの表示を変更する(S149)。   Next, the control unit 21 changes the display of the color space range designation slider 54e based on the color space range 22f stored in the storage unit 22 (S149).

次いで、制御部21は、記憶部22に記憶されている画像上第1範囲22hに基づいて、画像上第1範囲指定スライダー55bの表示を変更する(S150)。   Next, the control unit 21 changes the display of the on-image first range designation slider 55b based on the on-image first range 22h stored in the storage unit 22 (S150).

次いで、制御部21は、記憶部22に記憶されている画像上第2範囲22iに基づいて、画像上第2範囲指定スライダー55cの表示を変更する(S151)。   Next, the control unit 21 changes the display of the on-image second range designation slider 55c based on the on-image second range 22i stored in the storage unit 22 (S151).

制御部21は、S151の処理を終了すると、図8に示す部分色調整第1画面表示処理を終了する。   When the process of S151 is completed, the control unit 21 ends the partial color adjustment first screen display process shown in FIG.

図6に示すように、制御部21は、S102の部分色調整第1画面表示処理を終了すると、操作部23を介して基準色の変更が指示されたか否かを判断する(S103)。ここで、基準色の変更の方法は、基準色指定カーソル用アイコン54aが押されることによって出現された基準色指定カーソルによって調整前画像プレビュー領域51に表示されている画像上で画素が指定されることによって、その画素の色が基準色として指定される方法と、R値スピンボックス54b、G値スピンボックス54cおよびB値スピンボックス54dに基準色のRGB値が直接入力されることによって、基準色が指定される方法とがある。なお、制御部21は、基準色指定カーソルによって基準色が指定された場合、基準色指定カーソルによって指定された基準色のRGB値をR値スピンボックス54b、G値スピンボックス54cおよびB値スピンボックス54dに入力する。   As shown in FIG. 6, when the partial color adjustment first screen display process in S102 is completed, the control unit 21 determines whether or not a reference color change is instructed via the operation unit 23 (S103). Here, as a method of changing the reference color, a pixel is specified on the image displayed in the pre-adjustment image preview area 51 by the reference color specifying cursor that appears when the reference color specifying cursor icon 54a is pressed. Thus, the color of the pixel is designated as the reference color, and the RGB value of the reference color is directly input to the R value spin box 54b, the G value spin box 54c, and the B value spin box 54d. Is specified. When the reference color is designated by the reference color designation cursor, the control unit 21 converts the RGB value of the reference color designated by the reference color designation cursor into the R value spin box 54b, the G value spin box 54c, and the B value spin box. 54d.

制御部21は、操作部23を介して基準色の変更が指示されたとS103において判断すると、図10に示す基準色受付処理を実行する(S104)。   If the control unit 21 determines in S103 that the change of the reference color is instructed via the operation unit 23, the control unit 21 executes the reference color reception process shown in FIG. 10 (S104).

図10は、図6に示す基準色受付処理のフローチャートである。   FIG. 10 is a flowchart of the reference color acceptance process shown in FIG.

図10に示すように、制御部21の基準色受付部21aは、基準色指定カーソルと、R値スピンボックス54b、G値スピンボックス54cおよびB値スピンボックス54dとの何れかによる変更の指示によって指定された基準色のRGB値をLab値に変換する(S161)。   As shown in FIG. 10, the reference color receiving unit 21a of the control unit 21 is instructed by a reference color designation cursor and a change instruction by any of the R value spin box 54b, the G value spin box 54c, and the B value spin box 54d. The RGB value of the designated reference color is converted into a Lab value (S161).

次いで、基準色受付部21aは、Lab値に変換した基準色を、新たな基準色22eとして記憶部22に書き込む(S162)。   Next, the reference color receiving unit 21a writes the reference color converted into the Lab value into the storage unit 22 as a new reference color 22e (S162).

次いで、制御部21の色空間上範囲受付部21hは、基準色22eと、色空間上範囲指定スライダー54eによって現在指定されているLab空間上の距離とに基づいて、新たな色空間上範囲を算出する(S163)。   Next, the color space range accepting unit 21h of the control unit 21 sets a new color space range based on the reference color 22e and the distance in the Lab space currently designated by the color space range designation slider 54e. Calculate (S163).

次いで、色空間上範囲受付部21hは、S163において算出した色空間上範囲を、新たな色空間上範囲22fとして記憶部22に書き込む(S164)。   Next, the color space range receiving unit 21h writes the color space range calculated in S163 into the storage unit 22 as a new color space range 22f (S164).

次いで、制御部21は、基準色表示領域53を基準色22eで塗り潰すことによって、基準色表示領域53に基準色22eを表示する(S165)。   Next, the control unit 21 displays the reference color 22e in the reference color display area 53 by filling the reference color display area 53 with the reference color 22e (S165).

次いで、制御部21は、画像データ22dによって表される画像のうち、色空間上範囲22f内であって、記憶部22に記憶されている画像上第1範囲22hまたは画像上第2範囲22i内である画素を検出する(S166)。   Next, the control unit 21 is within the range on the color space 22f of the image represented by the image data 22d, and is within the first range 22h on the image or the second range 22i on the image stored in the storage unit 22. Are detected (S166).

次いで、制御部21は、S166において検出した画素をS146の処理と同様に調整対象画素表示領域52に表示する(S167)。   Next, the control unit 21 displays the pixels detected in S166 in the adjustment target pixel display area 52 as in the process of S146 (S167).

制御部21は、S167の処理を終了すると、図10に示す基準色受付処理を終了する。   When the process of S167 is finished, the control unit 21 finishes the reference color acceptance process shown in FIG.

図6に示すように、制御部21は、操作部23を介して基準色の変更が指示されていないとS103において判断するか、S104の基準色受付処理を終了すると、操作部23を介して色空間上範囲の変更が指示されたか否かを判断する(S105)。ここで、色空間上範囲の変更は、色空間上範囲指定スライダー54eが操作されることによって実行される。   As shown in FIG. 6, the control unit 21 determines in S103 that the change of the reference color is not instructed via the operation unit 23 or ends the reference color reception process of S104 via the operation unit 23. It is determined whether or not a change in the color space range has been instructed (S105). Here, the change in the color space range is executed by operating the color space range designation slider 54e.

制御部21は、操作部23を介して色空間上範囲の変更が指示されたとS105において判断すると、図11に示す色空間上範囲受付処理を実行する(S106)。   If it is determined in S105 that the change in the color space range is instructed via the operation unit 23, the control unit 21 executes the color space range reception process shown in FIG. 11 (S106).

図11は、図6に示す色空間上範囲受付処理のフローチャートである。   FIG. 11 is a flowchart of the color space range acceptance process shown in FIG.

図11に示すように、制御部21の色空間上範囲受付部21hは、記憶部22に記憶されている基準色22eと、色空間上範囲指定スライダー54eによって現在指定されているLab空間上の距離とに基づいて、新たな色空間上範囲を算出する(S181)。   As shown in FIG. 11, the on-color space range receiving unit 21h of the control unit 21 is on the Lab space currently designated by the reference color 22e stored in the storage unit 22 and the on-color space range designation slider 54e. Based on the distance, a new range on the color space is calculated (S181).

次いで、色空間上範囲受付部21hは、S181において算出した色空間上範囲を、新たな色空間上範囲22fとして記憶部22に書き込む(S182)。   Next, the color space range receiving unit 21h writes the color space range calculated in S181 into the storage unit 22 as a new color space range 22f (S182).

次いで、制御部21は、画像データ22dによって表される画像のうち、色空間上範囲22f内であって、記憶部22に記憶されている画像上第1範囲22hまたは画像上第2範囲22i内である画素を検出する(S183)。   Next, the control unit 21 is within the range on the color space 22f of the image represented by the image data 22d, and is within the first range 22h on the image or the second range 22i on the image stored in the storage unit 22. Is detected (S183).

次いで、制御部21は、S183において検出した画素をS146の処理と同様に調整対象画素表示領域52に表示する(S184)。   Next, the control unit 21 displays the pixels detected in S183 in the adjustment target pixel display area 52 as in the process of S146 (S184).

制御部21は、S184の処理を終了すると、図11に示す色空間上範囲受付処理を終了する。   When the process of S184 is completed, the control unit 21 ends the color space range reception process shown in FIG.

図6に示すように、制御部21は、操作部23を介して色空間上範囲の変更が指示されていないとS105において判断するか、S106の色空間上範囲受付処理を終了すると、操作部23を介して基準点の変更が指示されたか否かを判断する(S107)。ここで、基準点の変更は、基準点指定カーソル用アイコン55aが押されることによって出現された基準点指定カーソルによって、調整前画像プレビュー領域51に表示されている画像上で基準点が指定されることによって実行される。   As illustrated in FIG. 6, when the control unit 21 determines in S105 that the change of the color space range is not instructed via the operation unit 23 or ends the color space range reception process in S106, the operation unit It is determined whether or not a change of the reference point is instructed via the terminal 23 (S107). Here, the reference point is changed by specifying the reference point on the image displayed in the pre-adjustment image preview area 51 by the reference point specifying cursor that appears when the reference point specifying cursor icon 55a is pressed. Is executed by.

制御部21は、操作部23を介して基準点の変更が指示されたとS107において判断すると、図12に示す基準点受付処理を実行する(S108)。   If the control unit 21 determines in S107 that the change of the reference point has been instructed via the operation unit 23, the control unit 21 executes the reference point receiving process shown in FIG. 12 (S108).

図12は、図6に示す基準点受付処理のフローチャートである。   FIG. 12 is a flowchart of the reference point reception process shown in FIG.

図12に示すように、制御部21の基準点受付部21dは、基準点指定カーソルによる変更の指示によって指定された基準点を、新たな基準点22gとして記憶部22に書き込む(S201)。   As shown in FIG. 12, the reference point receiving unit 21d of the control unit 21 writes the reference point designated by the change instruction by the reference point designation cursor into the storage unit 22 as a new reference point 22g (S201).

次いで、制御部21の画像上第1範囲受付部21eは、基準点22gと、画像上第1範囲指定スライダー55bによって現在指定されている画像上の距離とに基づいて、新たな画像上第1範囲を算出する(S202)。   Next, the first on-image range receiving unit 21e of the control unit 21 creates a new first on-image basis based on the reference point 22g and the distance on the image currently designated by the first on-image range designation slider 55b. The range is calculated (S202).

次いで、画像上第1範囲受付部21eは、S202において算出した画像上第1範囲を、新たな画像上第1範囲22hとして記憶部22に書き込む(S203)。   Next, the first image upper range receiving unit 21e writes the first image upper range calculated in S202 to the storage unit 22 as a new first image upper range 22h (S203).

次いで、制御部21の画像上第2範囲受付部21fは、基準点22gと、画像上第2範囲指定スライダー55cによって現在指定されている画像上の距離とに基づいて、新たな画像上第2範囲を算出する(S204)。   Next, the second on-image range receiving unit 21f of the control unit 21 performs a new second on-image basis based on the reference point 22g and the distance on the image currently designated by the second on-image range designation slider 55c. The range is calculated (S204).

次いで、画像上第2範囲受付部21fは、S204において算出した画像上第2範囲を、新たな画像上第2範囲22iとして記憶部22に書き込む(S205)。   Next, the second image upper range receiving unit 21f writes the second upper image range calculated in S204 to the storage unit 22 as a new second upper image range 22i (S205).

次いで、制御部21は、画像上第1範囲22hおよび画像上第2範囲22iをS144の処理と同様に調整対象画素表示領域52に表示する(S206)。   Next, the control unit 21 displays the first on-image range 22h and the second on-image range 22i in the adjustment target pixel display area 52 in the same manner as the processing in S144 (S206).

次いで、制御部21は、画像データ22dによって表される画像のうち、記憶部22に記憶されている色空間上範囲22f内であって、画像上第1範囲22hまたは画像上第2範囲22i内である画素を検出する(S207)。   Next, the control unit 21 within the range 22f on the color space stored in the storage unit 22 among the images represented by the image data 22d, the first range 22h on the image or the second range 22i on the image. Is detected (S207).

次いで、制御部21は、S207において検出した画素をS146の処理と同様に調整対象画素表示領域52に表示する(S208)。   Next, the control unit 21 displays the pixels detected in S207 in the adjustment target pixel display area 52 as in the process of S146 (S208).

制御部21は、S208の処理を終了すると、図12に示す基準点受付処理を終了する。   When the control unit 21 ends the process of S208, the control point reception process illustrated in FIG.

図6に示すように、制御部21は、操作部23を介して基準点の変更が指示されていないとS107において判断するか、S108の基準点受付処理を終了すると、操作部23を介して画像上第1範囲の変更が指示されたか否かを判断する(S109)。ここで、画像上第1範囲の変更は、画像上第1範囲指定スライダー55bが操作されることによって実行される。   As shown in FIG. 6, the control unit 21 determines in S107 that the change of the reference point is not instructed via the operation unit 23 or ends the reference point reception process of S108 via the operation unit 23. It is determined whether or not an instruction to change the first range on the image is given (S109). Here, the change of the first range on the image is executed by operating the first range designation slider 55b on the image.

制御部21は、操作部23を介して画像上第1範囲の変更が指示されたとS109において判断すると、図13に示す画像上第1範囲受付処理を実行する(S110)。   When determining in S109 that the change of the first range on the image has been instructed via the operation unit 23, the control unit 21 executes the first on-image range reception process shown in FIG. 13 (S110).

図13は、図6に示す画像上第1範囲受付処理のフローチャートである。   FIG. 13 is a flowchart of the on-image first range acceptance process shown in FIG.

図13に示すように、制御部21の画像上第1範囲受付部21eは、記憶部22に記憶されている基準点22gと、画像上第1範囲指定スライダー55bによって現在指定されている画像上の距離とに基づいて、新たな画像上第1範囲を算出する(S221)。   As illustrated in FIG. 13, the first on-image range receiving unit 21e of the control unit 21 includes the reference point 22g stored in the storage unit 22 and the on-image first designated by the on-image first range designation slider 55b. The first range on the image is calculated based on the distance (S221).

次いで、画像上第1範囲受付部21eは、S221において算出した画像上第1範囲を、新たな画像上第1範囲22hとして記憶部22に書き込む(S222)。   Next, the first on-image range receiving unit 21e writes the first on-image range calculated in S221 to the storage unit 22 as a new first on-image range 22h (S222).

次いで、制御部21は、画像上第1範囲22hをS144の処理と同様に調整対象画素表示領域52に表示する(S223)。   Next, the control unit 21 displays the first on-image range 22h in the adjustment target pixel display area 52 in the same manner as the process of S144 (S223).

制御部21は、S223の処理を終了すると、図13に示す画像上第1範囲受付処理を終了する。   When the control unit 21 ends the process of S223, the first on-image range reception process illustrated in FIG. 13 ends.

図6に示すように、制御部21は、操作部23を介して画像上第1範囲の変更が指示されていないとS109において判断するか、S110の画像上第1範囲受付処理を終了すると、操作部23を介して画像上第2範囲の変更が指示されたか否かを判断する(S111)。ここで、画像上第2範囲の変更は、画像上第2範囲指定スライダー55cが操作されることによって実行される。   As illustrated in FIG. 6, when the control unit 21 determines in S109 that the change of the first range on the image is not instructed via the operation unit 23 or ends the first range on image reception process in S110, It is determined whether or not an instruction to change the second range on the image is given via the operation unit 23 (S111). Here, the change of the second range on the image is executed by operating the second range designation slider 55c on the image.

制御部21は、操作部23を介して画像上第2範囲の変更が指示されたとS111において判断すると、図14に示す画像上第2範囲受付処理を実行する(S112)。   If the control unit 21 determines in S111 that the change of the second range on the image has been instructed via the operation unit 23, the control unit 21 executes the second range on image reception process illustrated in FIG. 14 (S112).

図14は、図6に示す画像上第2範囲受付処理のフローチャートである。   FIG. 14 is a flowchart of the on-image second range acceptance process shown in FIG.

図14に示すように、制御部21の画像上第2範囲受付部21fは、記憶部22に記憶されている基準点22gと、画像上第2範囲指定スライダー55cによって現在指定されている画像上の距離と、記憶部22に記憶されている画像上第1範囲22hとに基づいて、新たな画像上第2範囲を算出する(S241)。   As illustrated in FIG. 14, the second on-image range receiving unit 21 f of the control unit 21 includes the reference point 22 g stored in the storage unit 22 and the on-image currently designated by the on-image second range designation slider 55 c. Based on the distance and the first on-image range 22h stored in the storage unit 22, a new second on-image range is calculated (S241).

次いで、画像上第2範囲受付部21fは、S241において算出した画像上第2範囲を、新たな画像上第2範囲22iとして記憶部22に書き込む(S242)。   Next, the second on-image range receiving unit 21f writes the second on-image range calculated in S241 to the storage unit 22 as a new second on-image range 22i (S242).

次いで、制御部21は、画像上第2範囲22iをS144の処理と同様に調整対象画素表示領域52に表示する(S243)。   Next, the control unit 21 displays the second range 22i on the image in the adjustment target pixel display area 52 in the same manner as the process of S144 (S243).

次いで、制御部21は、画像データ22dによって表される画像のうち、記憶部22に記憶されている色空間上範囲22f内であって、記憶部22に記憶されている画像上第1範囲22hまたは画像上第2範囲22i内である画素を検出する(S244)。   Next, the control unit 21 in the image space 22d within the color space upper range 22f stored in the storage unit 22 among the images represented by the image data 22d, the first image upper range 22h stored in the storage unit 22. Alternatively, pixels within the second range 22i on the image are detected (S244).

次いで、制御部21は、S244において検出した画素をS146の処理と同様に調整対象画素表示領域52に表示する(S245)。   Next, the control unit 21 displays the pixels detected in S244 in the adjustment target pixel display area 52 as in the process of S146 (S245).

制御部21は、S245の処理を終了すると、図14に示す画像上第2範囲受付処理を終了する。   When the process of S245 is completed, the control unit 21 ends the second on-image range reception process illustrated in FIG.

図6に示すように、制御部21は、操作部23を介して画像上第2範囲の変更が指示されていないとS111において判断するか、S112の画像上第2範囲受付処理を終了すると、操作部23を介して次へボタン56が押されたか否かを判断する(S113)。   As illustrated in FIG. 6, the control unit 21 determines in S111 that the change of the second range on the image is not instructed via the operation unit 23, or ends the second range on image reception process in S112. It is determined whether or not the next button 56 has been pressed via the operation unit 23 (S113).

制御部21は、操作部23を介して次へボタン56が押されていないとS113において判断すると、操作部23を介してキャンセルボタン57が押されたか否かを判断する(S114)。   When determining in S113 that the next button 56 has not been pressed via the operation unit 23, the control unit 21 determines whether or not the cancel button 57 has been pressed via the operation unit 23 (S114).

制御部21は、操作部23を介してキャンセルボタン57が押されていないとS114において判断すると、再びS103の処理に戻る。   If the control unit 21 determines in S114 that the cancel button 57 has not been pressed via the operation unit 23, the control unit 21 returns to the process of S103 again.

一方、制御部21は、操作部23を介してキャンセルボタン57が押されたとS114において判断すると、表示部24における部分色調整第1画面50の表示を終了する(S115)。   On the other hand, when determining in S114 that the cancel button 57 has been pressed via the operation unit 23, the control unit 21 ends the display of the partial color adjustment first screen 50 on the display unit 24 (S115).

次いで、制御部21は、不要な情報を記憶部22から削除する(S116)。ここで、不要な情報には、基準色22e、色空間上範囲22f、基準点22g、画像上第1範囲22h、画像上第2範囲22iおよびLabデータ22jが含まれる。   Next, the control unit 21 deletes unnecessary information from the storage unit 22 (S116). Here, unnecessary information includes the reference color 22e, the color space upper range 22f, the reference point 22g, the image first range 22h, the image upper range 22i, and the Lab data 22j.

制御部21は、S116の処理を終了すると、図6に示す処理を終了する。   When the control section 21 finishes the process of S116, the control section 21 ends the process shown in FIG.

制御部21は、操作部23を介して次へボタン56が押されたとS113において判断すると、表示部24における部分色調整第1画面50の表示を終了する(S117)。   If the control unit 21 determines in S113 that the next button 56 has been pressed via the operation unit 23, the control unit 21 ends the display of the partial color adjustment first screen 50 on the display unit 24 (S117).

図15は、図6に示すフローチャートの続きのフローチャートである。   FIG. 15 is a flowchart subsequent to the flowchart shown in FIG.

制御部21は、図6に示すS117の処理を終了すると、図15に示すように、図16に示す部分色調整第2画面表示処理を実行する(S261)。   When the process of S117 shown in FIG. 6 ends, the control unit 21 executes the partial color adjustment second screen display process shown in FIG. 16 as shown in FIG. 15 (S261).

図16は、図15に示す部分色調整第2画面表示処理のフローチャートである。   FIG. 16 is a flowchart of the partial color adjustment second screen display process shown in FIG.

図16に示すように、制御部21は、部分色調整を実行するための画面である図17に示す部分色調整第2画面60を表示部24に表示させる(S281)。   As illustrated in FIG. 16, the control unit 21 causes the display unit 24 to display a partial color adjustment second screen 60 illustrated in FIG. 17, which is a screen for executing partial color adjustment (S <b> 281).

図17は、表示部24に表示される部分色調整第2画面60を示す図である。   FIG. 17 is a diagram showing a partial color adjustment second screen 60 displayed on the display unit 24.

図17において、部分色調整第2画面60は、色の調整後の基準色の候補である候補色を指定するためのGUIを表示する候補色指定GUI第1領域61と、追加のパラメーターによって生成された候補色を指定するためのGUIを表示する候補色指定GUI第2領域62と、部分色調整第1画面50に戻るためのボタンである戻るボタン63と、部分色調整を実行するためのボタンである調整実行ボタン64とを含んでいる。   In FIG. 17, the partial color adjustment second screen 60 is generated by a candidate color designation GUI first area 61 that displays a GUI for designating a candidate color that is a candidate for a reference color after color adjustment, and an additional parameter. A candidate color designation GUI second area 62 for displaying a GUI for designating the candidate color, a return button 63 that is a button for returning to the partial color adjustment first screen 50, and for executing partial color adjustment. And an adjustment execution button 64 which is a button.

候補色指定GUI第1領域61は、色の調整用のパラメーターとして色相を指定するためのチェックボックスである色相チェックボックス61aと、色の調整用のパラメーターとして彩度を指定するためのチェックボックスである彩度チェックボックス61bと、色の調整用のパラメーターとして明度を指定するためのチェックボックスである明度チェックボックス61cと、色相チェックボックス61a、彩度チェックボックス61bおよび明度チェックボックス61cにおいて指定されたパラメーター(以下「選択パラメーター」という。)によって生成された候補色のパッチ(以下「選択パラメーターパッチ」という。)を印刷するためのボタンであるテスト印刷ボタン61dと、色相チェックボックス61a、彩度チェックボックス61bおよび明度チェックボックス61cにおいて指定されなかったパラメーター(以下「追加パラメーター」という。)によって生成された候補色のパッチ(以下「追加パラメーターパッチ」という。)を印刷するためのボタンである追加パラメーターテスト印刷ボタン61eと、選択パラメーターパッチのうち所望の候補色の縦の位置を指定するためのスピンボックスである選択パラメーターパッチ縦位置スピンボックス61fと、選択パラメーターパッチのうち所望の候補色の横の位置を指定するためのスピンボックスである選択パラメーターパッチ横位置スピンボックス61gとを含んでいる。なお、色相チェックボックス61a、彩度チェックボックス61bおよび明度チェックボックス61cは、全てのチェックボックスの選択が解除されることと、全てのチェックボックスが選択されることとができないようになっている。すなわち、色相チェックボックス61a、彩度チェックボックス61bおよび明度チェックボックス61cは、何れか1つのみ、または、何れか2つのみが選択されている状態のみを採ることができる。   The candidate color designation GUI first area 61 includes a hue check box 61a that is a check box for designating a hue as a parameter for color adjustment, and a check box for designating saturation as a parameter for color adjustment. It is specified in a certain saturation check box 61b, a brightness check box 61c that is a check box for designating brightness as a parameter for color adjustment, a hue check box 61a, a saturation check box 61b, and a brightness check box 61c. A test print button 61d which is a button for printing a candidate color patch (hereinafter referred to as “selected parameter patch”) generated by a parameter (hereinafter referred to as “selected parameter”), a hue check box 61a, and a saturation check box 1b and additional parameter test which is a button for printing a patch of candidate color (hereinafter referred to as “additional parameter patch”) generated by a parameter not specified in the brightness check box 61c (hereinafter referred to as “additional parameter”) A print button 61e, a selection parameter patch vertical position spin box 61f that is a spin box for designating a vertical position of a desired candidate color among the selected parameter patches, and a horizontal position of the desired candidate color among the selection parameter patches And a selection parameter patch lateral position spin box 61g, which is a spin box for designating. The hue check box 61a, the saturation check box 61b, and the lightness check box 61c are configured such that all check boxes cannot be deselected and all check boxes cannot be selected. That is, only one of the hue check box 61a, the saturation check box 61b, and the lightness check box 61c, or a state in which only two of them are selected can be taken.

候補色指定GUI第2領域62は、追加パラメーターによって生成された候補色の指定を中止するためのボタンであるキャンセルボタン62aと、追加パラメーターパッチのうち所望の候補色の縦の位置を指定するためのスピンボックスである追加パラメーターパッチ縦位置スピンボックス62bと、追加パラメーターパッチのうち所望の候補色の横の位置を指定するためのスピンボックスである追加パラメーターパッチ横位置スピンボックス62cとを含んでいる。   The candidate color designation GUI second area 62 designates a cancel button 62a that is a button for canceling designation of a candidate color generated by an additional parameter, and a vertical position of a desired candidate color among additional parameter patches. An additional parameter patch vertical position spin box 62b, and an additional parameter patch horizontal position spin box 62c that is a spin box for designating a horizontal position of a desired candidate color among the additional parameter patches. .

図16に示すように、制御部21は、S281の処理を終了すると、追加パラメーターテスト印刷ボタン61e、選択パラメーターパッチ縦位置スピンボックス61f、選択パラメーターパッチ横位置スピンボックス61g、候補色指定GUI第2領域62のGUIおよび調整実行ボタン64をグレーアウトして操作不可能にする(S282)。すなわち、色相チェックボックス61a、彩度チェックボックス61b、明度チェックボックス61c、テスト印刷ボタン61dおよび戻るボタン63のみが操作可能な状態になっている。   As shown in FIG. 16, when the control unit 21 finishes the processing of S281, the additional parameter test print button 61e, the selected parameter patch vertical position spin box 61f, the selected parameter patch horizontal position spin box 61g, the candidate color designation GUI second The GUI in the area 62 and the adjustment execution button 64 are grayed out to disable operation (S282). That is, only the hue check box 61a, the saturation check box 61b, the lightness check box 61c, the test print button 61d, and the return button 63 are operable.

次いで、制御部21は、色相チェックボックス61a、彩度チェックボックス61bおよび明度チェックボックス61cのうち、例えば色相チェックボックス61aのみを選択された状態にする(S283)。なお、制御部21は、S283において、色相チェックボックス61a、彩度チェックボックス61bおよび明度チェックボックス61cのうち、何れか1つのみ、または、何れか2つのみを選択された状態にするようになっていれば良い。   Next, the control unit 21 sets, for example, only the hue check box 61a among the hue check box 61a, the saturation check box 61b, and the lightness check box 61c (S283). In S283, the control unit 21 causes only one or only two of the hue check box 61a, the saturation check box 61b, and the lightness check box 61c to be selected. It only has to be.

なお、制御部21は、以後、色相チェックボックス61a、彩度チェックボックス61bおよび明度チェックボックス61cが操作可能な状態である場合、色相チェックボックス61a、彩度チェックボックス61bおよび明度チェックボックス61cの選択を操作部23からの指示に応じて変更することができる。   If the hue check box 61a, the saturation check box 61b, and the lightness check box 61c are operable thereafter, the control unit 21 selects the hue check box 61a, the saturation check box 61b, and the lightness check box 61c. Can be changed according to an instruction from the operation unit 23.

制御部21は、S283の処理を終了すると、図16に示す部分色調整第2画面表示処理を終了する。   When the process of S283 is completed, the control unit 21 ends the partial color adjustment second screen display process shown in FIG.

図15に示すように、制御部21は、S261の部分色調整第2画面表示処理を終了すると、テスト印刷ボタン61dが押されたか否かを判断する(S262)。   As shown in FIG. 15, when the partial color adjustment second screen display process of S261 is completed, the control unit 21 determines whether or not the test print button 61d is pressed (S262).

制御部21は、テスト印刷ボタン61dが押されたとS262において判断すると、図18に示すテスト印刷処理を実行する(S263)。   If the control unit 21 determines in S262 that the test print button 61d has been pressed, it executes the test print process shown in FIG. 18 (S263).

図18は、図15に示すテスト印刷処理のフローチャートである。   FIG. 18 is a flowchart of the test print process shown in FIG.

図18に示すように、制御部21の候補色印刷部21bは、記憶部22に記憶されている基準色22eと、色相、彩度および明度のうち色相チェックボックス61a、彩度チェックボックス61bおよび明度チェックボックス61cにおいて選択されているパラメーターとに基づいて、第1パッチ情報を生成する(S301)。ここで、第1パッチ情報とは、基準色22eに対して色の調整が実行されたと仮定した場合の色の調整後の基準色の候補である候補色を複数種類集めた情報であり、複数種類の候補色がパッチとして用紙に印刷された場合の候補色毎の用紙上での印刷位置も含んでいる情報である。なお、候補色印刷部21bは、候補色の生成の際に使用する調整量を、予め利用者に設定させておくことも可能である。   As illustrated in FIG. 18, the candidate color printing unit 21 b of the control unit 21 includes a reference color 22 e stored in the storage unit 22, a hue check box 61 a, a saturation check box 61 b, among hue, saturation, and brightness. First patch information is generated based on the parameter selected in the lightness check box 61c (S301). Here, the first patch information is information obtained by collecting a plurality of types of candidate colors that are candidates for the reference color after color adjustment when it is assumed that color adjustment has been performed on the reference color 22e. This is information including the printing position on the paper for each candidate color when the type of candidate color is printed on the paper as a patch. The candidate color printing unit 21b can also allow the user to set the adjustment amount used when generating the candidate color in advance.

次いで、候補色印刷部21bは、S301において生成した第1パッチ情報を第1パッチ情報22kとして記憶部22に書き込む(S302)。   Next, the candidate color printing unit 21b writes the first patch information generated in S301 to the storage unit 22 as the first patch information 22k (S302).

次いで、候補色印刷部21bは、第1パッチ情報22kに基づいてパッチを印刷する(S303)。つまり、候補色印刷部21bは、パッチの印刷データをMFP40に送信して、MFP40にパッチを印刷させる。   Next, the candidate color printing unit 21b prints a patch based on the first patch information 22k (S303). That is, the candidate color printing unit 21b transmits the patch print data to the MFP 40, and causes the MFP 40 to print the patch.

図19(a)は、色相、彩度および明度のうち1つのパラメーターで候補色が生成された場合のMFP40によって印刷されるパッチの例を示す図である。図19(b)は、色相、彩度および明度のうち2つのパラメーターで候補色が生成された場合のMFP40によって印刷されるパッチの例を示す図である。   FIG. 19A is a diagram illustrating an example of a patch printed by the MFP 40 when a candidate color is generated with one parameter of hue, saturation, and lightness. FIG. 19B is a diagram illustrating an example of a patch printed by the MFP 40 when a candidate color is generated with two parameters of hue, saturation, and lightness.

候補色印刷部21bは、色相、彩度および明度のうち1つのパラメーターで候補色を生成する場合、図19(a)に示すように、複数種類の候補色をパラメーターの量順に一列に並べたパッチを生成する。図19(a)において、中央の候補色、すなわち、縦の位置がAであって横の位置が6である候補色は、基準色22eである。候補色印刷部21bは、色相、彩度および明度のうち2つのパラメーターで候補色を生成する場合、図19(b)に示すように、複数種類の候補色を1つ目のパラメーターの量順に縦列に並べて2つ目のパラメーターの量順に横列に並べたパッチを生成する。図19(b)において、中央の候補色、すなわち、縦の位置がFであって横の位置が6である候補色は、基準色22eである。   When the candidate color printing unit 21b generates a candidate color with one parameter of hue, saturation, and lightness, as shown in FIG. 19A, a plurality of types of candidate colors are arranged in a line in order of the amount of the parameter. Generate a patch. In FIG. 19A, the center candidate color, that is, the candidate color whose vertical position is A and whose horizontal position is 6, is the reference color 22e. When the candidate color printing unit 21b generates a candidate color with two parameters of hue, saturation, and brightness, as shown in FIG. 19B, a plurality of types of candidate colors are arranged in the order of the amount of the first parameter. Patches are generated that are arranged in columns and arranged in rows in the order of the amount of the second parameter. In FIG. 19B, the center candidate color, that is, the candidate color whose vertical position is F and whose horizontal position is 6 is the reference color 22e.

図18に示すように、制御部21は、S303の処理を終了すると、追加パラメーターテスト印刷ボタン61e、選択パラメーターパッチ縦位置スピンボックス61f、選択パラメーターパッチ横位置スピンボックス61gおよび調整実行ボタン64を操作可能にする(S304)。すなわち、色相チェックボックス61a、彩度チェックボックス61b、明度チェックボックス61c、テスト印刷ボタン61d、追加パラメーターテスト印刷ボタン61e、選択パラメーターパッチ縦位置スピンボックス61f、選択パラメーターパッチ横位置スピンボックス61g、戻るボタン63および調整実行ボタン64のみが操作可能な状態になっている。   As illustrated in FIG. 18, when the processing of S303 is completed, the control unit 21 operates the additional parameter test print button 61e, the selected parameter patch vertical position spin box 61f, the selected parameter patch horizontal position spin box 61g, and the adjustment execution button 64. Enable (S304). That is, hue check box 61a, saturation check box 61b, lightness check box 61c, test print button 61d, additional parameter test print button 61e, selected parameter patch vertical position spin box 61f, selected parameter patch horizontal position spin box 61g, and return button Only the operation button 63 and the adjustment execution button 64 are operable.

次いで、制御部21は、選択パラメーターパッチ縦位置スピンボックス61fおよび選択パラメーターパッチ横位置スピンボックス61gの値を基準色22eの値にする(S305)。   Next, the control unit 21 sets the values of the selected parameter patch vertical position spin box 61f and the selected parameter patch horizontal position spin box 61g to the values of the reference color 22e (S305).

制御部21は、S305の処理を終了すると、図18に示すテスト印刷処理を終了する。   When the process of S305 is completed, the control unit 21 ends the test print process shown in FIG.

図15に示すように、制御部21は、テスト印刷ボタン61dが押されていないとS262において判断するか、S263のテスト印刷処理を終了すると、追加パラメーターテスト印刷ボタン61eが押されたか否かを判断する(S264)。   As shown in FIG. 15, the control unit 21 determines in S262 that the test print button 61d has not been pressed, or determines whether or not the additional parameter test print button 61e has been pressed when the test print process in S263 is completed. Judgment is made (S264).

制御部21は、追加パラメーターテスト印刷ボタン61eが押されたとS264において判断すると、図20に示す追加パラメーターテスト印刷処理を実行する(S265)。   If the control unit 21 determines in S264 that the additional parameter test print button 61e has been pressed, it executes the additional parameter test print process shown in FIG. 20 (S265).

図20は、図15に示す追加パラメーターテスト印刷処理のフローチャートである。   FIG. 20 is a flowchart of the additional parameter test printing process shown in FIG.

図20に示すように、制御部21の候補色印刷部21bは、記憶部22に記憶されている第1パッチ情報22kと、選択パラメーターパッチ縦位置スピンボックス61fおよび選択パラメーターパッチ横位置スピンボックス61gにおいて指定されている位置とに基づいて、第1パッチ情報22kに含まれている複数種類の候補色のうち指定されている候補色を特定する(S321)。   As shown in FIG. 20, the candidate color printing unit 21b of the control unit 21 includes first patch information 22k stored in the storage unit 22, a selected parameter patch vertical position spin box 61f, and a selected parameter patch horizontal position spin box 61g. In step S321, the designated candidate color is identified from among a plurality of types of candidate colors included in the first patch information 22k.

次いで、候補色印刷部21bは、S321において特定した候補色と、色相、彩度および明度のうち色相チェックボックス61a、彩度チェックボックス61bおよび明度チェックボックス61cにおいて選択されていないパラメーターとに基づいて、第2パッチ情報を生成する(S322)。ここで、第2パッチ情報とは、S321において特定した候補色に対して更に色の調整が実行されたと仮定した場合の色の調整後の基準色の候補である候補色を複数種類集めた情報であり、複数種類の候補色がパッチとして用紙に印刷された場合の候補色毎の用紙上での印刷位置も含んでいる情報である。なお、候補色印刷部21bは、候補色の生成の際に使用する調整量を、予め利用者に設定させておくことも可能である。   Next, the candidate color printing unit 21b is based on the candidate color specified in S321 and the parameters not selected in the hue check box 61a, the saturation check box 61b, and the brightness check box 61c among the hue, saturation, and brightness. Second patch information is generated (S322). Here, the second patch information is information obtained by collecting a plurality of candidate colors that are candidates for the reference color after color adjustment on the assumption that color adjustment is further performed on the candidate color specified in S321. The information includes the print position on the paper for each candidate color when a plurality of types of candidate colors are printed on the paper as patches. The candidate color printing unit 21b can also allow the user to set the adjustment amount used when generating the candidate color in advance.

次いで、候補色印刷部21bは、S322において生成した第2パッチ情報を第2パッチ情報22lとして記憶部22に書き込む(S323)。   Next, the candidate color printing unit 21b writes the second patch information generated in S322 to the storage unit 22 as the second patch information 22l (S323).

次いで、候補色印刷部21bは、第2パッチ情報22lに基づいてパッチを印刷する(S324)。つまり、候補色印刷部21bは、パッチの印刷データをMFP40に送信して、MFP40にパッチを印刷させる。なお、S324において印刷されるパッチは、図19に示すパッチと同様である。ただし、パッチの中央の候補色は、S321において特定した候補色である。   Next, the candidate color printing unit 21b prints a patch based on the second patch information 22l (S324). That is, the candidate color printing unit 21b transmits the patch print data to the MFP 40, and causes the MFP 40 to print the patch. Note that the patches printed in S324 are the same as the patches shown in FIG. However, the candidate color at the center of the patch is the candidate color specified in S321.

次いで、制御部21は、候補色指定GUI第1領域61のGUIをグレーアウトして操作不可能にする(S325)。すなわち、戻るボタン63および調整実行ボタン64のみが操作可能な状態になっている。   Next, the control unit 21 grays out the GUI of the candidate color designation GUI first area 61 to make the operation impossible (S325). That is, only the return button 63 and the adjustment execution button 64 are operable.

次いで、制御部21は、候補色指定GUI第2領域62のGUIを操作可能にする(S326)。すなわち、キャンセルボタン62a、追加パラメーターパッチ縦位置スピンボックス62b、追加パラメーターパッチ横位置スピンボックス62c、戻るボタン63および調整実行ボタン64のみが操作可能な状態になっている。   Next, the control unit 21 enables the GUI of the candidate color designation GUI second area 62 (S326). That is, only the cancel button 62a, the additional parameter patch vertical position spin box 62b, the additional parameter patch horizontal position spin box 62c, the return button 63, and the adjustment execution button 64 are operable.

次いで、制御部21は、追加パラメーターパッチ縦位置スピンボックス62bおよび追加パラメーターパッチ横位置スピンボックス62cの値を、S321において特定した候補色の値にする(S327)。   Next, the control unit 21 sets the values of the additional parameter patch vertical position spin box 62b and the additional parameter patch horizontal position spin box 62c to the values of the candidate colors specified in S321 (S327).

制御部21は、S327の処理を終了すると、図20に示す追加パラメーターテスト印刷処理を終了する。   When the process of S327 is completed, the control unit 21 ends the additional parameter test printing process shown in FIG.

図15に示すように、制御部21は、追加パラメーターテスト印刷ボタン61eが押されていないとS264において判断するか、S265の追加パラメーターテスト印刷処理を終了すると、キャンセルボタン62aが押されたか否かを判断する(S266)。   As shown in FIG. 15, the control unit 21 determines in S264 that the additional parameter test print button 61e has not been pressed, or whether or not the cancel button 62a has been pressed when the additional parameter test print process in S265 is completed. Is determined (S266).

制御部21は、キャンセルボタン62aが押されたとS266において判断すると、図21に示す追加パラメーターパッチキャンセル処理を実行する(S267)。   If it is determined in S266 that the cancel button 62a has been pressed, the control unit 21 executes an additional parameter patch cancellation process shown in FIG. 21 (S267).

図21は、図15に示す追加パラメーターパッチキャンセル処理のフローチャートである。   FIG. 21 is a flowchart of the additional parameter patch cancellation process shown in FIG.

図21に示すように、制御部21は、第2パッチ情報22lを記憶部22から削除する(S341)。   As shown in FIG. 21, the control unit 21 deletes the second patch information 22l from the storage unit 22 (S341).

次いで、制御部21は、候補色指定GUI第2領域62のGUIをグレーアウトして操作不可能にする(S342)。すなわち、戻るボタン63および調整実行ボタン64のみが操作可能な状態になっている。   Next, the control unit 21 grays out the GUI of the candidate color designation GUI second area 62 to make the operation impossible (S342). That is, only the return button 63 and the adjustment execution button 64 are operable.

次いで、制御部21は、候補色指定GUI第1領域61のGUIを操作可能にする(S343)。すなわち、色相チェックボックス61a、彩度チェックボックス61b、明度チェックボックス61c、テスト印刷ボタン61d、追加パラメーターテスト印刷ボタン61e、選択パラメーターパッチ縦位置スピンボックス61f、選択パラメーターパッチ横位置スピンボックス61g、戻るボタン63および調整実行ボタン64のみが操作可能な状態になっている。   Next, the control unit 21 enables the GUI of the candidate color designation GUI first area 61 (S343). That is, hue check box 61a, saturation check box 61b, lightness check box 61c, test print button 61d, additional parameter test print button 61e, selected parameter patch vertical position spin box 61f, selected parameter patch horizontal position spin box 61g, and return button Only the operation button 63 and the adjustment execution button 64 are operable.

制御部21は、S343の処理を終了すると、図21に示す追加パラメーターパッチキャンセル処理を終了する。   When the process of S343 is completed, the control unit 21 ends the additional parameter patch cancel process shown in FIG.

図15に示すように、制御部21は、キャンセルボタン62aが押されていないとS266において判断するか、S267の追加パラメーターパッチキャンセル処理を終了すると、戻るボタン63が押されたか否かを判断する(S268)。   As shown in FIG. 15, the control unit 21 determines in S266 that the cancel button 62a has not been pressed, or determines whether or not the return button 63 has been pressed when the additional parameter patch cancellation processing in S267 is completed. (S268).

制御部21は、戻るボタン63が押されたとS268において判断すると、表示部24における部分色調整第2画面60の表示を終了する(S269)。   When determining in S268 that the return button 63 has been pressed, the control unit 21 ends the display of the partial color adjustment second screen 60 on the display unit 24 (S269).

次いで、制御部21は、第1パッチ情報22kを記憶部22から削除し、第2パッチ情報22lが記憶部22に記憶されている場合には更に第2パッチ情報22lも記憶部22から削除する(S270)。   Next, the control unit 21 deletes the first patch information 22k from the storage unit 22, and further deletes the second patch information 22l from the storage unit 22 when the second patch information 22l is stored in the storage unit 22. (S270).

制御部21は、S270の処理を終了すると、図6に示すS102の処理に戻る。   When the process of S270 is completed, the control unit 21 returns to the process of S102 shown in FIG.

制御部21は、戻るボタン63が押されていないとS268において判断すると、調整実行ボタン64が押されたか否かを判断する(S271)。   When determining in S268 that the return button 63 has not been pressed, the control unit 21 determines whether or not the adjustment execution button 64 has been pressed (S271).

制御部21は、調整実行ボタン64が押されていないとS271において判断すると、再びS262の処理に戻る。   If the control unit 21 determines in S271 that the adjustment execution button 64 has not been pressed, the control unit 21 returns to the process of S262 again.

一方、制御部21は、調整実行ボタン64が押されたとS271において判断すると、図22に示す色調整処理を実行する(S272)。   On the other hand, when determining in S271 that the adjustment execution button 64 has been pressed, the control unit 21 executes the color adjustment process shown in FIG. 22 (S272).

図22は、図15に示す色調整処理のフローチャートである。   FIG. 22 is a flowchart of the color adjustment process shown in FIG.

図22に示すように、制御部21の候補色受付部21cは、第2パッチ情報22lが記憶部22に記憶されているか否かを判断する(S361)。   As illustrated in FIG. 22, the candidate color receiving unit 21c of the control unit 21 determines whether or not the second patch information 22l is stored in the storage unit 22 (S361).

候補色受付部21cは、第2パッチ情報22lが記憶部22に記憶されていないとS361において判断すると、記憶部22に記憶されている第1パッチ情報22kと、選択パラメーターパッチ縦位置スピンボックス61fおよび選択パラメーターパッチ横位置スピンボックス61gにおいて指定されている位置とに基づいて、第1パッチ情報22kに含まれている複数種類の候補色のうち指定されている候補色を特定する(S362)。   If the candidate color receiving unit 21c determines in S361 that the second patch information 22l is not stored in the storage unit 22, the first patch information 22k stored in the storage unit 22 and the selected parameter patch vertical position spin box 61f Based on the position specified in the selected parameter patch lateral position spin box 61g, the specified candidate color is specified among the plurality of types of candidate colors included in the first patch information 22k (S362).

一方、候補色受付部21cは、第2パッチ情報22lが記憶部22に記憶されているとS361において判断すると、記憶部22に記憶されている第2パッチ情報22lと、追加パラメーターパッチ縦位置スピンボックス62bおよび追加パラメーターパッチ横位置スピンボックス62cにおいて指定されている位置とに基づいて、第2パッチ情報22lに含まれている複数種類の候補色のうち指定されている候補色を特定する(S363)。   On the other hand, if the candidate color receiving unit 21c determines in S361 that the second patch information 22l is stored in the storage unit 22, the candidate color receiving unit 21c and the second parameter information 22l stored in the storage unit 22 and the additional parameter patch vertical position spin Based on the position designated in the box 62b and the additional parameter patch lateral position spin box 62c, the designated candidate color is specified among the plural types of candidate colors included in the second patch information 22l (S363). ).

制御部21の画素色調整部21gは、S362またはS363の処理が終了すると、記憶部22に記憶されている基準色22eから、S362またはS363において特定した候補色への調整量を算出する(S364)。   When the processing of S362 or S363 ends, the pixel color adjustment unit 21g of the control unit 21 calculates an adjustment amount from the reference color 22e stored in the storage unit 22 to the candidate color specified in S362 or S363 (S364). ).

次いで、画素色調整部21gは、記憶部22に記憶されている画像データ22dのうち、記憶部22に記憶されている色空間上範囲22f内であって、記憶部22に記憶されている画像上第1範囲22h内である画素の色を、S364において算出した調整量に基づいて調整する(S365)。ここで、画素色調整部21gは、S364において算出した調整量で、画像データ22dのうち色空間上範囲22f内であって画像上第1範囲22h内である全ての画素の色を一律に調整する。すなわち、画素色調整部21gは、調整対象の画素の色を、Lab色空間上で、S364において算出した調整量の明度成分に応じて明度方向に平行移動させ、S364において算出した調整量の彩度成分に応じて彩度方向に平行移動させ、S364において算出した調整量の色相成分に応じて色相方向に回転移動させる。   Next, the pixel color adjustment unit 21g is an image stored in the storage unit 22 within the range 22f in the color space stored in the storage unit 22 among the image data 22d stored in the storage unit 22. The color of the pixel in the upper first range 22h is adjusted based on the adjustment amount calculated in S364 (S365). Here, the pixel color adjustment unit 21g uniformly adjusts the colors of all the pixels in the color space range 22f and the image first range 22h in the image data 22d with the adjustment amount calculated in S364. To do. That is, the pixel color adjusting unit 21g translates the color of the pixel to be adjusted in the lightness direction according to the lightness component of the adjustment amount calculated in S364 in the Lab color space, and the color of the adjustment amount calculated in S364. The color component is translated in the saturation direction according to the degree component, and is rotated in the hue direction according to the hue component of the adjustment amount calculated in S364.

次いで、画素色調整部21gは、記憶部22に記憶されている画像データ22dのうち、記憶部22に記憶されている色空間上範囲22f内であって、記憶部22に記憶されている画像上第2範囲22i内である画素の色を、S364において算出した調整量に基づいて調整する(S366)。ここで、画素色調整部21gは、S364において算出した調整量を調整対象の画素の画像上の位置に応じて変更した調整量(以下「画素毎調整量」という。)で、画像データ22dのうち色空間上範囲22f内であって画像上第2範囲22i内である全ての画素の色を調整する。すなわち、画素色調整部21gは、調整対象の画素の色を、Lab色空間上で、画素毎調整量の明度成分に応じて明度方向に平行移動させ、画素毎調整量の彩度成分に応じて彩度方向に平行移動させ、画素毎調整量の色相成分に応じて色相方向に回転移動させる。   Next, the pixel color adjustment unit 21g is an image stored in the storage unit 22 within the range 22f in the color space stored in the storage unit 22 among the image data 22d stored in the storage unit 22. The color of the pixel in the upper second range 22i is adjusted based on the adjustment amount calculated in S364 (S366). Here, the pixel color adjustment unit 21g uses the adjustment amount calculated in S364 according to the position on the image of the pixel to be adjusted (hereinafter referred to as “the adjustment amount for each pixel”), and the image data 22d. Among them, the colors of all the pixels in the color space range 22f and in the image second range 22i are adjusted. In other words, the pixel color adjustment unit 21g translates the color of the pixel to be adjusted in the Lab color space in the lightness direction according to the lightness component of the adjustment amount for each pixel, and according to the saturation component of the adjustment amount for each pixel. The image is translated in the saturation direction and rotated in the hue direction according to the hue component of the adjustment amount for each pixel.

画素色調整部21gは、以下の数3に示す式によって画素毎調整量を算出することができる。数3において、Yは、画像データ22dのうち色空間上範囲22f内であって画像上第2範囲22i内である画素に対する画素毎調整量である。yは、S364において算出した調整量である。lは、図23に示すように画像において画像上第1範囲22hの境界を形成する円の半径である。lは、図23に示すように画像において画像上第2範囲22iの境界のうち画像上第1範囲22hの境界とは異なる境界を形成する円の半径である。lは、図23に示すように画像において基準点22gから調整対象の画素までの距離である。
The pixel color adjustment unit 21g can calculate the adjustment amount for each pixel by the following equation (3). In Equation 3, Y is a pixel-by-pixel adjustment amount for pixels in the image data 22d that are in the color space range 22f and in the image second range 22i. y is the adjustment amount calculated in S364. l 1 is the radius of a circle forming the boundary of the first range 22h on the image as shown in FIG. As shown in FIG. 23, l 2 is a radius of a circle that forms a boundary different from the boundary of the first image range 22 h among the boundaries of the second image range 22 i in the image. l x is a distance from the reference point 22g to the pixel to be adjusted in the image as shown in FIG.

なお、S365およびS366において画素に適用される調整量は、画像における基準点22gから画素までの距離に応じて図24に示すようになる。すなわち、S365の処理は、画像上第1範囲22h内の画素の色のうち色空間上範囲22f内の色を、基準色22eから候補色への色の調整量によって調整する処理であり、S366の処理は、画像上第2範囲22i内の画素の色のうち色空間上範囲22f内の色を、画像上第1範囲22h側から画像上第1範囲22hとは反対側に向けて色の調整量が徐々に減少するように調整する処理である。   Note that the adjustment amounts applied to the pixels in S365 and S366 are as shown in FIG. 24 according to the distance from the reference point 22g to the pixel in the image. That is, the process of S365 is a process of adjusting the color in the color space range 22f among the colors of the pixels in the first range 22h on the image according to the color adjustment amount from the reference color 22e to the candidate color. In the process of the above, the colors in the color space range 22f among the colors of the pixels in the image second range 22i are changed from the first image range 22h toward the opposite side of the image first range 22h. This is a process of adjusting so that the adjustment amount gradually decreases.

図22に示すように、制御部21は、S366の処理を終了すると、図22に示す色調整処理を終了する。   As illustrated in FIG. 22, when the process of S <b> 366 ends, the control unit 21 ends the color adjustment process illustrated in FIG. 22.

図15に示すように、制御部21は、S272の色調整処理を終了すると、制御部21は、S365またはS366において調整できない画素があったか否かを判断する(S273)。ここで、制御部21は、S365またはS366において調整後の画素が1つでもLab空間外に出ている場合、調整できない画素があったと判断する。一方、制御部21は、S365またはS366において調整後の画素が全てLab空間内に入っている場合、調整できない画素がなかったと判断する。   As shown in FIG. 15, when the control unit 21 finishes the color adjustment process in S272, the control unit 21 determines whether or not there is a pixel that cannot be adjusted in S365 or S366 (S273). Here, the control unit 21 determines that there is a pixel that cannot be adjusted when one of the adjusted pixels is out of the Lab space in S365 or S366. On the other hand, when all the adjusted pixels are in the Lab space in S365 or S366, the control unit 21 determines that there is no pixel that cannot be adjusted.

制御部21は、調整できない画素があったとS273において判断すると、例えば「色の調整に失敗しました。設定を変更してやり直してください。」という旨の警告を表示部24に表示して(S274)、S262の処理に戻る。   When the control unit 21 determines in S273 that there is a pixel that cannot be adjusted, for example, a warning that “color adjustment has failed. Change the setting and try again” is displayed on the display unit 24 (S274). ), The process returns to S262.

一方、制御部21は、調整できない画素がなかったとS273において判断すると、S365またはS366における色の調整後の画像データを画像データ22dとして記憶部22に上書きする(S275)。   On the other hand, when determining in S273 that there is no pixel that cannot be adjusted, the control unit 21 overwrites the storage unit 22 with the image data after color adjustment in S365 or S366 as image data 22d (S275).

次いで、制御部21は、表示部24における部分色調整第2画面60の表示を終了する(S276)。   Next, the control unit 21 ends the display of the partial color adjustment second screen 60 on the display unit 24 (S276).

次いで、制御部21は、不要な情報を記憶部22から削除する(S277)。ここで、不要な情報には、基準色22e、色空間上範囲22f、基準点22g、画像上第1範囲22h、画像上第2範囲22i、Labデータ22jおよび第1パッチ情報22kが含まれる他、記憶部22に第2パッチ情報22lが記憶されている場合には第2パッチ情報22lも含まれる。   Next, the control unit 21 deletes unnecessary information from the storage unit 22 (S277). Here, unnecessary information includes the reference color 22e, the color space upper range 22f, the reference point 22g, the image first range 22h, the image upper range 22i, the Lab data 22j, and the first patch information 22k. When the second patch information 22l is stored in the storage unit 22, the second patch information 22l is also included.

制御部21は、S277の処理を終了すると、図6に示す処理を終了する。   When the control unit 21 ends the process of S277, the control unit 21 ends the process illustrated in FIG.

以上に説明したように、プリンタードライバー22aを実行するPC20は、画像上第1範囲22hおよび画像上第2範囲22iの指定を受け付けて(S107でYES、S109でYES、S111でYES)、画像上第1範囲22h内および画像上第2範囲22i内の画素の色を調整する(S365、S366)ので、画像において画素の色を調整する範囲を利用者に指定させることができる。   As described above, the PC 20 that executes the printer driver 22a accepts the designation of the first upper image range 22h and the second upper image range 22i (YES in S107, YES in S109, YES in S111), and Since the colors of the pixels in the first range 22h and the second range 22i on the image are adjusted (S365, S366), the range for adjusting the pixel color in the image can be specified by the user.

特に、プリンタードライバー22aを実行するPC20は、基準色22eから候補色への色の調整量によって画素の色を調整する(S365)画像上第1範囲22hの指定を受け付ける(S107でYES、S109でYES)だけではなく、画像上第1範囲22h側から画像上第1範囲22hとは反対側に向けて色の調整量が徐々に減少するように画素の色を調整する(S366)画像上第2範囲22iの指定も受け付ける(S107でYES、S109でYES、S111でYES)ので、画像における範囲であって基準色22eから候補色への色の調整量によって画素の色を調整する範囲のみの指定を受け付ける構成と比較して、画素の色を調整する範囲の内外で画像における色が不自然に変化する可能性を抑えることができる。   In particular, the PC 20 that executes the printer driver 22a adjusts the pixel color according to the color adjustment amount from the reference color 22e to the candidate color (S365), and accepts designation of the first range 22h on the image (YES in S107, S109) (YES), the pixel color is adjusted so that the amount of color adjustment gradually decreases from the first image range 22h to the opposite side of the first image range 22h (S366). Since the specification of the two ranges 22i is also accepted (YES in S107, YES in S109, YES in S111), only the range in the image where the pixel color is adjusted by the color adjustment amount from the reference color 22e to the candidate color. Compared to a configuration that accepts designation, it is possible to suppress the possibility that the color in the image changes unnaturally within and outside the range in which the pixel color is adjusted.

また、プリンタードライバー22aを実行するPC20は、色空間上範囲22fの指定を受け付けて(S103でYES、S105でYES)、画像上第1範囲22h内または画像上第2範囲22i内の画素の色のうち色空間上範囲22f内の色を調整する(S365、S366)ので、画像における範囲だけでなく、色空間における範囲によっても、色を調整する画素を指定することができる。   Further, the PC 20 that executes the printer driver 22a accepts the designation of the range 22f in the color space (YES in S103, YES in S105), and the color of the pixel in the first range 22h on the image or the second range 22i on the image Of these, the color within the range 22f in the color space is adjusted (S365, S366), so that the pixel whose color is to be adjusted can be specified not only by the range in the image but also by the range in the color space.

なお、PC20は、色の調整を行う画像上の範囲として本実施の形態において画像上第1範囲および画像上第2範囲という2つの範囲を使用しているが、色の調整を行う画像上の範囲として3つ以上の範囲を使用するようになっていても良い。   The PC 20 uses two ranges, the first range on the image and the second range on the image, in this embodiment as the range on the image on which the color adjustment is performed. Three or more ranges may be used as the range.

本発明のコンピューターは、本実施の形態においてPCであるが、PC以外のコンピューターであっても良い。   The computer of the present invention is a PC in the present embodiment, but may be a computer other than a PC.

本発明の画像形成装置は、本実施の形態においてMFPであるが、プリンター専用機、ファックス専用機、コピー専用機など、MFP以外の画像形成装置であっても良い。   The image forming apparatus of the present invention is an MFP in the present embodiment, but may be an image forming apparatus other than the MFP, such as a printer dedicated machine, a fax dedicated machine, and a copy dedicated machine.

20 PC(コンピューター)
22a プリンタードライバー
22e 基準色
22f 色空間上範囲
22g 基準点
22h 画像上第1範囲
22i 画像上第2範囲
40 MFP(画像形成装置)
20 PC (computer)
22a printer driver 22e reference color 22f color space range 22g reference point 22h first range on image 22i second range on image 40 MFP (image forming apparatus)

Claims (2)

調整対象の基準色の指定を受け付ける基準色受付ステップと、前記基準色受付ステップによって受け付けられた前記基準色に対して色の調整が実行されたと仮定した場合の色の調整後の前記基準色の候補である候補色を画像形成装置に複数種類印刷させる候補色印刷ステップと、前記候補色印刷ステップによって印刷された複数種類の前記候補色から1つの候補色の指定を受け付ける候補色受付ステップと、前記画像における基準点の指定を受け付ける基準点受付ステップと、前記基準点受付ステップによって受け付けられた前記基準点を前記画像において囲む範囲である画像上第1範囲の指定を受け付ける画像上第1範囲受付ステップと、前記画像上第1範囲受付ステップによって受け付けられた前記画像上第1範囲を前記画像において囲む範囲であって前記画像上第1範囲を除く範囲である画像上第2範囲の指定を受け付ける画像上第2範囲受付ステップと、前記画像における画素の色を調整する画素色調整ステップとをコンピューターに実行させ、
前記画素色調整ステップは、前記画像上第1範囲受付ステップによって受け付けられた前記画像上第1範囲内の前記画素の色を、前記基準色受付ステップによって受け付けられた前記基準色から前記候補色受付ステップによって受け付けられた前記候補色への色の調整量によって調整し、前記画像上第2範囲受付ステップによって受け付けられた前記画像上第2範囲内の前記画素の色を、前記画像上第1範囲側から前記画像上第1範囲とは反対側に向けて色の調整量が徐々に減少するように調整するステップであることを特徴とするプリンタードライバー。
A reference color receiving step for receiving designation of a reference color to be adjusted, and the reference color after color adjustment on the assumption that color adjustment has been performed on the reference color received by the reference color receiving step A candidate color printing step for causing the image forming apparatus to print a plurality of types of candidate colors as candidates; a candidate color receiving step for accepting designation of one candidate color from the plurality of types of candidate colors printed by the candidate color printing step; A reference point receiving step for receiving specification of a reference point in the image, and a first range on image for receiving a specification of a first range on the image that is a range surrounding the reference point received by the reference point receiving step in the image And the first range on the image received in the first range reception step on the image is enclosed in the image. An image second range receiving step for receiving designation of a second image upper range that is a range and excluding the first image upper range, and a pixel color adjustment step for adjusting the color of the pixel in the image Let it run
The pixel color adjustment step receives the candidate color from the reference color received by the reference color reception step, the color of the pixel within the first range on the image received by the first range reception step on the image. The color of the pixel in the second range on the image received by the second range receiving step on the image is adjusted by the color adjustment amount to the candidate color received by the step, and the first range on the image A printer driver, comprising: a step of adjusting the color adjustment amount to gradually decrease from the side toward the opposite side of the first range on the image.
前記基準色受付ステップによって受け付けられた前記基準色を色空間において囲む範囲である色空間上範囲の指定を受け付ける色空間上範囲受付ステップを前記コンピューターに実行させ、
前記画素色調整ステップは、前記画像上第1範囲受付ステップによって受け付けられた前記画像上第1範囲内の前記画素の色のうち、前記色空間上範囲受付ステップによって受け付けられた前記色空間上範囲内の色を、前記基準色受付ステップによって受け付けられた前記基準色から前記候補色受付ステップによって受け付けられた前記候補色への色の調整量によって調整し、前記画像上第2範囲受付ステップによって受け付けられた前記画像上第2範囲内の前記画素の色のうち、前記色空間上範囲受付ステップによって受け付けられた前記色空間上範囲内の色を、前記画像上第1範囲側から前記画像上第1範囲とは反対側に向けて色の調整量が徐々に減少するように調整するステップであることを特徴とする請求項1に記載のプリンタードライバー。
Causing the computer to execute an on-color space range receiving step of accepting designation of a range on the color space that is a range surrounding the reference color received in the reference color in the color space;
In the pixel color adjustment step, the color space upper range accepted by the color space upper range acceptance step among the colors of the pixels in the first image upper range accepted by the image first range acceptance step. Are adjusted by the amount of color adjustment from the reference color received in the reference color receiving step to the candidate color received in the candidate color receiving step, and received in the second on-image range receiving step. Out of the colors of the pixels in the second range on the image, the colors in the range on the color space received by the range reception step on the color space are changed from the first range on the image to the image on the image. 2. The printer according to claim 1, wherein the adjustment is performed so that a color adjustment amount gradually decreases toward a side opposite to the one range. Iba.
JP2011230883A 2011-10-20 2011-10-20 Printer driver Expired - Fee Related JP5536733B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011230883A JP5536733B2 (en) 2011-10-20 2011-10-20 Printer driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011230883A JP5536733B2 (en) 2011-10-20 2011-10-20 Printer driver

Publications (2)

Publication Number Publication Date
JP2013089119A true JP2013089119A (en) 2013-05-13
JP5536733B2 JP5536733B2 (en) 2014-07-02

Family

ID=48532945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011230883A Expired - Fee Related JP5536733B2 (en) 2011-10-20 2011-10-20 Printer driver

Country Status (1)

Country Link
JP (1) JP5536733B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005184261A (en) * 2003-12-17 2005-07-07 Toppan Printing Co Ltd Color corrector
JP2005217618A (en) * 2004-01-28 2005-08-11 Konica Minolta Photo Imaging Inc Image processing method, image processing apparatus, and image processing program
JP2006094297A (en) * 2004-09-27 2006-04-06 Fuji Xerox Co Ltd Image forming apparatus, image processing apparatus and method, and program thereof
JP2007036717A (en) * 2005-07-27 2007-02-08 Olympus Imaging Corp Image editing program, image editing method and image editing apparatus, and recording medium
JP4438741B2 (en) * 2005-11-30 2010-03-24 ソニー株式会社 Color adjustment apparatus, printing apparatus, image processing apparatus, color adjustment method, program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005184261A (en) * 2003-12-17 2005-07-07 Toppan Printing Co Ltd Color corrector
JP2005217618A (en) * 2004-01-28 2005-08-11 Konica Minolta Photo Imaging Inc Image processing method, image processing apparatus, and image processing program
JP2006094297A (en) * 2004-09-27 2006-04-06 Fuji Xerox Co Ltd Image forming apparatus, image processing apparatus and method, and program thereof
JP2007036717A (en) * 2005-07-27 2007-02-08 Olympus Imaging Corp Image editing program, image editing method and image editing apparatus, and recording medium
JP4438741B2 (en) * 2005-11-30 2010-03-24 ソニー株式会社 Color adjustment apparatus, printing apparatus, image processing apparatus, color adjustment method, program

Also Published As

Publication number Publication date
JP5536733B2 (en) 2014-07-02

Similar Documents

Publication Publication Date Title
US7483187B2 (en) Method and apparatus of adjusting image tone and graphic user interface for the same
US8310720B2 (en) Color adjustment apparatus, image forming apparatus, and computer-readable recording medium
JP5006757B2 (en) Image processing apparatus and image processing method
JP5700014B2 (en) Printing system, printing control program, and recording medium
US20050034067A1 (en) Document processor, printing system, method of adding object to document and program
JP5754462B2 (en) Print setting device and control program for print setting device
JP4971766B2 (en) Information processing apparatus, control method therefor, and computer program
JP5536733B2 (en) Printer driver
JP2009038573A (en) Image processing apparatus and method, and image processing program
JP2021093719A (en) Image processing apparatus, image processing method, and program
JP2015002442A (en) Image processing apparatus and method
JP5610687B2 (en) Information processing apparatus, method, and program
JP5269168B2 (en) Information processing apparatus, control method, and program
JP5162552B2 (en) Color adjustment apparatus, color adjustment method, and color adjustment program
JP4431887B2 (en) Image processing apparatus, image processing method, image processing program, print control apparatus, print control method, and print control program
JP2011019030A (en) Conversion profile generation method and printer
JP4757081B2 (en) Image processing method and apparatus
JP2016116139A (en) Image forming device, image forming method and program
JP5763293B2 (en) Image placement support device
JP5954065B2 (en) Color adjustment apparatus and control program for color adjustment apparatus
JP2012000918A (en) System and program for forming image
JP2005244607A (en) System, device and program for converting color
JP6051526B2 (en) Image processing system, image forming apparatus, image processing program, and image processing method
US11671540B2 (en) Information processing apparatus and non-transitory computer readable medium for changing display order of recognition results based on previous checking order
US11245802B2 (en) Information processing apparatus and non-transitory computer readable medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130924

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140326

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140401

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140424

R150 Certificate of patent or registration of utility model

Ref document number: 5536733

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees