JP2006015514A - Image processing method and image processing device - Google Patents

Image processing method and image processing device Download PDF

Info

Publication number
JP2006015514A
JP2006015514A JP2004193186A JP2004193186A JP2006015514A JP 2006015514 A JP2006015514 A JP 2006015514A JP 2004193186 A JP2004193186 A JP 2004193186A JP 2004193186 A JP2004193186 A JP 2004193186A JP 2006015514 A JP2006015514 A JP 2006015514A
Authority
JP
Japan
Prior art keywords
color
image processing
image
signal representing
images
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.)
Withdrawn
Application number
JP2004193186A
Other languages
Japanese (ja)
Inventor
Ryosuke Iguchi
良介 井口
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 JP2004193186A priority Critical patent/JP2006015514A/en
Publication of JP2006015514A publication Critical patent/JP2006015514A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Color Image Communication Systems (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Color, Gradation (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform color reproduction suiting a user's personal taste when a photographic image is printed and outputted by index printing a plurality of images different in colors (brightness, hue, chroma and the like) to an object displayed on the user's monitor by using a plurality of objects (a person's face, sky, green, flowers and the like). <P>SOLUTION: The image processing method sets an image processing table or parameters for one object or one scene by treating that by a plurality of different image processing and printing and selecting one optional one. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、画像処理方法および画像処理装置に関し、例えば、デジタル写真などのような画像データに対して各ユーザの好みの色に印刷出力できるものである。   The present invention relates to an image processing method and an image processing apparatus, and is capable of printing out image data such as digital photographs in a color desired by each user.

近年、インクジェット印刷技術の発展にともない、高画素のデジタルカメラで撮影した画像を、従来と比較して、より良好に印刷出力できるようになりつつある。   In recent years, with the development of ink-jet printing technology, it has become possible to print out images taken with a high-pixel digital camera better than before.

しかしながら、デジタル化したフォト画像をプリンタで印刷出力する場合、出力される画像は必ずしもユーザの好む色に印刷されるとは限らない。特に青、緑、肌色などは記憶色と呼ばれ、ユーザの好みが大きく分かれる色である。つまりこういった記憶色が微妙にずれれば、その画像の印象が大きく変わってしまうことがしばしばある。   However, when a digitized photo image is printed out by a printer, the output image is not always printed in a color preferred by the user. In particular, blue, green, skin color, and the like are called memory colors, and are colors that greatly divide user preferences. In other words, if the memory color is slightly shifted, the impression of the image often changes greatly.

例えば、写真に写る青空の色でも、鮮やかなシアン系の青色が好まれる場合と、深みのあるマゼンタ系の青色が好まれる場合がある。また、肌色に関しても、国や地域、世代や被写体によってユーザの好ましいとする肌色が異なる場合がある。すなわち、ただ一つのカラールックアップテーブルやカラー関数パラメータだけでは、ただ一色の印刷出力しかできず、すべてのユーザが所望する色をプリンタで表現することはなかなか難しい。   For example, even in a blue sky color in a photograph, a bright cyan blue color is preferred, and a deep magenta blue color is preferred. In addition, regarding the skin color, the skin color preferred by the user may differ depending on the country, region, generation, and subject. That is, with only one color look-up table and color function parameters, only one color can be printed out, and it is difficult to express colors desired by all users with a printer.

また、最近ではフォト画像をパソコンに取り込み、モニタを見ながら画像編集することがしばしばなされる。さらにはデジタルカメラで撮影した画像をテレビに接続して鑑賞することもできる。しかしそうした画像を印刷する際、モニタに表示された色と印刷物の色を合わせようと調整することは非常に難しく、ユーザ好みの色再現がなかなかできない。   Recently, photo images are often taken into a personal computer and edited while looking at a monitor. You can also view images taken with a digital camera connected to a TV. However, when printing such an image, it is very difficult to adjust the color displayed on the monitor to match the color of the printed material, and it is difficult to reproduce the color desired by the user.

これはモニタの種類や表示設定値の違いで各ユーザの見る色が大きく異なるためであり、こうした差異が、ユーザ個人が好みの色再現を行う上で弊害となる。   This is because the color seen by each user varies greatly depending on the type of monitor and the display setting value, and such a difference is an adverse effect on the individual user's favorite color reproduction.

さらには、手本となる写真の色にプリント色を合わせたいという場合もある。この場合は、同一光源下で手本のサンプルとプリントサンプルを同一色に調整する必要がある。一方で、業務用に、色標のようにある定まった色を出力しなければならない場合もある。この場合も同様、同一光源下で例えばカラーパッチのプリントサンプルと色標とを同一色に調整しなければならない。   Furthermore, there are cases where it is desired to match the print color with the color of a photograph as a model. In this case, it is necessary to adjust the sample sample and the print sample to the same color under the same light source. On the other hand, there are cases where it is necessary to output a certain color such as a color mark for business use. In this case as well, for example, the print sample of the color patch and the color target must be adjusted to the same color under the same light source.

このような課題において、特許文献1では、ユーザによって任意の色を他の指定色に変換するように指示し、その指定情報に基づいて入力画像信号を色相分割マスキング処理などの色変換処理を行うことを提案している。   In such a problem, in Patent Document 1, the user instructs to convert an arbitrary color to another designated color, and performs color conversion processing such as hue division masking processing on the input image signal based on the designation information. Propose that.

ところが、特許文献1のような方法では、任意の色を他の色に指定しても、それに近傍の色が所望の色に変換されないというおそれがあった。
特開平11−298745号公報
However, in the method as disclosed in Patent Document 1, there is a possibility that even if an arbitrary color is designated as another color, a color in the vicinity thereof is not converted into a desired color.
JP-A-11-298745

そのため本発明では、一つのオブジェクトまたはシーンに対して、複数の異なる画像処理を施して印刷し、その中から任意の一つを選択することにより、画像処理テーブルまたはパラメータを設定することを特徴とする。   For this reason, the present invention is characterized in that an image processing table or parameters are set by printing a plurality of different image processes on one object or scene and selecting any one of them. To do.

前記印刷される複数の異なる画像は、前記オブジェクトまたはシーンの明るさを表す信号、色味を表す信号、鮮やかさを表す信号のいずれかまたは全てを変化させた画像であることを特徴とする。   The plurality of different images to be printed are images obtained by changing any or all of a signal representing brightness of the object or scene, a signal representing color, and a signal representing vividness.

前記画像処理は、同一系統色の複数の異なるオブジェクトまたはシーンに対して複数回繰り返し、学習機能によって画像処理テーブルまたはパラメータを設定することを特徴とする。   The image processing is repeated a plurality of times for a plurality of different objects or scenes of the same system color, and an image processing table or parameters are set by a learning function.

前記画像処理は、他系統色の複数の異なるオブジェクトまたはシーンに対してそれぞれ行うことを特徴とする。   The image processing is performed on each of a plurality of different objects or scenes of other system colors.

前記明るさを表す信号とは輝度、または明度であり、色味を表す信号とは色相であり、鮮やかさを表す信号とは彩度であることを特徴とする。   The signal representing brightness is luminance or lightness, the signal representing color is hue, and the signal representing vividness is saturation.

本実施形態では、明るさを表す信号を輝度として扱うが、明度を用いてもよいことは明白である。   In this embodiment, a signal representing brightness is treated as luminance, but it is obvious that brightness may be used.

本発明は、複数のオブジェクト(人物の顔、空、緑、花等)を用い、ユーザのモニタに表示されたオブジェクトに対して、色(明度、色相、彩度等)が異なる複数の画像をインデックスプリントし、ユーザがその中から一つを選択することで、写真画像などのプリント出力の際、ユーザ個人の好みの色再現を行う画像処理方法および画像処理装置を提供することを目的とする。   The present invention uses a plurality of objects (person's face, sky, green, flowers, etc.) and a plurality of images having different colors (lightness, hue, saturation, etc.) with respect to the objects displayed on the user's monitor. It is an object of the present invention to provide an image processing method and an image processing apparatus that perform index printing, and a user selects one of them, and reproduces a user's personal favorite color when outputting a photographic image or the like. .

例えば、人物の顔、緑の草木、青空などといったオブジェクトのある、またはそのようなシーンの画像を準備し、それぞれについて色相、彩度、輝度を変化させた画像をインデックスプリントする。ここで準備する画像は、予めアプリケーション101やプリンタドライバ103に格納しておいてもよいし、ユーザが撮影したオリジナル画像を用いるよう設定してもよい。ユーザはインデックスプリントされた複数の画像を見比べ、または自分のモニタに表示された画像と比較し、または手本となる写真や色標と比較して各オブジェクトまたはシーンにおいて最適な色の画像を一つ選択する。   For example, an image of a scene having an object such as a human face, a green plant, a blue sky, or such a scene is prepared, and an image whose hue, saturation, and luminance are changed is index-printed. The image prepared here may be stored in advance in the application 101 or the printer driver 103, or may be set to use an original image taken by the user. The user can compare multiple images that have been index printed, compare them with the images displayed on their monitor, or compare them with a model photo or color standard to find an image with the best color for each object or scene. Select one.

その際、例えば人物の画像1枚だけの選択結果においてカラールックアップテーブルや色処理パラメータを設定したのでは、他の人物画像に対しても十分に良好な画像が得られるとは限らない。最初に、赤みがかった肌色を黄色よりに設定した場合、元々黄色がかった画像はその設定においては、さらに黄色よりな肌色になってしまうかも知れない。そこで、様々な肌色の画像においてユーザにとって良好な色を得るには、様々な肌色の画像を用いて色選択処理を複数回行い、カラールックアップテーブルや色処理パラメータを設定する必要がある。   At this time, for example, if a color lookup table or color processing parameters are set in the selection result of only one person image, a sufficiently good image is not always obtained for other person images. Initially, if the reddish skin color is set to yellow, the originally yellowish image may have a further yellowish skin color in that setting. Therefore, in order to obtain a good color for the user in various skin color images, it is necessary to perform color selection processing a plurality of times using various skin color images and set a color lookup table and color processing parameters.

そこで、例えば肌色のオブジェクトがある画像を用い、輝度、色相、彩度のいずれかまたは全てを変えた複数の画像をインデックスプリントして、その中から一つを選択し、カラールックアップテーブルまたは色処理パラメータの設定を行う。これを同一系統色の異なる画像、つまり前記画像とは異なる肌色のオブジェクトのある画像、を用いて上記選択処理を繰り返し行う。その都度、学習機能によりカラールックアップテーブルまたは色処理パラメータを変更していき、選択処理を行う毎にユーザの最も好ましい色に設定していく。こうすることで、あらゆる画像において例外なく好ましい色にプリントすることが可能となる。   So, for example, using an image with a flesh-colored object, you can index print multiple images with either or all of brightness, hue, and saturation, select one of them, and select a color lookup table or color Set processing parameters. This selection process is repeated by using different images of the same system color, that is, images having skin-colored objects different from the images. Each time, the learning function changes the color look-up table or color processing parameters, and sets the user's most preferable color each time selection processing is performed. By doing so, it is possible to print in a preferable color without exception in any image.

ユーザが設定する好みの色は、プリントされたサンプルの色を見て、その画像にあった最も好ましい色を選択してもよいし、ユーザのテレビやモニタに最も近い色を選択してもよい。また、手本となる写真や色標と見比べて最も近い色を選択してもよい。   The user's favorite color can be selected by looking at the color of the printed sample and selecting the most suitable color for the image, or the color closest to the user's television or monitor. . Alternatively, the closest color may be selected by comparing with a model photograph or color mark.

本発明は、デジタル写真などのような画像データに対して各ユーザの好みの色に印刷出力できる画像処理方法および画像処理装置を提供することにある。   An object of the present invention is to provide an image processing method and an image processing apparatus capable of printing out image data such as a digital photograph in a color desired by each user.

なお、さらに詳細に説明すれば、本発明は下記の構成によって前記課題を解決できた。   In more detail, the present invention can solve the above problems by the following configuration.

(1)一つのオブジェクトまたはシーンに対して、複数の異なる画像処理を施して印刷し、その中から任意の一つを選択することにより、画像処理テーブルまたはパラメータを設定することを特徴とする画像処理方法。   (1) An image characterized by printing a plurality of different image processes on one object or scene, and setting an image processing table or parameters by selecting any one of them. Processing method.

(2)前記印刷される複数の異なる画像は、前記オブジェクトまたはシーンの明るさを表す信号、色味を表す信号、鮮やかさを表す信号のいずれかまたは全てを変化させた画像であることを特徴とする前記(1)に記載の画像処理方法。   (2) The plurality of different images to be printed are images obtained by changing any or all of a signal representing brightness of the object or scene, a signal representing color, and a signal representing vividness. The image processing method according to (1).

(3)前記明るさを表す信号とは輝度または明度であり、色味を表す信号とは色相であり、鮮やかさを表す信号とは彩度であることを特徴とする前記(1)または(2)に記載の画像処理方法。   (3) The signal representing brightness is luminance or lightness, the signal representing hue is hue, and the signal representing vividness is saturation, The image processing method according to 2).

(4)前記画像処理は、同一系統色の複数の異なるオブジェクトまたはシーンに対して複数回繰り返し、学習機能によって画像処理テーブルまたはパラメータを設定することを特徴とする画像処理方法。   (4) The image processing method is characterized in that the image processing is repeated a plurality of times for a plurality of different objects or scenes of the same system color, and an image processing table or parameter is set by a learning function.

(5)前記画像処理は、他系統色の複数の異なるオブジェクトまたはシーンに対してそれぞれ行うことを特徴とする前記(1)に記載の画像処理方法。   (5) The image processing method according to (1), wherein the image processing is performed on a plurality of different objects or scenes of other colors.

(6)一つのオブジェクトまたはシーンに対して、複数の異なる画像処理を施して印刷し、その中から任意の一つを選択することにより、画像処理テーブルまたはパラメータを設定することを特徴とする画像処理装置。   (6) An image in which an image processing table or parameters are set by printing a plurality of different image processes on one object or scene and selecting any one of them. Processing equipment.

(7)前記印刷される複数の異なる画像は、前記オブジェクトまたはシーンの明るさを表す信号、色味を表す信号、鮮やかさを表す信号のいずれかまたは全てを変化させた画像であることを特徴とする前記(6)に記載の画像処理装置。   (7) The plurality of different images to be printed are images obtained by changing any or all of a signal representing brightness of the object or scene, a signal representing color, and a signal representing vividness. The image processing apparatus according to (6).

(8)前記明るさを表す信号とは輝度または明度であり、色味を表す信号とは色相であり、鮮やかさを表す信号とは彩度であることを特徴とする前記(6)または(7)に記載の画像処理装置。   (8) The signal representing brightness is luminance or lightness, the signal representing color is hue, and the signal representing vividness is saturation, The image processing apparatus according to 7).

(9)前記画像処理は、同一系統色の複数の異なるオブジェクトまたはシーンに対して複数回繰り返し、学習機能によって画像処理テーブルまたはパラメータを設定することを特徴とする前記(6)に記載の画像処理装置。   (9) The image processing according to (6), wherein the image processing is repeated a plurality of times for a plurality of different objects or scenes of the same system color, and an image processing table or parameters are set by a learning function. apparatus.

(10)前記画像処理は、他系統色の複数の異なるオブジェクトまたはシーンに対してそれぞれ行うことを特徴とする前記(6)に記載の画像処理装置。   (10) The image processing apparatus according to (6), wherein the image processing is performed on a plurality of different objects or scenes of other colors.

本発明によれば、記憶色と呼ばれる写真にとって重要な色を、インデックスプリントされた複数の画像の中から一つを選択することで、ユーザの好みの色を設定する。その際、同一系統色の複数の異なる画像を用いて選択処理を、学習機能によって行うことで、様々な画像においてユーザの好みの色を出力することができる。   According to the present invention, a user's favorite color is set by selecting one of a plurality of index-printed images as an important color for a photograph called a memory color. At this time, by performing selection processing using a plurality of different images of the same system color using the learning function, it is possible to output a user's favorite color in various images.

この結果、これまで1種類の色空間しか持ち得なかったプリンタが、ユーザ毎に好まれる色をプリントすることが可能となる。   As a result, a printer that has been able to have only one type of color space so far can print colors preferred by each user.

以下、図面を参照して本発明の実施形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

<第1の実施形態>
図1は、本発明の一実施形態にかかる印刷システムの概略構成を示すブロック図である。本システムは、概略、ホストコンピュータ100、プリンタ106およびモニタ105を有して構成されるものである。すなわち、ホストコンピュータ100には、例えばインクジェット方式のプリンタ106とモニタ105が双方向通信可能に接続されている。
<First Embodiment>
FIG. 1 is a block diagram showing a schematic configuration of a printing system according to an embodiment of the present invention. This system generally includes a host computer 100, a printer 106, and a monitor 105. That is, for example, an inkjet printer 106 and a monitor 105 are connected to the host computer 100 so as to be capable of bidirectional communication.

ホストコンピュータ100は、OS(オペレーティングシステム)102を有し、また、このOS100による管理下においてそれぞれの処理を行う、ワードプロセッサ、表計算、画像処理、インターネットブラウザ等のアプリケーション101、このアプリケーションによって発行され、出力画像を示す各種描画命令群(イメージ描画命令、テキスト描画命令、グラフィックス描画命令)を処理して印刷データを作成するプリンタドライバ103、および同様にアプリケーション101が発行する各種描画命令群を処理してモニタ105に表示を行うモニタドライバ104を同様のソフトウェアとして有している。   The host computer 100 has an OS (Operating System) 102, and is issued by an application 101 such as a word processor, spreadsheet, image processing, and Internet browser that performs respective processing under the management of the OS 100. Processes various drawing command groups (image drawing commands, text drawing commands, graphics drawing commands) indicating output images to generate print data, and similarly processes various drawing command groups issued by the application 101. The monitor driver 104 for displaying on the monitor 105 is provided as similar software.

また、ホストコンピュータ100は、上述のソフトウェアによって動作可能な各種ハードウエアとして中央演算処理装置CPU108、ハードディスクドライバHD107、ランダムアクセスメモリ(RAM)109、リードオンリーメモリ(ROM)110等を備える。すなわち、CPU108は、上述のソフトウェアに従った処理にかかる信号処理を実行し、ハードディスクドライバ107によって駆動されるハードディスクやROM110には、それらの各種ソフトウェアが予め格納されており、必要に応じて読み出されて用いられる。また、RAM109は、上記CPU108による信号処理実行のワークエリア等として用いられる。   The host computer 100 also includes a central processing unit CPU 108, a hard disk driver HD 107, a random access memory (RAM) 109, a read only memory (ROM) 110, and the like as various hardware that can be operated by the above-described software. That is, the CPU 108 executes signal processing for processing according to the above-described software, and the hard disk and the ROM 110 that are driven by the hard disk driver 107 store these various software in advance, and read them out as necessary. To be used. The RAM 109 is used as a work area for executing signal processing by the CPU 108.

図1に示される実施形態として、例えば、一般的に普及しているIBM社のAT互換機のパーソナルコンピュータにMicrosoft社のWindows(登録商標)XPをOSとして使用し、任意の印刷処理が可能なアプリケーションをインストールし、モニタとプリンタを接続したものを挙げることができる。   As an embodiment shown in FIG. 1, for example, a Windows (registered trademark) XP of Microsoft Corporation is used as an OS for a personal computer of an AT compatible machine of IBM, which is widely used, and arbitrary printing processing is possible. For example, you can install an application and connect a monitor and a printer.

以上の構成を有したプリントシステムにおいて、ユーザは、アプリケーション101によってモニタ105に表示された表示画像に基づき、同様にアプリケーションによる処理を介して文字などのテキストに分類されるテキストデータ、図形などのグラフィックスに分類されるグラフィックスデータ、自然画などに分類されるイメージ画像データなどからなる画像データを作成することができる。   In the print system having the above-described configuration, the user can also perform graphic data such as text data and graphics that are classified into text such as characters based on the display image displayed on the monitor 105 by the application 101 and similarly through processing by the application. It is possible to create image data including graphics data classified into a class, image image data classified into a natural image, and the like.

そして、この作成した画像データの印刷出力がユーザによって指示されると、アプリケーション101はOS102に印刷出力要求を行うとともに、グラフィックスデータ部分をグラフィックス描画命令、イメージ画像データ部分をイメージ描画命令として構成した、出力画像を示す描画命令群をOS102に発行する。これに対し、OS102はアプリケーションの印刷出力要求を受け、その印刷を行うプリンタに対応したプリンタドライバ103に描画命令群を発行する。   When the user instructs the print output of the created image data, the application 101 makes a print output request to the OS 102, and configures the graphics data portion as a graphics drawing command and the image image data portion as an image drawing command. The drawing command group indicating the output image is issued to the OS 102. In response to this, the OS 102 receives an application print output request and issues a drawing command group to the printer driver 103 corresponding to the printer that performs the printing.

プリンタドライバ103は、OS102から入力した印刷要求と描画命令群を処理しプリンタ106で印刷可能な形態の印刷データを作成してプリンタ106に転送する。この場合に、プリンタ106がラスタープリンタである場合は、プリンタドライバ103はOS102からの描画命令に対して、順次画像補正処理を行い、そして順次RGB24ビットページメモリにラスタライズし、すべての描画命令をラスタライズした後にRGB24ビットページメモリの内容をプリンタ106が印刷可能なデータ形式、例えばCMYKデータに変換を行いプリンタに転送する。   The printer driver 103 processes the print request and drawing command group input from the OS 102, creates print data in a form that can be printed by the printer 106, and transfers the print data to the printer 106. In this case, when the printer 106 is a raster printer, the printer driver 103 sequentially performs image correction processing on the rendering command from the OS 102 and sequentially rasterizes it into the RGB 24-bit page memory, and rasterizes all the rendering commands. After that, the contents of the RGB 24-bit page memory are converted into a data format printable by the printer 106, for example, CMYK data, and transferred to the printer.

図2は、プリンタドライバ103で行われる処理を示す図である。プリンタドライバ103の処理は、大別して、画像補正処理とプリンタ用補正処理からなる。   FIG. 2 is a diagram illustrating processing performed by the printer driver 103. The processing of the printer driver 103 is roughly divided into image correction processing and printer correction processing.

画像補正処理120は、OS102から入力した描画命令群に含まれる輝度信号R、G、Bからなる色情報に対して、画像補正処理を行う。詳しくは、レッド(R)、グリーン(G)、ブルー(B)の色情報を基に、後述の自動階調補正処理を行う。一方、プリンタ用補正処理部121は、まず画像補正処理120によって補正された色情報の描画命令をラスタライズし、R、G、B24ビットのページメモリにラスター画像を生成する。そして、所定の画素毎に印刷を行うプリンタの色再現性に依存したシアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)データを生成し、プリンタ106に転送する。   The image correction process 120 performs an image correction process on the color information including the luminance signals R, G, and B included in the drawing command group input from the OS 102. Specifically, automatic gradation correction processing described later is performed based on the color information of red (R), green (G), and blue (B). On the other hand, the printer correction processing unit 121 first rasterizes the color information drawing command corrected by the image correction processing 120 and generates a raster image in an R, G, B 24-bit page memory. Then, cyan (C), magenta (M), yellow (Y), and black (K) data depending on the color reproducibility of the printer that performs printing for each predetermined pixel is generated and transferred to the printer 106.

次に、画像補正処理120の処理である色選択機能について説明する。   Next, a color selection function that is a process of the image correction process 120 will be described.

本発明は画像における特定の色の輝度、彩度、色相を変えた複数の画像をプリントし、その中からユーザの好みと考える一つを選択する。それらの結果を元に色変換テーブルまたはパラメータを設定し、ユーザにとって最適な色がプリントできる方法、装置を提供する。   The present invention prints a plurality of images in which the brightness, saturation, and hue of a specific color in an image are changed, and selects one to be considered as a user's preference from among the images. Provided is a method and an apparatus that can set a color conversion table or parameters based on the results and print an optimum color for the user.

画像データは通常、RGBデータで表される。各色1BYTE、つまり256階調を有し、3色の組み合わせによって色を表現している。しかし、このRGBデータを用いるとユーザには色味の度合い、変化が直感的には分かりづらいといった面がある。そこで、3原色のRGBデータを輝度(Y)、彩度(S)、色相(H)といった3次元極座標で扱うと非常にわかりやすくなる。ここで、RGBデータからYSHデータに変換する方法を如何に説明する。   Image data is usually represented by RGB data. Each color has 1 BYTE, that is, 256 gradations, and a color is expressed by a combination of three colors. However, when this RGB data is used, there is an aspect in which it is difficult for the user to intuitively understand the degree and change of color. Therefore, if the RGB data of the three primary colors are handled with three-dimensional polar coordinates such as luminance (Y), saturation (S), and hue (H), it becomes very easy to understand. Here, how to convert RGB data to YSH data will be described.

まず最初に、RGBデータを、明るさを表す輝度値(Y)と色味を表す色差値(Cb)、(Cr)に変換する。その変換式は、
Y=0.299*R+0.587*G+0.114*B
Cb=B―Y
Cr=R−Y
で表される。
First, RGB data is converted into a luminance value (Y) representing brightness and color difference values (Cb) and (Cr) representing color. The conversion formula is
Y = 0.299 * R + 0.587 * G + 0.114 * B
Cb = BY
Cr = R−Y
It is represented by

また、YCbCrデータより、彩度(S)、色相(H)を求める式は、

Figure 2006015514
となる。 Further, from the YCbCr data, the equations for obtaining the saturation (S) and the hue (H) are as follows:
Figure 2006015514
It becomes.

こうして得られた、輝度(Y)、彩度(S)、色相(H)を元に画像処理を行う。この一連のデータ変換を図3に示す。また、YSHデータから以上の計算を逆算することで再びRGBデータが得られることは明白である。   Image processing is performed based on the luminance (Y), saturation (S), and hue (H) thus obtained. This series of data conversion is shown in FIG. It is also clear that RGB data can be obtained again by back-calculating the above calculation from YSH data.

まず、図4に、第一のオブジェクトとして人物の顔写真を示す。元画像(図4のE)を中心に、肌色の色相(H)のみの値を上げて肌色を黄色方向へ回転させた画像(図4のD)、肌色の色相(H)のみの値を下げて肌色を赤い方向へ回転させた画像(図4のF)、それぞれの画像(図4のD〜F)において肌色領域の輝度(Y)の値を上げた画像(図4のA〜C)の、合計6種類の画像処理を施した画像を準備し、モニタに表示する。   First, FIG. 4 shows a human face photograph as a first object. Centered on the original image (E in FIG. 4), an image (D in FIG. 4) in which only the flesh color hue (H) is increased and the flesh color is rotated in the yellow direction, and only the flesh color hue (H) is obtained. An image obtained by lowering and rotating the skin color in the red direction (F in FIG. 4), and an image in which the brightness (Y) value of the skin color region is increased in each image (DF in FIG. 4) (AC in FIG. 4) ), Which have been subjected to a total of six types of image processing, are prepared and displayed on a monitor.

色相(H)を変換する度合いは、例えば色相(H)は±10°、輝度(Y)は+20などに設定しておく。   For example, the hue (H) is converted to ± 10 ° for the hue (H) and +20 for the luminance (Y).

上記6種類の肌色が描かれた人物画像を、1枚もしくは複数枚の用紙に、並列に配置してインデックスプリントを行う。ユーザはプリントされた複数の画像を見比べ、自分が最も好ましいと考える画像をA〜Fのうち一つ選択する。その選択結果を、モニタ105に表示された画面(図4)にて入力する。図4に示すようにチェックボックスを設け、選択画像にチェックを入れる方法でもいいし、指定欄に直接キーボードで選択記号を入力してもよい。図4では画像Aにチェックを入れることで、選択処理を行った。   The person images on which the above six kinds of skin colors are drawn are arranged in parallel on one or a plurality of sheets for index printing. The user compares a plurality of printed images and selects one of the images A to F that he considers most preferable. The selection result is input on the screen (FIG. 4) displayed on the monitor 105. As shown in FIG. 4, a check box may be provided, and a selection image may be checked, or a selection symbol may be directly input to the designation field using a keyboard. In FIG. 4, the selection process is performed by checking image A.

こうして、一つのオブジェクトのある画像を用い、肌色や緑などの色に対して、ユーザの好む色に設定し終えたら、それらの結果を画像補正処理120に転送する。ここでは選択結果に応じてRGBデータまたはYCbCrデータで表される色空間を局所的に移動させたり、入力RGBデータに対して関数処理を行うためのパラメータを決定する。本発明では前記色空間を局所的に移動させるカラールックアップテーブルの設定方法について述べる。   In this way, when an image having one object is used and the user's preference is set for colors such as skin color and green, those results are transferred to the image correction processing 120. Here, parameters for locally moving a color space represented by RGB data or YCbCr data according to the selection result, or for performing function processing on input RGB data are determined. In the present invention, a method for setting a color lookup table for locally moving the color space will be described.

