JP2006163503A - Color conversion device and program - Google Patents
Color conversion device and program Download PDFInfo
- Publication number
- JP2006163503A JP2006163503A JP2004349948A JP2004349948A JP2006163503A JP 2006163503 A JP2006163503 A JP 2006163503A JP 2004349948 A JP2004349948 A JP 2004349948A JP 2004349948 A JP2004349948 A JP 2004349948A JP 2006163503 A JP2006163503 A JP 2006163503A
- Authority
- JP
- Japan
- Prior art keywords
- color
- color conversion
- scene
- unit
- color space
- 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
Links
Images
Landscapes
- Color Image Communication Systems (AREA)
- Image Analysis (AREA)
- Processing Of Color Television Signals (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
本発明は、所定の色空間で色が表現された画像データを、4次元以上の色空間で色が表現された画像データに変換する色変換装置および色変換プログラムに関する。 The present invention relates to a color conversion device and a color conversion program for converting image data in which a color is expressed in a predetermined color space into image data in which a color is expressed in a four-dimensional or higher color space.
従来より、例えば、記録された画像を読み取って画像データを得るカラースキャナや、固体撮像素子上に被写体の画像を結像して読み取ることにより画像データを得るDSC(ディジタルスチールカメラ)等、画像を入力して画像データを得る、様々なタイプの入力デバイスが知られている。これらの入力デバイスでは、画像データは、例えばR(レッド)、G(グリーン)、B(ブルー)の3色についてそれぞれ例えば0〜255等の決まった範囲のデータで表わされるが、R、G、B3色についてそれぞれ決まった範囲内の数値で表現することのできる色には自ずと限界があり、元々の画像の色が極めて豊かな表現を持っていたとしても、一旦入力デバイスを用いて画像データに変換すると、その画像データによって表わされる画像は、そのR、G、B色空間(入力デバイス色空間)で表される色表現領域内の色に制限されることになる。 Conventionally, for example, a color scanner that reads a recorded image to obtain image data, a DSC (digital still camera) that obtains image data by forming an image of a subject on a solid-state imaging device and reading the image, and the like. Various types of input devices that receive image data by inputting are known. In these input devices, the image data is represented by data in a fixed range such as 0 to 255 for each of the three colors R (red), G (green), and B (blue). There is a limit to the colors that can be expressed by numerical values within the determined range for each of the B3 colors, and even if the original image color has an extremely rich expression, it is once converted into image data using an input device. When converted, the image represented by the image data is limited to colors in the color expression area represented by the R, G, B color space (input device color space).
また、画像データに基づいて画像を出力する出力デバイスについても、例えば、印画紙上をレーザ光で露光してその印画紙を現像することにより印画紙上に画像を記録する写真プリンタ、電子写真方式やインクジェット方式などの方式で用紙上に画像を記録するプリンタ、輪転機を回して多量の印刷物を作成する印刷機、画像データに基づいて表示画面上に画像を表示するCRTディスプレイやプラズマディスプレイ等の画像表示装置等、様々なタイプの出力デバイスが知られているが、これらの出力デバイスについても上述の入力デバイスと同様、各出力デバイスに応じた色表現領域が存在する。すなわち、出力デバイスは、例えばR、G、B3色を表現する画像データやC(シアン)、M(マゼンタ)、Y(イエロー)、K(墨)の4色を表現する画像データに基づいて様々な色を表現することができるが、その表現できる色は、出力デバイス色空間(例えばRGB空間、CMYK空間等)で表される色表現領域内(例えばC、M、Y、Kそれぞれについて0〜100の範囲の数値で表わされる色表現領域内等)に制限される。また、例えばある1つの画像データ(例えば(C、M、Y、K)=(0,100,50,0)を表わす画像データ)であってもその画像データに基づいて得られる画像の色は出力デバイスの種類により異なる。 Also for output devices that output images based on image data, for example, photographic printers, electrophotographic systems, and inkjets that record images on photographic paper by exposing the photographic paper with laser light and developing the photographic paper Image display such as a printer that records images on paper by a method, a printer that rotates a rotary press to create a large amount of printed matter, a CRT display that displays images on the display screen based on image data, a plasma display, etc. Various types of output devices such as devices are known, and these output devices also have a color expression area corresponding to each output device, similar to the above-described input device. That is, the output device can be selected based on, for example, image data expressing three colors of R, G, and B and image data expressing four colors of C (cyan), M (magenta), Y (yellow), and K (black). Can be expressed, but the colors that can be expressed are 0 to 0 in each of the color expression areas (for example, C, M, Y, and K) expressed in the output device color space (for example, RGB space, CMYK space, etc.). It is limited to a color expression area represented by a numerical value in the range of 100). Further, for example, even if there is certain image data (for example, image data representing (C, M, Y, K) = (0, 100, 50, 0)), the color of the image obtained based on the image data is Varies depending on the type of output device.
この点は入力デバイスと出力デバイスとの相互間でも同様であり、ある入力デバイスで得られた(R、G、B)=(50,100,200)の画像データをそのまま用いて、R、G、B色空間に対応した出力デバイスで画像を出力しても、入力デバイスで入力される元になった画像の色と出力デバイスで出力された画像の色は一般には一致しない。さらに、入力デバイス色空間がRGB色空間で出力デバイス色空間がCMYK色空間であるといったように、入力デバイス色空間と出力デバイス色空間とが異なっていることも多い。 This is the same between the input device and the output device. The image data of (R, G, B) = (50, 100, 200) obtained with a certain input device is used as it is, and R, G Even when an image is output by an output device corresponding to the B color space, the color of the original image input by the input device and the color of the image output by the output device generally do not match. Further, the input device color space and the output device color space are often different, such as the input device color space being an RGB color space and the output device color space being a CMYK color space.
このため、例えば、ある入力デバイスで画像を読み取って画像データを得、その画像データを基にして、ある出力デバイスで元の画像を再現するなどという場合には、入力デバイスで得られた画像データをそのまま出力デバイスに送るのではなく、その間で画像データを変換する必要がある。ここでは画像の色に着目した変換を行っており、この画像データの変換を色変換と称する。また、この色変換は、一般に、色空間相互の変換関係をLUT(Look Up Table)形式などで定義した色変換定義(カラープロファイル)に基づいて行われる。例えば特許文献1には、RGB色空間からCMY色空間への色変換を行う色変換装置が示されている。 For this reason, for example, when an image is obtained by reading an image with a certain input device and the original image is reproduced with a certain output device based on the image data, the image data obtained with the input device is obtained. Is not sent to the output device as it is, but it is necessary to convert the image data between them. Here, the conversion is performed by paying attention to the color of the image, and the conversion of the image data is called color conversion. In addition, this color conversion is generally performed based on a color conversion definition (color profile) in which a conversion relationship between color spaces is defined in a LUT (Look Up Table) format or the like. For example, Patent Document 1 discloses a color conversion device that performs color conversion from an RGB color space to a CMY color space.
また、近年のネットワーク技術の発達に伴い、入力デバイスと出力デバイスとを相互に接続した、入力デバイスや出力デバイスが取り換え自在なデバイス非依存のシステムを構築することが望まれている。そのようなデバイス非依存のシステムでは、デバイス間で色変換を行なうにあたって、デバイスには依存しない共通色空間(Device Independent Dataの空間;例えばL*a*b*色空間等)を中間に置いた2段階の色変換を結合する手法が採用されている。即ち、このデバイス非依存のシステムでは、入力デバイス色空間と共通色空間との間での色変換を定義したカラープロファイル(入力プロファイル)と、出力デバイス色空間と共通色空間との間での色変換を定義したカラープロファイル(出力プロファイル)が用意され、実際の色変換に際しては、入力プロファイルと出力プロファイルが結合された、入力デバイス色空間と出力デバイス色空間との間での色変換を定義したカラープロファイル(デバイスリンクプロファイル)が作成されて色変換に用いられる。 Further, with the recent development of network technology, it is desired to construct a device-independent system in which input devices and output devices are interchangeable, in which input devices and output devices are mutually connected. In such a device-independent system, when color conversion is performed between devices, a common color space (Device Independent Data space; for example, L * a * b * color space) is placed in the middle. A technique that combines two-stage color conversion is employed. That is, in this device-independent system, a color profile (input profile) that defines color conversion between the input device color space and the common color space, and a color between the output device color space and the common color space. A color profile (output profile) that defines conversion is prepared, and in actual color conversion, color conversion between the input device color space and the output device color space, in which the input profile and output profile are combined, is defined A color profile (device link profile) is created and used for color conversion.
ところで、RGB色空間やL*a*b*色空間などといった3次元の色空間からCMYK色空間などといった4次元以上の色空間への色変換が行われる場合には、等色関係を満たすと言うだけでは次元の冗長性があるため、所定の追加的な限定条件に基づいた一意的な色変換を表した色変換定義が用いられる(例えば特許文献2参照)。
しかし、色変換の対象となる画像データが表す画像には様々な種類のシーンが存在し、シーンの種類によっては、再現される色が元の色に近くても、画像の再現に用いられるCMYKなどのバランスが原因で画像の印象が悪くなると言う不具合が生じる場合がある。このような不具合を種々の画像に対していずれも回避することができるような色変換定義を作成することは極めて困難である。 However, there are various types of scenes in the image represented by the image data to be color-converted, and depending on the type of scene, even if the reproduced color is close to the original color, CMYK used for image reproduction In some cases, the image may have a poor impression due to such a balance. It is extremely difficult to create a color conversion definition that can avoid such problems for various images.
一方で、色変換定義を用いる色変換の技術は、上述したようなデバイス非依存のシステムを構築するための汎用的な技術として普及しており、種々の画像に対する適切な色変換を、色変換定義を用いて実現することが望ましい。 On the other hand, a color conversion technique using a color conversion definition is widely used as a general-purpose technique for constructing a device-independent system as described above, and appropriate color conversion for various images can be performed by color conversion. It is desirable to achieve this using a definition.
本発明は上記事情に鑑み、種々のシーンの画像に対して適切な色変換を、色変換定義を用いて行うことができる色変換装置および色変換プログラムを提供することを目的とする。 In view of the above circumstances, an object of the present invention is to provide a color conversion apparatus and a color conversion program capable of performing appropriate color conversion on images of various scenes using a color conversion definition.
上記目的を達成する本発明の色変換装置は、
複数種類のシーンのうち、与えられた画像に該当するシーンを判別するシーン判別部と、
3次元以下の第1色空間による色表現から、4次元以上の第2色空間による色表現への変換を定義した複数の色変換定義のうち、シーン判別部によって判別されたシーンに応じた色変換定義を選択する色変換定義選択部と、
上記画像を表す、所定の色空間で色が表現された画像データを、上記第2色空間で色が表現された画像データに、色変換定義選択部で選択された色変換定義に基づいて変換する色変換部とを備えたことを特徴とする。
The color conversion device of the present invention that achieves the above object provides:
A scene discriminating unit for discriminating a scene corresponding to a given image among a plurality of types of scenes;
The color corresponding to the scene determined by the scene determination unit among a plurality of color conversion definitions defining the conversion from the color expression in the first color space of 3 dimensions or less to the color expression in the second color space of 4 dimensions or more A color conversion definition selection section for selecting a conversion definition;
Convert image data representing a color in a predetermined color space representing the image into image data representing a color in the second color space based on the color conversion definition selected by the color conversion definition selection unit. And a color conversion unit.
ここで、色変換定義選択部は、シーンに応じた色変換定義を内部判断で選択するものであってもよく、あるいは、予め各シーンに対応付けられている色変換定義を選択するものであってもよい。 Here, the color conversion definition selection unit may select a color conversion definition corresponding to a scene by internal determination, or may select a color conversion definition associated with each scene in advance. May be.
また、本発明にいう第1色空間と所定の色空間とは同一であってもよいし、異なっていてもよい。第1色空間と所定の色空間が同一である場合には、本発明にいう色変換定義は、いわゆるデバイスリンクプロファイルなどに対応し、第1色空間と所定の色空間とが異なる場合には、本発明にいう色変換定義は、上述した出力デバイスなどに対応する。 Further, the first color space and the predetermined color space referred to in the present invention may be the same or different. When the first color space and the predetermined color space are the same, the color conversion definition referred to in the present invention corresponds to a so-called device link profile or the like, and when the first color space and the predetermined color space are different. The color conversion definition according to the present invention corresponds to the output device described above.
本発明の色変換装置によれば、シーン判別部によって判別されたシーンに応じた色変換定義に基づいて色変換が行われるので、予め、各シーンについて適切な色変換が可能な色変換定義を用意しておくことにより、実際の色変換時には種々のシーンそれぞれについて自動的に適切な色変換が施されることとなる。なお、シーン判別の一般的な技術による判別力は、人間によるシーンの判別力よりも劣っているが、シーンの種類に依存した不具合は、典型的なシーンほど目立つ不具合となり、シーン判別技術で判別に失敗するような紛らわしいシーンではそのような不具合も目立たないことが予想されるので、結果的に、どの様なシーンの画像であっても本発明の色変換装置によって適切な色変換が施されると期待される。 According to the color conversion device of the present invention, since color conversion is performed based on the color conversion definition corresponding to the scene determined by the scene determination unit, a color conversion definition that enables appropriate color conversion for each scene in advance. By preparing, in actual color conversion, appropriate color conversion is automatically performed for each of various scenes. Note that the discriminating power of general scene discrimination technology is inferior to that of human scene discrimination. However, failures that depend on the type of scene become more prominent as typical scenes, and are discriminated by scene discrimination technology. In such a confusing scene that fails, it is expected that such a defect will not be noticeable. As a result, the color conversion device of the present invention performs appropriate color conversion for any scene image. It is expected.
本発明の色変換装置は、
「 上記第2色空間が、CMYK4色それぞれの次元を有する色空間であって、
上記色変換定義選択部は、人物顔が主要被写体となった人物シーンに対して、ハイライト領域におけるK色の混入が他の色変換定義よりも少ない色変換定義を選択するものである」
という形態が好適である。
The color conversion device of the present invention is
"The second color space is a color space having dimensions of each of CMYK four colors,
The color conversion definition selection unit selects a color conversion definition with less K color mixing in the highlight area than other color conversion definitions for a person scene whose human face is the main subject.
The form is suitable.
人物シーンでは、肌色にK色が混入すると、肌の滑らかな印象を損なうザラツキという不具合を生じる。上述した好適な形態の色変換装置によれば、人物シーンに対して、ハイライト領域におけるK色の混入が少ない色変換定義が色変換用に選択されるので、そのようなザラツキを回避することができる。 In a person scene, when K color is mixed in the skin color, a problem of roughening that impairs the smooth impression of the skin occurs. According to the preferred embodiment of the color conversion apparatus described above, a color conversion definition with less K color mixing in the highlight area is selected for color conversion for a human scene, so that such roughness is avoided. Can do.
また、本発明の色変換装置は、
「 上記第2色空間が、CMYK4色それぞれの次元を有する色空間であって、
上記色変換定義選択部は、グレー基調の金属構造物が被写体となった機械シーンに対して、グレー階調におけるK色の混入が他の色変換定義よりもハイライト側から開始する色変換定義を選択するものである」
という形態も好適である。
The color conversion device of the present invention is
"The second color space is a color space having dimensions of each of CMYK four colors,
The color conversion definition selection unit is a color conversion definition in which the mixing of the K color in the gray gradation starts from the highlight side with respect to the machine scene in which the gray base metal structure is the subject. Is to choose "
This form is also suitable.
機械シーンでは、金属光沢の部分が安定したグレー基調であることが必要とされ、上述した好適な色変換装置によれば、機械シーンに対して、グレー階調におけるK色の混入がハイライト側から開始する色変換定義が色変換用に選択されるので、金属光沢部分における安定したグレー基調が得られる。 In the machine scene, it is necessary that the metallic luster portion has a stable gray tone, and according to the preferred color conversion device described above, the mixing of K color in the gray gradation is the highlight side with respect to the machine scene. Since the color conversion definition starting from is selected for color conversion, a stable gray tone in the metallic glossy portion is obtained.
上記目的を達成する本発明の色変換プログラムは、
コンピュータに組み込まれてそのコンピュータ上に、
複数種類のシーンのうち、与えられた画像に該当するシーンを判別するシーン判別部と、
3次元以下の第1色空間による色表現から、4次元以上の第2色空間による色表現への変換を定義した複数の色変換定義のうち、シーン判別部によって判別されたシーンに応じた色変換定義を選択する色変換定義選択部と、
上記画像を表す、所定の色空間で色が表現された画像データを、上記第2色空間で色が表現された画像データに、色変換定義選択部で選択された色変換定義に基づいて変換する色変換部とを構築することを特徴とする。
The color conversion program of the present invention that achieves the above object is as follows.
Built into a computer, on that computer,
A scene discriminating unit for discriminating a scene corresponding to a given image among a plurality of types of scenes;
The color corresponding to the scene determined by the scene determination unit among a plurality of color conversion definitions defining the conversion from the color expression in the first color space of 3 dimensions or less to the color expression in the second color space of 4 dimensions or more A color conversion definition selection section for selecting a conversion definition;
Convert image data representing a color in a predetermined color space representing the image into image data representing a color in the second color space based on the color conversion definition selected by the color conversion definition selection unit. And a color conversion unit to be constructed.
本発明の色変換プログラムによれば、本発明の色変換装置の構成要素をコンピュータによって容易に実現することができる。 According to the color conversion program of the present invention, the components of the color conversion apparatus of the present invention can be easily realized by a computer.
なお、本発明にいう色変換プログラムについては、ここではその基本形態のみを示すのにとどめるが、これは単に重複を避けるためであり、本発明にいう色変換プログラムには、上記の基本形態のみではなく、前述した色変換装置の各形態に対応する各種の形態が含まれる。 It should be noted that the color conversion program referred to in the present invention is only shown in its basic form here, but this is merely to avoid duplication, and the color conversion program referred to in the present invention includes only the above basic form. Instead, various forms corresponding to each form of the color conversion device described above are included.
また、本発明の色変換プログラムがコンピュータ上に構成するシーン判別部などといった要素は、1つの要素が1つのプログラム部品によって構築されるものであってもよく、1つの要素が複数のプログラム部品によって構築されるものであってもよく、複数の要素が1つのプログラム部品によって構築されるものであってもよい。また、これらの要素は、そのような作用を自分自身で実行するものとして構築されてもよく、あるいは、コンピュータに組み込まれている他のプログラムやプログラム部品に指示を与えて実行するものとして構築されても良い。 In addition, the elements such as a scene determination unit configured on the computer by the color conversion program of the present invention may be one element constructed by one program part, and one element may be constituted by a plurality of program parts. It may be constructed, or a plurality of elements may be constructed by one program part. In addition, these elements may be constructed so as to execute such actions by themselves, or constructed by giving instructions to other programs and program components incorporated in the computer. May be.
以上説明したように、本発明によれば、種々のシーンの画像に対して適切な色変換を、色変換定義を用いて行うことができる。 As described above, according to the present invention, appropriate color conversion can be performed on images of various scenes using the color conversion definition.
以下図面を参照して本発明の実施の形態を説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明の一実施形態が組み込まれる印刷システムの一部を示す図である。 FIG. 1 is a diagram showing a part of a printing system into which an embodiment of the present invention is incorporated.
この図1には、印刷システムの一部としてコンピュータ100とCTP(Computer to Plate)200が示されており、この印刷システムには図示を省略した印刷機も備えられている。
In FIG. 1, a
CTP200は、CMYK4色で画像を表した画像データの入力を受け、CMYK4色それぞれの刷版を作成するものである。このCTP200で作成された各刷版は、上述した印刷機に搭載され、各刷版に対応したCMYKのインクが塗布されて印刷が行われ、印刷物が作成される。
The
コンピュータ100は、通信網300を介して、図示しない外部のコンピュータシステムに接続されている。このコンピュータ100は、他のコンピュータシステムと画像データをやりとりし、その画像データの形式をCTP200に適したCMYKの画像データに変換する色変換を行い、そのCMYKの画像データをCTP200に送ることによって最終的には印刷機から画像を出力させる。なお画像データは、通信網300を介してやりとりされる以外に、CD−R(Compact Disc Recordable)やMO(光磁気)ディスク等といった記憶媒体が用いられてやりとりされてもよい。
The
コンピュータ100は、CPU、主記憶装置、ハードディスク、通信用ボード等が内蔵された本体101、この本体101からの指示により表示画面102a上に画面や文字列の表示を行うCRTディスプレイ102、このコンピュータ100にユーザの指示や文字情報を入力するためのキーボード103、上記表示画面102a上の任意の位置を指定することにより、その指定時にその位置に表示されていたアイコン等に応じた指示を入力するマウス104を備えている。
A
本体101には、CD−ROM105やCD−Rが取り出し自在に装填され、そのように装填されたCD−ROM105やCD−Rに記憶された情報を再生するCD−ROMドライブが内蔵されている。また、本体101には、MOディスク106(図1には図示せず;図2参照)が取り出し自在に装填され、そのように装填されたMO106に対し情報の記録再生を行うMOドライブも内蔵されている。
The
図2は、図1に示すコンピュータシステムのハードウェア構成図である。 FIG. 2 is a hardware configuration diagram of the computer system shown in FIG.
このハードウェア構成図には、図1に示すコンピュータ100の本体101に内蔵された、CPU(中央演算処理装置)111、RAM112、HDD(ハードディスクドライブ)113、MOドライブ114、CD−ROMドライブ115、および通信用ボード116が示されており、それらはバス110で相互に接続されている。
This hardware configuration diagram includes a CPU (central processing unit) 111, a
HDD113は、記録媒体の一種であるハードディスク120を内蔵しており、このハードディスク120に対し情報の記録再生を行う。
The
通信用ボード116は、LAN(Local Area Network)等といった通信回線に接続される。図1に示すコンピュータ100は、この通信用ボード116を介して接続される通信網300によって他のコンピュータシステムとの間でデータの送受信を行うことができる。
The
また、図2には、図示しない複数のI/Oインターフェースそれぞれを介してバス110に接続された、マウス104、キーボード103、CRTディスプレイ102、およびCTP200が示されている。
2 shows a
ここでは、CD−ROM105に、本発明の色変換プログラムの一実施形態が記憶されている。このCD−ROM105は本体101内に装填され、そのCD−ROM105に記憶された色変換プログラムがCD−ROMドライブ115によって読み込まれ、バス110を経由してハードディスク120内にインストールされる。
Here, an embodiment of the color conversion program of the present invention is stored in the CD-
このハードディスク120内にインストールされた色変換プログラムが起動されると、このハードディスク120内の色変換プログラムはRAM112にロードされ、CPU111により実行される。本発明の色変換プログラムの一実施形態が起動されて実行されると、コンピュータ100は、本発明の色変換装置として動作する。つまり、コンピュータ100と、本発明の色変換プログラムの一実施形態とが結合することにより、本発明の色変換装置の一実施形態を構成している。
When the color conversion program installed in the
図3は、本発明の色変換プログラムの一実施形態を示す図である。ここでは、この色変換プログラム400は、CD−ROM105に記憶されている。
FIG. 3 is a diagram showing an embodiment of the color conversion program of the present invention. Here, the
この図3では、色変換プログラム400を記憶する記憶媒体としてCD−ROM105が例示されているが、本発明の色変換プログラムを記憶する記憶媒体はCD−ROMに限られるものではなく、それ以外の光ディスク、MO、フレキシブルディスク、磁気テープなどの記憶媒体であってもよい。また、本発明の色変換プログラムは、記憶媒体を介さずに、通信網を介して直接にコンピュータシステムに供給されるものであってもよい。
In FIG. 3, the CD-
この色変換プログラム400は、図1に示すコンピュータ100内で実行され、そのコンピュータ100を、画像データの色変換を行う色変換装置として動作させるものであり、シーン判別部410とプロファイル選択部420とセットアップ部430と色変換部440とを有する。
The
この色変換プログラム400の各要素の詳細については後述する。
Details of each element of the
図4は、本発明の色変換装置の一実施形態の機能ブロック図である。 FIG. 4 is a functional block diagram of an embodiment of the color conversion apparatus of the present invention.
この色変換装置500は、図3の色変換プログラム400が、図1に示すコンピュータ100にインストールされて実行されることにより構成されるものである。
The
この色変換装置500はシーン判別部510とプロファイル選択部520とセットアップ部530と色変換部540とから構成されており、これらシーン判別部510、プロファイル選択部520、セットアップ部530、および色変換部540は、図3に示す色変換プログラム400を構成する、シーン判別部410、プロファイル選択部420、セットアップ部430、および色変換部440それぞれによってコンピュータ100上に構成されている。このように、図4に示す色変換装置500の各要素は、図3に示す色変換プログラム400の各要素にそれぞれ対応するが、図4の各要素は、図1に示すコンピュータ100のハードウェアとそのパーソナルコンピュータで実行されるOSやアプリケーションプログラムとの組合せで構成されているのに対し、図3に示す各要素はそれらのうちのアプリケーションプログラムのみにより構成されている点が異なる。
The
この色変換装置500の要素のうちシーン判別部510、プロファイル選択部520、および色変換部540は、それぞれ、本発明にいう、シーン判別部、色変換定義選択部、および色変換部の各一例に相当する。
Of the elements of the
以下、図4に示す色変換装置500の各要素を説明することによって、図3に示す色変換プログラム400の各要素も合わせて説明する。なお、以下の説明では、この色変換装置500がRGBの画像データを入手したものとして説明する。このRGBの色空間が、本発明にいう第1色空間の一例に相当する。
Hereinafter, by describing each element of the
外部から入手された画像データはシーン判別部510とセットアップ部530に送られる。
Image data obtained from the outside is sent to the
シーン判別部510では、後で詳述するブースティング判別によって画像のシーンが判別され、予め定められている複数種類のシーンのうちその画像に該当するシーンを表すシーン情報が出力される。そのシーン情報はプロファイル選択部520に入力される。
The
HDD113には、図2に示すCTP200用の出力プロファイルが、上述した複数種類のシーンそれぞれに対応付けられて複数種類記憶されており、各出力プロファイルは、本発明にいう所定の色空間の一例に相当するLab色空間から、本発明にいう第2色空間の一例に相当するCMYK色空間への変換関係をLUT形式で定義している。プロファイル選択部520は、そのシーン情報が表すシーンに対応した出力プロファイルを選択して色変換部540に組み込む。
The
一方、セットアップ部530では、図1に示すコンピュータシステムのユーザによる色味調整の操作に応じたデータ修正を画像データに施すいわゆるセットアップが行われ、セットアップ後の画像データは色変換部540に送られる。
On the other hand, in the
色変換部540では、色変換装置500が入手した画像データのデータ形式に対応した入力プロファイル541とCRTディスプレイ102用のモニタプロファイル542が用いられて、セットアップ後のRGBの画像データが、Lab色空間を介してCRTディスプレイ102用のRGBの画像データに色変換される。なお、ここでは、色変換前後の画像データは双方ともRGB形式の画像データであるが、CRTディスプレイ102は、色再現領域の相違などが原因となって、セットアップ後のRGBの画像データをそのまま使って画像を適切な色で表示することができず、色変換が不可欠である。
The
CRTディスプレイ102は、色変換部540による色変換で得られたRGBの画像データが表す画像を表示し、ユーザはその表示された画像の色味を確認することで、セットアップの結果を確認する。セットアップの結果にユーザが不満である場合には、ユーザはセットアップ部530に対して色味調整の操作を再度行い、セットアップ部530は画像データへのセットアップをやり直してセットアップ後の画像データを色変換部540に送る。セットアップの結果にユーザが満足した場合には、ユーザは色変換部540に対してCTP用の画像データへの変換を指示し、色変換部540は、上述した入力プロファイル541と、プロファイル選択部520が組み込んだ出力プロファイル543とを用いて、RGBの画像データをプリンタ用のCMYKの画像データに色変換する。
The
ここで画像シーンの判別と、シーンに応じて選択される出力プロファイルについて詳述する。 Here, the determination of the image scene and the output profile selected according to the scene will be described in detail.
図5は、シーン判別部の機能構造を示す図である。 FIG. 5 is a diagram illustrating a functional structure of the scene determination unit.
シーン判別部510は、人物、青空、夕景、高彩度、海中、夜景、機械という7種類のシーンそれぞれを認識する7つの認識部511_1,…,511_7と、それら7つの認識部511_1,…,511_7それぞれにおける認識結果を統合して、画像の被写体が構成しているシーンに該当するシーンを判別する被写体判別部512とを備えている。
The
以下の表1には、7つの認識部511_1,…,511_7それぞれで認識される7種類のシーンの定義が示されている。 Table 1 below shows definitions of seven types of scenes recognized by each of the seven recognition units 511_1,..., 511_7.
7つの認識部511_1,…,511_7では、この表1に示された定義が直接に用いられてシーンが判別されているわけではなく、このように定義されたシーンを画像データの統計的な分析によって的確に判別できるようなルールが用意されていて、そのルールに従ってシーンが判別される。7つの認識部511_1,…,511_7は、ルールが互いに異なっている点を除いて共通の構造を有するものであり、ここで、その共通の構造について説明する。 In the seven recognition units 511_1,..., 511_7, the definition shown in Table 1 is not directly used to discriminate the scene, but the scene thus defined is statistically analyzed for image data. Are prepared so that the scene can be accurately discriminated, and the scene is discriminated according to the rule. The seven recognition units 511_1,..., 511_7 have a common structure except that the rules are different from each other. Here, the common structure will be described.
図6は、シーン認識部の機能構造を示す図である。 FIG. 6 is a diagram illustrating a functional structure of the scene recognition unit.
このシーン認識部511は、入力された画像データGIが表わす画像の色に関する各種の性質を階層的に解析することにより、その画像のシーンが、自分が認識するべきシーンに属するものか否かを判定するものであり、特徴量算出部511aと判定処理部511bと判定ルール作成部511cとを有している。
The
このシーン認識部511の特徴量算出部511aでは、画像データGIに対する分析が行われて、後述の判定ルールRに応じた種類の、画像の色に関する性質を表わす特徴量が算出される。
In the feature
シーン認識部511の判定処理部511bでは、特徴量算出部511aによって算出された特徴量を用い、上記の判定ルールRに則って、入力された画像データGIが表わす画像のシーンが、自分が認識するべきシーンに属することの確からしさを表すスコアを算出する。
The
このようなシーン判別における精度は、特徴量算出部511aで算出される特徴量の種類と、判定処理部511bで実行される判定処理の内容とを規定する判定ルールRによって決まるが、本実施形態では、いわゆるブースティング判別の手法が用いられ、以下説明するような学習によって精度の良い判定ルールRが作成される。シーン認識部511の判定ルール作成部511cは判定ルールRを作成するものであり、この判定ルール作成部511cには、様々なシ−ンの画像を表わす複数種類の学習用画像データからなるデータセットGSが入力される。また、上記の表1の定義によって人間が判断した正解も入力される。
The accuracy in such scene determination is determined by a determination rule R that defines the type of feature amount calculated by the feature
まず、判定ルール作成部511cは、データセットGSに含まれる各学習用画像データに対して所定の初期ルールを用いてシーンの判別を実行し、各学習用画像データについての判定結果と、その学習用画像データに対する上記の正解とを比較して、データセットGSに対する正解率を算出する。次に、判定ルール作成部511cは、上記の初期ルールにおける特徴量の種類と判定処理の内容に対する、その正解率に応じた変更を実行する。そして、今度はこの変更後のルールに従った判定を、データセットGSに含まれる各学習用画像データに対して実行し、その判定の結果と上記の正解とを比較して、そのときの正解率を算出する。判定ルール作成部511cでは、このような、判定ルールの変更、判定、および正解率の算出からなる一連の処理が、所定以上の正解率が得られるまで繰返し実行される。そして、最終的に得られた判定ルールRが、判定ルール作成部511cから上記の特徴量算出部511aと判定処理部511bに送られる。このような判定ルールRに基づいたシーン判定は高精度のシーン判定となることが知られている。
First, the determination
このように求められた判定ルールRに従って、処理対象の画像データGIが表わす画像のシーンを判定することにより、シーン認識部511では画像のシーンに対する精度の高い判定を行なうことができる。
By determining the scene of the image represented by the image data GI to be processed according to the determination rule R obtained in this way, the
ここで説明したシーン判定が、図5に示す7つの認識部511_1,…,511_7それぞれで実行されることによって、各認識部511_1,…,511_7からスコアが出力されて被写体判別部512に入力される。
The scene determination described here is executed by each of the seven recognition units 511_1,..., 511_7 shown in FIG. 5, whereby scores are output from the respective recognition units 511_1, ..., 511_7 and input to the
被写体判別部512は、これらのスコアに基づいて、画像の被写体が構成しているシーンに該当するシーンを判別し、そのシーンを表すシーン情報を出力する。この被写体判別部512には、各認識部511_1,…,511_7から出力されるスコアSi(i=1,…,7)を引数とする判別関数J(S1,…,S7)が用意されており、この判別関数J(S1,…,S7)の関数値がシーン情報Iとなる。即ち、I=J(S1,…,S7)である。
The
判別関数としては、例えば、引数のうち最大値を示す引数の引数番号を関数値とする関数max_indexが考えられ、この場合には、
I=J(S1,…,S7)=max_index(S1,…,S7)
となる。また、判別関数の別の例としては、各シーンについて線形の重み付けが考慮された重み係数αi(i=1,…,7)が用いられた、
I=J(S1,…,S7)=max_index(α1S1,…,α7S7)
という判別関数も考えられる。さらには、各シーンについて非線形の重み付けが考慮された重み関数φi(i=1,…,7)が用いられた、
I=J(S1,…,S7)=max_index(φ1(S1),…,φ7(S7))
という判別関数も考えられる。
As the discriminant function, for example, a function max_index having an argument number of an argument indicating the maximum value among the arguments as a function value can be considered. In this case,
I = J (S1,..., S7) = max_index (S1,..., S7)
It becomes. Further, as another example of the discriminant function, a weighting coefficient αi (i = 1,..., 7) in which linear weighting is considered for each scene is used.
I = J (S1,..., S7) = max_index (α1S1,..., Α7S7)
The discriminant function is also conceivable. Furthermore, a weight function φi (i = 1,..., 7) in which nonlinear weighting is considered for each scene was used.
I = J (S1,..., S7) = max_index (φ1 (S1),..., Φ7 (S7))
The discriminant function is also conceivable.
被写体判別部512は、このような判別関数によって得られるシーン情報Iを出力するが、各シーンのスコアSi(i=1,…,7)がいずれも所定の下限値を下回っている場合には、上述した7種類のシーンのいずれにも該当しない画像であると判断され、シーン情報Iとしては値「0」が出力される。
The
図4に示すシーン判別部510では、以上説明した処理によってシーン情報が算出されそのシーン情報は、上述したようにプロファイル選択部520に入力され、プロファイル選択部520では、シーン情報の値に対応する出力プロファイルが選択される。ここで、HDD113に用意されている各シーン用の出力プロファイルについて説明する。
In the
この表2には、各シーン用の出力プロファイルを生成する際の条件が示されており、出力プロファイルはこれらの条件を満たすようにノウハウと試行錯誤によって生成される。例えば人物シーンの場合には、肌のザラツキを回避するために、ハイライト領域にK版が入らないように生成され、肌に等高線状の模様ができる不具合を回避するため、肌色の階調再現が滑らかになるように生成される。また、例えば、機械シーンの場合には、金属光沢に色味がつくことを回避するため、グレー階調のハイライト領域からK版が入るように生成される。このように、各シーン用の出力プロファイルを生成する際の条件は、互いに矛盾した条件や、同時に満たすことが困難な条件が存在する。 Table 2 shows conditions for generating an output profile for each scene, and the output profile is generated by know-how and trial and error so as to satisfy these conditions. For example, in the case of a human scene, in order to avoid skin roughness, it is generated so that the K version does not enter the highlight area, and skin tone gradation reproduction is performed to avoid the problem of contour lines on the skin. Is generated to be smooth. Further, for example, in the case of a machine scene, in order to avoid the metallic luster from being tinted, it is generated so that the K plate enters from the highlight area of the gray gradation. As described above, conditions for generating an output profile for each scene include conditions that contradict each other and that are difficult to satisfy at the same time.
HDD113には、このような各種の条件によって生成された出力プロファイルの他に、汎用の出力プロファイルも用意されている。
In the
プロファイル選択部520は、シーン情報の値が「1」〜「7」の値である場合には、それらの値が示すシーンに対応した出力プロファイルを選択し、シーン情報の値が「0」である場合には汎用の出力プロファイルを選択する。上述したように、本実施形態で採用されているシーン判別の手法によれば高精度なシーン判別が可能であり、その高精度な判別に基づいて、適切な出力プロファイルが選択されることとなる。従って、図4に示す色変換装置500では、種々の画像のいずれに対しても、適切な色変換が施されることとなり、その結果、図1に示す印刷システムで得られる印刷物の画像は良好な画質の画像となる。
When the value of the scene information is “1” to “7”, the
なお、上記説明では、本発明にいう色変換定義選択部の一例として出力プロファイルを選択するプロファイル選択部が示されているが、本発明にいう色変換定義選択部は、入力プロファイルを選択するものであってもよく、あるいは上述したデバイスリンクプロファイルを選択するものであってもよい。 In the above description, a profile selection unit that selects an output profile is shown as an example of the color conversion definition selection unit according to the present invention, but the color conversion definition selection unit according to the present invention selects an input profile. Or the device link profile described above may be selected.
また、上記説明では、本発明にいう第1色空間の一例としてRGB色空間が示され、本発明にいう所定の色空間の一例としてLab色空間が示され、本発明にいう第2色空間の一例としてCMYK色空間が示されているが、本発明にいう第1色空間は、3次元以下の色空間であればよく、例えばCMY色空間であってもよい。また、本発明にいう所定の色空間は、Luv色空間やsRGB色空間といった他のデバイス非依存の色空間であってもよく、あるいはCMY色空間やCMYK色空間やRGB色空間といったデバイス依存の色空間であっても良い。また、本発明にいう第2色空間は、4次元以上の色空間であればよく、例えばCMYKG(グリーン)O(オレンジ)色空間などであってもよい。 In the above description, the RGB color space is shown as an example of the first color space referred to in the present invention, the Lab color space is shown as an example of the predetermined color space referred to in the present invention, and the second color space referred to in the present invention. As an example, a CMYK color space is shown, but the first color space referred to in the present invention may be a color space of three dimensions or less, and may be a CMY color space, for example. The predetermined color space referred to in the present invention may be another device-independent color space such as a Luv color space or an sRGB color space, or a device-dependent color space such as a CMY color space, a CMYK color space, or an RGB color space. It may be a color space. The second color space referred to in the present invention may be a color space of four or more dimensions, and may be, for example, a CMYKG (green) O (orange) color space.
100 コンピュータ
101 本体部
102a 表示画面
102 CRTディスプレイ
103 キーボード
104 マウス
105 CD−ROM
106 MO(光磁気)ディスク
111 CPU(中央演算処理装置)
112 RAM
113 HDD(ハードディスクドライブ)
114 MOドライブ
115 CD−ROM
116 通信用ボード
110 バス
120 磁気ディスク
200 CTP
300 通信網
400 色変換プログラム
410 シーン判別部
420 プロファイル選択部
430 セットアップ部
440 色変換部
500 色変換装置
510 シーン判別部
511,511_1,…,511_7 認識部
511a 特徴量算出部
511b 判定処理部
511c 判定ルール作成部
512 被写体判別部
520 プロファイル選択部
530 セットアップ部
540 色変換部
100
106 MO (magneto-optical)
112 RAM
113 HDD (Hard Disk Drive)
114 MO drive 115 CD-ROM
DESCRIPTION OF
Claims (4)
3次元以下の第1色空間による色表現から、4次元以上の第2色空間による色表現への変換を定義した複数の色変換定義のうち、前記シーン判別部によって判別されたシーンに応じた色変換定義を選択する色変換定義選択部と、
前記画像を表す、所定の色空間で色が表現された画像データを、前記第2色空間で色が表現された画像データに、前記色変換定義選択部で選択された色変換定義に基づいて変換する色変換部とを備えたことを特徴とする色変換装置。 A scene discriminating unit for discriminating a scene corresponding to a given image among a plurality of types of scenes;
According to the scene determined by the scene determination unit among a plurality of color conversion definitions that define the conversion from the color representation in the first color space of three dimensions or less to the color representation in the second color space of four dimensions or more. A color conversion definition selection section for selecting a color conversion definition;
Based on the color conversion definition selected by the color conversion definition selection unit, the image data representing the image and expressing the color in a predetermined color space is converted into the image data expressing the color in the second color space. A color conversion apparatus comprising a color conversion unit for conversion.
前記色変換定義選択部は、人物顔が主要被写体となった人物シーンに対して、ハイライト領域におけるK色の混入が他の色変換定義よりも少ない色変換定義を選択するものであることを特徴とする請求項1記載の色変換装置。 The second color space is a color space having dimensions of CMYK4 colors,
The color conversion definition selection unit selects a color conversion definition in which a K color is mixed in a highlight area less than other color conversion definitions for a human scene whose human face is a main subject. The color conversion apparatus according to claim 1, wherein:
前記色変換定義選択部は、グレー基調の金属構造物が被写体となった機械シーンに対して、グレー階調におけるK色の混入が他の色変換定義よりもハイライト側から開始する色変換定義を選択するものであることを特徴とする請求項1記載の色変換装置。 The second color space is a color space having dimensions of CMYK4 colors,
The color conversion definition selection unit is a color conversion definition in which mixing of K color in a gray tone starts from the highlight side with respect to a machine scene in which a gray-based metal structure is a subject. The color conversion apparatus according to claim 1, wherein the color conversion apparatus selects the color.
複数種類のシーンのうち、与えられた画像に該当するシーンを判別するシーン判別部と、
第1色空間による色表現から、4次元以上の第2色空間による色表現への変換を定義した複数の色変換定義のうち、前記シーン判別部によって判別されたシーンに応じた色変換定義を選択する色変換定義選択部と、
前記画像を表す、3次元以下の色空間で色が表現された画像データを、前記第2色空間で色が表現された画像データに、前記色変換定義選択部で選択された色変換定義に基づいて変換する色変換部とを構築することを特徴とする色変換プログラム。 Built into a computer and on the computer,
A scene discriminating unit for discriminating a scene corresponding to a given image among a plurality of types of scenes;
Of a plurality of color conversion definitions that define conversion from a color representation in the first color space to a color representation in a second color space of four or more dimensions, a color conversion definition corresponding to the scene determined by the scene determination unit A color conversion definition selection section to be selected;
The image data representing a color in a three-dimensional or less color space representing the image is converted into image data in which a color is represented in the second color space, and the color conversion definition selected by the color conversion definition selection unit. A color conversion program characterized by constructing a color conversion unit that performs conversion based on the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004349948A JP2006163503A (en) | 2004-12-02 | 2004-12-02 | Color conversion device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004349948A JP2006163503A (en) | 2004-12-02 | 2004-12-02 | Color conversion device and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006163503A true JP2006163503A (en) | 2006-06-22 |
Family
ID=36665488
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004349948A Withdrawn JP2006163503A (en) | 2004-12-02 | 2004-12-02 | Color conversion device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006163503A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020123830A (en) * | 2019-01-30 | 2020-08-13 | 京セラドキュメントソリューションズ株式会社 | Image processing apparatus, image reading device, image forming apparatus, image processing method, and image processing program |
WO2023120525A1 (en) * | 2021-12-21 | 2023-06-29 | 花王株式会社 | Method for assisting with change of impression |
-
2004
- 2004-12-02 JP JP2004349948A patent/JP2006163503A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020123830A (en) * | 2019-01-30 | 2020-08-13 | 京セラドキュメントソリューションズ株式会社 | Image processing apparatus, image reading device, image forming apparatus, image processing method, and image processing program |
JP7198432B2 (en) | 2019-01-30 | 2023-01-04 | 京セラドキュメントソリューションズ株式会社 | Image processing device, image reading device, image forming device, image processing method, and image processing program |
WO2023120525A1 (en) * | 2021-12-21 | 2023-06-29 | 花王株式会社 | Method for assisting with change of impression |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101355635B (en) | Color conversion method and profile generation method | |
US7433077B2 (en) | Gamut mapping between multiple boundary regions | |
JP2006303984A (en) | Color conversion definition generating device, program, program storage medium, and method | |
US7366346B2 (en) | Color descriptor data structure | |
JP4475623B2 (en) | Color processing method and color processing apparatus | |
US7079280B2 (en) | Color conversion definition creating method and color conversion definition creating program storage medium | |
JP2005094504A (en) | Image display apparatus, image output system, image display method, computer program for executing the method, and information recording medium with the computer program recorded thereon | |
JP2020203454A (en) | Image processing device and image forming device | |
JP4128759B2 (en) | Color conversion apparatus and color conversion program | |
JP2006163503A (en) | Color conversion device and program | |
JP2015119371A (en) | Color profile creation system, color profile creation method and program | |
US20050213118A1 (en) | Image data converter, image data conversion program storage medium, and image output system | |
US7495797B2 (en) | Color conversion definition coupling apparatus, and color conversion definition coupling program storage medium | |
JP2001197323A (en) | Method an device for preparing profile | |
JP3093220B2 (en) | Color image processing method | |
JP4685687B2 (en) | Parameter providing apparatus, color conversion system, parameter providing program, and color conversion program | |
JP2005229475A (en) | Data conversion apparatus, and data conversion program | |
US20060210290A1 (en) | Apparatus and method for forming image | |
JP4687361B2 (en) | Image conversion system | |
JP3960114B2 (en) | Print color confirmation system | |
JP6766396B2 (en) | Print control system | |
JP2006262209A (en) | Image reproducing device, image reproducing method, program, and information record medium | |
JP2005175875A (en) | Color correction device, color correction method, program, and recording medium | |
JP2004120483A (en) | Method and device for preparing color chart for profile preparation | |
JPH09200544A (en) | Color printing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061214 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070706 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20090525 |