JP2014170395A - Color scheme evaluation device, color scheme evaluation method, and program - Google Patents

Color scheme evaluation device, color scheme evaluation method, and program Download PDF

Info

Publication number
JP2014170395A
JP2014170395A JP2013042018A JP2013042018A JP2014170395A JP 2014170395 A JP2014170395 A JP 2014170395A JP 2013042018 A JP2013042018 A JP 2013042018A JP 2013042018 A JP2013042018 A JP 2013042018A JP 2014170395 A JP2014170395 A JP 2014170395A
Authority
JP
Japan
Prior art keywords
component
color
degree
representative
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013042018A
Other languages
Japanese (ja)
Inventor
Azusa Yokomizo
あずさ 横溝
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2013042018A priority Critical patent/JP2014170395A/en
Publication of JP2014170395A publication Critical patent/JP2014170395A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a technology for evaluating, for each component, whether easiness of each of components included in an image to be conspicuous when compared with other components is matched with a degree of importance of each of components.SOLUTION: A color scheme information acquisition section 2020 acquires a combination of a color and a position of each of pixels included in an image. A component information acquisition section 2040 acquires a combination of an importance degree of each component and information specifying a pixel included in the component. A component representative color calculation section 2060 calculates a representative color of the components. A background element representative color calculation section 2080 calculates a representative color of background elements. An eye-catching degree calculation section 2100 uses the representative color of components and the representative color of background elements to calculate an eye-catching degree of the components. A color scheme validity determination section 2120 compares a relative importance degree resulting from comparing an importance degree of a component with an importance degree of the other component with a relative eye-catching degree resulting from an eye-catching degree of a component with the eye-catching degree of the other component to determine validity of a color scheme applied to the components.

Description

本発明は、配色評価装置、配色評価方法、及びプログラムに関する。   The present invention relates to a color arrangement evaluation device, a color arrangement evaluation method, and a program.

画像を作成する際、その画像を閲覧するユーザにとって重要な情報が目立つようにすることは、見やすい画像を作成するための基本的な手法である。画像において、各種情報は、画像内の部分的な領域によって表される。以下、この部分的な領域を構成要素と表記する。例えば、地図の画像における構成要素は、各建物や道路である。重要な構成要素に対して、目立ちやすい表現を施すことで、画像が見やすくなると考えられる。   When creating an image, making information important to the user viewing the image stand out is a basic technique for creating an easy-to-see image. In an image, various types of information are represented by partial areas in the image. Hereinafter, this partial area | region is described with a component. For example, the constituent elements in the map image are each building and road. It is thought that an image can be easily seen by giving a conspicuous expression to an important component.

構成要素に施される表現のうち、構成要素の目立ちやすさを左右する表現の一つとして、色が挙げられる。重要度の高い構成要素から順に、単体で見た場合において目立つ色を施していく方法は、一般的によく使われる。単体で見た場合において目立ちやすい色の例は、例えば赤色である。   Among the expressions applied to the constituent elements, color is one of the expressions that influence the conspicuousness of the constituent elements. In general, a method of giving a conspicuous color when viewed as a single unit in order from components having higher importance is commonly used. An example of a color that is conspicuous when viewed as a single unit is, for example, red.

しかし、単体で見た場合において目立つ色を、重要度の高い構成要素に施すだけでは、各構成要素の目立ち方が、画像の作成者の意図と異なってしまう場合がある。これは、画像内における、ある色の目立ちやすさは、その色を単体で見た場合の目立ちやすさだけでなく、画像に含まれる他の色と比較した場合の目立ちやすさにも左右されるためである。   However, simply applying a conspicuous color to a component having high importance when viewed as a single unit may cause the conspicuousness of each component to differ from the intention of the image creator. This is because the ease of conspicuousness of a certain color in an image depends not only on the conspicuousness of the color when viewed alone, but also on the conspicuousness when compared with other colors in the image. Because.

例えば、赤色は単体として目立ちやすい色である。しかし、画像内の多くの構成要素に同じ赤色を用いたり、マゼンダや橙などの近い系統の色を用いたりすると、赤色の目立ちやすさは低下してしまう。このように、画像に含める各構成要素に対する配色を決定するためには、画像全体としての色のバランスを考慮することが重要となる。   For example, red is a color that stands out as a simple substance. However, if the same red color is used for many components in the image, or if a close color such as magenta or orange is used, the conspicuousness of red will be reduced. Thus, in order to determine the color arrangement for each component included in the image, it is important to consider the color balance of the entire image.

画像に含まれる各構成要素の配色が、画像全体のバランスを考慮した配色になっているか否かを判断することは、色やデザインに関する専門的な知識を持たない人にとって困難な作業である。そこで、この判断を専門家に代わって行うことができる装置が求められている。   Determining whether the color scheme of each component included in the image is a color scheme that takes into account the balance of the entire image is a difficult task for those who do not have specialized knowledge about color or design. Therefore, there is a need for an apparatus that can make this determination on behalf of an expert.

非特許文献1に記載の技術は、優先度が異なる複数の構成要素を画面に表示する際の、各構成要素の色や面積などの設定方法を評価する技術である。この技術は、画面上の各構成要素の視覚的注意の引きやすさと優先度を考慮し、画面全体としての表示の適切さを、「表示達成度」という値として評価する。   The technique described in Non-Patent Document 1 is a technique for evaluating a setting method such as the color and area of each component when a plurality of components having different priorities are displayed on the screen. This technology considers the ease of visual attention and priority of each component on the screen, and evaluates the appropriateness of display as the entire screen as a value of “display achievement”.

非特許文献2に記載の技術は、画面中の各構成要素に使用されている各色の目立ちやすさを、色の単体としての目立ちやすさである特徴誘目度と、他の色と比較したときの目立ちやすさである異質性誘目度を考え合わせた誘目度評価モデルで算出している。   The technology described in Non-Patent Document 2 is the case where the conspicuousness of each color used for each component in the screen is compared with the feature attraction degree that is conspicuous as a single color and other colors It is calculated with an attractiveness evaluation model that takes into account the degree of heterogeneity that is the conspicuousness.

特許文献1に記載の技術は、文書中の領域の面積や重要度に応じて、色やハッチングの濃さに差をつけるように、各領域に装飾を施す技術である。   The technique described in Patent Document 1 is a technique for decorating each area so as to make a difference in color and hatching density according to the area and importance of the area in the document.

特開平09‐081761号公報JP 09-078661 A

菊田裕次、井上創造、岩井原瑞穂、「重要度と誘目性を考慮した大量情報の提示手法及び表示達成度を用いた評価について」、電子情報通信学会技術研究報告、pp. 41-48、2000 年 5 月 2 日Yuji Kikuta, Sozo Inoue, Mizuho Iwaihara, “About the presentation method of large amount of information considering importance and attractiveness and evaluation using display achievement”, IEICE technical report, pp. 41-48, 2000 May 2, 田中昭二、井口征士、岩館祐一、中津良平、「画像領域の物理的特徴に基づく誘目度評価モデル」、電子情報通信学会論文誌、Vol.J83-A、No.5、pp. 576-588、2000 年 5 月 25 日Shoji Tanaka, Seiji Iguchi, Yuichi Iwadate, Ryohei Nakatsu, “Estimation model based on physical characteristics of image area”, IEICE Transactions, Vol. J83-A, no. 5, pp. 576-588, May 25, 2000

本発明者は、画像全体で見た場合において、各構成要素の目立ちやすさと各構成要素の重要度とが一致するか否かを、構成要素ごとに評価する必要性を見いだした。画像の作成者は、その画像の配色が適切でないと分かった場合、その画像の配色を修正する必要がある。そのためには、「どの構成要素に対する配色が適切であり、どの構成要素に対する配色が適切でないのか」というように、各構成要素に対する配色の適切さを、個々に判定することが有用である。   The present inventor has found that it is necessary to evaluate for each component whether or not the conspicuousness of each component matches the importance of each component when viewed from the entire image. If the image creator finds that the color scheme of the image is not appropriate, he needs to correct the color scheme of the image. For that purpose, it is useful to individually determine the appropriateness of the color scheme for each component, such as “which component is suitable for color scheme and which component is not suitable for color scheme”.

非特許文献1に記載の技術は、画像に含まれる各構成要素それぞれについて、配色と重要度との一致度合いを個々に算出する方法を開示していない。非特許文献1記載の技術が算出する表示達成度は、画像全体の配色がどの程度適切であるかの度合いである。この技術は、各構成要素の目立ちやすさに、各構成要素の重要度を掛け合わせる重み付けを行うことで、表示達成度を算出する。そのためこの技術は、各構成要素と重要度との一致度合いの評価は行わない。したがって、表示達成度が低かった場合に、どの構成要素に対する配色を変更すればよいのかがわからない。   The technique described in Non-Patent Document 1 does not disclose a method for individually calculating the degree of coincidence between the color arrangement and the importance for each component included in the image. The display achievement calculated by the technique described in Non-Patent Document 1 is a degree of how appropriate the color scheme of the entire image is. In this technique, the degree of display achievement is calculated by performing weighting by multiplying the conspicuousness of each component by the importance of each component. Therefore, this technique does not evaluate the degree of coincidence between each component and importance. Therefore, when the display achievement level is low, it is not known which component color scheme should be changed.

非特許文献2に記載の技術では、画面中の各構成要素に使われている各色が画面全体の中でどの程度目立ちやすいかを評価することができる。しかし、各色がつけられた画面中の構成要素の意味や重要度は考慮しないため、各構成要素の目立ち方が、画面中の情報の意味や重要度に則して適切か否か判定できない。   With the technique described in Non-Patent Document 2, it is possible to evaluate how conspicuous each color used for each component in the screen is in the entire screen. However, since the meaning and importance of each component in the screen with each color are not taken into consideration, it cannot be determined whether the conspicuousness of each component is appropriate according to the meaning and importance of the information in the screen.

特許文献1に記載の技術は、文書中の各構成要素に対して、重要度が高いほど、単体として目立つ色を付ける色づけを行う。そのため、個々の領域の、単体としての目立ちやすさは調整されるものの、文書全体で見たときのバランスが考慮されていない。また、特許文献1に記載の技術は、重要度に従った配色を行う技術であり、画像の配色を評価することはできない。   The technique described in Japanese Patent Laid-Open No. 2004-228561 performs coloring to give a conspicuous color as a single unit as the degree of importance increases for each component in a document. For this reason, the stand-alone ease of each area is adjusted, but the balance when viewed in the entire document is not taken into consideration. Further, the technique described in Patent Document 1 is a technique for performing color arrangement according to importance, and cannot evaluate the color arrangement of an image.

本発明は、以上の課題に鑑みてなされたものである。本発明の目的は、画像に含まれる各構成要素の、他の構成要素と比較した場合における目立ちやすさと、各構成要素の重要度とが一致するか否かを、構成要素ごとに評価する技術を提供する。   The present invention has been made in view of the above problems. An object of the present invention is a technique for evaluating, for each component, whether or not each component included in an image is conspicuous when compared with other components and the importance of each component matches. I will provide a.

本発明が提供する配色評価装置は、評価対象画像に含まれる各ピクセルに対して、ピクセルの色及び位置の組み合わせを対応づけた情報である、配色情報を取得する、配色情報取得手段と、評価対象画像に含まれるピクセルのうち、隣接している複数のピクセルで構成される領域である構成要素に対して、該構成要素の重要度と、該構成要素に含まれるピクセルを特定するピクセル情報と、を対応づけた情報である構成要素情報を取得する、構成要素情報取得手段と、構成要素について、配色情報を用いて該構成要素に含まれる各ピクセルの色を取得し、各色と、該構成要素内において各色を持つピクセルの数との組み合わせに基づき、該構成要素の代表色を算出する、構成要素代表色算出手段と、構成要素に対応する背景要素について、配色情報を用いて該背景要素に含まれる各ピクセルの色を取得し、各色と、該背景要素において各色を持つピクセルの数との組み合わせに基づき、該背景要素の代表色を算出する、背景要素代表色算出手段と、構成要素の構成要素代表色と、該構成要素に対応する背景要素の背景代表色とに基づいて、該構成要素の、視覚的注意の引きやすさを示す値である誘目度を算出する、誘目度算出手段と、構成要素の重要度を該構成要素以外の各構成要素の重要度と比較した相対値である相対重要度と、該構成要素の誘目度を該構成要素以外の各構成要素の誘目度と比較した相対値である相対誘目度とを比較することで、該構成要素の配色が妥当であるか否かを判定する、配色妥当性判定手段と、を有する。ここで、構成要素に対応する背景要素は、該構成要素以外の領域であり、かつ該構成要素に隣接するピクセルを含む領域である。   A color arrangement evaluation apparatus provided by the present invention includes a color arrangement information acquisition unit that acquires color arrangement information, which is information in which a combination of a pixel color and a position is associated with each pixel included in an evaluation target image, and evaluation. Of the pixels included in the target image, for the component that is an area composed of a plurality of adjacent pixels, the importance of the component, and pixel information for specifying the pixel included in the component, , Component element information acquisition means for acquiring component element information, and for each component element, the color of each pixel included in the component element is acquired using the color arrangement information. Based on the combination with the number of pixels having each color in the element, the representative color calculation means for calculating the representative color of the constituent element and the background element corresponding to the constituent element are arranged. A background element representative that obtains the color of each pixel included in the background element using information and calculates a representative color of the background element based on a combination of each color and the number of pixels having each color in the background element Based on the color calculation means, the component representative color of the component, and the background representative color of the background element corresponding to the component, the degree of attraction that is a value indicating the ease of visual attention of the component The degree of attractiveness calculating means, the relative importance that is a relative value comparing the importance of the component with the importance of each component other than the component, and the attractiveness of the component other than the component And a color arrangement validity determining means for determining whether or not the color arrangement of the constituent elements is appropriate by comparing the relative attractiveness that is a relative value compared with the attractive degree of each of the constituent elements. Here, the background element corresponding to the component is a region other than the component and a region including pixels adjacent to the component.

本発明が提供するプログラムは、コンピュータに、本発明が提供する配色評価装置として動作する機能を持たせる。当該プログラムは、コンピュータに、上記配色評価装置が有する各機能構成部の機能を持たせる。   The program provided by the present invention causes a computer to have a function of operating as a color arrangement evaluation apparatus provided by the present invention. The program causes the computer to have the function of each functional component included in the color arrangement evaluation apparatus.

本発明が提供する配色評価方法は、コンピュータによって実行される。当該配色評価方法は、評価対象画像に含まれる各ピクセルに対して、ピクセルの色及び位置の組み合わせを対応づけた情報である、配色情報を取得する、配色情報取得ステップと、評価対象画像に含まれるピクセルのうち、隣接している複数のピクセルで構成される領域である構成要素に対して、該構成要素の重要度と、該構成要素に含まれるピクセルを特定するピクセル情報と、を対応づけた情報である構成要素情報を取得する、構成要素情報取得ステップと、構成要素について、配色情報を用いて該構成要素に含まれる各ピクセルの色を取得し、各色と、該構成要素内において各色を持つピクセルの数との組み合わせに基づき、該構成要素の代表色を算出する、構成要素代表色算出ステップと、構成要素に対応する背景要素について、配色情報を用いて該背景要素に含まれる各ピクセルの色を取得し、各色と、該背景要素において各色を持つピクセルの数との組み合わせに基づき、該背景要素の代表色を算出する、背景要素代表色算出ステップと、構成要素の構成要素代表色と、該構成要素に対応する背景要素の背景代表色とに基づいて、該構成要素の、視覚的注意の引きやすさを示す値である誘目度を算出する、誘目度算出ステップと、構成要素の重要度を該構成要素以外の各構成要素の重要度と比較した相対値である相対重要度と、該構成要素の誘目度を該構成要素以外の各構成要素の誘目度と比較した相対値である相対誘目度とを比較することで、該構成要素の配色が妥当であるか否かを判定する、配色妥当性判定ステップと、を有する。ここで、構成要素に対応する背景要素は、該構成要素以外の領域であり、かつ該構成要素に隣接するピクセルを含む領域である。   The color arrangement evaluation method provided by the present invention is executed by a computer. The color arrangement evaluation method includes a color arrangement information acquisition step of acquiring color arrangement information, which is information in which a combination of pixel color and position is associated with each pixel included in the evaluation target image, and is included in the evaluation target image. Among components that are regions composed of a plurality of adjacent pixels, the importance of the component is associated with pixel information that identifies the pixels included in the component The component information acquisition step for acquiring the component information that is the information obtained, the color of each pixel included in the component is acquired using the color arrangement information for the component, and each color and each color in the component Based on the combination with the number of pixels having a component, a representative color calculation step for calculating the representative color of the component and a background element corresponding to the component are arranged. A background element representative that obtains the color of each pixel included in the background element using information and calculates a representative color of the background element based on a combination of each color and the number of pixels having each color in the background element The degree of attraction that is a value indicating the ease of drawing visual attention of the component based on the color calculation step, the component representative color of the component, and the background representative color of the background element corresponding to the component An attractiveness calculating step, a relative importance that is a relative value comparing the importance of the component with the importance of each component other than the component, and the attractiveness of the component other than the component A coloration validity determination step of determining whether or not the coloration of the component is appropriate by comparing the degree of attractiveness that is a relative value compared with the degree of attractiveness of each of the components. Here, the background element corresponding to the component is a region other than the component and a region including pixels adjacent to the component.

本発明によれば、画像に含まれる各構成要素の、他の構成要素と比較した場合における目立ちやすさと、各構成要素の重要度とが一致するか否かを、構成要素ごとに評価する技術が提供される。   According to the present invention, a technique for evaluating, for each component, whether or not each component included in an image is conspicuous when compared with other components and the importance of each component matches. Is provided.