前記選択結果より、肌色の輝度変化量、色相変化量、彩度変化量が得られる。図4においては、前記より輝度変化量+20、色相変化量−10、彩度変化量0である。それらを元に、YCbCr空間において肌色領域のみを、局所的にかつ滑らかに所望する色領域へと移動する。   From the selection result, a skin color luminance change amount, a hue change amount, and a saturation change amount are obtained. In FIG. 4, the luminance change amount +20, the hue change amount −10, and the saturation change amount 0 from the above. Based on these, only the skin color area in the YCbCr space is moved locally and smoothly to the desired color area.

まず、色相変化量、彩度変化量より、色差値CbCr平面内で肌色領域の中心となる特定点を平面移動し、その後、輝度変化量より輝度値(Y)を変換し、特定点を好ましいと設定した肌色へ移動させる。それに付随して、特定点の周りの肌色領域を、傾斜配分を設けて移動させることで、特定点以外の肌色領域も好ましい方向へ移動させ、かつ、肌色ではない他の領域は移動させないようにする。   First, a specific point that is the center of the skin color region is moved in a plane within the color difference value CbCr plane based on the hue change amount and the saturation change amount, and then the luminance value (Y) is converted from the luminance change amount, and the specific point is preferable. Move to the set skin color. Along with this, by moving the skin color area around the specific point with an inclination distribution, the skin color area other than the specific point is also moved in the preferred direction, and other areas that are not the skin color are not moved. To do.

