JP2009060566A - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP2009060566A
JP2009060566A JP2007274337A JP2007274337A JP2009060566A JP 2009060566 A JP2009060566 A JP 2009060566A JP 2007274337 A JP2007274337 A JP 2007274337A JP 2007274337 A JP2007274337 A JP 2007274337A JP 2009060566 A JP2009060566 A JP 2009060566A
Authority
JP
Japan
Prior art keywords
adjustment
color
component
saturation
image processing
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
JP2007274337A
Other languages
Japanese (ja)
Other versions
JP2009060566A5 (en
JP5006757B2 (en
Inventor
Masahiko Kimura
雅彦 木村
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2007274337A priority Critical patent/JP5006757B2/en
Publication of JP2009060566A publication Critical patent/JP2009060566A/en
Publication of JP2009060566A5 publication Critical patent/JP2009060566A5/ja
Application granted granted Critical
Publication of JP5006757B2 publication Critical patent/JP5006757B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of more readily realizing color editing that matches the intention of a user. <P>SOLUTION: In color editing processing for converting an editing color into another color, it is discriminated whether adjustment instructed from a user for a component of the editing color exceeds an adjustable range determined in accordance with a value of the component of the editing color. When adjustment that exceeds the adjustable range is instructed, values of the other components of the editing color are cooperatively adjusted so that the adjustment instructed from the user is included within the adjustable range. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像処理装置及び画像処理方法に関し、特に画像中の特定の色を他の色に変換する色編集を行う画像処理装置及び画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method, and more particularly to an image processing apparatus and an image processing method for performing color editing for converting a specific color in an image into another color.

従来、画像の色相や彩度、明度の調整(色編集)を行う画像処理装置が知られている。このような画像処理装置の中には、画像全体に対してではなく、画像中の特定の色に対して色相や彩度を調整できるようなものもある。   2. Description of the Related Art Conventionally, an image processing apparatus that performs adjustment (color editing) of hue, saturation, and brightness of an image is known. Some of these image processing apparatuses can adjust the hue and saturation for a specific color in the image, not for the entire image.

昨今、デジタルカメラの普及や画像処理ソフトウェアの高機能化に伴い、撮影した画像に対する色編集は一般的なユーザも行いうるようになってきている。しかしながら、例えば画像中の特定色の調整には色に関する知識が必要であり、調整を行うためのユーザインタフェースもそのような知識があるユーザを前提としたものであった。そのため、一般的なユーザが自分の意図した色編集を行うことは容易でなかった。   In recent years, with the spread of digital cameras and the enhancement of image processing software, color editing of captured images can be performed by general users. However, for example, adjustment of a specific color in an image requires knowledge about the color, and a user interface for performing the adjustment is based on a user who has such knowledge. Therefore, it is not easy for a general user to perform color editing intended by the user.

特開平9−270926号公報(図4)JP-A-9-270926 (FIG. 4)

特許文献1には、HSL色空間のような、人間の色彩感覚に一致するような色空間のパラメータを用いて色編集を行うことで、ユーザの意図に近い色編集結果を得やすくすることが提案されている。しかし、依然としてユーザが色に関する知識を有していないと、意図した色編集を行うことが出来ない。   Japanese Patent Application Laid-Open No. 2004-228688 makes it easy to obtain a color editing result that is close to the user's intention by performing color editing using a parameter of a color space that matches a human color sense, such as an HSL color space. Proposed. However, if the user still does not have knowledge about colors, the intended color editing cannot be performed.

例えば、彩度の調整可能範囲は輝度に依存するが、ユーザインタフェース上では調整可能範囲を超えた調整の指示が可能である。調整可能範囲を超える調整の指示があった場合、画像処理装置は範囲の上限値又は下限値までしか対応しないが、色に関する知識が少ない一般的なユーザにはその理由が分からない。そのため、結局はある程度の結果が得られた時点で妥協したり、色編集をあきらめたりすることになる。   For example, the adjustable range of saturation depends on the luminance, but an instruction for adjustment exceeding the adjustable range can be given on the user interface. When an instruction for adjustment exceeding the adjustable range is given, the image processing apparatus only supports up to the upper limit value or lower limit value of the range, but a general user who has little knowledge about the color cannot understand the reason. Therefore, in the end, when a certain result is obtained, a compromise is made or color editing is given up.

本発明はこのような従来技術の課題に鑑みなされたものであり、ユーザの意図にあった色編集をより容易に実現できる画像処理装置及び画像処理方法を提供することを目的とする。   The present invention has been made in view of the above-described problems of the prior art, and an object of the present invention is to provide an image processing apparatus and an image processing method that can more easily realize color editing suitable for a user's intention.

上述の目的は、指定された編集色を変換する色編集処理を行う画像処理装置であって、編集色の指定を受け付ける第1の入力手段と、編集色の成分の調整を、成分ごとに受け付ける第2の入力手段と、調整が、編集色の第1の成分及び第2の成分の値によって定まる調整可能範囲を超えるものであるか否かを判別する判別手段と、第1の成分及び第2の成分の一方に対する調整が調整可能範囲を超えるものである場合、調整が調整可能範囲に含まれるように、第1の成分及び第2の成分の他方の値を連動調整する調整手段と、第2の入力手段が受け付けた調整と、調整手段による調整とに基づいて、編集色を変換する色変換テーブルを生成する生成手段とを有することを特徴とする画像処理装置によって達成される。   The above-described object is an image processing apparatus that performs color editing processing for converting a designated editing color, and accepts, for each component, first input means for accepting designation of the editing color and adjustment of the editing color component. A second input means, a determination means for determining whether or not the adjustment exceeds an adjustable range determined by the values of the first component and the second component of the edit color, the first component and the first component An adjustment means for interlockingly adjusting the other value of the first component and the second component so that the adjustment is included in the adjustable range when the adjustment for one of the two components exceeds the adjustable range; This is achieved by an image processing apparatus having generation means for generating a color conversion table for converting edit colors based on the adjustment received by the second input means and the adjustment by the adjustment means.

また、上述の目的は、指定された編集色を変換する色編集処理を行う画像処理方法であって、編集色の指定を第1の入力手段を通じて受け付ける第1の入力工程と、編集色の成分の調整を、第2の入力手段を通じて成分ごとに受け付ける第2の入力工程と、調整が、編集色の第1の成分及び第2の成分の値によって定まる調整可能範囲を超えるものであるか否かを判別する判別工程と、第1の成分及び第2の成分の一方に対する調整が調整可能範囲を超えるものである場合、調整が調整可能範囲に含まれるように、第1の成分及び第2の成分の他方の値を連動調整する調整構成と、第2の入力手段が受け付けた調整と、調整手段による調整とに基づいて、編集色を変換する色変換テーブルを生成する生成工程とを有することを特徴とする画像処理方法によっても達成される。   The above-described object is an image processing method for performing color editing processing for converting a designated editing color, a first input step for accepting designation of an editing color through a first input means, and an editing color component The second input step of accepting the adjustment for each component through the second input means, and whether the adjustment exceeds the adjustable range determined by the values of the first component and the second component of the edit color. When the determination step for determining whether the adjustment for one of the first component and the second component exceeds the adjustable range, the first component and the second component are adjusted so that the adjustment is included in the adjustable range. And a generation step of generating a color conversion table for converting the edit color based on the adjustment received by the second input means and the adjustment by the adjustment means. Images characterized by Also be achieved by physical methods.

このような構成により、本発明によれば、ユーザの意図にあった色編集をより容易に実現できる。   With such a configuration, according to the present invention, color editing suited to the user's intention can be realized more easily.

以下、図面を参照して本発明の例示的な実施形態について詳細に説明する。
(第1の実施形態)
図12は、本発明の第1の実施形態に係る画像処理装置として動作可能なコンピュータ装置100の構成例を示すブロック図である。
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the drawings.
(First embodiment)
FIG. 12 is a block diagram illustrating a configuration example of the computer apparatus 100 operable as the image processing apparatus according to the first embodiment of the present invention.

図において、ディスプレイ101は、色編集アプリケーションプログラムのGUI(Graphical User Interface)や、処理中のデータの情報、各種メッセージメニューなどを表示する。ディスプレイ101は、CRT(Cathode Ray Tube)、LCD(Liquid Crystal Display)等から構成される。ディスプレイコントローラとしてのCRTC102は、ディスプレイ101への画面表示制御を行う。キーボード103及びポインティングデバイス104は、ユーザが画像処理装置に各種の指示やデータを入力するための入力デバイスである。ユーザは、ディスプレイ101に表示されるGUIにおけるアイコンやボタンなどを、キーボード103やポインティングデバイス104を用いて操作する。CPU105はコンピュータ装置100全体の制御を司る。   In the figure, a display 101 displays a GUI (Graphical User Interface) of a color editing application program, information on data being processed, various message menus, and the like. The display 101 includes a CRT (Cathode Ray Tube), an LCD (Liquid Crystal Display), and the like. A CRTC 102 serving as a display controller performs screen display control on the display 101. A keyboard 103 and a pointing device 104 are input devices for a user to input various instructions and data to the image processing apparatus. The user operates icons, buttons, and the like on the GUI displayed on the display 101 using the keyboard 103 and the pointing device 104. The CPU 105 controls the entire computer device 100.

ROM106(Read Only Memory)はCPU105が実行するプログラムやパラメータ等を記憶している。RAM(Random Access Memory)107は各種プログラムをCPU105が実行する時のワークエリア、エラー処理時の一時退避エリア等として用いられる。   A ROM 106 (Read Only Memory) stores programs executed by the CPU 105, parameters, and the like. A RAM (Random Access Memory) 107 is used as a work area when the CPU 105 executes various programs, a temporary save area during error processing, and the like.

ハードディスクドライプ(HDD)108、リムーバブルメディアドライプ(RMD)109は、外部記憶装置として機能する。リムーバブルメディアドライブは、着脱可能な記録媒体の読み書き又は読み出しを行う装置であり、フレキシブルディスクドライブ、光ディスクドライブ、光磁気ディスクドライブ、メモリカードリーダはもとより、着脱式HDDなどであってもよい。   A hard disk drive (HDD) 108 and a removable media drive (RMD) 109 function as external storage devices. The removable media drive is a device that reads / writes or reads a detachable recording medium, and may be a detachable HDD as well as a flexible disk drive, an optical disk drive, a magneto-optical disk drive, and a memory card reader.

なお、色編集アプリケーションプログラムやエラー処理プログラムをはじめ、本実施形態において説明する画像処理装置の各種機能を実現するプログラムは、ROM106、HDD108、RMD109(の記録媒体)の1つ以上に記憶されている。OS、データ、ライプラリなども、同様に記憶されている。   Note that a program that implements various functions of the image processing apparatus described in the present embodiment, including a color editing application program and an error processing program, is stored in one or more of the ROM 106, the HDD 108, and the RMD 109 (recording medium). . The OS, data, library, and the like are stored in the same manner.

拡張スロット110は、例えばPCI(Periferal Component Interconnect)バス規格に準拠した拡張カード装着用スロットである。例えば、ビデオキャプチャボードや、サウンドボード、GPIBボードなど、様々な拡張ボードを装着することが可能である。   The expansion slot 110 is an expansion card mounting slot compliant with, for example, a PCI (Periferal Component Interconnect) bus standard. For example, various expansion boards such as a video capture board, a sound board, and a GPIB board can be mounted.

ネットワークインタフェース111はコンピュータ装置をコンピュータネットワークに接続するためのインタフェースである。バス112はアドレスバス、データバスおよび制御バスからなり、上述した各ユニット間を接続する。また、ネットワークインタフェース111の他に、RS−232C、RS−422、USB(Universal Serial Bus)、IEEE1394等のシリアルインタフェースや、IEEE1284等のパラレルインタフェースを有する。これらのインターフェースにて、モデムやプリンタ等の外部機器との接続を可能にしている。   The network interface 111 is an interface for connecting a computer device to a computer network. The bus 112 includes an address bus, a data bus, and a control bus, and connects the above-described units. In addition to the network interface 111, it has a serial interface such as RS-232C, RS-422, USB (Universal Serial Bus), IEEE 1394, and a parallel interface such as IEEE 1284. These interfaces enable connection with external devices such as modems and printers.

このような汎用コンピュータ装置は、OSや必要なドライバソフトウェア等を用いることによって、ネットワークインタフェース111を介してコンピュータネットワークや公衆電話網上の他の機器と通信可能である。   Such a general-purpose computer device can communicate with other devices on a computer network or a public telephone network via the network interface 111 by using an OS, necessary driver software, or the like.

図1は、本発明の第1の実施形態に係る画像処理装置が提供する主要なユーザインタフェース画面10の構成例を示す図である。
ユーザインタフェース画面10は、色編集アプリケーションプログラムの基本的なGUIであり、例えばユーザがコンピュータ装置100において色編集アプリケーションを起動した際にディスプレイ101に表示される。
FIG. 1 is a diagram illustrating a configuration example of a main user interface screen 10 provided by the image processing apparatus according to the first embodiment of the present invention.
The user interface screen 10 is a basic GUI of the color editing application program, and is displayed on the display 101 when the user activates the color editing application in the computer device 100, for example.

ユーザインタフェース画面10は、画像ファイル表示部11及び色変換テーブル作成コントロールパネル部12(以下、単にコントロールパネル部12という)とから構成される。画像ファイル表示部11は、ユーザが指定した任意の画像ファイルを表示するウィンドウである。後述するように、コントロールパネル部12によって指定された色編集が画像ファイル表示部11に表示中の画像に反映される。これにより、ユーザは、コントロールパネル部12で指定した色編集作成中の色編集の効果をリアルタイムで確認することができる。つまり、画像ファイル表示部11は、画像確認画面として機能する。   The user interface screen 10 includes an image file display unit 11 and a color conversion table creation control panel unit 12 (hereinafter simply referred to as a control panel unit 12). The image file display unit 11 is a window that displays an arbitrary image file designated by the user. As will be described later, the color editing designated by the control panel unit 12 is reflected in the image being displayed on the image file display unit 11. As a result, the user can confirm in real time the effect of color editing during the color editing creation specified by the control panel unit 12. That is, the image file display unit 11 functions as an image confirmation screen.

コントロールパネル部12は、ユーザが希望する色編集を規定する各種パラメータを指定するためのウィンドウであり、コントロールパネル部12で指定されたパラメータに基づいて、色編集を実行するための色変換テーブルが生成される。本実施形態において、色編集を規定するパラメータは編集色の成分の調整量又は変換後の色の成分値である。   The control panel unit 12 is a window for designating various parameters that define color editing desired by the user, and a color conversion table for executing color editing based on the parameters designated by the control panel unit 12. Generated. In this embodiment, the parameter that defines color editing is the adjustment amount of the editing color component or the color component value after conversion.

なお、本明細書においては、GUIを構成するボタンやスライド等の操作に関して逐一手順を説明しないが、ポインティングデバイス104やキーボード103により、コンピュータ分野において一般に行われているような手順で操作されるものとする。   In this specification, the procedure for operating the buttons and slides constituting the GUI is not explained step by step, but the GUI is operated by the pointing device 104 or the keyboard 103 according to a procedure generally performed in the computer field. And

例えば、ボタンの押下は、ポインティングデバイス104の一例であるマウスのカーソルをボタン上に移動させ、マウスをクリックする操作や、キーボード103のカーソルキーを用いてボタンを選択状態とし、リターンキーを押下する操作によって実現されうる。同様に、スライダーの移動はスライダーのツマミをドラッグする操作や、キーボード103の所定キーの操作によって実現されうる。   For example, the button is pressed by moving a mouse cursor, which is an example of the pointing device 104, onto the button, clicking the mouse, or using the cursor key of the keyboard 103 to select the button, and pressing the return key. It can be realized by operation. Similarly, the movement of the slider can be realized by an operation of dragging the slider knob or an operation of a predetermined key on the keyboard 103.

図2は、コントロールパネル部12の具体的な構成例を示す図である。
コンボボックス201は、色編集のベースとなる色変換テーブルをユーザが選択するためのGUIユニットである。本実施形態において、画像処理装置は、コンボボックス201で選択された色変換テーブルを編集することによって、画像に対して所望の色編集を実行するための色変換テーブルを生成する。
FIG. 2 is a diagram illustrating a specific configuration example of the control panel unit 12.
The combo box 201 is a GUI unit for the user to select a color conversion table that is a base for color editing. In the present embodiment, the image processing apparatus generates a color conversion table for executing desired color editing on an image by editing the color conversion table selected in the combo box 201.

スポイトボタン202は、マウスカーソル等、画面中の画素を指定するためのGUI要素の機能を色指定機能に変更するためのボタンである。スポイトボタン202が押下されると、画像ファイル表示部11に表示中の画像やカラーホイール203など、ディスプレイ101に表示されている画素をマウスカーソルで指定することにより、指定した画素の色を指定もしくは選択することができる。本実施形態においてスポイトボタン202はトグルボタンであり、再度押下することで、マウスカーソルを通常の機能に戻すことができる。   The dropper button 202 is a button for changing a function of a GUI element for designating a pixel in the screen, such as a mouse cursor, to a color designation function. When the dropper button 202 is pressed, the color of the designated pixel is designated by designating a pixel displayed on the display 101 such as an image being displayed on the image file display unit 11 or the color wheel 203 with a mouse cursor, or You can choose. In this embodiment, the dropper button 202 is a toggle button, and can be returned to the normal function by pressing again.

カラーホイール203は、ある色空間を、輝度を軸として含む立体で表した際に、特定の輝度に対応する彩度及び色相の範囲を表した画像である。本実施形態では高さ方向を輝度軸とする双円錐モデルで表したHSL色空間の、輝度50%に対応する断面(彩度および色相の範囲)を表すものとする。また、カラーホイール203には、編集色の色相成分の値及び彩度成分の値に対応する位置が合わせて表示される。   The color wheel 203 is an image representing a range of saturation and hue corresponding to specific luminance when a certain color space is represented by a solid including luminance as an axis. In the present embodiment, it is assumed that a cross section (saturation and hue range) corresponding to a luminance of 50% of an HSL color space represented by a biconic model having a height direction as a luminance axis. The color wheel 203 also displays the positions corresponding to the hue component value and the saturation component value of the edit color.

図11に、高さ方向を輝度軸とする双円錐モデルで表したHSL色空間を示す。HSL色空間は、色相(Hue)、彩度(Saturation)、輝度(Luminance)の3つの成分で表される色空間である。色相は色味を0〜360度の範囲の角度で表し、0度は赤となる。彩度は円錐の底面の中心から半径方向における距離によって表され、距離が大きいほど彩度が高くなる。底面の中心は彩度が無い灰色となる。輝度は、輝度0%を黒、100%を白とし、その中間の50%を純色とする。輝度は明度より人間の目から見た場合の明るさに近いと言われている。   FIG. 11 shows an HSL color space represented by a biconic model with the height direction as the luminance axis. The HSL color space is a color space represented by three components of hue, hue, saturation, and luminance. The hue represents the hue with an angle in the range of 0 to 360 degrees, and 0 degrees is red. Saturation is represented by the distance in the radial direction from the center of the bottom of the cone, and the greater the distance, the higher the saturation. The center of the bottom is gray with no saturation. As for luminance, 0% luminance is black, 100% is white, and 50% of the luminance is pure color. It is said that the brightness is closer to the brightness when viewed from the human eye than the brightness.

図11を見て分かるように、彩度の編集可能な領域は純色となる輝度50%で最も広く、輝度が100%や0%に近づくほど編集可能な範囲が狭くなり、純色の彩度最大の円を底面とする円錐を底面で貼り合わせた双円錐形状の色空間となる。   As can be seen from FIG. 11, the editable region of saturation is the widest at a luminance of 50% that is a pure color, and the editable range becomes narrower as the luminance approaches 100% or 0%, and the saturation of the pure color is maximum. This is a biconical color space in which a cone with the bottom of the circle is bonded to the bottom.

従って、3次元色空間中の座標を指定して色編集を行う必要があるが、3次元の座標系の編集を容易に行うための入力デバイスやGUIは、一般的なパーソナルコンピュータでは実現されていない。そのため、特に専門的な知識を持たないユーザを想定した色編集アプリケーションでは、3次元色空間を簡略化して2次元表示したGUIが一般に用いられている。   Therefore, it is necessary to perform color editing by designating coordinates in a three-dimensional color space. However, an input device and GUI for easily editing a three-dimensional coordinate system are not realized in a general personal computer. Absent. For this reason, in a color editing application that assumes a user who has no special knowledge, a GUI in which a three-dimensional color space is simplified and displayed in two dimensions is generally used.

本実施形態においても、2次元的なユーザインタフェースとして、編集可能な彩度の領域が最も広い純色(輝度50%)におけるHS平面の画像をカラーホイール203として表示し、ユーザに色編集時の目安を提供している。   Also in this embodiment, as a two-dimensional user interface, an image of the HS plane in the pure color (luminance 50%) having the widest saturation area that can be edited is displayed as the color wheel 203, and a guideline for color editing is displayed to the user. Is provided.

図2に戻り、輝度バー204は画素が取りうる輝度範囲を示す画像である。輝度バー204には、編集対象の色(編集色)の輝度成分の値に対応する位置を表示する。ユーザは、カラーホイール203に表示される点の位置と輝度バー204に表示される点の位置により、編集色のHSL色空間中の3次元座標をイメージすることが出来る。   Returning to FIG. 2, the luminance bar 204 is an image showing a luminance range that a pixel can take. The luminance bar 204 displays a position corresponding to the luminance component value of the color to be edited (edited color). The user can image the three-dimensional coordinates in the HSL color space of the editing color based on the position of the point displayed on the color wheel 203 and the position of the point displayed on the luminance bar 204.

第2の入力手段としてのスライダーバー205〜207は、それぞれ、ユーザから、編集色の色相、彩度、輝度の調整量を受け付けるために設けられている。スライダーバー205〜207の位置によって指定される数値はそれぞれの絶対値としても良いが、本実施形態では、微妙な調整を行いやすいように、編集色のからのオフセット値とする。   Slider bars 205 to 207 as second input means are provided to receive adjustment amounts of the hue, saturation, and luminance of the edit color from the user, respectively. The numerical values specified by the positions of the slider bars 205 to 207 may be absolute values, but in the present embodiment, the offset values from the editing colors are used so as to facilitate fine adjustment.

そのため、スライダーバー205〜207の中心位置を0(変更無し)として、中心位置から左方向をマイナス、右方向をプラスのオフセット値にしている。また、スライダーバー205〜207の右にそれぞれ配置されたテキストボックス208〜210は、スライダーバー205〜207の操作に連動して、各スライダーバー205〜207で指定されているオフセット値を数値として表示する。また、テキストボックス208〜210には、直接オフセット値を入力することも可能であり、テキストボックス208〜210の値が変更されると、スライダーバー205〜207の位置にも反映される。
そして編集色リストボックス211は、過去に編集した編集色を選択可能にリスト表示する。
For this reason, the center position of the slider bars 205 to 207 is set to 0 (no change), and the left direction is set to a minus offset value and the right direction is set to a plus offset value. In addition, text boxes 208 to 210 arranged to the right of the slider bars 205 to 207 display the offset values designated by the slider bars 205 to 207 as numerical values in conjunction with the operation of the slider bars 205 to 207. To do. Moreover, it is also possible to directly input an offset value in the text boxes 208 to 210, and if the value of the text boxes 208 to 210 is changed, it is also reflected in the positions of the slider bars 205 to 207.
The edit color list box 211 displays a list of edit colors that have been edited in the past so that they can be selected.

以下、本実施形態の画像処理装置の動作について、図3のフローチャートを用いて説明する。
上述したように、本実施形態の画像処理装置における色編集処理は、CPU105が色編集アプリケーションを実行することによって実現される。また、ここではユーザの指示などにより、既に色編集アプリケーションが起動された状態にあるものとする。
Hereinafter, the operation of the image processing apparatus of the present embodiment will be described with reference to the flowchart of FIG.
As described above, the color editing process in the image processing apparatus according to the present embodiment is realized by the CPU 105 executing the color editing application. Here, it is assumed that the color editing application has already been activated in accordance with a user instruction or the like.

先ず、S301で、CPU105は、ユーザが指定した画像ファイルを例えばHDD108から読み出し、画像ファイル表示部11に表示させる。画像ファイルの指定は、画像ファイル表示部11に画像ファイルのアイコンをドラック&ドロップしたり、もしくは図示しないファイルオープンダイアログなどを介してなど、一般的なOSで提供される方法により行われて良い。   First, in step S <b> 301, the CPU 105 reads out an image file designated by the user from, for example, the HDD 108 and displays the image file on the image file display unit 11. The designation of the image file may be performed by a method provided by a general OS, such as dragging and dropping an icon of the image file on the image file display unit 11 or via a file open dialog (not shown).

S303で、CPU105は、コンボボックス201に予めセットされている色変換パターンのうち、ユーザが選択した色変換パターンに対応する色変換テーブルを例えばHDD108から取得する。ここで取得した色変換テーブルをユーザが指定した色編集の内容に応じて変更することによって、ユーザの希望する色編集を実現する色変換テーブルが作成される。
編集の元となる色変換テーブルを取得すると、CPU105は画像ファイル表示部11に表示中の画像に、取得した色変換テーブルを適用する(S305)。
In step S <b> 303, the CPU 105 acquires a color conversion table corresponding to the color conversion pattern selected by the user from the color conversion patterns preset in the combo box 201 from the HDD 108, for example. By changing the acquired color conversion table according to the content of the color editing specified by the user, a color conversion table for realizing the color editing desired by the user is created.
When the color conversion table that is the source of editing is acquired, the CPU 105 applies the acquired color conversion table to the image being displayed on the image file display unit 11 (S305).

S307で、第1の入力手段としてのCPU105は、編集色の指定を受け付ける抽出処理を行う。ユーザは、編集色を指定するためにスポイトボタン202を押下してオンにする。CPU105はこの操作に応答してマウスカーソルが画像ファイル表示部11の画像領域やカラーホイール203の色表示領域を指している場合に、マウスカーソルを例えば矢印形状からスポイト形状に変化させる。そして、CPU105は、キーボード103やポインティングデバイス104を用いて指定された位置に対応する画素の色を抽出(サンプリング)し、編集色としてRAM107のワークエリアに登録する。また、CPU105は、登録された編集色を、ユーザが判別及び選択できるように編集色リストボックス211に表示する。本実施形態では、後述するように、編集色ごとに、色パッチとチェックボックスを編集色リストボックスに表示する。   In step S <b> 307, the CPU 105 as the first input unit performs an extraction process for receiving an edit color designation. The user presses the dropper button 202 to designate an edit color and turns it on. In response to this operation, the CPU 105 changes the mouse cursor from, for example, an arrow shape to a dropper shape when the mouse cursor points to the image area of the image file display unit 11 or the color display area of the color wheel 203. Then, the CPU 105 extracts (samples) the color of the pixel corresponding to the position designated using the keyboard 103 or the pointing device 104, and registers it in the work area of the RAM 107 as the edit color. Further, the CPU 105 displays the registered edit color in the edit color list box 211 so that the user can discriminate and select it. In this embodiment, as will be described later, a color patch and a check box are displayed in an edit color list box for each edit color.

S309で、CPU105は、カラーホイール203および輝度バー204に、登録した編集色の色空間中の座標を表すマークを表示させる。また、現在の色変換テーブルにおいて、編集色の編集が影響を与える色領域(影響色領域)を、カラーホイール203及び輝度バー204に表示する。そして、ユーザが色領域を変更した場合には、変更後の色領域を設定する。   In step S309, the CPU 105 causes the color wheel 203 and the luminance bar 204 to display marks representing coordinates in the color space of the registered editing color. Further, in the current color conversion table, the color area (influenced color area) affected by the editing of the editing color is displayed on the color wheel 203 and the luminance bar 204. If the user changes the color area, the changed color area is set.

図5は、本実施形態の画像処理装置がS309の処理で行う色変換テーブル作成コントロールパネル部12の表示例を示す図である。
図5において、400a,400bは、編集色の座標を表すマークである。また、401a,401b,402a,402b,403a,403b,404a,及び404bは、編集色の編集が影響を与える色領域(影響色領域)を表すと共に、ユーザが色領域を調整するためのコントロールポイントである。
FIG. 5 is a diagram illustrating a display example of the color conversion table creation control panel unit 12 performed by the image processing apparatus according to the present embodiment in the process of S309.
In FIG. 5, 400a and 400b are marks representing the coordinates of the edit color. Reference numerals 401a, 401b, 402a, 402b, 403a, 403b, 404a, and 404b denote color areas (influenced color areas) that are affected by editing the edit color, and control points for the user to adjust the color areas. It is.

図5には、初期の影響色領域として、彩度及び輝度は全範囲、色相は所定範囲を有する領域が示されている。即ち、彩度及び色相については、コントロールポイント401a、401b、402a及び402bで示される扇形が影響色領域を示す。また、輝度に関しては、コントロールポイント404a及び404bで挟まれる区間が影響色領域を示す。なお、図5の例では、コントロールポイント401a、401bがいずれも彩度0の位置に重なって表示されている。また、彩度及び色相の影響色領域については、コントロールポイント401a−401b−402b−402a−401aを線で結んで表示することにより、カラーホイール203上で影響色領域を把握しやすくしている。   FIG. 5 shows an area having the entire range of saturation and luminance and the predetermined range of hue as the initial influence color area. That is, with respect to saturation and hue, the sector shape indicated by the control points 401a, 401b, 402a, and 402b indicates the influence color region. Regarding luminance, a section between control points 404a and 404b indicates an influence color area. In the example of FIG. 5, the control points 401 a and 401 b are displayed so as to overlap the position of saturation 0. Further, the influence color area of saturation and hue is displayed by connecting the control points 401a-401b-402b-402a-401a with lines to make it easy to grasp the influence color area on the color wheel 203.

コントロールポイントはいずれもその位置をユーザが変更可能であり、ユーザはカラーホイール203や輝度バー204を見ながらコントロールポイントの位置を変更させることにより、影響色領域を変更もしくは指定することができる。   The position of each control point can be changed by the user, and the user can change or specify the influence color area by changing the position of the control point while looking at the color wheel 203 or the luminance bar 204.

例えば低彩度側の影響範囲を修正したい場合、コントロールポイント401の位置を、高彩度側の影響範囲を修正したい場合はコントロールポイント402の位置を変更すればよい。また、色相の影響範囲を修正したい場合はコントロールポイント403a及び/又は403bの位置を変更すればよい。輝度の影響範囲を修正したい場合はコントロールポイント404a及び/又は404bの位置を変更すればよい。   For example, the position of the control point 401 may be changed when the influence range on the low saturation side is to be corrected, and the position of the control point 402 may be changed when the influence range on the high saturation side is to be corrected. Further, when it is desired to correct the influence range of the hue, the position of the control points 403a and / or 403b may be changed. In order to correct the influence range of the luminance, the position of the control points 404a and / or 404b may be changed.

図6は、図5の状態からユーザがコントロールポイントを操作して影響色領域を変更した状態の例を示している。
図6には、初期の影響色領域から彩度の影響の範囲を狭め、色相の影響範囲を広げ、輝度の影響範囲を狭めた例を示している。このような影響色領域の表示により、編集色を編集した際に影響をうける範囲がHSL色空間上で占める位置をイメージすることが出来る。
FIG. 6 shows an example of a state where the user has changed the influence color area by operating the control point from the state of FIG.
FIG. 6 shows an example in which the saturation influence range is narrowed from the initial influence color area, the hue influence range is expanded, and the luminance influence range is narrowed. By displaying such an influence color area, it is possible to imagine the position occupied in the HSL color space by the range affected when the edit color is edited.

また、CPU105は、コントロールポイントが操作されている間、画像ファイル表示部11の画像中、影響色領域に含まれる色の画素をグレー表示する。これにより、ユーザは、画像中のどの色が色編集の影響を受けるかを確認することができる。   In addition, while the control point is being operated, the CPU 105 displays in gray the pixels of the color included in the influence color area in the image of the image file display unit 11. Thereby, the user can confirm which color in the image is affected by the color editing.

CPU105は、ユーザがコントロールポイントを操作するごとに、変更後の影響色領域を設定する。具体的には、CPU105は、例えば影響色領域を特定可能な情報(HSL空間における色座標範囲を特定する情報や、色変換テーブル中の領域を特定する情報など)を、RAM107のワークエリアへ保存する。   The CPU 105 sets the changed influence color area every time the user operates the control point. Specifically, the CPU 105 stores, for example, information that can specify the affected color area (information that specifies the color coordinate range in the HSL space, information that specifies the area in the color conversion table, etc.) in the work area of the RAM 107. To do.

このように、ユーザは、必要に応じてコントロールポイントを操作して、色編集が影響を与える色領域を修正する。そして、編集色に対する色編集を開始する。CPU105は、例えばスライダーバー205〜207が操作されたこと、もしくはユーザからの何らかの明示的な色編集開始指示を検出すると、色編集操作が開始されたものとして、処理をS311へ移す。   In this way, the user operates the control points as necessary to correct the color area affected by the color editing. Then, color editing for the editing color is started. For example, when the CPU 105 detects that the slider bars 205 to 207 are operated or detects any explicit color editing start instruction from the user, the CPU 105 determines that the color editing operation has started and moves the process to S311.

S307において編集色が登録された時点で、色相スライダーバー205、彩度スライダーバー206、輝度スライダーバー207は、全てスライダー目盛り中心(オフセット値0)にリセットされている。   When the editing color is registered in S307, the hue slider bar 205, the saturation slider bar 206, and the brightness slider bar 207 are all reset to the slider scale center (offset value 0).

ユーザは、編集色の色合いを修正したい場合には、色相スライダーバー205の位置を、色の鮮やかさ(彩度)を修正したい場合には彩度スライダーバー206の位置を、明るさを修正したい場合には輝度スライダーバー207の位置をそれぞれ変更する。CPU105は、ユーザによるスライダーバー205〜207の操作を検知し、操作されたスライダーバーとその操作方向、操作量に応じて色変換テーブルを修正する。そして、CPU105は、修正した色変換テーブルを画像ファイル表示部11に表示中の画像に適用する。これにより、ユーザはスライダーバー205〜207の操作が画像に与える影響を確認しながら色編集を行うことができる。
色編集処理の詳細については、後述する。
When the user wants to correct the hue of the edit color, he / she wants to correct the position of the hue slider bar 205, or to correct the vividness (saturation) of the color, the position of the saturation slider bar 206, or the brightness. In this case, the position of the brightness slider bar 207 is changed. The CPU 105 detects the operation of the slider bars 205 to 207 by the user, and corrects the color conversion table according to the operated slider bar, its operation direction, and operation amount. Then, the CPU 105 applies the corrected color conversion table to the image being displayed on the image file display unit 11. Accordingly, the user can perform color editing while confirming the influence of the operation of the slider bars 205 to 207 on the image.
Details of the color editing process will be described later.

CPU105は、S313において、ユーザから現在の編集色に対する色編集を終了する旨の指示が検出されるまで、S311の色編集処理を継続して実行する。S313において、現在の編集色に対する色編集を終了する旨の指示が検出されると、CPU105は、他の編集色についての色編集を行うかを、ダイヤログボックス等を通じてユーザに問い合わせる(S315)。   In step S313, the CPU 105 continues to execute the color editing process in step S311 until an instruction to end color editing for the current editing color is detected from the user. When an instruction to end color editing for the current editing color is detected in S313, the CPU 105 inquires of the user through a dialog box or the like whether to perform color editing for another editing color (S315).

この問い合わせに対し、他の編集色について色編集を行う旨の応答があれば、S307へ処理を戻す。一方、他の編集色についての色編集を行わない旨の応答があれば、CPU105は編集後の色変換テーブルをRAM107のワークエリアに保存する。この際、色変換テーブルのファイル名をユーザに指定させるなど、生成した色変換テーブルをユーザが後で識別できるようにすることが好ましい。   In response to this inquiry, if there is a response to perform color editing for other editing colors, the process returns to S307. On the other hand, if there is a response not to perform color editing for other editing colors, the CPU 105 stores the edited color conversion table in the work area of the RAM 107. At this time, it is preferable to allow the user to identify the generated color conversion table later, for example, by allowing the user to specify a file name of the color conversion table.

次に、図4を参照して、S311の色編集処理の詳細について説明する。
S401において、CPU105は、スライダーバー205〜207が操作(移動)されたか確認する。操作されていなければ、S313(図3)へ処理を移す。一方、スライダーバー205〜207のいずれかが操作されている場合、CPU105はそれが彩度スライダーバー206又は輝度スライダーバー207であるか、あるいは色相スライダーバー205であるかを判別する(S403)。
Next, the details of the color editing process in S311 will be described with reference to FIG.
In step S401, the CPU 105 confirms whether the slider bars 205 to 207 are operated (moved). If not operated, the process proceeds to S313 (FIG. 3). On the other hand, when any one of the slider bars 205 to 207 is operated, the CPU 105 determines whether it is the saturation slider bar 206, the luminance slider bar 207, or the hue slider bar 205 (S403).

なお、CPU105は、各スライダーバーが操作されている間、図7に示すように、編集後の色の座標を示すマーク407を、カラーホイール203および輝度バー204に表示する。また、元の色との関係を容易に把握できるよう、編集前の色のマーク400aから編集後の色のマーク407へ延びる矢印を合わせて表示する。   The CPU 105 displays a mark 407 indicating the coordinates of the color after editing on the color wheel 203 and the luminance bar 204 as shown in FIG. 7 while each slider bar is operated. In addition, an arrow extending from the color mark 400a before editing to the color mark 407 after editing is displayed together so that the relationship with the original color can be easily grasped.

これにより、ユーザは、スライダーバー205〜207の操作が、色空間中においてどの程度の移動に相当するかを把握することができる。図7の例では彩度スライダーバー206が操作され、彩度を上げる編集がなされた場合を示したが、輝度スライダーバー207が操作された場合、CPU105は編集後の輝度を示すマークと矢印を輝度バー204に表示させる。   Thereby, the user can grasp how much the operation of the slider bars 205 to 207 corresponds to in the color space. In the example of FIG. 7, the saturation slider bar 206 is operated and editing for increasing the saturation is performed. However, when the brightness slider bar 207 is operated, the CPU 105 displays a mark and an arrow indicating the brightness after editing. Display on the luminance bar 204.

S403において、色相スライダーバー205の操作であると判別された場合、CPU105は処理をS413に移す。彩度スライダーバー206又は輝度スライダーバー207の操作であると判別された場合、CPU105は処理をS405に移す。   If it is determined in S403 that the operation is the operation of the hue slider bar 205, the CPU 105 shifts the processing to S413. If it is determined that the operation is the operation of the saturation slider bar 206 or the luminance slider bar 207, the CPU 105 shifts the processing to S405.

S405において、CPU105は、ユーザによる彩度スライダーバー206又は輝度スライダーバー207の操作に対応する調整が、現在の輝度又は彩度に対応する調整可能範囲を超えるものであるか否かを判別する。   In step S <b> 405, the CPU 105 determines whether the adjustment corresponding to the operation of the saturation slider bar 206 or the luminance slider bar 207 by the user exceeds the adjustable range corresponding to the current luminance or saturation.

この判別は、輝度に対応する彩度の調整範囲を特定可能な任意の情報に基づいて行うことができる。例えば、第1の成分としての彩度の調整可能な範囲を表す情報と、第2の成分としての輝度とを対応付けたテーブルをRAM107のワークエリアに記憶しておく。そして、ユーザのスライダーバー206又は207の操作量から調整後の彩度又は輝度の大きさを求め、例えば調整後の彩度が、現在の輝度における調整範囲内にあるかどうかを判別すればよい。あるいは、テーブルを用いずに、輝度50%のときの彩度上限値と彩度0%のときの輝度上限値(下限値)を結ぶ直線で表わされる関数と、調整後の輝度および彩度を比較して、調整範囲内になるかどうかを判別してもよい。   This determination can be made based on arbitrary information that can specify the saturation adjustment range corresponding to the luminance. For example, a table in which information representing a saturation adjustable range as the first component and luminance as the second component are associated with each other is stored in the work area of the RAM 107. Then, the saturation or brightness after adjustment is obtained from the amount of operation of the user's slider bar 206 or 207, and for example, it is determined whether or not the saturation after adjustment is within the adjustment range for the current brightness. . Alternatively, without using a table, a function represented by a straight line connecting a saturation upper limit value when the luminance is 50% and a luminance upper limit value (lower limit value) when the saturation is 0%, and the adjusted luminance and saturation are obtained. By comparison, it may be determined whether or not it is within the adjustment range.

上述の通り、彩度の調整可能範囲は輝度に依存して変化し、輝度が50%でない色の実際の彩度の調整範囲は、輝度50%での調整範囲を模したカラーホイール203で示される範囲よりも狭い。しかし、色に関する知識が少ないユーザは、編集後の色を示すマーク407がカラーホイール203の外縁よりも内側に表示されているため、彩度をさらに上げられるように認識してしまう。にも関わらず、彩度を上げられないことで、ユーザを混乱させたり、色編集は取っつきにくい難解な処理であるという印象をユーザに与えてしまったりするおそれがある。   As described above, the saturation adjustment range varies depending on the luminance, and the actual saturation adjustment range of a color whose luminance is not 50% is indicated by the color wheel 203 simulating the adjustment range at the luminance of 50%. It is narrower than the range. However, a user who has little knowledge about color recognizes that the saturation can be further increased because the mark 407 indicating the color after editing is displayed on the inner side of the outer edge of the color wheel 203. Nevertheless, the inability to increase the saturation may confuse the user or give the user the impression that color editing is a difficult process that is difficult to handle.

たとえば、図8は、輝度が50%より高い編集色(ここでは、明るめの赤)について、彩度を上げる彩度スライダーバー206の操作がなされた場合を示している。
ここで、輝度バー204のマーク400bが示すように、編集色の輝度は50%よりも高い位置にある。これにより、色に関して知識があるユーザであれば、彩度スライダーバー206の操作が反映されないのは、その操作がマーク407’で示されるように調整可能な範囲を超える調整を指示するものだからであることを理解するかもしれない。しかし、一般的なユーザは意図した結果が得られない理由を理解できないであろう。
For example, FIG. 8 shows a case where an operation of the saturation slider bar 206 for increasing the saturation is performed for an edit color having a luminance higher than 50% (in this case, bright red).
Here, as indicated by the mark 400b of the brightness bar 204, the brightness of the edit color is at a position higher than 50%. Thus, if the user is knowledgeable about the color, the operation of the saturation slider bar 206 is not reflected because the operation instructs the adjustment beyond the adjustable range as indicated by the mark 407 ′. You might understand that there is. However, the general user will not understand why the intended result is not obtained.

そこで、本実施形態においては、調整可能な範囲を超えるような調整を指示する彩度スライダーバー206の操作が検出された場合には、ユーザがさらに彩度を上げたいという意思を持っていると解釈する。そして、ユーザが指示する彩度の調整が調整可能な範囲に含まれるよう、輝度を調整する。即ち、図8の例であれば、マーク407’が調整可能な彩度の範囲に含まれるよう、輝度をdだけ低下させる。このような、彩度に連動した輝度の調整を自動的に行うことで、ユーザは実際の調整可能な範囲を意識することなく、カラーホイール203上に表示される編集後の色のマークの位置を見ながら彩度を調整することができる。   Therefore, in the present embodiment, when an operation of the saturation slider bar 206 that instructs adjustment exceeding the adjustable range is detected, the user has an intention to further increase the saturation. Interpret. Then, the luminance is adjusted so that the saturation adjustment designated by the user is included in the adjustable range. That is, in the example of FIG. 8, the luminance is decreased by d so that the mark 407 'is included in the adjustable saturation range. By automatically adjusting the luminance linked to the saturation, the position of the color mark after editing displayed on the color wheel 203 without the user being aware of the actual adjustable range. Saturation can be adjusted while watching.

輝度スライダーバー207の操作についても同様に、現在の彩度を維持しながら調整可能な輝度の範囲を超える操作がなされた場合には、輝度の調整が可能となるように彩度を連動して自動調整することができる。
このように、第1の成分及び第2の成分の一方に対する調整が調整可能範囲を超えるものである場合、調整が調整可能範囲に含まれるように、第1の成分及び第2の成分の他方の値を連動調整することができる。
Similarly, for the operation of the brightness slider bar 207, when an operation exceeding the adjustable brightness range is performed while maintaining the current saturation, the saturation is linked so that the brightness can be adjusted. Can be adjusted automatically.
Thus, when the adjustment for one of the first component and the second component exceeds the adjustable range, the other of the first component and the second component so that the adjustment is included in the adjustable range. The value of can be adjusted in conjunction.

具体的には、例えば輝度50%において彩度が上限値の編集色は、彩度を維持したまま輝度を変更することはできない。そのため、輝度スライダーバー207が操作された場合には、編集色の彩度を輝度の調整に連動させて低下させることで、輝度の調整を実現させる。   Specifically, for example, the edit color whose saturation is the upper limit at a luminance of 50% cannot change the luminance while maintaining the saturation. Therefore, when the luminance slider bar 207 is operated, the luminance adjustment is realized by decreasing the saturation of the edit color in conjunction with the luminance adjustment.

ただし、自動的に他のパラメータが連動して変化することが常にユーザの意図を反映するとは限らない。たとえば、現在の輝度で可能な最大の彩度に調整したい場合もあるだろう。そのため、本実施形態では、連動調整を有効とするか、無効とするかを選択可能にしている。   However, the fact that other parameters automatically change in conjunction with each other does not always reflect the user's intention. For example, you may want to adjust the maximum saturation possible with the current brightness. Therefore, in the present embodiment, it is possible to select whether to enable or disable the interlocking adjustment.

例えば、キーボード103の所定のキー(例えばシフトキー)を一時的に連動調整を無効化(もしくは有効化)するキーに割り当てる。S407において、CPU105は、デフォルト設定で連動調整が有効である場合、彩度スライダーバー206及び輝度スライダーバー207の操作と並行してシフトキーからの入力があれば、その操作については連動調整が無効であると認識する。   For example, a predetermined key (for example, a shift key) on the keyboard 103 is assigned to a key for temporarily disabling (or enabling) the linked adjustment. In step S407, if the linked adjustment is enabled by default, the CPU 105 disables the linked adjustment for the operation if there is an input from the shift key in parallel with the operation of the saturation slider bar 206 and the luminance slider bar 207. Recognize that there is.

S407において、連動調整が有効であると判別される場合、CPU105は、ユーザの彩度スライダーバー206又は輝度スライダーバー207の操作に対応して輝度又は彩度を連動調整する(S409)。   If it is determined in S407 that the interlock adjustment is valid, the CPU 105 adjusts the brightness or saturation in response to the user's operation of the saturation slider bar 206 or the brightness slider bar 207 (S409).

一方、S407において、連動調整が無効であると判別される場合、CPU105は、ユーザの彩度スライダーバー206又は輝度スライダーバー207の操作が調整可能な範囲を超えないように制限する(S411)。従って、彩度又は輝度は調整可能な範囲の上限値又は下限値とされる。   On the other hand, if it is determined in S407 that the interlock adjustment is invalid, the CPU 105 limits the user's operation of the saturation slider bar 206 or the luminance slider bar 207 so as not to exceed the adjustable range (S411). Therefore, the saturation or luminance is set to the upper limit value or the lower limit value of the adjustable range.

S413において、CPU105は、スライダーバー205〜207の操作に対応した調整内容を、色変換テーブルに反映させる。色変換テーブルは例えば編集色のR,G,Bの値を入力とし、変換後の色のR,G,Bの値を返す3次元ルックアップテーブルであってよい。このような3次元ルックアップテーブル及びその編集については、例えば特開2004−129226号公報に開示されるような公知技術を用いて行うことができるため、その詳細についての説明は省略する。例えば、特開2004−129226号公報におけるソースを本明細書の編集色、デスティネーションを変換後の色とすればよい。なお、HSL色空間とRGB色空間の変換についても適宜行えばよい。   In step S413, the CPU 105 reflects the adjustment content corresponding to the operation of the slider bars 205 to 207 in the color conversion table. The color conversion table may be, for example, a three-dimensional lookup table that takes R, G, and B values of the edit color as input and returns R, G, and B values of the converted color. Since such a three-dimensional lookup table and its editing can be performed using a known technique as disclosed in, for example, Japanese Patent Application Laid-Open No. 2004-129226, detailed description thereof is omitted. For example, the source in Japanese Patent Application Laid-Open No. 2004-129226 may be the edit color in this specification, and the destination may be the color after conversion. Note that conversion between the HSL color space and the RGB color space may be appropriately performed.

そして、CPU105は、調整内容を反映した色変換テーブルを、画像ファイル表示部11に表示されている画像に適用する(S415)。
さらに、CPU105は、カラーホイール203及び輝度バー204における、調整後の色のマーク407の表示を更新し(S417)、処理をS313へ戻す。
Then, the CPU 105 applies the color conversion table reflecting the adjustment contents to the image displayed on the image file display unit 11 (S415).
Further, the CPU 105 updates the display of the adjusted color mark 407 on the color wheel 203 and the luminance bar 204 (S417), and returns the process to S313.

(第1の実施形態の変形例)
本実施形態では、現在の輝度(彩度)で調整可能な範囲を超えた彩度(輝度)への変更が指定された場合の処理について説明した。
このような場合、連動調整が有効であれば、上述のように他のパラメータが連動して変化するが、ユーザが彩度(輝度)の値を元の値に戻すような指定を行った場合、連動調整後の輝度(彩度)が維持されることは好ましくない。
(Modification of the first embodiment)
In the present embodiment, the processing when the change to saturation (luminance) exceeding the adjustable range with the current luminance (saturation) is designated has been described.
In such a case, if the linked adjustment is valid, the other parameters are linked and changed as described above, but the user has made a specification to return the saturation (luminance) value to the original value. It is not preferable that the luminance (saturation) after the interlock adjustment is maintained.

この点に関し、図13を用いて説明する。
図8に示した例と同様に、輝度が50%より高い編集色(ここでは、明るめの赤)について、彩度を上げる彩度スライダーバー206の操作がなされた場合を示している。
This point will be described with reference to FIG.
Similar to the example shown in FIG. 8, a case where the operation of the saturation slider bar 206 for increasing the saturation is performed for an edit color having a luminance higher than 50% (in this case, bright red) is shown.

まず、彩度スライダーバー206がクリックされた時点で、CPU105は、マーク400aで示される編集色の輝度における彩度の上限値408を求めRAM107のワークエリアに記憶しておく。そして、彩度スライダーバー206がクリックされたまま操作され、彩度の上限値408を超える値、たとえばマーク407で示される彩度への変更が指定された場合、上述のように、マーク407’が調整可能な彩度の範囲に含まれるよう、輝度をdだけ低下させる。   First, when the saturation slider bar 206 is clicked, the CPU 105 obtains an upper limit value 408 of saturation in the brightness of the edit color indicated by the mark 400 a and stores it in the work area of the RAM 107. Then, when the saturation slider bar 206 is operated while being clicked and a value exceeding the saturation upper limit value 408, for example, a change to the saturation indicated by the mark 407 is designated, as described above, the mark 407 ′ Is reduced by d so that is included in the adjustable saturation range.

この場合、彩度は常に調整可能な上限値を維持しながら輝度を調整する。つまり、図13において矢印409で示すように、色空間の縁(円錐形の色空間であれば、母線)に沿って彩度が変化するように輝度を連動調整する。また、彩度スライダーバー206の移動中は、その効果を画像ファイル表示部11に表示中の画像に随時適用する。   In this case, the brightness is adjusted while maintaining the upper limit that the saturation is always adjustable. That is, as indicated by an arrow 409 in FIG. 13, the luminance is interlocked and adjusted so that the saturation changes along the edge of the color space (or the generatrix in the case of a conical color space). While the saturation slider bar 206 is moving, the effect is applied to the image being displayed on the image file display unit 11 as needed.

マーク407で示される彩度が調整可能範囲の上限値となる輝度まで連動調整された後、ユーザが彩度スライダーバー206を戻す方向に操作したとする。この場合、矢印410で示すように、連動調整後の輝度を維持したまま彩度を変更することは好ましくない。従って、彩度を戻す操作が行われた場合も、彩度が調整可能範囲の上限値を維持しながら、輝度を変化させる(即ち、矢印409に沿って彩度が変化するように輝度を変化させる)。   It is assumed that after the saturation indicated by the mark 407 is interlocked and adjusted to the brightness that is the upper limit value of the adjustable range, the user operates the direction to return the saturation slider bar 206. In this case, as indicated by an arrow 410, it is not preferable to change the saturation while maintaining the luminance after the interlock adjustment. Therefore, even when an operation for returning the saturation is performed, the luminance is changed while maintaining the upper limit of the saturation adjustable range (that is, the luminance is changed so that the saturation changes along the arrow 409). )

そして、当初の輝度に戻った(即ち、上限値408以下の彩度に戻った)場合には、輝度の連動調整を中止し、当初の輝度を維持する。
このように、ユーザが最終的に変更後の彩度(輝度)を決定するまでは、彩度(輝度)が調整可能範囲の上限値を維持するように輝度(彩度)を連動調整する。このように連動調整を行うことにより、調整中に必要以上に彩度を上げ過ぎてしまった場合などに、輝度が必要以上に調整されてしまうことを防止できる。
When the original luminance is restored (that is, when the saturation returns to the upper limit value 408 or less), the luminance adjustment is stopped and the original luminance is maintained.
In this way, the luminance (saturation) is adjusted in conjunction so that the saturation (luminance) maintains the upper limit value of the adjustable range until the user finally determines the changed saturation (luminance). By performing the interlocking adjustment in this way, it is possible to prevent the luminance from being adjusted more than necessary when the saturation is excessively increased during the adjustment.

ユーザが変更後の彩度(輝度)を決定するかどうかは、任意の方法で検出することができる。例えば、彩度スライダーバー206をマウスで操作する場合であれば、マウススイッチの押下が維持された状態での操作(所謂ドラッグ操作)は未決定状態とし、マウススイッチがオフされた時点で決定状態とすることができる。   Whether or not the user determines the saturation (luminance) after the change can be detected by an arbitrary method. For example, when the saturation slider bar 206 is operated with a mouse, an operation in which the mouse switch is kept pressed (so-called drag operation) is in an undetermined state, and is determined when the mouse switch is turned off. It can be.

また、キーボードで彩度スライダーバー206を操作する場合であれば、何らかのキーを決定指示用に割り当て、決定指示用のキーが押下されるまでは未決定状態、決定支持用のキーが押下された時点で決定状態とすることができる。   Also, when operating the saturation slider bar 206 with the keyboard, any key is assigned for the decision instruction, and the decision support key is depressed until the decision instruction key is depressed. It can be determined at a point in time.

図14は、ここで説明した第1の実施形態の変形例に係る色編集処理を説明するフローチャートである。図14では、彩度の調整に連動して輝度が連動調整される場合の動作を示し、また、図4と動作が異なる部分についてのみ記載している。さらに、彩度スライダーバー206がマウスにより操作される場合を想定している。   FIG. 14 is a flowchart illustrating color editing processing according to a modification of the first embodiment described here. FIG. 14 shows the operation in the case where the luminance is adjusted in conjunction with the saturation adjustment, and only the portions that are different from those in FIG. 4 are described. Furthermore, it is assumed that the saturation slider bar 206 is operated with a mouse.

S405’において、CPU105は、ユーザによる彩度スライダーバー206の操作に対応する調整が、現在の輝度に対応する彩度の調整可能範囲を超えるものであるか否かを判別する。
S407において、連動調整が有効であると判別される場合、CPU105は、ユーザの彩度スライダーバー206の操作に対応して、彩度を調整可能上限値に維持しながら輝度を連動調整する(S509)。
In S405 ′, the CPU 105 determines whether or not the adjustment corresponding to the operation of the saturation slider bar 206 by the user exceeds the saturation adjustable range corresponding to the current luminance.
If it is determined in S407 that the interlock adjustment is valid, the CPU 105 adjusts the brightness in conjunction with the user's operation of the saturation slider bar 206 while maintaining the saturation at the adjustable upper limit (S509). ).

ここでは、上述のように、彩度スライダーバー206が彩度を増加させる方向であっても、減少させる方向であっても、彩度を調整可能上限値に維持しながら輝度を連動調整する。即ち、図13における矢印409に沿って彩度が変化するように輝度を連動調整する。   Here, as described above, the luminance is interlocked and adjusted while maintaining the saturation at the adjustable upper limit value regardless of whether the saturation slider bar 206 increases or decreases the saturation. In other words, the luminance is adjusted and adjusted so that the saturation changes along the arrow 409 in FIG.

S511において、CPU105は、輝度が最初の値(連動調整を行う前の値)に戻ったか(即ち、図13の例であれば、上限値408に対応する輝度に戻ったか)否かを判別する。   In step S511, the CPU 105 determines whether or not the luminance has returned to the initial value (the value before performing the linked adjustment) (that is, in the example of FIG. 13, the luminance has returned to the luminance corresponding to the upper limit value 408). .

ここで、最初の輝度に戻っていない場合、CPU105は、S513において、マウススイッチがオフされたか(マウスボタンが放されたか)否かをさらに判別し、マウススイッチがオンのまま(マウスボタンが押されたまま)であれば、処理をS413に戻す。   If the brightness has not returned to the initial brightness, the CPU 105 further determines in S513 whether the mouse switch has been turned off (the mouse button has been released), and the mouse switch remains on (the mouse button has not been pressed). If so, the process returns to S413.

一方、マウススイッチがオフ、即ちマウスボタンが放された場合、CPU105は、ユーザによる決定指示と見なし、その時点における調整結果を確定する(S515)。   On the other hand, when the mouse switch is turned off, that is, when the mouse button is released, the CPU 105 regards it as a determination instruction by the user and determines the adjustment result at that time (S515).

S511において、輝度が最初の値(連動調整を行う前の値)に戻った場合には、輝度の連動調整を中止し、処理をS405’に戻す。   In S511, when the brightness returns to the initial value (the value before the interlock adjustment), the brightness interlock adjustment is stopped, and the process returns to S405 '.

このような、彩度に連動した輝度の調整を自動的に行うことで、ユーザは実際の調整可能な範囲を意識することなく、カラーホイール203上に表示される編集後の色のマークの位置を見ながら彩度を調整することができる。そして、マウスボタンを放した時点で調整のオペレーションが確定する。
なお、彩度スライダーバー206をキーボードで操作する場合には、S513において、決定指示用のキーが押下されたか否かを判別すればよい。
By automatically adjusting the luminance linked to the saturation, the position of the color mark after editing displayed on the color wheel 203 without the user being aware of the actual adjustable range. Saturation can be adjusted while watching. When the mouse button is released, the adjustment operation is finalized.
When the saturation slider bar 206 is operated with the keyboard, it is sufficient to determine whether or not the determination instruction key is pressed in S513.

以上説明したように、本実施形態によれば、ユーザは、画像ファイル表示部11に表示される画像効果を確認しながらスライダーバー205〜207を操作することにより、編集色を所望の色に変更するための色変換テーブルを作成することができる。この際、ユーザが指定した調整後の輝度又は彩度が、調整可能範囲を超える場合であっても、ユーザの指定した調整が行われるように彩度又は輝度を連動して調整する。そのため、輝度と彩度の調整可能範囲の依存関係について理解していないユーザであっても、意図を反映した色編集を行いやすい。   As described above, according to the present embodiment, the user changes the edit color to a desired color by operating the slider bars 205 to 207 while confirming the image effect displayed on the image file display unit 11. A color conversion table can be created. At this time, even if the brightness or saturation after adjustment specified by the user exceeds the adjustable range, the saturation or brightness is adjusted in conjunction so that the adjustment specified by the user is performed. Therefore, even a user who does not understand the dependency relationship between the adjustable range of luminance and saturation can easily perform color editing reflecting the intention.

なお、本実施形態では画像ファイル表示部11に、色変換テーブルを反映した、色編集後の画像のみを表示する構成を説明した。しかし、画像ファイル表示部(ウィンドウ)をもう一つ設け、色編集前の画像と色編集後の画像を別々の画像ファイル表示部に表示したり、画像ファイル表示部11に表示する画像の一部のみに色変換テーブルを反映するようにしてもよい。また、本実施形態ではHSL色空間を例にあげて説明を行ったが、他の色空間に対しても同様の構成を適用することができる。例えば、HSL色空間が双円錐モデルで表わせるのに対し、Lab色空間は球モデルで表わすことができる。このLab色空間においても、輝度Lの値に応じて、色相a,bの編集可能な領域が制限されるため、HSL色空間と同様に、輝度Lに対する色相a,bの調整可能な範囲を表すテーブルをRAM107のワークエリアに記憶しておけばよい。   In the present embodiment, the configuration in which only the image after color editing that reflects the color conversion table is displayed on the image file display unit 11 has been described. However, another image file display unit (window) is provided so that the image before color editing and the image after color editing are displayed on separate image file display units, or a part of the image displayed on the image file display unit 11 Only the color conversion table may be reflected. In the present embodiment, the HSL color space has been described as an example, but the same configuration can be applied to other color spaces. For example, the HSL color space can be represented by a biconic model, whereas the Lab color space can be represented by a sphere model. Also in this Lab color space, the editable regions of the hues a and b are limited according to the value of the luminance L. Therefore, the adjustable range of the hues a and b with respect to the luminance L is set as in the HSL color space. A table to be displayed may be stored in the work area of the RAM 107.

(第2の実施形態)
次に、本発明の第2の実施形態について説明する。本実施形態に係る画像処理装置の構成は第1の実施形態と共通で良いため、重複する説明は省略する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. Since the configuration of the image processing apparatus according to the present embodiment may be the same as that of the first embodiment, a duplicate description is omitted.

第1の実施形態では、ユーザが輝度又は彩度の調整可能範囲を意識することなく調整を行えるよう、輝度又は彩度の調整可能範囲をユーザに報知しない構成であった。それに対し、本実施形態では、ユーザが調整可能範囲を容易に把握可能とすることを特徴とする。具体的には、色変換テーブル作成コントロールパネル部12のカラーホイール203や輝度バー204に、調整可能範囲を示す表示を行う。   In the first embodiment, the brightness or saturation adjustable range is not notified to the user so that the user can make an adjustment without being aware of the brightness or saturation adjustable range. On the other hand, the present embodiment is characterized in that the user can easily grasp the adjustable range. Specifically, a display indicating the adjustable range is performed on the color wheel 203 and the luminance bar 204 of the color conversion table creation control panel unit 12.

図9(A)〜(C)は、本実施形態に係る画像処理装置における色変換テーブル作成コントロールパネル部12の表示例を示す図である。
図9(A)は、カラーホイール203において、現在の輝度における彩度の調整可能範囲を示す調整上限ガイド801を点線で表示したものである。
9A to 9C are diagrams showing display examples of the color conversion table creation control panel unit 12 in the image processing apparatus according to the present embodiment.
FIG. 9A shows an adjustment upper limit guide 801 that shows the adjustable range of saturation at the current luminance on the color wheel 203 as a dotted line.

図9(B)は、点線で範囲を示す代わりに、カラーホイール203の調整可能範囲外の領域802をグレー表示したものである。なお、この場合、カラーホイール203における調整可能範囲内の色サンプルは、純色のHS平面ではなく、編集色の輝度に対応したHS平面を表示するようにしても良い。   FIG. 9B shows the area 802 outside the adjustable range of the color wheel 203 displayed in gray instead of showing the range with a dotted line. In this case, the color sample within the adjustable range in the color wheel 203 may display an HS plane corresponding to the brightness of the edited color instead of the pure color HS plane.

また、輝度バー204についても、現在の編集色の彩度を維持したまま調整可能な範囲を示す表示を行う。表示方法は特に制限されないが、輝度バー204に上限下限を表す点線を表示したり、調整可能範囲外をグレー表示したりすることができる。なお、輝度バー204でグレー表示を行う場合には、もともとの表示との差異が明確になるよう、例えば濃度が一定のグレー表示を行うものとする。   The luminance bar 204 also displays a range that can be adjusted while maintaining the saturation of the current edit color. Although the display method is not particularly limited, a dotted line representing the upper and lower limits can be displayed on the luminance bar 204, or the area outside the adjustable range can be displayed in gray. When gray display is performed with the luminance bar 204, for example, gray display with a constant density is performed so that the difference from the original display becomes clear.

図9(C)は、彩度スライダーバー206および輝度スライダーバー207にそれぞれ調整可能範囲を示す彩度色域ガイド803、輝度色域ガイド804を表示したものである。
これら図9(A)〜(C)の表示方法は組み合わせて実施することも可能である。
FIG. 9C shows a saturation color gamut guide 803 and a luminance color gamut guide 804 indicating adjustable ranges on the saturation slider bar 206 and the luminance slider bar 207, respectively.
These display methods in FIGS. 9A to 9C can be implemented in combination.

上述した表示は、例えば図4のフローチャートにおけるS403で、彩度スライダーバー206および輝度スライダーバー207の操作が検出された際に、CPU105が操作量に応じた調整可能範囲を求め、その結果に応じて実施することができる。   For example, when the operation of the saturation slider bar 206 and the luminance slider bar 207 is detected in S403 in the flowchart of FIG. 4, the CPU 105 obtains an adjustable range according to the operation amount and detects the operation according to the result. Can be implemented.

なお、本実施形態では、調整可能範囲の明示的な表示を行うが、調整可能範囲を超える調整指示があった場合には第1の実施形態と同様に連動調整を行い、ユーザの意図を反映した色編集結果が得られるように動作する。   In this embodiment, the adjustable range is explicitly displayed. However, if there is an adjustment instruction that exceeds the adjustable range, linked adjustment is performed in the same manner as in the first embodiment to reflect the user's intention. It operates to obtain the color editing result.

本実施形態によれば、第1の実施形態の効果に加え、彩度及び輝度の調整可能範囲を明示的に表示するので、ユーザに調整可能範囲内での調整を促すことが可能になる。そのため、ユーザは調整可能範囲を意識した調整を行うことも、調整可能範囲を超える調整を行うことも可能である。   According to the present embodiment, in addition to the effects of the first embodiment, the adjustable range of saturation and luminance is explicitly displayed, so that it is possible to prompt the user to adjust within the adjustable range. For this reason, the user can make an adjustment in consideration of the adjustable range, or can make an adjustment exceeding the adjustable range.

(第3の実施形態)
第2の実施形態では、調整可能範囲を明示的に表示するが、スライダーバー205〜207の操作などの調整操作に対する装置の対応に変化はなかった。本実施形態では、調整操作によって指示された調整範囲が現在の調整範囲の上限又は下限値に達したことを、ユーザにより明確に伝えることで、ユーザに調整可能範囲をより意識させる。
本実施形態に係る画像処理装置の構成も第1の実施形態と共通で良いため、重複する説明は省略する。
(Third embodiment)
In the second embodiment, the adjustable range is explicitly displayed, but there is no change in the response of the apparatus to the adjustment operation such as the operation of the slider bars 205 to 207. In the present embodiment, the user is more aware of the adjustable range by clearly telling the user that the adjustment range instructed by the adjustment operation has reached the upper limit or lower limit value of the current adjustment range.
Since the configuration of the image processing apparatus according to the present embodiment may be the same as that of the first embodiment, redundant description is omitted.

図10は、本実施形態の画像処理装置の動作を模式的に示す図である。
図10はスライダーバー205〜207を示し、彩度スライダーバー206および輝度スライダーバー207には、第2の実施形態で説明した彩度色域ガイド803、輝度色域ガイド804が表示されている。
FIG. 10 is a diagram schematically showing the operation of the image processing apparatus of the present embodiment.
FIG. 10 shows slider bars 205 to 207, and the saturation color gamut guide 803 and the luminance color gamut guide 804 described in the second embodiment are displayed on the saturation slider bar 206 and the luminance slider bar 207.

例えば、ユーザが彩度スライダーバー206を、調整可能範囲の上限を示す彩度色域ガイド803を超えて右に移動させようとしたとする。
CPU105は、この操作を検出すると、彩度スライダーバー206を、調整可能範囲の上限となる位置901で強制的に停止させる。この動作は、第1の実施形態において、連動調整が無効の場合(S411)と同じ動作である。
For example, assume that the user tries to move the saturation slider bar 206 to the right beyond the saturation color gamut guide 803 indicating the upper limit of the adjustable range.
When detecting this operation, the CPU 105 forcibly stops the saturation slider bar 206 at a position 901 that is the upper limit of the adjustable range. This operation is the same as that in the first embodiment when the interlock adjustment is invalid (S411).

したがってユーザは、彩度スライダーバー206の移動を、調整可能範囲の上限値で一旦停止させられ、現在の輝度で可能な上限の彩度に一旦調整される。その後、ユーザが位置901からさらに彩度スライダーバー206を操作して彩度を上げようとした場合には、第1の実施形態で連動調整が有効の場合と同様、ユーザの指定した彩度が調整可能範囲に入るように輝度を連動調整する。   Therefore, the user temporarily stops the movement of the saturation slider bar 206 at the upper limit value of the adjustable range, and is once adjusted to the upper limit saturation possible with the current luminance. Thereafter, when the user further operates the saturation slider bar 206 from the position 901 to increase the saturation, the saturation specified by the user is set as in the case where the linked adjustment is enabled in the first embodiment. Adjust the brightness so that it is within the adjustable range.

すなわち、本実施形態の画像処理装置は、図4のS405において、調整可能範囲を超える調整指示が検出された場合、1回目の検出時には連動調整が無効である場合と同様に動作し(S411)、2回目以降は連動調整が有効の場合と同様に動作する。これは、スライダーバーごとにS405での検出回数を記憶しておくことで実現できる。   That is, when an adjustment instruction exceeding the adjustable range is detected in S405 of FIG. 4, the image processing apparatus according to the present embodiment operates in the same manner as when the interlock adjustment is invalid at the first detection (S411). From the second time onward, the operation is the same as when the interlock adjustment is valid. This can be realized by storing the number of detections in S405 for each slider bar.

本実施形態によれば、より明確にユーザに調整可能範囲を意識させることができる。その一方で、調整可能範囲を超える調整指示も受け付けるため、色に関する知識の少ないユーザが使用した場合にも、意図に沿った色編集を行うことができる。
なお、本実施形態は第2の実施形態の表示と組み合わせても、単独で実施することも可能である。
According to the present embodiment, the user can be more clearly aware of the adjustable range. On the other hand, since an adjustment instruction exceeding the adjustable range is accepted, even when a user with little knowledge about color is used, color editing can be performed in accordance with the intention.
Note that this embodiment can be implemented alone or in combination with the display of the second embodiment.

(他の実施形態)
上述の実施形態は、システム或は装置のコンピュータ(或いはCPU、MPU等)によりソフトウェア的に実現することも可能である。
(Other embodiments)
The above-described embodiment can also be realized in software by a computer of a system or apparatus (or CPU, MPU, etc.).

従って、上述の実施形態をコンピュータで実現するために、該コンピュータに供給されるコンピュータプログラム自体も本発明を実現するものである。つまり、上述の実施形態の機能を実現するためのコンピュータプログラム自体も本発明の一つである。   Therefore, the computer program itself supplied to the computer in order to implement the above-described embodiment by the computer also realizes the present invention. That is, the computer program itself for realizing the functions of the above-described embodiments is also one aspect of the present invention.

なお、上述の実施形態を実現するためのコンピュータプログラムは、コンピュータで読み取り可能であれば、どのような形態であってもよい。例えば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等で構成することができるが、これらに限るものではない。   The computer program for realizing the above-described embodiment may be in any form as long as it can be read by a computer. For example, it can be composed of object code, a program executed by an interpreter, script data supplied to the OS, but is not limited thereto.

上述の実施形態を実現するためのコンピュータプログラムは、記憶媒体又は有線/無線通信によりコンピュータに供給される。プログラムを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、磁気テープ等の磁気記憶媒体、MO、CD、DVD等の光/光磁気記憶媒体、不揮発性の半導体メモリなどがある。   A computer program for realizing the above-described embodiment is supplied to a computer via a storage medium or wired / wireless communication. Examples of the storage medium for supplying the program include a magnetic storage medium such as a flexible disk, a hard disk, and a magnetic tape, an optical / magneto-optical storage medium such as an MO, CD, and DVD, and a nonvolatile semiconductor memory.

有線/無線通信を用いたコンピュータプログラムの供給方法としては、コンピュータネットワーク上のサーバを利用する方法がある。この場合、本発明を形成するコンピュータプログラムとなりうるデータファイル(プログラムファイル)をサーバに記憶しておく。プログラムファイルとしては、実行形式のものであっても、ソースコードであっても良い。   As a computer program supply method using wired / wireless communication, there is a method of using a server on a computer network. In this case, a data file (program file) that can be a computer program forming the present invention is stored in the server. The program file may be an executable format or a source code.

そして、このサーバにアクセスしたクライアントコンピュータに、プログラムファイルをダウンロードすることによって供給する。この場合、プログラムファイルを複数のセグメントファイルに分割し、セグメントファイルを異なるサーバに分散して配置することも可能である。
つまり、上述の実施形態を実現するためのプログラムファイルをクライアントコンピュータに提供するサーバ装置も本発明の一つである。
Then, the program file is supplied by downloading to a client computer that has accessed the server. In this case, the program file can be divided into a plurality of segment files, and the segment files can be distributed and arranged on different servers.
That is, a server apparatus that provides a client computer with a program file for realizing the above-described embodiment is also one aspect of the present invention.

また、上述の実施形態を実現するためのコンピュータプログラムを暗号化して格納した記憶媒体を配布し、所定の条件を満たしたユーザに、暗号化を解く鍵情報を供給し、ユーザの有するコンピュータへのインストールを許可してもよい。鍵情報は、例えばインターネットを介してホームページからダウンロードさせることによって供給することができる。   In addition, a storage medium in which the computer program for realizing the above-described embodiment is encrypted and distributed is distributed, and key information for decrypting is supplied to a user who satisfies a predetermined condition, and the user's computer Installation may be allowed. The key information can be supplied by being downloaded from a homepage via the Internet, for example.

また、上述の実施形態を実現するためのコンピュータプログラムは、すでにコンピュータ上で稼働するOSの機能を利用するものであってもよい。
さらに、上述の実施形態を実現するためのコンピュータプログラムは、その一部をコンピュータに装着される拡張ボード等のファームウェアで構成してもよいし、拡張ボード等が備えるCPUで実行するようにしてもよい。
Further, the computer program for realizing the above-described embodiment may use an OS function already running on the computer.
Further, a part of the computer program for realizing the above-described embodiment may be configured by firmware such as an expansion board attached to the computer, or may be executed by a CPU provided in the expansion board. Good.

本発明の第1の実施形態に係る画像処理装置が提供する主要なユーザインタフェース画面の構成例を示す図である。It is a figure which shows the structural example of the main user interface screens which the image processing apparatus which concerns on the 1st Embodiment of this invention provides. 図1に示したコントロールパネル部の具体的な構成例を示す図である。It is a figure which shows the specific structural example of the control panel part shown in FIG. 本発明の第1の実施形態に係る画像処理装置の動作を説明するフローチャートである。5 is a flowchart for explaining the operation of the image processing apparatus according to the first embodiment of the present invention. 本発明の第1の実施形態に係る画像処理装置において、図3のS311で行う色編集処理の詳細を説明するフローチャートである。4 is a flowchart illustrating details of color editing processing performed in S311 of FIG. 3 in the image processing apparatus according to the first embodiment of the present invention. 本発明の第1の実施形態に係る画像処理装置が、図3のS309の処理で行う色変換テーブル作成コントロールパネル部の表示例を示す図である。FIG. 4 is a diagram illustrating a display example of a color conversion table creation control panel unit which is performed by the image processing apparatus according to the first embodiment of the present invention in the process of S309 of FIG. 本発明の第1の実施形態に係る画像処理装置において、図5の状態からユーザがコントロールポイントを操作して影響色領域を変更した状態の例を示す図である。FIG. 6 is a diagram illustrating an example of a state in which an influence color region is changed by a user operating a control point from the state of FIG. 5 in the image processing apparatus according to the first embodiment of the present invention. 本発明の第1の実施形態に係る画像処理装置における、スライダーバーの操作とカラーホイール及び輝度バーの表示の関係を説明する図である。It is a figure explaining the relationship between operation of a slider bar and the display of a color wheel and a brightness | luminance bar in the image processing apparatus which concerns on the 1st Embodiment of this invention. 輝度が50%より高い編集色について、彩度を上げる操作と調整可能範囲との関係の例を示す図である。It is a figure which shows the example of the relationship between operation which raises saturation, and an adjustable range about the edit color whose brightness | luminance is higher than 50%. 本発明の第2の実施形態に係る画像処理装置における、色変換テーブル作成コントロールパネル部の表示例を示す図である。It is a figure which shows the example of a display of the color conversion table creation control panel part in the image processing apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施形態に係る画像処理装置の動作を模式的に示す図である。It is a figure which shows typically operation | movement of the image processing apparatus which concerns on the 3rd Embodiment of this invention. 高さ方向を輝度軸とする双円錐モデルで表したHSL色空間を示す図である。It is a figure which shows the HSL color space represented with the biconic model which makes a height direction a luminance axis. 本発明の第1の実施形態に係る画像処理装置として動作可能なコンピュータ装置100の構成例を示すブロック図である。1 is a block diagram illustrating a configuration example of a computer apparatus 100 that can operate as an image processing apparatus according to a first embodiment of the present invention. 本発明の第1の実施形態の変形例に係る色編集処理における連動調整について説明するための図である。It is a figure for demonstrating the interlocking adjustment in the color edit process which concerns on the modification of the 1st Embodiment of this invention. 本発明の第1の実施形態の変形例に係る色編集処理の詳細を説明するフローチャートである。It is a flowchart explaining the detail of the color edit process which concerns on the modification of the 1st Embodiment of this invention.

Claims (12)

指定された編集色を変換する色編集処理を行う画像処理装置であって、
前記編集色の指定を受け付ける第1の入力手段と、
前記編集色の成分の調整を、成分ごとに受け付ける第2の入力手段と、
前記調整が、前記編集色の第1の成分及び第2の成分の値によって定まる調整可能範囲を超えるものであるか否かを判別する判別手段と、
前記第1の成分及び第2の成分の一方に対する調整が前記調整可能範囲を超えるものである場合、前記調整が前記調整可能範囲に含まれるように、前記第1の成分及び第2の成分の他方の値を連動調整する調整手段と、
前記第2の入力手段が受け付けた調整と、前記調整手段による調整とに基づいて、前記編集色を変換する色変換テーブルを生成する生成手段とを有することを特徴とする画像処理装置。
An image processing apparatus for performing color editing processing for converting a specified editing color,
First input means for receiving designation of the edit color;
Second input means for accepting adjustment of the editing color component for each component;
Discrimination means for discriminating whether or not the adjustment exceeds an adjustable range determined by values of the first component and the second component of the edit color;
If the adjustment for one of the first component and the second component exceeds the adjustable range, the first component and the second component are adjusted so that the adjustment is included in the adjustable range. Adjustment means for interlocking adjustment of the other value;
An image processing apparatus comprising: a generation unit configured to generate a color conversion table for converting the edit color based on the adjustment received by the second input unit and the adjustment by the adjustment unit.
前記編集色の成分が色相、彩度、輝度であり、前記第1の成分が彩度、前記第2の成分が輝度であることを特徴とする請求項1記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the editing color components are hue, saturation, and luminance, the first component is saturation, and the second component is luminance. 前記編集色の成分の値を、予め定めた色空間の予め定めた輝度に対応する彩度及び色相の範囲を示す画像と、輝度の範囲を表す画像の対応する位置にそれぞれ表示する表示手段をさらに有することを特徴とする請求項2記載の画像処理装置。   Display means for displaying the value of the edit color component at a corresponding position in an image indicating a saturation and hue range corresponding to a predetermined luminance in a predetermined color space and an image indicating the luminance range, respectively. The image processing apparatus according to claim 2, further comprising: 前記表示手段が、前記予め定めた色空間の予め定めた輝度に対応する彩度及び色相の範囲を示す画像に、前記編集色の輝度の値に対応する彩度の調整可能範囲を示す表示を行うことを特徴とする請求項3記載の画像処理装置。   The display means displays on the image showing the range of saturation and hue corresponding to the predetermined luminance of the predetermined color space, the adjustment range of saturation corresponding to the luminance value of the edit color. The image processing apparatus according to claim 3, wherein the image processing apparatus performs the processing. 前記表示手段が、前記輝度の範囲を表す画像に、前記編集色の彩度の値に対応する輝度の調整可能範囲を示す表示を行うことを特徴とする請求項3又は請求項4記載の画像処理装置。   5. The image according to claim 3, wherein the display means displays on the image representing the luminance range the luminance adjustable range corresponding to the saturation value of the edit color. Processing equipment. 前記調整手段が、前記連動調整が有効であるか否かを判別するとともに、
前記第1の成分及び第2の成分の一方に対する調整が前記調整可能範囲を超えるものである場合、前記連動調整が有効であれば前記連動調整を行い、前記連動調整が有効でなければ、前記第1の成分及び第2の成分の一方に対する調整を前記調整可能範囲の上限値又は下限値に制限することを特徴とする請求項1乃至請求項5のいずれか1項に記載の画像処理装置。
The adjusting means determines whether the interlock adjustment is effective, and
When the adjustment for one of the first component and the second component exceeds the adjustable range, the interlock adjustment is performed if the interlock adjustment is valid, and the interlock adjustment is not effective, The image processing apparatus according to claim 1, wherein an adjustment for one of the first component and the second component is limited to an upper limit value or a lower limit value of the adjustable range. .
前記調整手段が、予め定めた入力と並行して前記第2の入力手段が受け付けた調整については、前記連動調整が有効でないものと判別することを特徴とする請求項6記載の画像処理装置。   The image processing apparatus according to claim 6, wherein the adjustment unit determines that the interlocking adjustment is not effective for an adjustment received by the second input unit in parallel with a predetermined input. 前記調整手段が、前記調整が前記上限値又は下限値に制限された成分に対して、再度、前記調整可能範囲を超える調整を受け付けた場合には、前記連動調整が有効であるものと判別することを特徴とする請求項6又は請求項7記載の画像処理装置。   When the adjustment means receives an adjustment exceeding the adjustable range again for the component whose adjustment is limited to the upper limit value or the lower limit value, it determines that the interlock adjustment is effective. The image processing apparatus according to claim 6 or 7, wherein 前記調整手段が、前記第1の成分及び第2の成分の一方の値が前記調整可能範囲の上限値を維持するように前記第1の成分及び第2の成分の他方の値を連動調整することを特徴とする請求項1乃至請求項5のいずれか1項に記載の画像処理装置。   The adjusting means interlocks and adjusts the other value of the first component and the second component so that one value of the first component and the second component maintains the upper limit value of the adjustable range. The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus. 前記第1の成分及び第2の成分の一方に対する調整が、前記連動調整を行う前の前記第1の成分及び第2の成分の他方の値に対応する前記調整可能範囲を超えない値に戻された場合、前記調整手段が前記第1の成分及び第2の成分の他方の値の前記連動調整を中止することを特徴とする請求項8記載の画像処理装置。   The adjustment to one of the first component and the second component returns to a value that does not exceed the adjustable range corresponding to the other value of the first component and the second component before performing the interlock adjustment. 9. The image processing apparatus according to claim 8, wherein when the adjustment is made, the adjustment unit stops the linked adjustment of the other value of the first component and the second component. 指定された編集色を変換する色編集処理を行う画像処理方法であって、
前記編集色の指定を第1の入力手段を通じて受け付ける第1の入力工程と、
前記編集色の成分の調整を、第2の入力手段を通じて成分ごとに受け付ける第2の入力工程と、
前記調整が、前記編集色の第1の成分及び第2の成分の値によって定まる調整可能範囲を超えるものであるか否かを判別する判別工程と、
前記第1の成分及び第2の成分の一方に対する調整が前記調整可能範囲を超えるものである場合、前記調整が前記調整可能範囲に含まれるように、前記第1の成分及び第2の成分の他方の値を連動調整する調整工程と、
前記第2の入力手段が受け付けた調整と、前記調整工程による調整とに基づいて、前記編集色を変換する色変換テーブルを生成する生成工程とを有することを特徴とする画像処理方法。
An image processing method for performing a color editing process for converting a specified editing color,
A first input step of accepting designation of the edit color through first input means;
A second input step of accepting adjustment of the component of the edit color for each component through a second input means;
A determination step of determining whether or not the adjustment exceeds an adjustable range determined by values of the first component and the second component of the edit color;
If the adjustment for one of the first component and the second component exceeds the adjustable range, the first component and the second component are adjusted so that the adjustment is included in the adjustable range. An adjustment process for interlocking adjustment of the other value;
An image processing method comprising: a generation step of generating a color conversion table for converting the edit color based on the adjustment received by the second input means and the adjustment by the adjustment step.
コンピュータを、請求項1乃至請求項10のいずれか1項に記載の画像処理装置として機能させるためのプログラム。   A program for causing a computer to function as the image processing apparatus according to any one of claims 1 to 10.
JP2007274337A 2007-08-07 2007-10-22 Image processing apparatus and image processing method Expired - Fee Related JP5006757B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007274337A JP5006757B2 (en) 2007-08-07 2007-10-22 Image processing apparatus and image processing method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2007205851 2007-08-07
JP2007205851 2007-08-07
JP2007274337A JP5006757B2 (en) 2007-08-07 2007-10-22 Image processing apparatus and image processing method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012119064A Division JP5301012B2 (en) 2007-08-07 2012-05-24 Image processing apparatus and image processing method

Publications (3)

Publication Number Publication Date
JP2009060566A true JP2009060566A (en) 2009-03-19
JP2009060566A5 JP2009060566A5 (en) 2010-08-26
JP5006757B2 JP5006757B2 (en) 2012-08-22

Family

ID=40555854

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2007274337A Expired - Fee Related JP5006757B2 (en) 2007-08-07 2007-10-22 Image processing apparatus and image processing method
JP2012119064A Active JP5301012B2 (en) 2007-08-07 2012-05-24 Image processing apparatus and image processing method

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2012119064A Active JP5301012B2 (en) 2007-08-07 2012-05-24 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (2) JP5006757B2 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010278680A (en) * 2009-05-27 2010-12-09 Ikegami Tsushinki Co Ltd Specific color detection circuit
JP2011028364A (en) * 2009-07-22 2011-02-10 Omron Corp Image processor and image processing method
JP2011061446A (en) * 2009-09-09 2011-03-24 Kyocera Mita Corp Color adjustment device, color adjustment method and color adjustment program
JP2012231388A (en) * 2011-04-27 2012-11-22 Konica Minolta Business Technologies Inc Color conversion table editing apparatus
JP2014093735A (en) * 2012-11-06 2014-05-19 Ricoh Co Ltd Image processing system, information processing device, and program
CN104221358A (en) * 2012-03-06 2014-12-17 苹果公司 Unified slider control for modifying multiple image properties
JP2015127076A (en) * 2013-12-27 2015-07-09 株式会社島精機製作所 Discharge guide apparatus of cutting machine
US9886931B2 (en) 2012-03-06 2018-02-06 Apple Inc. Multi operation slider
JP2018151682A (en) * 2017-03-09 2018-09-27 オムロン株式会社 Servo parameter adjusting device and servo parameter adjusting method
US10282055B2 (en) 2012-03-06 2019-05-07 Apple Inc. Ordered processing of edits for a media editing application
JP2019208113A (en) * 2018-05-29 2019-12-05 富士通株式会社 Image correction program, image correction method, and image correction apparatus
US10552016B2 (en) 2012-03-06 2020-02-04 Apple Inc. User interface tools for cropping and straightening image

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5791647B2 (en) * 2013-02-26 2015-10-07 京セラドキュメントソリューションズ株式会社 Image processing apparatus and image forming apparatus
CN112684966A (en) * 2017-12-13 2021-04-20 创新先进技术有限公司 Picture scaling method and device and electronic equipment
JP7364381B2 (en) * 2019-07-19 2023-10-18 ファナック株式会社 Image processing device
US20230410388A1 (en) * 2020-11-20 2023-12-21 Nec Corporation Labeling device, labeling method, labeling program, and recording medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003087591A (en) * 2001-09-14 2003-03-20 Canon Inc Picture processing method and picture processor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4580837B2 (en) * 2005-07-26 2010-11-17 株式会社日立国際電気 Color tone correction method and color tone correction circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003087591A (en) * 2001-09-14 2003-03-20 Canon Inc Picture processing method and picture processor

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010278680A (en) * 2009-05-27 2010-12-09 Ikegami Tsushinki Co Ltd Specific color detection circuit
JP2011028364A (en) * 2009-07-22 2011-02-10 Omron Corp Image processor and image processing method
JP2011061446A (en) * 2009-09-09 2011-03-24 Kyocera Mita Corp Color adjustment device, color adjustment method and color adjustment program
JP2012231388A (en) * 2011-04-27 2012-11-22 Konica Minolta Business Technologies Inc Color conversion table editing apparatus
US10545631B2 (en) 2012-03-06 2020-01-28 Apple Inc. Fanning user interface controls for a media editing application
US10936173B2 (en) 2012-03-06 2021-03-02 Apple Inc. Unified slider control for modifying multiple image properties
JP2015518588A (en) * 2012-03-06 2015-07-02 アップル インコーポレイテッド Integrated slider control to modify multiple image properties
US11481097B2 (en) 2012-03-06 2022-10-25 Apple Inc. User interface tools for cropping and straightening image
US9886931B2 (en) 2012-03-06 2018-02-06 Apple Inc. Multi operation slider
US11119635B2 (en) 2012-03-06 2021-09-14 Apple Inc. Fanning user interface controls for a media editing application
US10282055B2 (en) 2012-03-06 2019-05-07 Apple Inc. Ordered processing of edits for a media editing application
US10942634B2 (en) 2012-03-06 2021-03-09 Apple Inc. User interface tools for cropping and straightening image
CN104221358A (en) * 2012-03-06 2014-12-17 苹果公司 Unified slider control for modifying multiple image properties
US10552016B2 (en) 2012-03-06 2020-02-04 Apple Inc. User interface tools for cropping and straightening image
JP2014093735A (en) * 2012-11-06 2014-05-19 Ricoh Co Ltd Image processing system, information processing device, and program
JP2015127076A (en) * 2013-12-27 2015-07-09 株式会社島精機製作所 Discharge guide apparatus of cutting machine
JP2018151682A (en) * 2017-03-09 2018-09-27 オムロン株式会社 Servo parameter adjusting device and servo parameter adjusting method
JP2019208113A (en) * 2018-05-29 2019-12-05 富士通株式会社 Image correction program, image correction method, and image correction apparatus
JP7028062B2 (en) 2018-05-29 2022-03-02 富士通株式会社 Image correction program, image correction method, and image correction device

Also Published As

Publication number Publication date
JP5301012B2 (en) 2013-09-25
JP5006757B2 (en) 2012-08-22
JP2012157080A (en) 2012-08-16

Similar Documents

Publication Publication Date Title
JP5301012B2 (en) Image processing apparatus and image processing method
US7245306B2 (en) Image processing method, image processing apparatus, storage medium and program
US6999068B2 (en) System and method for enabling users to edit graphical images
CN102087578B (en) Color designation control device and color designation control method
TWI461058B (en) Providing area zoom functionality for a camera
US8310720B2 (en) Color adjustment apparatus, image forming apparatus, and computer-readable recording medium
US20060048069A1 (en) Display apparatus and method for displaying screen where dragging and dropping of object can be executed and program stored in computer-readable storage medium
JP5943335B2 (en) Presentation device
US20100097339A1 (en) Image processing apparatus, image processing method, and program
JP6988205B2 (en) Information processing equipment and programs
US20020118209A1 (en) Computer program product for introducing painting effects into a digitized photographic image
JP4646735B2 (en) Image processing apparatus and image processing method
US20190132487A1 (en) Information processing apparatus and non-transitory computer readable medium
JP2010282311A (en) Display controller, image processor, and program
JP2856207B1 (en) Image position adjusting device and computer readable recording medium storing image position adjusting program
JP2009075846A (en) Outline extraction device and program
JP7073082B2 (en) Programs, information processing equipment, and information processing methods
JP2007052388A (en) Image display system
JP2006106976A (en) Image processor, image processing method and program
JP2010157920A (en) Information processing apparatus, method, and, program
JP5375215B2 (en) Image processing apparatus, display control method, and program
JP2006172021A (en) Image processor and image processing method
JP2005208886A (en) Image correction apparatus and image correction program
JP2016012899A (en) Projector, image projection method and program
JP2006279092A (en) Image processor

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100708

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100708

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111121

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120116

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120427

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120525

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150601

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 5006757

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150601

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees