JP2009253474A - Image processing device, image processing method, and image processing program - Google Patents

Image processing device, image processing method, and image processing program Download PDF

Info

Publication number
JP2009253474A
JP2009253474A JP2008096603A JP2008096603A JP2009253474A JP 2009253474 A JP2009253474 A JP 2009253474A JP 2008096603 A JP2008096603 A JP 2008096603A JP 2008096603 A JP2008096603 A JP 2008096603A JP 2009253474 A JP2009253474 A JP 2009253474A
Authority
JP
Japan
Prior art keywords
image
adjustment
image processing
values
saturation
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.)
Pending
Application number
JP2008096603A
Other languages
Japanese (ja)
Inventor
Keiichi Hiroki
啓一 廣木
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 Mita Corp
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 Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2008096603A priority Critical patent/JP2009253474A/en
Publication of JP2009253474A publication Critical patent/JP2009253474A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To designate an arbitrary area within an object image in an image processing device and to intuitively adjust a color of the designated area by a simple operation while seeing an image. <P>SOLUTION: An image processing device has a designated image reading portion 501 reading an arbitrary image, a display portion 30 displaying the image, an RGB value obtaining portion 502 obtaining an RGB value of the image, an adjusting area designating portion 505 designating an arbitrary adjusting area, an adjusting area RGB value obtaining portion 503 obtaining an RGB value of an adjusting area, a color coordinate value converting portion 504 converting the RGB value into a color coordinate value, an image data updating portion 508 changing a brightness value and a saturation value according to a predetermined operation on a display image and changing a color phase value, an RGB value converting portion 509 converting the color phase value, the brightness value, and the saturation value of the adjusting area after the change into an RGB value, a change image forming portion 510 forming an image corresponding to the RGB value converted, and the display portion 30 displaying the formed image. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、アプリケーション上で画像の色調整を可能とする画像処理装置、画像処理方法及び画像処理プログラムに関し、より詳しくは、表示画像を見ながらのポインティングデバイス操作に応じて表示画像内における所定領域の色調整を直感的に行う画像処理装置、画像処理方法及び画像処理プログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and an image processing program that enable image color adjustment on an application. The present invention relates to an image processing apparatus, an image processing method, and an image processing program for intuitively adjusting the color of the image.

従来の画像形成装置におけるカラー画像の色味を調整する手法として、色相、彩度、明度などの色空間を見立てて、これら構成値を各々変更することによって画像データの色調整を行う方法がある(例えば、特許文献1、2参照。)。   As a method of adjusting the color tone of a color image in a conventional image forming apparatus, there is a method of adjusting the color of image data by considering each color space such as hue, saturation, and brightness, and changing each of these configuration values. (For example, see Patent Documents 1 and 2.)

特許文献1の画像処理装置は、入力された第一の色空間データを、人間の色彩感覚に一致した色空間データに変換する色空間変換手段と、その色空間において入力された調整値にもとづいてサンプル画像を調整するとともに、その入力された調整値にもとづいて変換後の人間の色彩感覚に一致した色空間データを調整する調整手段と、この調整結果を表示する表示手段と、を備えた構成となっている。
なお、上述の「人間の色彩感覚に一致した色空間」とは色相、彩度及び明度をベースとした色空間を意味している。
The image processing apparatus disclosed in Patent Document 1 is based on color space conversion means for converting the input first color space data into color space data that matches the human color sense, and the adjustment value input in the color space. And adjusting means for adjusting the color space data matching the human color sense after conversion based on the input adjustment value, and display means for displaying the adjustment result. It has a configuration.
The above-mentioned “color space that matches the human color sensation” means a color space based on hue, saturation, and brightness.

また、特許文献2のエアブラシ方法は、RGBデータを明度/彩度/色相座標系の画像データに変換し、変換された明度/彩度/色相座標系の画像データに対してエアブラシ処理を行うためのエアブラシ情報を指定し、変換された明度/彩度/色相系の画像データの内から前記エアブラシ情報に対応する画像データを抽出し、前記エアブラシ情報に基づき抽出された明度/彩度/色相系の画像データに対してエアブラシ処理を行う方法となっている。   Further, the airbrush method of Patent Document 2 converts RGB data into image data of brightness / saturation / hue coordinate system, and performs airbrush processing on the converted image data of brightness / saturation / hue coordinate system. The image data corresponding to the airbrush information is extracted from the converted lightness / saturation / hue image data, and the lightness / saturation / hue system extracted based on the airbrush information is specified. The airbrush process is performed on the image data.

このように、特許文献1及び特許文献2に記載の技術は、いずれも明度/彩度/色相座標系の画像データを用いて編集を行うようにしているので、人間の感覚に近い自然な色調整を可能としている。   As described above, since the techniques described in Patent Document 1 and Patent Document 2 both perform editing using image data in the brightness / saturation / hue coordinate system, natural colors that are close to human senses. Adjustment is possible.

さらに、Photoshop(アドビシステムズインコーポレイテッド登録商標)等の一般的な画像処理ソフトを利用して色調整を行う方法もある。
すなわち、まず、対象画像をモニタに表示させて調整部分の範囲指定をする。
次いで、スライドバー等、色調整用のGUI(Graphical User
Interface)上で調整作業を行い、色相をどれくらい回転させるか、明度をどれくらい上下させるか、彩度をどれくらい上下させるか、といった調整をユーザに行わせる。
そして、このように調整された後の画像をモニタに表示して確認し、ユーザが納得いく色味になるまで同様の作業を繰り返す方法となっている。
In addition, there is a method of performing color adjustment using general image processing software such as Photoshop (Adobe Systems Incorporated registered trademark).
That is, first, the target image is displayed on the monitor and the range of the adjustment portion is designated.
Next, a GUI (Graphical User) for color adjustment such as a slide bar
Interface), the user performs adjustments such as how much the hue is rotated, how much the lightness is raised and lowered, and how much the saturation is raised and lowered.
Then, the image after the adjustment is displayed on the monitor for confirmation, and the same operation is repeated until the user is satisfied with the color.

特許第3809217号公報Japanese Patent No. 3809217 特開平6−333039号公報JP-A-6-333039

しかしながら、特許文献1に記載されている画像処理装置においては、画像全体が色調整の対象となっており、画像の部分的な色調整については対象とはなっていない。
このため、繊細な表現を必要とする色調整には向いておらず、利便性及び柔軟性に欠くものとなっていた。
また、特許文献2に記載されているエアブラシ方法も、領域の形状を緻密に指定することが困難であり、ユーザにとっては不便である。
また、Photoshop(アドビシステムズインコーポレイテッド登録商標)等の画像処理ソフトによれば、調整作業が、画像の表示・範囲指定と色味のパラメータ調整作業との2段階にわかれており、操作が面倒なものとなっていた。
したがって、これらの従来技術によっては、領域指定が不可能であったり、パラメータの設定等が非効率である等、ユーザにとっては不便であった。
However, in the image processing apparatus described in Patent Document 1, the entire image is a target for color adjustment, and is not a target for partial color adjustment of an image.
For this reason, it is not suitable for color adjustment that requires delicate expression, and lacks convenience and flexibility.
The airbrush method described in Patent Document 2 is also inconvenient for the user because it is difficult to specify the shape of the region precisely.
In addition, according to image processing software such as Photoshop (Adobe Systems Incorporated registered trademark), the adjustment work is divided into two stages of image display / range specification and color parameter adjustment work, and the operation is troublesome. It was a thing.
Therefore, these conventional techniques are inconvenient for the user, such as inability to specify a region and inefficient parameter setting.

本発明は、以上のような従来の技術が有する問題を解決するために提案されたものであり、表示画像内の任意の領域を指定して、その指定領域の色味を、画像を見ながらの簡易操作によって直感的に調整することが可能な画像処理装置、画像処理方法及び画像処理プログラムの提供を目的とする。   The present invention has been proposed in order to solve the problems of the conventional techniques as described above. An arbitrary area in a display image is designated, and the color of the designated area is viewed while viewing the image. An object of the present invention is to provide an image processing apparatus, an image processing method, and an image processing program that can be intuitively adjusted by simple operations.

上記目的を達成するため、本発明の画像処理装置は、請求項1に記載するように、表示された画像の色調整を行う画像処理装置であって、入力操作に応じて任意の画像を読み込む画像読込手段と、読み込んだ前記画像を表示する第一表示手段と、読み込んだ前記画像のRGB値を取得するRGB値取得手段と、所定操作に基づき表示画像内の任意の調整領域を指定する領域指定手段と、指定した前記調整領域のRGB値を取得する調整領域RGB値取得手段と、取得した前記調整領域のRGB値を色相、明度、彩度の値に変換する表色値変換手段と、前記表示画像上の所定操作に応じて前記明度及び彩度の値を変更する第一パラメータ変更手段と、前記表示画像上の所定操作に応じて前記色相の値を変更する第二パラメータ変更手段と、前記変更した後の前記調整領域の色相、明度、彩度の値をRGB値に変換するRGB値変換手段と、変換された前記RGB値に対応する画像を形成する変更画像形成手段と、形成された前記画像を表示する第二表示手段と、を備えた構成としてある。   In order to achieve the above object, an image processing apparatus according to the present invention is an image processing apparatus for adjusting the color of a displayed image, and reads an arbitrary image in accordance with an input operation. Image reading means, first display means for displaying the read image, RGB value acquisition means for acquiring the RGB value of the read image, and an area for designating an arbitrary adjustment area in the display image based on a predetermined operation A specification means, an adjustment area RGB value acquisition means for acquiring an RGB value of the specified adjustment area, and a colorimetric value conversion means for converting the acquired RGB value of the adjustment area into values of hue, brightness, and saturation; First parameter changing means for changing the brightness and saturation values according to a predetermined operation on the display image; and second parameter changing means for changing the hue value according to a predetermined operation on the display image; The above An RGB value converting means for converting the hue, lightness, and saturation values of the adjustment area after being changed into RGB values, and a changed image forming means for forming an image corresponding to the converted RGB values, And a second display means for displaying the image.

このような構成からなる本発明の画像処理装置によれば、任意の画像全体の色調整ができるだけでなく、表示画像の一部領域を指定し、その指定領域に限定した柔軟な色調整ができるようになっている。
また、表示画像における色変化を見ながら、同時に、指定領域の明度、彩度、色相について色調整ができるようになっている。
このため、利便性に優れ、人間の色彩感覚に近い自然な色調整を直感的な操作に基づいて容易に処理することが可能となっている。
According to the image processing apparatus of the present invention having such a configuration, not only the color adjustment of the entire arbitrary image can be performed, but also a partial area of the display image can be designated and flexible color adjustment limited to the designated area can be performed. It is like that.
In addition, while watching the color change in the display image, it is possible to simultaneously adjust the color, brightness, saturation and hue of the designated area.
For this reason, it is possible to easily process natural color adjustment that is excellent in convenience and close to human color sensation based on an intuitive operation.

また、本発明の画像処理装置は、請求項2に記載するように、前記表示画像上の所定操作に伴って明度及び彩度の変更値に対応するグラフを前記表示画像上に重ねて表示させるグラフ表示手段を備え、前記第一パラメータ変更手段は、前記グラフ上の所定操作に応じた指定ポイントに応じて明度及び彩度の値を変更するようにしてある。
そして、請求項3に記載するように、前記第一パラメータ変更手段は、前記グラフ上の所定操作に応じて指定される2点間の距離及び方向に応じて明度及び彩度の値を変更するようにしてある。
さらに、請求項4に記載するように、入力手段としてのポインティングデバイスを備え、前記第一パラメータ変更手段は、前記ポインティングデバイスのドラッグ起点及びドラッグ終点によって示される前記グラフ上の2点間の距離及び方向に応じて明度及び彩度の値を変更するようにしてある。
一方、請求項5に記載するように、前記第二パラメータ変更手段は、前記ポインティングデバイスが備えるホイールの回転操作に応じて色相の値を変更するようにしてある。
According to a second aspect of the present invention, there is provided the image processing apparatus according to the second aspect, wherein a graph corresponding to a change value of lightness and saturation is superimposed on the display image in accordance with a predetermined operation on the display image. Graph display means is provided, and the first parameter changing means changes the values of lightness and saturation according to a designated point corresponding to a predetermined operation on the graph.
And as described in Claim 3, said 1st parameter change means changes the value of lightness and saturation according to the distance and direction between two points designated according to the predetermined operation on the said graph. It is like that.
Furthermore, as described in claim 4, a pointing device as input means is provided, wherein the first parameter changing means includes a distance between two points on the graph indicated by a drag start point and a drag end point of the pointing device, and The values of brightness and saturation are changed according to the direction.
On the other hand, as described in claim 5, the second parameter changing means changes a hue value in accordance with a rotation operation of a wheel provided in the pointing device.

このような構成からなる本発明の画像処理装置によれば、マウス等のポインティングデバイスによる表示画面上のドラッグ操作等によって明度、彩度を調整することができると同時に、ホイールの回転操作によって色相を調整することができるようになっている。
特に、明度、彩度を調整する際には、そのパラメータを示すグラフを表示するようにしており、ユーザはそのグラフを見ながら容易に色調整ができるようになっている。
このため、本発明によれば、色調整に必要な複数の操作を、表示画像を見ながらの一連の操作によって簡易に色調整ができるようになっている。
According to the image processing apparatus of the present invention having such a configuration, brightness and saturation can be adjusted by a drag operation on a display screen by a pointing device such as a mouse, and at the same time, a hue can be adjusted by a wheel rotation operation. It can be adjusted.
In particular, when adjusting the brightness and saturation, a graph showing the parameters is displayed, and the user can easily adjust the color while viewing the graph.
Therefore, according to the present invention, a plurality of operations necessary for color adjustment can be easily adjusted by a series of operations while viewing a display image.

また、本発明の画像処理装置は、請求項6に記載するように、前記領域指定手段は、前記ポインティングデバイスの所定操作に応じて形成される任意の閉領域を前記調整領域とするようにしている。
そして、請求項7に記載するように、前記領域指定手段は、前記ポインティングデバイスの所定操作に応じて指定される2点を対向頂点として形成した矩形又はその内接円の閉領域を前記調整領域とするようにしている。
According to a sixth aspect of the present invention, in the image processing apparatus according to the sixth aspect, the area designating unit sets an arbitrary closed area formed in response to a predetermined operation of the pointing device as the adjustment area. Yes.
According to a seventh aspect of the present invention, the area designating unit defines a closed area of a rectangle formed by using two points designated as opposing vertices according to a predetermined operation of the pointing device or an inscribed circle thereof as the adjustment area. And so on.

このような構成からなる本発明の画像処理装置によれば、対象画像の広い範囲を一括して色調整できるだけでなく、様々な形状の領域や細かな領域についてもポインティングデバイス操作によって指定して色調整できるようにしてある。
このため、ユーザの所望の領域を指定することができ、柔軟性に優れた色調整処理を可能としている。
According to the image processing apparatus of the present invention having such a configuration, not only can the color adjustment of a wide range of the target image be performed at once, but also the color can be specified by operating various pointing areas and fine areas by operating the pointing device. It can be adjusted.
For this reason, a user's desired area | region can be designated and the color adjustment process excellent in the flexibility is enabled.

また、本発明の画像処理装置は、請求項8に記載するように、前記変更画像形成手段により形成した後の画像を所望のデータ形式にて保存する画像データ保存手段を備える構成としてある。   According to another aspect of the present invention, an image processing apparatus includes an image data storage unit that stores an image formed by the modified image forming unit in a desired data format.

このような構成からなる本発明の画像処理装置によれば、調整後の画像データを、ユーザの所望の画像フォーマットにて保存することができ、色調整後の画像を様々な形で利用することができるようになる。
このため、前述と同様の作用のみならず、拡張性に優れた画像処理装置を実現することができる。
According to the image processing apparatus of the present invention having such a configuration, the adjusted image data can be stored in a user-desired image format, and the color-adjusted image can be used in various forms. Will be able to.
For this reason, it is possible to realize an image processing apparatus excellent in expandability as well as the same operation as described above.

また、本発明の画像処理方法は、請求項9に記載するように、表示された画像の色調整を行う画像処理方法であって、入力操作に応じて任意の画像を読み込むステップと、読み込んだ前記画像を表示するステップと、読み込んだ前記画像のRGB値を取得するステップと、所定操作に基づき表示画像内の任意の調整領域を指定するステップと、指定した前記調整領域のRGB値を取得するステップと、取得した前記調整領域のRGB値を色相、明度、彩度の値に変換するステップと、前記表示画像上の所定操作に応じて前記明度及び彩度の値を変更するステップと、前記表示画像上の所定操作に応じて前記色相の値を変更するステップと、前記変更した後の前記調整領域の色相、明度、彩度の値をRGB値に変換するステップと、変換された前記RGB値に対応する画像を形成するステップと、形成された前記画像を表示するステップと、を有する方法としてある。   The image processing method of the present invention is an image processing method for adjusting the color of a displayed image as described in claim 9, wherein an arbitrary image is read according to an input operation, and the read A step of displaying the image; a step of acquiring an RGB value of the read image; a step of specifying an arbitrary adjustment region in the display image based on a predetermined operation; and acquiring an RGB value of the specified adjustment region Converting the acquired RGB values of the adjustment area into hue, brightness, and saturation values; changing the brightness and saturation values according to a predetermined operation on the display image; and A step of changing the value of the hue in accordance with a predetermined operation on the display image, a step of converting the value of the hue, lightness, and saturation of the adjustment area after the change into an RGB value; There as a method having the steps of forming an image corresponding to the serial RGB values, and displaying the image formed, the.

このように、上述した装置発明としてだけでなく、方法発明としても本発明を実現化することができる。
したがって、ハードウェアの構成にとらわれることなく発明を実施することができるため、汎用性、拡張性に優れた方法として提供することが可能である。
Thus, the present invention can be realized not only as the above-described apparatus invention but also as a method invention.
Therefore, the invention can be implemented without being restricted by the hardware configuration, and thus can be provided as a method having excellent versatility and expandability.

また、本発明の画像処理プログラムは、請求項10に記載するように、表示された画像の色調整を画像処理装置に実行させるためのプログラムであって、前記画像処理装置を構成するコンピュータを、入力操作に応じて任意の画像を読み込む画像読込手段、読み込んだ前記画像を表示する第一表示手段、読み込んだ前記画像のRGB値を取得するRGB値取得手段、所定操作に基づき表示画像内の任意の調整領域を指定する領域指定手段、指定した前記調整領域のRGB値を取得する調整領域RGB値取得手段、取得した前記調整領域のRGB値を色相、明度、彩度の値に変換する表色値変換手段、前記表示画像上の所定操作に応じて前記明度及び彩度の値を変更する第一パラメータ変更手段、前記表示画像上の所定操作に応じて前記色相の値を変更する第二パラメータ変更手段、前記変更した後の前記調整領域の色相、明度、彩度の値をRGB値に変換するRGB値変換手段、変換された前記RGB値に対応する画像を形成する変更画像形成手段、形成された前記画像を表示する第二表示手段、として機能させるためのプログラムとしてある。   According to a tenth aspect of the present invention, there is provided an image processing program for causing an image processing apparatus to perform color adjustment of a displayed image, wherein the computer constituting the image processing apparatus includes: Image reading means for reading an arbitrary image in response to an input operation, first display means for displaying the read image, RGB value acquisition means for acquiring the RGB value of the read image, arbitrary image in a display image based on a predetermined operation An area specifying means for specifying the adjustment area, an adjustment area RGB value acquiring means for acquiring the RGB value of the specified adjustment area, and a color specification for converting the acquired RGB value of the adjustment area into hue, lightness, and saturation values Value conversion means, first parameter changing means for changing the values of brightness and saturation according to a predetermined operation on the display image, and the hue of the hue according to a predetermined operation on the display image A second parameter changing means for changing the color, a RGB value converting means for converting the hue, brightness, and saturation values of the adjustment area after the change into RGB values, and forming an image corresponding to the converted RGB values. The program serves as a modified image forming unit and a second display unit that displays the formed image.

このように本発明はプログラムとしても実現化することができる。
これにより、プリンタや複合機等の画像形成装置のみならず、広く電気機器にプログラムをインストールして本発明を実現することができ、汎用性,拡張性に効果を奏する優れた画像処理プログラムとして提供することができる。
Thus, the present invention can also be realized as a program.
As a result, the present invention can be realized by installing programs not only in image forming apparatuses such as printers and multifunction peripherals but also in a wide range of electrical equipment, and provided as an excellent image processing program that is effective for versatility and expandability. can do.

以上のように、本発明の画像処理装置によれば、画像の色変化を見ながら直感的な色調整操作ができ、また、領域を自在に指定してその領域のみを色調整の対象とすることが可能となり、その効果として、人間の視覚感覚に応じた自然で柔軟な色調整が容易に可能となった。
また、ユーザの所望のデータ形式にもとづいて調整後の画像データを保存することができるため、利便性や拡張性を高めることも可能である。
As described above, according to the image processing apparatus of the present invention, an intuitive color adjustment operation can be performed while viewing the color change of an image, and an area can be freely specified and only that area is subjected to color adjustment. As a result, natural and flexible color adjustment according to the human visual sense can be easily performed.
Moreover, since the adjusted image data can be stored based on the data format desired by the user, it is possible to improve convenience and expandability.

以下、本発明の好ましい実施形態について図1〜図13を参照して説明する。
ここで、以下に示す本実施形態の画像処理装置は、プログラム(ソフトウェア)の命令によりコンピュータで実行される処理,手段,機能によって実現される。プログラムは、コンピュータの各構成要素に指令を送り、以下に示すような所定の処理・機能を行わせる。すなわち、本実施形態の画像処理装置における各処理・手段は、プログラムとコンピュータとが協働した具体的手段によって実現される。
なお、プログラムの全部又は一部は、例えば、磁気ディスク,光ディスク,半導体メモリ,その他任意のコンピュータで読取り可能な記録媒体により提供され、記録媒体から読み出されたプログラムがコンピュータにインストールされて実行される。また、プログラムは、記録媒体を介さず、通信回線を通じて直接にコンピュータにロードし実行することもできる。
A preferred embodiment of the present invention will be described below with reference to FIGS.
Here, the image processing apparatus of the present embodiment described below is realized by processes, means, and functions executed by a computer in accordance with instructions of a program (software). The program sends a command to each component of the computer to perform predetermined processing and functions as shown below. That is, each process / means in the image processing apparatus of the present embodiment is realized by specific means in which a program and a computer cooperate.
Note that all or part of the program is provided by, for example, a magnetic disk, optical disk, semiconductor memory, or any other computer-readable recording medium, and the program read from the recording medium is installed in the computer and executed. The The program can also be loaded and executed directly on a computer through a communication line without using a recording medium.

図1は、本発明の一実施形態に係る画像処理装置の構成を示すブロック図である。
同図に示すように、本実施形態の画像処理装置1は、HDD(ハードディスクドライブ)10、メモリ20、表示部30、入力部40及び色調整用アプリケーション50から構成される。
HDD10は、元画像データと、調整後画像データとを、それぞれ画像ファイルとして記憶(格納)する。
メモリ20は、HDD10から取り出された元画像データ(色調整用アプリケーション50で調整される前の画像データ)と、調整後画像データ(色調整用アプリケーション50で調整処理された後の画像データ)とを記憶するものである。
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention.
As shown in FIG. 1, the image processing apparatus 1 according to the present embodiment includes an HDD (hard disk drive) 10, a memory 20, a display unit 30, an input unit 40, and a color adjustment application 50.
The HDD 10 stores (stores) the original image data and the adjusted image data as image files.
The memory 20 includes original image data (image data before being adjusted by the color adjustment application 50) extracted from the HDD 10, post-adjustment image data (image data after being adjusted by the color adjustment application 50), and the like. Is memorized.

表示部30(ディスプレイ、モニタ等)は、GUI(Graphical User
Interface)の機能を実装したOS(Operating System)により、図11に示すような画面を表示する。
すなわち、この画面には、調整用画像a、色調整の対象となる調整領域b及び色調整を行うための目安となるグラフc(Saturation軸、Lightness軸、数値軸、目盛りから構成される)を表示する。
また、表示部30は、図2に示すように、調整用画像として使用可能な画像の一覧(調整用画像選択画面)を表示することができる。
The display unit 30 (display, monitor, etc.) is a GUI (Graphical User).
A screen as shown in FIG. 11 is displayed by an OS (Operating System) in which the function of (Interface) is implemented.
That is, on this screen, an adjustment image a, an adjustment area b to be subjected to color adjustment, and a graph c (consisting of a Saturation axis, a Lightness axis, a numerical value axis, and a scale) as a guideline for performing color adjustment are displayed. indicate.
As shown in FIG. 2, the display unit 30 can display a list of images that can be used as adjustment images (adjustment image selection screen).

入力部40は、いわゆるポインティングデバイスで構成されており、例えば、マウス、トラックボール、タッチパッド、ジョイスティック、タッチパネル等が入力部40に含まれる。
特に、本実施形態においては入力部40としてマウス401が使用され、マウス401の所定操作によって調整領域bを指定するのみならず、マウス401のドラッグ操作やマウスホイール401aの回転操作に応じて、様々な色調整が行われるようになっている。
また、入力部40は、表示部30に表示された画像一覧の中から調整用画像を指定する。
The input unit 40 includes a so-called pointing device. For example, the input unit 40 includes a mouse, a trackball, a touch pad, a joystick, a touch panel, and the like.
In particular, in the present embodiment, the mouse 401 is used as the input unit 40, and not only the adjustment area b is designated by a predetermined operation of the mouse 401, but also variously according to the drag operation of the mouse 401 or the rotation operation of the mouse wheel 401a. Color adjustments are made.
Further, the input unit 40 designates an adjustment image from the image list displayed on the display unit 30.

[色調整用アプリケーション50]
指定画像読込部(画像読込手段)501は、HDD10に保存してある一以上の画像の中からユーザが選択する任意の画像(調整用画像)の全画素のデータをメモリ20を介して読み込むものである。
具体的には、図2に示す調整用画像選択画面の中からマウス等で選択・決定された画像(同図の場合、画像8)のデータが読み込まれる。
[Color Adjustment Application 50]
A designated image reading unit (image reading means) 501 reads data of all pixels of an arbitrary image (adjustment image) selected by the user from one or more images stored in the HDD 10 via the memory 20. It is.
Specifically, the data of the image selected and determined with the mouse or the like from the adjustment image selection screen shown in FIG. 2 (in this case, image 8) is read.

RGB値取得部(RGB値取得手段)502は、画像読込部501が取得した調整用画像の全画素についてRGB値を取得するものである。   An RGB value acquisition unit (RGB value acquisition unit) 502 acquires RGB values for all the pixels of the adjustment image acquired by the image reading unit 501.

調整領域RGB値取得部(調整領域RGB値取得手段)503は、RGB値取得部502が取得したRGB値のうち、ユーザが指定する調整領域内のRGB値のみを抽出するものである。   The adjustment region RGB value acquisition unit (adjustment region RGB value acquisition means) 503 extracts only RGB values in the adjustment region designated by the user from among the RGB values acquired by the RGB value acquisition unit 502.

表色値変換部(表色値変換手段)504は、調整領域RGB値取得部503によって得た調整領域内のRGB値を色相、明度、彩度からなる表色系の値に変換するものである。
具体的には、HLS(Hue,Saturation,Lightness)、LCH(Light,Color,Hue)、HSV(Hue,Saturation,Value)などへの変換方法があり、このうちいずれか一つもしくは複数を組み合わせて必要な表色値を取得する。
A color value conversion unit (color value conversion means) 504 converts the RGB value in the adjustment area obtained by the adjustment area RGB value acquisition unit 503 into a color system value composed of hue, brightness, and saturation. is there.
Specifically, there are conversion methods to HLS (Hue, Saturation, Lightness), LCH (Light, Color, Hue), HSV (Hue, Saturation, Value), etc. Get the required color values.

調整領域指定部(領域指定手段)505は、入力部40を介したユーザ操作に応じて調整用画像内の任意の領域(調整領域)を指定するものであり、色調整の対象領域を決定するものである。   An adjustment area designation unit (area designation unit) 505 designates an arbitrary area (adjustment area) in the adjustment image in accordance with a user operation via the input unit 40, and determines a target area for color adjustment. Is.

ここで、本実施形態に係る画像処理装置の調整領域指定部によって行われる調整領域の指定方法について図3を参照しながら詳細に説明する。
図3は、本実施形態に係る画像処理装置の調整領域指定部によって行われる領域指定の例を示した図である。
同図に示すとおり、領域指定は、表示画面上のマウス401の操作にもとづいて、円(楕円)、矩形、自由形状を選択して決定することができる。
Here, the adjustment area designation method performed by the adjustment area designation unit of the image processing apparatus according to the present embodiment will be described in detail with reference to FIG.
FIG. 3 is a diagram illustrating an example of area designation performed by the adjustment area designation unit of the image processing apparatus according to the present embodiment.
As shown in the figure, the area designation can be determined by selecting a circle (ellipse), a rectangle, or a free shape based on the operation of the mouse 401 on the display screen.

例えば、図3(a)のように円(楕円)を選択する場合、ユーザに画像上の任意の2点(A1,A2)を指定させる。
これにより、一方の1点(A1)が頂点で、他方の1点(A2)がその対角頂点となる矩形が定まり、矩形の場所と大きさが一意的に指定されることになる。
そして、上記矩形に内接する円(楕円)を調整領域とする。
一方、図3(b)のように矩形を選択した場合、同様に、ユーザに画像上の2点(B1,B2)を指定させ、形成された矩形の内部領域を調整領域とする。
なお、円(楕円)又は矩形を領域とする際の上記2点は、画面上の任意のポイントをクリックすることによって指定しても良く、また、ドラッグ&ドロップ操作によって2点を指定する方法であっても良い。
For example, when selecting a circle (ellipse) as shown in FIG. 3A, the user is allowed to designate two arbitrary points (A1, A2) on the image.
As a result, a rectangle in which one point (A1) is a vertex and the other point (A2) is a diagonal vertex is determined, and the location and size of the rectangle are uniquely specified.
A circle (ellipse) inscribed in the rectangle is set as an adjustment region.
On the other hand, when a rectangle is selected as shown in FIG. 3B, similarly, the user designates two points (B1, B2) on the image, and the formed rectangular internal area is set as the adjustment area.
Note that the above two points when a circle (ellipse) or rectangle is used as an area may be specified by clicking an arbitrary point on the screen, or by specifying two points by a drag and drop operation. There may be.

また、図3(c)のように調整領域として自由形状を選択した場合、ユーザに画像内部をマウスドラッグや連続クリック等させることによって、所望の閉領域(同図の場合、C1乃至C10からなる閉領域)を形成させ、この閉領域を調整領域とする。   When a free shape is selected as the adjustment area as shown in FIG. 3C, the user can drag the inside of the image, continuously click, etc. to make a desired closed area (in the case of FIG. Closed region) is formed, and this closed region is set as an adjustment region.

なお、これらの調整領域は、1画素単位で指定することが可能である。
このため、調整用画像の細部についても領域指定ができ、微妙できめ細やかな色調整ができるようになっている。
These adjustment areas can be designated in units of one pixel.
For this reason, it is possible to specify an area for details of the adjustment image, and to perform fine and fine color adjustment.

画像表示処理部506は、メモリ20から取り出した元画像データにもとづいて調整用画像を表示部30に表示させるだけでなく、メモリ20から取り出した調整後画像データにもとづいて、色調整用アプリケーション50が調整した後の画像を表示部30に表示させる。
さらに、画像表示処理部506は、入力部40との連携によりGUIとしてのグラフcを表示部30に表示させる(本発明のグラフ表示手段)。
具体的には、マウス401のドラッグ開始点を中心としてSaturation軸、Lightness軸、数値軸、目盛りからなるグラフcを表示させる。
The image display processing unit 506 not only displays the adjustment image on the display unit 30 based on the original image data extracted from the memory 20 but also the color adjustment application 50 based on the adjusted image data extracted from the memory 20. The image after the adjustment is displayed on the display unit 30.
Furthermore, the image display processing unit 506 displays a graph c as a GUI on the display unit 30 in cooperation with the input unit 40 (graph display means of the present invention).
Specifically, a graph c including a Saturation axis, a Lightness axis, a numerical value axis, and a scale is displayed with the drag start point of the mouse 401 as the center.

パラメータ算出部507は、調整領域指定部505が指定した領域の色調整を行う上で、変更する色相、明度、彩度の各パラメータを算出するものである。
明度、彩度を変更する場合には、GUIとして表示されるグラフcの目盛りを基準として、マウスドラッグの起点及び終点に応じてそのパラメータを決定する。
また、色相を変更する場合には、マウスホイール401aの回転量や回転方向に応じてそのパラメータを決定する。
The parameter calculation unit 507 calculates hue, brightness, and saturation parameters to be changed when performing color adjustment of the region specified by the adjustment region specification unit 505.
When changing the brightness and saturation, the parameters are determined according to the starting point and the ending point of the mouse drag with reference to the scale of the graph c displayed as the GUI.
Further, when changing the hue, the parameter is determined according to the rotation amount and the rotation direction of the mouse wheel 401a.

画像データ更新部508は、パラメータ算出部507で算出された明度、彩度に関するパラメータに応じて調整領域の明度、彩度の値を更新する(第一パラメータ変更手段)とともに、色相に関するパラメータに応じて調整領域の色相の値を更新する(第二パラメータ変更手段)ものである。   The image data update unit 508 updates the brightness and saturation values of the adjustment area in accordance with the brightness and saturation parameters calculated by the parameter calculation unit 507 (first parameter changing unit) and also according to the hue parameters. The hue value of the adjustment area is updated (second parameter changing means).

RGB値変換部(RGB値変換手段)509は、画像データ更新部508において更新された調整領域の画像データをRGB値に戻すものである。
具体的には、色相、明度、彩度からなるデータを元のRGB値に戻す処理を行うものである。
An RGB value conversion unit (RGB value conversion means) 509 returns the image data in the adjustment area updated by the image data update unit 508 to RGB values.
Specifically, a process for returning data composed of hue, brightness, and saturation to the original RGB values is performed.

変更画像形成部(変更画像形成手段)510は、RGB値変換部509によって得たRGB値にもとづいて調整後の画像全体のデータを形成するものである。
そして、形成された調整後の画像データは、本発明の第二表示手段によって表示部30に表示される。
なお、調整後の画像データは、ユーザの所定操作により任意の保存形式(例えば、Bitmap,JPEG,png,tif等)に変換してHDD10又はメモリ20に保存することが可能である(本発明の画像データ保存手段)。
The changed image forming unit (changed image forming unit) 510 forms data of the entire image after adjustment based on the RGB values obtained by the RGB value converting unit 509.
The adjusted image data thus formed is displayed on the display unit 30 by the second display means of the present invention.
The adjusted image data can be converted into an arbitrary storage format (for example, Bitmap, JPEG, png, tif, etc.) by a predetermined operation of the user and stored in the HDD 10 or the memory 20 (in the present invention). Image data storage means).

次に、以上のような構成からなる本実施形態の画像処理装置1における色調整の処理手順について図4乃至図13を参照しつつ説明する。
図4は、本実施形態に係る画像処理装置における色調整に関する全体の処理手順を示したフローチャートである。
Next, a color adjustment processing procedure in the image processing apparatus 1 of the present embodiment configured as described above will be described with reference to FIGS.
FIG. 4 is a flowchart showing an overall processing procedure regarding color adjustment in the image processing apparatus according to the present embodiment.

図4に示すとおり、本実施形態に係る画像処理装置1の色調整用アプリケーション50は、初期画像表示処理を行う(S401)。
そこで、本実施形態に係る初期画像表示処理について図5を参照しながら詳細に説明する。
As shown in FIG. 4, the color adjustment application 50 of the image processing apparatus 1 according to the present embodiment performs an initial image display process (S401).
Therefore, the initial image display processing according to the present embodiment will be described in detail with reference to FIG.

(初期画像表示処理)
図5は、本実施形態に係る画像処理装置1における初期画像処理の手順を詳細に示したフローチャートである。
ここでは、まず、色調整用アプリケーション50は、図2に示すように、ユーザが色調整を希望する画像として選択・決定したものをHDD10より読み込む(S501)。
そして、その画像データをメモリ20に展開し、所定の表示形式に変換した上で表示部30に表示させる(S502)。この結果、図9に示すような調整用画像aがモニタ等に表示され、初期画像表示処理は終了する。
(Initial image display processing)
FIG. 5 is a flowchart showing in detail the procedure of initial image processing in the image processing apparatus 1 according to the present embodiment.
Here, first, as shown in FIG. 2, the color adjustment application 50 reads from the HDD 10 what the user has selected and determined as an image for which color adjustment is desired (S501).
Then, the image data is developed in the memory 20, converted into a predetermined display format, and displayed on the display unit 30 (S502). As a result, the adjustment image a as shown in FIG. 9 is displayed on the monitor or the like, and the initial image display process ends.

図4に戻り、次に、色調整用アプリケーション50は、GUIに基づき調整用画像aの中の任意の調整領域を取得する(S402)。
調整領域は、前述の通り、円(楕円)、矩形、自由形状など、マウス401の操作に応じて所望の領域を取得することができる。
本実施形態の場合、図10に示すように、同図中央左側に示す太枠内を調整領域として取得するものとする。
そして、色調整用アプリケーション50は、調整領域指定処理が選択されたか否かの判断を行う(S403)。
例えば、GUIに基づく確認ボタンが表示画面上に用意されており、この確認ボタンをクリック等することによって調整領域指定処理が選択されたことが確認される。
Returning to FIG. 4, next, the color adjustment application 50 acquires an arbitrary adjustment region in the adjustment image a based on the GUI (S402).
As described above, as the adjustment area, a desired area such as a circle (ellipse), a rectangle, or a free shape can be acquired according to the operation of the mouse 401.
In the case of this embodiment, as shown in FIG. 10, the inside of the thick frame shown in the center left side of the same figure shall be acquired as an adjustment area.
Then, the color adjustment application 50 determines whether or not the adjustment area designation process is selected (S403).
For example, a confirmation button based on a GUI is prepared on the display screen, and it is confirmed that the adjustment area designation process has been selected by clicking the confirmation button.

ステップS403において、調整領域指定処理が選択されたことが確認されると(S403:YES)、色調整用アプリケーション50は、その調整領域を認識する(S404)。
一方、ステップS403において、調整領域指定処理の選択を行わない場合(S403:NO)、すなわち取得した調整領域の形状等をユーザが容認しない場合には、ユーザの納得しうる領域が取得できるまで、ステップS402の処理が繰り返されることとなる。
If it is confirmed in step S403 that the adjustment area designation process has been selected (S403: YES), the color adjustment application 50 recognizes the adjustment area (S404).
On the other hand, if the adjustment area designation process is not selected in step S403 (S403: NO), that is, if the user does not accept the shape or the like of the acquired adjustment area, until the area that the user can convince is acquired, The process of step S402 will be repeated.

次に、色調整用アプリケーション50は、色調整処理を行う(S405)。
そこで、本実施形態に係る色調整処理について図6を参照しながら詳細に説明する。
Next, the color adjustment application 50 performs color adjustment processing (S405).
Therefore, the color adjustment processing according to the present embodiment will be described in detail with reference to FIG.

(色調整処理)
図6は、本実施形態に係る画像処理装置1における色調整処理の手順を詳細に示したフローチャートである。
同図に示すように、まず、色調整用アプリケーション50は、ウィンドウフォーム上にてマウス401によるイベントが発生したか否かを判断する(S601)。
具体的には、ユーザが調整用画像a上においてマウス401をドラッグしたか又はマウスホイール401aを回転させたか等の操作に応じてイベントが発生する。
ステップS601において、ユーザがウィンドウ上でマウス401のドラッグ操作を行った場合、明度・彩度調整処理(図7)に進む(S602)。
一方、ステップS601において、ユーザがマウスホイール401aの回転操作を行った場合、色相調整処理(図8)に進む(S603)。
そこで、明度・彩度調整処理及び色相調整処理について、図7及び図8を参照しながら詳細に説明する。
(Color adjustment processing)
FIG. 6 is a flowchart showing in detail the procedure of color adjustment processing in the image processing apparatus 1 according to the present embodiment.
As shown in the figure, first, the color adjustment application 50 determines whether or not an event with the mouse 401 has occurred on the window form (S601).
Specifically, an event occurs according to an operation such as whether the user drags the mouse 401 or rotates the mouse wheel 401a on the adjustment image a.
In step S601, when the user performs a drag operation of the mouse 401 on the window, the process proceeds to lightness / saturation adjustment processing (FIG. 7) (S602).
On the other hand, if the user performs a rotation operation of the mouse wheel 401a in step S601, the process proceeds to a hue adjustment process (FIG. 8) (S603).
The lightness / saturation adjustment process and hue adjustment process will be described in detail with reference to FIGS.

(明度・彩度調整処理)
図7は、本実施形態に係る画像処理装置1における明度・彩度調整処理の手順を詳細に示したフローチャートである。
まず、色調整用アプリケーション50は、マウス401のドラッグ起点の座標(X1,Y1)を取得する(S701)。
実際には、ユーザが画面上でマウス401のドラッグ操作を開始した点の画像内部における相対的な座標値を取得する。
(Brightness / saturation adjustment processing)
FIG. 7 is a flowchart showing in detail the procedure of brightness / saturation adjustment processing in the image processing apparatus 1 according to the present embodiment.
First, the color adjustment application 50 acquires the coordinates (X1, Y1) of the drag start point of the mouse 401 (S701).
Actually, the relative coordinate value in the image at the point where the user starts dragging the mouse 401 on the screen is acquired.

次に、色調整用アプリケーション50は、図11に示すように、マウス401のドラッグ起点を中心とした矩形領域にX軸(Saturation軸)、Y軸(Lightness軸)、数値軸、目盛りを表示し、色調整の基準となるグラフcを形成する(S702)。
なお、グラフcは、図12(a)に示すように、マウス401のドラッグ起点が原点になるように表示させる。また、軸以外の部分は透明もしくは半透明として背後の画像は見えるようにすることが好ましい。
さらに、このグラフcは、ユーザがマウス401のドラッグ操作を終了するまで同じ位置、同じ形状で表示され続けるものとする。
Next, the color adjustment application 50 displays an X axis (Saturation axis), a Y axis (Lightness axis), a numerical value axis, and a scale in a rectangular area centered on the drag start point of the mouse 401, as shown in FIG. A graph c serving as a reference for color adjustment is formed (S702).
The graph c is displayed so that the drag start point of the mouse 401 is the origin, as shown in FIG. Further, it is preferable that the portion other than the axis is transparent or translucent so that the image behind can be seen.
Further, it is assumed that the graph c continues to be displayed at the same position and shape until the user finishes dragging the mouse 401.

次に、マウス401の移動に伴い、色調整用アプリケーション50は、ループAの実行を開始する(ステップS703)。このループAは、マウス401のドラッグ操作が続けられている間、繰り返し実行される。
具体的には、図12(a)に示すように、マウス401のドラッグ操作に応じてポインタが示す現在の座標(X2,Y2)を取得する(S704)。
次いで、取得した座標(X2,Y2)に対応する彩度S及び明度Lを次式によって求める(S705)。
S=X2−X1
L=Y2−Y1
(但し、原点の座標は(X1,Y1)とする。)
Next, with the movement of the mouse 401, the color adjustment application 50 starts executing the loop A (step S703). This loop A is repeatedly executed while the drag operation of the mouse 401 is continued.
Specifically, as shown in FIG. 12A, the current coordinates (X2, Y2) indicated by the pointer are acquired according to the drag operation of the mouse 401 (S704).
Next, the saturation S and lightness L corresponding to the acquired coordinates (X2, Y2) are obtained by the following equations (S705).
S = X2-X1
L = Y2-Y1
(However, the coordinates of the origin are (X1, Y1).)

そして、調整領域bの画素のRGB値をその画素の座標データとともに取得しメモリ20に格納する(S706)。
調整領域bの画素のRGB値が求められると、続いて、色調整用アプリケーション50は、ループBの実行を開始する(S707)。このループBは、調整領域bのすべての画素のRGB値に対して実行される。
ループBでは、まず、取得したRGB値を色相、彩度、明度を表す表色系の値に変換する(S708)。
具体的には、HLS、LCH、HSVなどの空間の中から一つもしくは複数を組み合わせて選択し、所定の変換式を利用して各表色値を取得する。
Then, the RGB value of the pixel in the adjustment area b is acquired together with the coordinate data of the pixel and stored in the memory 20 (S706).
When the RGB values of the pixels in the adjustment area b are obtained, the color adjustment application 50 starts executing the loop B (S707). This loop B is executed for the RGB values of all the pixels in the adjustment area b.
In the loop B, first, the acquired RGB values are converted into color system values representing hue, saturation, and brightness (S708).
Specifically, one or a combination of HLS, LCH, HSV, or the like is selected, and each color value is acquired using a predetermined conversion formula.

次に、彩度Sの値に応じて調整領域bの彩度値を変更するとともに、明度Lの値に応じて調整領域bの明度値を変更する(S709)。
そして、これら変更後の彩度値及び明度値を含む表色系の値をRGB値に変換する(S710)。
このステップS710の処理の実行完了により色調整用アプリケーション50は、ループBの1回のループを終了する。ループBは、各画素ごとに実行されるため、すべての画素についてループBが実行されると、このループ処理は終了する(S711)。
Next, the saturation value of the adjustment region b is changed according to the value of the saturation S, and the lightness value of the adjustment region b is changed according to the value of the lightness L (S709).
Then, the color system values including the changed saturation value and lightness value are converted into RGB values (S710).
When the execution of the process in step S710 is completed, the color adjustment application 50 ends one loop of loop B. Since the loop B is executed for each pixel, when the loop B is executed for all the pixels, the loop process ends (S711).

次に、色調整用アプリケーション50は、ループBを介して得たRGB値を調整領域bの元の位置に格納する(S712)。
すなわち、本処理によって彩度、明度が変更された後の画像データが形成される。
そして、調整用画像aの表示画像を更新する(S713)。この更新処理は、マウス401のドラッグ操作が行われている間、継続される。
このため、ユーザは、ドラッグ操作と同時に色味の変化を確認することができるようになっている。
マウス401のドラッグ操作が終了するとループAの処理は終了し(S714)、グラフcの表示を終了させる(S715)。
これによって、明度・彩度調整処理は終了する。
Next, the color adjustment application 50 stores the RGB value obtained through the loop B in the original position of the adjustment area b (S712).
That is, the image data after the saturation and brightness are changed by this process is formed.
Then, the display image of the adjustment image a is updated (S713). This update process is continued while the mouse 401 is being dragged.
For this reason, the user can confirm a change in color at the same time as the drag operation.
When the drag operation of the mouse 401 is finished, the process of Loop A is finished (S714), and the display of the graph c is finished (S715).
Thereby, the lightness / saturation adjustment processing is completed.

(色相調整処理)
図8は、本実施形態に係る画像処理装置1における色相調整処理の手順を詳細に示したフローチャートである。
同図に示すように、色調整用アプリケーション50は、マウスホイール401aの回転に伴いループAの実行を開始する(S801)。このループAは、マウスホイール401aの回転操作が続けられている間、実行される。
(Hue adjustment processing)
FIG. 8 is a flowchart showing in detail the procedure of hue adjustment processing in the image processing apparatus 1 according to the present embodiment.
As shown in the figure, the color adjustment application 50 starts execution of loop A as the mouse wheel 401a rotates (S801). This loop A is executed while the rotation operation of the mouse wheel 401a is continued.

ループAでは、まず、マウスホイール401aの回転方向と回転量を取得する(S802)。
そのため、色相の値は、0度から360度の区間に規格化されていることを前提とする。
具体的には、図12(b)に示すように、マウスホイール401aの回転方向と色相の角度方向とを対応させるとともに、マウスホイール401aの回転量と色相の角度数を対応させておく。
In the loop A, first, the rotation direction and the rotation amount of the mouse wheel 401a are acquired (S802).
Therefore, it is assumed that the hue value is standardized in a section from 0 degrees to 360 degrees.
Specifically, as shown in FIG. 12B, the rotation direction of the mouse wheel 401a is associated with the angular direction of the hue, and the rotation amount of the mouse wheel 401a is associated with the number of hue angles.

そして、調整領域bの画素のRGB値をその画素の座標データとともに取得しメモリ20に格納する(S803)。
調整領域bの画素のRGB値が求められると、続いて、色調整用アプリケーション50は、ループBの実行を開始する(S804)。このループBは、調整領域bのすべての画素のRGB値に対して実行される。
まず、取得したRGB値を色相、彩度、明度を表す表色系の値に変換する(S805)。
Then, the RGB value of the pixel in the adjustment area b is acquired together with the coordinate data of the pixel and stored in the memory 20 (S803).
When the RGB values of the pixels in the adjustment area b are obtained, the color adjustment application 50 starts executing the loop B (S804). This loop B is executed for the RGB values of all the pixels in the adjustment area b.
First, the acquired RGB values are converted into color system values representing hue, saturation, and brightness (S805).

次に、マウスホイール401aの回転方向と回転量に応じて色相の値を変更する(S806)。
そして、これら変更後の色相値を含む表色系の値をRGB値に変換する(S807)。
このステップS807の処理の実行完了により色調整用アプリケーション50は、ループBの1回のループを終了する。ループBは、各画素ごとに実行されるため、すべての画素についてループBが実行されると、このループ処理は終了する(S808)。
Next, the hue value is changed according to the rotation direction and the rotation amount of the mouse wheel 401a (S806).
Then, the color system values including these changed hue values are converted into RGB values (S807).
When the execution of the process in step S807 is completed, the color adjustment application 50 ends one loop of loop B. Since the loop B is executed for each pixel, when the loop B is executed for all the pixels, the loop process ends (S808).

次に、色調整用アプリケーション50は、ループBを介して得たRGB値を調整領域bの元の位置に格納する(S809)。
すなわち、本処理によって色相が変更された後の画像データが形成される。
そして、調整用画像の表示画像を更新する(S810)。この更新処理は、マウスホイール401aの回転操作が行われている間、継続される。
マウスホイール401aの回転操作が終了するとループAの処理は終了し(S811)、色相調整処理は終了する。
Next, the color adjustment application 50 stores the RGB value obtained through the loop B in the original position of the adjustment area b (S809).
That is, the image data after the hue is changed by this processing is formed.
Then, the display image of the adjustment image is updated (S810). This update process is continued while the mouse wheel 401a is being rotated.
When the rotation operation of the mouse wheel 401a is finished, the process of Loop A is finished (S811), and the hue adjustment process is finished.

図6に戻り、次に、色調整用アプリケーション50は、色調整を反映させるか否かを判断する(S604)。
具体的には、これまで行った色調整処理(明度・彩度調整処理、色相調整処理)を反映させるかどうかをユーザに判断させるため、図13に示す色調整後の画像a’とGUIにもとづく確認ボタン等が画面上に用意されている。
そして、ユーザが色調整処理を反映する指定を行った場合(S604:YES)、色調整処理は終了し、図4のステップS406に進む。
一方、ユーザが色調整処理を反映する指定を行わなかった場合(S604:NO)、表示画像を色調整が行われる前の状態の画像に戻して(S605)、図4のステップS406に進む。
Returning to FIG. 6, next, the color adjustment application 50 determines whether or not to reflect the color adjustment (S604).
Specifically, in order to make the user determine whether to reflect the color adjustment processing (lightness / saturation adjustment processing, hue adjustment processing) performed so far, the image a ′ and GUI after color adjustment shown in FIG. A confirmation button and the like are prepared on the screen.
Then, when the user makes a specification reflecting the color adjustment process (S604: YES), the color adjustment process ends, and the process proceeds to step S406 in FIG.
On the other hand, when the user does not specify to reflect the color adjustment process (S604: NO), the display image is returned to the image before the color adjustment is performed (S605), and the process proceeds to step S406 in FIG.

図4のステップS406において、色調整用アプリケーション50は、色調整処理終了が選択されたか否かを判断する(S406)。
具体的には、色調整処理の終了をユーザに選択させるためのGUIが表示画面上に用意されており、ユーザがこのGUIを介して色調整処理の終了を選択した場合には次のステップに進み、色調整処理の終了を選択しない場合(S406:NO)にはS404に戻って色調整処理を繰り返す。
In step S406 of FIG. 4, the color adjustment application 50 determines whether or not the end of the color adjustment process has been selected (S406).
Specifically, a GUI for allowing the user to select the end of the color adjustment process is prepared on the display screen, and when the user selects the end of the color adjustment process via this GUI, the next step is performed. If it is determined that the end of the color adjustment process is not selected (S406: NO), the process returns to S404 and the color adjustment process is repeated.

ステップS406において、色調整処理の終了が選択された場合(S406:YES)、色調整用アプリケーション50は、画像保存処理が選択されたか否かを判断する(S407)。
具体的には、画像保存をユーザに選択させるためのGUIが表示画面上に用意されており、ユーザがこのGUIを介して画像保存を選択した場合には次のステップに進み、画像保存を選択しない場合(S407:NO)には画像は保存されずに終了する。
そして、ステップS407において、画像保存処理が選択された場合(S407:YES)、調整後の画像をユーザの指定した形式(bitmap、JPEG、png、tifなどの任意の画像フォーマット)にて保存し(S408)、全体処理が完了する。
If the end of the color adjustment process is selected in step S406 (S406: YES), the color adjustment application 50 determines whether the image storage process is selected (S407).
Specifically, a GUI for allowing the user to select image storage is prepared on the display screen, and when the user selects image storage via this GUI, the process proceeds to the next step and image storage is selected. If not (S407: NO), the image is not saved and the process ends.
If the image saving process is selected in step S407 (S407: YES), the adjusted image is saved in the format specified by the user (any image format such as bitmap, JPEG, png, tif) ( S408), the entire process is completed.

以上説明したように、本実施形態の画像処理装置1によれば、簡易な操作によって画像の色味を調整することができる。
具体的には、マウス401のドラッグ操作やマウスホイール401aの回転操作等に応じて調整領域bの指定や調整領域bにおける色調整をすることができる。
また、ユーザが、画像上で色味の変化を見ながら、その画像上に重ねて表示されるグラフc上の操作に応じて色相、彩度、明度を同時に調整することができるため、人間の色彩感覚に応じたより感覚的で簡易な画像調整が可能となっている。
しかも、色相、明度、彩度のパラメータ設定や調整領域の指定を繰り返し行うことができ、利便性にも優れている。
さらに、調整後の画像データを任意の画像フォーマットで保存することができるようになっている。
このため、本実施形態によれば、対象画像の細部にわたり繊細で自然な色調整ができ、かつ、利便性・拡張性に優れた画像処理装置1を提供することが可能である。
As described above, according to the image processing apparatus 1 of the present embodiment, the color of an image can be adjusted by a simple operation.
Specifically, the adjustment area b can be designated and the color in the adjustment area b can be adjusted according to the drag operation of the mouse 401, the rotation operation of the mouse wheel 401a, or the like.
In addition, since the user can simultaneously adjust the hue, saturation, and brightness according to the operation on the graph c displayed superimposed on the image while watching the color change on the image, More sensuous and simple image adjustment according to the color sensation is possible.
In addition, the hue, brightness, and saturation parameters can be set repeatedly and the adjustment area can be designated, which is excellent in convenience.
Further, the adjusted image data can be saved in an arbitrary image format.
Therefore, according to the present embodiment, it is possible to provide the image processing apparatus 1 that can perform delicate and natural color adjustment over the details of the target image, and that is excellent in convenience and expandability.

以上、本発明の画像処理装置1について、好ましい実施形態を示して説明したが、本発明にかかる画像処理装置1は、上述した実施形態にのみ限定されるものではなく、本発明の範囲で種々の変更実施が可能であることは言うまでもない。
例えば、本発明の色調整操作は、マウス401の操作に限らず、ペンタブレット、タッチパッド、タッチパネル等、その他の操作によって代替することも可能である。
また、マウス401のドラッグ操作やマウスホイール401aの回転操作についても、チルト操作その他ポインティングデバイスに備えられる他のボタン操作によって代替することが可能である。
As described above, the image processing apparatus 1 of the present invention has been described with reference to the preferred embodiment. However, the image processing apparatus 1 according to the present invention is not limited to the above-described embodiment, and variously within the scope of the present invention. Needless to say, it is possible to implement this change.
For example, the color adjustment operation of the present invention is not limited to the operation of the mouse 401, and can be replaced by other operations such as a pen tablet, a touch pad, and a touch panel.
Also, the drag operation of the mouse 401 and the rotation operation of the mouse wheel 401a can be replaced by a tilt operation or other button operations provided in the pointing device.

本発明は、色調整に関する画像処理機能を備えた画像形成装置、パーソナルコンピュータ等の画像処理装置に好適に利用することができる。   The present invention can be suitably used for an image processing apparatus such as an image forming apparatus or a personal computer having an image processing function related to color adjustment.

本発明の一実施形態に係る画像処理装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention. 本実施形態に係る画像処理装置の表示部に表示される調整用画像選択画面の構成を示す説明図である。It is explanatory drawing which shows the structure of the image selection screen for adjustment displayed on the display part of the image processing apparatus which concerns on this embodiment. 本実施形態に係る画像処理装置の調整領域指定部によって行われる領域指定の例を示した図である。It is the figure which showed the example of the area | region designation | designated performed by the adjustment area | region designation | designated part of the image processing apparatus which concerns on this embodiment. 本実施形態に係る画像処理装置における色調整に関する全体の処理手順を示したフローチャートである。5 is a flowchart showing an overall processing procedure related to color adjustment in the image processing apparatus according to the present embodiment. 本実施形態に係る画像処理装置における初期画像処理の手順を詳細に示したフローチャートである。3 is a flowchart showing in detail a procedure of initial image processing in the image processing apparatus according to the present embodiment. 本実施形態に係る画像処理装置における色調整処理の手順を詳細に示したフローチャートである。5 is a flowchart showing in detail a procedure of color adjustment processing in the image processing apparatus according to the present embodiment. 本実施形態に係る画像処理装置における明度・彩度調整処理の手順を詳細に示したフローチャートである。It is the flowchart which showed in detail the procedure of the lightness / saturation adjustment processing in the image processing apparatus according to the present embodiment. 本実施形態に係る画像処理装置における色相調整処理の手順を詳細に示したフローチャートである。5 is a flowchart showing in detail a procedure of hue adjustment processing in the image processing apparatus according to the present embodiment. 本実施形態に係る画像処理装置によって色調整が行われる前の調整用画像である。It is an image for adjustment before color adjustment is performed by the image processing apparatus according to the present embodiment. 図10に示す調整用画像上に指定された調整領域を示す画像である。FIG. 11 is an image showing an adjustment area designated on the adjustment image shown in FIG. 10. FIG. 図10に示す調整用画像上に表示されたグラフを示す画像である。It is an image which shows the graph displayed on the image for adjustment shown in FIG. 本実施形態に係る画像処理装置1における色調整操作を説明するための説明図である。It is explanatory drawing for demonstrating color adjustment operation in the image processing apparatus 1 which concerns on this embodiment. 本実施形態に係る画像処理装置によって色調整が行われた後の画像である。It is an image after color adjustment is performed by the image processing apparatus according to the present embodiment.

符号の説明Explanation of symbols

1 画像処理装置
10 HDD
20 メモリ
30 表示部
40 入力部
50 色調整用アプリケーション
1 Image processing device 10 HDD
20 Memory 30 Display unit 40 Input unit 50 Color adjustment application

Claims (10)

表示された画像の色調整を行う画像処理装置であって、
入力操作に応じて任意の画像を読み込む画像読込手段と、
読み込んだ前記画像を表示する第一表示手段と、
読み込んだ前記画像のRGB値を取得するRGB値取得手段と、
所定操作に基づき表示画像内の任意の調整領域を指定する領域指定手段と、
指定した前記調整領域のRGB値を取得する調整領域RGB値取得手段と、
取得した前記調整領域のRGB値を色相、明度、彩度の値に変換する表色値変換手段と、
前記表示画像上の所定操作に応じて前記明度及び彩度の値を変更する第一パラメータ変更手段と、
前記表示画像上の所定操作に応じて前記色相の値を変更する第二パラメータ変更手段と、
前記変更した後の前記調整領域の色相、明度、彩度の値をRGB値に変換するRGB値変換手段と、
変換された前記RGB値に対応する画像を形成する変更画像形成手段と、
形成された前記画像を表示する第二表示手段と、
を備えることを特徴とする画像処理装置。
An image processing apparatus for adjusting the color of a displayed image,
Image reading means for reading an arbitrary image in response to an input operation;
First display means for displaying the read image;
RGB value acquisition means for acquiring RGB values of the read image;
Area designating means for designating an arbitrary adjustment area in the display image based on a predetermined operation;
Adjustment region RGB value acquisition means for acquiring RGB values of the specified adjustment region;
Color value conversion means for converting the acquired RGB values of the adjustment area into hue, brightness, and saturation values;
First parameter changing means for changing the brightness and saturation values according to a predetermined operation on the display image;
Second parameter changing means for changing the value of the hue according to a predetermined operation on the display image;
RGB value conversion means for converting the hue, brightness, and saturation values of the adjustment area after the change into RGB values;
Changed image forming means for forming an image corresponding to the converted RGB values;
Second display means for displaying the formed image;
An image processing apparatus comprising:
前記表示画像上の所定操作に伴って明度及び彩度の変更値に対応するグラフを前記表示画像上に重ねて表示させるグラフ表示手段を備え、
前記第一パラメータ変更手段は、
前記グラフ上の所定操作に応じた指定ポイントに応じて明度及び彩度の値を変更する請求項1記載の画像処理装置。
A graph display means for displaying a graph corresponding to a change value of lightness and saturation in accordance with a predetermined operation on the display image, overlaid on the display image;
The first parameter changing means is
The image processing apparatus according to claim 1, wherein values of brightness and saturation are changed according to a specified point corresponding to a predetermined operation on the graph.
前記第一パラメータ変更手段は、
前記グラフ上の所定操作に応じて指定される2点間の距離及び方向に応じて明度及び彩度の値を変更する請求項2記載の画像処理装置。
The first parameter changing means is
The image processing apparatus according to claim 2, wherein brightness and saturation values are changed according to a distance and a direction between two points designated according to a predetermined operation on the graph.
入力手段としてのポインティングデバイスを備え、
前記第一パラメータ変更手段は、
前記ポインティングデバイスのドラッグ起点及びドラッグ終点によって示される前記グラフ上の2点間の距離及び方向に応じて明度及び彩度の値を変更する請求項2又は3記載の画像処理装置。
It has a pointing device as an input means,
The first parameter changing means is
The image processing apparatus according to claim 2 or 3, wherein values of brightness and saturation are changed according to a distance and a direction between two points on the graph indicated by a drag start point and a drag end point of the pointing device.
前記第二パラメータ変更手段は、
前記ポインティングデバイスが備えるホイールの回転操作に応じて色相の値を変更する請求項4記載の画像処理装置。
The second parameter changing means includes
The image processing apparatus according to claim 4, wherein the hue value is changed according to a rotation operation of a wheel provided in the pointing device.
前記領域指定手段は、
前記ポインティングデバイスの所定操作に応じて形成される任意の閉領域を前記調整領域とする請求項4又は5記載の画像処理装置。
The area specifying means includes:
The image processing apparatus according to claim 4, wherein an arbitrary closed region formed in accordance with a predetermined operation of the pointing device is used as the adjustment region.
前記領域指定手段は、
前記ポインティングデバイスの所定操作に応じて指定される2点を対向頂点として形成した矩形又はその内接円の閉領域を前記調整領域とする請求項4乃至6のいずれか一項記載の画像処理装置。
The area specifying means includes:
The image processing apparatus according to claim 4, wherein the adjustment area is a rectangle formed by using two points designated according to a predetermined operation of the pointing device as opposed vertices or a closed area of an inscribed circle thereof. .
前記変更画像形成手段により形成した後の画像を所望のデータ形式にて保存する画像データ保存手段を備える請求項1乃至7のいずれか一項記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising an image data storage unit that stores an image formed by the changed image forming unit in a desired data format. 表示された画像の色調整を行う画像処理方法であって、
入力操作に応じて任意の画像を読み込むステップと、
読み込んだ前記画像を表示するステップと、
読み込んだ前記画像のRGB値を取得するステップと、
所定操作に基づき表示画像内の任意の調整領域を指定するステップと、
指定した前記調整領域のRGB値を取得するステップと、
取得した前記調整領域のRGB値を色相、明度、彩度の値に変換するステップと、
前記表示画像上の所定操作に応じて前記明度及び彩度の値を変更するステップと、
前記表示画像上の所定操作に応じて前記色相の値を変更するステップと、
前記変更した後の前記調整領域の色相、明度、彩度の値をRGB値に変換するステップと、
変換された前記RGB値に対応する画像を形成するステップと、
形成された前記画像を表示するステップと、を有する画像処理方法。
An image processing method for adjusting the color of a displayed image,
A step of reading an arbitrary image according to an input operation;
Displaying the read image;
Obtaining RGB values of the read image;
Designating an arbitrary adjustment area in the display image based on a predetermined operation;
Obtaining RGB values of the specified adjustment region;
Converting the acquired RGB values of the adjustment region into hue, brightness, and saturation values;
Changing the brightness and saturation values according to a predetermined operation on the display image;
Changing the value of the hue according to a predetermined operation on the display image;
Converting the hue, brightness, and saturation values of the adjustment area after the change into RGB values;
Forming an image corresponding to the converted RGB values;
And a step of displaying the formed image.
表示された画像の色調整を画像処理装置に実行させるためのプログラムであって、
前記画像処理装置を構成するコンピュータを、
入力操作に応じて任意の画像を読み込む画像読込手段、
読み込んだ前記画像を表示する第一表示手段、
読み込んだ前記画像のRGB値を取得するRGB値取得手段、
所定操作に基づき表示画像内の任意の調整領域を指定する領域指定手段、
指定した前記調整領域のRGB値を取得する調整領域RGB値取得手段、
取得した前記調整領域のRGB値を色相、明度、彩度の値に変換する表色値変換手段、
前記表示画像上の所定操作に応じて前記明度及び彩度の値を変更する第一パラメータ変更手段、
前記表示画像上の所定操作に応じて前記色相の値を変更する第二パラメータ変更手段、
前記変更した後の前記調整領域の色相、明度、彩度の値をRGB値に変換するRGB値変換手段、
変換された前記RGB値に対応する画像を形成する変更画像形成手段、
形成された前記画像を表示する第二表示手段、として機能させるための画像処理プログラム。
A program for causing an image processing apparatus to perform color adjustment of a displayed image,
A computer constituting the image processing apparatus;
Image reading means for reading an arbitrary image in response to an input operation,
First display means for displaying the read image;
RGB value acquisition means for acquiring RGB values of the read image;
Area designating means for designating an arbitrary adjustment area in the display image based on a predetermined operation;
Adjustment region RGB value acquisition means for acquiring RGB values of the specified adjustment region;
A color value conversion means for converting the acquired RGB values of the adjustment region into hue, brightness, and saturation values;
First parameter changing means for changing the values of brightness and saturation according to a predetermined operation on the display image;
Second parameter changing means for changing the hue value according to a predetermined operation on the display image;
RGB value conversion means for converting the hue, brightness, and saturation values of the adjustment area after the change into RGB values;
Changed image forming means for forming an image corresponding to the converted RGB values;
An image processing program for functioning as second display means for displaying the formed image.
JP2008096603A 2008-04-02 2008-04-02 Image processing device, image processing method, and image processing program Pending JP2009253474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008096603A JP2009253474A (en) 2008-04-02 2008-04-02 Image processing device, image processing method, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008096603A JP2009253474A (en) 2008-04-02 2008-04-02 Image processing device, image processing method, and image processing program

Publications (1)

Publication Number Publication Date
JP2009253474A true JP2009253474A (en) 2009-10-29

Family

ID=41313757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008096603A Pending JP2009253474A (en) 2008-04-02 2008-04-02 Image processing device, image processing method, and image processing program

Country Status (1)

Country Link
JP (1) JP2009253474A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011244961A (en) * 2010-05-25 2011-12-08 Hoya Corp Endoscope processor and endoscope unit
KR20140070343A (en) * 2012-11-29 2014-06-10 삼성전자주식회사 Television system
JP2017138726A (en) * 2016-02-02 2017-08-10 凸版印刷株式会社 Face plate pattern finish simulation system and face plate pattern finish simulation method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011244961A (en) * 2010-05-25 2011-12-08 Hoya Corp Endoscope processor and endoscope unit
KR20140070343A (en) * 2012-11-29 2014-06-10 삼성전자주식회사 Television system
KR102149507B1 (en) * 2012-11-29 2020-08-28 삼성전자주식회사 Television system
JP2017138726A (en) * 2016-02-02 2017-08-10 凸版印刷株式会社 Face plate pattern finish simulation system and face plate pattern finish simulation method

Similar Documents

Publication Publication Date Title
JP5301012B2 (en) Image processing apparatus and image processing method
JP6040564B2 (en) Image processing apparatus, projection control method, and program
US7245306B2 (en) Image processing method, image processing apparatus, storage medium and program
JP5429060B2 (en) Display control apparatus, display control method, display control program, and recording medium on which this display control program is recorded
JP5713551B2 (en) Information processing system, information processing apparatus, and control method thereof
JP6584076B2 (en) Information processing apparatus, information processing method, and computer program
JP2006157892A (en) Image processing apparatus and image processing method
JP5832257B2 (en) Information processing apparatus, display control method, and program
JP5334338B2 (en) Terminal device and drawing display program for terminal device
JP2013235374A (en) Image processing apparatus, and projection control method and program
US10614633B2 (en) Projecting a two-dimensional image onto a three-dimensional graphical object
CN110999307A (en) Display apparatus, server, and control method thereof
JP6918648B2 (en) Image processing equipment, image processing methods and programs
JP4143549B2 (en) Image processing apparatus and method, computer program, and computer-readable storage medium
JPWO2008059849A1 (en) Menu display device, information processing device, and menu display method
JP2009253474A (en) Image processing device, image processing method, and image processing program
JP5830055B2 (en) Image processing apparatus and image processing system
JP2006018444A (en) Image processing system and additional information indicating device
JP6930091B2 (en) Image processing equipment, image processing methods, image processing systems and programs
JP2011034455A (en) Data input apparatus and data input method
JP2010193385A (en) Color adjusting apparatus and color adjusting method
JP2006106976A (en) Image processor, image processing method and program
JP7179633B2 (en) Measuring method, measuring device and program
KR101806816B1 (en) Medical device and image displaying method using the same
JP5954146B2 (en) Correction method, system, information processing apparatus, and correction program