JP5096993B2 - Color conversion apparatus, color conversion method, and color conversion program - Google Patents

Color conversion apparatus, color conversion method, and color conversion program Download PDF

Info

Publication number
JP5096993B2
JP5096993B2 JP2008105558A JP2008105558A JP5096993B2 JP 5096993 B2 JP5096993 B2 JP 5096993B2 JP 2008105558 A JP2008105558 A JP 2008105558A JP 2008105558 A JP2008105558 A JP 2008105558A JP 5096993 B2 JP5096993 B2 JP 5096993B2
Authority
JP
Japan
Prior art keywords
color
conversion
color conversion
image
information analysis
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.)
Active
Application number
JP2008105558A
Other languages
Japanese (ja)
Other versions
JP2009260530A (en
Inventor
晴美 齋藤
昌洋 渡辺
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2008105558A priority Critical patent/JP5096993B2/en
Publication of JP2009260530A publication Critical patent/JP2009260530A/en
Application granted granted Critical
Publication of JP5096993B2 publication Critical patent/JP5096993B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、電子画像及び電子コンテンツの色を変換する色変換装置、色変換方法および色変換プログラムに関する。   The present invention relates to a color conversion device, a color conversion method, and a color conversion program for converting colors of electronic images and electronic contents.

近年は情報通信機器の発達によりインターネットが広く普及し、それとともにインターネット上のウェブサイトの種類も豊富になっている。ウェブサイトの作成者は、他のウェブサイトとの差別化を図り、閲覧者の数を増やすために、ウェブサイトのデザインに力を入れることが多い。デザインの中でも特に配色は閲覧者の注意を引くための重要な要素である。ウェブサイトを作成する際には、デザイナが何種類かの配色案を候補として提示し、その中から選ぶことが行われている。   In recent years, the Internet has become widespread due to the development of information and communication equipment, and the types of websites on the Internet have also increased. Website creators often focus on website design to differentiate themselves from other websites and increase the number of viewers. The color scheme is an important element in attracting the viewer's attention. When creating a website, the designer presents several types of color schemes as candidates, and chooses among them.

デザイナの配色を支援する従来のツールには、全く配色がなされていないものに対し配色候補を提示するものと、すでに配色が行われているものに対し他の配色案を提示するものの2種類がある。このうち、前者はカラーコーディネートの知識等を使用した提案を行ってユーザに選択させるものが多いが、後者はオリジナルの色に対してある規則に基づいた変換を自動的に行って他の配色案を提示する(非特許文献1)。後者のようなツールのことをここでは自動色変換ツールと呼ぶものとする。   There are two types of conventional tools that support designers' color schemes: those that present color scheme candidates for those that are not color schemes at all, and those that present other color schemes for those that are already color schemes. is there. Of these, the former often makes suggestions using knowledge of color coordination, etc., and allows the user to select, while the latter automatically performs conversion based on certain rules for the original colors and other color schemes. (Non-Patent Document 1). The latter type of tool is referred to herein as an automatic color conversion tool.

尚、本発明に関連する技術として、RGB値からL***値への変換については非特許文献2に記載され、色の誘目性については非特許文献3に記載され、誘目度の計算については非特許文献4に記載されている。
“Color Harmonization”,Daniel Cohen−Or,Olga Sorkine,Ran Gal,Tommer Leyvand,Ying−Qing Xu,Proceedings of ACM SIGGRAPH 2006,Volume 25,Issue 3,pp.624−630. (財)日本色彩研究所(編):“カラーコーディネーターのための色彩科学入門”,日本色研事業(2000),pp.60−62. 日本色彩学会(編):“色彩科学ハンドブック”,日本色彩学会(1991),pp52. (財)日本色彩研究所(編):“カラーコーディネーターのための色彩心理入門”,日本色研事業(2000).
As a technique related to the present invention, conversion from RGB values to L * a * b * values is described in Non-Patent Document 2, and color attractiveness is described in Non-Patent Document 3, and the degree of attractiveness is described. The calculation is described in Non-Patent Document 4.
“Color Harmonization”, Daniel Cohen-Or, Olga Sorkin, Ran Gal, Tommer Leyvand, Ying-Qing Xu, Proceedings of ACM SIGGRAPH 2006, Volume 25, Issue 3, p. 624-630. Japan Color Research Institute (ed.): “Introduction to Color Science for Color Coordinators”, Nippon Color Research Project (2000), pp. 60-62. Japan Color Society (ed.): "Color Science Handbook", Japan Color Society (1991), pp52. Japan Color Research Institute (ed.): “Introduction to Color Psychology for Color Coordinators”, Nippon Color Research Project (2000).

しかし、従来の自動色変換ツールでは、画像全体の配色バランスや、目立たせようとする配色上の意図に対応していないことが多い。例えばコーポレートカラーの使用や、閲覧者に対し配色によってある特定のイメージを伝える場合などは、使用できる色が限られることが多い。また、ウェブサイトのデザインではリンクのボタンのように「目立たせよう」とする意図で配色が行われているものも多い。従来の自動色変換ツールではデザイナの視点や意図を取り入れにくいのが欠点であった。   However, the conventional automatic color conversion tools often do not support the color arrangement balance of the entire image or the intention of the color arrangement to be conspicuous. For example, when a corporate color is used or when a specific image is conveyed to the viewer by a color scheme, the usable colors are often limited. In addition, many website designs are colored with the intention of making them stand out like link buttons. The conventional automatic color conversion tool has a drawback in that it is difficult to incorporate a designer's viewpoint and intention.

また、近年、異なる色覚タイプによる色の見え方を考慮した配色を行う「カラーユニバーサルデザイン」の観点から、特に文字やリンクボタンなどがある特定の色覚タイプでは見えにくいという問題があった場合、美的側面や色の調和等を考慮しつつ、色を微調整して他の配色案を作成する必要がある。しかし、従来の技術では、ある規則によって画面内の色を一律に変換させてしまうため、変えなくて良い色まで変化したり、色が大きく変化してしまい、オリジナルの配色のバランスが崩れてしまうことがあった。   Also, in recent years, from the viewpoint of “color universal design” which performs color arrangement considering the color appearance of different color vision types, especially when there is a problem that it is difficult to see with certain color vision types such as letters and link buttons, it is aesthetic It is necessary to create other color schemes by finely adjusting the colors while taking into account the side and color harmony. However, with the conventional technology, the colors in the screen are uniformly converted according to a certain rule, so the color that does not need to be changed or the color changes greatly, and the balance of the original color scheme is lost. There was a thing.

本発明は、これらの従来技術における課題を解決するものであり、その目的は、デザイナの視点を考慮してオリジナルの配色をなるべく変えずに他の配色案を提示することができる色変換装置、色変換方法および色変換プログラムを提供することにある。   The present invention solves these problems in the prior art, and its purpose is to provide a color conversion device that can present another color scheme without changing the original color scheme as much as possible in consideration of the designer's viewpoint, To provide a color conversion method and a color conversion program.

前記課題を解決するための、請求項1に記載の色変換装置は、画像の色変換を行う色変換装置において、対象画像を取得する画像取得手段と、色カテゴリの分類基準に関する情報および各色カテゴリの代表色の情報が格納された色情報解析用データベースと、前記画像取得手段によって取得された画像内の色の情報を解析し、前記色情報解析用データベースを参照して色カテゴリに分類する色情報解析手段と、ピクセル数が最も多かった色カテゴリを背景色とし、各色カテゴリの誘目度を背景色の明度に基づいて算出し、誘目度によって色カテゴリの順位を決定する順位付け手段と、前記色情報解析手段によってカテゴリ分けされた画像内の全ての色について、前記順位付け手段により決定された順位に従って、順位が低いほどに大きな変換量となるように色の変換量の重み付けを行う変換量決定手段と、前記変換量決定手段により重み付けられた変換量に従って、特定の知覚軸に沿った正負の2種類の方向へ色の変換を行う色変換手段と、前記色変換手段により変換された結果を表示する表示手段とを備えたことを特徴としている。 The color conversion device according to claim 1, wherein the color conversion device performs color conversion of an image, an image acquisition unit that acquires a target image, information on a color category classification criterion, and each color category. A color information analysis database storing information on representative colors of colors and colors analyzed in the image acquired by the image acquisition means and classified into color categories with reference to the color information analysis database An information analysis means, a color category having the largest number of pixels as a background color, a degree of attraction of each color category is calculated based on the brightness of the background color, and a ranking means for determining the rank of the color category according to the degree of attraction; for all colors in the image which has been categorized by color information analysis means, in accordance with order that is determined by the ranking means, a large converted into the lower rank Performing a conversion determining means for weighting the color conversion amount, according to the conversion amount weighted by the conversion determining means, the color conversion to two directions of the positive and negative along a particular perceptual axis such that It is characterized by comprising color conversion means and display means for displaying the result converted by the color conversion means.

また、請求項2に記載の色変換方法は、画像の色変換を行う色変換方法において、画像取得手段が対象画像を取得する画像取得ステップと、色情報解析手段が、前記画像取得ステップによって取得された画像内の色の情報を解析し、色カテゴリの分類基準に関する情報および各色カテゴリの代表色の情報が格納された色情報解析用データベースを参照して色カテゴリに分類する色情報解析ステップと、順位付け手段が、ピクセル数が最も多かった色カテゴリを背景色とし、各色カテゴリの誘目度を背景色の明度に基づいて算出し、誘目度によって色カテゴリの順位を決定する順位付けステップと、変換量決定手段が、前記色情報解析ステップによってカテゴリ分けされた画像内の全ての色について、前記順位付けステップにより決定された順位に従って、順位が低いほどに大きな変換量となるように色の変換量の重み付けを行う変換量決定ステップと、色変換手段が、前記変換量決定ステップにより重み付けられた変換量に従って、特定の知覚軸に沿った正負の2種類の方向へ色の変換を行う色変換ステップと、表示手段が、前記色変換ステップにより変換された結果を表示する表示ステップとを備えたことを特徴としている。
The color conversion method according to claim 2 is a color conversion method for performing color conversion of an image, wherein the image acquisition unit acquires the target image, and the color information analysis unit acquires the image by the image acquisition step. A color information analysis step of analyzing color information in the generated image and classifying the information into a color category by referring to a color information analysis database in which information on classification criteria of the color category and information on representative colors of each color category is stored A ranking step in which the ranking means sets the color category having the largest number of pixels as the background color, calculates the attractiveness of each color category based on the brightness of the background color, and determines the ranking of the color category according to the attractiveness; conversion amount determining means, for all colors of the color information analyzing the images categorized by step, determined by the ranking step forward According a conversion amount determining step of ranking for weighting the color conversion amount as a major conversion amount as low, the color conversion means, according to the conversion amount weighted by the conversion amount determining step, the specific sensory shaft The color conversion step for converting colors in two positive and negative directions along the line and the display means include a display step for displaying the result converted by the color conversion step.

また、請求項3に記載の色変換プログラムは、コンピュータを請求項1に記載の各手段として機能させる色変換プログラムであることを特徴としている。 The color conversion program according to claim 3 is characterized in that a color conversion program to function as the respective means described computer to claim 1.

上記構成において、画像内に含まれる色に対する知覚特性の変化量あるいは任意の量的な変化を使用して変換量に重み付けを行い、複数の変換結果を提示する。その結果、デザインの自由度を上げ、かつ不自然のない色変換結果を提示することができる。   In the above configuration, the amount of conversion is weighted using the amount of change in perceptual characteristics or an arbitrary amount of change with respect to the colors included in the image, and a plurality of conversion results are presented. As a result, it is possible to increase the degree of design freedom and present an unnatural color conversion result.

(1)請求項1〜3に記載の発明によれば、画像内に含まれる色に対する知覚特性の変化量あるいは任意の量的な変化を使用して変換量に重み付けを行うため、オリジナルの配色やデザインの意図を極端に変えてしまうことなく、他の配色案を提示することができる。また、色変換を行わない色を指定できるため、デザインの自由度を高めることができる。
また、誘目度によって決定された順位が低いほどに大きな変換量となるように重み付けした変換量により色を変換することにより、元のデザインで目立っていた色はあまり変えず、目立たない色の変換量を大きくするというように、色の持つ特性に沿った変換を行うことができる。
(1) According to the first to third aspects of the present invention, the conversion amount is weighted by using a change amount of perceptual characteristics or an arbitrary change in the color included in the image. And other color schemes can be presented without changing the design intent. Moreover, since the color which does not perform color conversion can be designated, the freedom degree of design can be raised.
In addition, by converting the color with the conversion amount that is weighted so that the lower the order determined by the degree of attraction, the conversion amount is weighted so that the color that was conspicuous in the original design does not change much and the conversion is inconspicuous Conversion can be performed in accordance with the characteristics of colors, such as increasing the amount.

以下、図面を参照しながら本発明の実施の形態を説明するが、本発明は下記の実施形態例に限定されるものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings, but the present invention is not limited to the following embodiments.

(実施例1)
本発明の実施例1は、PC(パソコン)内で単独動作するアプリケーションとして実施される。
Example 1
The first embodiment of the present invention is implemented as an application that operates independently in a PC (personal computer).

図1に、本色変換装置の実施例1における処理の主な流れを示す。まずステップS11において、既に配色が済んでいる電子画像ファイルについて、画像上の全ピクセルのRGB値を取得する。そしてRGB値から色空間の変換を行い(ステップS12)、各ピクセルの色について、カテゴリ(色名)ごとに分類する(ステップS13)。そしてカテゴリ分けされた色について、ある特性、実施例1では色の誘目度(目立ちやすさ)の違いによって順位付けを行い(ステップS14)、その順位に従って色の変換量の重み付けを行う(ステップS15)。次に重み付けした変換量に従って色の変換を行い(ステップS16)、その結果を表示する(ステップS17)。   FIG. 1 shows a main flow of processing in the first embodiment of the color conversion apparatus. First, in step S11, RGB values of all the pixels on the image are acquired for an electronic image file that has already been color-coded. Then, the color space is converted from the RGB values (step S12), and the color of each pixel is classified for each category (color name) (step S13). Then, the categorized colors are ranked according to a certain characteristic, that is, the difference in the degree of conspicuousness (easiness of being noticeable) in the first embodiment (step S14), and the color conversion amount is weighted according to the ranking (step S15). ). Next, color conversion is performed according to the weighted conversion amount (step S16), and the result is displayed (step S17).

図2は本発明の実施例1である色変換装置のブロック構成図である。図2において、本実施例1の色変換装置2−1は、例えばコンピュータにより構成され、画像取得手段としての画像取得部2−11、色情報解析手段としての色情報解析部2−12、色情報解析用データベース(DB)2−13、順位付け手段としての順位算出部2−14、変換量決定手段としての変換量決定部2−15、色変換手段としての色変換部2−16、表示手段としての表示部2−17とを備える。   FIG. 2 is a block diagram of a color conversion apparatus that is Embodiment 1 of the present invention. In FIG. 2, the color conversion device 2-1 according to the first embodiment is configured by a computer, for example, and includes an image acquisition unit 2-11 as an image acquisition unit, a color information analysis unit 2-12 as a color information analysis unit, and a color Information analysis database (DB) 2-13, rank calculation unit 2-14 as ranking unit, conversion amount determination unit 2-15 as conversion amount determination unit, color conversion unit 2-16 as color conversion unit, display And a display unit 2-17 as means.

画像取得部2−11は図1のステップS11で述べたように電子的な画像ファイル2−2を取得し、画像内の全てのピクセルについて、RGB値(赤成分R、緑成分G、青成分B)を取得する。また、画像上における位置の情報も取得する。図3にその例を示す。以降全ての処理において位置情報と色情報の対応は保たれるものとする。画像上の縦横の位置とRGB値の情報は色情報解析部2−12に送られる。   The image acquisition unit 2-11 acquires the electronic image file 2-2 as described in step S11 in FIG. 1, and the RGB values (red component R, green component G, blue component) are obtained for all pixels in the image. B) is acquired. Also, information on the position on the image is acquired. An example is shown in FIG. Thereafter, the correspondence between the position information and the color information is maintained in all the processes. Information on vertical and horizontal positions and RGB values on the image is sent to the color information analysis unit 2-12.

色情報解析部2−12では、画像取得部2−11で取得したRGB値について、色の属性(明るさ、鮮やかさ、色合い)によって大まかに分類できるよう、色空間の変換を行う(図1のステップS12)。ここでは、一般的に色の3属性と呼ばれている明るさ、鮮やかさ、色あいの3値で表現できるように、RGB値を、明るさ成分(L*)と色み成分(a*、b*)の3つの値を持つL***(エルスターエースタービースター、またはエルエービー)表色系へと変換する。L*値は0〜100の範囲で変化し、値が大きいほど明るいことを示す。L*=0の時は黒、L*=100の時は白となる。色みを表すa*値は赤と緑の間で変化し、正の値で赤み、負の値で緑みが強いことを示す。b*値は青と黄の間で変化し、正の値で黄み、負の値で青みが強いことを示す。a*=0、b*=0の時は色みが無い状態、すなわち灰色となる。RGB値からL***値への変換式については、一般的に使用される変換式(非特許文献2参照)を使用し、ここでの記述は割愛する。そして、a*値、b*値を用いて、鮮やかさ(彩度)と色あい(色相)を求める。彩度値C*、色相角H°とすると以下の式で求められる。 The color information analysis unit 2-12 performs color space conversion so that the RGB values acquired by the image acquisition unit 2-11 can be roughly classified by color attributes (brightness, vividness, hue) (FIG. 1). Step S12). Here, RGB values are represented by a brightness component (L * ) and a color component (a * ,) so that they can be expressed by three values of brightness, vividness, and hue, which are generally called three attributes of color. b * ) L * a * b * (Elster Aster Baster or LAV) having the three values is converted to the color system. The L * value varies in the range of 0 to 100, and the larger the value, the brighter the value. When L * = 0, the color is black, and when L * = 100, the color is white. The a * value representing color changes between red and green, indicating that red is positive for positive values and strong green for negative values. The b * value varies between blue and yellow, indicating a yellow value at a positive value and a strong blue color at a negative value. When a * = 0 and b * = 0, there is no color, that is, gray. As a conversion formula from RGB values to L * a * b * values, a commonly used conversion formula (see Non-Patent Document 2) is used, and description thereof is omitted here. Then, vividness (saturation) and hue (hue) are obtained using the a * value and b * value. When the saturation value C * and the hue angle H ° are obtained, the following equation is obtained.

*=[(a*2+(b*2]1/2…(1)
H=[180/π×arctan(b*/a*)]…(2)
彩度値C*が0の時は灰色であり、値が大きくなるにつれて鮮やかな色になる。色相角Hは0°においておよそ赤色となり、黄色、緑、青、紫と変化し一周するとまた赤に戻る。図3に例として画像上の各ピクセルのRGB値がL*値、C*値、H値に変換された様子を示す。
C * = [(a * ) 2 + (b * ) 2 ] 1/2 (1)
H = [180 / π × arctan (b * / a * )] (2)
When the saturation value C * is 0, the color is gray, and the color becomes brighter as the value increases. The hue angle H becomes approximately red at 0 °, changes to yellow, green, blue, and purple, and returns to red after one round. FIG. 3 shows an example in which the RGB value of each pixel on the image is converted into an L * value, a C * value, and an H value.

これらの明度値L*と彩度値C*と色相角Hにより、その色がどのような色カテゴリ(例えば「淡い赤」のように大まかな色の分類のことで、この場合色相は赤であり、明度は高く、彩度は低い)であるかを分類することができる。色情報解析部2−12は画像上にある色がどの色カテゴリに属しているかを色情報解析用データベース2−13より検索する。色情報解析用データベース2−13はカテゴリの分類の基準に関する情報を有している。例えば、色相角Hを0°から10等分した、赤、橙、黄、黄緑、緑、青緑、青、青紫、紫、赤紫の10種類の色相カテゴリがあり、それぞれの色相カテゴリにおいて明度を3等分、彩度を3等分して組み合わせた(1)〜(9)までの9種類のカテゴリがある。例えば、「赤(1)」というカテゴリは、色相角Hが0°〜36°、明度L*が33〜66、鮮やかさは40〜80の範囲にある色が当てはまる。この色相10カテゴリを9分割した計90種類の色カテゴリと、白、黒、灰色の3カテゴリを加えた計93カテゴリがあるものとする。色情報解析部2−12は画像内にある各ピクセルの色の値をそれぞれのカテゴリに分類する(図1のステップS13)。図3の例では、各ピクセルが「青(1)」「赤(1)」等のカテゴリに分類されている。図3のような画像上の位置の情報とカテゴリの情報が順位算出部2−14へと送られる。 Depending on the lightness value L * , the saturation value C *, and the hue angle H, the color classification is a rough color classification such as “light red”. In this case, the hue is red. Yes, the lightness is high and the saturation is low). The color information analysis unit 2-12 searches the color information analysis database 2-13 for which color category the color on the image belongs to. The color information analysis database 2-13 has information related to category classification criteria. For example, there are 10 types of hue categories of red, orange, yellow, yellow-green, green, blue-green, blue, blue-violet, purple, and magenta, with the hue angle H divided equally from 0 °. There are nine categories from (1) to (9) that combine the lightness into three equal parts and the saturation into three equal parts. For example, a category of “red (1)” applies to a color having a hue angle H of 0 ° to 36 °, a lightness L * of 33 to 66, and a vividness of 40 to 80. It is assumed that there are a total of 93 categories including 90 types of color categories obtained by dividing the 10 categories of hues into 9 and 3 categories of white, black, and gray. The color information analysis unit 2-12 classifies the color value of each pixel in the image into each category (step S13 in FIG. 1). In the example of FIG. 3, each pixel is classified into categories such as “blue (1)” and “red (1)”. The information on the position on the image and the information on the category as shown in FIG. 3 are sent to the rank calculation unit 2-14.

色情報解析用データベース2−13はこのカテゴリ分類の基準の他に、各カテゴリの代表となる色の情報(数値)も有している。代表色は、ここではカテゴリ内でL*値、C*値、H値の平均値となる色とする。図4は色情報解析用データベース2−13が持つ各カテゴリの代表色情報の例である。代表色の情報は順位算出部2−14で利用される。 The color information analysis database 2-13 has color information (numerical values) representing each category in addition to the category classification standard. Here, the representative color is a color that is an average value of the L * value, the C * value, and the H value in the category. FIG. 4 shows an example of representative color information of each category that the color information analysis database 2-13 has. The representative color information is used by the rank calculation unit 2-14.

順位算出部2−14は、色を変換する際に、全ての色を一律に変換するのではなく、色が持つ特性を利用した上で、変換すべき色を選んだり変換量を変えたりするための順位付けを行う部分である。ここで、色にはその明るさや鮮やかさなど、様々な特性を数値で表現できる特性があるが、実施例1では例として色の目立ち度合い(誘目度)を利用して色変換を行うものとする。色はその色が何色であるかによって、同じ背景に対して目立ちやすさが異なるという、「色の誘目性」と呼ばれる現象がある(非特許文献3参照)。目立ちやすさの度合いや、あるいは目立つ順序などを数値で表すことができるため、実施例1ではこの誘目度の違いを利用し、元のデザインで目立っていた色はあまり変えないようにし、目立たない色を変換するという方法を取るものとする。   The rank calculation unit 2-14 does not convert all colors uniformly when converting colors, but selects the color to be converted or changes the conversion amount using the characteristics of the colors. It is the part which ranks for. Here, colors have characteristics that can express various characteristics such as brightness and vividness by numerical values. In the first embodiment, color conversion is performed by using the degree of conspicuousness (attraction) as an example. To do. There is a phenomenon called “color attractiveness” in which the color is easily noticeable with respect to the same background depending on the color of the color (see Non-Patent Document 3). Since the degree of conspicuousness or the order of conspicuousness can be expressed by numerical values, in Example 1, the difference in the degree of attraction is used so that the color that is conspicuous in the original design is not changed so much and is not conspicuous. Let's take the method of converting colors.

色情報解析用データベース2−13から取得した代表色の値により、誘目度を求めることができる。誘目度の計算は従来からいくつかのモデル式が提案されており(非特許文献4参照)、多くのモデル式において(1)明度が高いと誘目度が高い、(2)彩度が高いと誘目度が高い、(3)暖色(赤や黄色)で誘目度が高い、という傾向は一致している。なお、誘目度は背景色によっても異なるため、背景色を求める必要がある。ここでは、先述したカテゴリに分類した際に、ピクセル数が最も多かった色を背景色とし、その明度に対する誘目度を算出するものとする。   The degree of attraction can be obtained from the value of the representative color acquired from the color information analysis database 2-13. A number of model formulas have been proposed for the calculation of the degree of attraction (see Non-Patent Document 4), and in many model formulas, (1) high brightness and high degree of attraction, (2) high saturation The tendency of high degree of attraction, (3) warm color (red and yellow) and high degree of attraction are consistent. Since the degree of attraction differs depending on the background color, it is necessary to obtain the background color. Here, it is assumed that the color having the largest number of pixels when classified into the above-described categories is set as the background color, and the attractiveness with respect to the brightness is calculated.

色情報解析部2−12においてカテゴリ分けされた画像上の色に対して、誘目度の高い順から、1位、2位…と順位をつけていく(図1のステップS14)。図5に画像上の3色が誘目度によって順位付けられた例を示す。この順位の情報が変換量決定部2−15に送られる。
The color on the categorized images of the color information analyzing section 2 12, the high conspicuity order position 1, go with a 2-position ... and charts (step S14 in FIG. 1). FIG. 5 shows an example in which the three colors on the image are ranked according to the degree of attraction. Information on this order is sent to the conversion amount determination unit 2-15.

変換量決定部2−15では、順位算出部2−14において定められた順位が低くなる、すなわち、ここでは目立たない色になるに従って変換量が大きくなるようにする(図1のステップS15)。模式図で表すと図5の「変換量の重み付け」部分のようになる。順位に基づいた重み付けを行うことで、目立つ色はあまり変換しないというように、色の持つ特性に沿った変換を行うことが可能である。なお、ここでは重み付けについての情報のみが決定される。何の値(明度であるか、彩度であるか等)を変換するかまでは決定しなくとも良い。重み付けに関する情報が色変換部2−16に送られる。   In the conversion amount determination unit 2-15, the order determined by the rank calculation unit 2-14 is lowered, that is, the conversion amount is increased as the color becomes inconspicuous here (step S15 in FIG. 1). A schematic diagram shows the “weighting of conversion amount” portion of FIG. By performing weighting based on the rank, it is possible to perform conversion in accordance with the characteristics of the color so that the conspicuous color is not converted so much. Here, only information about weighting is determined. It is not necessary to decide what value (lightness, saturation, etc.) to convert. Information regarding weighting is sent to the color conversion unit 2-16.

色変換部2−16では、重み付け量に基づいた色の変換を行う(図1のステップS16)。まず、変換する値の属性を決定する。ここでは、図5に示したように明度L*値を変換するものとする。例えば、明度の変換量が誘目度の順位に対して比例する(すなわち順位が大きくなるにつれて変換量も大きくなる)とする。画像上にN位までの色があり、最大で明度値が20変化するように計算すると、この場合の変化量は、
f=20(n−1)/(N−1) (n=1,2,3,…,N)…(3)
で表せる。図5の例では3位までの色があり、最も誘目度の高い赤色で変化量0、2位の緑色で10、3位の水色で20となる。変換は正方向と負方向の2種類があるため、1つを正方向のみへの変換、もう一つの負方向のみへの変換とすると、配色の解は2種類生成される。なお、もし変換後のL*値が0未満の場合は0、100を超えた場合は100となるようにする。
The color conversion unit 2-16 performs color conversion based on the weighting amount (step S16 in FIG. 1). First, the attribute of the value to be converted is determined. Here, the lightness L * value is converted as shown in FIG. For example, it is assumed that the lightness conversion amount is proportional to the rank of the attractiveness (that is, the conversion amount increases as the rank increases). If there are up to N colors on the image and the brightness value is calculated to change by 20 at the maximum, the amount of change in this case is
f = 20 (n−1) / (N−1) (n = 1, 2, 3,..., N) (3)
It can be expressed as In the example of FIG. 5, there are colors up to the third place, the amount of change is 0 for the most attractive red, 10 for the second green, and 20 for the third light blue. Since there are two types of conversion, the positive direction and the negative direction, if one is converted only in the positive direction and the other is converted only in the negative direction, two types of color scheme solutions are generated. If the L * value after conversion is less than 0, it is 0, and if it exceeds 100, it is set to 100.

なお、色変換部2−16では代表色に対し決められた変換量を、代表色ではなく元のピクセルの色に加えることによって色変換を行う。以上の方法で2種類の色変換結果が生成される。   The color conversion unit 2-16 performs color conversion by adding the conversion amount determined for the representative color to the original pixel color instead of the representative color. Two types of color conversion results are generated by the above method.

表示部2−17では、色変換部2−16において生成された色変換の解を、RGB値に変換し、画像として表示を行う(図1のステップS17)。ここでは、変換された色のRGB値やL***値といったパラメータの表示も行うことができる。 In the display unit 2-17, the color conversion solution generated in the color conversion unit 2-16 is converted into RGB values and displayed as an image (step S17 in FIG. 1). Here, parameters such as RGB values and L * a * b * values of the converted color can also be displayed.

尚、色情報解析部2−13において、RGB値をL***値に変換するものとしたが、数値によって色の見えを表せるものであれば他の色空間を用いても良い。 In the color information analysis unit 2-13, the RGB value is converted into an L * a * b * value. However, other color spaces may be used as long as the color appearance can be expressed by a numerical value.

色情報解析用データベース2−13が持つ色のカテゴリは必ずしも93種類にする必要はなく、他のカテゴリ分類基準を有することで異なるカテゴリ数となってもよい。但し、カテゴリ数は最大で100種類を超えない方が望ましい。   The color information analysis database 2-13 does not necessarily have 93 color categories, and may have different categories by having other category classification criteria. However, it is desirable that the maximum number of categories does not exceed 100.

色情報解析用データベース2−13内の代表色は、平均の色でなくても良い。例えば、一般的に有名な色名を持つ色の数値を適用しても良い。   The representative color in the color information analysis database 2-13 may not be an average color. For example, a numerical value of a color having a generally famous color name may be applied.

順位算出部2−14において、例として色の誘目度による順位付けを行ったが、色の変化を量的に表す指標であれば他の指標でも良い。例えば彩度値の変化でも順位付けが可能である。   In the rank calculation unit 2-14, the ranking is performed based on the degree of attraction of the color as an example. However, any other index may be used as long as the index represents the color change quantitatively. For example, the ranking can be performed even when the saturation value changes.

色変換部2−16において、実施例1では明度方向への変換を行ったが、明度のみでなく彩度方向や色相方向へも同じ方法で変換することができる。そのため、どの要素を変換するか、またその組み合わせによっても色変換の解を増やすことができる。   In the color conversion unit 2-16, the conversion in the lightness direction is performed in the first embodiment. However, not only the lightness but also the saturation direction and the hue direction can be converted by the same method. Therefore, the number of color conversion solutions can be increased depending on which elements are converted and combinations thereof.

色変換部2−16において、元の画像の色に対して変換を行ったが、カテゴリ分けされた情報を利用して、色情報解析用データベース2−13が有している各カテゴリの代表色に対して変換を行っても良い。   In the color conversion unit 2-16, the color of the original image is converted, but using the categorized information, the representative color of each category that the color information analysis database 2-13 has May be converted.

また前記図3に示す、画像取得部2−11で取得したRGB値、位置情報、色情報解析部2−12で色空間の変換を行って得たL*値、C*値,H値および分類した色のカテゴリの情報は、例えばメモリに格納して活用するように構成しても良い。 Also, the RGB values, position information, and L * values, C * values, H values obtained by converting the color space in the color information analysis unit 2-12 shown in FIG. The classified color category information may be stored in a memory, for example, and used.

(実施例2)
本発明の実施例2は、PC内で単独動作するアプリケーションとして実施される。
(Example 2)
The second embodiment of the present invention is implemented as an application that operates independently in a PC.

図6に、本実施例2の処理の主な流れを示す。前記実施例1では誘目度という色の特性により色の変換量を定めたが、実施例2では変換規則や、変換しない色といった変換に関する条件をその都度指定することができる。まずステップS21において、既に配色が済んでいる電子画像ファイルについて、画像上の全ピクセルのRGB値を取得する。そしてRGB値から色空間の変換を行い(ステップS22)、各ピクセルの色について、カテゴリ(色名)ごとに分類する(ステップS23)。そしてカテゴリ分けされた色について、指定された規則を取得し(ステップS24)、その規則に基づいた順位づけを行い(ステップS25)、その順位に従って色の変換量の重み付けを行う(ステップS26)。次に重み付けした変換量に従って色の変換を行い(ステップS27)、その結果を表示する(ステップS28)。   FIG. 6 shows the main flow of processing of the second embodiment. In the first embodiment, the amount of color conversion is determined based on the color characteristic called attractiveness. However, in the second embodiment, a conversion rule and a condition regarding conversion such as a color not to be converted can be designated each time. First, in step S21, the RGB values of all the pixels on the image are acquired for the electronic image file that has already been color-coded. Then, the color space is converted from the RGB values (step S22), and the color of each pixel is classified for each category (color name) (step S23). The specified rules are acquired for the categorized colors (step S24), ranking based on the rules is performed (step S25), and the color conversion amount is weighted according to the ranking (step S26). Next, color conversion is performed according to the weighted conversion amount (step S27), and the result is displayed (step S28).

図7は本発明の実施例2である色変換装置7−1のブロック構成図である。図7において、本実施例2の色変換装置7−1は、例えばコンピュータにより構成され、画像取得手段としての画像取得部7−11、色情報解析手段としての色情報解析部7−12、色情報解析用データベース7−13、第1の操作手段としての操作部7−14、順位付け手段としての順位算出部7−15、変換量決定手段としての変換量決定部7−16、色変換手段としての色変換部7−17、表示手段としての表示部7−18とを備える。   FIG. 7 is a block diagram of a color conversion device 7-1 that is Embodiment 2 of the present invention. In FIG. 7, the color conversion device 7-1 according to the second embodiment is configured by a computer, for example, and includes an image acquisition unit 7-11 as an image acquisition unit, a color information analysis unit 7-12 as a color information analysis unit, and a color. Information analysis database 7-13, operation unit 7-14 as a first operation unit, rank calculation unit 7-15 as a ranking unit, conversion amount determination unit 7-16 as a conversion amount determination unit, color conversion unit As a color conversion unit 7-17 and a display unit 7-18 as display means.

画像取得部7−11は実施例1の画像取得部2−11と同様に、図6のステップS21で述べたように、電子的な画像ファイル7−2を取得し、画像内の全てのピクセルについて、RGB値(赤成分R、緑成分G、青成分B)を取得する。また、画像上における位置の情報も取得する。以降全ての処理において位置情報と色情報の対応は保たれるものとする。画像上の縦横の位置とRGB値の情報は色情報解析部7−12に送られる。   Similar to the image acquisition unit 2-11 of the first embodiment, the image acquisition unit 7-11 acquires the electronic image file 7-2 as described in step S21 of FIG. RGB values (red component R, green component G, blue component B) are acquired. Also, information on the position on the image is acquired. Thereafter, the correspondence between the position information and the color information is maintained in all the processes. Information on vertical and horizontal positions and RGB values on the image is sent to the color information analysis unit 7-12.

色情報解析部7−12では、画像取得部7−11で取得したRGB値に対して色空間の変換を行う(図6のステップS22)。ここでは、RGB値を明るさ成分(L*)と色み成分(a*、b*)の3つの値を持つL***(エルスターエースタービースター、またはエルエービー)表色系へと変換した後、色相角を求める。色空間の変換方法及び色相角の求め方は実施例1に記述した方法と同じである。そして、実施例2では画像内にある各ピクセルの色の値を色相によって分けられたカテゴリに分類していく(図6のステップS23)。 The color information analysis unit 7-12 performs color space conversion on the RGB values acquired by the image acquisition unit 7-11 (step S22 in FIG. 6). Here, the RGB value is converted to an L * a * b * (Elster Aster Baster or El Abbe) color system having three values of a brightness component (L * ) and a color component (a * , b * ). Then, the hue angle is obtained. The color space conversion method and the hue angle calculation method are the same as those described in the first embodiment. In the second embodiment, the color value of each pixel in the image is classified into categories divided by hue (step S23 in FIG. 6).

色情報解析部7−12は画像上にある色がどの色カテゴリに属しているかを色情報解析用データベース7−13より検索する。色情報解析用データベース7−13は、カテゴリの分類の基準に関する情報を有している。ここでは色相角を10分割し、白と黒と灰色を加えた計13種類のカテゴリがあるものとする。各ピクセルがどの色カテゴリに分類されたかという情報が順位算出部7−15へと送られる。   The color information analysis unit 7-12 searches the color information analysis database 7-13 to determine which color category the color on the image belongs to. The color information analysis database 7-13 has information related to category classification criteria. Here, it is assumed that there are a total of 13 categories in which the hue angle is divided into 10 and white, black, and gray are added. Information about which color category each pixel is classified is sent to the rank calculation unit 7-15.

カテゴリ分類の基準は色情報解析用データベース7−13に予め用意されているものとする。また、色情報解析用データベース7−13はカテゴリの代表色の情報も有している。代表色は、実施例2では色相角の平均値とし、明度や彩度は任意の値であるとする。代表色の情報も順位算出部7−15へ送られる。   Assume that the category classification standard is prepared in advance in the color information analysis database 7-13. The color information analysis database 7-13 also has information on the representative colors of the categories. In the second embodiment, the representative color is the average value of the hue angle, and the lightness and saturation are arbitrary values. The representative color information is also sent to the rank calculation unit 7-15.

操作部7−14は、順位算出部7−15での順付けの規則、及びその後の色変換に関する変換規則を選択、変更したり、変換をする色、しない色を選んだりする部分である。ここでは例として、10カテゴリに分類した色相のうち赤色は色の変換を行わず(変換量が0)、かつ赤色を中心に色相が異なるほど色の変換量が大きくなるものとする。また、変換は色相方向に行うものとする。これらの規則情報は順位算出部7−15に送られる(図6のステップS24)。   The operation unit 7-14 is a part for selecting and changing the ordering rule in the rank calculating unit 7-15 and the conversion rule regarding the subsequent color conversion, and selecting the color to be converted and the color not to be converted. Here, as an example, it is assumed that red among the hues classified into 10 categories is not subjected to color conversion (conversion amount is 0), and the color conversion amount increases as the hue is different with respect to red. The conversion is performed in the hue direction. The rule information is sent to the rank calculation unit 7-15 (step S24 in FIG. 6).

順位算出部7−15は、色を変換する際に、全ての色を一律に変換するのではなく、色が持つ特性を利用した上で、変換すべき色を選んだり変換量を変えたりするための順位付けを行う部分である。例として、操作部7−14より色相が赤色からどの程度変化するかに従って色の変換量を大きくするという情報を受け取った場合について述べる。順位算出部7−15では、画像内のそれぞれの色が、赤色からどの程度離れているかといった観点から順位付けを行う(図6のステップS25)。図8に示すように、色相角H=0°(360°)が赤である場合、もう一方の色相角が0°からどの程度異なるかによって順位を決定することができる。図8の例のように同じ順位がある場合は、次の変換量決定部7−16において同じ量の重み付けが行われるものとする。各色における順位の情報は変換量決定部7−16に送られる。   The rank calculation unit 7-15, when converting colors, does not convert all the colors uniformly, but selects the color to be converted or changes the conversion amount using the characteristics of the colors. It is the part which ranks for. As an example, a case will be described in which information indicating that the color conversion amount is increased according to how much the hue changes from red is received from the operation unit 7-14. In the rank calculation unit 7-15, ranking is performed from the viewpoint of how far each color in the image is from red (step S25 in FIG. 6). As shown in FIG. 8, when the hue angle H = 0 ° (360 °) is red, the order can be determined according to how much the other hue angle differs from 0 °. When there is the same order as in the example of FIG. 8, it is assumed that the same amount of weighting is performed in the next conversion amount determination unit 7-16. The order information for each color is sent to the conversion amount determination unit 7-16.

変換量決定部7−16では、上記順位算出部7−15において求められた順位が低くなる、すなわち、赤色から異なる色相になるに従って色の変換量が大きくなるようにする(図6のステップ26)。図8の例では、赤色の変換量が0で、橙色(または赤紫色)、黄色(または紫色)…と変化するに従って重み付け量が多くなる。なお、ここでは重み付けについての情報のみが決定される。重み付けに関する情報が色変換部7−17に送られる。   In the conversion amount determination unit 7-16, the order obtained by the rank calculation unit 7-15 is lowered, that is, the color conversion amount is increased as the hue changes from red (step 26 in FIG. 6). ). In the example of FIG. 8, the red conversion amount is 0, and the weighting amount increases as it changes from orange (or magenta) to yellow (or purple). Here, only information about weighting is determined. Information regarding weighting is sent to the color conversion unit 7-17.

色変換部7−17では、重み付け量に基づいた色の変換を行う(図6のステップS27)。まず、変換する値の属性を決定する。ここでは色相H値を変換するものとする。例えば、色相の変換量が赤から離れるほど大きくなるようにする。最大で色相角が20°変化するように計算すると、変化量は、
f=H+20(n−1)/(N−1) (0≦H<180) (n=1,2,3,…,N)…(4)
f=H−20(n−1)/(N−1) (0≦H<180) (n=1,2,3,…,N)…(5)
で表せる。Hは元の色の色相角、Nは変換すべき色の個数、nは順位算出部7−14で定められた順位である(上記の例ではNは13を超えない)。色の変換量は赤色から離れるほど大きくなるが、変換の方向は正方向、負方向の2種類があるため、ここで1つを正方向のみへの変換、もう一つの負方向のみへの変換とすると、解は2種類生成されることになる。
The color conversion unit 7-17 performs color conversion based on the weighting amount (step S27 in FIG. 6). First, the attribute of the value to be converted is determined. Here, the hue H value is converted. For example, the hue conversion amount increases as the distance from red increases. If the hue angle is calculated to change by 20 ° at the maximum, the amount of change is
f = H + 20 (n−1) / (N−1) (0 ≦ H <180) (n = 1, 2, 3,..., N) (4)
f = H−20 (n−1) / (N−1) (0 ≦ H <180) (n = 1, 2, 3,..., N) (5)
It can be expressed as H is the hue angle of the original color, N is the number of colors to be converted, and n is a rank determined by the rank calculation unit 7-14 (in the above example, N does not exceed 13). The amount of color conversion increases as the distance from the red color increases, but there are two types of conversion directions, positive and negative, so here one is converted only to the positive direction and the other is converted only to the negative direction. Then, two types of solutions are generated.

なお、色変換部7−17では代表色に対し決められた変換量を、代表色ではなく元のピクセルの色に加えることによって色変換を行う。以上の方法で2種類の色変換結果が生成される。   The color conversion unit 7-17 performs color conversion by adding the conversion amount determined for the representative color to the original pixel color instead of the representative color. Two types of color conversion results are generated by the above method.

表示部7−18では、色変換部7−16において生成された色変換の解を、RGB値に変換し、画像として表示を行う(図6のステップS28)。ここでは、変換された色のRGB値やL***値などといったパラメータの表示も行うことができる。 In the display unit 7-18, the color conversion solution generated in the color conversion unit 7-16 is converted into RGB values and displayed as an image (step S28 in FIG. 6). Here, it is possible to display parameters such as RGB values and L * a * b * values of the converted color.

尚、色情報解析部7−12において、RGB値をL***値に変換するものとしたが、数値によって色の見えを表せるものであれば他の色空間を用いても良い。 In the color information analysis unit 7-12, the RGB values are converted into L * a * b * values. However, other color spaces may be used as long as the color appearance can be expressed by numerical values.

色情報解析用データベース7−13が持つ色のカテゴリは必ずしも13種類にする必要はなく、他のカテゴリ分類基準を有することで異なるカテゴリ数となってもよい。   The color information analysis database 7-13 does not necessarily need to have 13 types of color categories, and may have different categories by having other category classification criteria.

色情報解析用データベース7−13内の代表色は、色相角の平均でなくても良い。例えば、一般的に有名な色名を持つ色の色相角の数値を適用しても良い。   The representative color in the color information analysis database 7-13 may not be the average hue angle. For example, a numerical value of a hue angle of a color having a generally famous color name may be applied.

操作部7−14において、変換しない色を変換規則とは別に求めることができる。例えば実施例2の場合において、赤色だけでなく黄色も変えないという操作をすることができる。その場合、変換量が0となるようにする。   In the operation unit 7-14, a color that is not converted can be obtained separately from the conversion rule. For example, in the case of the second embodiment, an operation can be performed in which not only red but also yellow is not changed. In that case, the conversion amount is set to zero.

色変換部7−17において、実施例2では色相方向への変換を行ったが、色相のみでなく明度方向や彩度方法へも同じ方法で変換することができる。そのため、どの要素を変換するか、またその組み合わせによっても色変換の解を増やすことができる。   In the color conversion unit 7-17, the conversion in the hue direction is performed in the second embodiment. However, not only the hue but also the lightness direction and the saturation method can be converted by the same method. Therefore, the number of color conversion solutions can be increased depending on which elements are converted and combinations thereof.

(実施例3)
本発明の実施例3は、PC内で単独動作するアプリケーションとして実施される。
(Example 3)
The third embodiment of the present invention is implemented as an application that operates independently in a PC.

実施例3では、色の変換量に関する順序をすべて指定することができる。また、変換しない色を指定することができる。処理の流れは、初めに既に配色が済んでいる画像について画像内の全ピクセルのRGB値を取得する(図1のステップS11、図6のステップS21と同様)。次にRGB値から色空間の変換を行い(図1のステップS12、図6のステップS22と同様)、各ピクセルの色について、カテゴリ(色名)ごとに分類する(図1のステップS13、図6のステップS23と同様)。次にカテゴリ分けされた色について、操作手段から指定された順位に従って色の変換量の重み付けを行う(図1のステップS15、図6のステップS26と同様)。次に重み付けした変換量に従って色の変換を行い(図1のステップS16、図6のステップS27と同様)、その結果を表示する(図1のステップS17、図6のステップS28と同様)。   In the third embodiment, it is possible to specify all the orders regarding the color conversion amount. It is also possible to specify a color that is not converted. In the processing flow, the RGB values of all the pixels in the image are acquired for the image that has already been color-mixed first (similar to step S11 in FIG. 1 and step S21 in FIG. 6). Next, color space conversion is performed from the RGB values (similar to step S12 in FIG. 1 and step S22 in FIG. 6), and the color of each pixel is classified by category (color name) (step S13 in FIG. 1, FIG. 6 and step S23). Next, for the categorized colors, the color conversion amount is weighted according to the order specified by the operation means (similar to step S15 in FIG. 1 and step S26 in FIG. 6). Next, color conversion is performed according to the weighted conversion amount (similar to step S16 in FIG. 1 and step S27 in FIG. 6), and the result is displayed (similar to step S17 in FIG. 1 and step S28 in FIG. 6).