実施形態1に係る配色評価装置を示すブロック図である。1 is a block diagram illustrating a color arrangement evaluation device according to Embodiment 1. FIG. 配色情報マトリクスの構成を示す図である。It is a figure which shows the structure of a color scheme information matrix. 構成要素情報テーブルの構成を示す図である。It is a figure which shows the structure of a component information table. 配色評価装置のハードウエア構成を例示するブロック図である。It is a block diagram which illustrates the hardware constitutions of a color arrangement evaluation apparatus. 実施形態1に係る配色評価装置が行う処理の流れを示すフローチャートである。6 is a flowchart illustrating a flow of processing performed by the color arrangement evaluation device according to the first embodiment. 実施形態2に係る配色評価装置を示すブロック図である。It is a block diagram which shows the color scheme evaluation apparatus which concerns on Embodiment 2. FIG. 構成要素間の階層構造を例示する図である。It is a figure which illustrates the hierarchical structure between components. 実施例における評価対象画像を示す図である。It is a figure which shows the evaluation object image in an Example. 実施例における構成要素情報を示す図である。It is a figure which shows the component element information in an Example. 構成要素に含まれる色、及びその色のピクセルの数の組み合わせを含む、データ構造を示す図である。FIG. 6 is a diagram illustrating a data structure including a combination of colors included in a component and the number of pixels of that color. 構成要素代表色を含む、データ構造を示す図である。It is a figure which shows the data structure containing a component representative color. 背景要素に含まれる色、及びその色のピクセル数との組み合わせを含む、データ構造を示す図である。It is a figure which shows the data structure containing the combination with the color contained in a background element, and the pixel number of the color. 背景要素代表色を含む、データ構造を示す図である。It is a figure which shows the data structure containing a background element representative color. 誘目度を含む、データ構造を示す図である。It is a figure which shows the data structure containing a degree of attraction. 構成要素の相対重要度を含む、データ構造を示す図である。It is a figure which shows the data structure containing the relative importance of a component. 構成要素の相対誘目度を含む、データ構造を示す図である。It is a figure which shows the data structure containing the relative attractiveness of a component. 配色妥当性判定部による判定結果を含む、データ構造を示す図である。It is a figure which shows the data structure containing the determination result by the color scheme appropriateness determination part. 配色評価装置による評価結果を示すグラフである。It is a graph which shows the evaluation result by a color arrangement evaluation apparatus.

以下、本発明の実施の形態について、図面を用いて説明する。尚、すべての図面において、同様な構成要素には同様の符号を付し、適宜説明を省略する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In all the drawings, the same reference numerals are given to the same components, and the description will be omitted as appropriate.

[実施形態1]
図1は、実施形態1に係る配色評価装置2000を示すブロック図である。図1において、矢印の流れは情報の流れを示している。また、図1において、各ブロックは、ハードウエア単位の構成ではなく、機能単位の構成を示している。
[Embodiment 1]
FIG. 1 is a block diagram illustrating a color arrangement evaluation apparatus 2000 according to the first embodiment. In FIG. 1, the flow of arrows indicates the flow of information. Further, in FIG. 1, each block shows a functional unit configuration, not a hardware unit configuration.

配色評価装置2000は、評価対象画像に含まれる各要素の配色の妥当性を判定する。評価対象画像は、複数のピクセルで構成される情報である。例えば、評価対象画像は、地図やイラスト等の画像である。その他にも例えば、評価対象画像は、ディスプレイに表示される画面である。また、評価対象画像が、ディスプレイに表示される画面である場合、評価対象画像は、ディスプレイの大きさより大きくても構わない。例えば、Web ブラウザで Web ページを閲覧する場合、Web ページの大きさがディスプレイの大きさよりも大きいため、Web ページの一部しかディスプレイに表示されない場合がある。この場合、評価対象画像は、Web ページのうち、ディスプレイに表示されている部分のみでもよいし、ディスプレイに表示されていない部分も含めた、Web ページ全体でもよい。   The color arrangement evaluation apparatus 2000 determines the validity of the color arrangement of each element included in the evaluation target image. The evaluation target image is information composed of a plurality of pixels. For example, the evaluation target image is an image such as a map or an illustration. In addition, for example, the evaluation target image is a screen displayed on the display. When the evaluation target image is a screen displayed on the display, the evaluation target image may be larger than the size of the display. For example, when browsing a web page with a web browser, the size of the web page may be larger than the size of the display, so that only part of the web page may be displayed on the display. In this case, the evaluation target image may be only a portion of the web page displayed on the display or the entire web page including a portion not displayed on the display.

<配色情報取得部2020>
配色評価装置2000は、配色情報取得部2020を有する。配色情報取得部2020は、配色情報を取得する。配色情報は、評価対象画像に含まれる各ピクセルに対して、ピクセルの色と、評価対象画像内におけるピクセルの位置との組み合わせを、対応づけた情報である。ピクセルの位置は、例えば、画像の水平方向をX座標、画像の垂直方向をY座標として表した場合における、ピクセルの座標である。
<Color scheme information acquisition unit 2020>
The color arrangement evaluation apparatus 2000 includes a color arrangement information acquisition unit 2020. The color arrangement information acquisition unit 2020 acquires color arrangement information. The color arrangement information is information in which a combination of a pixel color and a pixel position in the evaluation target image is associated with each pixel included in the evaluation target image. The pixel position is, for example, the pixel coordinate when the horizontal direction of the image is represented as an X coordinate and the vertical direction of the image is represented as a Y coordinate.

配色情報は、例えば各ピクセルの ID に対して、ピクセルの位置及び色を対応づける。ここで、各ピクセルは、画像内の位置によって一意に特定することができる。そこで、配色情報は、ピクセルの位置をピクセルの ID として扱ってもよい。この場合、配色情報は、ピクセルの位置と、その位置で特定されるピクセルの色を対応づけた情報である。   In the color arrangement information, for example, the position and color of the pixel are associated with the ID of each pixel. Here, each pixel can be uniquely identified by its position in the image. Therefore, the color arrangement information may treat the pixel position as the pixel ID. In this case, the color arrangement information is information in which the position of the pixel is associated with the color of the pixel specified at the position.

例えば配色情報は、図2に示す配色情報マトリクス100で表される。この配色情報マトリクスは、ピクセルの位置を、「X座標、Y座標」の組み合わせで表す。そして、配色情報マトリクスは、ピクセルの位置に対応するマトリクス要素に、そのピクセルの色を示す。例えば図2において、「X座標=0、Y座標=0」であるマトリクス要素は、#FFFFFF を示している。これは、位置が「X座標=0、Y座標=0」であるピクセルの色が #FFFFFF であることを示している。   For example, the color arrangement information is represented by a color arrangement information matrix 100 shown in FIG. This color arrangement information matrix represents the position of a pixel by a combination of “X coordinate, Y coordinate”. The color arrangement information matrix indicates the color of the pixel in a matrix element corresponding to the position of the pixel. For example, in FIG. 2, the matrix element with “X coordinate = 0, Y coordinate = 0” indicates #FFFFFF. This indicates that the color of the pixel whose position is “X coordinate = 0, Y coordinate = 0” is #FFFFFF.

例えば配色情報取得部2020が取得する配色情報は、評価対象画像を表す画像データである。例えば画像データは、JPEG 画像や bitmap 画像などの形式のデータである。一般に画像データは、画像を構成する各ピクセルの色を示す情報を持つ。したがって、配色情報取得部2020は、評価対象画像を表す画像データを、評価対象画像の配色情報として扱うことができる。   For example, the color arrangement information acquired by the color arrangement information acquisition unit 2020 is image data representing an evaluation target image. For example, the image data is data in a format such as a JPEG image or a bitmap image. Generally, image data has information indicating the color of each pixel constituting the image. Therefore, the color arrangement information acquisition unit 2020 can handle image data representing the evaluation target image as color arrangement information of the evaluation target image.

また、評価対象画像がディスプレイに表示される画面である場合、配色情報取得部2020が取得する情報は、その画面を構成する各ピクセルの情報である。例えば、画面に表示する各ピクセルの情報は、ビデオメモリに格納されている。この場合、配色情報取得部2020は、ビデオメモリから、評価対象画像である画面を構成する各ピクセルの情報を取得して、配色情報として扱う。   Further, when the evaluation target image is a screen displayed on the display, the information acquired by the color arrangement information acquisition unit 2020 is information of each pixel constituting the screen. For example, information of each pixel displayed on the screen is stored in the video memory. In this case, the color arrangement information acquisition unit 2020 acquires information on each pixel constituting the screen, which is the evaluation target image, from the video memory, and handles the information as color arrangement information.

配色情報は、上述した形式の情報に限定されない。配色情報取得部2020は、評価対象画像を表す画像データや、ビデオメモリ上に格納されているピクセルの情報ではなく、評価対象画像に基づいて別途作成された配色情報を取得してもよい。   The color arrangement information is not limited to the information in the above format. The color arrangement information acquisition unit 2020 may acquire color arrangement information created separately based on the evaluation target image instead of the image data representing the evaluation target image or the pixel information stored in the video memory.

配色情報取得部2020は、配色評価装置2000の内部に格納されている配色情報を取得してもよいし、その他の装置から配色情報を取得してもよいし、手動で入力された配色情報を取得してもよい。   The color arrangement information acquisition unit 2020 may acquire color arrangement information stored in the color arrangement evaluation apparatus 2000, may acquire color arrangement information from another apparatus, or may be manually input color arrangement information. You may get it.

<構成要素情報取得部2040>
配色評価装置2000は、構成要素情報取得部2040を有する。構成要素情報取得部2040は、構成要素情報を取得する。構成要素情報は、評価対象画像に含まれる各構成要素に関する情報である。構成要素は、評価対象画像に含まれるピクセルのうち、隣接している複数のピクセルで構成される領域である。例えば、評価対象画像が地図である場合、評価対象画像は、道路や建物などをそれぞれ表す、複数の領域を持つ。このように、構成要素は、評価対象画像に含まれる領域である。
<Constituent element information acquisition unit 2040>
The color arrangement evaluation apparatus 2000 includes a component element information acquisition unit 2040. The component element information acquisition unit 2040 acquires component element information. The component information is information regarding each component included in the evaluation target image. The component is an area composed of a plurality of adjacent pixels among the pixels included in the evaluation target image. For example, when the evaluation target image is a map, the evaluation target image has a plurality of areas each representing a road or a building. Thus, the component is a region included in the evaluation target image.

構成要素情報は、構成要素に対して、その構成要素に含まれるピクセルを特定するピクセル情報、及びその構成要素の重要度を対応づけた情報である。ピクセル情報は、例えば、構成要素の位置と形状を示す情報である。この場合、ピクセル情報は、例えば、「左上の座標が (10,10) であり、右下の座標が (20,20) であり、形状が長方形」という情報である。この情報により、構成要素が、評価対象画像内のどの領域かが分かる。その他にも例えば、ピクセル情報は、構成要素に含まれる全てのピクセルの ID を示す。   The component information is information in which the component information is associated with pixel information that identifies pixels included in the component and importance of the component. Pixel information is information which shows the position and shape of a component, for example. In this case, the pixel information is, for example, information that “the upper left coordinate is (10,10), the lower right coordinate is (20,20), and the shape is a rectangle”. With this information, it is possible to know which region in the evaluation target image the component is. In addition, for example, the pixel information indicates IDs of all the pixels included in the component.

構成要素の重要度は、評価対象画像における、その構成要素の重要度合いを示す。構成要素の重要度は、例えば、評価対象画像を閲覧するユーザにとって、各構成要素がどの程度重要なものであるかという観点で設定される。構成要素の重要度は、例えば、「100点」や「30点」などといった点数で表現される。その他にも例えば、構成要素の重要度は、ある構成要素の重要度を0として、「+1」や「−3」といった値で表現される。ただし、構成要素の重要度の表し方は、上述の例に限定されない。   The importance of the component indicates the importance of the component in the evaluation target image. The importance of the component is set, for example, from the viewpoint of how important each component is for the user who browses the evaluation target image. The importance of the component is expressed by a score such as “100 points” or “30 points”, for example. In addition, for example, the importance of a component is represented by a value such as “+1” or “−3”, where the importance of a certain component is 0. However, the way of expressing the importance of the component is not limited to the above example.

例えば構成要素情報は、図3に示す構成要素情報テーブル200で表される。構成要素情報テーブル200は、構成要素 ID 202、ピクセル情報204、及び重要度206を有する。構成要素 ID 202は構成要素の ID を示す。ピクセル情報204は、前述したピクセル情報を示す。図3において、ピクセル情報は、構成要素に含まれる各ピクセルの位置を示している。重要度206は、構成要素の重要度を示している。図3において、重要度は、0〜100の間の数値で表されている。   For example, the constituent element information is represented by a constituent element information table 200 shown in FIG. The component information table 200 has a component ID 202, pixel information 204, and importance 206. The component ID 202 indicates the ID of the component. Pixel information 204 indicates the pixel information described above. In FIG. 3, the pixel information indicates the position of each pixel included in the component. The importance 206 indicates the importance of the component. In FIG. 3, the importance is represented by a numerical value between 0 and 100.

構成要素情報取得部2040は、配色評価装置2000に予め格納されている構成要素情報を取得してもよいし、別の装置から構成要素情報を取得してもよいし、人手によって入力された構成要素情報を取得してもよい。   The constituent element information acquisition unit 2040 may acquire constituent element information stored in advance in the color arrangement evaluation apparatus 2000, may acquire constituent element information from another apparatus, or may be configured manually. Element information may be acquired.

<構成要素代表色算出部2060>
配色評価装置2000は、構成要素代表色算出部2060を有する。構成要素代表色算出部2060は、構成要素の代表色を算出する。ある領域の代表色は、例えば、その領域を1つの色で表そうとした場合に、その領域を最も的確に表すと考えられる色である。したがって、構成要素の代表色は、その構成要素を最も的確に表す1つの色である。代表色の具体例については、後述する。
<Constituent element representative color calculation unit 2060>
The color arrangement evaluation apparatus 2000 includes a component representative color calculation unit 2060. The component representative color calculation unit 2060 calculates a representative color of the component. The representative color of a certain area is, for example, a color that is considered to most accurately represent the area when the area is represented by one color. Therefore, the representative color of the component is one color that most accurately represents the component. Specific examples of representative colors will be described later.

構成要素代表色算出部2060は、算出対象の構成要素に対応する構成要素情報を取得する。次に、構成要素代表色算出部2060は、算出対象の構成要素に含まれる各ピクセルに対応する配色情報を取得する。さらに、構成要素代表色算出部2060は、算出対象の構成要素に含まれる色と、この構成要素において各色を持つピクセルの数との組み合わせを算出する。この組み合わせは例えば、「#FFFFFF、100 ピクセル」や「#0000E0、30 ピクセル」などの組み合わせである。そして、構成要素代表色算出部2060は、この組み合わせに基づいて、算出対象の構成要素の代表色を算出する。   The constituent element representative color calculation unit 2060 acquires constituent element information corresponding to the constituent element to be calculated. Next, the component representative color calculation unit 2060 obtains color arrangement information corresponding to each pixel included in the calculation target component. Further, the component representative color calculation unit 2060 calculates a combination of the color included in the component to be calculated and the number of pixels having each color in the component. This combination is, for example, a combination such as “#FFFFFF, 100 pixels” or “# 0000E0, 30 pixels”. Then, the component representative color calculation unit 2060 calculates the representative color of the component to be calculated based on this combination.

<背景要素代表色算出部2080>
配色評価装置2000は、背景要素代表色算出部2080を有する。背景要素代表色算出部2080は、背景代表色を算出する。背景代表色は、構成要素の背景要素の代表色である。構成要素の背景要素は、評価対象画像に含まれるピクセルのうち、その構成要素に含まれないピクセルから構成される領域である。さらに、構成要素の背景要素は、その構成要素に隣接するピクセルを含む。
<Background Element Representative Color Calculation Unit 2080>
The color arrangement evaluation apparatus 2000 includes a background element representative color calculation unit 2080. The background element representative color calculation unit 2080 calculates a background representative color. The background representative color is a representative color of the background element of the component. The background element of the component is a region composed of pixels not included in the component among the pixels included in the evaluation target image. In addition, the background element of a component includes a pixel adjacent to the component.

背景要素代表色算出部2080は、構成要素代表色算出部2060が構成要素代表色を算出する方法と同様の方法で、背景要素の代表色を算出する。具体的には、背景要素代表色算出部2080は、構成要素情報及び配色情報を用い、背景要素に含まれる各色と、背景要素において各色が使われているピクセルの数との組み合わせを算出する。そして、この算出結果に基づいて、背景要素代表色算出部2080は、背景要素代表色を算出する。   The background element representative color calculation unit 2080 calculates the representative color of the background element by a method similar to the method by which the component element representative color calculation unit 2060 calculates the component element representative color. Specifically, the background element representative color calculation unit 2080 calculates the combination of each color included in the background element and the number of pixels in which each color is used in the background element, using the component element information and the color arrangement information. Based on this calculation result, the background element representative color calculation unit 2080 calculates a background element representative color.

<誘目度算出部2100>
配色評価装置2000は、誘目度算出部2100を有する。誘目度算出部2100は、
構成要素の構成要素代表色と、その構成要素に対応する背景要素の背景代表色とに基づいて、その構成要素の誘目度を算出する。構成要素の誘目度は、構成要素の、視覚的注意の引きやすさを示す値である。
<Attraction calculation unit 2100>
The color arrangement evaluation apparatus 2000 includes an attractiveness calculation unit 2100. The attractiveness calculation unit 2100
Based on the constituent element representative color of the constituent element and the background representative color of the background element corresponding to the constituent element, the degree of attraction of the constituent element is calculated. The degree of attraction of a component is a value indicating the ease of visual attention of the component.

<配色妥当性判定部2120>
配色評価装置2000は、配色妥当性判定部2120を有する。配色妥当性判定部2120は、ある構成要素の重要度合いと、その構成要素の誘目度合いとが一致する場合に、その構成要素に施してある配色が妥当であると判定する。以下、具体的に説明する。
<Color scheme appropriateness determination unit 2120>
The color arrangement evaluation apparatus 2000 includes a color arrangement appropriateness determination unit 2120. The color scheme appropriateness determining unit 2120 determines that the color scheme applied to the constituent element is appropriate when the importance degree of the constituent element matches the attracting degree of the constituent element. This will be specifically described below.

配色妥当性判定部2120は、上記判定に、相対重要度を用いる。相対重要度は、判定対象の構成要素の重要度を、他の各構成要素の重要度と比較した相対値である。   The color scheme appropriateness determination unit 2120 uses relative importance for the determination. The relative importance is a relative value obtained by comparing the importance of the determination target component with the importance of each of the other components.

また、配色妥当性判定部2120は、上記判定に、相対誘目度を用いる。相対誘目度は、判定対象の構成要素の誘目度を、他の各構成要素の誘目度と比較した相対値である。   In addition, the coloration appropriateness determination unit 2120 uses the relative attractiveness for the determination. The relative attractiveness is a relative value obtained by comparing the attractiveness of the component to be determined with the attractiveness of the other components.

配色妥当性判定部2120は、構成要素について、相対重要度と相対誘目度とを比較し、相対重要度によって示される重要度合いと、相対誘目度によって示される誘目度合いとが一致する場合に、その構成要素に施された配色が妥当であると判定する。   The color scheme appropriateness determination unit 2120 compares the relative importance and the relative attractiveness of the constituent elements, and when the importance indicated by the relative importance matches the attractiveness indicated by the relative attractiveness, It is determined that the color scheme applied to the component is appropriate.

<ハードウエア構成>
配色評価装置2000が有する各機能構成部は、例えば、個々に又は複数組み合わせられた状態で、少なくとも1つのハードウエア構成要素として実現される。その他にも例えば、各機能構成部は、少なくとも1つのソフトウエア構成要素として実現される。その他にも例えば、各機能構成部は、ハードウエア構成要素とソフトウエア構成要素の組み合わせにより実現される。
<Hardware configuration>
Each functional component included in the color arrangement evaluation apparatus 2000 is realized as at least one hardware component, for example, individually or in a combined state. In addition, for example, each functional component is realized as at least one software component. In addition, for example, each functional component is realized by a combination of hardware components and software components.

図4は、配色評価装置2000のハードウエア構成を例示するブロック図である。図4において、配色評価装置2000は、バス1020、プロセッサ1040、メモリ1060、及びストレージ1080を有する。ただし、配色評価装置2000のハードウエア構成は、図4に示す構成に限定されない。   FIG. 4 is a block diagram illustrating a hardware configuration of the color arrangement evaluation apparatus 2000. In FIG. 4, the color arrangement evaluation apparatus 2000 includes a bus 1020, a processor 1040, a memory 1060, and a storage 1080. However, the hardware configuration of the color arrangement evaluation apparatus 2000 is not limited to the configuration shown in FIG.

バス1020は、プロセッサ1040、メモリ1060、及びストレージ1080が、相互にデータを送受信するためのデータ伝送路である。プロセッサ1040は、例えば CPU (Central Processing Unit) や GPU (Graphics Processing Unit) などの演算処理装置である。メモリ1060は、例えば RAM (Random Access Memory) や ROM (Read Only Memory) などのメモリである。ストレージ1080は、例えばハードディスク、USB (Universal Serial Bus) メモリ、又は SSD (Solid State Drive) などの記憶装置である。また、ストレージ1080は、RAM や ROM 等のメモリであってもよい。   The bus 1020 is a data transmission path for the processor 1040, the memory 1060, and the storage 1080 to transmit / receive data to / from each other. The processor 1040 is an arithmetic processing unit such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit). The memory 1060 is a memory such as a RAM (Random Access Memory) or a ROM (Read Only Memory). The storage 1080 is a storage device such as a hard disk, a USB (Universal Serial Bus) memory, or an SSD (Solid State Drive). The storage 1080 may be a memory such as a RAM or a ROM.

配色情報取得モジュール1220は、配色評価装置2000に、配色情報取得部2020の機能を持たせるためのプログラムである。プロセッサ1040は、配色情報取得モジュール1220を実行することで、配色情報取得部2020の機能を実現する。   The color arrangement information acquisition module 1220 is a program for causing the color arrangement evaluation device 2000 to have the function of the color arrangement information acquisition unit 2020. The processor 1040 implements the function of the color arrangement information acquisition unit 2020 by executing the color arrangement information acquisition module 1220.

構成要素情報取得モジュール1240は、配色評価装置2000に、構成要素情報取得部2040の機能を持たせるためのプログラムである。プロセッサ1040は、構成要素情報取得モジュール1240を実行することで、構成要素情報取得部2040の機能を実現する。   The component element information acquisition module 1240 is a program for causing the color arrangement evaluation apparatus 2000 to have the function of the component element information acquisition unit 2040. The processor 1040 implements the function of the component information acquisition unit 2040 by executing the component information acquisition module 1240.

構成要素代表色算出モジュール1260は、配色評価装置2000に、構成要素代表色算出部2060の機能を持たせるためのプログラムである。プロセッサ1040は、構成要素代表色算出モジュール1260を実行することで、構成要素代表色算出部2060の機能を実現する。   The component element representative color calculation module 1260 is a program for causing the color arrangement evaluation apparatus 2000 to have the function of the component element representative color calculation unit 2060. The processor 1040 implements the function of the component representative color calculation unit 2060 by executing the component representative color calculation module 1260.

背景要素代表色算出モジュール1280は、配色評価装置2000に、背景要素代表色算出部2080の機能を持たせるためのプログラムである。プロセッサ1040は、背景要素代表色算出モジュール1280を実行することで、背景要素代表色算出部2080の機能を実現する。   The background element representative color calculation module 1280 is a program for causing the color arrangement evaluation apparatus 2000 to have the function of the background element representative color calculation unit 2080. The processor 1040 executes the background element representative color calculation module 1280 to realize the function of the background element representative color calculation unit 2080.

誘目度算出モジュール1300は、配色評価装置2000に、誘目度算出部2100の機能を持たせるためのプログラムである。プロセッサ1040は、誘目度算出モジュール1300を実行することで、誘目度算出部2100の機能を実現する。   The attractiveness calculation module 1300 is a program for causing the color arrangement evaluation device 2000 to have the function of the attractiveness calculation unit 2100. The processor 1040 implements the function of the attraction level calculation unit 2100 by executing the attraction level calculation module 1300.

配色妥当性判定モジュール1320は、配色評価装置2000に、配色妥当性判定部2120の機能を持たせるためのプログラムである。プロセッサ1040は、配色妥当性判定モジュール1320を実行することで、配色妥当性判定部2120の機能を実現する。   The color arrangement validity determination module 1320 is a program for causing the color arrangement evaluation apparatus 2000 to have the function of the color arrangement appropriateness determination unit 2120. The processor 1040 implements the function of the color scheme appropriateness determination unit 2120 by executing the color scheme appropriateness determination module 1320.

<処理の流れ>
図5は、実施形態1に係る配色評価装置2000が行う処理の流れを示すフローチャートである。図5において、配色評価装置2000は、構成要素iに施された配色が妥当である否かを判定する。
<Process flow>
FIG. 5 is a flowchart showing a flow of processing performed by the color arrangement evaluation apparatus 2000 according to the first embodiment. In FIG. 5, the color arrangement evaluation device 2000 determines whether or not the color arrangement applied to the component i is appropriate.

ステップS102において、配色情報取得部2020は、配色情報を取得する。ステップS104において、構成要素情報取得部2040は、各構成要素の構成要素情報を取得する。   In step S102, the color arrangement information acquisition unit 2020 acquires color arrangement information. In step S104, the component element information acquisition unit 2040 acquires component element information of each component element.

ステップS106〜S114は、評価対象画像に含まれる各構成要素それぞれについて行うループ処理Aである。ステップS106において、配色評価装置2000は、全ての構成要素を対象として、ループ処理Aを行ったか否かを判定する。全ての構成要素について、ループ処理Aを行った場合、図4の処理は、ステップS116に進む。一方、まだループ処理Aの対象としていない構成要素がある場合、配色評価装置2000は、その中から1つを選ぶ。ここで、選ばれた構成要素を、構成要素jと表記する。   Steps S106 to S114 are loop processing A performed for each component included in the evaluation target image. In step S106, the color arrangement evaluation apparatus 2000 determines whether or not the loop process A has been performed on all the components. When the loop process A is performed for all the components, the process in FIG. 4 proceeds to step S116. On the other hand, when there is a component that is not yet the object of the loop processing A, the color arrangement evaluation apparatus 2000 selects one of them. Here, the selected component is denoted as component j.

ステップS108において、構成要素代表色算出部2060は、構成要素jの代表色を算出する。ステップS110において、背景要素代表色算出部2080は、構成要素jの背景要素の背景要素代表色を算出する。ステップS112において、誘目度算出部2100は、構成要素jの誘目度を算出する。   In step S108, the constituent element representative color calculation unit 2060 calculates the representative color of the constituent element j. In step S110, the background element representative color calculation unit 2080 calculates the background element representative color of the background element of the component j. In step S112, the attractiveness calculation unit 2100 calculates the attractiveness of the component j.

ステップS114は、ループ処理Aの終端である。図4の処理は、ステップS106に戻る。   Step S114 is the end of loop processing A. The processing in FIG. 4 returns to step S106.

ステップS116において、配色妥当性判定部2120は、構成要素iの配色が妥当であるか否かを判定する。   In step S116, the color arrangement validity determination unit 2120 determines whether or not the color arrangement of the component i is appropriate.

ここで、配色妥当性判定部2120は、配色評価装置2000に含まれている複数の構成要素それぞれについて、配色の妥当性を判定してもよい。この場合、配色妥当性判定部2120は、ステップS116の処理を、上記複数の構成要素それぞれについて行う。   Here, the color arrangement appropriateness determination unit 2120 may determine the adequacy of the color arrangement for each of a plurality of components included in the color arrangement evaluation apparatus 2000. In this case, the color scheme appropriateness determining unit 2120 performs the process of step S116 for each of the plurality of components.

以上の構成により、配色評価装置2000によれば、評価対象画像に含まれる構成要素の重要度と、その構成要素の目立ちやすさの度合い(誘目度)とが一致している場合に、構成要素に施された配色が妥当であると判断される。これにより、評価対象画像に含まれる各構成要素に対して、重要度に合致した配色が施されているか否かを知ることができる。   With the above configuration, according to the color arrangement evaluation apparatus 2000, when the importance of the component included in the evaluation target image matches the degree of conspicuousness (attraction degree) of the component, the component It is judged that the color scheme applied to is appropriate. Thereby, it is possible to know whether or not each component included in the evaluation target image has a color scheme that matches the importance.

以下、本実施形態の配色評価装置2000について、さらに詳細を説明する。   Hereinafter, the color arrangement evaluation apparatus 2000 of this embodiment will be described in further detail.

<誘目度の算出方法の詳細>
誘目度算出部2100が誘目度を算出する具体的な方法を説明する。例えば誘目度算出部2100は、構成要素単体としての視覚的注意の引きやすさを示す値を算出し、算出した値を、その構成要素の誘目度とする。以下、構成要素単体としての視覚的注意の引きやすさを示す値を、単体誘目度と表記する。
<Details of how to calculate the degree of attraction>
A specific method by which the attraction degree calculation unit 2100 calculates the attraction degree will be described. For example, the degree-of-attraction calculation unit 2100 calculates a value indicating the ease of visual attention as a component, and sets the calculated value as the degree of attraction of the component. Hereinafter, a value indicating the ease of drawing visual attention as a single component will be referred to as a single attraction degree.

誘目度算出部2100は、構成要素の単体誘目度を、その構成要素の構成要素代表色、及びその構成要素の背景要素の背景要素代表色を用いて算出する。例えば、誘目度算出部2100は、構成要素代表色の色相、明度、及び彩度と、背景代表色の明度を用いて、構成要素の単体誘目度を算出する。その具体的な方法は、例えば以下のようになる。   The attractiveness calculation unit 2100 calculates the single attractiveness of a component using the component representative color of the component and the background element representative color of the background of the component. For example, the attractiveness calculating unit 2100 calculates the single attractiveness of the component using the hue, brightness, and saturation of the component representative color and the brightness of the background representative color. The specific method is as follows, for example.

まず、誘目度算出部2100は、構成要素代表色を、 HLS 表色系に変換する。そして、誘目度算出部2100は、構成要素代表色の色相 H に起因する目立ちやすさ Heを、数式1を用いて算出する。

Figure 2014170395
First, the attractiveness calculation unit 2100 converts the component representative colors into the HLS color system. Then, the attractiveness calculation unit 2100 calculates the conspicuousness He caused by the hue H of the component representative color using Equation 1.
Figure 2014170395

また、誘目度算出部2100は、構成要素代表色の明度 L に起因する目立ちやすさ R を、数式2を用いて算出する。数式3において、LB は、背景要素代表色の明度である。また、数式2において、k、m、及び n は定数である。例えば、誘目度算出部2100は、k=0.65、m=0.4、及び n=0.2 を用いる。

Figure 2014170395
Further, the attractiveness calculating unit 2100 calculates the conspicuousness R resulting from the lightness L of the component representative color using Expression 2. In Equation 3, LB is the brightness of the background element representative color. In Equation 2, k, m, and n are constants. For example, the attractiveness calculation unit 2100 uses k = 0.65, m = 0.4, and n = 0.2.
Figure 2014170395

そして、誘目度算出部2100は、構成要素の単体誘目度 PC を、数式3を用いて算出する。S は、構成要素代表色の彩度である。

Figure 2014170395
Then, the attractiveness calculation unit 2100 calculates the single attractiveness PC of the component using Equation 3. S is the saturation of the component representative color.
Figure 2014170395

<代表色の算出方法の詳細>
構成要素代表色算出部2060及び背景要素代表色算出部2080が、代表色を算出する具体的な方法を説明する。ここで、構成要素代表色算出部2060と背景要素代表色算出部2080は、同様の方法で、代表色を算出する。以下では、構成要素代表色算出部2060が行う、構成要素代表色の算出方法を例に説明する。
<Details of representative color calculation method>
A specific method in which the component element representative color calculation unit 2060 and the background element representative color calculation unit 2080 calculate a representative color will be described. Here, the component element representative color calculation unit 2060 and the background element representative color calculation unit 2080 calculate a representative color by the same method. Hereinafter, a method for calculating the component representative color performed by the component representative color calculation unit 2060 will be described as an example.

例えば、構成要素代表色算出部2060は、その構成要素に含まれる色の平均値を、構成要素代表色とする。例えば構成要素代表色算出部2060は、以下のようにして、構成要素に含まれる色の平均値を算出する。   For example, the component representative color calculation unit 2060 sets the average value of colors included in the component as the component representative color. For example, the component representative color calculation unit 2060 calculates the average value of the colors included in the component as follows.

まず、構成要素代表色算出部2060は、構成要素に含まれる各色を、CIE L*a*b* 表色系に変換する。CIE L*a*b* 表色系において、各色は、L* 値、a* 値、及び *b 値という、3つの値の組み合わせで定義される。そして、構成要素代表色算出部2060は、下記の数式4を用いて、構成要素 i の代表色の L* 値、a* 値、及び b* 値である、L(i)、a(i)、及び b(i) それぞれ を算出する。数式4において、集合 U は、構成要素に含まれる色の ID の集合である。j は色の ID である。n(j) は、構成要素 i に含まれており、かつ色が j であるピクセルの数を表す。L(j)、a(j)、b(j) はそれぞれ、色 j の L* 値、a* 値、b* 値である。

Figure 2014170395
First, the component representative color calculation unit 2060 converts each color included in the component into the CIE L * a * b * color system. In the CIE L * a * b * color system, each color is defined by a combination of three values: L * value, a * value, and * b value. Then, the component representative color calculation unit 2060 uses the following Expression 4, and L (i), a (i), which are the L * value, the a * value, and the b * value of the representative color of the component i. And b (i) are calculated respectively. In Equation 4, set U is a set of color IDs included in the constituent elements. j is the color ID. n (j) represents the number of pixels that are included in component i and have color j. L (j), a (j), and b (j) are the L * value, a * value, and b * value of color j, respectively.
Figure 2014170395

その他にも例えば、構成要素代表色算出部2060は、構成要素に含まれる色のうち、最も誘目度が高い色を、その構成要素の代表色とする。   In addition, for example, the component representative color calculation unit 2060 sets a color having the highest degree of attraction among the colors included in the component as the representative color of the component.

上述したように、背景要素代表色算出部2080は、構成要素代表色算出部2060が構成要素の代表色を算出する方法と同様の方法で、背景要素の代表色を算出する。   As described above, the background element representative color calculation unit 2080 calculates the representative color of the background element by a method similar to the method by which the component element representative color calculation unit 2060 calculates the representative color of the component element.

<配色妥当性判定部2120による判定の詳細>
配色妥当性判定部2120が行う処理を、具体的に説明する。まず、配色妥当性判定部2120が用いる、構成要素の相対重要度について説明する。
<Details of Determination by Coloration Validity Determination Unit 2120>
The processing performed by the color scheme appropriateness determining unit 2120 will be specifically described. First, the relative importance of the components used by the color scheme appropriateness determination unit 2120 will be described.

構成要素の相対重要度は、例えば、各構成要素を重要度の大きさに関してソートした場合における、その構成要素の順位である。例えば、構成要素Aの重要度が30、構成要素Bの重要度が10、構成要素Cの重要度が50であったとする。この場合、構成要素A〜Cを、重要度の小さい順にソートすると、「B、A、C」という順になる。この場合、構成要素Aの相対重要度は2であり、構成要素Bの相対重要度は1であり、構成要素Cの相対重要度は3である。   The relative importance of a component is, for example, the rank of the component when the components are sorted with respect to the magnitude of importance. For example, it is assumed that the importance of the component A is 30, the importance of the component B is 10, and the importance of the component C is 50. In this case, when the components A to C are sorted in ascending order of importance, the order becomes “B, A, C”. In this case, the relative importance of the component A is 2, the relative importance of the component B is 1, and the relative importance of the component C is 3.

