JP2020046994A - Information processing apparatus and program - Google Patents

Information processing apparatus and program Download PDF

Info

Publication number
JP2020046994A
JP2020046994A JP2018175394A JP2018175394A JP2020046994A JP 2020046994 A JP2020046994 A JP 2020046994A JP 2018175394 A JP2018175394 A JP 2018175394A JP 2018175394 A JP2018175394 A JP 2018175394A JP 2020046994 A JP2020046994 A JP 2020046994A
Authority
JP
Japan
Prior art keywords
character
color
background image
data
visibility
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.)
Granted
Application number
JP2018175394A
Other languages
Japanese (ja)
Other versions
JP7206732B2 (en
Inventor
倩如 邱
Qianru QIU
倩如 邱
岸本 康成
Yasunari Kishimoto
康成 岸本
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2018175394A priority Critical patent/JP7206732B2/en
Publication of JP2020046994A publication Critical patent/JP2020046994A/en
Application granted granted Critical
Publication of JP7206732B2 publication Critical patent/JP7206732B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

To output, upon outputting background image data and character image data having character data superimposed on the background image data, character image data having less influence of the superimposition relative to color relation between the background image data and the character data, as compared with that obtained when the character image data is output on an as-is basis.SOLUTION: Character image data including background image data and character data superimposed on the background image data is received. Representative color information of the background image data in a region where the character data is superimposed, is extracted. If a color relationship between color information of the character data and the representative color information has a specific color relationship, then the character data is changed so that the color relationship should not be matched with the specific color relationship.SELECTED DRAWING: Figure 5

Description

本発明は、情報処理装置及びプログラムに関する。   The present invention relates to an information processing device and a program.

背景画像データ上に文字データが重畳される場合がある。   Character data may be superimposed on background image data.

特許文献1には、画像における文字の箇所を特定し、文字の色と背景の色との比較に基づいて文字の輪郭の色を決定し、文字周辺の色が、輪郭の色から背景の色に段階的に変化するように画像を風性する方法が記載されている。   Japanese Patent Application Laid-Open No. H11-163873 specifies a character portion in an image, determines a character outline color based on a comparison between the character color and the background color, and changes the color around the character from the outline color to the background color. A method is described in which an image is windy so as to change stepwise.

特許文献2には、既に作成された販促物から他の販促物を生成する装置が記載されている。   Patent Literature 2 discloses an apparatus that generates another promotional item from a previously created promotional item.

特許文献3には、背景色の明度、彩度及び色相角を求め、背景色の色相角を変化させた配色の組み合わせを算出し、配色の組み合わせと文字色の情報とに基づいて文字の可読性を評価し、背景色の明度を調整する装置が記載されている。   Patent Document 3 discloses that the brightness, saturation, and hue angle of a background color are obtained, a combination of color schemes in which the hue angle of the background color is changed is calculated, and the readability of the character is determined based on the combination of the color scheme and information on the character color. And a device for adjusting the brightness of the background color.

特開2018−19167号公報JP 2018-19167 A 特開2016−21108号公報JP-A-2006-21108 特開2018−22347号公報JP 2018-22347 A

ところで、背景画像データ上に文字データが重畳されている場合、その重畳が、背景画像データと文字データとの間の色関係に影響を与えることがある。   By the way, when character data is superimposed on the background image data, the superimposition may affect the color relationship between the background image data and the character data.

本発明の目的は、背景画像データと当該背景画像データ上に重畳された文字データとを含む文字画像データにおいて、当該文字画像データをそのまま出力する場合と比較して、背景画像データと文字データとの間の色関係に対する重畳の影響が軽減された文字画像データを出力することができるようにすることにある。   An object of the present invention is to compare background image data and character data with character image data including background image data and character data superimposed on the background image data, as compared with a case where the character image data is directly output. It is possible to output character image data in which the influence of the superimposition on the color relationship between is reduced.

請求項1に記載の発明は、背景画像データと前記背景画像データ上に重畳された文字データとを含む文字画像データを受け付け、前記文字データが重畳する領域における前記背景画像データの代表色情報を抽出する抽出手段と、文字データの色情報と前記代表色情報との間の色関係が特定の色関係に該当する場合、前記色関係が前記特定の色関係に該当しないように前記文字データを変更する変更手段と、前記変更後の文字データと前記背景画像データとを含む文書画像データを出力する出力手段と、を有する情報処理装置である。   The invention according to claim 1 receives character image data including background image data and character data superimposed on the background image data, and displays representative color information of the background image data in an area where the character data is superimposed. Extracting means for extracting, when the color relationship between the color information of the character data and the representative color information corresponds to a specific color relationship, the character data is extracted such that the color relationship does not correspond to the specific color relationship. An information processing apparatus comprising: a changing unit for changing; and an output unit for outputting document image data including the changed character data and the background image data.

請求項2に記載の発明は、前記色関係は、前記背景画像データに対する前記文字データの視認性に関する関係である、ことを特徴とする請求項1に記載の情報処理装置である。   The invention according to claim 2 is the information processing apparatus according to claim 1, wherein the color relationship is a relationship relating to the visibility of the character data with respect to the background image data.

請求項3に記載の発明は、前記背景画像データに対する前記文字データの視認性は、前記色情報及び前記代表色情報のそれぞれに含まれる複数種類の色パラメータを用いた数値によって定められ、前記変更手段は、前記数値が閾値未満となる場合、前記色関係が前記特定の色関係に該当するとして、前記文字データを変更する、ことを特徴とする請求項2に記載の情報処理装置である。   The visibility of the character data with respect to the background image data is determined by a numerical value using a plurality of types of color parameters included in each of the color information and the representative color information. 3. The information processing apparatus according to claim 2, wherein when the numerical value is less than a threshold value, the character data is changed assuming that the color relationship corresponds to the specific color relationship.

請求項4に記載の発明は、前記変更手段は、前記文字データの変更として前記色情報を変更する、ことを特徴とする請求項1に記載の情報処理装置である。   The invention according to claim 4 is the information processing apparatus according to claim 1, wherein the change unit changes the color information as a change in the character data.

請求項5に記載の発明は、前記色関係は、前記背景画像データに対する前記文字データの視認性に関する関係であり、前記変更手段は、前記文字データの変更として、前記視認性が向上するように前記色情報を変更する、ことを特徴とする請求項4に記載の情報処理装置である。   The invention according to claim 5, wherein the color relationship is a relationship related to the visibility of the character data with respect to the background image data, and the changing unit improves the visibility as a change of the character data. The information processing apparatus according to claim 4, wherein the color information is changed.

請求項6に記載の発明は、前記色情報は、前記文字データの明度を示す明度情報を含み、前記代表色情報は、前記背景画像データの明度を示す明度情報を含み、前記変更手段は、前記文字データの変更として前記文字データの明度を変更する、ことを特徴とする請求項5に記載の情報処理装置である。   In the invention according to claim 6, the color information includes brightness information indicating the brightness of the character data, the representative color information includes brightness information indicating the brightness of the background image data, and the changing unit includes: 6. The information processing apparatus according to claim 5, wherein the brightness of the character data is changed as the change of the character data.

請求項7に記載の発明は、前記変更手段は、前記文字データの明度と前記背景画像データの明度との差が明度差閾値以上となるように前記文字データの明度を変更する、ことを特徴とする請求項6に記載の情報処理装置である。   The invention according to claim 7, wherein the changing means changes the brightness of the character data so that a difference between the brightness of the character data and the brightness of the background image data is equal to or greater than a brightness difference threshold. An information processing apparatus according to claim 6, wherein

請求項8に記載の発明は、前記変更手段は、前記差が前記明度差閾値以上となる前記文字データの色情報が存在しない場合、前記文字データの変更として前記文字データの表示態様を変更する、ことを特徴とする請求項7に記載の情報処理装置である。   In the invention according to claim 8, the change unit changes the display mode of the character data as the change of the character data when there is no color information of the character data in which the difference is equal to or greater than the lightness difference threshold value. An information processing apparatus according to claim 7, characterized in that:

請求項9に記載の発明は、前記色情報は、前記文字データの彩度を示す彩度情報と前記文字データの色相を示す色相情報とを含み、前記代表色情報は、前記背景画像データの彩度を示す彩度情報と前記背景画像データの色相を示す色相情報とを含み、前記変更手段は、前記文字データの変更として、前記文字データの彩度及び色相の中の少なくとも1つを変更する、ことを特徴とする請求項5に記載の情報処理装置である。   The invention according to claim 9, wherein the color information includes saturation information indicating a saturation of the character data and hue information indicating a hue of the character data, and the representative color information includes a color of the background image data. The image processing apparatus further includes: saturation information indicating saturation and hue information indicating a hue of the background image data, wherein the change unit changes at least one of the saturation and the hue of the character data as the change of the character data. The information processing apparatus according to claim 5, wherein

請求項10に記載の発明は、前記変更手段は、変更後の前記文字データを含む前記文字画像データが有する印象が、変更前の前記文字データを含む前記文字画像データが有する印象と異なる場合、前記文字データの変更として、前記色情報を変更せずに前記文字データの表示態様を変更する、ことを特徴とする請求項1から請求項9のいずれか一項に記載の情報処理装置である。   According to a tenth aspect of the present invention, the change unit is configured such that, when the impression of the character image data including the character data after the change is different from the impression of the character image data including the character data before the change, The information processing apparatus according to any one of claims 1 to 9, wherein, as the change of the character data, a display mode of the character data is changed without changing the color information. .

請求項11に記載の発明は、前記色関係は、前記背景画像データに対する前記文字データの視認性に関する関係であり、前記背景画像データに対する前記文字データの視認性は、前記色情報及び前記代表色情報のそれぞれに含まれる、明度、彩度及び色相のそれぞれに関する色パラメータによって定められ、前記変更手段は、更に、前記文字データと前記背景画像データとの間における明度、彩度及び色相のそれぞれの差分によって定義された評価モデルを用いて、前記色関係が前記特定の色関係に該当するか否かを判断する、ことを特徴とする請求項1に記載の情報処理装置である。   The invention according to claim 11, wherein the color relationship is a relationship relating to the visibility of the character data with respect to the background image data, and the visibility of the character data with respect to the background image data is determined by the color information and the representative color. Each of the information is defined by a color parameter relating to each of lightness, saturation, and hue, and the changing unit further includes a lightness, a saturation, and a hue between the character data and the background image data. The information processing apparatus according to claim 1, wherein it is determined whether or not the color relationship corresponds to the specific color relationship using an evaluation model defined by a difference.

請求項12に記載の発明は、コンピュータを、背景画像データと前記背景画像データ上に重畳された文字データとを含む文字画像データを受け付け、前記文字データが重畳する領域における前記背景画像データの代表色情報を抽出する抽出手段、文字データの色情報と前記代表色情報との間の色関係が特定の色関係に該当する場合、前記色関係が前記特定の色関係に該当しないように前記文字データを変更する変更手段、前記変更後の文字データと前記背景画像データとを含む文書画像データを出力する出力手段、として機能させるプログラムである。   According to a twelfth aspect of the present invention, a computer receives character image data including background image data and character data superimposed on the background image data, and represents the background image data in an area where the character data is superimposed. Extracting means for extracting color information, when the color relation between the color information of the character data and the representative color information corresponds to a specific color relation, the character so that the color relation does not correspond to the specific color relation; A program that functions as a change unit that changes data, and an output unit that outputs document image data including the character data after the change and the background image data.

請求項1,4,11,12に記載の発明によれば、背景画像データと当該背景画像データ上に重畳された文字データとを含む文字画像データにおいて、当該文字画像データをそのまま出力する場合と比較して、背景画像データと文字データとの間の色関係に対する重畳の影響が軽減された文字画像データを出力することができる。   According to the first, fourth, eleventh, and twelfth aspects of the present invention, in a case where character image data including background image data and character data superimposed on the background image data, the character image data is directly output. In comparison, it is possible to output character image data in which the influence of superposition on the color relationship between the background image data and the character data is reduced.

請求項2,3に記載の発明によれば、文字データの視認性の影響が軽減された文字画像データを出力することができる。   According to the second and third aspects, it is possible to output character image data in which the influence of the visibility of character data is reduced.

請求項5,6,7,9に記載の発明によれば、文字データの視認性が向上した文字画像データを出力することができる。   According to the fifth, sixth, seventh and ninth aspects of the invention, it is possible to output character image data with improved visibility of character data.

請求項8に記載の発明によれば、文字データの明度によらずに文字データの視認性を変更することができる。   According to the invention described in claim 8, the visibility of the character data can be changed regardless of the brightness of the character data.

請求項10に記載の発明によれば、文字画像データが有する印象を維持しつつ、色関係に対する重畳の影響が軽減された文字画像データを出力することができる。   According to the tenth aspect, it is possible to output character image data in which the influence of superimposition on the color relationship is reduced while maintaining the impression of the character image data.

本実施形態に係る情報処理装置のハードウェア構成を示すブロック図である。FIG. 2 is a block diagram illustrating a hardware configuration of the information processing apparatus according to the embodiment. 本実施形態に係る情報処理装置が有する機能を示すブロック図である。FIG. 2 is a block diagram illustrating functions of the information processing apparatus according to the embodiment. 視認性DBを示す図である。It is a figure showing visibility DB. 感性DBを示す図である。It is a figure showing a feeling DB. 文字画像を示す図である。It is a figure showing a character image. 視認性評価処理に関するフローチャートを示す図である。It is a figure showing a flow chart about visibility evaluation processing. 文字の変更処理に関するフローチャートを示す図である。It is a figure showing a flow chart about character change processing. 装飾が施された文字画像を示す図である。It is a figure which shows the character image in which the decoration was given. 実施例1に係る文字画像を示す図である。FIG. 3 is a diagram illustrating a character image according to the first embodiment. 実施例1に係る各色の情報を示す図である。FIG. 4 is a diagram illustrating information of each color according to the first embodiment. 実施例1に係る各色の明度、彩度及び色相角を示す図である。FIG. 3 is a diagram illustrating lightness, saturation, and hue angle of each color according to the first embodiment. 明度が変更された文字の色情報を示す図である。It is a figure which shows the color information of the character whose brightness was changed. 文字の明度が変更された文字画像を示す図である。FIG. 4 is a diagram illustrating a character image in which the brightness of a character has been changed. 実施例2に係る文字画像を示す図である。FIG. 9 is a diagram illustrating a character image according to the second embodiment. 実施例2に係る各色の情報を示す図である。FIG. 14 is a diagram illustrating information of each color according to the second embodiment. 実施例2に係る各色の明度、彩度及び色相角を示す図である。FIG. 14 is a diagram illustrating lightness, saturation, and hue angle of each color according to the second embodiment. 明度が変更された文字の色情報を示す図である。It is a figure which shows the color information of the character whose brightness was changed. 文字の明度が変更された文字画像を示す図である。FIG. 4 is a diagram illustrating a character image in which the brightness of a character has been changed. 実施例3に係る文字画像を示す図である。FIG. 14 is a diagram illustrating a character image according to a third embodiment. 実施例3に係る各色の情報を示す図である。FIG. 14 is a diagram illustrating information of each color according to the third embodiment. 実施例3に係る各色の明度、彩度及び色相角を示す図である。FIG. 14 is a diagram illustrating lightness, saturation, and hue angle of each color according to the third embodiment. 明度が変更された文字の色情報を示す図である。It is a figure which shows the color information of the character whose brightness was changed. 文字の明度が変更された文字画像を示す図である。FIG. 4 is a diagram illustrating a character image in which the brightness of a character has been changed. 変更後の文字画像が有するテイストを示す図である。It is a figure showing the taste which the character image after change has. 文字に装飾が施された文字画像を示す図である。It is a figure which shows the character image in which the decoration was given to the character. 実施例4に係る元の文字画像を示す図である。FIG. 14 is a diagram illustrating an original character image according to a fourth embodiment. 実施例4に係る生成された文字画像を示す図である。FIG. 14 is a diagram illustrating a generated character image according to a fourth embodiment. 実施例4に係る各色の情報を示す図である。FIG. 14 is a diagram illustrating information of each color according to the fourth embodiment. 実施例4に係る各色の明度、彩度及び色相角を示す図である。FIG. 14 is a diagram illustrating lightness, saturation, and hue angle of each color according to the fourth embodiment. 明度が変更された文字の色情報を示す図である。It is a figure which shows the color information of the character whose brightness was changed. 文字の明度が変更された文字画像を示す図である。FIG. 4 is a diagram illustrating a character image in which the brightness of a character has been changed. 実施例5に係る元の文字画像を示す図である。FIG. 14 is a diagram illustrating an original character image according to a fifth embodiment. 実施例5に係る生成された文字画像を示す図である。FIG. 14 is a diagram illustrating a generated character image according to a fifth embodiment. 実施例5に係る各色の情報を示す図である。FIG. 14 is a diagram illustrating information of each color according to the fifth embodiment. 実施例5に係る各色の明度、彩度及び色相角を示す図である。FIG. 14 is a diagram illustrating lightness, saturation, and hue angle of each color according to Example 5. 文字に装飾が施された文字画像を示す図である。It is a figure which shows the character image in which the decoration was given to the character. 実施例6に係る元の文字画像を示す図である。FIG. 14 is a diagram illustrating an original character image according to a sixth embodiment. 実施例6に係る生成された文字画像を示す図である。FIG. 14 is a diagram illustrating a generated character image according to a sixth embodiment. 実施例6に係る各色の情報を示す図である。FIG. 18 is a diagram illustrating information of each color according to the sixth embodiment. 実施例6に係る各色の明度、彩度及び色相角を示す図である。FIG. 14 is a diagram illustrating lightness, saturation, and hue angle of each color according to Example 6. 明度が変更された文字の色情報を示す図である。It is a figure which shows the color information of the character whose brightness was changed. 文字の明度が変更された文字画像を示す図である。FIG. 4 is a diagram illustrating a character image in which the brightness of a character has been changed. 変更後の文字画像が有するテイストを示す図である。It is a figure showing the taste which the character image after change has. 指定されたテイストに紐付けられた色情報を示す情報である。This is information indicating the color information associated with the designated taste. 文字の色が変更された文字画像を示す図である。FIG. 4 is a diagram illustrating a character image in which the color of a character has been changed.

図1を参照して、本発明の実施形態に係る情報処理装置のハードウェア構成について説明する。図1は、本実施形態に係る情報処理装置のハードウェア構成の一例を示す。   The hardware configuration of the information processing apparatus according to the embodiment of the present invention will be described with reference to FIG. FIG. 1 illustrates an example of a hardware configuration of an information processing apparatus according to the present embodiment.

情報処理装置10は、例えば、PC(パーソナルコンピュータ)、タブレットPC、スマートフォン、携帯電話等である。もちろん、これら以外の機器であってもよい。   The information processing apparatus 10 is, for example, a PC (personal computer), a tablet PC, a smartphone, a mobile phone, or the like. Of course, other devices may be used.

通信部12は通信インターフェースであり、情報を他の装置に送信する機能、及び、他の装置から送信されてきた情報を受信する機能を有する。通信部12は、無線通信機能を有していてもよいし、有線通信機能を有していてもよい。   The communication unit 12 is a communication interface, and has a function of transmitting information to another device and a function of receiving information transmitted from another device. The communication unit 12 may have a wireless communication function or a wired communication function.

UI部14はユーザインターフェースであり、表示部と操作部とを含む。表示部は、液晶ディスプレイやELディスプレイ等の表示装置である。操作部は、キーボード等の入力装置である。また、表示部と操作部とを兼ね備えたユーザインターフェース(例えばタッチパネル等)が、UI部14として用いられてもよい。また、UI部14は、音を発生させるスピーカ等の音声発生部や、音声の入力を受けるマイク等の音声入力部等を含んでもよい。   The UI unit 14 is a user interface, and includes a display unit and an operation unit. The display unit is a display device such as a liquid crystal display or an EL display. The operation unit is an input device such as a keyboard. Further, a user interface (for example, a touch panel or the like) having both a display unit and an operation unit may be used as the UI unit 14. Further, the UI unit 14 may include a sound generating unit such as a speaker that generates sound, a sound input unit such as a microphone that receives a sound input, and the like.

記憶部16は、各種の情報(データやプログラム等)を格納する1又は複数の格納領域である。各格納領域は、情報処理装置10に設けられている1又は複数の記憶装置(例えばハードディスクドライブやメモリ等の物理ドライブ)として定義されてもよいし、1又は複数の記憶装置に設定された論理パーティション又は論理ドライブとして定義されてもよい。   The storage unit 16 is one or a plurality of storage areas for storing various information (data, programs, and the like). Each storage area may be defined as one or a plurality of storage devices (for example, a physical drive such as a hard disk drive or a memory) provided in the information processing device 10 or a logical device set in one or a plurality of storage devices. It may be defined as a partition or a logical drive.

プロセッサ18は、1又は複数のCPU等のプロセッサによって構成されており、情報処理装置10の各部の動作を制御するように構成されている。   The processor 18 is configured by one or a plurality of processors such as CPUs, and is configured to control the operation of each unit of the information processing device 10.

以下、図2を参照して、情報処理装置10が有する機能について詳しく説明する。図2は、情報処理装置10が有する機能の一例を示す。   Hereinafter, the functions of the information processing apparatus 10 will be described in detail with reference to FIG. FIG. 2 illustrates an example of a function of the information processing apparatus 10.

受付部20は、各種の情報を受け付けるように構成されている。例えば、受付部20は、画像データ、文字データ(テキストの形式を有するデータ)、文字画像データ、配色設定情報、フォント設定情報等を受け付ける。文字画像データは、背景画像データ(画像の形式を有するデータ)と当該背景画像データ上に重畳された文字データ(テキストの形式を有するデータ)とを含むデータである。受付部20は、通信部12によって実現されて、外部装置から送られてきた情報を受け付けてもよいし、UI部14によって実現されて、ユーザによって入力や指定された情報を受け付けてもよい。例えば、ユーザがUI部14を操作して文字画像データが処理の対象として指定されると、受付部20は、当該文字画像データを受け付ける。また、外部装置から情報処理装置10に文字画像データが送られてきて通信部12によって受信された場合、受付部20は、当該文字画像データを受け付ける。   The receiving unit 20 is configured to receive various information. For example, the receiving unit 20 receives image data, character data (data having a text format), character image data, color setting information, font setting information, and the like. The character image data is data including background image data (data having an image format) and character data (data having a text format) superimposed on the background image data. The receiving unit 20 may be realized by the communication unit 12 and receive information transmitted from an external device, or may be realized by the UI unit 14 and receive information input or specified by the user. For example, when the user operates the UI unit 14 to specify character image data as a processing target, the receiving unit 20 receives the character image data. When character image data is sent from the external device to the information processing device 10 and received by the communication unit 12, the receiving unit 20 receives the character image data.

画像データ、文字データ及び文字画像データは、特定の用途に用いられるデータであってもよい。この場合、当該データは、当該用途に応じたサイズや形状等を有するデータに予め加工されていることがある。例えば、当該データが、特定の用途として特定のメディアに用いられる場合がある。メディアは、例えば、ポスター、はがき、チラシ、販促物等である。この場合、当該データは、特定のメディアに応じたサイズや形状等を有するデータに加工されていることがある。当該データには、特定の用途(例えば特定のメディア)を示す情報が予め紐付けられている。もちろん、特定の用途に用いられないデータが受付部20によって受け付けられてもよい。また、画像データ、文字データ及び背景画像データ等が記憶部16に予め記憶されていてもよい。   The image data, character data, and character image data may be data used for a specific application. In this case, the data may be processed in advance into data having a size, a shape, or the like according to the use. For example, the data may be used for a specific medium for a specific application. The media is, for example, a poster, a postcard, a flyer, a promotional material, and the like. In this case, the data may be processed into data having a size, a shape, or the like corresponding to a specific medium. Information indicating a specific application (for example, a specific medium) is linked to the data in advance. Of course, data that is not used for a specific purpose may be received by the receiving unit 20. Further, image data, character data, background image data, and the like may be stored in the storage unit 16 in advance.

メディア選択部22は、画像データや文字データや文字画像データ等に対する新たなメディア(用途)を選択するように構成されている。その選択は、例えば、UI部14を介してユーザによって行われる。例えば、ポスター用の文字画像データに対する新たなメディアとして「はがき」が選択される。   The media selection unit 22 is configured to select a new medium (application) for image data, character data, character image data, and the like. The selection is made by the user via the UI unit 14, for example. For example, “postcard” is selected as a new medium for character image data for a poster.

レイアウト変更部24は、メディア選択部22によって選択された新たなメディアに応じて、変更対象のデータ(例えば画像データ、文字データ、文字画像データ等)のレイアウトを変更するように構成されている。例えば、レイアウト変更部24は、変更対象のデータが有するコンテンツ(画像や文字等)や配色設定やフォント設定を変更せずにレイアウトを変更する。例えば、レイアウト変更部24は、ポスター用の文字画像データのコンテンツや配色設定やフォント設定を変更せずに、文字画像データのレイアウトをポスター用のレイアウトからはがき用のレイアウトに変更する。レイアウト変更部24は、トリミング等の処理を行ってもよい。   The layout changing unit 24 is configured to change the layout of the data to be changed (for example, image data, character data, character image data, etc.) according to the new medium selected by the medium selecting unit 22. For example, the layout changing unit 24 changes the layout without changing the contents (images, characters, and the like), color arrangement settings, and font settings of the data to be changed. For example, the layout changing unit 24 changes the layout of the character image data from the layout for the poster to the layout for the postcard without changing the content, the color setting, and the font setting of the character image data for the poster. The layout changing unit 24 may perform processing such as trimming.

視認性評価部26は、文字画像データを受け付けて、当該文字画像データに含まれる文字の視認性を評価するように構成されている。具体的には、視認性評価部26は、文字データが重畳する領域における背景画像データの代表色情報を抽出し、文字データの色情報と代表色情報との間の色関係を特定し、当該色関係が特定の色関係に該当するか否かを判断する。色情報及び代表色情報のそれぞれは、複数種類の色パラメータを用いた数値を含む。色パラメータは、例えば、明度、彩度、色相等である。色関係は、背景画像データに対する文字データの視認性に関する関係である。その視認性は、色情報及び代表色情報のそれぞれに含まれる複数種類の色パラメータを用いた数値によって定められる。特定の色関係は、例えば、背景画像データに対する文字データの視認性が悪いという関係である。例えば、視認性を表す評価値が閾値未満となる場合、色関係が特定の色関係に該当すると判断される。つまり、背景画像データに対する文字データの視認性が悪いと判断される。   The visibility evaluation unit 26 is configured to receive the character image data and evaluate the visibility of the characters included in the character image data. Specifically, the visibility evaluation unit 26 extracts the representative color information of the background image data in the area where the character data is superimposed, specifies the color relationship between the color information of the character data and the representative color information, It is determined whether the color relationship corresponds to a specific color relationship. Each of the color information and the representative color information includes a numerical value using a plurality of types of color parameters. The color parameters are, for example, lightness, saturation, hue, and the like. The color relationship is a relationship related to the visibility of the character data with respect to the background image data. The visibility is determined by numerical values using a plurality of types of color parameters included in each of the color information and the representative color information. The specific color relationship is, for example, a relationship that the visibility of the character data with respect to the background image data is poor. For example, when the evaluation value indicating the visibility is less than the threshold value, it is determined that the color relationship corresponds to a specific color relationship. That is, it is determined that the visibility of the character data with respect to the background image data is poor.

本実施形態では、視認性評価部26は、文字データと背景画像データとの間における明度、彩度及び色相のそれぞれの差分によって定義される評価モデル(視認性モデル)を用いて、色関係が特定の色関係に該当するか否かを判断する。評価モデルは、視認性評価部26によって作成されてもよいし、別の装置等によって作成されてもよい。   In the present embodiment, the visibility evaluation unit 26 uses the evaluation model (visibility model) defined by the respective differences in lightness, saturation, and hue between the character data and the background image data to determine the color relationship. It is determined whether a specific color relationship is met. The evaluation model may be created by the visibility evaluation unit 26, or may be created by another device or the like.

変更部28は、文字データの色情報と代表色情報との間の色関係が特定の色関係に該当する場合、当該色関係が当該特定の色関係に該当しないように当該文字データを変更するように構成されている。例えば、変更部28は、当該背景画像データに対する当該文字データの視認性が向上するように、当該文字データの色情報を変更する。具体的には、変更部28は、文字データの明度を変更する。こうすることで、背景画像データと文字データとの間の明度差が変更される。例えば、変更部28は、文字データの明度と背景画像データとの明度との差が明度差閾値以上となるように文字データの明度を変更する。明度差閾値は、視認性を表す評価値が閾値以上となるように定められる。視認性の評価値や明度差閾値等については後で詳しく説明する。また、変更部28は、文字データの彩度及び色相の中の少なくとも1つを変更してもよい。   When the color relationship between the color information of the character data and the representative color information corresponds to a specific color relationship, the change unit changes the character data so that the color relationship does not correspond to the specific color relationship. It is configured as follows. For example, the changing unit 28 changes the color information of the character data so that the visibility of the character data with respect to the background image data is improved. Specifically, the changing unit 28 changes the brightness of the character data. By doing so, the brightness difference between the background image data and the character data is changed. For example, the changing unit 28 changes the brightness of the character data so that the difference between the brightness of the character data and the brightness of the background image data is equal to or greater than a brightness difference threshold. The brightness difference threshold value is determined so that the evaluation value representing the visibility is equal to or larger than the threshold value. The evaluation value of the visibility and the lightness difference threshold will be described later in detail. The changing unit 28 may change at least one of the saturation and the hue of the character data.

感性維持判定部30は、変更部28による変更処理が適用された文字画像データが有するテイスト(印象)が、当該変更処理が適用される前の文字画像データが有するテイスト(印象)に一致しているか否かを判定するように構成されている。   The feeling maintaining judgment unit 30 determines that the taste (impression) of the character image data to which the change processing by the change unit 28 has been applied matches the taste (impression) of the character image data before the change processing is applied. It is configured to determine whether or not there is.

ここで、テイストについて説明する。テイストは、例えば対象物(例えば文字画像データ)が有する配色を、印象を表現する用語で定義付けした概念である。例えば、テイストは、人が対象物に対して有する印象を類型化した嗜好モデルに基づいて予め定められる。嗜好モデルにおいては、色相や色調等によって印象が複数種類に分類されており、対象物の色相や色調によって対象物のテイストが定められる。例えば、文字画像データにおいて支配的な色相や色調が特定され、その支配的な色相や色調によって文字画像データのテイストが決定される。文字画像データのテイストは、例えば、背景画像データや文字データのレイアウトや大きさ、文字データのフォントのサイズ、そのフォントの種類、等によって決定されてもよい。   Here, the taste will be described. The taste is a concept in which, for example, a color scheme of an object (for example, character image data) is defined by a term expressing an impression. For example, the taste is determined in advance based on a preference model that typifies an impression that a person has on an object. In the preference model, impressions are classified into a plurality of types based on hue, color tone, and the like, and the taste of the object is determined by the hue and color tone of the object. For example, a dominant hue or color tone is specified in the character image data, and the taste of the character image data is determined by the dominant hue or color tone. The taste of the character image data may be determined based on, for example, the layout and size of the background image data and the character data, the font size of the character data, the type of the font, and the like.

表示態様変更部32は、文字データの変更として、文字データの表示態様を変更するように構成されている。例えば、変更部28によって、文字データの色情報と代表色情報との間の色関係が特定の色関係に該当しないように当該文字データを変更することができない場合に、表示態様変更部32は、当該文字データの表示態様を変更する。その一例として、文字データの明度と背景画像データの明度との差が明度差閾値以上となる文字データの色情報が存在しない場合に、表示態様変更部32は、文字データの表示態様を変更する。例えば、表示態様変更部32は、表示態様の変更として、文字データの文字装飾を変更する。   The display mode changing unit 32 is configured to change the display mode of the character data as the change of the character data. For example, when the changing unit 28 cannot change the character data so that the color relationship between the color information of the character data and the representative color information does not correspond to the specific color relationship, the display mode changing unit 32 Then, the display mode of the character data is changed. As an example, when there is no color information of character data in which the difference between the brightness of the character data and the brightness of the background image data is equal to or greater than the brightness difference threshold, the display mode changing unit 32 changes the display mode of the character data. . For example, the display mode changing unit 32 changes the character decoration of the character data as a change of the display mode.

また、変更部28による変更処理が適用された文字画像データが有するテイストが、当該変更処理が適用される前の文字画像データが有するテイストと異なる場合、表示態様変更部32は、文字データの色情報を変更せずに、当該文字データの表示態様を変更してもよい。   If the taste of the character image data to which the change process by the change unit 28 is applied is different from the taste of the character image data before the change process is applied, the display mode change unit 32 determines the color of the character data. The display mode of the character data may be changed without changing the information.

出力部33は、文字画像データを出力するように構成されている。例えば、出力部33は、変更部28による変更処理が適用された文字画像データを出力してもよいし、表示態様変更部32による変更処理が適用された文字画像データを出力してもよい。出力部33は、例えばUI部14の表示部によって実現され、文字画像データを当該表示部に表示させる。出力部33は、通信部12によって、他の装置等に文字画像データを送信してもよい。   The output unit 33 is configured to output character image data. For example, the output unit 33 may output character image data to which the change processing by the change unit 28 has been applied, or may output character image data to which the change processing by the display mode change unit 32 has been applied. The output unit 33 is realized by, for example, a display unit of the UI unit 14 and causes the display unit to display character image data. The output unit 33 may transmit the character image data to another device or the like via the communication unit 12.

視認性DB(データベース)34は、背景画像データと文字データの視認性に関する評価結果を示す情報(視認性データ)を格納するデータベースである。その視認性に対する評価が予め行われ、その評価結果を示す情報が予め視認性DB34に格納される。視認性DB34は、例えば記憶部16によって実現される。   The visibility DB (database) 34 is a database that stores information (visibility data) indicating an evaluation result regarding the visibility of the background image data and the character data. The visibility is evaluated in advance, and information indicating the evaluation result is stored in the visibility DB 34 in advance. The visibility DB 34 is realized by, for example, the storage unit 16.

感性DB(データベース)36は、テイストと配色との間の関係性の強さについての感性評価実験によって得られた分析結果を示す情報を格納するデータベースである。感性評価実験が予め行われ、その分析結果を示す情報が予め感性DB36に格納される。感性DB36は、例えば記憶部16によって実現される。   The sensitivity DB (database) 36 is a database that stores information indicating an analysis result obtained by a sensitivity evaluation experiment on the strength of the relationship between the taste and the color scheme. A sensitivity evaluation experiment is performed in advance, and information indicating the analysis result is stored in the sensitivity DB 36 in advance. The sensibility DB 36 is realized by, for example, the storage unit 16.

図2に示されている各機能は、一例としてハードウェアとソフトウェアとの協働によって実現される。具体的には、プロセッサ18が、記憶部16に記憶されているプログラムを読み出して実行することで、情報処理装置10の各部の機能が実現される。当該プログラムは、CD又はDVD等の記録媒体を経由して、又は、ネットワーク等の通信経路を経由して、記憶部16に記憶される。別の例として、情報処理装置10の各部の機能は、例えば、プロセッサ、電子回路又はASIC(Application Specific Integrated Circuit)等のハードウェア資源によって実現されてもよい。その実現においてメモリ等のデバイスが利用されてもよい。更に別の例として、情報処理装置10の各部の機能は、DSP(Digital Signal Processor)又はFPGA(Field Programmable Gate Array)等によって実現されてもよい。   Each function illustrated in FIG. 2 is realized by cooperation of hardware and software as an example. Specifically, the function of each unit of the information processing device 10 is realized by the processor 18 reading and executing a program stored in the storage unit 16. The program is stored in the storage unit 16 via a recording medium such as a CD or a DVD, or via a communication path such as a network. As another example, the function of each unit of the information processing device 10 may be realized by hardware resources such as a processor, an electronic circuit, or an ASIC (Application Specific Integrated Circuit). A device such as a memory may be used in the realization. As yet another example, the function of each unit of the information processing device 10 may be realized by a DSP (Digital Signal Processor) or an FPGA (Field Programmable Gate Array).

以下、図3を参照して視認性DB34について詳しく説明する。図3は、視認性DB34の構成を示す。視認性DB34においては、一例として、色相IDと、文字の色調を示す情報と、文字の色相を示す情報と、背景画像の色調を示す情報と、背景画像の色相を示す情報と、見やすさを示す情報(視認性を示す情報)とが互いに対応付けられている。背景画像の色と文字の色として、一例として、PCCS(Practical Color Co-ordinate System)に規定されている色名(有彩色と無彩色)が用いられている。PCCSの色は、PCCSの色DBからRGBデータを参照することで定められている。なお、色名としてPCCSに規定されている色名が用いられているが、これは一例に過ぎず、他の定義が用いられてもよい。見やすさは、背景画像に重畳されている文字の見やすさである。見やすさは、予め定められた評価基準に従って予め評価されており、一例として、6段階の評価値(1〜6)によって定められている。以下に各評価値の意義を示す。
1:非常に読みにくい
2:かなり読みにくい
3:多少読みにくい
4:普通に読める
5:読みやすい
6:非常に読みやすい
Hereinafter, the visibility DB 34 will be described in detail with reference to FIG. FIG. 3 shows the configuration of the visibility DB 34. In the visibility DB 34, for example, the hue ID, the information indicating the color of the character, the information indicating the color of the character, the information indicating the color of the background image, the information indicating the color of the background image, and the information indicating the hue of the background image. Information (information indicating visibility) is associated with each other. As an example, a color name (chromatic color and achromatic color) defined by a PCCS (Practical Color Co-ordinate System) is used as the color of the background image and the color of the character. The color of the PCCS is determined by referring to the RGB data from the color DB of the PCCS. Although the color names defined in the PCCS are used as the color names, this is merely an example, and another definition may be used. The visibility is the visibility of characters superimposed on the background image. The visibility is evaluated in advance according to a predetermined evaluation criterion, and is determined, for example, by six levels of evaluation values (1 to 6). The significance of each evaluation value is shown below.
1: very hard to read 2: fairly hard to read 3: somewhat hard to read 4: normal readable 5: easy to read 6: very easy to read

以下、図4を参照して感性DB36について詳しく説明する。図4は、感性DB36の構成を示す。感性DB36においては、一例として、配色IDと、感性語を示す情報と、ランキング(順位)を示す情報と、ベースカラーを示す情報と、セカンダリーカラーを示す情報と、アクセントカラーを示す情報とが互いに対応付けられている。感性語は、テイストを表現する用語である。ベースカラーは支配的な色であり代表色の一例であるともいえる。セカンダリーカラーは、ベースカラーの次に支配的な色である。アクセントカラーは、強調色(例えば、色調に変化を与えたり、他の色を引き立てたりする役割を有する色)である。   Hereinafter, the sensitivity DB 36 will be described in detail with reference to FIG. FIG. 4 shows a configuration of the sensitivity DB 36. In the sensibility DB 36, as an example, the color arrangement ID, the information indicating the sensibility word, the information indicating the ranking (rank), the information indicating the base color, the information indicating the secondary color, and the information indicating the accent color are mutually different. Are associated. The kansei word is a term expressing a taste. The base color is the dominant color and can be said to be an example of the representative color. The secondary color is the dominant color after the base color. The accent color is an emphasis color (for example, a color having a role of giving a change to a color tone or enhancing another color).

ベースカラー、セカンダリーカラー及びアクセントカラーの色の組み合わせによって、当該組み合わせに対応付けられているテイストが実現される。ランキングは、その色の組み合わせとテイストとの関係性の強さに関する順位である。ランキングが上位の色の組み合わせほど、当該テイストとの関係性が強い、つまり、当該テイストを表現する色の組み合わせとして適していることになる。プリティというテイストを例に挙げて説明すると、ランキングが1位の色の組み合わせは、2位の組み合わせよりも、プリティというテイストを表現する色の組み合わせとしてより適した組み合わせであるといえる。   The taste associated with the combination is realized by the combination of the base color, the secondary color, and the accent color. The ranking is a ranking regarding the strength of the relationship between the color combination and the taste. The higher the combination of colors in the ranking, the stronger the relationship with the taste, that is, the more suitable the combination of colors expressing the taste. Taking the taste of pretty as an example, it can be said that the combination of colors ranked first is more suitable as a combination of colors expressing the taste of pretty than the combination of rank two.

以下、評価モデル(視認性モデル)について説明する。評価モデルにおいては、文字データと背景画像データとの明度差、彩度差及び色相差が用いられる。明度差(差分)(Lightnessdif)は以下の式(1)によって定義され、彩度差(差分)(Saturationdif)は以下の式(2)によって定義され、色相差(差分)(Huedif)は以下の式(3)によって定義される。 Hereinafter, the evaluation model (visibility model) will be described. In the evaluation model, a lightness difference, a chroma difference, and a hue difference between the character data and the background image data are used. The lightness difference (Lightness dif ) is defined by the following equation (1), the saturation difference (Saturation dif ) is defined by the following equation (2), and the hue difference (Hue dif ) Is defined by the following equation (3).

Lightnesstextは文字データの明度であり、Lightnessbackgroundは背景画像データの明度である。Saturationtextは文字データの彩度であり、Saturationbackgroundは背景画像データの彩度である。Huetextは文字データの色相であり、Huebackgroundは背景画像データの色相である。例えば、RGBデータから明度差、彩度差及び色相差が計算される。 Lightness text is the brightness of character data, and Lightness background is the brightness of background image data. Saturation text is the saturation of character data, and Saturation background is the saturation of background image data. Hue text is the hue of the character data, and Hue background is the hue of the background image data. For example, a brightness difference, a saturation difference, and a hue difference are calculated from the RGB data.

評価モデル(視認性モデル)は、以下の式(4)によって定義される。   The evaluation model (visibility model) is defined by the following equation (4).

Legibilityは視認性の評価値である。係数βl、β、β及びεは、例えば、視認性DB34に格納されているデータ(視認性データ)を用いた線形回帰モデルによる学習によって算出される。これらの係数は、例えば予め定められている。 Legibility is an evaluation value of visibility. The coefficients β l , β s , β h, and ε are calculated by, for example, learning using a linear regression model using data (visibility data) stored in the visibility DB 34. These coefficients are predetermined, for example.

以下、図5を参照して文字画像データについて説明する。図5は、文字画像データの一例を示す。以下の説明では、文字画像データを「文字画像」と略し、背景画像データを「背景画像」と略し、文字データを「文字」と略すものとする。   Hereinafter, the character image data will be described with reference to FIG. FIG. 5 shows an example of character image data. In the following description, character image data is abbreviated as “character image”, background image data is abbreviated as “background image”, and character data is abbreviated as “character”.

文字画像38は、背景画像40を含むレイヤー42と、文字44を含むレイヤー46とを含み、レイヤー42上にレイヤー46が重畳されている。背景画像40において文字44が重畳している背景領域40aには、画像やカラーボックス等が形成されている。   The character image 38 includes a layer 42 including a background image 40 and a layer 46 including a character 44, and the layer 46 is superimposed on the layer 42. An image, a color box, and the like are formed in a background area 40 a where the character 44 is superimposed on the background image 40.

以下、図6を参照して視認性評価処理について説明する。図6は、視認性評価処理に係るフローチャートを示す。ここでは、図5に示されている文字画像38の視認性が評価されるものとする。   Hereinafter, the visibility evaluation processing will be described with reference to FIG. FIG. 6 shows a flowchart relating to the visibility evaluation processing. Here, it is assumed that the visibility of the character image 38 shown in FIG. 5 is evaluated.

視認性評価部26は、評価対象の文字画像38を受け付けて、背景画像40内において文字44が重畳している背景領域40aの代表色(メインカラー)を特定する(ステップS01)。視認性評価部26は、例えば、背景領域40aにおいて特定の比率以上を有する色を代表色として定める。   The visibility evaluation unit 26 receives the character image 38 to be evaluated, and specifies the representative color (main color) of the background area 40a on which the character 44 is superimposed in the background image 40 (step S01). The visibility evaluation unit 26 determines, for example, a color having a specific ratio or more in the background region 40a as a representative color.

次に、視認性評価部26は、代表色の明度、彩度及び色相を計算する(ステップS02)。   Next, the visibility evaluation unit 26 calculates the brightness, saturation, and hue of the representative color (step S02).

また、視認性評価部26は、文字44の色を特定する(ステップS03)。なお、視認性評価の対象となる文字がユーザによって指定されてもよい。この場合、視認性評価部26は、指定された文字の色を特定する。また、視認性評価部26は、指定された文字が重畳している背景領域の代表色を特定し(ステップS01)、当該代表色の明度、彩度及び色相を計算する(ステップS02)。   The visibility evaluation unit 26 specifies the color of the character 44 (Step S03). Note that a character to be evaluated for visibility may be specified by the user. In this case, the visibility evaluation unit 26 specifies the color of the specified character. Further, the visibility evaluation unit 26 specifies a representative color of the background area on which the designated character is superimposed (step S01), and calculates the brightness, saturation, and hue of the representative color (step S02).

次に、視認性評価部26は、文字44の明度、彩度及び色相を計算する(ステップS04)。   Next, the visibility evaluation unit 26 calculates the brightness, saturation, and hue of the character 44 (step S04).

なお、ステップS01,S02の処理とステップS03,S04の処理は同時に行われてもよいし、いずれか一方の処理が先に行われ、他方の処理がその後に行われてもよい。   Note that the processes of steps S01 and S02 and the processes of steps S03 and S04 may be performed simultaneously, or one of the processes may be performed first and the other may be performed subsequently.

次に、視認性評価部26は、上記の式(4)によって定義されている評価モデル(視認性モデル)を用いて、視認性の評価値を計算する(ステップS05)。   Next, the visibility evaluation unit 26 calculates the visibility evaluation value using the evaluation model (visibility model) defined by the above equation (4) (step S05).

視認性の評価値が閾値以上である場合(ステップS06,Yes)、視認性評価部26は、文字44の色情報の変更は不要であると判断する(ステップS07)。この場合、文字44に対する変更処理は実行されない。   When the visibility evaluation value is equal to or larger than the threshold value (step S06, Yes), the visibility evaluation unit 26 determines that the color information of the character 44 does not need to be changed (step S07). In this case, the change processing for the character 44 is not performed.

評価値が閾値未満である場合(ステップS06,No)、視認性評価部26は、文字44の色情報の変更は必要であると判断する(ステップS08)。この場合、文字44に対する変更処理が実行される。   When the evaluation value is less than the threshold value (step S06, No), the visibility evaluation unit 26 determines that the color information of the character 44 needs to be changed (step S08). In this case, a change process for the character 44 is performed.

上記の閾値は、背景画像に重畳された文字の視認性を評価するための値であり、例えば、背景画像に重畳された文字が見やすいか否かを判断するための値である。閾値は、例えば予め定められた値であり、ユーザによって変更されてもよい。例えば、閾値として、背景画像に重畳された文字が見やすいと判断されると想定される値が定められる。   The threshold value is a value for evaluating the visibility of the character superimposed on the background image, and is, for example, a value for determining whether the character superimposed on the background image is easy to see. The threshold value is, for example, a predetermined value and may be changed by the user. For example, a value that is assumed to be determined to be easy to see the character superimposed on the background image is set as the threshold.

以下、図7を参照して文字の変更処理について説明する。図7は、文字の変更処理に関するフローチャートを示す。視認性の評価値が閾値未満であると判断された場合に、文字の変更処理が実行される。   Hereinafter, the character changing process will be described with reference to FIG. FIG. 7 shows a flowchart relating to the character change processing. When it is determined that the evaluation value of the visibility is less than the threshold value, a character changing process is performed.

変更部28は、背景画像40に重畳された文字44が見やすいと判断されると想定される視認性の評価値に基づいて、背景画像40の代表色と文字44の色との間の明度差、彩度差及び色相差を計算する(ステップS10)。つまり、変更部28は、当該視認性の評価値が得られる明度差、彩度差及び色相差を計算する。当該視認性の評価値として上記の閾値が用いられてもよい。   The changing unit 28 determines the lightness difference between the representative color of the background image 40 and the color of the character 44 based on the evaluation value of visibility, which is assumed to determine that the character 44 superimposed on the background image 40 is easy to see. , The saturation difference and the hue difference are calculated (step S10). That is, the changing unit 28 calculates the brightness difference, the saturation difference, and the hue difference from which the evaluation value of the visibility is obtained. The above threshold may be used as the evaluation value of the visibility.

次に、変更部28は、背景画像40の色を変更せずに、ステップS10で計算された明度差、彩度差及び色相差が得られる文字44の色を計算する(ステップS11)。当該色は、背景画像40の色を変更せずに、文字44が見やすいと判断されると想定される色である。   Next, the changing unit 28 calculates the color of the character 44 from which the brightness difference, the saturation difference, and the hue difference calculated in step S10 are obtained without changing the color of the background image 40 (step S11). The color is a color assumed that it is determined that the character 44 is easy to see without changing the color of the background image 40.

次に、変更部28は、文字44の色を、ステップS11で計算された色に変更する(ステップS12)。   Next, the changing unit 28 changes the color of the character 44 to the color calculated in step S11 (step S12).

次に、感性維持判定部30は、色が変更された文字44を含む文字画像38のテイストを判定する(ステップS13)。   Next, the feeling maintaining determination unit 30 determines the taste of the character image 38 including the character 44 whose color has been changed (step S13).

判定されたテイストが、ユーザによって指定されたテイストと一致する場合(ステップS14,Yes)、処理は終了する。この場合、ユーザによって指定されたテイストを有しつつ、色の変更によって文字の視認性が向上した文字画像が生成される。例えば、出力部33は、色が変更された文字44を含む文字画像38をUI部14の表示部に表示させる。   If the determined taste matches the taste specified by the user (step S14, Yes), the process ends. In this case, a character image in which the visibility of the character is improved by changing the color while having a taste designated by the user is generated. For example, the output unit 33 causes the display unit of the UI unit 14 to display a character image 38 including the character 44 whose color has been changed.

判定されたテイストが、ユーザによって指定されたテイストと一致しない場合(ステップS14,No)、表示態様変更部32は、色が変更される前の文字44の装飾を変更する(ステップS15)。つまり、文字44の色は変更されずに装飾が変更される。この場合、ユーザによって指定されたテイストを有しつつ、装飾によって文字の視認性が向上した文字画像が生成される。例えば、出力部33は、色が変更されずに装飾が変更された文字44を含む文字画像38をUI部14の表示部に表示させる。   When the determined taste does not match the taste specified by the user (step S14, No), the display mode changing unit 32 changes the decoration of the character 44 before the color is changed (step S15). That is, the decoration is changed without changing the color of the character 44. In this case, a character image that has a taste specified by the user and has improved character visibility due to decoration is generated. For example, the output unit 33 causes the display unit of the UI unit 14 to display the character image 38 including the character 44 whose decoration has been changed without changing the color.

図8に、装飾が施された文字画像の一例を示す。文字画像48は影付きの文字(影処理が適用された文字)を含む。文字画像50は光彩付きの文字(光彩処理が適用された文字)を含む。文字画像52は周辺輪郭付きの文字(輪郭処理が適用された文字)を含む。このような装飾を文字に施すことで、文字の色を変更しない場合であっても、文字の視認性が向上し得る。   FIG. 8 shows an example of a decorated character image. The character image 48 includes characters with shadows (characters to which shadow processing has been applied). The character image 50 includes glowing characters (characters to which glow processing has been applied). The character image 52 includes a character with a peripheral outline (a character to which outline processing has been applied). By applying such a decoration to a character, the visibility of the character can be improved even when the color of the character is not changed.

以下、本実施形態の実施例について説明する。   Hereinafter, examples of the present embodiment will be described.

(実施例1)
以下、実施例1について説明する。実施例1では、背景画像としてカラーボックスが用いられる。図9は、実施例1に係る文字画像54を示す。文字画像54は、カラーボックスとしての背景画像56と、背景画像56上に重畳された文字58(文字列「自然史」)とを含む。文字画像54は、例えばポスターに用いられる画像である。例えば、ユーザがUI部14を操作してテイストを指定すると、その指定されたテイストを有する文字画像54が生成されるように、カラーボックスと文字の色が設定される。ここでは、ユーザが感性語「ナチュラル」を用いてテイスト「ナチュラル」を指定しており、そのテイスト「ナチュラル」を有する文字画像54が生成されている。テイスト「ナチュラル」を有する文字画像54は、情報処理装置10によって生成されてもよいし、他の装置によって生成されてもよい。ここでは、背景画像56及び文字58のそれぞれの色は一色である。
(Example 1)
Hereinafter, Example 1 will be described. In the first embodiment, a color box is used as a background image. FIG. 9 illustrates a character image 54 according to the first embodiment. The character image 54 includes a background image 56 as a color box and a character 58 (character string “natural history”) superimposed on the background image 56. The character image 54 is an image used for a poster, for example. For example, when the user operates the UI unit 14 to specify a taste, the color of the color box and the character are set so that the character image 54 having the specified taste is generated. Here, the user has designated the taste “natural” using the sensitivity word “natural”, and the character image 54 having the taste “natural” has been generated. The character image 54 having the taste “natural” may be generated by the information processing device 10 or may be generated by another device. Here, each color of the background image 56 and the character 58 is one color.

実施例1で用いられる評価モデル(視認性モデル)は、以下の式(5)によって定義される。後述する実施例2〜5においても、式(5)によって定義される評価モデルが用いられる。   The evaluation model (visibility model) used in the first embodiment is defined by the following equation (5). In Examples 2 to 5 described later, the evaluation model defined by Expression (5) is used.

上述したように、係数βl、β、β及びεは、視認性DB34に格納されているデータ(視認性データ)を用いた線形回帰モデルによる学習によって算出されている。また、視認性の評価値(閾値)が「3」以上であれば、背景画像上の文字は見やすい文字に該当すると判断されるものとする。なお、式(5)中の各係数は一例に過ぎず、視認性DB34に格納されているデータによって変更し得る。 As described above, the coefficients β l , β s , β h, and ε are calculated by learning using a linear regression model using data (visibility data) stored in the visibility DB 34. If the evaluation value (threshold) of visibility is “3” or more, it is determined that the characters on the background image correspond to easy-to-view characters. Note that each coefficient in the equation (5) is merely an example, and can be changed by data stored in the visibility DB 34.

以下、実施例1における処理について詳しく説明する。   Hereinafter, the processing in the first embodiment will be described in detail.

まず、視認性評価部26は、文字58の色及び背景画像56の代表色(メインカラー)を特定し、各色のRGBデータを特定する。図10は、各色の情報を示す。例えば、文字58の色及び背景画像56の代表色のそれぞれについて、PCCS_ID、色相、色調、及び、RGBが、視認性評価部26によって特定される。   First, the visibility evaluation unit 26 specifies the color of the character 58 and the representative color (main color) of the background image 56, and specifies the RGB data of each color. FIG. 10 shows information of each color. For example, the visibility evaluation unit 26 specifies the PCCS_ID, the hue, the color tone, and the RGB for each of the color of the character 58 and the representative color of the background image 56.

次に、視認性評価部26は、文字58の色及び背景画像56の代表色のそれぞれについて、明度、彩度及び色相角を計算する。図11は、各色の明度、彩度及び色相角を示す。   Next, the visibility evaluation unit 26 calculates lightness, saturation, and hue angle for each of the color of the character 58 and the representative color of the background image 56. FIG. 11 shows lightness, saturation, and hue angle of each color.

次に、視認性評価部26は、文字58の色と背景画像56の代表色との間における明度差、彩度差及び色相差を計算する。以下に、これらの値を示す。
明度差=5.73545
彩度差=8.58435
色相差=10.3245
Next, the visibility evaluation unit 26 calculates a brightness difference, a saturation difference, and a hue difference between the color of the character 58 and the representative color of the background image 56. The following shows these values.
Brightness difference = 5.73545
Saturation difference = 8.58435
Hue difference = 10.3245

次に、視認性評価部26は、上記の式(5)によって定義されている評価モデル(視認性モデル)に、上記の明度差、彩度差及び色相差を代入することで、背景画像56に対する文字58の視認性の評価値を計算する。以下に、このようにして計算された視認性の評価値を示す。
視認性の評価値=1.3139
Next, the visibility evaluation unit 26 substitutes the lightness difference, the saturation difference, and the hue difference into the evaluation model (visibility model) defined by the above equation (5), thereby obtaining the background image 56. The evaluation value of the visibility of the character 58 with respect to is calculated. The evaluation values of visibility calculated in this manner are shown below.
Evaluation value of visibility = 1.3139

背景画像に重畳された文字が見やすいと想定される評価値(閾値)は、「3」に設定されている。上記のようにして計算された視認性の評価値は閾値未満であるため、視認性評価部26は、文字58の色情報の変更が必要であると判断する。   The evaluation value (threshold) at which the character superimposed on the background image is assumed to be easy to see is set to “3”. Since the visibility evaluation value calculated as described above is less than the threshold, the visibility evaluation unit 26 determines that the color information of the character 58 needs to be changed.

この場合、変更部28は、背景画像56の色を変更せずに、視認性の評価値が「3」となるための文字58のRGBデータを計算する。そのために、一例として、変更部28は、文字58の明度を変更する。つまり、変更部28は、視認性の評価値が「3」となるための明度差(文字58と背景画像56との間の明度差)を計算し、その明度差が得られる文字58の明度を計算する。   In this case, the changing unit 28 does not change the color of the background image 56 and calculates the RGB data of the character 58 for the evaluation value of the visibility to be “3”. Therefore, as an example, the changing unit 28 changes the brightness of the character 58. That is, the changing unit 28 calculates the brightness difference (the brightness difference between the character 58 and the background image 56) for the evaluation value of the visibility to be “3”, and calculates the brightness of the character 58 from which the brightness difference is obtained. Is calculated.

例えば、視認性の評価値として「3」を得るためには、明度差は29.6939である必要がある。その明度差が得られる文字58の明度、つまり、文字58が見やすいと想定される明度は、以下の式によって計算される。
見やすい明度=(背景画像56の代表色の明度)−(明度差)=55.9409
つまり、視認性の評価値が「3」となるためには、明度差として29.6939が必要であり、そのための文字58の明度として、55.9409が必要となる。視認性の評価値として閾値(「3」)を得るための明度差(「29.6939」)が、明度差閾値の一例に相当する。
For example, in order to obtain “3” as the evaluation value of visibility, the lightness difference needs to be 29.6939. The brightness of the character 58 from which the brightness difference is obtained, that is, the brightness at which the character 58 is assumed to be easy to see, is calculated by the following equation.
Easy-to-see brightness = (brightness of representative color of background image 56)-(brightness difference) = 55.9409
That is, in order for the evaluation value of visibility to be “3”, 29.6939 is required as the brightness difference, and 55.9409 is required as the brightness of the character 58 for that. The brightness difference ("29.6939") for obtaining the threshold ("3") as the evaluation value of visibility corresponds to an example of the brightness difference threshold.

上記の例では、変更部28は、視認性の評価値が閾値(「3」)となるための明度差(明度差閾値)を計算し、その明度差閾値が得られる文字58の明度を計算しているが、その明度差閾値以上の明度差が得られる文字58の明度を計算してもよい。また、変更部28は、視認性の評価値が閾値(「3」)以上となるための明度差(明度差閾値)を計算し、その明度差閾値が得られる文字58の明度を計算してもよい。以下の実施例2〜6においても同様である。   In the above example, the changing unit 28 calculates the brightness difference (brightness difference threshold) for the evaluation value of the visibility to become the threshold value ("3"), and calculates the brightness of the character 58 from which the brightness difference threshold value is obtained. However, the brightness of the character 58 that provides a brightness difference equal to or greater than the brightness difference threshold may be calculated. Further, the changing unit 28 calculates a brightness difference (brightness difference threshold) for the evaluation value of the visibility to be equal to or more than the threshold ("3"), and calculates the brightness of the character 58 from which the brightness difference threshold is obtained. Is also good. The same applies to the following Examples 2 to 6.

なお、実施例1では、代表色の明度から明度差を減算して得られた明度を、文字58の明度として用いているが、代表色の明度に明度差を加算して得られた明度を、文字58の明度として用いてもよい。明度の変更量が上限に達しない限りいずれの方法を採用してもよいが、一方の方法にて明度の変更量が上限に達し、他方の方法にて明度の変更量が上限に達しない場合には、他方の方法が採用される。   In the first embodiment, the brightness obtained by subtracting the brightness difference from the brightness of the representative color is used as the brightness of the character 58. However, the brightness obtained by adding the brightness difference to the brightness of the representative color is , Character 58. Either method may be adopted as long as the amount of change in brightness does not reach the upper limit, but when the amount of change in brightness reaches the upper limit by one method and the amount of change in brightness does not reach the upper limit by the other method Employs the other method.

図12は、明度が変更された文字58の色情報を示す。明度は55.9409に変更されている。文字58の彩度と色相角は変更されていない。また、変更部28は、これらの明度、彩度及び色相角を表現するためのRGBデータを計算する。図12には、そのRGBデータも示されている。このRGBデータは、明度の変更が反映されたRGBデータである。   FIG. 12 shows the color information of the character 58 whose brightness has been changed. The brightness has been changed to 55.9409. The saturation and hue angle of the character 58 are not changed. Further, the changing unit 28 calculates RGB data for expressing these lightness, saturation, and hue angle. FIG. 12 also shows the RGB data. This RGB data is RGB data in which a change in brightness is reflected.

次に、変更部28は、文字58のRGBデータを、明度の変更が反映されたRGBデータに変更することで、文字58の明度が変更された文字画像を生成する。図13は、その文字画像60を示す。文字画像60においては、文字58の明度が文字画像54から変更されている。背景画像56の色は変更されていない。視認性の評価値が「3」となるように文字58の明度が変更されている。それ故、変更前の文字画像54と比較して、文字画像60では文字58が見やすくなっている。   Next, the changing unit 28 changes the RGB data of the character 58 to the RGB data in which the change in the brightness is reflected, thereby generating a character image in which the brightness of the character 58 is changed. FIG. 13 shows the character image 60. In the character image 60, the brightness of the character 58 is changed from the character image 54. The color of the background image 56 has not been changed. The brightness of the character 58 is changed so that the evaluation value of the visibility becomes “3”. Therefore, the character 58 is easier to see in the character image 60 than in the character image 54 before the change.

また、感性維持判定部30は、変更前の文字画像54が有するテイストと、変更後の文字画像60が有するテイストとを比較する。実施例1では、両テイストは一致している。それ故、文字58は装飾されない。   In addition, the feeling maintaining determination unit 30 compares the taste of the character image 54 before the change with the taste of the character image 60 after the change. In the first embodiment, both tastes match. Therefore, the character 58 is not decorated.

例えば、出力部33は、変更後の文字画像60をUI部14の表示部に表示させる。   For example, the output unit 33 displays the changed character image 60 on the display unit of the UI unit 14.

文字58の明度を変更することで、文字画像54をそのまま出力する場合と比較して、背景画像56と文字58との間の色関係に対する重畳の影響が軽減された文字画像60が出力される。例えば、文字画像54と比較して、文字58が見やすい文字画像60が出力される。   By changing the brightness of the character 58, a character image 60 is output in which the influence of the superposition on the color relationship between the background image 56 and the character 58 is reduced as compared with the case where the character image 54 is output as it is. . For example, a character image 60 in which the character 58 is easier to see than the character image 54 is output.

実施例1では、文字58の明度が変更されて、彩度及び色相は変更されていない。これは一例に過ぎず、彩度や色相も変更されてもよい。つまり、変更部28は、視認性の評価値が「3」となるように、文字58の明度、彩度及び色相の中の少なくとも1つの色パラメータを変更してもよい。   In the first embodiment, the brightness of the character 58 is changed, and the saturation and the hue are not changed. This is only an example, and the saturation and hue may be changed. That is, the changing unit 28 may change at least one of the color parameters of the lightness, the saturation, and the hue of the character 58 so that the evaluation value of the visibility becomes “3”.

一般的に、明度差、彩度差及び色相差の中で、明度差が文字の視認性に最も影響を与えると考えられ、明度差の変更が文字の視認性の変更に最も寄与すると考えられる。それ故、実施例1では、文字の視認性が向上するように文字の明度を変更している。もちろん、目標の視認性が得られるのであれば、文字の明度を変更せずに、文字の彩度や色相を変更してもよい。また、明度の変更によって目標の視認性が得られない場合に、文字の彩度や色相を変更してもよい。また、一般的に、各色パラメータは互いに関連性を有している。例えば、彩度差が小さいほど色相差も小さい。文字と背景画像との彩度差が大きい場合には、その彩度差が小さい場合と比較して、色相差の変更が視認性の変更に寄与する度合いが大きくなると考えられる。そこで、彩度差が予め定められた値(例えば、視認性の変更に寄与すると想定される値)以上となった場合に、文字の色相を変更してもよい。もちろん、このような処理は一例に過ぎず、処理対象の文字画像に応じて、変更される文字の色パラメータが変更されてもよい。   Generally, among the brightness difference, the saturation difference, and the hue difference, the brightness difference is considered to have the greatest effect on the visibility of the character, and the change in the brightness difference is considered to most contribute to the change in the visibility of the character. . Therefore, in the first embodiment, the brightness of the character is changed so that the visibility of the character is improved. Of course, if the target visibility can be obtained, the saturation or hue of the character may be changed without changing the brightness of the character. If the target visibility cannot be obtained due to the change in the brightness, the saturation or hue of the character may be changed. In general, each color parameter is related to each other. For example, the smaller the saturation difference, the smaller the hue difference. When the saturation difference between the character and the background image is large, it is considered that the degree to which the change in the hue difference contributes to the change in visibility is greater than when the saturation difference is small. Therefore, when the saturation difference is equal to or greater than a predetermined value (for example, a value assumed to contribute to a change in visibility), the hue of the character may be changed. Of course, such processing is only an example, and the color parameter of the character to be changed may be changed according to the character image to be processed.

(実施例2)
以下、実施例2について説明する。実施例2では、背景画像として特定の模様等を表現する画像が用いられる。図14は、実施例2に係る文字画像62を示す。文字画像62は、特定の模様等を表現する背景画像64と、背景画像64上に重畳された文字66(文字列「自然史」)とを含む。文字画像62は、例えばポスターに用いられる画像である。ここでは、ユーザがテイスト「ナチュラル」を指定しており、そのテイスト「ナチュラル」を有する文字画像62が生成されている。
(Example 2)
Hereinafter, a second embodiment will be described. In the second embodiment, an image expressing a specific pattern or the like is used as a background image. FIG. 14 illustrates a character image 62 according to the second embodiment. The character image 62 includes a background image 64 expressing a specific pattern or the like, and a character 66 (character string “natural history”) superimposed on the background image 64. The character image 62 is an image used for a poster, for example. Here, the user has designated taste "natural", and a character image 62 having the taste "natural" has been generated.

以下、実施例2における処理について詳しく説明する。   Hereinafter, the processing in the second embodiment will be described in detail.

まず、視認性評価部26は、文字66の色及び背景画像64の代表色(メインカラー)を特定し、各色のRGBデータを特定する。視認性評価部26は、背景画像64において文字66が重畳している領域の代表色を特定し、その色のRGBデータを特定する。実施例2では、背景画像64の代表色として2つの色(代表色1,2)が特定されている。図15は、各色の情報を示す。文字66の色及び背景画像64の代表色1,2のそれぞれについて、PCCS_ID、色相、色調、及び、RGBが、視認性評価部26によって特定される。   First, the visibility evaluation unit 26 specifies the color of the character 66 and the representative color (main color) of the background image 64, and specifies the RGB data of each color. The visibility evaluation unit 26 specifies the representative color of the area where the character 66 is superimposed on the background image 64, and specifies the RGB data of the color. In the second embodiment, two colors (representative colors 1 and 2) are specified as representative colors of the background image 64. FIG. 15 shows information of each color. For each of the color of the character 66 and the representative colors 1 and 2 of the background image 64, the PCCS_ID, the hue, the color tone, and the RGB are specified by the visibility evaluation unit 26.

次に、視認性評価部26は、文字66の色及び背景画像64の代表色1,2のそれぞれについて、明度、彩度及び色相角を計算する。図16は、各色の明度、彩度及び色相角を示す。   Next, the visibility evaluation unit 26 calculates lightness, saturation, and hue angle for each of the color of the character 66 and the representative colors 1 and 2 of the background image 64. FIG. 16 shows lightness, saturation, and hue angle of each color.

次に、視認性評価部26は、文字66の色と背景画像64の代表色1との間における明度差、彩度差及び色相差を計算し、文字66の色と背景画像64の代表色2との間における明度差、彩度差及び色相差を計算する。   Next, the visibility evaluation unit 26 calculates a lightness difference, a saturation difference, and a hue difference between the color of the character 66 and the representative color 1 of the background image 64, and calculates the color of the character 66 and the representative color of the background image 64. The lightness difference, the saturation difference, and the hue difference between the two are calculated.

文字66の色と代表色1との差は以下の通りである。
明度差=10.7193
彩度差=8.24962
色相差=40.9436
The difference between the color of the character 66 and the representative color 1 is as follows.
Lightness difference = 10.7193
Saturation difference = 8.24962
Hue difference = 40.9436

文字66の色と代表色2との差は以下の通りである。
明度差=28.8358
彩度差=10.5515
色相差=24.6965
The difference between the color of the character 66 and the representative color 2 is as follows.
Lightness difference = 28.8358
Saturation difference = 10.5515
Hue difference = 24.6965

次に、視認性評価部26は、上記の式(5)によって定義されている評価モデル(視認性モデル)に、上記の明度差、彩度差及び色相差を代入することで、背景画像64に対する文字66の視認性の評価値を計算する。背景画像64の代表色として2つの色が特定されているため、視認性評価部26は、代表色毎の評価値を計算する。   Next, the visibility evaluation unit 26 substitutes the lightness difference, the saturation difference, and the hue difference into the evaluation model (visibility model) defined by the above equation (5), thereby obtaining the background image 64. The evaluation value of the visibility of the character 66 with respect to is calculated. Since two colors are specified as the representative colors of the background image 64, the visibility evaluation unit 26 calculates an evaluation value for each representative color.

代表色1に対する文字66の視認性の評価値は以下の通りである。
視認性の評価値=1.73756
The evaluation value of the visibility of the character 66 for the representative color 1 is as follows.
Evaluation value of visibility = 1.73756

代表色2に対する文字66の視認性の評価値は以下の通りである。
視認性の評価値=2.7065
The evaluation value of the visibility of the character 66 for the representative color 2 is as follows.
Evaluation value of visibility = 2.70065

背景画像に重畳された文字が見やすいと想定される評価値(閾値)は、「3」に設定されている。上記のようにして計算された視認性の評価値は閾値未満であるため、視認性評価部26は、文字66の色情報の変更が必要であると判断する。   The evaluation value (threshold) at which the character superimposed on the background image is assumed to be easy to see is set to “3”. Since the visibility evaluation value calculated as described above is less than the threshold, the visibility evaluation unit 26 determines that the color information of the character 66 needs to be changed.

この場合、変更部28は、背景画像64の色を変更せずに、視認性の評価値が「3」となるための文字66のRGBデータを計算する。そのために、一例として、変更部28は、文字66の明度を変更する。つまり、変更部28は、視認性の評価値が「3」となるための明度差(文字66と背景画像64との間の明度差)を計算し、その明度差が得られる文字66の明度を計算する。実施例2では、2つの色が代表色として特定されているため、変更部28は、代表色毎に明度差を計算する。   In this case, the changing unit 28 does not change the color of the background image 64 and calculates the RGB data of the character 66 for the evaluation value of the visibility to be “3”. Therefore, as an example, the changing unit 28 changes the brightness of the character 66. That is, the changing unit 28 calculates the brightness difference (the brightness difference between the character 66 and the background image 64) for the evaluation value of the visibility to be “3”, and calculates the brightness of the character 66 from which the brightness difference is obtained. Is calculated. In the second embodiment, since two colors are specified as the representative colors, the changing unit 28 calculates the lightness difference for each representative color.

例えば、視認性の評価値として「3」を得るためには、代表色1との間では明度差1は32.9521である必要がある。また、代表色2との間では明度差2は34.0046である必要がある。文字66が見やすいと想定される明度は、以下の式によって計算される。
見やすい明度=(背景画像64の代表色2の明度)−(明度差2)=28.5298
つまり、視認性の評価値が「3」となるためには、文字66の明度として28.5298が必要となる。文字66の明度が28.5298であれば、代表色1,2の両方との関係において視認性の評価値が「3」以上となる。
For example, in order to obtain “3” as the visibility evaluation value, the lightness difference 1 between the representative color 1 and the representative color 1 needs to be 32.9521. The lightness difference 2 between the representative color 2 and the representative color 2 needs to be 34.0046. The brightness at which the character 66 is assumed to be easy to see is calculated by the following equation.
Easy-to-see brightness = (brightness of representative color 2 of background image 64)-(brightness difference 2) = 28.5298
That is, in order for the visibility evaluation value to be “3”, 28.5298 is required as the brightness of the character 66. If the brightness of the character 66 is 28.5298, the evaluation value of the visibility becomes “3” or more in relation to both the representative colors 1 and 2.

なお、実施例1と同様に、代表色の明度に明度差を加算して得られた明度を、文字58の明度として用いてもよい。   As in the first embodiment, the brightness obtained by adding the brightness difference to the brightness of the representative color may be used as the brightness of the character 58.

図17は、明度が変更された文字66の色情報を示す。明度は28.5298に変更されている。文字66の彩度と色相角は変更されていない。また、変更部28は、これらの明度、彩度及び色相角を表現するためのRGBデータを計算する。図17には、そのRGBデータも示されている。このRGBデータは、明度の変更が反映されたRGBデータである。   FIG. 17 shows the color information of the character 66 whose brightness has been changed. The brightness has been changed to 28.5298. The saturation and hue angle of the character 66 are not changed. Further, the changing unit 28 calculates RGB data for expressing these lightness, saturation, and hue angle. FIG. 17 also shows the RGB data. This RGB data is RGB data in which a change in brightness is reflected.

次に、変更部28は、文字66のRGBデータを、明度の変更が反映されたRGBデータに変更することで、文字66の明度が変更された文字画像を生成する。図18は、その文字画像68を示す。文字画像68においては、文字66の明度が文字画像62から変更されている。背景画像64の色は変更されていない。視認性の評価値が「3」となるように文字66の明度が変更されている。それ故、変更前の文字画像62と比較して、文字画像68では文字66が見やすくなっている。   Next, the changing unit 28 changes the RGB data of the character 66 to the RGB data in which the change in the brightness is reflected, thereby generating a character image in which the brightness of the character 66 is changed. FIG. 18 shows the character image 68. In the character image 68, the brightness of the character 66 is changed from the character image 62. The color of the background image 64 has not been changed. The brightness of the character 66 is changed so that the evaluation value of the visibility becomes “3”. Therefore, the character 66 is easier to see in the character image 68 than in the character image 62 before the change.

また、感性維持判定部30は、変更前の文字画像62が有するテイストと、変更後の文字画像68が有するテイストとを比較する。実施例2では、両テイストは一致している。それ故、文字66は装飾されない。   In addition, the feeling maintaining determination unit 30 compares the taste of the character image 62 before the change with the taste of the character image 68 after the change. In the second embodiment, both tastes match. Therefore, the character 66 is not decorated.

例えば、出力部33は、変更後の文字画像68をUI部14の表示部に表示させる。   For example, the output unit 33 causes the display unit of the UI unit 14 to display the changed character image 68.

文字66の明度を変更することで、文字画像62をそのまま出力する場合と比較して、背景画像64と文字66との間の色関係に対する重畳の影響が軽減された文字画像68が出力される。例えば、文字画像62と比較して、文字66が見やすい文字画像68が出力される。   By changing the brightness of the character 66, a character image 68 is output in which the influence of the superposition on the color relationship between the background image 64 and the character 66 is reduced as compared with the case where the character image 62 is output as it is. . For example, a character image 68 in which the character 66 is easier to see than the character image 62 is output.

実施例2においても、変更部28は、視認性の評価値が「3」となるように、文字66の彩度や色相を変更してもよい。   Also in the second embodiment, the changing unit 28 may change the saturation or hue of the character 66 so that the evaluation value of visibility becomes “3”.

(実施例3)
以下、実施例3について説明する。実施例3では、背景画像として特定の模様等を表現する画像が用いられる。図19は、実施例3に係る文字画像70を示す。文字画像70は、特定の模様等を表現する背景画像72と、背景画像72上に重畳された文字74(文字列「歴史秘話」)とを含む。文字画像70は、例えばポスターに用いられる画像である。ここでは、ユーザがテイスト「クラシック」を指定しており、そのテイスト「クラシック」を有する文字画像70が生成されている。
(Example 3)
Hereinafter, a third embodiment will be described. In the third embodiment, an image expressing a specific pattern or the like is used as a background image. FIG. 19 illustrates a character image 70 according to the third embodiment. The character image 70 includes a background image 72 expressing a specific pattern or the like, and a character 74 (character string “historical secret story”) superimposed on the background image 72. The character image 70 is an image used for a poster, for example. Here, the user has designated taste “classic”, and a character image 70 having the taste “classic” has been generated.

以下、実施例3における処理について詳しく説明する。   Hereinafter, the processing in the third embodiment will be described in detail.

まず、視認性評価部26は、文字74の色及び背景画像72の代表色(メインカラー)を特定し、各色のRGBデータを特定する。視認性評価部26は、背景画像72において文字74が重畳している領域の代表色を特定し、その色のRGBデータを特定する。実施例3では、背景画像72の代表色として2つの色(代表色1,2)が特定されている。図20は、各色の情報を示す。文字74の色及び背景画像72の代表色1,2のそれぞれについて、PCCS_ID、色相、色調、及び、RGBが、視認性評価部26によって特定される。   First, the visibility evaluation unit 26 specifies the color of the character 74 and the representative color (main color) of the background image 72, and specifies the RGB data of each color. The visibility evaluation unit 26 specifies the representative color of the area where the character 74 is superimposed on the background image 72, and specifies the RGB data of the color. In the third embodiment, two colors (representative colors 1 and 2) are specified as representative colors of the background image 72. FIG. 20 shows information of each color. For each of the color of the character 74 and the representative colors 1 and 2 of the background image 72, the PCCS_ID, the hue, the color tone, and the RGB are specified by the visibility evaluation unit 26.

次に、視認性評価部26は、文字74の色及び背景画像72の代表色1,2のそれぞれについて、明度、彩度及び色相角を計算する。図21は、各色の明度、彩度及び色相角を示す。   Next, the visibility evaluation unit 26 calculates lightness, saturation, and hue angle for each of the color of the character 74 and the representative colors 1 and 2 of the background image 72. FIG. 21 shows the lightness, saturation, and hue angle of each color.

次に、視認性評価部26は、文字74の色と背景画像72の代表色1との間における明度差、彩度差及び色相差を計算し、文字74の色と背景画像72の代表色2との間における明度差、彩度差及び色相差を計算する。   Next, the visibility evaluation unit 26 calculates the lightness difference, the saturation difference, and the hue difference between the color of the character 74 and the representative color 1 of the background image 72, and calculates the color of the character 74 and the representative color of the background image 72. The lightness difference, the saturation difference, and the hue difference between the two are calculated.

文字74の色と代表色1との差は以下の通りである。
明度差=0
彩度差=0
色相差=0
The difference between the color of the character 74 and the representative color 1 is as follows.
Lightness difference = 0
Saturation difference = 0
Hue difference = 0

文字74の色と代表色2との差は以下の通りである。
明度差=13.9980
彩度差=16.1106
色相差=19.8214
The difference between the color of the character 74 and the representative color 2 is as follows.
Lightness difference = 13.9980
Saturation difference = 16.1106
Hue difference = 19.8214

次に、視認性評価部26は、上記の式(5)によって定義されている評価モデル(視認性モデル)に、上記の明度差、彩度差及び色相差を代入することで、背景画像72に対する文字74の視認性の評価値を計算する。背景画像72の代表色として2つの色が特定されているため、視認性評価部26は、代表色毎の評価値を計算する。   Next, the visibility evaluation unit 26 substitutes the lightness difference, the saturation difference, and the hue difference for the evaluation model (visibility model) defined by the above equation (5), thereby obtaining the background image 72. The evaluation value of the visibility of the character 74 with respect to is calculated. Since two colors are specified as the representative colors of the background image 72, the visibility evaluation unit 26 calculates an evaluation value for each representative color.

代表色1に対する文字74の視認性の評価値は以下の通りである。
視認性の評価値=0.8799
The evaluation value of the visibility of the character 74 for the representative color 1 is as follows.
Evaluation value of visibility = 0.8799

代表色2に対する文字74の視認性の評価値は以下の通りである。
視認性の評価値=1.8801
The evaluation value of the visibility of the character 74 for the representative color 2 is as follows.
Evaluation value of visibility = 1.8801

背景画像に重畳された文字が見やすいと想定される評価値(閾値)は、「3」に設定されている。上記のようにして計算された視認性の評価値は閾値未満であるため、視認性評価部26は、文字74の色情報の変更が必要であると判断する。   The evaluation value (threshold) at which the character superimposed on the background image is assumed to be easy to see is set to “3”. Since the visibility evaluation value calculated as described above is less than the threshold, the visibility evaluation unit 26 determines that the color information of the character 74 needs to be changed.

この場合、変更部28は、背景画像72の色を変更せずに、視認性の評価値が「3」となるための文字74のRGBデータを計算する。そのために、一例として、変更部28は、文字74の明度を変更する。つまり、変更部28は、視認性の評価値が「3」となるための明度差(文字74と背景画像72との間の明度差)を計算し、その明度差が得られる文字74の明度を計算する。実施例3では、2つの色が代表色として特定されているため、変更部28は、代表色毎に明度差を計算する。   In this case, the changing unit 28 does not change the color of the background image 72 and calculates the RGB data of the character 74 for the visibility evaluation value to be “3”. Therefore, as an example, the changing unit 28 changes the brightness of the character 74. That is, the changing unit 28 calculates the brightness difference (the brightness difference between the character 74 and the background image 72) for the evaluation value of the visibility to be “3”, and calculates the brightness of the character 74 from which the brightness difference is obtained. Is calculated. In the third embodiment, since two colors are specified as representative colors, the changing unit 28 calculates a lightness difference for each representative color.

例えば、視認性の評価値として「3」を得るためには、代表色1との間では明度差1は37.3370である必要がある。また、代表色2との間では明度差2は33.7205である必要がある。文字74が見やすいと想定される明度は、以下の式によって計算される。
見やすい明度=(背景画像72の代表色2の明度)+(明度差2)=73.4008
つまり、視認性の評価値が「3」となるためには、文字74の明度として73.4008が必要となる。文字74の明度が73.4008であれば、代表色1,2の両方との関係において視認性の評価値が「3」以上となる。
For example, in order to obtain “3” as the evaluation value of the visibility, the lightness difference 1 with the representative color 1 needs to be 37.3370. The lightness difference 2 with the representative color 2 needs to be 33.7205. The brightness at which the character 74 is assumed to be easy to see is calculated by the following equation.
Easy-to-view brightness = (brightness of representative color 2 of background image 72) + (brightness difference 2) = 73.4088
That is, in order for the evaluation value of the visibility to be “3”, the lightness of the character 74 needs to be 73.4008. If the lightness of the character 74 is 73.4008, the evaluation value of the visibility becomes “3” or more in relation to both the representative colors 1 and 2.

図22は、明度が変更された文字74の色情報を示す。明度は73.4008に変更されている。文字74の彩度と色相角は変更されていない。また、変更部28は、これらの明度、彩度及び色相角を表現するためのRGBデータを計算する。図22には、そのRGBデータも示されている。このRGBデータは、明度の変更が反映されたRGBデータである。   FIG. 22 shows the color information of the character 74 whose brightness has been changed. The brightness has been changed to 73.4008. The saturation and hue angle of the character 74 are not changed. Further, the changing unit 28 calculates RGB data for expressing these lightness, saturation, and hue angle. FIG. 22 also shows the RGB data. This RGB data is RGB data in which a change in brightness is reflected.

次に、変更部28は、文字74のRGBデータを、明度の変更が反映されたRGBデータに変更することで、文字74の明度が変更された文字画像を生成する。図23は、その文字画像76を示す。文字画像76においては、文字74の明度が文字画像70から変更されている。背景画像72の色は変更されていない。視認性の評価値が「3」となるように文字74の明度が変更されている。それ故、変更前の文字画像70と比較して、文字画像76では文字74が見やすくなっている。   Next, the changing unit 28 changes the RGB data of the character 74 to the RGB data reflecting the change in the brightness, thereby generating a character image in which the brightness of the character 74 has been changed. FIG. 23 shows the character image 76. In the character image 76, the brightness of the character 74 is changed from the character image 70. The color of the background image 72 has not been changed. The brightness of the character 74 is changed so that the evaluation value of the visibility becomes “3”. Therefore, the character 74 is easier to see in the character image 76 than in the character image 70 before the change.

また、感性維持判定部30は、変更前の文字画像70が有するテイストと、変更後の文字画像76が有するテイストとを比較する。例えば、感性維持判定部30は、変更後の文字画像76からベースカラー、セカンダリーカラー及びアクセントカラーを抽出し、感性DB36において、当該色の組み合わせに対応付けられているテイストを検索する。図24は、その検索の結果を示す。変更後の文字画像70から抽出されたベースカラー、セカンダリーカラー及びアクセントカラーに対応するテイストは「ノーブル」である。   In addition, sentiment maintenance determination section 30 compares the taste of character image 70 before the change with the taste of character image 76 after the change. For example, the sensitivity maintaining determination unit 30 extracts a base color, a secondary color, and an accent color from the character image 76 after the change, and searches the sensitivity DB 36 for a taste associated with the combination of the colors. FIG. 24 shows the result of the search. The taste corresponding to the base color, the secondary color, and the accent color extracted from the changed character image 70 is “noble”.

変更前の文字画像70が有するテイスト(ユーザによって指定されたテイスト)は「クラシック」であり、変更後の文字画像76が有するテイストは「ノーブル」であるため、両テイストは一致していない。この場合、変更部28は、文字74の色を変更せずに、表示態様変更部32は、文字74の装飾を変更する。つまり、表示態様変更部32は、変更前の文字画像70に含まれる文字74の色を変更せずに文字74の装飾を変更する。表示態様変更部32は、例えば、文字74の装飾が変更された1又は複数の文字画像を生成する。このとき、表示態様変更部32は、文字画像70が有するテイスト「クラシック」が変更されないように文字74の装飾を変更する。つまり、表示態様変更部32は、テイスト「クラシック」を有しつつ、文字74の装飾が変更された1又は複数の文字画像を生成する。   The taste of the character image 70 before the change (taste specified by the user) is “classic”, and the taste of the character image 76 after the change is “noble”, so the two tastes do not match. In this case, the changing unit 28 does not change the color of the character 74, and the display mode changing unit 32 changes the decoration of the character 74. That is, the display mode changing unit 32 changes the decoration of the character 74 without changing the color of the character 74 included in the character image 70 before the change. The display mode changing unit 32 generates, for example, one or more character images in which the decoration of the character 74 has been changed. At this time, the display mode changing unit 32 changes the decoration of the character 74 so that the taste “classic” of the character image 70 is not changed. That is, the display mode changing unit 32 generates one or a plurality of character images in which the decoration of the character 74 is changed while having the taste “classic”.

例えば、出力部33は、文字74が装飾された文字画像をUI部14の表示部に表示させる。   For example, the output unit 33 causes the display unit of the UI unit 14 to display a character image in which the character 74 is decorated.

図25は、文字74が装飾された文字画像の一例を示す。ここでは、文字74の装飾が変更された2つの文字画像(文字画像78,80)が生成されており、文字画像78,80が表示部に表示されている。文字画像78,80は、元の文字画像70と同じテイスト「クラシック」を有する。文字画像78においては、文字74に白い影が装飾として施されている。文字画像80においては、文字74が白枠で覆われている。このように、表示態様変更部32は、文字74の色を変更せずに文字74が見やすくなるように文字74に装飾を施す。ユーザはUI部14を操作することで、文字画像78,80の中から希望する文字画像を選択することができる。図25に示す例では、文字画像78に紐付くチェックボックス82がユーザによってチェックされることで、文字画像78がユーザによって選択されている。ユーザによって選択された文字画像78が、最終的なデザインとして表示されてもよいし、印刷されてもよいし、他の装置等に送信されてもよいし、記憶装置に記憶されてもよい。   FIG. 25 shows an example of a character image in which the character 74 is decorated. Here, two character images (character images 78 and 80) in which the decoration of the character 74 has been changed are generated, and the character images 78 and 80 are displayed on the display unit. The character images 78 and 80 have the same taste “classic” as the original character image 70. In the character image 78, a white shadow is given to the character 74 as a decoration. In the character image 80, the character 74 is covered by a white frame. As described above, the display mode changing unit 32 decorates the character 74 so that the character 74 can be easily viewed without changing the color of the character 74. By operating the UI unit 14, the user can select a desired character image from the character images 78 and 80. In the example shown in FIG. 25, the check box 82 linked to the character image 78 is checked by the user, and the character image 78 is selected by the user. The character image 78 selected by the user may be displayed as a final design, printed, transmitted to another device or the like, or stored in a storage device.

文字の色を変更することでテイストが変わる場合には、文字の色を変更せずに文字に装飾を施すことで、指定されたテイストを有しつつ、装飾を施さない場合と比較して文字が見やすい文字画像が生成される。   If the taste changes by changing the color of the character, decorating the character without changing the color of the character allows the character to be compared with the case where it has the specified taste but is not decorated. Is generated.

(実施例4)
以下、実施例4について説明する。実施例4では、メディアの種類が異なる文字画像が生成される。図26は、実施例4に係る元の文字画像を示す。文字画像84は、青空とひまわり畑とを表す背景画像86と、背景画像86上に重畳された文字88(文字列「夏祭り」)とを含む。文字画像84は、例えばポスターに用いられる画像である。ここでは、ユーザがUI部14を操作することで、テイストとして「ナチュラル」が指定されており、また、メディアの種類として「はがき」が指定されている。この場合、レイアウト変更部24は、文字88の色を維持しつつ、背景画像86をトリミングしたり、文字88の位置を変えたりすることで、はがきの形状及びサイズを有する文字画像を生成する。図27は、そのようにして生成された「はがき」用の文字画像を示す。文字画像90は、元の背景画像86と同じデザインを有する背景画像92と、元の文字88と同じ色を有する文字94とを含む。文字94は、背景画像92上に重畳されており、その重畳位置は元の文字画像84から変更されている。また、文字画像90はテイストとして「ナチュラル」を有する。以下、文字画像90を対象として本実施形態に係る処理が実行される。
(Example 4)
Hereinafter, a fourth embodiment will be described. In the fourth embodiment, character images with different types of media are generated. FIG. 26 illustrates an original character image according to the fourth embodiment. The character image 84 includes a background image 86 representing a blue sky and a sunflower field, and a character 88 (character string “Summer Festival”) superimposed on the background image 86. The character image 84 is an image used for a poster, for example. Here, when the user operates the UI unit 14, “natural” is designated as the taste, and “postcard” is designated as the media type. In this case, the layout changing unit 24 generates a character image having a postcard shape and size by trimming the background image 86 or changing the position of the character 88 while maintaining the color of the character 88. FIG. 27 shows a character image for “postcard” generated in this manner. The character image 90 includes a background image 92 having the same design as the original background image 86, and a character 94 having the same color as the original character 88. The character 94 is superimposed on the background image 92, and the superimposed position has been changed from the original character image 84. The character image 90 has "natural" as a taste. Hereinafter, the process according to the present embodiment is performed on the character image 90.

以下、実施例4における処理について詳しく説明する。   Hereinafter, the processing in the fourth embodiment will be described in detail.

まず、視認性評価部26は、文字94の色及び背景画像92の代表色(メインカラー)を特定し、各色のRGBデータを特定する。視認性評価部26は、背景画像92において文字94が重畳している領域における代表色を特定し、その色のRGBデータを特定する。図28は、各色の情報を示す。文字94の色及び背景画像92の代表色のそれぞれについて、PCCS_ID、色相、色調、及び、RGBが、視認性評価部26によって特定される。   First, the visibility evaluation unit 26 specifies the color of the character 94 and the representative color (main color) of the background image 92, and specifies the RGB data of each color. The visibility evaluation unit 26 specifies a representative color in a region where the character 94 is superimposed on the background image 92, and specifies RGB data of the color. FIG. 28 shows information of each color. The PCCS_ID, the hue, the color tone, and the RGB are specified by the visibility evaluation unit 26 for each of the color of the character 94 and the representative color of the background image 92.

次に、視認性評価部26は、文字94の色及び背景画像92の代表色のそれぞれについて、明度、彩度及び色相角を計算する。図29は、各色の明度、彩度及び色相角を示す。   Next, the visibility evaluation unit 26 calculates brightness, saturation, and hue angle for each of the color of the character 94 and the representative color of the background image 92. FIG. 29 shows the brightness, saturation, and hue angle of each color.

次に、視認性評価部26は、文字94の色と背景画像92の代表色との間における明度差、彩度差及び色相差を計算する。以下、これらの値を示す。
明度差=19.9199
彩度差=16.7616
色相差=9.15684
Next, the visibility evaluation unit 26 calculates a lightness difference, a saturation difference, and a hue difference between the color of the character 94 and the representative color of the background image 92. Hereinafter, these values are shown.
Lightness difference = 19.9199
Saturation difference = 16.7616
Hue difference = 9.15684

次に、視認性評価部26は、上記の式(5)によって定義されている評価モデル(視認性モデル)に、上記の明度差、彩度差及び色相差を代入することで、背景画像92に対する文字94の視認性の評価値を計算する。以下に、このようにして計算された視認性の評価値を示す。
視認性の評価値=2.17115
Next, the visibility evaluation unit 26 substitutes the brightness difference, the saturation difference, and the hue difference into the evaluation model (visibility model) defined by the above equation (5), thereby obtaining the background image 92. The evaluation value of the visibility of the character 94 with respect to is calculated. The evaluation values of visibility calculated in this manner are shown below.
Evaluation value of visibility = 2.11715

背景画像に重畳された文字が見やすいと想定される評価値(閾値)は、「3」に設定されている。上記のようにして計算された視認性の評価値は閾値未満であるため、視認性評価部26は、文字94の色情報の変更が必要であると判断する。   The evaluation value (threshold) at which the character superimposed on the background image is assumed to be easy to see is set to “3”. Since the visibility evaluation value calculated as described above is less than the threshold, the visibility evaluation unit 26 determines that the color information of the character 94 needs to be changed.

この場合、変更部28は、背景画像92の色を変更せずに、視認性の評価値が「3」となるための文字94のRGBデータを計算する。そのために、一例として、変更部28は、文字94の明度を変更する。つまり、変更部28は、視認性の評価値が「3」となるための明度差(文字94と背景画像92との間の明度差)を計算し、その明度差が得られる文字94の明度を計算する。   In this case, the changing unit 28 does not change the color of the background image 92, and calculates the RGB data of the character 94 for the evaluation value of the visibility to be “3”. Therefore, as an example, the changing unit 28 changes the brightness of the character 94. That is, the changing unit 28 calculates the brightness difference (the brightness difference between the character 94 and the background image 92) for the evaluation value of the visibility to be “3”, and calculates the brightness of the character 94 from which the brightness difference is obtained. Is calculated.

例えば、視認性の評価値として「3」を得るためには、代表色との間では明度差は34.5168である必要がある。文字94が見やすいと想定される明度は、以下の式によって計算される。
見やすい明度=(背景画像92の代表色の明度)+(明度差)=91.2679
つまり、視認性の評価値が「3」となるためには、文字94の明度として91.2627が必要となる。
For example, in order to obtain a visibility evaluation value of “3”, the lightness difference between the representative color and the representative color needs to be 34.5168. The brightness at which the character 94 is assumed to be easy to see is calculated by the following equation.
Easy-to-see lightness = (lightness of representative color of background image 92) + (lightness difference) = 91.2679
That is, in order for the evaluation value of the visibility to be “3”, 91.2627 is required as the brightness of the character 94.

図30は、明度が変更された文字94の色情報を示す。明度は91.2627に変更されている。文字94の彩度と色相角は変更されていない。また、変更部28は、これらの明度、彩度及び色相角を表現するためのRGBデータを計算する。図30には、そのRGBデータも示されている。このRGBデータは、明度の変更が反映されたRGBデータである。   FIG. 30 shows the color information of the character 94 whose brightness has been changed. The brightness has been changed to 91.2627. The saturation and hue angle of the character 94 have not been changed. Further, the changing unit 28 calculates RGB data for expressing these lightness, saturation, and hue angle. FIG. 30 also shows the RGB data. This RGB data is RGB data in which a change in brightness is reflected.

次に、変更部28は、文字94のRGBデータを、明度の変更が反映されたRGBデータに変更することで、文字94の明度が変更された文字画像を生成する。図31は、その文字画像を示す。文字画像96においては、文字94の明度が文字画像90から変更されている。背景画像92の色は変更されていない。視認性の評価値が「3」となるように文字94の明度が変更されている。それ故、変更前の文字画像90と比較して、文字画像96では文字94が見やすくなっている。   Next, the changing unit 28 changes the RGB data of the character 94 to the RGB data in which the change in the brightness is reflected, thereby generating a character image in which the brightness of the character 94 is changed. FIG. 31 shows the character image. In the character image 96, the brightness of the character 94 is changed from the character image 90. The color of the background image 92 has not been changed. The lightness of the character 94 is changed so that the evaluation value of visibility becomes “3”. Therefore, the character 94 is easier to see in the character image 96 than in the character image 90 before the change.

また、感性維持判定部30は、変更前の文字画像90が有するテイストと、変更後の文字画像96が有するテイストとを比較する。実施例4では、両テイストは一致している。それ故、文字94は装飾されない。   In addition, sentiment maintenance determination unit 30 compares the taste of character image 90 before the change with the taste of character image 96 after the change. In the fourth embodiment, both tastes match. Therefore, the character 94 is not decorated.

例えば、出力部33は、変更後の文字画像96をUI部14の表示部に表示させる。   For example, the output unit 33 displays the changed character image 96 on the display unit of the UI unit 14.

元の文字画像からメディアが変更された場合であっても、文字94の明度を変更することで、文字画像90をそのまま出力する場合と比較して、背景画像92と文字94との間の色関係に対する重畳の影響が軽減された文字画像96が出力される。例えば、文字画像90と比較して、文字94が見やすい文字画像96が出力される。   Even if the medium is changed from the original character image, changing the brightness of the character 94 makes it possible to compare the color between the background image 92 and the character 94 as compared with the case where the character image 90 is output as it is. A character image 96 in which the influence of superposition on the relationship is reduced is output. For example, a character image 96 in which the character 94 is easier to see than the character image 90 is output.

実施例4においても、変更部28は、視認性の評価値が「3」となるように、文字94の彩度や色相を変更してもよい。   Also in the fourth embodiment, the changing unit 28 may change the saturation or the hue of the character 94 so that the evaluation value of the visibility becomes “3”.

(実施例5)
以下、実施例5について説明する。実施例5では、メディアの種類が異なる文字画像が生成される。図32は、実施例5に係る元の文字画像を示す。文字画像98は、青空と白い雲とを表す背景画像100と、背景画像100上に重畳された文字102(文字列「夏祭り」)とを含む。文字画像98は、例えばポスターに用いられる画像である。ここでは、ユーザがUI部14を操作することで、テイストとして「夏らしい」が指定されており、また、メディアの種類として「扇子」が指定されている。この場合、レイアウト変更部24は、文字102の色を維持しつつ、背景画像100をトリミングしたり、文字102の位置を変えたりすることで、扇子の形状及びサイズを有する文字画像を生成する。図33は、そのようにして生成された「扇子」用の文字画像を示す。文字画像104は、元の背景画像100と同じデザインを有する背景画像106と、元の文字102と同じ色を有する文字108とを含む。文字108は、背景画像106上に重畳されており、その重畳位置は元の文字画像98から変更されている。また、文字画像104はテイストとして「夏らしい」を有する。以下、文字画像104を対象として本実施形態に係る処理が実行される。
(Example 5)
Hereinafter, a fifth embodiment will be described. In the fifth embodiment, character images with different types of media are generated. FIG. 32 shows an original character image according to the fifth embodiment. The character image 98 includes a background image 100 representing a blue sky and white clouds, and a character 102 (character string “Summer Festival”) superimposed on the background image 100. The character image 98 is an image used for a poster, for example. Here, when the user operates the UI unit 14, “summer-like” is designated as the taste, and “fan” is designated as the media type. In this case, the layout changing unit 24 generates a character image having the shape and size of the fan by trimming the background image 100 or changing the position of the character 102 while maintaining the color of the character 102. FIG. 33 shows a character image for “fan” generated in this manner. The character image 104 includes a background image 106 having the same design as the original background image 100, and a character 108 having the same color as the original character 102. The character 108 is superimposed on the background image 106, and the superimposed position has been changed from the original character image 98. The character image 104 has “summer-like” as a taste. Hereinafter, the process according to the present embodiment is performed on the character image 104.

以下、実施例5における処理について詳しく説明する。   Hereinafter, the processing in the fifth embodiment will be described in detail.

まず、視認性評価部26は、文字108の色及び背景画像106の代表色(メインカラー)を特定し、各色のRGBデータを特定する。視認性評価部26は、背景画像106において文字108が重畳している領域における代表色を特定し、その色のRGBデータを特定する。実施例5では、背景画像106の代表色として2つの色(代表色1,2)が特定されている。図34は、各色の情報を示す。文字108の色及び背景画像106の代表色1,2のそれぞれについて、PCCS_ID、色相、色調、及び、RGBが、視認性評価部26によって特定される。   First, the visibility evaluation unit 26 specifies the color of the character 108 and the representative color (main color) of the background image 106, and specifies the RGB data of each color. The visibility evaluation unit 26 specifies a representative color in a region where the character 108 is superimposed on the background image 106, and specifies RGB data of the color. In the fifth embodiment, two colors (representative colors 1 and 2) are specified as representative colors of the background image 106. FIG. 34 shows information of each color. For each of the color of the character 108 and the representative colors 1 and 2 of the background image 106, the visibility evaluation unit 26 specifies the PCCS_ID, the hue, the color tone, and the RGB.

次に、視認性評価部26は、文字108の色及び背景画像106の代表色1,2のそれぞれについて、明度、彩度及び色相角を計算する。図35は、各色の明度、彩度及び色相角を示す。   Next, the visibility evaluation unit 26 calculates brightness, saturation, and hue angle for each of the color of the character 108 and the representative colors 1 and 2 of the background image 106. FIG. 35 shows the lightness, saturation, and hue angle of each color.

次に、視認性評価部26は、文字108の色と背景画像106の代表色1との間における明度差、彩度差及び色相差を計算し、文字108の色と背景画像106の代表色2との間における明度差、彩度差及び色相差を計算する。   Next, the visibility evaluation unit 26 calculates a lightness difference, a saturation difference, and a hue difference between the color of the character 108 and the representative color 1 of the background image 106, and calculates the color of the character 108 and the representative color of the background image 106. The lightness difference, the saturation difference, and the hue difference between the two are calculated.

文字108の色と代表色1との差は以下の通りである。
明度差=54.8044
彩度差=0.213628
色相差=32.7337
The difference between the color of the character 108 and the representative color 1 is as follows.
Lightness difference = 54.8044
Saturation difference = 0.213628
Hue difference = 32.7337

文字108の色と代表色2との差は以下の通りである。
明度差=14.4440
彩度差=28.1427
色相差=27.1889
The difference between the color of the character 108 and the representative color 2 is as follows.
Lightness difference = 14.4440
Saturation difference = 28.1427
Hue difference = 27.1889

次に、視認性評価部26は、上記の式(5)によって定義されている評価モデル(視認性モデル)に、上記の明度差、彩度差及び色相差を代入することで、背景画像106に対する文字108の視認性の評価値を計算する。背景画像106の代表色として2つの色が特定されているため、視認性評価部26は、代表色毎の評価値を計算する。   Next, the visibility evaluation unit 26 substitutes the lightness difference, the saturation difference, and the hue difference into an evaluation model (visibility model) defined by the above equation (5), thereby obtaining the background image 106. The evaluation value of the visibility of the character 108 with respect to is calculated. Since two colors are specified as the representative colors of the background image 106, the visibility evaluation unit 26 calculates an evaluation value for each representative color.

代表色1に対する文字108の視認性の評価値は以下の通りである。
視認性の評価値=4.1462
The evaluation value of the visibility of the character 108 for the representative color 1 is as follows.
Evaluation value of visibility = 4.1462

代表色2に対する文字108の視認性の評価値は以下の通りである。
視認性の評価値=2.02414
The evaluation value of the visibility of the character 108 with respect to the representative color 2 is as follows.
Evaluation value of visibility = 2.02414

背景画像に重畳された文字が見やすいと想定される評価値(閾値)は、「3」に設定されている。代表色1に対する視認性の評価値は3以上であるが、代表色2に対する視認性の評価値は3未満である。それ故、視認性評価部26は、文字108の色情報の変更が必要であると判断する。   The evaluation value (threshold) at which the character superimposed on the background image is assumed to be easy to see is set to “3”. The evaluation value of the visibility for the representative color 1 is 3 or more, but the evaluation value of the visibility for the representative color 2 is less than 3. Therefore, the visibility evaluation unit 26 determines that the color information of the character 108 needs to be changed.

この場合、変更部28は、背景画像106の色を変更せずに、視認性の評価値が「3」となるための文字108のRGBデータを計算する。そのために、一例として、変更部28は、文字108の明度を変更する。つまり、変更部28は、視認性の評価値が「3」となるための明度差(文字108と背景画像106との間の明度差)を計算し、その明度差が得られる文字108の明度を計算する。実施例5では、2つの色が代表色として特定されているため、変更部28は、代表色毎に明度差を計算する。   In this case, the changing unit 28 calculates the RGB data of the character 108 for the visibility evaluation value to be “3” without changing the color of the background image 106. Therefore, as an example, the changing unit 28 changes the brightness of the character 108. That is, the changing unit 28 calculates the brightness difference (the brightness difference between the character 108 and the background image 106) for the evaluation value of visibility to be “3”, and calculates the brightness of the character 108 from which the brightness difference is obtained. Is calculated. In the fifth embodiment, since two colors are specified as representative colors, the changing unit 28 calculates a lightness difference for each representative color.

例えば、視認性の評価値として「3」を得るためには、代表色1との間では明度差1は31.6298である必要がある。また、代表色2との間では明度差2は34.6187である必要がある。   For example, in order to obtain “3” as the evaluation value of the visibility, the lightness difference 1 with the representative color 1 needs to be 31.6298. The lightness difference 2 with the representative color 2 needs to be 34.6187.

上記の明度差1,2が得られる明度が存在しない。つまり、文字108の明度を上限値又は下限値まで変更した場合であっても、上記の明度差1,2を得ることができない。この場合、変更部28は、文字108の明度を変更せずに、表示態様変更部32は、文字108の装飾を変更する。つまり、表示態様変更部32は、変更前の文字画像104に含まれる文字108の色を変更せずに文字108の装飾を変更する。表示態様変更部32は、例えば、文字108の装飾が変更された1又は複数の文字画像を生成する。このとき、表示態様変更部32は、文字画像104が有するテイスト「夏らしさ」が変更されないように文字108の装飾を変更する。つまり、表示態様変更部32は、テイスト「夏らしさ」を有しつつ、文字108の装飾が変更された1又は複数の文字画像を生成する。   There is no lightness at which the above lightness differences 1 and 2 are obtained. That is, even when the brightness of the character 108 is changed to the upper limit or the lower limit, the brightness differences 1 and 2 cannot be obtained. In this case, the changing unit 28 does not change the brightness of the character 108, and the display mode changing unit 32 changes the decoration of the character 108. That is, the display mode changing unit 32 changes the decoration of the character 108 without changing the color of the character 108 included in the character image 104 before the change. The display mode changing unit 32 generates, for example, one or more character images in which the decoration of the character 108 has been changed. At this time, the display mode changing unit 32 changes the decoration of the character 108 so that the taste “summer likeness” of the character image 104 is not changed. That is, the display mode changing unit 32 generates one or a plurality of character images in which the decoration of the character 108 is changed while having the taste “summer-like”.

例えば、出力部33は、文字108が装飾された文字画像をUI部14の表示部に表示させる。   For example, the output unit 33 causes the display unit of the UI unit 14 to display a character image in which the character 108 is decorated.

図36は、文字108が装飾された文字画像の一例を示す。ここでは、文字108の装飾が変更された2つの文字画像(文字画像110,112)が生成されており、文字画像110,112が表示部に表示されている。文字画像110,112は、元の文字画像104と同じテイスト「夏らしさ」を有する。文字画像110においては、文字108に白い光彩が装飾として施されている。文字画像112においては、文字108に黒い影が装飾として施されている。このように、表示態様変更部32は、文字108の色を変更せずに文字108が見やすくなるように文字108に装飾を施す。ユーザはUI部14を操作することで、文字画像110,112の中から希望する文字画像を選択することができる。図36に示す例では、文字画像112に紐付くチェックボックス114がユーザによってチェックされることで、文字画像112がユーザによって選択されている。ユーザによって選択された文字画像112が、最終的なデザインとして表示されてもよいし、印刷されてもよいし、他の装置等に送信されてもよいし、記憶装置に記憶されてもよい。   FIG. 36 shows an example of a character image in which the character 108 is decorated. Here, two character images (character images 110 and 112) in which the decoration of the character 108 has been changed are generated, and the character images 110 and 112 are displayed on the display unit. The character images 110 and 112 have the same taste “summer likeness” as the original character image 104. In the character image 110, the character 108 is decorated with white glow as a decoration. In the character image 112, the character 108 is provided with a black shadow as a decoration. As described above, the display mode changing unit 32 decorates the character 108 so that the character 108 can be easily viewed without changing the color of the character 108. By operating the UI unit 14, the user can select a desired character image from the character images 110 and 112. In the example illustrated in FIG. 36, the check box 114 associated with the character image 112 is checked by the user, and the character image 112 is selected by the user. The character image 112 selected by the user may be displayed as a final design, printed, transmitted to another device or the like, or stored in a storage device.

文字の色を変更しても目標の視認性が得られない場合には、文字の色を変更せずに文字に装飾を施すことで、装飾を施さない場合と比較して文字が見やすい文字画像が生成される。   If the target visibility is not obtained even if the color of the characters is changed, decorating the characters without changing the color of the characters makes it easier to see the characters compared to the case without decoration Is generated.

(実施例6)
以下、実施例6について説明する。実施例6では、メディアの種類が異なる文字画像が生成される。図37は、実施例6に係る元の文字画像を示す。文字画像116は、ピアノを表す背景画像118と、背景画像118上に重畳された文字120(文字列「音楽祭」)とを含む。文字画像116は、例えばポスターに用いられる画像である。ここでは、ユーザがUI部14を操作することで、テイストとして「エレガント」が指定されており、また、メディアの種類として「はがき」が指定されている。この場合、レイアウト変更部24は、文字120の色を維持しつつ、背景画像118をトリミングしたり、文字120の位置を変えたりすることで、はがきの形状及びサイズを有する文字画像を生成する。図38は、そのようにして生成された「はがき」用の文字画像を示す。文字画像122は、元の背景画像118と同じデザインを有する背景画像124と、元の文字120と同じ色を有する文字126とを含む。文字126は、背景画像124上に重畳されており、その重畳位置は元の文字画像116から変更されている。また、文字画像122はテイストとして「エレガント」を有する。以下、文字画像122を対象として本実施形態に係る処理が実行される。
(Example 6)
Hereinafter, a sixth embodiment will be described. In the sixth embodiment, character images with different types of media are generated. FIG. 37 shows an original character image according to the sixth embodiment. Character image 116 includes a background image 118 representing a piano, and characters 120 (character string “music festival”) superimposed on background image 118. The character image 116 is, for example, an image used for a poster. Here, when the user operates the UI unit 14, “elegant” is designated as the taste, and “postcard” is designated as the media type. In this case, the layout changing unit 24 generates a character image having the shape and size of a postcard by trimming the background image 118 or changing the position of the character 120 while maintaining the color of the character 120. FIG. 38 shows a character image for “postcard” generated in this manner. Character image 122 includes background image 124 having the same design as original background image 118, and character 126 having the same color as original character 120. The character 126 is superimposed on the background image 124, and the superimposition position has been changed from the original character image 116. The character image 122 has “elegant” as a taste. Hereinafter, the processing according to the present embodiment is performed on the character image 122.

以下、実施例6における処理について詳しく説明する。   Hereinafter, the processing in the sixth embodiment will be described in detail.

まず、視認性評価部26は、文字126の色及び背景画像124の代表色(メインカラー)を特定し、各色のRGBデータを特定する。視認性評価部26は、背景画像124において文字126が重畳している領域の代表色を特定し、その色のRGBデータを特定する。図39は、各色の情報を示す。文字126の色及び背景画像124の代表色のそれぞれについて、PCCS_ID、色相、色調、及び、RGBが、視認性評価部26によって特定される。   First, the visibility evaluation unit 26 specifies the color of the character 126 and the representative color (main color) of the background image 124, and specifies the RGB data of each color. The visibility evaluation unit 26 specifies the representative color of the area where the character 126 is superimposed on the background image 124, and specifies the RGB data of the color. FIG. 39 shows information of each color. The PCCS_ID, the hue, the color tone, and the RGB are specified by the visibility evaluation unit 26 for each of the color of the character 126 and the representative color of the background image 124.

次に、視認性評価部26は、文字126の色及び背景画像124の代表色のそれぞれについて、明度、彩度及び色相角を計算する。図40は、各色の明度、彩度及び色相角を示す。   Next, the visibility evaluation unit 26 calculates lightness, saturation, and hue angle for each of the color of the character 126 and the representative color of the background image 124. FIG. 40 shows the lightness, saturation, and hue angle of each color.

次に、視認性評価部26は、文字126の色と背景画像124の代表色との間における明度差、彩度差及び色相差を計算する。以下、これらの値を示す。
明度差=7.08898
彩度差=1.74452
色相差=5.32299
Next, the visibility evaluation unit 26 calculates a lightness difference, a saturation difference, and a hue difference between the color of the character 126 and the representative color of the background image 124. Hereinafter, these values are shown.
Lightness difference = 7.08898
Saturation difference = 1.74552
Hue difference = 5.32299

次に、視認性評価部26は、上記の式(5)によって定義されている評価モデル(視認性モデル)に、上記の明度差、彩度差及び色相差を代入することで、背景画像124に対する文字126の視認性の評価値を計算する。以下に、このようにして計算された視認性の評価値を示す。
視認性の評価値=1.31949
Next, the visibility evaluation unit 26 substitutes the lightness difference, the saturation difference, and the hue difference into the evaluation model (visibility model) defined by the above equation (5), thereby obtaining the background image 124. The evaluation value of the visibility of the character 126 with respect to is calculated. The evaluation values of visibility calculated in this manner are shown below.
Evaluation value of visibility = 1.31949

背景画像に重畳された文字が見やすいと想定される評価値(閾値)は、「3」に設定されている。上記のようにして計算された視認性の評価値は閾値未満であるため、視認性評価部26は、文字94の色情報の変更が必要であると判断する。   The evaluation value (threshold) at which the character superimposed on the background image is assumed to be easy to see is set to “3”. Since the visibility evaluation value calculated as described above is less than the threshold, the visibility evaluation unit 26 determines that the color information of the character 94 needs to be changed.

この場合、変更部28は、背景画像124の色を変更せずに、視認性の評価値が「3」となるための文字126のRGBデータを計算する。そのために、一例として、変更部28は、文字126の明度を変更する。つまり、変更部28は、視認性の評価値が「3」となるための明度差(文字126と背景画像124との間の明度差)を計算し、その明度差が得られる文字126の明度を計算する。   In this case, the changing unit 28 calculates the RGB data of the character 126 for the visibility evaluation value to be “3” without changing the color of the background image 124. Therefore, as an example, the changing unit 28 changes the brightness of the character 126. That is, the changing unit 28 calculates a brightness difference (a brightness difference between the character 126 and the background image 124) for the evaluation value of the visibility to be “3”, and calculates the brightness of the character 126 from which the brightness difference is obtained. Is calculated.

例えば、視認性の評価値として「3」を得るためには、代表色との間では明度差は36.6844である必要がある。文字126が見やすいと想定される明度は、以下の式によって計算される。
見やすい明度=(背景画像124の代表色の明度)+(明度差)=55.5183
つまり、視認性の評価値が「3」となるためには、文字126の明度として55.5183が必要となる。
For example, in order to obtain “3” as the evaluation value of visibility, the brightness difference between the representative color and the representative color needs to be 36.6844. The brightness at which the character 126 is assumed to be legible is calculated by the following equation.
Easy-to-see lightness = (lightness of representative color of background image 124) + (lightness difference) = 55.5183
That is, in order for the visibility evaluation value to be “3”, 55.1833 is required as the brightness of the character 126.

図41は、明度が変更された文字126の色情報を示す。明度は55.5183に変更されている。文字126の彩度と色相角は変更されていない。また、変更部28は、これらの明度、彩度及び色相角を表現するためのRGBデータを計算する。図41には、そのRGBデータも示されている。このRGBデータは、明度の変更が反映されたRGBデータである。   FIG. 41 shows the color information of the character 126 whose brightness has been changed. The brightness has been changed to 55.5183. The saturation and hue angle of the character 126 have not been changed. Further, the changing unit 28 calculates RGB data for expressing these lightness, saturation, and hue angle. FIG. 41 also shows the RGB data. This RGB data is RGB data in which a change in brightness is reflected.

次に、変更部28は、文字126のRGBデータを、明度の変更が反映されたRGBデータに変更することで、文字126の明度が変更された文字画像を生成する。図42は、その文字画像を示す。文字画像128においては、文字126の明度が文字画像122から変更されている。背景画像124の色は変更されていない。視認性の評価値が「3」となるように文字126の明度が変更されている。それ故、変更前の文字画像122と比較して、文字画像128では文字126が見やすくなっている。   Next, the changing unit 28 changes the RGB data of the character 126 to the RGB data in which the change in the brightness is reflected, thereby generating a character image in which the brightness of the character 126 is changed. FIG. 42 shows the character image. In the character image 128, the brightness of the character 126 is changed from the character image 122. The color of the background image 124 has not been changed. The brightness of the character 126 is changed so that the evaluation value of the visibility becomes “3”. Therefore, the character 126 is easier to see in the character image 128 than in the character image 122 before the change.

また、感性維持判定部30は、変更前の文字画像122が有するテイストと、変更後の文字画像128が有するテイストとを比較する。例えば、感性維持判定部30は、変更後の文字画像128からベースカラー、セカンダリーカラー及びアクセントカラーを抽出し、感性DB36において、当該色の組み合わせに対応付けられているテイストを検索する。図43は、その検索の結果を示す。変更後の文字画像128から抽出されたベースカラー、セカンダリーカラー及びアクセントカラーに対応するテイストは「フォーマル」である。   In addition, the feeling maintaining determination unit 30 compares the taste of the character image 122 before the change with the taste of the character image 128 after the change. For example, the sensitivity maintaining determination unit 30 extracts a base color, a secondary color, and an accent color from the character image 128 after the change, and searches the sensitivity DB 36 for a taste associated with the combination of the colors. FIG. 43 shows the result of the search. The taste corresponding to the base color, secondary color, and accent color extracted from the changed character image 128 is “formal”.

変更前の文字画像122が有するテイスト(ユーザによって指定されたテイスト)は「エレガント」であり、変更後の文字画像128が有するテイストは「フォーマル」であるため、両テイストは一致していない。   The taste of the character image 122 before the change (taste specified by the user) is “elegant”, and the taste of the character image 128 after the change is “formal”, so the two tastes do not match.

この場合、変更部28は、感性DB36において、テイスト「エレガント」に紐付けられている色情報(ベースカラー、セカンダリーカラー及びアクセントカラー)を検索する。つまり、テイスト「エレガント」に紐付けられている色情報は、テイスト「エレガント」を表現するための色情報である。図44は、その検索結果の一例を示す。変更部28は、テイスト「エレガント」に紐付けられている色情報群の中から、値「3」以上の視認性の評価値を得ることができる色情報を検索する。例えば、配色IDが「18」のベースカラーは、背景画像124の代表色と同じであり、配色IDが「18」のアクセントカラーを文字126の色として用いた場合、視認性の評価値は3.08565となる。この場合、変更部28は、文字126の色を、配色IDが「18」のアクセントカラーに変更する。   In this case, the changing unit 28 searches the emotion DB 36 for color information (base color, secondary color, and accent color) associated with the taste “elegant”. That is, the color information associated with the taste “elegant” is color information for expressing the taste “elegant”. FIG. 44 shows an example of the search result. The change unit 28 searches the color information group linked to the taste “elegant” for color information that can obtain an evaluation value of visibility of a value “3” or more. For example, the base color with the color scheme ID “18” is the same as the representative color of the background image 124, and when the accent color with the color scheme ID “18” is used as the color of the character 126, the evaluation value of the visibility is 3 0.0856. In this case, the changing unit 28 changes the color of the character 126 to an accent color with the color scheme ID “18”.

図45は、文字126の色が変更された文字画像を示す。文字画像130においては、文字126の色が、配色IDが「18」のアクセントカラーに変更されている。背景画像124の色は変更されていない。視認性の評価値が「3」以上となる文字126の色が変更されている。それ故、変更前の文字画像122と比較して、文字画像130では文字126が見やすくなっている。また、文字126の色の変更前と後とでテイストは変更されていない。   FIG. 45 shows a character image in which the color of the character 126 has been changed. In the character image 130, the color of the character 126 has been changed to the accent color with the color scheme ID “18”. The color of the background image 124 has not been changed. The color of the character 126 whose visibility evaluation value is “3” or more has been changed. Therefore, the character 126 is easier to see in the character image 130 than in the character image 122 before the change. The taste is not changed before and after the color of the character 126 is changed.

上記の実施形態及び実施例では、変更部28は、文字の色のみを変更しているが、文字の色を変更しつつ、又は、文字の色を変更せずに、視認性の評価値が「3」以上となるように背景画像の色を変更してもよい。例えば、変更部28は、文字画像が有するテイストが変更しない範囲で背景画像の色を変更する。通常、背景画像が占める範囲は文字が示す範囲よりも広いため、背景画像は、文字と比較して、文字画像が有するテイストに対してより強い影響を与えると考えられる。つまり、背景画像の色を変更した場合、文字の色を変更した場合と比較して、文字画像のテイストが変更される可能性が高くなると考えられる。従って、背景画像の色を変更せずに文字の色を変更することで、文字画像が有するテイストの変更を抑制することができる。また、背景画像の色を変更した場合であっても文字画像のテイストが変更されないのであれば、背景画像の色を変更してもよい。例えば、1色のカラーボックスが背景画像として用いられる場合、風景や建物や物体等を表す背景画像が用いられる場合と比較して、背景画像の色の変更がテイストに与える影響が小さいことがある。従って、背景画像がカラーボックスである場合に、背景画像の色を変更してもよい。   In the above embodiments and examples, the changing unit 28 changes only the color of the character. However, the evaluation value of the visibility is changed while changing the color of the character or without changing the color of the character. The color of the background image may be changed so as to be “3” or more. For example, the changing unit 28 changes the color of the background image within a range in which the taste of the character image does not change. Usually, since the range occupied by the background image is wider than the range indicated by the character, the background image is considered to have a stronger influence on the taste of the character image than the character. That is, when the color of the background image is changed, it is considered that the possibility that the taste of the character image is changed is higher than when the color of the character is changed. Therefore, by changing the color of the character without changing the color of the background image, it is possible to suppress a change in the taste of the character image. Even if the color of the background image is changed, the color of the background image may be changed if the taste of the character image is not changed. For example, when one color box is used as a background image, the effect of changing the color of the background image on the taste may be smaller than when a background image representing a landscape, a building, an object, or the like is used. . Therefore, when the background image is a color box, the color of the background image may be changed.

また、変更部28は、文字の色を変更しつつ、又は、文字の色を変更せずに、視認性の評価値が閾値(「3」)以上となる位置に文字の位置を変更してもよい。この場合、変更部28は、変更前と変更後とでテイストが変わらない位置に文字を配置する。   Further, the changing unit 28 changes the position of the character to a position where the evaluation value of the visibility is equal to or more than the threshold value (“3”) while changing the color of the character or without changing the color of the character. Is also good. In this case, the changing unit 28 arranges the character at a position where the taste does not change before and after the change.

なお、上記の実施形態及び実施例では、視認性の評価値が閾値(「3」)以上となるように文字の色を変更しているが、視認性の評価値が閾値(「3」)以上となる文字の色を、その評価値が閾値未満となるように文字の色を変更してもよい。こうすることで、文字画像に含まれる文字の視認性が悪化し、例えば、評価値が閾値以上の場合と比べて、情報の秘匿性が高くなる。この場合における特定の色関係は、視認性が良好な関係であり、色関係が特定の色関係に該当しないように(視認性が悪化するように)、文字の色が変更される。   In the above embodiments and examples, the color of the character is changed so that the evaluation value of the visibility is equal to or more than the threshold value ("3"). The color of the character described above may be changed so that the evaluation value is less than the threshold value. By doing so, the visibility of the characters included in the character image is degraded, and the confidentiality of the information is higher than, for example, the case where the evaluation value is equal to or greater than the threshold value. The specific color relationship in this case is a relationship with good visibility, and the color of the character is changed so that the color relationship does not correspond to the specific color relationship (so that the visibility deteriorates).

10 情報処理装置、12 通信部、14 UI部、16 記憶部、18 プロセッサ、20 受付部、22 メディア選択部、24 レイアウト変更部、26 視認性評価部、28 変更部、30 感性維持判定部、32 表示態様変更部、33 出力部、34 視認性DB、36 感性DB。
Reference Signs List 10 information processing device, 12 communication unit, 14 UI unit, 16 storage unit, 18 processor, 20 reception unit, 22 media selection unit, 24 layout change unit, 26 visibility evaluation unit, 28 change unit, 30 sensitivity maintenance determination unit, 32 display mode changing unit, 33 output unit, 34 visibility DB, 36 sensitivity DB.

Claims (12)

背景画像データと前記背景画像データ上に重畳された文字データとを含む文字画像データを受け付け、前記文字データが重畳する領域における前記背景画像データの代表色情報を抽出する抽出手段と、
文字データの色情報と前記代表色情報との間の色関係が特定の色関係に該当する場合、前記色関係が前記特定の色関係に該当しないように前記文字データを変更する変更手段と、
前記変更後の文字データと前記背景画像データとを含む文書画像データを出力する出力手段と、
を有する情報処理装置。
Extracting means for receiving character image data including background image data and character data superimposed on the background image data, and extracting representative color information of the background image data in an area where the character data is superimposed;
When the color relationship between the color information of the character data and the representative color information corresponds to a specific color relationship, changing means for changing the character data so that the color relationship does not correspond to the specific color relationship,
Output means for outputting document image data including the character data after the change and the background image data,
Information processing device having
前記色関係は、前記背景画像データに対する前記文字データの視認性に関する関係である、
ことを特徴とする請求項1に記載の情報処理装置。
The color relationship is a relationship related to the visibility of the character data with respect to the background image data,
The information processing apparatus according to claim 1, wherein:
前記背景画像データに対する前記文字データの視認性は、前記色情報及び前記代表色情報のそれぞれに含まれる複数種類の色パラメータを用いた数値によって定められ、
前記変更手段は、前記数値が閾値未満となる場合、前記色関係が前記特定の色関係に該当するとして、前記文字データを変更する、
ことを特徴とする請求項2に記載の情報処理装置。
The visibility of the character data with respect to the background image data is determined by a numerical value using a plurality of types of color parameters included in each of the color information and the representative color information,
When the numerical value is less than a threshold, the change unit changes the character data, assuming that the color relationship corresponds to the specific color relationship.
The information processing apparatus according to claim 2, wherein:
前記変更手段は、前記文字データの変更として前記色情報を変更する、
ことを特徴とする請求項1に記載の情報処理装置。
The change means changes the color information as a change of the character data,
The information processing apparatus according to claim 1, wherein:
前記色関係は、前記背景画像データに対する前記文字データの視認性に関する関係であり、
前記変更手段は、前記文字データの変更として、前記視認性が向上するように前記色情報を変更する、
ことを特徴とする請求項4に記載の情報処理装置。
The color relationship is a relationship related to the visibility of the character data with respect to the background image data,
The change unit changes the color information so as to improve the visibility as a change in the character data.
The information processing apparatus according to claim 4, wherein:
前記色情報は、前記文字データの明度を示す明度情報を含み、
前記代表色情報は、前記背景画像データの明度を示す明度情報を含み、
前記変更手段は、前記文字データの変更として前記文字データの明度を変更する、
ことを特徴とする請求項5に記載の情報処理装置。
The color information includes brightness information indicating the brightness of the character data,
The representative color information includes brightness information indicating the brightness of the background image data,
The changing means changes the brightness of the character data as a change of the character data,
The information processing apparatus according to claim 5, wherein:
前記変更手段は、前記文字データの明度と前記背景画像データの明度との差が明度差閾値以上となるように前記文字データの明度を変更する、
ことを特徴とする請求項6に記載の情報処理装置。
The changing unit changes the brightness of the character data so that a difference between the brightness of the character data and the brightness of the background image data is equal to or greater than a brightness difference threshold.
The information processing apparatus according to claim 6, wherein:
前記変更手段は、前記差が前記明度差閾値以上となる前記文字データの色情報が存在しない場合、前記文字データの変更として前記文字データの表示態様を変更する、
ことを特徴とする請求項7に記載の情報処理装置。
The change unit, when there is no color information of the character data whose difference is equal to or greater than the brightness difference threshold, changes the display mode of the character data as a change of the character data.
The information processing apparatus according to claim 7, wherein:
前記色情報は、前記文字データの彩度を示す彩度情報と前記文字データの色相を示す色相情報とを含み、
前記代表色情報は、前記背景画像データの彩度を示す彩度情報と前記背景画像データの色相を示す色相情報とを含み、
前記変更手段は、前記文字データの変更として、前記文字データの彩度及び色相の中の少なくとも1つを変更する、
ことを特徴とする請求項5に記載の情報処理装置。
The color information includes saturation information indicating a saturation of the character data and hue information indicating a hue of the character data,
The representative color information includes saturation information indicating the saturation of the background image data and hue information indicating the hue of the background image data,
The changing unit changes at least one of saturation and hue of the character data as the change of the character data.
The information processing apparatus according to claim 5, wherein:
前記変更手段は、変更後の前記文字データを含む前記文字画像データが有する印象が、変更前の前記文字データを含む前記文字画像データが有する印象と異なる場合、前記文字データの変更として、前記色情報を変更せずに前記文字データの表示態様を変更する、
ことを特徴とする請求項1から請求項9のいずれか一項に記載の情報処理装置。
The changing unit may include, when the impression of the character image data including the character data after the change is different from the impression of the character image data including the character data before the change, as the change of the character data, Changing the display mode of the character data without changing information;
The information processing apparatus according to claim 1, wherein:
前記色関係は、前記背景画像データに対する前記文字データの視認性に関する関係であり、
前記背景画像データに対する前記文字データの視認性は、前記色情報及び前記代表色情報のそれぞれに含まれる、明度、彩度及び色相のそれぞれに関する色パラメータによって定められ、
前記変更手段は、更に、前記文字データと前記背景画像データとの間における明度、彩度及び色相のそれぞれの差分によって定義された評価モデルを用いて、前記色関係が前記特定の色関係に該当するか否かを判断する、
ことを特徴とする請求項1に記載の情報処理装置。
The color relationship is a relationship related to the visibility of the character data with respect to the background image data,
The visibility of the character data with respect to the background image data is included in each of the color information and the representative color information, and is determined by color parameters relating to each of lightness, saturation, and hue,
The changing unit may further use an evaluation model defined by a difference between brightness, saturation, and hue between the character data and the background image data, and the color relationship may correspond to the specific color relationship. Judge whether to do,
The information processing apparatus according to claim 1, wherein:
コンピュータを、
背景画像データと前記背景画像データ上に重畳された文字データとを含む文字画像データを受け付け、前記文字データが重畳する領域における前記背景画像データの代表色情報を抽出する抽出手段、
文字データの色情報と前記代表色情報との間の色関係が特定の色関係に該当する場合、前記色関係が前記特定の色関係に該当しないように前記文字データを変更する変更手段、
前記変更後の文字データと前記背景画像データとを含む文書画像データを出力する出力手段、
として機能させるプログラム。
Computer
Extracting means for receiving character image data including background image data and character data superimposed on the background image data, and extracting representative color information of the background image data in an area where the character data is superimposed;
Changing means for changing the character data so that the color relationship does not correspond to the specific color relationship, when the color relationship between the color information of the character data and the representative color information corresponds to a specific color relationship,
Output means for outputting document image data including the character data after the change and the background image data,
A program to function as
JP2018175394A 2018-09-19 2018-09-19 Information processing device and program Active JP7206732B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018175394A JP7206732B2 (en) 2018-09-19 2018-09-19 Information processing device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018175394A JP7206732B2 (en) 2018-09-19 2018-09-19 Information processing device and program

Publications (2)

Publication Number Publication Date
JP2020046994A true JP2020046994A (en) 2020-03-26
JP7206732B2 JP7206732B2 (en) 2023-01-18

Family

ID=69901363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018175394A Active JP7206732B2 (en) 2018-09-19 2018-09-19 Information processing device and program

Country Status (1)

Country Link
JP (1) JP7206732B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010039657A (en) * 2008-08-04 2010-02-18 Mitsubishi Electric Corp Image information verifying apparatus and image information verifying program
JP2012085105A (en) * 2010-10-12 2012-04-26 Ricoh Co Ltd Printer, image forming device, and color processing method and program
JP2013120994A (en) * 2011-12-06 2013-06-17 Fuji Xerox Co Ltd Image processing device and image processing program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010039657A (en) * 2008-08-04 2010-02-18 Mitsubishi Electric Corp Image information verifying apparatus and image information verifying program
JP2012085105A (en) * 2010-10-12 2012-04-26 Ricoh Co Ltd Printer, image forming device, and color processing method and program
JP2013120994A (en) * 2011-12-06 2013-06-17 Fuji Xerox Co Ltd Image processing device and image processing program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NOBUYUKI NISHIUCHI;KIMIHIRO YAMANAKA;KUNIE BEPPU: "A Study of Visibility Evaluation for the Combination of Character Color and Background Color on a We", 2008 SECOND INTERNATIONAL CONFERENCE ON SECURE SYSTEM INTEGRATION AND RELIABILITY IMPROVEMENT, JPN6022042397, 2008, pages 191 - 192, XP031292080, ISSN: 0004892252 *
吉岡 拓耶 他: "配色の視認性予測のための色覚モデルの構築と評価", 電子情報通信学会技術研究報告 VOL.116 NO.120, vol. NC2016-12 (2016-07), JPN6022042396, 27 June 2006 (2006-06-27), JP, pages 211 - 216, ISSN: 0004892251 *

Also Published As

Publication number Publication date
JP7206732B2 (en) 2023-01-18

Similar Documents

Publication Publication Date Title
US9984658B2 (en) Displays with improved color accessibility
CN109741279A (en) Image saturation method of adjustment, device, storage medium and terminal
KR20090092035A (en) Method for generating mosaic image and apparatus for the same
US20200050306A1 (en) Sentiment-based interaction method and apparatus
KR102587069B1 (en) Smart music-painting app system
US8363270B2 (en) Image processing method, image processing apparatus and computer program
KR20240051898A (en) Method and device for providing color fonts
CN110599601A (en) Method and device for generating painting image, terminal and storage medium
JP7206732B2 (en) Information processing device and program
JP6623603B2 (en) Information processing device and program
JP2009296545A (en) Image processing apparatus and method
CN117112090A (en) Business page theme generation method, device, computer equipment, medium and product
US20110193873A1 (en) Device and method for generating mosaic image including text
JP2017045374A (en) Information processing device and program
Panchaud et al. Smart cartographic background symbolization for map mashups in geoportals: A proof of concept by example of landuse representation
JP4611649B2 (en) WEB analysis type music device
CN114529624A (en) Image color matching method and system and image generation method and system
JP2006203622A (en) Color processing method, isochromatic characteristic acquisition device, color processing device, and program
Moretti et al. Computational production of colour harmony. Part 2: Experimental evaluation of a tool for gui colour scheme creation
JP7155842B2 (en) Information processing device and program
JP4035283B2 (en) Image processing system and control method thereof
JP2021184081A (en) Display method, display device, and storage medium
JP6621051B2 (en) Design evaluation apparatus and program
JP7305517B2 (en) Program, information processing device, simulation method, and information processing system
JP7398723B1 (en) Image generation device, prompt creation support device, program and application program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210906

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220929

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221011

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221125

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20221206

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221219

R150 Certificate of patent or registration of utility model

Ref document number: 7206732

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150