図9は本発明の実施例3である色変換装置9−1のブロック構成図である。図9において、本実施例3の色変換装置9−1は、例えばコンピュータにより構成され、画像取得手段としての画像取得部9−11、色情報解析手段としての色情報解析部9−12、色情報解析用データベース9−13、順位付け手段が有する第2の操作手段としての操作部9−14、変換量決定手段としての変換量決定部9−15、色変換手段としての色変換部9−16、表示手段としての表示部9−17とを備える。   FIG. 9 is a block diagram of a color conversion device 9-1 that is Embodiment 3 of the present invention. In FIG. 9, a color conversion device 9-1 according to the third embodiment is configured by a computer, for example, and includes an image acquisition unit 9-11 as an image acquisition unit, a color information analysis unit 9-12 as a color information analysis unit, and a color. Information analysis database 9-13, operation unit 9-14 as a second operation unit included in the ranking unit, conversion amount determination unit 9-15 as a conversion amount determination unit, and color conversion unit 9- as a color conversion unit 16, a display unit 9-17 as display means.

画像取得部9−11は電子的な画像ファイル9−2を取得し、画像内の全てのピクセルについてRGB値を取得する。画像取得部9−11と色情報解析部9−12の処理及び色情報データベース9−13の有する情報は実施例1と同じであるものとする。   The image acquisition unit 9-11 acquires an electronic image file 9-2, and acquires RGB values for all pixels in the image. The processing of the image acquisition unit 9-11 and the color information analysis unit 9-12 and the information included in the color information database 9-13 are the same as those in the first embodiment.

操作部9−14では色の変換量に関する順位付けを行う。画像上にある色カテゴリ全てに対し、変換量の重み付けの有無と、重み付け順位を決めることができる。重み付けに関する情報は変換量決定部9−15に送られる。   The operation unit 9-14 ranks the color conversion amount. Whether or not the conversion amount is weighted and the weighting order can be determined for all color categories on the image. Information on the weighting is sent to the conversion amount determination unit 9-15.

変換量決定部9−15では、操作部9−14で指定された色の順位に従って重み付けを決定する。重み付けの方法及び量は実施例1と同じであるとする。この時、操作部9−14において色の変換を行わないと決定した色は順位1位とみなすことで重み付けを0にする。重み付けに関する情報が色変換部9−16に送られる。   In the conversion amount determination unit 9-15, the weighting is determined in accordance with the order of the colors designated by the operation unit 9-14. Assume that the weighting method and amount are the same as those in the first embodiment. At this time, the color determined by the operation unit 9-14 not to perform color conversion is regarded as the first rank and the weight is set to zero. Information regarding weighting is sent to the color conversion unit 9-16.

色変換部9−16及び表示部9−17の処理は実施例1と同じものとする。   The processes of the color conversion unit 9-16 and the display unit 9-17 are the same as those in the first embodiment.

また、本実施形態の色変換装置における各手段の一部もしくは全部の機能をコンピュータのプログラムで構成し、そのプログラムをコンピュータを用いて実行して本発明を実現することができること、本実施形態の色変換方法における手順をコンピュータのプログラムで構成し、そのプログラムをコンピュータに実行させることができることは言うまでもなく、コンピュータでその機能を実現するためのプログラムを、そのコンピュータが読み取り可能な記録媒体、例えばFD(Floppy(登録商標) Disk)や、MO(Magneto−Optical disk)、ROM(Read Only Memory)、メモリカード、CD(Compact Disk)−ROM、DVD(Digital Versatile Disk)−ROM、CD−R,CD−RW,HDD,リムーバブルディスクなどに記録して、保存したり、配布したりすることが可能である。また、上記のプログラムをインターネットや電子メールなど、ネットワークを通して提供することも可能である。   In addition, a part or all of the functions of each unit in the color conversion apparatus of the present embodiment can be configured by a computer program, and the program can be executed using the computer to realize the present invention. It goes without saying that the procedure in the color conversion method can be constituted by a computer program and the program can be executed by the computer, and the program for realizing the function by the computer can be read by a computer-readable recording medium such as an FD. (Floppy (registered trademark) Disk), MO (Magneto-Optical disk), ROM (Read Only Memory), memory card, CD (Compact Disk) -ROM, DVD (Digital Versatile Disc) ) -ROM, CD-R, CD-RW, HDD, and recorded in a removable disk, storage or can be or distribute. It is also possible to provide the above program through a network such as the Internet or electronic mail.

本発明の実施例1における色変換装置の処理を示すフローチャートである。It is a flowchart which shows the process of the color conversion apparatus in Example 1 of this invention. 本発明の実施例1における色変換装置を示すブロック図である。1 is a block diagram illustrating a color conversion apparatus according to a first embodiment of the present invention. 本発明の実施例1における画像取得部および色情報解析部で生成される色情報の例を示す説明図である。It is explanatory drawing which shows the example of the color information produced | generated by the image acquisition part and color information analysis part in Example 1 of this invention. 本発明の実施例1における色情報解析用データベースが有する代表色の情報例を示す説明図である。It is explanatory drawing which shows the information example of the representative color which the database for color information analysis in Example 1 of this invention has. 本発明の実施例1における色情報解析部、順位算出部、変換量決定部、色変換部における処理の例を模式的に示した説明図である。It is explanatory drawing which showed typically the example of the process in the color information analysis part in Example 1 of this invention, an order | rank calculation part, the conversion amount determination part, and a color conversion part. 本発明の実施例2における色変換装置の処理を示すフローチャートである。It is a flowchart which shows the process of the color conversion apparatus in Example 2 of this invention. 本発明の実施例2における色変換装置を示すブロック図である。It is a block diagram which shows the color conversion apparatus in Example 2 of this invention. 本発明の実施例2における変換量決定部の処理を模式的に示した説明図である。It is explanatory drawing which showed typically the process of the conversion amount determination part in Example 2 of this invention. 本発明の実施例3における色変換装置を示すブロック図である。It is a block diagram which shows the color conversion apparatus in Example 3 of this invention.

符号の説明Explanation of symbols

2−1、7−1、9−1…色変換装置、2−2、7−2、9−2…画像ファイル、2−11、7−11、9−11…画像取得部、2−12、7−12、9−12…色情報解析部、2−13、7−13、9−13…色情報解析用データベース、2−14、7−15…順位算出部、2−15、7−16,9−15…変換量決定部、2−16、7−17,9−16…色変換部、2−17、7−18、9−17…表示部。7−14、9−14…操作部。 2-1, 7-1, 9-1 ... color conversion device, 2-2, 7-2, 9-2 ... image file, 2-11, 7-11, 9-11 ... image acquisition unit, 2-12 , 7-12, 9-12 ... color information analysis unit, 2-13, 7-13, 9-13 ... color information analysis database, 2-14, 7-15 ... rank calculation unit, 2-15, 7- 16, 9-15 ... conversion amount determination unit, 2-16, 7-17, 9-16 ... color conversion unit, 2-17, 7-18, 9-17 ... display unit. 7-14, 9-14... Operation unit.

Claims (3)