または先に輝度を変換させ、その後に色相、彩度と順番に肌色領域を移動させてもよい。肌色領域を好ましい方向へ移動させる手段は、画像や処理システムにおいて可変にすればよい。   Alternatively, the luminance may be converted first, and then the skin color region may be moved in the order of hue and saturation. The means for moving the skin color region in a preferred direction may be made variable in the image or the processing system.

こうしてYCbCr色空間を局所的に移動させて、Y’Cb’Cr’色空間を得ることができる。   Thus, the Y'Cb'Cr 'color space can be obtained by locally moving the YCbCr color space.

これら一連の作業を各色(緑、青色など)に施し、各オブジェクト毎にYCbCr空間を局所的に移動させることで、カラールックアップテーブルの設定を行う。   A series of operations are performed for each color (green, blue, etc.), and the color lookup table is set by moving the YCbCr space locally for each object.

次に、図5に、同一系統色のオブジェクトとして図4とは異なる肌色をした人物画像を示す。ここで用いる画像は、上記で設定したカラールックアップテーブルを通した画像である。図5においても図4と同様、元画像(図5のE)を中心に、肌色の色相(H)のみの値を上げて肌色を黄色方向へ回転させた画像(図5のD)、肌色の色相(H)のみの値を下げて肌色を赤い方向へ回転させた画像(図5のF)、それぞれの画像(図5のD〜F)において肌色領域の輝度Yの値を上げた画像(図5のA〜C)の、合計6種類の画像処理を施した画像を準備し、モニタに表示する。   Next, FIG. 5 shows a human image having a skin color different from that of FIG. 4 as an object of the same system color. The image used here is an image that has passed through the color lookup table set above. Also in FIG. 5, as in FIG. 4, an image (D in FIG. 5) in which the skin color is rotated in the yellow direction by increasing the value of only the flesh color hue (H) around the original image (E in FIG. 5), the skin color An image obtained by reducing the value of only the hue (H) of the skin and rotating the skin color in the red direction (F in FIG. 5), and an image in which the luminance Y value of the skin color region is increased in each image (DF in FIG. 5) Images having been subjected to a total of six types of image processing (A to C in FIG. 5) are prepared and displayed on a monitor.

図5の選択結果より、図4の選択処理において設定されたカラールックアップテーブルに対して再び色空間の変換処理を行う。ここでニューラルネットワークを用いた学習機能を使い、同一系統色の異なる画像で複数回、選択処理を行って、カラールックアップテーブルの設定を行っていく。   From the selection result of FIG. 5, the color space conversion process is performed again on the color lookup table set in the selection process of FIG. Here, using a learning function using a neural network, the color lookup table is set by performing selection processing a plurality of times with different images of the same system color.

これを他系統色、例えば緑色や青色の画像でも同様の処理を行い、各色毎に学習機能を用いて、最終的にユーザの好ましい色が再現できる一つのカラールックアップテーブルを作成する。   The same processing is performed for other colors such as green and blue images, and a learning function is used for each color to create one color lookup table that can finally reproduce the user's preferred colors.

設定する色の順番は、今回肌色を最初に行った例を示したが、重要度、デバイスによって順番を変えてもよい。また、赤色や黄色といった他の色や、白、黒といったグレー軸に関する色を用いて選択処理を行ってもよい。   The order of the colors to be set is shown as an example in which the skin color is first performed this time, but the order may be changed depending on the importance and the device. In addition, the selection process may be performed using other colors such as red and yellow, and colors related to the gray axis such as white and black.