その他にも例えば、構成要素の相対重要度は、最も重要度が高い構成要素の相対重要度が1となるように、重要度を正規化した値である。例えば、上述の例の場合、構成要素Cの重要度が1となるように、全ての構成要素の重要度を、50で割る。その結果、構成要素Aの相対重要度は0.6であり、構成要素Bの相対重要度は0.2であり、構成要素Cの相対重要度は1である。   In addition, for example, the relative importance of the component is a value obtained by normalizing the importance so that the relative importance of the component having the highest importance is 1. For example, in the case of the above-described example, the importance of all the components is divided by 50 so that the importance of the component C is 1. As a result, the relative importance of component A is 0.6, the relative importance of component B is 0.2, and the relative importance of component C is 1.

ここで、構成要素情報が、各構成要素の重要度を相対的な値として示している場合、例えば配色妥当性判定部2120は、構成要素の相対重要度に、その構成要素の構成要素情報が示す重要度をそのまま用いてもよい。   Here, when the component element information indicates the importance of each component as a relative value, for example, the color scheme appropriateness determination unit 2120 includes the component element information of the component in the relative importance of the component. The importance shown may be used as it is.

次に、構成要素の相対誘目度について説明する。配色妥当性判定部2120は、例えば、相対重要度と同様に、相対誘目度を表す。例えば、配色妥当性判定部2120は、構成要素を、誘目度の大きさに関してソートした場合における、その構成要素の順位を、その構成要素の相対誘目度とする。その他にも例えば、構成要素の相対誘目度は、最も誘目度が高い構成要素の相対誘目度が1になるように、誘目度を正規化した値である。   Next, the relative attractiveness of the components will be described. The color scheme appropriateness determination unit 2120 represents the relative attractiveness, for example, in the same manner as the relative importance. For example, the coloration appropriateness determination unit 2120 sets the rank of the component when the component is sorted with respect to the size of the attractiveness as the relative attractiveness of the component. In addition, for example, the relative attractiveness of the component is a value obtained by normalizing the attractiveness so that the relative attractiveness of the component having the highest attractiveness is 1.

前述したように、配色妥当性判定部2120は、構成要素の相対誘目度と相対重要度とを比較することで、構成要素に施された配色の妥当性を判定する。相対誘目度と相対重要度とをそれぞれ順位として算出した場合、例えば配色妥当性判定部2120は、構成要素の相対誘目度が示す順位と、その構成要素の相対重要度が示す順位とが一致する場合に、その構成要素に施されている配色が妥当であると判定する。   As described above, the color arrangement validity determination unit 2120 determines the validity of the color arrangement applied to the component by comparing the relative attractiveness of the component with the relative importance. When the relative attractiveness and the relative importance are calculated as ranks, for example, the color scheme appropriateness determining unit 2120 matches the rank indicated by the relative attractiveness of the component and the rank indicated by the relative importance of the component. In this case, it is determined that the color scheme applied to the component is appropriate.

また、配色妥当性判定部2120は、相対重要度と相対誘目度との比較に加え、さらに次のような処理を行って、構成要素に施された配色の妥当性を判定してもよい。配色妥当性判定部2120は、構成要素それぞれについて、誘目度と重要度との比率を示す指標値を算出する。そして、配色妥当性判定部2120は、構成要素それぞれについて算出した指標値の一致度合いをさらに考慮して、構成要素に施された配色の妥当性を判定する。このような配色妥当性判定部2120の処理の具体例は、次のような処理である。   In addition to the comparison between the relative importance level and the relative attractiveness level, the color scheme appropriateness determination unit 2120 may perform the following processing to determine the appropriateness of the color scheme applied to the components. The coloration appropriateness determination unit 2120 calculates an index value indicating the ratio between the degree of attraction and the importance for each component. Then, the color scheme appropriateness determining unit 2120 further considers the degree of coincidence of the index values calculated for each component, and determines the validity of the color scheme applied to the component. A specific example of the process of the color arrangement appropriateness determination unit 2120 is as follows.

まず、配色妥当性判定部2120は、各構成要素の相対重要度と相対重要度とが一致するか否かを判定する。そして、配色妥当性判定部2120は、全ての構成要素について、相対重要度と相対誘目度とが一致している場合、さらに次に示す判定を行う。   First, the color scheme appropriateness determination unit 2120 determines whether or not the relative importance of each component matches the relative importance. Then, the coloration appropriateness determination unit 2120 further performs the following determination when the relative importance and the relative attractiveness are the same for all the components.

まず、配色妥当性判定部2120は、各構成要素について、誘目度を重要度で除算した指標値を算出する。そして、各構成要素について算出した指標値間の一致度合いを比較する。例えば、配色妥当性判定部2120は、最も誘目度が高い構成要素について算出した上記指標値を、基準指標値とする。そして、各構成要素について算出した指標値と、この基準指標値との差異が、所定の値以下であるかどうかを判定する。   First, the color scheme appropriateness determining unit 2120 calculates an index value obtained by dividing the attractiveness by the importance for each component. Then, the degree of coincidence between the index values calculated for each component is compared. For example, the color scheme appropriateness determining unit 2120 sets the index value calculated for the component with the highest degree of attraction as the reference index value. Then, it is determined whether or not the difference between the index value calculated for each component and the reference index value is equal to or less than a predetermined value.

例えば配色妥当性判定部2120は、ある構成要素について算出した指標値と、基準指標値との差異が所定の値以下である場合、その構成要素に施された配色は、妥当であると判定する。一方、配色妥当性判定部2120は、ある構成要素について算出した指標値と、基準指標値との差異が所定の値より大きい場合、その構成要素に施された配色は、妥当でないと判定する。   For example, if the difference between the index value calculated for a certain component and the reference index value is less than or equal to a predetermined value, the color scheme appropriateness determining unit 2120 determines that the color scheme applied to that component is valid. . On the other hand, when the difference between the index value calculated for a certain component and the reference index value is greater than a predetermined value, the color scheme appropriateness determining unit 2120 determines that the color scheme applied to that component is not valid.

<作用・効果>
以上の構成により、本実施形態の配色評価装置2000によれば、評価対象画像に含まれる構成要素の重要度と、その構成要素の目立ちやすさの度合い(誘目度)とが一致している場合に、構成要素に施された配色が妥当であると判断される。これにより、評価対象画像に含まれる各構成要素同士の誘目度及び重要度を比較した場合において、構成要素に対し、重要度に合致した目立ちやすさの配色が施されているか否かを、構成要素ごとに知ることができる。
<Action and effect>
With the above configuration, according to the color arrangement evaluation apparatus 2000 of the present embodiment, the importance of the component included in the evaluation target image matches the degree of conspicuousness (attraction) of the component. In addition, it is determined that the color scheme applied to the components is appropriate. Thereby, when comparing the degree of attraction and the importance of each component included in the evaluation target image, whether or not the color scheme of the conspicuousness matching the importance is applied to the component is configured. You can know for each element.

[実施形態2]
図6は、実施形態2に係る配色評価装置2000を示すブロック図である。図6において、矢印の流れは情報の流れを示している。また、図6において、各ブロックは、ハードウエア単位の構成ではなく、機能単位の構成を示している。
[Embodiment 2]
FIG. 6 is a block diagram illustrating a color arrangement evaluation apparatus 2000 according to the second embodiment. In FIG. 6, the flow of arrows indicates the flow of information. Further, in FIG. 6, each block shows a functional unit configuration, not a hardware unit configuration.

<全体代表色算出部2140>
実施形態2の配色評価装置2000は、全体代表色算出部2140を有する。全体代表色算出部2140は、全体代表色を算出する。全体代表色は、評価対象画像全体の代表色である。つまり、全体代表色は、評価対象画像を1つの色として表す場合に、評価対象画像を最も的確に表すと考えられる色である。
<Overall representative color calculation unit 2140>
The color arrangement evaluation apparatus 2000 according to the second embodiment includes an overall representative color calculation unit 2140. The overall representative color calculation unit 2140 calculates an overall representative color. The overall representative color is a representative color of the entire evaluation target image. That is, the overall representative color is a color that is considered to represent the evaluation target image most accurately when the evaluation target image is expressed as one color.

全体代表色算出部2140は、配色情報を用いて評価対象画像に含まれる各ピクセルの色を取得する。そして、全体代表色算出部2140は、評価対象画像に含まれる各色と、評価対象画像内において各色を持つピクセルの数との組み合わせを算出する。そして、この組み合わせに基づき、評価対象画像の代表色を算出する。   The overall representative color calculation unit 2140 acquires the color of each pixel included in the evaluation target image using the color arrangement information. Then, the overall representative color calculation unit 2140 calculates a combination of each color included in the evaluation target image and the number of pixels having each color in the evaluation target image. Based on this combination, the representative color of the evaluation target image is calculated.

全体代表色算出部2140が全体代表色を算出する具体的な方法は、構成要素代表色算出部2060が構成要素代表色を算出する方法と同様である。   A specific method by which the overall representative color calculation unit 2140 calculates the overall representative color is the same as the method by which the component representative color calculation unit 2060 calculates the component representative color.

<誘目度算出部2100>
誘目度算出手段は、構成要素代表色と背景要素代表色に加え、全体代表色をさらに用いて、構成要素の誘目度を算出する。具体的には、誘目度算出部2100は、実施形態1で説明した単体誘目度に加え、異質性誘目度を算出する。構成要素の異質性誘目度は、その構成要素の色を、他の構成要素の色と比較した場合における、その構成要素の視覚的注意の引きやすさを表す値である。
<Attraction calculation unit 2100>
The attractiveness calculating means calculates the attractiveness of the component by further using the overall representative color in addition to the component representative color and the background element representative color. Specifically, the attraction degree calculation unit 2100 calculates a degree of heterogeneity attraction in addition to the single degree of attraction described in the first embodiment. The degree of heterogeneity attraction of a component is a value representing the ease of visual attention of the component when the color of the component is compared with the color of another component.

誘目度算出部2100が異質性誘目度を算出する具体的な方法は、例えば以下に示す方法である。まず、誘目度算出部2100は、各構成要素の代表色を、CIE L*a*b* 表色系に変換する。さらに、誘目度算出部2100は、構成要素代表色と全体代表色との、色空間上の距離 d (以下、色空間距離)を、各構成要素について算出する。そして、誘目度算出部2100は、算出した色空間上の距離 d を以下の数式5に適用して、構成要素iの異質性誘目度 HC(i) を算出する。数式5において、d(i) は、構成要素iの構成要素代表色と、全体代表色との間の色空間距離である。dm は、各構成要素の構成要素代表色と、全体代表色との間の色空間距離の、平均値である。std は、各構成要素の構成要素代表色と、全体代表色との間の色空間距離の、標準偏差である。

Figure 2014170395
A specific method by which the degree of attraction calculation unit 2100 calculates the degree of attraction of heterogeneity is, for example, the method shown below. First, the attractiveness calculation unit 2100 converts the representative color of each component into the CIE L * a * b * color system. Further, the attractiveness calculation unit 2100 calculates a distance d (hereinafter referred to as a color space distance) on the color space between the component representative color and the overall representative color for each component. Then, the attractiveness calculation unit 2100 calculates the heterogeneity attractiveness HC (i) of the component i by applying the calculated distance d in the color space to the following Equation 5. In Equation 5, d (i) is a color space distance between the component representative color of the component i and the overall representative color. dm is an average value of the color space distance between the component representative color of each component and the overall representative color. std is a standard deviation of the color space distance between the component representative color of each component and the overall representative color.
Figure 2014170395

誘目度算出部2100は、構成要素の単体誘目度と異質性誘目度を用いて、その構成要素の誘目度を算出する。例えば誘目度算出部2100は、構成要素の単体誘目度と異質性誘目度を加算することで、誘目度を算出する。また、誘目度算出部2100は、単体誘目度と異質性誘目度それぞれに、適当な重み付け係数をかけて加算することで、誘目度を算出してもよい。この重み付けにより、単体誘目度と異質性誘目度を重視する割合を設定することができる。   The attractiveness calculating unit 2100 calculates the attractiveness of the component using the single attractiveness and the heterogeneous attractiveness of the component. For example, the attractiveness calculation unit 2100 calculates the attractiveness by adding the single attractiveness and the heterogeneous attractiveness of the constituent elements. In addition, the attractiveness calculating unit 2100 may calculate the attractiveness by adding an appropriate weighting coefficient to each of the single attractiveness and the heterogeneous attractiveness. By this weighting, it is possible to set a ratio that places importance on the degree of single attraction and the degree of attraction for heterogeneity.

<作用・効果>
以上により、本実施形態の配色評価装置2000によれば、構成要素の異質性誘目度をさらに考慮して、構成要素の誘目度が算出される。これにより、構成要素の視覚的注意の引きやすさが、より多くの基準で評価される。
<Action and effect>
As described above, according to the color arrangement evaluation apparatus 2000 of the present embodiment, the degree of conspicuousness of the constituent element is calculated in further consideration of the degree of heterogeneity attractiveness of the constituent element. Thereby, the ease of drawing the visual attention of the component is evaluated based on more criteria.

[実施形態3] [Embodiment 3]

実施形態3に係る配色評価装置2000は、実施形態2の配色評価装置と同様の構成である。   The color arrangement evaluation apparatus 2000 according to the third embodiment has the same configuration as the color arrangement evaluation apparatus according to the second embodiment.

実施形態3の配色評価装置2000において、評価対象画像に含まれる構成要素の間には、階層構造の関係がある。具体的には、第1構成要素を内部に含む第2構成要素を、第1構成要素の親とする。ここで、第1構成要素を内部に含む第2構成要素を、第1構成要素の親要素と呼ぶ。また、第2構成要素の内部に含まれる第1構成要素を、第2構成要素の子要素と表記する。   In the color arrangement evaluation apparatus 2000 according to the third embodiment, there is a hierarchical structure relationship between the constituent elements included in the evaluation target image. Specifically, the second component that includes the first component is the parent of the first component. Here, the second constituent element including the first constituent element is referred to as a parent element of the first constituent element. The first component included in the second component is referred to as a child element of the second component.

図7は、構成要素間の階層構造を例示する図である。図7の上部は、評価対象画像を示している。この例において、評価対象画像は、ウインドウW1とウインドウW2を含む画面Aである。また、ウインドウW1は、ボタンB1とテキストボックスT1を含んでいる。また、ウインドウW2は、ボタンB2とテキストボックスT2を含んでいる。画面Aに含まれる各構成要素の間には、図7下部に示す階層構造の関係がある。   FIG. 7 is a diagram illustrating a hierarchical structure between components. The upper part of FIG. 7 shows an evaluation target image. In this example, the evaluation target image is a screen A including a window W1 and a window W2. The window W1 includes a button B1 and a text box T1. The window W2 includes a button B2 and a text box T2. The components included in the screen A have a hierarchical structure shown in the lower part of FIG.

ここで、階層構造における高さは、例えば、評価対象画像の高さを0とした場合における、各構成要素と評価対象画像との、階層構造上の距離である。   Here, the height in the hierarchical structure is a distance in the hierarchical structure between each component and the evaluation target image when the height of the evaluation target image is 0, for example.

<構成要素情報>
構成要素情報は、評価対象画像の構成要素を階層構造で表した場合における、その構成要素の位置を示す情報を有する。以下、この情報を、階層情報を表記する。構成要素の階層情報は、例えば、構成要素の親要素、子要素、又はその両方を示す。その他にも例えば、構成要素の階層情報は、階層構造における高さを示す。
<Component information>
The component information includes information indicating the position of the component when the component of the evaluation target image is represented in a hierarchical structure. Hereinafter, this information is expressed as hierarchical information. The hierarchical information of the constituent element indicates, for example, a parent element, a child element, or both of the constituent element. In addition, for example, the hierarchical information of the component indicates the height in the hierarchical structure.

<誘目度算出部2100>
誘目度算出部2100は、構成要素の異質性誘目度を、その構成要素と、評価対象画像に含まれる一部の構成要素とを比較することで算出する。
<Attraction calculation unit 2100>
The attraction degree calculation unit 2100 calculates the degree of heterogeneity attraction of a component by comparing the component with some of the components included in the evaluation target image.

具体的には、誘目度算出部2100は、以下の何れかの方法で、構成要素の異質性誘目度を算出する。第1の方法は、算出対象の構成要素を、その構成要素と同一の親要素を持つ構成要素のみと比較して、異質性誘目度を算出する方法である。例えば、図7の例において、配色評価装置2000が、テキストボックスT1に関する評価を行うとする。ここで、テキストボックスT1の親要素はウインドウW1である。そこで、誘目度算出部2100は、ウインドウW1が親要素である、テキストボックスT1とボタンB1とを比較して、テキストボックスT1の異質性誘目度を算出する。   Specifically, the attractiveness calculation unit 2100 calculates the heterogeneity attractiveness of the component by any of the following methods. The first method is a method of calculating a degree of heterogeneity by comparing a component to be calculated with only a component having the same parent element as the component. For example, in the example of FIG. 7, it is assumed that the color arrangement evaluation apparatus 2000 performs an evaluation related to the text box T1. Here, the parent element of the text box T1 is the window W1. Therefore, the attractiveness calculation unit 2100 calculates the heterogeneity attractiveness of the text box T1 by comparing the text box T1 and the button B1 whose window W1 is a parent element.

第2の方法は、算出対象の構成要素を、階層構造における高さがその構成要素と同一である構成要素のみと比較して、異質性誘目度を算出する方法である。例えば、図7の例において、配色評価装置2000が、テキストボックスT1に関する評価を行うとする。ここで、テキストボックスT1の高さは2である。そこでこの場合、誘目度算出部2100は、高さが2である、テキストボックスT1、ボタンB1、テキストボックスT2、及びボタンB2を比較して、テキストボックスT1の異質性誘目度を算出する。   The second method is a method of calculating the degree of heterogeneity by comparing the calculation target component with only the component having the same height in the hierarchical structure as the component. For example, in the example of FIG. 7, it is assumed that the color arrangement evaluation apparatus 2000 performs an evaluation related to the text box T1. Here, the height of the text box T1 is 2. Therefore, in this case, the attractiveness calculation unit 2100 compares the text box T1, the button B1, the text box T2, and the button B2 having a height of 2, and calculates the heterogeneity attractiveness of the text box T1.

誘目度算出部2100が、上記第1の方法と第2の方法のどちらも利用できるように実装されている場合、例えば誘目度算出部2100は、上記第1の方法と第2の方法のどちらを用いて判定を行うかを判断する。例えば、誘目度算出部2100は、上記第1の方法と第2の方法のどちらを用いるかを示す設定を受け付ける。そして、誘目度算出部2100は、設定された方法を用いる。   When the attractiveness calculation unit 2100 is implemented so that both the first method and the second method can be used, for example, the attractiveness calculation unit 2100 can determine which of the first method and the second method. To determine whether to make a determination. For example, the attractiveness calculation unit 2100 accepts a setting indicating which of the first method and the second method is used. Then, the attractiveness calculation unit 2100 uses a set method.

その他にも例えば、誘目度算出部2100は、構成要素情報によって示される階層情報に基づいて、第1の方法と第2の方法のどちらを用いるかを決定してもよい。例えば、構成要素情報の階層情報に、構成要素の親要素が示されている場合、誘目度算出部2100は、上記第1の方法を用いる。一方、構成要素情報の階層情報に、階層構造における構成要素の高さが示されている場合、誘目度算出部2100は、上記第2の方法を用いる。   In addition, for example, the attraction degree calculation unit 2100 may determine whether to use the first method or the second method based on the hierarchical information indicated by the component element information. For example, when the parent element of the constituent element is indicated in the hierarchical information of the constituent element information, the attraction degree calculation unit 2100 uses the first method. On the other hand, when the hierarchical information of the constituent element information indicates the height of the constituent element in the hierarchical structure, the attraction degree calculation unit 2100 uses the second method.

<配色妥当性判定部2120>
配色妥当性判定部2120は、その構成要素と、評価対象画像に含まれる一部の構成要素とを比較して、相対重要度及び相対誘目度を算出する。そして、この相対重要度と相対誘目度を用いて、構成要素に施された配色の妥当性を判定する。
<Color scheme appropriateness determination unit 2120>
The color scheme appropriateness determining unit 2120 compares the constituent elements with some constituent elements included in the evaluation target image and calculates the relative importance and the relative attractiveness. And the validity of the color scheme given to the component is determined using the relative importance and the relative attractiveness.

具体的には、配色妥当性判定部2120は、以下の何れかの方法で、判定に用いる相対重要度及び相対誘目度を算出する。第1の方法は、判定対象の構成要素を、その構成要素と同一の親要素を持つ構成要素のみと比較して、相対重要度及び相対誘目度を算出する方法である。例えば、図7の例において、配色評価装置2000が、テキストボックスT1に関する評価を行うとする。ここで、テキストボックスT1の親要素はウインドウW1である。そこで、配色妥当性判定部2120は、ウインドウW1が親要素である、テキストボックスT1とボタンB1とを比較して、相対重要度及び相対誘目度を算出する。   Specifically, the color scheme appropriateness determining unit 2120 calculates the relative importance and the relative attractiveness used for the determination by any of the following methods. The first method is a method of calculating the relative importance and the relative attractiveness by comparing the component to be determined with only the component having the same parent element as the component. For example, in the example of FIG. 7, it is assumed that the color arrangement evaluation apparatus 2000 performs an evaluation related to the text box T1. Here, the parent element of the text box T1 is the window W1. Therefore, the color scheme appropriateness determining unit 2120 compares the text box T1 and the button B1 in which the window W1 is a parent element, and calculates the relative importance and the relative attractiveness.

第2の方法は、判定対象の構成要素を、階層構造における高さがその構成要素と同一である構成要素のみと比較して、相対重要度及び相対誘目度を算出する方法である。例えば、図7の例において、配色評価装置2000が、テキストボックスT1に関する評価を行うとする。ここで、テキストボックスT1の高さは2である。そこでこの場合、配色妥当性判定部2120は、高さが2である、テキストボックスT1、ボタンB1、テキストボックスT2、及びボタンB2を比較して、相対重要度及び相対誘目度を算出する。   The second method is a method of calculating the relative importance level and the relative attractiveness level by comparing the component to be determined only with the component having the same height in the hierarchical structure as the component. For example, in the example of FIG. 7, it is assumed that the color arrangement evaluation apparatus 2000 performs an evaluation related to the text box T1. Here, the height of the text box T1 is 2. Therefore, in this case, the color scheme appropriateness determining unit 2120 compares the text box T1, the button B1, the text box T2, and the button B2 having a height of 2, and calculates the relative importance and the relative attractiveness.

配色妥当性判定部2120が、上記第1の方法と第2の方法のどちらも利用できるように実装されている場合、例えば配色妥当性判定部2120は、上記第1の方法と第2の方法のどちらを用いて判定を行うかを判断する。その方法は、誘目度算出部2100が、第1の方法と第2の方法のどちらを用いるかを判断する方法と同様である。   When the color scheme appropriateness determining unit 2120 is mounted so that both the first method and the second method can be used, for example, the color scheme appropriateness determining unit 2120 includes the first method and the second method. Which of these is to be used for determination is determined. The method is the same as the method in which the attractiveness calculation unit 2100 determines which of the first method and the second method is used.

また配色妥当性判定部2120は、誘目度算出部2100から、構成要素の異質性誘目度を算出する際に、その構成要素と比較した、他の構成要素を表す情報を取得してもよい。そして、誘目度算出部2100は、構成要素の相対重要度及び相対誘目度を、誘目度算出部2100が構成要素の異質性誘目度を算出する際に比較を行った各構成要素と比較することで算出する。   In addition, the coloration appropriateness determination unit 2120 may acquire information representing another constituent element compared with the constituent element when calculating the heterogeneity attractiveness degree of the constituent element from the attractiveness calculating section 2100. Then, the attractiveness calculation unit 2100 compares the relative importance and relative attractiveness of the component with each component compared when the attractiveness calculation unit 2100 calculates the heterogeneity attractiveness of the component. Calculate with

<作用・効果>
以上により、本実施形態によれば、構成要素に施された配色の妥当性を評価する場合に、その構成要素と、評価対象画像に含まれる一部の構成要素とを比較して、評価を行う。これにより、評価対象画像の一部分に着目して、構成要素の配色の妥当性を評価することができる。例えば、地図が記載されているポスターの画像において、ポスター全体ではなく、地図の部分だけに着目して、配色の妥当性を評価するといったことが可能になる。
<Action and effect>
As described above, according to the present embodiment, when evaluating the validity of the color scheme applied to the component, the component is compared with some of the components included in the evaluation target image, and the evaluation is performed. Do. Thereby, paying attention to a part of the evaluation target image, it is possible to evaluate the validity of the color arrangement of the constituent elements. For example, in the image of a poster on which a map is described, it is possible to evaluate the validity of the color arrangement by focusing on only the portion of the map, not the entire poster.

<実施例>
以下、配色評価装置2000の動作を、実施例を用いて説明する。本実施例における評価対象画像は、図8に示す地図30である。地図30において、構成要素は、目的地31、最寄り駅&線路32、及びランドマーク33である。ここで、図8では各構成要素に配色が施されていないが、実際には、各構成要素に、次のような配色が施されている。目的地31は、#FF99CC 色の下地に、#FF0000 色の斜線による装飾が施されている。最寄り駅&線路32の色は、#0000FF 色である。ランドマーク33の色は、#FF99CC である。また、道路34を表す色は、#FF9933 である。さらに、上記以外の部分の色は、#FFFFFF である。
<Example>
Hereinafter, the operation of the color arrangement evaluation apparatus 2000 will be described using examples. The evaluation target image in the present embodiment is a map 30 shown in FIG. In the map 30, the constituent elements are a destination 31, a nearest station & track 32, and a landmark 33. Here, although the color arrangement is not applied to each component in FIG. 8, the following color arrangement is actually applied to each component. The destination 31 is decorated with diagonal lines of # FF0000 color on the base of # FF99CC color. The color of the nearest station & track 32 is # 0000FF. The color of the landmark 33 is # FF99CC. The color representing the road 34 is # FF9933. Furthermore, the color of the part other than the above is #FFFFFF.

配色情報取得部2020は、配色情報を取得する。ここで、実施例1における配色情報は、図2に示す配色情報と同一である。構成要素情報取得部2040は、図9に示す構成要素情報を取得する。構成要素情報は、目的地31、最寄り駅&線路32、及びランドマーク33に関する情報を有している。本例では、道路34を構成要素の一つとしては数えず、背景として扱う。そのため、構成要素情報は、道路34に関する情報を含んでいない。なお、本実施例の構成要素情報は、構成要素 ID、ピクセル情報、及び重要度に加え、構成要素名という項目を有している。   The color arrangement information acquisition unit 2020 acquires color arrangement information. Here, the color arrangement information in the first embodiment is the same as the color arrangement information shown in FIG. The component information acquisition unit 2040 acquires the component information shown in FIG. The component information includes information related to the destination 31, the nearest station & track 32, and the landmark 33. In this example, the road 34 is not counted as one of the components but is treated as a background. Therefore, the component element information does not include information regarding the road 34. Note that the component element information of the present embodiment includes an item of component element name in addition to the component element ID, pixel information, and importance.

ここで、最寄り駅&線路32の形状は、長方形等の単純な形状で表現することが難しい。そこで、本例における構成要素情報が示すピクセル情報204は、構成要素に含まれる各ピクセルの位置を示す。   Here, the shape of the nearest station & track 32 is difficult to express with a simple shape such as a rectangle. Therefore, the pixel information 204 indicated by the component information in this example indicates the position of each pixel included in the component.

構成要素情報は、地図30を見るユーザにとって、どの情報が重要であるかを示す値である。地図を見るユーザにとって最も重要性の高い情報は、目的地であると考えられる。また、ユーザの出発点となる可能性が高い最寄り駅は、目的地の次に重要性が高いと考えられる。ランドマークの情報は、重要ではあるものの、上記2つと比較すると重要性は低いと考えられる。図9に示す構成要素情報は、目的地31の重要度が100、最寄り駅&線路32の重要度が70、ランドマーク33の重要度が60であり、上述した各構成要素の重要度の違いが反映された重要度を示している。   The component element information is a value indicating which information is important for the user viewing the map 30. The most important information for the user viewing the map is considered to be the destination. Further, the nearest station that is likely to be the starting point of the user is considered to be the next most important after the destination. Landmark information is important, but is considered to be less important than the above two. In the component element information shown in FIG. 9, the importance of the destination 31 is 100, the importance of the nearest station & track 32 is 70, and the importance of the landmark 33 is 60. Indicates the importance reflected.

構成要素代表色算出部2060は、目的地31、最寄り駅&線路32、及びランドマーク33それぞれの、構成要素代表色を算出する。図10は、構成要素代表色算出部2060が、配色情報と構成要素情報から割り出した、構成要素に含まれる色、及びその色のピクセルの数の組み合わせを含む、データ構造を示す図である。例えば、目的地31は、色が #FF99CC のピクセルを、1000ピクセル含んでおり、かつ、色が #FF0000 のピクセルを、500ピクセル含んでいる。   The component representative color calculation unit 2060 calculates the component representative colors of the destination 31, the nearest station & track 32, and the landmark 33. FIG. 10 is a diagram illustrating a data structure including a combination of the colors included in the component and the number of pixels of the color calculated by the component element representative color calculation unit 2060 from the color arrangement information and the component element information. For example, the destination 31 includes 1000 pixels of color # FF99CC and 500 pixels of pixel # FF0000.

そして、構成要素代表色算出部2060は、図10に示すデータ構造を参照して、各構成要素の構成要素代表色を算出する。図11は、構成要素代表色算出部2060によって算出される、構成要素代表色を含む、データ構造を示す図である。目的地31の構成要素代表色である #FF749B は、#FF99CC と #FF0000 の2色に対し、ピクセル数で重み付けをして算出した、加重平均である。その他の構成要素の場合、含まれるピクセルの色が全て同じであるため、構成要素代表色は、図10に示した色と同一である。   Then, the constituent element representative color calculation unit 2060 calculates the constituent element representative color of each constituent element with reference to the data structure shown in FIG. FIG. 11 is a diagram illustrating a data structure including a component representative color calculated by the component representative color calculation unit 2060. The component representative color # FF749B of the destination 31 is a weighted average calculated by weighting the two colors # FF99CC and # FF0000 with the number of pixels. In the case of other constituent elements, since the colors of all the included pixels are the same, the constituent element representative colors are the same as those shown in FIG.

背景要素代表色算出部2080は、各構成要素について、背景要素代表色を算出する。まず、背景要素代表色算出部2080は、各構成要素の背景要素に含まれる色、及びその色のピクセル数の組み合わせを割り出す。図12は、背景要素代表色算出部2080によって割り出された、背景要素に含まれる色と、その色のピクセル数との組み合わせを含む、データ構造を示す図である。   The background element representative color calculation unit 2080 calculates a background element representative color for each component. First, the background element representative color calculation unit 2080 calculates the combination of the color included in the background element of each component and the number of pixels of that color. FIG. 12 is a diagram showing a data structure including a combination of the color included in the background element and the number of pixels of the color calculated by the background element representative color calculation unit 2080.

そして、背景要素代表色算出部2080は、図12に示すデータ構造を参照して、各構成要素の背景要素の代表色を算出する。図13は、背景要素代表色算出部2080によって算出された背景要素代表色を含む、データ構造を示す図である。目的地31の代表背景色である #FFCAA7 は、#FFFFFF と #FF9933 の2色に対し、ピクセル数で重み付けをして算出した、加重平均である。その他の構成要素の代表背景色についても、同様の計算が行われる。   Then, the background element representative color calculation unit 2080 calculates the representative color of the background element of each component with reference to the data structure shown in FIG. FIG. 13 is a diagram showing a data structure including the background element representative color calculated by the background element representative color calculation unit 2080. # FFCAA7, which is the representative background color of the destination 31, is a weighted average calculated by weighting the two colors #FFFFFF and # FF9933 with the number of pixels. Similar calculations are performed for the representative background colors of the other components.

次に、全体代表色算出部2140は、評価対象画面全体の代表色である全体代表色を算出する。本例において、全体代表色は #F0D2D7 である。   Next, the overall representative color calculation unit 2140 calculates an overall representative color that is the representative color of the entire evaluation target screen. In this example, the overall representative color is # F0D2D7.

誘目度算出部2100は、構成要素代表色、背景要素代表色、及び全体代表色を用いて、各構成要素の誘目度を算出する。誘目度算出部2100は、構成要素の単体誘目度と異質性誘目度とを加算することで、その構成要素の誘目度を算出する。誘目度算出部2100は、構成要素代表色の色相、彩度、及び明度と、代表背景色代表色の明度を用いて、誘目度を算出する。異質性誘目度は、全体代表色と構成要素代表色との間の色空間距離である色差を計算することで、異質性誘目度を算出する。図14は、誘目度算出部2100によって算出された誘目度を含む、データ構造を示す図である。なお、本実施例における単体誘目度及び異質性誘目度は、必ずしも前述の各数式を用いて計算された値ではない。   The attractiveness calculation unit 2100 calculates the attractiveness of each component using the component element representative color, the background element representative color, and the overall representative color. The attractiveness calculating unit 2100 calculates the attractiveness of the constituent element by adding the single attractiveness degree and the heterogeneous attractiveness degree of the constituent element. The attractiveness calculating unit 2100 calculates the attractiveness using the hue, saturation, and lightness of the component representative colors and the lightness of the representative background color representative colors. The degree of heterogeneity attracting is calculated by calculating a color difference that is a color space distance between the overall representative color and the component representative color. FIG. 14 is a diagram illustrating a data structure including the degree of attraction calculated by the degree of attraction calculation unit 2100. It should be noted that the single degree of attraction and the degree of attraction of heterogeneity in the present embodiment are not necessarily values calculated using the above-described formulas.

本実施例において、目的地31の単体誘目度は 3.0、最寄り駅&線路32の単体誘目度は 2.7、ランドマーク33の単体誘目度は 2.3 となる。また、目的地31の特徴誘目度は 1.7、最寄り駅&線路32の特徴誘目度は 2.1、ランドマーク33の特徴誘目度は 0.6 となる。その結果、目的地31の誘目度は 4.7、最寄り駅&線路32の誘目度は 4.8、ランドマーク33の誘目度は 2.9 となる。このように、異質性誘目度を誘目度の一要素とすることで、構成要素の色単体としての目立ちやすさだけでなく、画面全体として見た場合における色のバランスを考慮した、各構成要素の目立ちやすさを数値化することができる。   In the present embodiment, the destination 31 has a single degree of conspicuousness of 3.0, the nearest station & track 32 has a single degree of attractiveness of 2.7, and the landmark 33 has a single degree of attractiveness of 2.3. In addition, the feature appeal of the destination 31 is 1.7, the feature appeal of the nearest station & track 32 is 2.1, and the feature appeal of the landmark 33 is 0.6. As a result, the destination 31 has an attractiveness of 4.7, the nearest station & track 32 has an attractiveness of 4.8, and the landmark 33 has an attractiveness of 2.9. In this way, each element that takes into account the balance of colors when viewed as a whole screen, as well as the visibility of the element as a single color, by making the degree of heterogeneity an element of attraction. Can be quantified.

配色妥当性判定部2120は、構成要素情報に含まれる重要度を用いて、各構成要素の相対重要度を算出する。本実施例において、相対重要度は、構成要素を重要度の大きさの順にソートした場合における、各構成要素の順位である。図15は、配色妥当性判定部2120によって算出される各構成要素の相対重要度を含む、データ構造を示す図である。   The color scheme appropriateness determination unit 2120 calculates the relative importance of each component using the importance included in the component information. In the present embodiment, the relative importance is the rank of each component when the components are sorted in order of importance. FIG. 15 is a diagram illustrating a data structure including the relative importance of each component calculated by the color scheme appropriateness determining unit 2120.

また、配色妥当性判定部2120は、図14に示されている、誘目度算出部2100によって算出された誘目度を用いて、各構成要素の相対誘目度を算出する。本実施例において、相対誘目度は、構成要素を誘目度の大きさの順にソートした場合における、各構成要素の順位である。図16は、配色妥当性判定部2120によって算出される各構成要素の相対誘目度を含むデータ構造を、例示する図である。   Further, the color scheme appropriateness determining unit 2120 calculates the relative attractiveness of each component using the attractiveness calculated by the attractiveness calculating unit 2100 shown in FIG. In the present embodiment, the relative attractiveness is the rank of each structural element when the structural elements are sorted in the order of the attractiveness. FIG. 16 is a diagram illustrating a data structure including the relative attractiveness of each component calculated by the color scheme appropriateness determining unit 2120.

配色妥当性判定部2120は、構成要素の相対重要度と相対誘目度を比較することで、各構成要素の配色の妥当性を判定する。本実施例の配色妥当性判定部2120は、構成要素の相対重要度と相対誘目度が一致する場合に、判定結果を「可」とする。「可」という判定結果は、構成要素の配色が妥当であることを示す。一方、配色妥当性判定部2120は、構成要素の相対重要度と相対誘目度が一致しない場合に、判定結果を「否」とする。「否」という判定結果は、構成要素の配色が妥当でないことを示す。   The color arrangement appropriateness determination unit 2120 determines the adequacy of the color arrangement of each component by comparing the relative importance of the component and the relative attractiveness. The color arrangement appropriateness determination unit 2120 according to the present embodiment sets the determination result to “Yes” when the relative importance of the constituent elements matches the relative attractiveness. A determination result of “OK” indicates that the color scheme of the constituent elements is appropriate. On the other hand, the coloration appropriateness determination unit 2120 sets the determination result to “No” when the relative importance of the constituent elements does not match the relative attractiveness. A determination result of “No” indicates that the color scheme of the component is not valid.

図17は、配色妥当性判定部2120による判定結果を含む、データ構造を示す図である。目的地31の相対誘目度は2であるのに対し、目的地31の相対重要度は1である。そのため、配色妥当性判定部2120は、目的地31の判定結果を「否」とする。同様に、最寄り駅&線路32の相対誘目度と相対重要度も一致していないため、配色妥当性判定部2120は、最寄り駅&線路32の判定結果を「否」とする。一方、ランドマーク33の相対誘目度と相対重要度は、両方とも3であり、一致している。そこで、配色妥当性判定部2120は、ランドマーク33の判定結果を「可」とする。   FIG. 17 is a diagram illustrating a data structure including a determination result by the color scheme appropriateness determination unit 2120. The relative attractiveness of the destination 31 is 2, whereas the relative importance of the destination 31 is 1. Therefore, the color scheme appropriateness determination unit 2120 sets the determination result of the destination 31 as “No”. Similarly, since the relative attractiveness and relative importance of the nearest station & track 32 do not match, the coloration appropriateness determination unit 2120 sets the determination result of the nearest station & track 32 as “No”. On the other hand, the relative attractiveness and relative importance of the landmark 33 are both 3 and coincide. Therefore, the color scheme appropriateness determination unit 2120 sets the determination result of the landmark 33 to “OK”.

この結果より、配色評価装置2000のユーザは、地図30において、目的地31、及び最寄り駅&線路32の配色方法を検討し直す必要があることを知ることができる。   From this result, the user of the color arrangement evaluation device 2000 can know that it is necessary to reexamine the color arrangement method of the destination 31 and the nearest station & track 32 on the map 30.

なお、配色妥当性判定部2120は、図18に示すようなグラフの形で、判定結果を出力する機能を有していてもよい。図18において、重要度が大きい要素ほど、X軸における位置が大きい。また、Y軸は、誘目度の大きさを表している。グラフの上の丸印は、相対重要度と相対誘目度とが一致していることを示している。一方、グラフの上のバツ印は、相対重要度と相対誘目度とが一致していないことを示している。   The color scheme appropriateness determining unit 2120 may have a function of outputting a determination result in the form of a graph as shown in FIG. In FIG. 18, an element having a higher importance has a larger position on the X axis. Further, the Y axis represents the degree of attractiveness. A circle on the graph indicates that the relative importance and the relative attractiveness coincide with each other. On the other hand, a cross mark on the graph indicates that the relative importance does not match the relative attractiveness.

配色評価装置2000は、例えばこの実施例のように動作することで、構成要素ごとに、他の構成要素と比較した場合における誘目度が、重要度と一致するか否かを判定する。これにより、画像全体で見た場合において、各構成要素の目立ちやすさと各構成要素の重要度とが一致するか否かが、構成要素ごとに評価される。   The color arrangement evaluation apparatus 2000 operates as in this embodiment, for example, and determines whether the degree of attraction when compared with other components matches the importance for each component. As a result, when the image is viewed as a whole, it is evaluated for each component whether or not the conspicuousness of each component matches the importance of each component.

以上、図面を参照して本発明の実施形態について述べたが、これらは本発明の例示であり、上記実施形態の組み合わせ、及び上記実施形態以外の様々な構成を採用することもできる。   As mentioned above, although embodiment of this invention was described with reference to drawings, these are illustrations of this invention, The combination of the said embodiment and various structures other than the said embodiment can also be employ | adopted.

以下、参考形態の例を付記する。
1.評価対象画像に含まれる各ピクセルに対して、ピクセルの色及び位置の組み合わせを対応づけた情報である、配色情報を取得する、配色情報取得手段と、
前記評価対象画像に含まれるピクセルのうち、隣接している複数のピクセルで構成される領域である構成要素に対して、該構成要素の重要度と、該構成要素に含まれるピクセルを特定するピクセル情報と、を対応づけた情報である構成要素情報を取得する、構成要素情報取得手段と、
前記構成要素について、前記配色情報を用いて該構成要素に含まれる各ピクセルの色を取得し、各色と、該構成要素内において各色を持つピクセルの数との組み合わせに基づき、該構成要素の代表色を算出する、構成要素代表色算出手段と、
前記構成要素に対応する背景要素について、前記配色情報を用いて該背景要素に含まれる各ピクセルの色を取得し、各色と、該背景要素において各色を持つピクセルの数との組み合わせに基づき、該背景要素の代表色を算出する、背景要素代表色算出手段と、
前記構成要素の構成要素代表色と、該構成要素に対応する背景要素の背景代表色とに基づいて、該構成要素の、視覚的注意の引きやすさを示す値である誘目度を算出する、誘目度算出手段と、
前記構成要素の重要度を該構成要素以外の各構成要素の重要度と比較した相対値である相対重要度と、該構成要素の誘目度を該構成要素以外の各構成要素の誘目度と比較した相対値である相対誘目度とを比較することで、該構成要素に施された配色が妥当であるか否かを判定する、配色妥当性判定手段と、
を有し、
前記構成要素に対応する背景要素は、該構成要素以外の領域であり、かつ該構成要素に隣接するピクセルを含む領域である配色評価装置。
2.前記配色妥当性判定手段は、
算出する構成要素の相対重要度が、各構成要素を前記重要度の大きさの順にソートした場合における、該構成要素の順位であり、
算出する構成要素の相対誘目度が、各構成要素を前記誘目度の大きさの順にソートした場合における、該構成要素の順位である、1.に記載の配色評価装置。
3.前記配色妥当性判定手段は、前記構成要素それぞれについて、前記誘目度と前記重要度との比率を示す指標値を算出し、前記構成要素それぞれについて算出した該指標値間の一致度合いをさらに考慮して、該構成要素に施された配色が妥当であるか否かを判定する、1.又は2.に記載の配色評価装置。
4.前記誘目度算出手段は、前記構成要素代表色の色相、彩度及び明度と、前記背景代表色の明度とを用いて、前記誘目度を算出する、1.乃至3.いずれか一つに記載の配色評価装置。
5.前記構成要素代表色算出手段又は前記背景要素代表色算出手段は、算出対象の領域に含まれる各色から、該領域内において各色を持つピクセルの数を重みとする重み付き平均を算出し、該重み付き平均を該領域の代表色とする、1.乃至4.いずれか一つに記載の配色評価装置。
6.前記構成要素代表色算出手段又は前記背景要素代表色算出手段は、算出対象の領域に含まれる色それぞれについて前記誘目度を算出し、算出した誘目度が最も高い色を該領域の代表色とする、1.乃至4.いずれか一つに記載の配色評価装置。
7.前記評価対象画像の全体について、前記配色情報を用いて該評価対象画像に含まれる各ピクセルの色を取得し、各色と、該評価対象画像内において各色を持つピクセルの数との組み合わせに基づき、該評価対象画像の代表色を算出する、全体代表色算出手段を有し、
前記誘目度算出手段は、
前記評価対象画像の全体の代表色である全体代表色をさらに用い、
前記構成要素代表色を前記背景代表色と比較することで算出する単体誘目度と、前記構成要素代表色を前記全体代表色と比較することで算出する異質性誘目度とを用いて、前記構成要素の誘目度を算出する、1.乃至6.いずれか一つに記載の配色評価装置。
8.前記誘目度算出手段は、色空間上における、前記構成要素代表色と前記全体代表色との距離を用いて、前記異質性誘目度を算出する7.に記載の配色評価装置。
9.前記全体代表色算出手段は、前記評価対象画像に含まれる各色から、該評価対象画像において各色を持つピクセルの数を重みとする重み付き平均を算出し、該重み付き平均を、該評価対象画像の全体代表色とする、7.又は8.に記載の配色評価装置。
10.前記全体代表色算出手段は、前記評価対象画像に含まれる各色に含まれる色それぞれについて前記誘目度を算出し、算出した誘目度が最も高い色を該評価対象画像の全体代表色とする、7.又は8.に記載の配色評価装置。
11.前記構成要素の間に、第1構成要素を内部に含む第2構成要素を、第1構成要素の親要素とする、階層構造の関係があり、
前記構成要素に対応する構成要素情報は、前記階層構造における該構成要素の位置を示し、
前記誘目度算出手段は、前記構成要素の異質性誘目度を、該構成要素と、該構成要素と同一の親要素を持つ構成要素、又は構成要素間の親子関係を階層構造として示した場合に該構成要素と同一の高さの階層に位置する構成要素のみと比較することで、該構成要素の異質性誘目度を算出し、
前記配色妥当性判定手段は、前記構成要素に施された配色が妥当であるか否かを、該構成要素と同一の親要素を持つ構成要素、又は前記階層構造における高さが該構成要素と同一である構成要素のみと比較して算出した前記相対重要度及び前記相対誘目度を用いて判定する、1.乃至10.いずれか一つに記載の配色評価装置。
12.コンピュータによって実行される、配色評価方法であって、
評価対象画像に含まれる各ピクセルに対して、ピクセルの色及び位置の組み合わせを対応づけた情報である、配色情報を取得する、配色情報取得ステップと、
前記評価対象画像に含まれるピクセルのうち、隣接している複数のピクセルで構成される領域である構成要素に対して、該構成要素の重要度と、該構成要素に含まれるピクセルを特定するピクセル情報と、を対応づけた情報である構成要素情報を取得する、構成要素情報取得ステップと、
前記構成要素について、前記配色情報を用いて該構成要素に含まれる各ピクセルの色を取得し、各色と、該構成要素内において各色を持つピクセルの数との組み合わせに基づき、該構成要素の代表色を算出する、構成要素代表色算出ステップと、
前記構成要素に対応する背景要素について、前記配色情報を用いて該背景要素に含まれる各ピクセルの色を取得し、各色と、該背景要素において各色を持つピクセルの数との組み合わせに基づき、該背景要素の代表色を算出する、背景要素代表色算出ステップと、
前記構成要素の構成要素代表色と、該構成要素に対応する背景要素の背景代表色とに基づいて、該構成要素の、視覚的注意の引きやすさを示す値である誘目度を算出する、誘目度算出ステップと、
前記構成要素の重要度を該構成要素以外の各構成要素の重要度と比較した相対値である相対重要度と、該構成要素の誘目度を該構成要素以外の各構成要素の誘目度と比較した相対値である相対誘目度とを比較することで、該構成要素に施された配色が妥当であるか否かを判定する、配色妥当性判定ステップと、
を有し、
前記構成要素に対応する背景要素は、該構成要素以外の領域であり、かつ該構成要素に隣接するピクセルを含む領域である、配色評価方法。
13.前記配色妥当性判定ステップは、
算出する構成要素の相対重要度が、各構成要素を前記重要度の大きさの順にソートした場合における、該構成要素の順位であり、
算出する構成要素の相対誘目度が、各構成要素を前記誘目度の大きさの順にソートした場合における、該構成要素の順位である、12.に記載の配色評価方法。
14.前記配色妥当性判定ステップは、前記構成要素それぞれについて、前記誘目度と前記重要度との比率を示す指標値を算出し、構成要素それぞれについて算出した該指標値間の一致度合いをさらに考慮して、該構成要素に施された配色が妥当であるか否かを判定する、12.又は13.に記載の配色評価方法。
15.前記誘目度算出ステップは、前記構成要素代表色の色相、彩度及び明度と、前記背景代表色の明度とを用いて、前記誘目度を算出する、12.乃至14.いずれか一つに記載の配色評価方法。
16.前記構成要素代表色算出ステップ又は前記背景要素代表色算出ステップは、算出対象の領域に含まれる各色から、該領域内において各色を持つピクセルの数を重みとする重み付き平均を算出し、該重み付き平均を該領域の代表色とする、12.乃至15.いずれか一つに記載の配色評価方法。
17.前記構成要素代表色算出ステップ又は前記背景要素代表色算出ステップは、算出対象の領域に含まれる色それぞれについて前記誘目度を算出し、算出した誘目度が最も高い色を該領域の代表色とする、12.乃至15.いずれか一つに記載の配色評価方法。
18.前記評価対象画像の全体について、前記配色情報を用いて該評価対象画像に含まれる各ピクセルの色を取得し、各色と、該評価対象画像内において各色を持つピクセルの数との組み合わせに基づき、該評価対象画像の代表色を算出する、全体代表色算出ステップを有し、
前記誘目度算出ステップは、
前記評価対象画像の全体の代表色である全体代表色をさらに用い、
前記構成要素代表色を前記背景代表色と比較することで算出する単体誘目度と、前記構成要素代表色を前記全体代表色と比較することで算出する異質性誘目度とを用いて、前記構成要素の誘目度を算出する、12.乃至17.いずれか一つに記載の配色評価方法。
19.前記誘目度算出ステップは、色空間上における、前記構成要素代表色と前記全体代表色との距離を用いて、前記異質性誘目度を算出する18.に記載の配色評価方法。
20.前記全体代表色算出ステップは、前記評価対象画像に含まれる各色から、該評価対象画像において各色を持つピクセルの数を重みとする重み付き平均を算出し、該重み付き平均を、該評価対象画像の全体代表色とする、18.又は19.に記載の配色評価方法。
21.前記全体代表色算出ステップは、前記評価対象画像に含まれる各色に含まれる色それぞれについて前記誘目度を算出し、算出した誘目度が最も高い色を該評価対象画像の全体代表色とする、18.又は19.に記載の配色評価装置。
22.前記構成要素の間に、第1構成要素を内部に含む第2構成要素を、第1構成要素の親要素とする、階層構造の関係があり、
前記構成要素に対応する構成要素情報は、前記階層構造における該構成要素の位置を示し、
前記誘目度算出ステップ、前記構成要素の異質性誘目度を、該構成要素と、該構成要素と同一の親要素を持つ構成要素、又は構成要素間の親子関係を階層構造として示した場合に該構成要素と同一の高さの階層に位置する構成要素のみと比較することで、該構成要素の異質性誘目度を算出し、
前記配色妥当性判定ステップは、前記構成要素に施された配色が妥当であるか否かを、該構成要素と同一の親要素を持つ構成要素、又は前記階層構造における高さが該構成要素と同一である構成要素のみと比較して算出した前記相対重要度及び前記相対誘目度を用いて判定する、12.乃至21.いずれか一つに記載の配色評価方法。
23.コンピュータに、配色評価装置として動作する機能を持たせるプログラムであって、
評価対象画像に含まれる各ピクセルに対して、ピクセルの色及び位置の組み合わせを対応づけた情報である、配色情報を取得する、配色情報取得機能と、
前記評価対象画像に含まれるピクセルのうち、隣接している複数のピクセルで構成される領域である構成要素に対して、該構成要素の重要度と、該構成要素に含まれるピクセルを特定するピクセル情報と、を対応づけた情報である構成要素情報を取得する、構成要素情報取得機能と、
前記構成要素について、前記配色情報を用いて該構成要素に含まれる各ピクセルの色を取得し、各色と、該構成要素内において各色を持つピクセルの数との組み合わせに基づき、該構成要素の代表色を算出する、構成要素代表色算出機能と、
前記構成要素に対応する背景要素について、前記配色情報を用いて該背景要素に含まれる各ピクセルの色を取得し、各色と、該背景要素において各色を持つピクセルの数との組み合わせに基づき、該背景要素の代表色を算出する、背景要素代表色算出機能と、
前記構成要素の構成要素代表色と、該構成要素に対応する背景要素の背景代表色とに基づいて、該構成要素の、視覚的注意の引きやすさを示す値である誘目度を算出する、誘目度算出機能と、
前記構成要素の重要度を該構成要素以外の各構成要素の重要度と比較した相対値である相対重要度と、該構成要素の誘目度を該構成要素以外の各構成要素の誘目度と比較した相対値である相対誘目度とを比較することで、該構成要素に施された配色が妥当であるか否かを判定する、配色妥当性判定機能と、
を前記コンピュータに持たせ、
前記構成要素に対応する背景要素は、該構成要素以外の領域であり、かつ該構成要素に隣接するピクセルを含む領域である、プログラム。
24.前記配色妥当性判定機能は、
算出する構成要素の相対重要度が、各構成要素を前記重要度の大きさの順にソートした場合における、該構成要素の順位であり、
算出する構成要素の相対誘目度が、各構成要素を前記誘目度の大きさの順にソートした場合における、該構成要素の順位である、23.に記載のプログラム。
25.前記配色妥当性判定機能は、前記構成要素それぞれについて、前記誘目度と前記重要度との比率を示す指標値を算出し、構成要素それぞれについて算出した該指標値間の一致度合いをさらに考慮して、該構成要素に施された配色が妥当であるか否かを判定する、23.又は24.に記載のプログラム。
26.前記誘目度算出機能は、前記構成要素代表色の色相、彩度及び明度と、前記背景代表色の明度とを用いて、前記誘目度を算出する、23.乃至25.いずれか一つに記載のプログラム。
27.前記構成要素代表色算出機能又は前記背景要素代表色算出機能は、算出対象の領域に含まれる各色から、該領域内において各色を持つピクセルの数を重みとする重み付き平均を算出し、該重み付き平均を該領域の代表色とする、23.乃至25.いずれか一つに記載のプログラム。
28.前記構成要素代表色算出機能又は前記背景要素代表色算出機能は、算出対象の領域に含まれる色それぞれについて前記誘目度を算出し、算出した誘目度が最も高い色を該領域の代表色とする、23.乃至25.いずれか一つに記載のプログラム。
29.前記評価対象画像の全体について、前記配色情報を用いて該評価対象画像に含まれる各ピクセルの色を取得し、各色と、該評価対象画像内において各色を持つピクセルの数との組み合わせに基づき、該評価対象画像の代表色を算出する、全体代表色算出機能を、前記コンピュータにさらに持たせ、
前記誘目度算出機能は、
前記評価対象画像の全体の代表色である全体代表色をさらに用い、
前記構成要素代表色を前記背景代表色と比較することで算出する単体誘目度と、前記構成要素代表色を前記全体代表色と比較することで算出する異質性誘目度とを用いて、前記構成要素の誘目度を算出する、23.乃至28.いずれか一つに記載のプログラム。
30.前記誘目度算出機能は、色空間上における、前記構成要素代表色と前記全体代表色との距離を用いて、前記異質性誘目度を算出する29.に記載のプログラム。
31.前記全体代表色算出機能は、前記評価対象画像に含まれる各色から、該評価対象画像において各色を持つピクセルの数を重みとする重み付き平均を算出し、該重み付き平均を、該評価対象画像の全体代表色とする、28.又は29.に記載のプログラム。
32. 前記全体代表色算出機能は、前記評価対象画像に含まれる各色に含まれる色それぞれについて前記誘目度を算出し、算出した誘目度が最も高い色を該評価対象画像の全体代表色とする、28.又は29.に記載のプログラム。
33. 前記構成要素の間に、第1構成要素を内部に含む第2構成要素を、第1構成要素の親要素とする、階層構造の関係があり、
前記構成要素に対応する構成要素情報は、前記階層構造における該構成要素の位置を示し、
前記誘目度算出機能は、前記構成要素の異質性誘目度を、該構成要素と、該構成要素と同一の親要素を持つ構成要素、又は構成要素間の親子関係を階層構造として示した場合に該構成要素と同一の高さの階層に位置する構成要素のみと比較することで、該構成要素の異質性誘目度を算出し、
前記配色妥当性判定機能は、前記構成要素に施された配色が妥当であるか否かを、該構成要素と同一の親要素を持つ構成要素、又は前記階層構造における高さが該構成要素と同一である構成要素のみと比較して算出した前記相対重要度及び前記相対誘目度を用いて判定する、23.乃至32.いずれか一つに記載のプログラム。
Hereinafter, examples of the reference form will be added.
1. Color arrangement information acquisition means for acquiring color arrangement information, which is information in which a combination of pixel color and position is associated with each pixel included in the evaluation target image;
Among the pixels included in the image to be evaluated, a pixel that specifies the importance of the component and the pixel included in the component with respect to the component that is an area composed of a plurality of adjacent pixels Component information acquisition means for acquiring component element information that is information associated with information;
For the component, the color of each pixel included in the component is obtained using the color arrangement information, and the representative of the component based on the combination of each color and the number of pixels having each color in the component A component representative color calculating means for calculating a color;
For the background element corresponding to the component, obtain the color of each pixel included in the background element using the color scheme information, and based on the combination of each color and the number of pixels having each color in the background element, A background element representative color calculating means for calculating a representative color of the background element;
Based on the constituent element representative color of the constituent element and the background representative color of the background element corresponding to the constituent element, the degree of attraction that is a value indicating the ease of visual attention of the constituent element is calculated. An attractiveness calculating means;
Relative importance, which is a relative value comparing the importance of the component with the importance of each component other than the component, and the degree of attraction of the component with the degree of attraction of each component other than the component Comparing the relative attractiveness, which is a relative value, to determine whether the color scheme applied to the component is valid,
Have
The color arrangement evaluation apparatus, wherein the background element corresponding to the component is a region other than the component and includes a pixel adjacent to the component.
2. The color scheme appropriateness determining means includes
The relative importance of the component to be calculated is the rank of the component when the components are sorted in the order of the importance.
The relative attractiveness of the calculated component is the rank of the component when the components are sorted in the order of the attractiveness. The color scheme evaluation apparatus described in 1.
3. The color scheme appropriateness determining means calculates an index value indicating a ratio between the degree of attraction and the importance for each of the components, and further considers the degree of coincidence between the index values calculated for the components. To determine whether or not the color scheme applied to the component is appropriate. Or 2. The color scheme evaluation apparatus described in 1.
4). The attractiveness calculating means calculates the attractiveness using the hue, saturation, and lightness of the component representative colors and the lightness of the background representative colors. To 3. The color arrangement evaluation apparatus according to any one of the above.
5. The component element representative color calculating means or the background element representative color calculating means calculates a weighted average from each color included in the calculation target area, weighted by the number of pixels having each color in the area, and the weight Let the average with a representative color of the region. To 4. The color arrangement evaluation apparatus according to any one of the above.
6). The component element representative color calculating unit or the background element representative color calculating unit calculates the degree of attraction for each color included in the calculation target area, and sets the color with the highest degree of attraction calculated as the representative color of the area. 1. To 4. The color arrangement evaluation apparatus according to any one of the above.
7). For the entire evaluation target image, obtain the color of each pixel included in the evaluation target image using the color arrangement information, and based on the combination of each color and the number of pixels having each color in the evaluation target image, An overall representative color calculating means for calculating a representative color of the evaluation target image;
The attraction degree calculating means includes:
Further using an overall representative color that is the overall representative color of the evaluation target image,
Using the single degree of conspicuousness calculated by comparing the constituent element representative color with the background representative color and the heterogeneous degree of connotation calculated by comparing the constituent element representative color with the overall representative color, the configuration Calculate the degree of attraction of an element. To 6. The color arrangement evaluation apparatus according to any one of the above.
8). The attraction degree calculating means calculates the degree of attraction of heterogeneity using a distance between the component element representative color and the overall representative color in a color space. The color scheme evaluation apparatus described in 1.
9. The overall representative color calculation means calculates a weighted average weighted by the number of pixels having each color in the evaluation target image from each color included in the evaluation target image, and the weighted average is calculated as the evaluation target image. The overall representative color of Or 8. The color scheme evaluation apparatus described in 1.
10. The overall representative color calculating means calculates the degree of attraction for each color included in each color included in the evaluation target image, and sets the color with the highest calculated degree of attraction as the overall representative color of the evaluation target image. . Or 8. The color scheme evaluation apparatus described in 1.
11. Between the components, there is a hierarchical structure relationship in which the second component including the first component is the parent element of the first component,
The component information corresponding to the component indicates the position of the component in the hierarchical structure,
The degree of attraction calculation means the degree of heterogeneity of the component when the component and the component having the same parent element as the component, or the parent-child relationship between the components as a hierarchical structure By comparing only the components located in the same level as the component, the degree of heterogeneity of the component is calculated,
The color scheme appropriateness determining means determines whether the color scheme applied to the component is valid, a component having the same parent element as the component, or a height in the hierarchical structure as the component. Judgment is made using the relative importance and the relative attractiveness calculated in comparison with only the same components. To 10. The color arrangement evaluation apparatus according to any one of the above.
12 A color scheme evaluation method executed by a computer,
A color arrangement information acquisition step for acquiring color arrangement information, which is information in which a combination of a pixel color and a position is associated with each pixel included in the evaluation target image;
Among the pixels included in the image to be evaluated, a pixel that specifies the importance of the component and the pixel included in the component with respect to the component that is an area composed of a plurality of adjacent pixels A component element information acquisition step of acquiring component element information, which is information associated with information;
For the component, the color of each pixel included in the component is obtained using the color arrangement information, and the representative of the component based on the combination of each color and the number of pixels having each color in the component A component representative color calculation step for calculating a color;
For the background element corresponding to the component, obtain the color of each pixel included in the background element using the color scheme information, and based on the combination of each color and the number of pixels having each color in the background element, A background element representative color calculating step for calculating a representative color of the background element;
Based on the constituent element representative color of the constituent element and the background representative color of the background element corresponding to the constituent element, the degree of attraction that is a value indicating the ease of visual attention of the constituent element is calculated. An attractiveness calculating step,
Relative importance, which is a relative value comparing the importance of the component with the importance of each component other than the component, and the degree of attraction of the component with the degree of attraction of each component other than the component A coloration validity determination step for determining whether or not the coloration applied to the component is appropriate by comparing the relative attractiveness that is a relative value
Have
The color scheme evaluation method, wherein the background element corresponding to the component is a region other than the component and includes a pixel adjacent to the component.
13. The color arrangement validity determination step includes:
The relative importance of the component to be calculated is the rank of the component when the components are sorted in the order of the importance.
The relative attractiveness of the component to be calculated is the rank of the component when the components are sorted in the order of the size of the attractiveness. The color scheme evaluation method described in 1.
14 The coloration validity determination step calculates an index value indicating a ratio between the degree of attraction and the importance for each of the components, and further considers the degree of coincidence between the index values calculated for each of the components. 12. Determine whether the color scheme applied to the component is valid; Or 13. The color scheme evaluation method described in 1.
15. The attractiveness calculating step calculates the attractiveness using the hue, saturation, and brightness of the component representative color and the brightness of the background representative color; To 14. The color scheme evaluation method according to any one of the above.
16. The component element representative color calculating step or the background element representative color calculating step calculates, from each color included in the calculation target area, a weighted average weighted by the number of pixels having each color in the area, and the weight 11. The weighted average is used as the representative color of the area. To 15. The color scheme evaluation method according to any one of the above.
17. In the component element representative color calculating step or the background element representative color calculating step, the degree of attraction is calculated for each color included in the calculation target area, and the calculated color with the highest degree of attraction is set as the representative color of the area. 12. To 15. The color scheme evaluation method according to any one of the above.
18. For the entire evaluation target image, obtain the color of each pixel included in the evaluation target image using the color arrangement information, and based on the combination of each color and the number of pixels having each color in the evaluation target image, An overall representative color calculating step for calculating a representative color of the evaluation target image;
The attraction degree calculating step includes:
Further using an overall representative color that is the overall representative color of the evaluation target image,
Using the single degree of conspicuousness calculated by comparing the constituent element representative color with the background representative color and the heterogeneous degree of connotation calculated by comparing the constituent element representative color with the overall representative color, the configuration 11. Calculate the degree of attraction of the element To 17. The color scheme evaluation method according to any one of the above.
19. In the attractiveness calculating step, the heterogeneous attractiveness is calculated using a distance between the component representative color and the overall representative color in a color space. The color scheme evaluation method described in 1.
20. The overall representative color calculating step calculates a weighted average weighted by the number of pixels having each color in the evaluation target image from each color included in the evaluation target image, and the weighted average is calculated as the evaluation target image. 18. Overall representative color. Or 19. The color scheme evaluation method described in 1.
21. The overall representative color calculating step calculates the degree of attraction for each color included in each color included in the evaluation target image, and sets the color with the highest calculated degree of attraction as the overall representative color of the evaluation target image. . Or 19. The color scheme evaluation apparatus described in 1.
22. Between the components, there is a hierarchical structure relationship in which the second component including the first component is the parent element of the first component,
The component information corresponding to the component indicates the position of the component in the hierarchical structure,
The degree of attraction calculation, and the degree of heterogeneity of the component when the component, the component having the same parent element as the component, or the parent-child relationship between the components are shown as a hierarchical structure By comparing only the components located in the same level as the component, the degree of heterogeneity of the component is calculated,
In the coloration validity determination step, whether or not the coloration applied to the component is appropriate is determined based on whether the component in the same parent element as the component or the height in the hierarchical structure is the component. 11. Judgment is made using the relative importance and the relative attractiveness calculated in comparison with only identical components. Thru 21. The color scheme evaluation method according to any one of the above.
23. A program for causing a computer to have a function of operating as a color arrangement evaluation device,
A color arrangement information acquisition function for acquiring color arrangement information, which is information in which a combination of pixel color and position is associated with each pixel included in the evaluation target image;
Among the pixels included in the image to be evaluated, a pixel that specifies the importance of the component and the pixel included in the component with respect to the component that is an area composed of a plurality of adjacent pixels A component element information acquisition function for acquiring component element information that is information associated with information;
For the component, the color of each pixel included in the component is obtained using the color arrangement information, and the representative of the component based on the combination of each color and the number of pixels having each color in the component A component representative color calculation function for calculating a color;
For the background element corresponding to the component, obtain the color of each pixel included in the background element using the color scheme information, and based on the combination of each color and the number of pixels having each color in the background element, A background element representative color calculation function for calculating a representative color of the background element;
Based on the constituent element representative color of the constituent element and the background representative color of the background element corresponding to the constituent element, the degree of attraction that is a value indicating the ease of visual attention of the constituent element is calculated. An attractiveness calculation function,
Relative importance, which is a relative value comparing the importance of the component with the importance of each component other than the component, and the degree of attraction of the component with the degree of attraction of each component other than the component Comparing the relative attractiveness that is a relative value, and determining whether or not the color scheme applied to the component is valid;
To the computer,
A program in which a background element corresponding to the component is a region other than the component and includes a pixel adjacent to the component.
24. The color scheme validity judgment function is
The relative importance of the component to be calculated is the rank of the component when the components are sorted in the order of the importance.
23. The relative attractiveness of the component to be calculated is the rank of the component when the components are sorted in the order of the size of the attractiveness. The program described in.
25. The coloration validity determination function calculates an index value indicating a ratio between the degree of attraction and the importance for each of the components, and further considers the degree of coincidence between the index values calculated for each of the components. Determining whether the color scheme applied to the component is valid; 23. Or 24. The program described in.
26. The attractiveness calculating function calculates the attractiveness using the hue, saturation, and brightness of the component representative colors and the brightness of the background representative colors; 23. To 25. The program according to any one of the above.
27. The component element representative color calculation function or the background element representative color calculation function calculates, from each color included in the calculation target area, a weighted average weighted by the number of pixels having each color in the area, and the weight 23. Use the weighted average as the representative color of the area. To 25. The program according to any one of the above.
28. The component element representative color calculation function or the background element representative color calculation function calculates the degree of attraction for each color included in the calculation target area, and sets the color having the highest degree of attraction calculated as the representative color of the area. 23. To 25. The program according to any one of the above.
29. For the entire evaluation target image, obtain the color of each pixel included in the evaluation target image using the color arrangement information, and based on the combination of each color and the number of pixels having each color in the evaluation target image, The computer further has an overall representative color calculation function for calculating a representative color of the evaluation target image,
The degree of attraction calculation function is
Further using an overall representative color that is the overall representative color of the evaluation target image,
Using the single degree of conspicuousness calculated by comparing the constituent element representative color with the background representative color and the heterogeneous degree of connotation calculated by comparing the constituent element representative color with the overall representative color, the configuration Calculating the degree of attraction of the element, 23. Thru 28. The program according to any one of the above.
30. The attractiveness calculation function calculates the heterogeneity attractiveness using a distance between the component representative colors and the overall representative colors in a color space. The program described in.
31. The overall representative color calculation function calculates a weighted average weighted by the number of pixels having each color in the evaluation target image from each color included in the evaluation target image, and the weighted average is calculated as the evaluation target image. 28. The overall representative color. Or 29. The program described in.
32. The overall representative color calculation function calculates the degree of attraction for each color included in each color included in the evaluation target image, and sets the color with the highest calculated degree of attraction as the overall representative color of the evaluation target image. . Or 29. The program described in.
33. Between the components, there is a hierarchical structure relationship in which the second component including the first component is the parent element of the first component,
The component information corresponding to the component indicates the position of the component in the hierarchical structure,
The attraction degree calculation function is the case where the heterogeneity attraction degree of the component is indicated as a hierarchical structure of the component and a component having the same parent element as the component or a parent-child relationship between the components. By comparing only the components located in the same level as the component, the degree of heterogeneity of the component is calculated,
The color scheme validity determining function determines whether the color scheme applied to the component is valid, a component having the same parent element as the component, or a height in the hierarchical structure as the component. 23. Judgment is made using the relative importance and the relative attractiveness calculated in comparison with only identical components. Thru 32. The program according to any one of the above.

30 地図
31 目的地
32 最寄り駅&線路
33 ランドマーク
34 道路
100 配色情報マトリクス
200 構成要素情報テーブル
202 構成要素 ID
204 ピクセル情報
206 重要度
1020 バス
1040 プロセッサ
1060 メモリ
1080 ストレージ
1220 配色情報取得モジュール
1240 構成要素情報取得モジュール
1260 構成要素代表色算出モジュール
1280 背景要素代表色算出モジュール
1300 誘目度算出モジュール
1320 配色妥当性判定モジュール
2000 配色評価装置
2020 配色情報取得部
2040 構成要素情報取得部
2060 構成要素代表色算出部
2080 背景要素代表色算出部
2100 誘目度算出部
2120 配色妥当性判定部
2140 全体代表色算出部
30 Map 31 Destination 32 Nearest Station & Track 33 Landmark 34 Road 100 Color Arrangement Information Matrix 200 Component Information Table 202 Component ID
204 Pixel information 206 Importance 1020 Bus 1040 Processor 1060 Memory 1080 Storage 1220 Color arrangement information acquisition module 1240 Component element information acquisition module 1260 Component element representative color calculation module 1280 Background element representative color calculation module 1300 Attraction degree calculation module 1320 Color arrangement validity determination module 2000 Color Arrangement Evaluation Apparatus 2020 Color Arrangement Information Acquisition Unit 2040 Component Element Information Acquisition Unit 2060 Component Element Representative Color Calculation Unit 2080 Background Element Representative Color Calculation Unit 2100 Attraction Degree Calculation Unit 2120 Color Arrangement Validity Determination Unit 2140 Overall Representative Color Calculation Unit

Claims (10)

評価対象画像に含まれる各ピクセルに対して、該ピクセルの色及び位置の組み合わせを対応づけた情報である、配色情報を取得する、配色情報取得手段と、
前記評価対象画像に含まれるピクセルのうち、隣接している複数のピクセルで構成される領域である構成要素に対して、該構成要素の重要度と、該構成要素に含まれるピクセルを特定するピクセル情報と、を対応づけた情報である構成要素情報を取得する、構成要素情報取得手段と、
前記構成要素について、前記配色情報を用いて該構成要素に含まれる各ピクセルの色を取得し、各色と、該構成要素内において各色を持つピクセルの数との組み合わせに基づき、該構成要素の代表色を算出する、構成要素代表色算出手段と、
前記構成要素に対応する背景要素について、前記配色情報を用いて該背景要素に含まれる各ピクセルの色を取得し、各色と、該背景要素において各色を持つピクセルの数との組み合わせに基づき、該背景要素の代表色を算出する、背景要素代表色算出手段と、
前記構成要素の構成要素代表色と、該構成要素に対応する背景要素の背景代表色とに基づいて、該構成要素の、視覚的注意の引きやすさを示す値である誘目度を算出する、誘目度算出手段と、
前記構成要素の重要度を該構成要素以外の各構成要素の重要度と比較した相対値である相対重要度と、該構成要素の誘目度を該構成要素以外の各構成要素の誘目度と比較した相対値である相対誘目度とを比較することで、該構成要素に施された配色が妥当であるか否かを判定する、配色妥当性判定手段と、
を有し、
前記構成要素に対応する背景要素は、該構成要素以外の領域であり、かつ該構成要素に隣接するピクセルを含む領域である配色評価装置。
Color arrangement information acquisition means for acquiring color arrangement information, which is information in which each pixel included in the evaluation target image is associated with a combination of the color and position of the pixel;
Among the pixels included in the image to be evaluated, a pixel that specifies the importance of the component and the pixel included in the component with respect to the component that is an area composed of a plurality of adjacent pixels Component information acquisition means for acquiring component element information that is information associated with information;
For the component, the color of each pixel included in the component is obtained using the color arrangement information, and the representative of the component based on the combination of each color and the number of pixels having each color in the component A component representative color calculating means for calculating a color;
For the background element corresponding to the component, obtain the color of each pixel included in the background element using the color scheme information, and based on the combination of each color and the number of pixels having each color in the background element, A background element representative color calculating means for calculating a representative color of the background element;
Based on the constituent element representative color of the constituent element and the background representative color of the background element corresponding to the constituent element, the degree of attraction that is a value indicating the ease of visual attention of the constituent element is calculated. An attractiveness calculating means;
Relative importance, which is a relative value comparing the importance of the component with the importance of each component other than the component, and the degree of attraction of the component with the degree of attraction of each component other than the component Comparing the relative attractiveness, which is a relative value, to determine whether the color scheme applied to the component is valid,
Have
The color arrangement evaluation apparatus, wherein the background element corresponding to the component is a region other than the component and includes a pixel adjacent to the component.
前記配色妥当性判定手段は、
算出する構成要素の相対重要度が、各構成要素を前記重要度の大きさの順にソートした場合における、該構成要素の順位であり、
算出する構成要素の相対誘目度が、各構成要素を前記誘目度の大きさの順にソートした場合における、該構成要素の順位である、
請求項1に記載の配色評価装置。
The color scheme appropriateness determining means includes
The relative importance of the component to be calculated is the rank of the component when the components are sorted in the order of the importance.
The relative attractiveness of the component to be calculated is the rank of the component when each component is sorted in the order of the size of the attractiveness.
The color arrangement evaluation apparatus according to claim 1.
前記配色妥当性判定手段は、前記構成要素それぞれについて、前記誘目度と前記重要度との比率を示す指標値を算出し、構成要素それぞれについて算出した該指標値間の一致度合いをさらに考慮して、該構成要素に施された配色が妥当であるか否かを判定する、請求項1又は2に記載の配色評価装置。   The color scheme appropriateness determining means calculates an index value indicating a ratio between the degree of attraction and the importance for each of the constituent elements, and further considers the degree of coincidence between the index values calculated for the constituent elements. The color arrangement evaluation apparatus according to claim 1, wherein it is determined whether or not the color arrangement applied to the constituent elements is appropriate. 前記構成要素代表色算出手段又は前記背景要素代表色算出手段は、算出対象の領域に含まれる各色から、該領域内において各色を持つピクセルの数を重みとする重み付き平均を算出し、該重み付き平均を該領域の代表色とする、請求項1乃至3いずれか一項に記載の配色評価装置。   The component element representative color calculating means or the background element representative color calculating means calculates a weighted average from each color included in the calculation target area, weighted by the number of pixels having each color in the area, and the weight The color arrangement evaluation apparatus according to claim 1, wherein a weighted average is used as a representative color of the region. 前記構成要素代表色算出手段又は前記背景要素代表色算出手段は、算出対象の領域に含まれる色それぞれについて前記誘目度を算出し、算出した誘目度が最も高い色を該領域の代表色とする、請求項1乃至3いずれか一項に記載の配色評価装置。   The component element representative color calculating unit or the background element representative color calculating unit calculates the degree of attraction for each color included in the calculation target area, and sets the color with the highest degree of attraction calculated as the representative color of the area. The color arrangement evaluation apparatus according to any one of claims 1 to 3. 前記評価対象画像の全体について、前記配色情報を用いて該評価対象画像に含まれる各ピクセルの色を取得し、各色と、該評価対象画像内において各色を持つピクセルの数との組み合わせに基づき、該評価対象画像の代表色を算出する、全体代表色算出手段を有し、
前記誘目度算出手段は、
前記評価対象画像の全体の代表色である全体代表色をさらに用い、
前記構成要素代表色を前記背景代表色と比較することで算出する単体誘目度と、前記構成要素代表色を前記全体代表色と比較することで算出する異質性誘目度とを用いて、前記構成要素の誘目度を算出する、
請求項1乃至5いずれか一項に記載の配色評価装置。
For the entire evaluation target image, obtain the color of each pixel included in the evaluation target image using the color arrangement information, and based on the combination of each color and the number of pixels having each color in the evaluation target image, An overall representative color calculating means for calculating a representative color of the evaluation target image;
The attraction degree calculating means includes:
Further using an overall representative color that is the overall representative color of the evaluation target image,
Using the single degree of conspicuousness calculated by comparing the constituent element representative color with the background representative color and the heterogeneous degree of connotation calculated by comparing the constituent element representative color with the overall representative color, the configuration Calculate the attraction of the element,
The color arrangement evaluation apparatus according to any one of claims 1 to 5.
前記構成要素の間に、第1構成要素を内部に含む第2構成要素を、第1構成要素の親要素とする、階層構造の関係があり、
前記構成要素に対応する構成要素情報は、前記階層構造における該構成要素の位置を示し、
前記誘目度算出手段は、前記構成要素の異質性誘目度を、該構成要素と、該構成要素と同一の親要素を持つ構成要素、又は構成要素間の親子関係を階層構造として示した場合に該構成要素と同一の高さの階層に位置する構成要素のみと比較することで、該構成要素の異質性誘目度を算出し、
前記配色妥当性判定手段は、前記構成要素に施された配色が妥当であるか否かを、該構成要素と同一の親要素を持つ構成要素、又は構成要素間の親子関係を階層構造として示した場合に該構成要素と同一の高さの階層に位置する構成要素のみと比較して算出した前記相対重要度及び前記相対誘目度を用いて判定する、
請求項4に記載の配色評価装置。
Between the components, there is a hierarchical structure relationship in which the second component including the first component is the parent element of the first component,
The component information corresponding to the component indicates the position of the component in the hierarchical structure,
The degree of attraction calculation means the degree of heterogeneity of the component when the component and the component having the same parent element as the component, or the parent-child relationship between the components as a hierarchical structure By comparing only the components located in the same level as the component, the degree of heterogeneity of the component is calculated,
The color scheme appropriateness determining means indicates whether or not the color scheme applied to the component is valid, and indicates a component having the same parent element as the component or a parent-child relationship between the components as a hierarchical structure. When using the relative importance and the relative attractiveness calculated in comparison with only the component located in the same level as the component
The color arrangement evaluation apparatus according to claim 4.
前記誘目度算出手段は、色空間上における、前記構成要素代表色と前記全体代表色との距離を用いて、前記異質性誘目度を算出する請求項6又は7に記載の配色評価装置。   8. The color arrangement evaluation device according to claim 6, wherein the attraction degree calculation unit calculates the heterogeneity attraction degree using a distance between the component element representative color and the overall representative color in a color space. コンピュータによって実行される、配色評価方法であって、
評価対象画像に含まれる各ピクセルに対して、ピクセルの色及び位置の組み合わせを対応づけた情報である、配色情報を取得する、配色情報取得ステップと、
前記評価対象画像に含まれるピクセルのうち、隣接している複数のピクセルで構成される領域である構成要素に対して、該構成要素の重要度と、該構成要素に含まれるピクセルを特定するピクセル情報と、を対応づけた情報である構成要素情報を取得する、構成要素情報取得ステップと、
前記構成要素について、前記配色情報を用いて該構成要素に含まれる各ピクセルの色を取得し、各色と、該構成要素内において各色を持つピクセルの数との組み合わせに基づき、該構成要素の代表色を算出する、構成要素代表色算出ステップと、
前記構成要素に対応する背景要素について、前記配色情報を用いて該背景要素に含まれる各ピクセルの色を取得し、各色と、該背景要素において各色を持つピクセルの数との組み合わせに基づき、該背景要素の代表色を算出する、背景要素代表色算出ステップと、
前記構成要素の構成要素代表色と、該構成要素に対応する背景要素の背景代表色とに基づいて、該構成要素の、視覚的注意の引きやすさを示す値である誘目度を算出する、誘目度算出ステップと、
前記構成要素の重要度を該構成要素以外の各構成要素の重要度と比較した相対値である相対重要度と、該構成要素の誘目度を該構成要素以外の各構成要素の誘目度と比較した相対値である相対誘目度とを比較することで、該構成要素に施された配色が妥当であるか否かを判定する、配色妥当性判定ステップと、
を有し、
前記構成要素に対応する背景要素は、該構成要素以外の領域であり、かつ該構成要素に隣接するピクセルを含む領域である、
配色評価方法。
A color scheme evaluation method executed by a computer,
A color arrangement information acquisition step for acquiring color arrangement information, which is information in which a combination of a pixel color and a position is associated with each pixel included in the evaluation target image;
Among the pixels included in the image to be evaluated, a pixel that specifies the importance of the component and the pixel included in the component with respect to the component that is an area composed of a plurality of adjacent pixels A component element information acquisition step of acquiring component element information, which is information associated with information;
For the component, the color of each pixel included in the component is obtained using the color arrangement information, and the representative of the component based on the combination of each color and the number of pixels having each color in the component A component representative color calculation step for calculating a color;
For the background element corresponding to the component, obtain the color of each pixel included in the background element using the color scheme information, and based on the combination of each color and the number of pixels having each color in the background element, A background element representative color calculating step for calculating a representative color of the background element;
Based on the constituent element representative color of the constituent element and the background representative color of the background element corresponding to the constituent element, the degree of attraction that is a value indicating the ease of visual attention of the constituent element is calculated. An attractiveness calculating step,
Relative importance, which is a relative value comparing the importance of the component with the importance of each component other than the component, and the degree of attraction of the component with the degree of attraction of each component other than the component A coloration validity determination step for determining whether or not the coloration applied to the component is appropriate by comparing the relative attractiveness that is a relative value
Have
The background element corresponding to the component is a region other than the component and includes a pixel adjacent to the component.
Color scheme evaluation method.
コンピュータに、配色評価装置として動作する機能を持たせるプログラムであって、
評価対象画像に含まれる各ピクセルに対して、ピクセルの色及び位置の組み合わせを対応づけた情報である、配色情報を取得する、配色情報取得機能と、
前記評価対象画像に含まれるピクセルのうち、隣接している複数のピクセルで構成される領域である構成要素に対して、該構成要素の重要度と、該構成要素に含まれるピクセルを特定するピクセル情報と、を対応づけた情報である構成要素情報を取得する、構成要素情報取得機能と、
前記構成要素について、前記配色情報を用いて該構成要素に含まれる各ピクセルの色を取得し、各色と、該構成要素内において各色を持つピクセルの数との組み合わせに基づき、該構成要素の代表色を算出する、構成要素代表色算出機能と、
前記構成要素に対応する背景要素について、前記配色情報を用いて該背景要素に含まれる各ピクセルの色を取得し、各色と、該背景要素において各色を持つピクセルの数との組み合わせに基づき、該背景要素の代表色を算出する、背景要素代表色算出機能と、
前記構成要素の構成要素代表色と、該構成要素に対応する背景要素の背景代表色とに基づいて、該構成要素の、視覚的注意の引きやすさを示す値である誘目度を算出する、誘目度算出機能と、
前記構成要素の重要度を該構成要素以外の各構成要素の重要度と比較した相対値である相対重要度と、該構成要素の誘目度を該構成要素以外の各構成要素の誘目度と比較した相対値である相対誘目度とを比較することで、該構成要素に施された配色が妥当であるか否かを判定する、配色妥当性判定機能と、
を前記コンピュータに持たせ、
前記構成要素に対応する背景要素は、該構成要素以外の領域であり、かつ該構成要素に隣接するピクセルを含む領域である、
プログラム。
A program for causing a computer to have a function of operating as a color arrangement evaluation device,
A color arrangement information acquisition function for acquiring color arrangement information, which is information in which a combination of pixel color and position is associated with each pixel included in the evaluation target image;
Among the pixels included in the image to be evaluated, a pixel that specifies the importance of the component and the pixel included in the component with respect to the component that is an area composed of a plurality of adjacent pixels A component element information acquisition function for acquiring component element information that is information associated with information;
For the component, the color of each pixel included in the component is obtained using the color arrangement information, and the representative of the component based on the combination of each color and the number of pixels having each color in the component A component representative color calculation function for calculating a color;
For the background element corresponding to the component, obtain the color of each pixel included in the background element using the color scheme information, and based on the combination of each color and the number of pixels having each color in the background element, A background element representative color calculation function for calculating a representative color of the background element;
Based on the constituent element representative color of the constituent element and the background representative color of the background element corresponding to the constituent element, the degree of attraction that is a value indicating the ease of visual attention of the constituent element is calculated. An attractiveness calculation function,
Relative importance, which is a relative value comparing the importance of the component with the importance of each component other than the component, and the degree of attraction of the component with the degree of attraction of each component other than the component Comparing the relative attractiveness that is a relative value, and determining whether or not the color scheme applied to the component is valid;
To the computer,
The background element corresponding to the component is a region other than the component and includes a pixel adjacent to the component.
program.
JP2013042018A 2013-03-04 2013-03-04 Color scheme evaluation device, color scheme evaluation method, and program Pending JP2014170395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013042018A JP2014170395A (en) 2013-03-04 2013-03-04 Color scheme evaluation device, color scheme evaluation method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013042018A JP2014170395A (en) 2013-03-04 2013-03-04 Color scheme evaluation device, color scheme evaluation method, and program

Publications (1)

Publication Number Publication Date
JP2014170395A true JP2014170395A (en) 2014-09-18

Family

ID=51692743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013042018A Pending JP2014170395A (en) 2013-03-04 2013-03-04 Color scheme evaluation device, color scheme evaluation method, and program

Country Status (1)

Country Link
JP (1) JP2014170395A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115357166A (en) * 2022-08-26 2022-11-18 重庆尚优科技有限公司 Intelligent management system for smart city map color matching

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115357166A (en) * 2022-08-26 2022-11-18 重庆尚优科技有限公司 Intelligent management system for smart city map color matching
CN115357166B (en) * 2022-08-26 2023-07-07 重庆尚优科技有限公司 Intelligent management system for intelligent city map color matching

Similar Documents

Publication Publication Date Title
Zhou et al. A survey of colormaps in visualization
US11758366B2 (en) Methods and devices for displaying a heat map and providing heat data
JP5144789B2 (en) Image providing apparatus, image processing method, image processing program, and recording medium
JP5113929B1 (en) Image providing apparatus, image processing method, image processing program, and recording medium
Cavalcante et al. Measuring streetscape complexity based on the statistics of local contrast and spatial frequency
US20230154050A1 (en) Spatial image analysis-based color scheme recommendation apparatus and method
KR20170135670A (en) Selection control method, selection control device, and recording medium
US20120163709A1 (en) Automated identification of image outliers
US9508317B2 (en) Display evaluation device, display evaluation method, and non-transitory computer readable medium
JP6052277B2 (en) Color arrangement determination device, color arrangement determination method, and color arrangement determination program
JPWO2004047026A1 (en) Image search program
CN109671097B (en) Motion blur implementation method and device
WO2013128523A1 (en) Color-scheme alteration device, color-scheme alteration method, and color-scheme alteration program
US20150149875A1 (en) Image processing device, image processing device control method, program, and information storage medium
JP3562516B2 (en) Image impression evaluation device, image impression evaluation method, and image impression evaluation program
JP6158766B2 (en) Statistical data generation server apparatus, statistical data generation system, and statistical data generation method
JP2004185647A (en) Picture impression evaluation device, picture impression evaluation method and picture impression evaluation program
JP6186754B2 (en) Screen expression evaluation apparatus, screen expression evaluation method, and program
JP2014170395A (en) Color scheme evaluation device, color scheme evaluation method, and program
JP2018132821A (en) Information processing device, information processing system, terminal device, program, and information processing method
JP6372165B2 (en) Design management apparatus and program
JP6390752B2 (en) Screen expression evaluation apparatus, screen expression evaluation method, and program
JP5944692B2 (en) Map display device, map display method and program
Ayudiani et al. An extensible tool for spatial clustering
CN111080732B (en) Method and system for forming virtual map

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170417

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170711