画像の色変換を行う色変換装置において、
対象画像を取得する画像取得手段と、
色カテゴリの分類基準に関する情報および各色カテゴリの代表色の情報が格納された色情報解析用データベースと、
前記画像取得手段によって取得された画像内の色の情報を解析し、前記色情報解析用データベースを参照して色カテゴリに分類する色情報解析手段と、
ピクセル数が最も多かった色カテゴリを背景色とし、各色カテゴリの誘目度を背景色の明度に基づいて算出し、誘目度によって色カテゴリの順位を決定する順位付け手段と、
前記色情報解析手段によってカテゴリ分けされた画像内の全ての色について、前記順位付け手段により決定された順位に従って、順位が低いほどに大きな変換量となるように色の変換量の重み付けを行う変換量決定手段と、
前記変換量決定手段により重み付けられた変換量に従って、特定の知覚軸に沿った正負の2種類の方向へ色の変換を行う色変換手段と、
前記色変換手段により変換された結果を表示する表示手段とを備えたことを特徴とする色変換装置。
In a color conversion device that performs color conversion of an image,
Image acquisition means for acquiring a target image;
A database for color information analysis in which information on classification criteria of color categories and information on representative colors of each color category are stored;
Analyzing color information in the image acquired by the image acquisition means, color information analysis means for classifying into color categories with reference to the color information analysis database;
A ranking unit that determines the color category having the largest number of pixels as a background color, calculates the degree of attraction of each color category based on the brightness of the background color, and determines the rank of the color category according to the degree of attraction.
A conversion that weights the amount of color conversion so that the lower the order, the larger the amount of conversion for all colors in the image categorized by the color information analysis unit according to the order determined by the ranking unit. A quantity determining means;
Color conversion means for performing color conversion in two positive and negative directions along a specific perceptual axis according to the conversion amount weighted by the conversion amount determination means;
A color conversion apparatus comprising: display means for displaying a result converted by the color conversion means.
画像の色変換を行う色変換方法において、
画像取得手段が対象画像を取得する画像取得ステップと、
色情報解析手段が、前記画像取得ステップによって取得された画像内の色の情報を解析し、色カテゴリの分類基準に関する情報および各色カテゴリの代表色の情報が格納された色情報解析用データベースを参照して色カテゴリに分類する色情報解析ステップと、
順位付け手段が、ピクセル数が最も多かった色カテゴリを背景色とし、各色カテゴリの誘目度を背景色の明度に基づいて算出し、誘目度によって色カテゴリの順位を決定する順位付けステップと、
変換量決定手段が、前記色情報解析ステップによってカテゴリ分けされた画像内の全ての色について、前記順位付けステップにより決定された順位に従って、順位が低いほどに大きな変換量となるように色の変換量の重み付けを行う変換量決定ステップと、
色変換手段が、前記変換量決定ステップにより重み付けられた変換量に従って、特定の知覚軸に沿った正負の2種類の方向へ色の変換を行う色変換ステップと、
表示手段が、前記色変換ステップにより変換された結果を表示する表示ステップとを備えたことを特徴とする色変換方法。
In a color conversion method for performing color conversion of an image,
An image acquisition step in which the image acquisition means acquires the target image;
The color information analysis means analyzes the color information in the image acquired by the image acquisition step, and refers to the color information analysis database in which information on the classification criteria of the color categories and information on the representative colors of each color category are stored Color information analysis step for classifying into color categories,
A ranking step in which the ranking means sets the color category having the largest number of pixels as the background color, calculates the degree of attraction of each color category based on the brightness of the background color, and determines the order of the color category according to the degree of attraction;
The conversion amount determining means converts the colors so that the lower the rank, the larger the amount of conversion for all the colors in the image categorized by the color information analysis step, according to the rank determined by the ranking step. A conversion amount determination step for weighting the amount;
A color conversion step in which color conversion means performs color conversion in two types of positive and negative directions along a specific perceptual axis according to the conversion amount weighted in the conversion amount determination step;
A color conversion method, wherein the display means comprises a display step for displaying the result converted by the color conversion step.
コンピュータを請求項1に記載の各手段として機能させる色変換プログラム。   A color conversion program for causing a computer to function as each means according to claim 1.
JP2008105558A 2008-04-15 2008-04-15 Color conversion apparatus, color conversion method, and color conversion program Active JP5096993B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008105558A JP5096993B2 (en) 2008-04-15 2008-04-15 Color conversion apparatus, color conversion method, and color conversion program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008105558A JP5096993B2 (en) 2008-04-15 2008-04-15 Color conversion apparatus, color conversion method, and color conversion program

Publications (2)

Publication Number Publication Date
JP2009260530A JP2009260530A (en) 2009-11-05
JP5096993B2 true JP5096993B2 (en) 2012-12-12

Family

ID=41387411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008105558A Active JP5096993B2 (en) 2008-04-15 2008-04-15 Color conversion apparatus, color conversion method, and color conversion program

Country Status (1)

Country Link
JP (1) JP5096993B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5266278B2 (en) * 2010-05-13 2013-08-21 日本電信電話株式会社 Color arrangement support device and color arrangement support program
JP5743142B2 (en) 2011-03-29 2015-07-01 ソニー株式会社 Image processing apparatus and method, and program
JP2013137609A (en) * 2011-12-28 2013-07-11 Nippon Telegr & Teleph Corp <Ntt> Coloration processing device and operation method thereof
JP6052277B2 (en) * 2012-02-29 2016-12-27 日本電気株式会社 Color arrangement determination device, color arrangement determination method, and color arrangement determination program
WO2013128523A1 (en) * 2012-02-29 2013-09-06 日本電気株式会社 Color-scheme alteration device, color-scheme alteration method, and color-scheme alteration program
JP6318513B2 (en) * 2013-09-17 2018-05-09 株式会社リコー Representative color extraction apparatus, representative color extraction method, program, and recording medium
SE538435C2 (en) * 2014-05-14 2016-06-28 Cellavision Ab Method, device and computer program product for determining colour transforms between images comprising a plurality of image elements
JP6662343B2 (en) * 2017-03-31 2020-03-11 京セラドキュメントソリューションズ株式会社 Manuscript analyzer

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000209449A (en) * 1999-01-13 2000-07-28 Mitsubishi Heavy Ind Ltd Color matching method and device
JP4724887B2 (en) * 2006-03-31 2011-07-13 独立行政法人産業技術総合研究所 Color correction program for universal design of visual information

Also Published As

Publication number Publication date
JP2009260530A (en) 2009-11-05

Similar Documents

Publication Publication Date Title
JP5096993B2 (en) Color conversion apparatus, color conversion method, and color conversion program
RU2693303C2 (en) Method and device for changing background colour of tool panel according to dominant colour of image
US10027903B2 (en) Method of arranging image filters, computer-readable storage medium on which method is stored, and electronic apparatus
JP5437150B2 (en) Method and system for highlighting topic elements in a chart having multiple contrast elements of multiple colors
JP4704224B2 (en) Album creating apparatus, album creating method, and program
JP4329475B2 (en) Decorative image selection
CN102893610A (en) Gamut compression for video display devices
CN105849685A (en) Editing options for image regions
CN1977542A (en) Dominant color extraction using perceptual rules to produce ambient light derived from video content
CN104902088A (en) Method and device for adjusting screen brightness of mobile terminal
CN101360250A (en) Immersion method and system, factor dominating method, content analysis method and scaling parameter prediction method
US8463026B2 (en) Automated identification of image outliers
US20130028512A1 (en) Video searching method
WO2013161086A1 (en) Image processing device, image processing device control method, program, and information storage medium
CN110673904A (en) Method, device and equipment for theme color processing and display page generation
Wang et al. In-image accessibility indication
JP5279085B2 (en) Color arrangement conversion apparatus and program
CN102447913B (en) Color migration processing method and system
Linhares et al. A chromatic diversity index based on complex scenes
CN110390919A (en) Show equipment and color processing method, device
JP5849815B2 (en) Content display device
JP5266278B2 (en) Color arrangement support device and color arrangement support program
US20070223020A1 (en) Hue Dividing and judging device
JP2012133195A (en) High visibility color presenting device, high visibility color presenting method and high visibility color presenting program
JP2012108721A (en) Image search device and image search method

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20100602

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100721

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111101

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120403

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120530

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120918

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120921

R150 Certificate of patent or registration of utility model

Ref document number: 5096993

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150928

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350