ところで、YCbCr色空間において処理を行ったが、例えばRGB色空間をsRGBに基づいてL*a*b*色空間内で処理を行うこともできる。この場合、輝度の代わりに明度L*を用いることになる。   By the way, although the process is performed in the YCbCr color space, for example, the RGB color space can be processed in the L * a * b * color space based on sRGB. In this case, the lightness L * is used instead of the luminance.

また、YCbCr色空間で輝度、色相、彩度を変える処理を行ったが、RGB色空間のままでR、G、B信号をそれぞれ独立に足す、引くといった処理を行ってもよい。   Further, although the process of changing the luminance, hue, and saturation is performed in the YCbCr color space, the process of adding and subtracting the R, G, and B signals independently in the RGB color space may be performed.

この変換後のY’Cb’Cr’色空間データをRGBデータに変換して、R’G’B’ルックアップテーブルが得られる。上記一連のデータ変換処理を図3に示す。元画像をなすRGBデータを、こうしてできたR’G’B’ルックアップテーブルを参照し、補間して、変換後の画像データを作成する。この際、補間方法は一般によく知られた立方体補間法でもいいし、四面体補間法でもよい。   The converted Y'Cb'Cr 'color space data is converted into RGB data to obtain an R'G'B' lookup table. The series of data conversion processes is shown in FIG. The RGB data forming the original image is interpolated with reference to the R′G′B ′ look-up table thus created, and converted image data is created. At this time, the interpolation method may be a generally well-known cubic interpolation method or a tetrahedral interpolation method.

また、ルックアップテーブルを用いず、上述したようにパラメータを設定して関数的に元画像のRGBデータを変換する方法も考えられる。   Further, a method of converting the RGB data of the original image functionally by setting parameters as described above without using a lookup table is also conceivable.

こうして、元画像の肌色、緑色、青色を、他の色に弊害を与えることなく、ユーザが設定した好みの色に変換し、プリントすることができる。また、他の効用として、ユーザが使用しているデジタルスチルカメラやモニタなどのデバイス固有の特性を、この処理を用いることで、プリンタ側で吸収することができる。この処理フローを図6に示す。   In this way, the skin color, green, and blue of the original image can be converted into a favorite color set by the user and printed without adversely affecting other colors. As another utility, characteristics unique to a device such as a digital still camera or a monitor used by a user can be absorbed on the printer side by using this processing. This processing flow is shown in FIG.

ユーザは、プリントされたインデックス画像を見比べて、自分の記憶色に適した一つを選択してもよいし、モニタの色にプリントの色を合わせたい場合は、モニタに画像を表示させ、インデックスプリントの中からモニタにあった一つを選択すればよい。また、手本となる写真と同等の色をプリントしたい場合は、手本となる写真とインデックスプリントを同一光源下で見比べて、インデックスプリントの中から一つを選択してもよい。さらには、業務用にカラーパッチをインデックスプリントして色標と比べて様々な色規格に沿ったプリントができるように設定してもよい。   The user may compare the printed index image and select one suitable for his / her memory color, or if he wants to match the print color with the monitor color, he / she can display the image on the monitor and You can select one of the prints that matches your monitor. When it is desired to print the same color as the model photo, the model photo and the index print may be compared under the same light source, and one of the index prints may be selected. Furthermore, it may be set so that color patches can be index printed for business use and printed in accordance with various color standards as compared with color targets.

<他の実施形態>
本発明は上述のように、複数の機器(たとえばホストコンピュータ、インタフェース機器、リーダ、プリンタ等)から構成されるシステムに適用しても一つの機器(たとえば複写機、ファクシミリ装置)からなる装置に適用してもよい。
<Other embodiments>
As described above, the present invention can be applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.) but also to an apparatus composed of a single device (for example, a copying machine, a facsimile machine). May be.

また、前述した実施形態の機能を実現するように各種のデバイスを動作させるように該各種デバイスと接続された装置あるいはシステム内のコンピュータに、前記実施形態機能を実現するためのソフトウェアのプログラムコードを供給し、そのシステムあるいは装置のコンピュータ(CPUあるいはMPU)を格納されたプログラムに従って前記各種デバイスを動作させることによって実施したものも本発明の範疇に含まれる。   In addition, a program code of software for realizing the functions of the embodiment is provided in an apparatus or a computer in the system connected to the various devices so as to operate the various devices so as to realize the functions of the above-described embodiments. What is implemented by operating the various devices in accordance with a program stored in a computer (CPU or MPU) of the system or apparatus supplied is also included in the scope of the present invention.

またこの場合、前記ソフトウェアのプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード自体、およびそのプログラムコードをコンピュータに供給するための手段、例えばかかるプログラムコードを格納した記憶媒体は本発明を構成する。   Further, in this case, the program code of the software itself realizes the functions of the above-described embodiments, and the program code itself and means for supplying the program code to the computer, for example, a storage storing the program code The medium constitutes the present invention.

かかるプログラムコードを格納する記憶媒体としては例えばフロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   As a storage medium for storing the program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

またコンピュータが供給されたプログラムコードを実行することにより、前述の実施形態の機能が実現されるだけではなく、そのプログラムコードがコンピュータにおいて稼働しているOS(オペレーティングシステム)、あるいは他のアプリケーションソフト等と共同して前述の実施形態の機能が実現される場合にもかかるプログラムコードは本発明の実施形態に含まれることは言うまでもない。   Further, by executing the program code supplied by the computer, not only the functions of the above-described embodiments are realized, but also the OS (operating system) in which the program code is running on the computer, or other application software, etc. It goes without saying that the program code is also included in the embodiment of the present invention even when the functions of the above-described embodiment are realized in cooperation with the embodiment.

さらに供給されたプログラムコードが、コンピュータの機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに格納された後そのプログラムコードの指示に基づいてその機能拡張ボードや機能格納ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も本発明に含まれることは言うまでもない。   Further, after the supplied program code is stored in a memory provided in a function expansion board of a computer or a function expansion unit connected to the computer, a CPU provided in the function expansion board or function storage unit based on an instruction of the program code However, it is needless to say that the present invention also includes a case where the function of the above-described embodiment is realized by performing part or all of the actual processing.

本発明の一実施形態にかかるプリントシステムの構成を示すブロック図である。1 is a block diagram illustrating a configuration of a print system according to an embodiment of the present invention. 上記システムにおけるプリンタドライバの処理を示す図である。It is a figure which shows the process of the printer driver in the said system. 上記プリンタドライバの処理のうち画像補正処理として行われる輝度、彩度、色相処理における主に信号変換の構成を示す図である。It is a figure which shows the structure of signal conversion mainly in the brightness | luminance, saturation, and hue process performed as an image correction process among the processes of the said printer driver. 上記システムにおける肌色を選択するインデックス画面を表す図である。It is a figure showing the index screen which selects the skin color in the said system. 上記システムにおける緑色を選択するインデックス画面を表す図である。It is a figure showing the index screen which selects the green in the said system. 上記システムの処理フローを表す図である。It is a figure showing the processing flow of the said system.

符号の説明Explanation of symbols

100 ホストコンピュータ
101 アプリケーション
102 ОS(オペレーティングシステム)
103 プリンタドライバ
104 モニタドライバ
105 モニタ
106 プリンタ
107 HD
108 CPU
109 RAM
110 ROM
120 画像補正処理
121 プリンタ用補正処理
100 Host computer 101 Application 102 OS (Operating system)
103 Printer Driver 104 Monitor Driver 105 Monitor 106 Printer 107 HD
108 CPU
109 RAM
110 ROM
120 Image correction processing 121 Printer correction processing

Claims (10)

一つのオブジェクトまたはシーンに対して、複数の異なる画像処理を施して印刷し、その中から任意の一つを選択することにより、画像処理テーブルまたはパラメータを設定することを特徴とする画像処理方法。   An image processing method characterized in that an image processing table or parameters are set by printing a plurality of different image processes on one object or scene and selecting any one of them. 前記印刷される複数の異なる画像は、前記オブジェクトまたはシーンの明るさを表す信号、色味を表す信号、鮮やかさを表す信号のいずれかまたは全てを変化させた画像であることを特徴とする請求項1に記載の画像処理方法。   The plurality of different images to be printed are images obtained by changing any or all of a signal representing brightness of the object or scene, a signal representing color, and a signal representing vividness. Item 8. The image processing method according to Item 1. 前記明るさを表す信号とは輝度または明度であり、色味を表す信号とは色相であり、鮮やかさを表す信号とは彩度であることを特徴とする請求項1または2に記載の画像処理方法。   3. The image according to claim 1, wherein the signal representing brightness is luminance or brightness, the signal representing color is hue, and the signal representing vividness is saturation. Processing method. 前記画像処理は、同一系統色の複数の異なるオブジェクトまたはシーンに対して複数回繰り返し、学習機能によって画像処理テーブルまたはパラメータを設定することを特徴とする画像処理方法。   The image processing method is characterized in that the image processing table or parameter is set by a learning function by repeating a plurality of times for a plurality of different objects or scenes of the same system color. 前記画像処理は、他系統色の複数の異なるオブジェクトまたはシーンに対してそれぞれ行うことを特徴とする請求項1に記載の画像処理方法。   The image processing method according to claim 1, wherein the image processing is performed on a plurality of different objects or scenes of other system colors. 一つのオブジェクトまたはシーンに対して、複数の異なる画像処理を施して印刷し、その中から任意の一つを選択することにより、画像処理テーブルまたはパラメータを設定することを特徴とする画像処理装置。   An image processing apparatus, wherein an image processing table or a parameter is set by printing a plurality of different image processes on one object or scene, and selecting any one of them. 前記印刷される複数の異なる画像は、前記オブジェクトまたはシーンの明るさを表す信号、色味を表す信号、鮮やかさを表す信号のいずれかまたは全てを変化させた画像であることを特徴とする請求項6に記載の画像処理装置。   The plurality of different images to be printed are images obtained by changing any or all of a signal representing brightness of the object or scene, a signal representing color, and a signal representing vividness. Item 7. The image processing apparatus according to Item 6. 前記明るさを表す信号とは輝度または明度であり、色味を表す信号とは色相であり、鮮やかさを表す信号とは彩度であることを特徴とする請求項6または7に記載の画像処理装置。   The image according to claim 6 or 7, wherein the signal representing brightness is luminance or lightness, the signal representing color is hue, and the signal representing vividness is saturation. Processing equipment. 前記画像処理は、同一系統色の複数の異なるオブジェクトまたはシーンに対して複数回繰り返し、学習機能によって画像処理テーブルまたはパラメータを設定することを特徴とする請求項6に記載の画像処理装置。   The image processing apparatus according to claim 6, wherein the image processing is repeated a plurality of times for a plurality of different objects or scenes of the same system color, and an image processing table or a parameter is set by a learning function. 前記画像処理は、他系統色の複数の異なるオブジェクトまたはシーンに対してそれぞれ行うことを特徴とする請求項6に記載の画像処理装置。   The image processing apparatus according to claim 6, wherein the image processing is performed on each of a plurality of different objects or scenes of other system colors.
JP2004193186A 2004-06-30 2004-06-30 Image processing method and image processing device Withdrawn JP2006015514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004193186A JP2006015514A (en) 2004-06-30 2004-06-30 Image processing method and image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004193186A JP2006015514A (en) 2004-06-30 2004-06-30 Image processing method and image processing device

Publications (1)

Publication Number Publication Date
JP2006015514A true JP2006015514A (en) 2006-01-19

Family

ID=35790186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004193186A Withdrawn JP2006015514A (en) 2004-06-30 2004-06-30 Image processing method and image processing device

Country Status (1)

Country Link
JP (1) JP2006015514A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115660950A (en) * 2022-12-05 2023-01-31 成都索贝数码科技股份有限公司 Color migration method, device and medium for generating LUT based on neural network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115660950A (en) * 2022-12-05 2023-01-31 成都索贝数码科技股份有限公司 Color migration method, device and medium for generating LUT based on neural network
CN115660950B (en) * 2022-12-05 2023-04-07 成都索贝数码科技股份有限公司 Color migration method, device and medium for generating LUT based on neural network

Similar Documents

Publication Publication Date Title
US6814420B2 (en) Image processing method and apparatus, storage medium and program
KR100524565B1 (en) Method and apparatus for processing image data, and storage medium
KR100788053B1 (en) Color conversion method and profile generation method
JP4065482B2 (en) Image data processing method, apparatus, storage medium, and program
EP0800310B1 (en) Image processing method and apparatus
US20070030499A1 (en) Color processing method and apparatus
US20060072135A1 (en) Image forming apparatus and method
WO1996010239A1 (en) Method for object based color matching when printing a color document
JP2005253072A (en) System and method for gamut mapping control
JP2009154365A (en) Image processing apparatus, image processing method, image processing program and recording medium
US20050200923A1 (en) Image generation for editing and generating images by processing graphic data forming images
JP2010050832A (en) Device and method for processing image, program, and recording medium
JP4467202B2 (en) Color conversion apparatus and color conversion method
JP2006015514A (en) Image processing method and image processing device
JP2006019830A (en) Image processing method and image processing apparatus
JP2007013377A (en) Image processing method, image processing device, and program
JP2006260532A (en) Image forming apparatus and method
JP2006325253A (en) Image processing method and program
JP2005065113A (en) Image processing which is performed by using lut
JP2006260533A (en) Image forming apparatus and method
US8351099B2 (en) Hue specific monochromatic printing mechanism
JP2006114994A (en) Image processing method, image processing apparatus, and image forming system
JP2004295410A (en) Image processing apparatus, image processing method and image processing program
JP2014239277A (en) Profile search system, image processing system, searching method and program
JP5158363B2 (en) Image processing apparatus, image processing method, program, and recording medium

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070904