JP2008252425A - Color conversion processing program, processing device, and processing method - Google Patents

Color conversion processing program, processing device, and processing method Download PDF

Info

Publication number
JP2008252425A
JP2008252425A JP2007090113A JP2007090113A JP2008252425A JP 2008252425 A JP2008252425 A JP 2008252425A JP 2007090113 A JP2007090113 A JP 2007090113A JP 2007090113 A JP2007090113 A JP 2007090113A JP 2008252425 A JP2008252425 A JP 2008252425A
Authority
JP
Japan
Prior art keywords
color
emphasized
character
value
emphasis
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
JP2007090113A
Other languages
Japanese (ja)
Other versions
JP4772726B2 (en
Inventor
Noboru Murahashi
昇 村橋
Norio Hiraga
典生 平賀
Susumu Takahashi
将 高橋
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2007090113A priority Critical patent/JP4772726B2/en
Publication of JP2008252425A publication Critical patent/JP2008252425A/en
Application granted granted Critical
Publication of JP4772726B2 publication Critical patent/JP4772726B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

【課題】 カラー表現される資料データの色を,統一感があり,かつ強調の表現効果を維持したまま色変換する。
【解決手段】 オブジェクト情報取得部15はスライド2のオブジェクトのRGB値を取得する。各強調対象決定部16は,オブジェクトのRGB値の平均値を算出し,RGB平均値が最小値のオブジェクトを取り出して,全要素に対する割合を算出し,当該取り出した要素の割合が所定値を超えない場合に,最小値から強調部品値を決定する。色適用判断部18は,スライド2のオブジェクトを取り出し,RGB平均値が強調部品値以下であれば強調部品と判定する。色適用部19は,強調部品のオブジェクトの背景をカラーパレットで指定された強調色に,文字を強調色に対応付けられた文字色に変換し,強調部品以外のオブジェクトの背景を基調色の背景色に,文字を基調色に対応付けられた文字色に変換する。
【選択図】 図1
PROBLEM TO BE SOLVED: To convert the color of material data expressed in color while having a sense of unity and maintaining the expression effect of emphasis.
An object information acquisition unit acquires an RGB value of an object of a slide. Each emphasis target determining unit 16 calculates the average value of the RGB values of the object, extracts the object having the minimum RGB average value, calculates the ratio to all elements, and the ratio of the extracted elements exceeds a predetermined value If not, the emphasized component value is determined from the minimum value. The color application determining unit 18 takes out the object of the slide 2 and determines that it is an emphasized part if the RGB average value is equal to or less than the emphasized part value. The color application unit 19 converts the background of the highlight component object to the highlight color specified in the color palette, converts the character to the character color associated with the highlight color, and sets the background of the object other than the highlight component to the background of the base color. The character is converted to the character color associated with the base color.
[Selection] Figure 1

Description

本発明は,カラー表現された書類やスライドなどの資料データを構成する要素の色を変換する処理に関する。   The present invention relates to a process for converting the color of an element constituting material data such as a document or slide expressed in color.

コンピュータを用いて作成される提案書や資料などの書類やスライドなどの資料(以下,単に「資料データ」という)は,カラー表現が前提となっている。コンピュータのデータ作成処理プログラムによって簡単に色つきの資料データが作成できる。そのため,資料データに多くの色が使用される傾向がある。また,資料データのどの要素にどの色を使用するかの判断は,作成者に委ねられているため,作成者の考えや嗜好に影響されやすい。   Documents such as proposals and materials created using a computer and materials such as slides (hereinafter simply referred to as “material data”) are premised on color representation. Colored document data can be easily created by a computer data creation processing program. Therefore, there is a tendency that many colors are used for the data. In addition, since it is up to the creator to decide which color to use for which element of the document data, it is easily influenced by the creator's thoughts and preferences.

さらに,資料データは,コンピュータのデータ記憶装置に保存して再利用できる。そのため,作成者や作成時期・場所が異なる様々な資料データが組み合わされ,新たな資料データが作成されることも多くなっている。元の資料データがそのまま流用されて作成された資料データでは,色使いがばらばらで,配色の統一感が損なわれていることがある。また,使用される色が多過ぎて,かえって見づらくなっていることがある。   Furthermore, the material data can be stored in a computer data storage device and reused. For this reason, new document data is often created by combining various document data with different creators, creation dates and places. In the document data created by diverting the original document data as it is, the color usage may vary and the sense of unity of color arrangement may be impaired. Also, too many colors may be used, making it difficult to see.

したがって,多色使いの資料データを見やすくするために,使用する色の範囲を指定したり,色数を抑えたりして色のバランスを考慮するなど,配色に対する意識が高くなっている。   Therefore, in order to make it easier to see the data data for multi-color usage, there is a high awareness of color schemes, such as specifying the range of colors to be used or considering the color balance by reducing the number of colors.

配色を考慮した文書作成を支援する従来技術として,基準となる色を指定し,基準色の彩度または明度に応じて文書内の色を明度または彩度の一方を変動させ,明度や彩度が調和した配色となるように色変換を行う配色処理が知られている(特許文献1)。
特開2006−081104号公報
As a conventional technology that supports document creation in consideration of color schemes, a standard color is specified, and either the lightness or saturation of the color in the document is changed according to the saturation or lightness of the reference color. There is known a color arrangement process in which color conversion is performed so as to achieve a harmonized color arrangement (Patent Document 1).
JP 2006-081104 A

カラー表現される資料データを作成する場合に,全体として統一感がある配色を考慮することだけでなく,強調されるべき部分が適切に強調表現されていることが必要である。重要な部分が容易に把握できるように,その部分だけ色を変えて目立たせることは,一般的な表現手法であるが,強調部分の割合が多過ぎると,強調部分と他の部分との区別がつきにくくなり,かえって強調の効果が失われてしまう。例えば,強調する部分は,一覧可能な範囲の10%〜15%程度の割合である場合に,最も効果的に印象を与えことができることが経験則として認識されている。   When creating document data that is expressed in color, it is necessary not only to consider a uniform color scheme as a whole, but also to emphasize the parts to be emphasized appropriately. It is a general expression technique to change the color of only an important part so that it can be easily grasped. However, if the proportion of the emphasized part is too large, the distinction between the emphasized part and other parts is possible. The effect of emphasis is lost. For example, it is recognized as an empirical rule that the emphasized portion can give an impression most effectively when the ratio is about 10% to 15% of the listable range.

したがって,統一感のある配色だけでなく,強調部分と通常の部分との割合を考慮して強調表現されるような資料データを作成する必要がある。   Therefore, it is necessary to create material data that can be emphasized in consideration of the ratio between the emphasized part and the normal part, as well as a unified color scheme.

従来では,作成者が手作業で要素に適用色を指定したり,または,いったん資料データの要素をグレースケールで表示したりして,グレースケールをもとに適用する色を指定するなどの作業を行っていた。特に,分量の多い資料データが複数の者で分担して作成される場合に,強調する部分の特定,強調する部分に適用する色などの判断は,作成者個々に委ねられ,また,作業コンピュータの色設定環境が同じであるとは限らず,全体を通じた統一的な判断は,いっそう困難であった。   Conventionally, the creator manually specifies the color to be applied to the element, or once the data is displayed in grayscale, the user specifies the color to be applied based on the grayscale. Had gone. In particular, when a large amount of material data is created by multiple persons, it is up to the creator to determine the part to be emphasized and the color to be applied to the part to be emphasized. The color setting environment was not always the same, and it was more difficult to make a unified judgment throughout.

前記の特許文献1の技術では,ユーザが指定した基準色の明度または彩度の値の高低によって,彩度または明度を変動させて文書を配色する複数の色を生成し,生成した色と基準色との明度の対比が大きい範囲を,強調部分の明度値の範囲として使用し,ユーザが指定した強調部分の色数分だけ変換色が生成される。そのため,基準色をもとにした統一的な配色を行うことができる。しかし,強調部分は,明度値の対比が高い色を用いて色変換されるだけであり,強調部分の表現効果を考慮した色変換を行うことはできなかった。   In the technique of the above-mentioned Patent Document 1, a plurality of colors for generating color by changing the saturation or lightness according to the brightness or saturation value of the reference color specified by the user are generated, and the generated colors and the reference are generated. A range in which the brightness contrast with the color is large is used as the brightness value range of the emphasized portion, and converted colors are generated for the number of colors of the emphasized portion specified by the user. For this reason, a uniform color scheme based on the reference color can be performed. However, the emphasis portion is only color-converted using a color having a high brightness value contrast, and color conversion considering the expression effect of the emphasis portion cannot be performed.

また,資料データの中で,色だけが異なる語句などの文字部分が強調されている場合には,明度および彩度による判定が行えず,適切な色変換を行うことができなかった。   In addition, when the text data such as words and phrases with different colors were emphasized in the document data, judgment by brightness and saturation could not be made, and appropriate color conversion could not be performed.

さらに,文字が含まれる図形的要素が強調されている場合に,要素の背景色のみが変換され,要素内で背景と重なる文字色が変換されないために,文字が見えにくくなることがあった。   In addition, when a graphic element including characters is emphasized, only the background color of the element is converted, and the character color that overlaps the background in the element is not converted, which may make it difficult to see the character.

本発明の目的は,全体として統一感のある色が適用され,かつ,強調の表現効果を維持した資料データの色変換処理を実現することである。   An object of the present invention is to realize a color conversion process for document data in which colors having a sense of unity as a whole are applied and the emphasis expression effect is maintained.

本発明は,カラー表現される資料データを構成する要素の色を変換する色変換処理を,コンピュータに実行させるための色変換処理プログラムであって,以下の処理を行うものである。   The present invention is a color conversion processing program for causing a computer to execute color conversion processing for converting the colors of elements constituting material data to be expressed in color, and performs the following processing.

本発明を実行するコンピュータは,要素の背景色として用いられる同系の複数の色と,前記各色と対応付けられた文字色とで構成されるカラーパレットを保持しておく。   A computer that executes the present invention holds a color palette composed of a plurality of similar colors used as background colors of elements and character colors associated with the respective colors.

そして,色変換の対象とする資料データの各要素のRGB値を取得する。各要素のRGB各値の平均値を算出し,RGB平均値が最小値の要素を取り出し,当該取り出した要素と全要素との割合を算出し,当該取り出した要素の割合が所定値を超えない場合に,この最小値にもとづいて強調部品値を決定する。   Then, the RGB value of each element of the material data to be subjected to color conversion is acquired. The average value of each RGB value of each element is calculated, the element having the minimum RGB average value is extracted, the ratio between the extracted element and all elements is calculated, and the ratio of the extracted element does not exceed a predetermined value In this case, the emphasized component value is determined based on the minimum value.

そして,資料データの要素を一つずつ取り出し,このRGB平均値が強調部品値以下である場合にその要素を強調部品と判定する。強調部品については,その背景をカラーパレットで指定された強調色に,文字を前記強調色に対応付けられた文字色に変換する。また,強調部品以外の要素については,その背景を基調色の背景色に,文字を基調色に対応付けられた文字色に変換する。   Then, the elements of the material data are taken out one by one, and when the RGB average value is equal to or less than the emphasized part value, the element is determined as the emphasized part. As for the emphasis component, the background is converted to the emphasis color specified in the color palette, and the character is converted to the character color associated with the emphasis color. For the elements other than the emphasis part, the background is converted to the background color of the base color, and the character is converted to the character color associated with the base color.

かかる処理により,資料データを構成する要素に所定のカラーパレットから選択された色を適用して統一感を生じさせ,かつ,強調したい部分が効果的に表現されるような資料データ作成処理を支援することができる。   Through this process, the data selected from the specified color palette is applied to the elements that make up the document data, creating a sense of unity, and supporting the document data creation process that effectively expresses the part you want to emphasize can do.

特に,処理対象の資料データの強調させた要素は,スライドやページなど所定の範囲内で適切な割合で出現している場合のみ強調部品と判断されるため,強調させた要素が多すぎる場合には強調色が適用されない。よって,作成者に,強調部分の過多を気付かせ,適切な強調表現への修正の機会を与えることができる。   In particular, elements that are emphasized in the data to be processed are judged to be emphasized parts only when they appear at an appropriate ratio within a predetermined range, such as slides and pages. No highlight color is applied. Therefore, it is possible to make the creator aware of the excessive emphasis and give the opportunity to correct the emphasis expression appropriately.

さらに,カラーパレットにおいて要素の背景色と対応付けて文字色を設定するため,強調部品の背景と文字の色を適切な対比で変換することができ,色変換処理後に強調部品の要素内の文字が見づらくなることを防ぐことができる。   Furthermore, since the character color is set in association with the background color of the element in the color palette, the background of the highlighted part and the color of the character can be converted in an appropriate contrast. Can be difficult to see.

また,本発明では,前記強調部品特定処理において,最小値から,強調部品値より値が大きい第2の強調部品値を決定し,前記色適用処理において,強調部品以外の要素であって,RGB平均値が前記第2の強調部品値以下である要素を準強調部品と判定し,カラーパレットに含まれる前記強調色より明るい色を用いて準強調部品を色変換することができる。これにより,多段階の強調表現を保持した色変換を行うことができる。   In the present invention, in the emphasized part specifying process, a second emphasized part value having a value larger than the emphasized part value is determined from the minimum value. In the color application process, An element having an average value equal to or smaller than the second emphasized component value is determined as a semi-emphasized component, and the semi-emphasized component can be color-converted using a color brighter than the emphasized color included in the color palette. This makes it possible to perform color conversion that retains multi-level emphasized expressions.

さらに,本発明では,前記要素情報取得処理において,資料データの文字の文字色およびフォントを取得し,前記強調部品特定処理において,取得された文字色/フォントの文字の出現数を文字色/フォントごとに算出し,文字出現数の全文字数に対する割合が所定値を超えない文字色/フォントであって出現文字数が最少のものを強調文字色/強調フォントとして決定し,前記色適用処理において,前記資料データの文字のうち強調文字色/強調フォントに該当する文字を強調文字と判定し,強調文字の色を所定の文字色に変換し,または強調文字を含む要素を強調部品と特定して強調部品の背景および文字の色を前記強調色に変換することができる。   In the present invention, the element information acquisition process acquires the character color and font of the document data, and the emphasized part identification process determines the number of appearances of the acquired character color / font as the character color / font. The character color / font in which the ratio of the number of character appearances to the total number of characters does not exceed a predetermined value and the number of appearance characters is the smallest is determined as the emphasized character color / enhanced font. Of the characters in the document data, the character corresponding to the emphasis character color / enhancement font is determined as the emphasis character, the emphasis character color is converted to the predetermined character color, or the element including the emphasis character is identified as the emphasis component and emphasis The background of the part and the color of the characters can be converted to the emphasized color.

これにより,資料データの文字について,文字色やフォントによって強調させた語句(文字)が適切な割合で強調されている場合に,これらの強調された語句に対する強調表現を適切に保持することができる。   As a result, when the words (characters) emphasized by the character color or font are emphasized at an appropriate ratio, the emphasis expression for these emphasized words can be appropriately retained. .

さらに,本発明では,資料データの要素のうち,RGB値各々が同値である要素,または,ユーザによって指定された要素または文字を非変換対象とし,前記色適用処理において,非変換対象と設定された要素のRGB値をそのまま保持することができる。   Further, according to the present invention, among the elements of the document data, elements having the same RGB value, or elements or characters designated by the user are set as non-conversion targets, and are set as non-conversion targets in the color application process. The RGB value of the selected element can be held as it is.

これにより,RGB各値が同値であるようなグレー色系の要素や,ユーザが指定した要素などの色を色変換から排除して,柔軟な色変換処理を実現することができる。   As a result, it is possible to realize a flexible color conversion process by excluding colors such as gray elements having the same RGB values or elements specified by the user from the color conversion.

なお,RGB各値が同値の要素(グレー色系)が非変換対象であるのは,RGB値が均衡し,どのような色とも調和できるからである。   The reason why the elements having the same RGB values (gray colors) are not converted is that the RGB values are balanced and can be harmonized with any color.

さらに,本発明は,別の態様として,前記の処理を実現する処理部を備える処理装置,または,コンピュータが行う前記処理のステップを備える処理方法であってもよい。   Furthermore, as another aspect, the present invention may be a processing apparatus including a processing unit that realizes the above-described processing, or a processing method including the above-described processing steps performed by a computer.

なお,本発明にかかるプログラムは,コンピュータが読み取り可能な可搬媒体メモリ,半導体メモリ,ハードディスクなどの適当な記録媒体に格納することができ,これらの記録媒体に記録して提供され,または,通信インタフェースを介して種々の通信網を利用した送受信により提供される。   The program according to the present invention can be stored in an appropriate recording medium such as a portable medium memory, a semiconductor memory, or a hard disk that can be read by a computer. It is provided by transmission and reception using various communication networks via the interface.

本発明によれば,資料データを構成する要素や文字の色を,カラーパレットからユーザが選択した色を用いて一括して変換するだけでなく,資料データ内で強調されている要素を識別し,色変換処理後も強調表現を維持することができる。   According to the present invention, the colors of elements and characters constituting the document data are not only collectively converted using the color selected by the user from the color palette, but also the elements emphasized in the document data are identified. The emphasized expression can be maintained even after the color conversion process.

特に,所定の範囲内で要素が適切な割合で強調されている場合にのみ,その要素を強調色で色変換するため,強調部分の割合を作成者に気付かせることができ,強調表現の効果を意識した資料データ作成作業を支援することができる。   In particular, only when an element is emphasized at an appropriate ratio within a predetermined range, the element is color-converted with an emphasized color, so that the ratio of the emphasized part can be noticed by the creator, and the effect of the emphasized expression It is possible to support document data creation work in consideration of

また,色変換処理の対象としない要素をユーザ指定できるため,柔軟な強調表現に対応することができる。   In addition, since elements that are not subject to color conversion processing can be specified by the user, it is possible to deal with flexible emphasis expression.

このように,従来は手作業によって行っていた強調部分の色変換処理を自動化できるため,資料データ作成作業の負担を軽減し,見栄えの良い資料データを簡単に作成することができる。   As described above, since the color conversion processing of the emphasized portion, which has been conventionally performed manually, can be automated, it is possible to reduce the burden of document data creation work and easily create good-looking document data.

図1は,本発明を実施するための最良の形態における構成例を示す図である。   FIG. 1 is a diagram showing a configuration example in the best mode for carrying out the present invention.

本発明にかかる色変換処理装置1は,資料データであるスライド2を構成する要素および文字(以下,オブジェクトという)の色を,予め備えられたカラーパレットの色を用いて変換処理し,処理結果である処理済みスライド2’を出力する装置である。   The color conversion processing apparatus 1 according to the present invention converts the colors of elements and characters (hereinafter referred to as objects) constituting the slide 2 as the material data using colors of a color palette provided in advance, and the processing result Is a device that outputs a processed slide 2 ′.

本形態では,処理対象とするオブジェクトは,文字データおよび文字を含む図形データとし,写真などのイメージデータは対象としない。また,オブジェクトに対する強調表現を2段階とし,最も強調したいオブジェクトを強調部品,次に強調したいオブジェクトを準強調部品とする。   In this embodiment, the object to be processed is character data and graphic data including characters, not image data such as photographs. Further, the emphasis expression for an object is made into two stages, and the object to be emphasized most is an emphasis part, and the object to be emphasized next is a semi-emphasis part.

図2は,強調部品および準強調部品の全体に対する適切な割合の例を示す図である。   FIG. 2 is a diagram illustrating an example of an appropriate ratio with respect to the entire emphasized parts and semi-emphasized parts.

この割合例において,処理前のスライド2の中で,強調のために濃い色が適用されているオブジェクト数が全オブジェクト数に対して15%である場合に,これらのオブジェクトは強調部品として特定され,カラーパレットで用意された強調部品用の「強調色」が適用される。強調部品を10%〜15%程度に抑えることによって,何を主張しているのかを明確にすることができる。   In this example, if the number of objects to which dark colors are applied for emphasis in the slide 2 before processing is 15% of the total number of objects, these objects are identified as emphasis parts. , The “enhancement color” for the emphasis part prepared in the color palette is applied. By limiting the emphasized parts to about 10% to 15%, it is possible to clarify what is being claimed.

また,強調部品の次に濃い色が適用されているオブジェクト数が全オブジェクト数に対して20%である場合に準強調部品として特定され,カラーパレットで用意された準強調部品用の「準強調色」が適用される。準強調部品を全体の20%程度に抑える理由は,やや強調するような表現を多用すると,かえって強調したい点が不明確になってしまうからである。   Further, when the number of objects to which the dark color is applied next to the highlight component is 20% of the total number of objects, the semi-emphasis component is specified as the semi-emphasis component and prepared in the color palette. Color "is applied. The reason for suppressing the semi-emphasized parts to about 20% of the whole is that if the expression that is slightly emphasized is used a lot, the point to be emphasized becomes unclear.

なお,強調部品または準強調部品以外のオブジェクトは,非強調部品として基調色が適用される。   It should be noted that the base color is applied to the objects other than the emphasized part or the semi-emphasized part as the non-emphasized part.

図3は,カラーパレットの例を示す図である。   FIG. 3 is a diagram illustrating an example of a color palette.

カラーパレットには,同系の色で構成されるカラーグループ(例えば,青色,緑色など)が設定される。各カラーグループでは,明るさが異なる複数の色が定義される。色は,強調部品の背景色に適した「強調系明暗色(強調色)」,準強調部品の背景色に適した「やや強調系明暗色(準強調色)」が用意される。強調色および準強調色は,それぞれ同時に適用される文字色が対応付けられて定義される。   A color group (for example, blue, green, etc.) composed of similar colors is set in the color palette. Each color group defines multiple colors with different brightness. As the colors, “enhanced bright and dark colors (emphasized colors)” suitable for the background color of the emphasized parts and “slightly emphasized bright and dark colors (semi-emphasized colors)” suitable for the background colors of the semi-emphasized parts are prepared. The emphasis color and the semi-enhancement color are defined in association with the character colors that are applied simultaneously.

例えば,図3に示すように,カラーパレットで用意された青色グループには,強調色として,明るさの異なる3つの明暗色,準強調色として3つのやや明暗色が定義される。また,元のオブジェクトがグラデーションである場合に対応させて,グラデーションが定義された強調色,準強調色が定義される。また,強調色の各々に対応付けられた文字色(白色),準強調色に対応付けられた文字色(黒色)が定義される。なお,オブジェクトの枠線の色も,強調色,準強調色,基調色各々に対応付けて定義される。   For example, as shown in FIG. 3, in the blue group prepared in the color palette, three bright and dark colors with different brightness and three slightly bright and dark colors are defined as emphasized colors. Also, in correspondence with the case where the original object is a gradation, an emphasis color and a semi-emphasis color in which the gradation is defined are defined. In addition, a character color (white) associated with each of the emphasized colors and a character color (black) associated with the semi-emphasized color are defined. Note that the color of the frame of the object is also defined in association with each of the emphasis color, semi-emphasis color, and base color.

色変換処理装置1は,CPUおよびメモリからなるコンピュータであり,ソフトウェアプログラムなどによって構成される,事前定義設定部11,事前定義記憶部12,カラーパレット選択部13,カラーパレット記憶部14,オブジェクト情報取得部15,強調対象決定部16,強調部品値記憶部17,色適用判断部18,および色適用部19を備える。   The color conversion processing device 1 is a computer including a CPU and a memory, and is configured by a software program or the like, and includes a predefined setting unit 11, a predefined storage unit 12, a color palette selection unit 13, a color palette storage unit 14, and object information. An acquisition unit 15, an emphasis target determination unit 16, an emphasis component value storage unit 17, a color application determination unit 18, and a color application unit 19 are provided.

事前定義設定部11は,スライド2を構成するオブジェクトのうち色変換処理の対象としないもの(非変換対象)を指定し,この指定情報を事前定義記憶部12に格納する。非変換対象は,オブジェクトの形状やデータ種をもとに指定される。オブジェクトの属性として,例えば,矩形,丸,矢印などの図形種別を用いて指定する。また,事前定義設定部11は,処理対象をスライド2のページとするか,ユーザ指定によって選択されたオブジェクトとするかなど,処理単位とする範囲の設定を行う。   The predefined setting unit 11 designates an object constituting the slide 2 that is not subject to color conversion processing (non-conversion target), and stores this designation information in the predefined storage unit 12. The non-conversion target is specified based on the shape and data type of the object. As an object attribute, for example, a graphic type such as rectangle, circle, or arrow is used. Further, the pre-defined setting unit 11 sets a range as a processing unit, such as whether the processing target is a page of the slide 2 or an object selected by user designation.

カラーパレット選択部13は,カラーパレット記憶部14に格納された図3に示すようなカラーパレットの中から,強調部品に適用する強調色,準強調部品に適用する準強調色などを選択する。   The color palette selection unit 13 selects an emphasis color to be applied to the emphasized part, a semi-enhanced color to be applied to the semi-enhanced part, etc. from the color palette as shown in FIG. 3 stored in the color palette storage unit 14.

オブジェクト情報取得部15は,スライド2を構成する各オブジェクトについて,オブジェクトの背景または文字のRGB表色系の色情報(R値,G値,B値),また,文字の色情報(R値,G値,B値)およびフォント名を取得する。   The object information acquisition unit 15 includes, for each object constituting the slide 2, RGB color system color information (R value, G value, B value) of the object background or characters, and character color information (R value, G value, B value) and font name are acquired.

強調対象決定部16は,スライド2を構成するオブジェクトを強調部品または準強調部品と特定するための閾値を決定する。具体的には,スライド2の各オブジェクトのRGB各値の平均値を算出し,算出したRGB平均値が最小値であるオブジェクトをすべて取り出す。取り出されたオブジェクト数と全オブジェクト数との割合を算出し,取り出されたオブジェクトの割合が所定値を超えなければ,この最小値にもとづいて強調部品値を決定する。なお,最小値を持つオブジェクトと全オブジェクトとの割合は,オブジェクト数だけでなく,オブジェクトの面積を用いてもよい。   The emphasis target determining unit 16 determines a threshold value for specifying the object constituting the slide 2 as an emphasis part or a semi-emphasis part. Specifically, the average value of each RGB value of each object on the slide 2 is calculated, and all objects whose calculated RGB average value is the minimum value are extracted. The ratio between the number of extracted objects and the total number of objects is calculated. If the ratio of the extracted objects does not exceed a predetermined value, the emphasized component value is determined based on the minimum value. The ratio of the object having the minimum value to the total object may use not only the number of objects but also the area of the object.

また,カラーパレットに準強調色が指定されている場合に,強調部品値の場合と同様に処理して準強調部品値を算出する。   Further, when a semi-emphasized color is specified in the color palette, the semi-emphasized component value is calculated by performing the same processing as in the case of the emphasized component value.

また,スライド2の文字について,文字色/フォントごとに出現数を算出する。そして,文字色/フォントごとに,文字出現数と全文字数との割合を算出し,文字出現数の割合が所定値を超えない文字色/フォントであって出現文字数が最少のものを強調文字色および強調フォントとして決定する。   In addition, the number of appearances is calculated for each character color / font with respect to the characters on the slide 2. Then, for each character color / font, the ratio of the number of character appearances to the total number of characters is calculated, and the character color / font whose ratio of the number of character appearances does not exceed a predetermined value and that has the smallest number of appearance characters is highlighted character color And determined as an emphasized font.

強調部品値記憶部17は,強調対象決定部16で決定された強調部品値,準強調部品値,強調文字色,および強調フォントを記憶する。   The emphasized part value storage unit 17 stores the emphasized part value, the semi-emphasized part value, the emphasized character color, and the emphasized font determined by the enhancement target determining unit 16.

色適用判断部18は,スライド2のオブジェクトのRGB平均値が強調部品値以下である場合にそのオブジェクトを強調部品と,RGB平均値が強調部品値を超え準強調部品値以下である場合にそのオブジェクトを準強調部品と判定する。さらに,スライド2の文字のうち,強調文字色または強調フォントのいずれかに該当する文字を強調文字と判定する。   The color application determining unit 18 selects an object as an emphasis component when the RGB average value of the object of the slide 2 is equal to or less than the emphasis component value, and when the RGB average value exceeds the emphasis component value and is equal to or less than the quasi-emphasis component value. The object is determined as a semi-emphasized part. Further, among the characters on the slide 2, a character corresponding to either the emphasized character color or the emphasized font is determined as the emphasized character.

色適用部19は,強調部品と判定されたオブジェクトの背景の色を強調色に変換し,文字を強調色に対応付けられた文字色に変換する。また,準強調部品と判定されたオブジェクトについても同様に色変換処理を行う。また,強調文字および強調文字を含むオブジェクトも強調部品として色変換処理を行う。   The color application unit 19 converts the background color of the object determined to be an emphasis part into an emphasis color, and converts the character into a character color associated with the emphasis color. Similarly, the color conversion processing is performed on the object determined to be a semi-emphasized part. Further, the emphasis character and the object including the emphasis character are also subjected to color conversion processing as an emphasis part.

図4は,スライド2のオブジェクトに対する変換処理の流れを示す図である。   FIG. 4 is a diagram showing a flow of conversion processing for the object of the slide 2.

ステップS1では,色変換処理装置1の事前定義設定部11は,ユーザが入力した指定にもとづいて,事前定義として,色変換処理を行わない非変換対象とするオブジェクトの種別を設定する。   In step S1, the pre-definition setting unit 11 of the color conversion processing device 1 sets, as a pre-definition, the type of an object to be non-converted that is not subjected to color conversion processing, based on the designation input by the user.

次にステップS2では,カラーパレット選択部13は,カラーパレット記憶部14に格納されたカラーパレットから,オブジェクトに適用するカラーグループ,強調色,基調色などを選択する。   In step S2, the color palette selection unit 13 selects a color group, an emphasis color, a base color, and the like to be applied to the object from the color palette stored in the color palette storage unit 14.

ステップS3では,事前定義設定部11は,処理対象範囲とする単位を選択する。例えば,スライド/ページ単位,またはユーザが選択したオブジェクト群とする。   In step S3, the predefined setting unit 11 selects a unit to be processed. For example, a slide / page unit or an object group selected by the user.

ステップS4では,オブジェクト情報取得部15は,スライド2のデータを読み込み,各オブジェクトの色情報としてRGB値を取得する。各文字の文字色およびフォントを取得する。   In step S4, the object information acquisition unit 15 reads the data of the slide 2 and acquires RGB values as the color information of each object. Get the character color and font of each character.

ステップS5では,強調対象決定部16は,オブジェクトのRGB値の平均値を算出し,RGB平均値が最小値であるオブジェクトを取り出し,取り出したオブジェクト数と全オブジェクト数との割合を算出し,取り出したオブジェクト数の全オブジェクト数に対する割合が10%以下であれば,最小値から強調部品値を算出する。例えば,最小値を5%増加させた値を強調部品値とする。   In step S5, the emphasis target determining unit 16 calculates the average value of the RGB values of the objects, extracts the objects having the minimum RGB average value, calculates the ratio between the number of extracted objects and the total number of objects, and extracts them. If the ratio of the number of objects to the total number of objects is 10% or less, the emphasized component value is calculated from the minimum value. For example, a value obtained by increasing the minimum value by 5% is set as the emphasized component value.

また,必要であれば,同様の処理によって,準強調部品値を算出する。   If necessary, a semi-emphasized part value is calculated by the same process.

また,文字の出現数を,文字色ごとに算出し,各文字色の文字出現数と全文字数との割合を算出する。そして,文字出現数の割合が所定値を超えない文字色,であって出現文字数が最少のものを強調文字色として決定する。同様に,フォントごとに文字出現数を算出し,全文字数との割合を算出して,文字出現数の割合が所定値を超えないフォントを強調フォントとして決定する。   Also, the number of appearances of characters is calculated for each character color, and the ratio between the number of appearances of each character color and the total number of characters is calculated. Then, the character color in which the ratio of the number of character appearances does not exceed a predetermined value and the smallest number of appearance character characters is determined as the emphasized character color. Similarly, the number of character appearances is calculated for each font, the ratio to the total number of characters is calculated, and a font whose ratio of the number of character appearances does not exceed a predetermined value is determined as an emphasized font.

ステップS6で,スライド2の全オブジェクトについて色変換処理を開始し,色適用判断部18は,ステップS7〜ステップS12の処理をオブジェクト数分繰り返して(ステップS13),処理を終了する。   In step S6, color conversion processing is started for all objects on the slide 2, and the color application determination unit 18 repeats the processing in steps S7 to S12 for the number of objects (step S13), and ends the processing.

まず,ステップS7では,オブジェクト情報取得部15が保持するスライド2のオブジェクトの色情報を取得する。   First, in step S7, the color information of the object of the slide 2 held by the object information acquisition unit 15 is acquired.

ステップS8では,オブジェクトに適用する範囲を判定する。すなわち,オブジェクトが強調部品,準強調部品に該当するか,文字が,強調文字色,強調フォントに該当するかを判定する。オブジェクトのRGB平均値が強調部品値以下であれば強調部品と判定し,オブジェクトのRGB平均値が強調部品値より大きく準強調部品値以下であれば準強調部品と判定する。また,文字またはオブジェクトの文字が強調文字色または強調フォントのいずれかに該当すれば強調部品と判定する。   In step S8, a range to be applied to the object is determined. That is, it is determined whether the object corresponds to an emphasized part or a semi-emphasized part, or whether the character corresponds to an emphasized character color or an emphasized font. If the RGB average value of the object is equal to or less than the emphasized component value, it is determined as an emphasized component. Further, if the character or the character of the object corresponds to either the emphasized character color or the emphasized font, it is determined as an emphasized part.

適用範囲が強調部品であれば(ステップS9),オブジェクトの色をカラーパレットから選択された強調色で変換する(ステップS10)。   If the application range is an emphasis component (step S9), the object color is converted with the emphasis color selected from the color palette (step S10).

オブジェクトの文字が強調文字色または強調フォントに該当する場合に,オブジェクトの背景色が白,黒,または灰色であれば,文字に対して所定の修飾処理,例えば,太文字,下線付けなどを行う。   If the object character corresponds to the emphasis character color or the emphasis font, and the object background color is white, black, or gray, the character is subjected to predetermined modification processing, for example, bold, underline, etc. .

また,適用範囲が準強調部品であれば(ステップS9),オブジェクトの色を準強調色で変換する(ステップS11)。   If the application range is a semi-emphasized part (step S9), the object color is converted with a semi-emphasized color (step S11).

また,適用範囲が強調部品,準強調部品のいずれでもなければ,すなわち,基調部品であれば(ステップS9),オブジェクトの色を基調色で変換する(ステップS12)。   If the application range is neither an emphasis component or a semi-emphasis component, that is, if it is a key component (step S9), the color of the object is converted with the key color (step S12).

以上の処理をオブジェクト数分繰り返し(ステップS13),全てのオブジェクトの色変換を行うことによって,スライド2のオブジェクトはカラーパレットで指定されたカラーグループを用いて表現され,強調されたオブジェクト,やや強調されたオブジェクトもそのまま表現が維持される。   The above processing is repeated for the number of objects (step S13), and by performing color conversion of all the objects, the objects on the slide 2 are expressed using the color group specified in the color palette, and the emphasized objects are slightly emphasized. Representation is also maintained as it is.

図5〜図8は,オブジェクトの色変換処理の具体例を示す図である。   5 to 8 are diagrams showing specific examples of object color conversion processing.

図5は,処理対象のスライド2の例を示す図である。図5のスライド2には,7つのオブジェクト(ob1〜ob7)が含まれている。図6は,図5のスライド2の各オブジェクト(ob1〜ob7)の背景色および文字色のRGB値を示す図である。各オブジェクトの背景色および文字色は,以下のように設定されている。   FIG. 5 is a diagram illustrating an example of the slide 2 to be processed. The slide 2 in FIG. 5 includes seven objects (ob1 to ob7). FIG. 6 is a diagram showing the RGB values of the background color and the character color of each object (ob1 to ob7) on the slide 2 in FIG. The background color and text color of each object are set as follows.

オブジェクトob1の背景色=淡緑〜白のグラデーション,文字色=黒色;
オブジェクトob2の背景色=淡灰色,文字色=黒色;
オブジェクトob3の背景色=淡灰色,文字色=黒色;
オブジェクトob4の背景色=濃ピンク色,文字色=黒色;
オブジェクトob5の背景色=淡灰青色,文字色=黒色;
オブジェクトob6の背景色=淡灰青色,文字色=黒色;
オブジェクトob7の背景色=濃黄色,文字色=濃赤色;
さらに,図3に示すカラーパレットで,緑色系のグループから強調色(R:26,G:82,B:6),準強調色(R:165,G:233,B:171),基調色(R:255,G:255,B:255)が指定される。また,事前定義として,グレー(無色)系のオブジェクトは非変換対象に設定されているとする。
Background color of object ob1 = light green to white gradation, character color = black;
Background color of object ob2 = light gray, character color = black;
Background color of object ob3 = light gray, character color = black;
Background color of object ob4 = dark pink, character color = black;
Background color of object ob5 = light gray blue, character color = black;
Background color of object ob6 = light gray blue, character color = black;
Background color of object ob7 = dark yellow, character color = dark red;
Further, in the color palette shown in FIG. 3, emphasized colors (R: 26, G: 82, B: 6), semi-enhanced colors (R: 165, G: 233, B: 171), base colors from the green group. (R: 255, G: 255, B: 255) is designated. Also, as a predefined definition, assume that gray (colorless) objects are set as non-conversion objects.

事前定義により,スライド2のオブジェクトob2,ob3は,処理対象からはずされる。残りのオブジェクトob1,ob4〜ob7各々について,RGB平均値が算出され,オブジェクトob7のRGB平均値(=170)が最小値となる。したがって,オブジェクトob7と他のオブジェクトとの割合を算出し,所定の割合(例えば15%)を超えていないので,この最小値を強調部品値とする。さらに,オブジェクトob4のRGB平均値(=204)が次に小さい値であり,所定の割合を超えていないので,この最小値を準強調部品値とする。   By the pre-definition, the objects ob2 and ob3 of the slide 2 are removed from the processing target. An RGB average value is calculated for each of the remaining objects ob1, ob4 to ob7, and the RGB average value (= 170) of the object ob7 is the minimum value. Accordingly, the ratio between the object ob7 and the other object is calculated, and since the predetermined ratio (for example, 15%) is not exceeded, this minimum value is set as the emphasized component value. Further, since the RGB average value (= 204) of the object ob4 is the next smallest value and does not exceed the predetermined ratio, this minimum value is set as the semi-emphasized component value.

そして,色変換処理では,スライド2のオブジェクトのRGB平均値が,前記の強調部品値,準強調部品値と比べられて,適用する色が決定される。   In the color conversion process, the RGB average value of the object on the slide 2 is compared with the above-described emphasized component value and semi-emphasized component value, and the color to be applied is determined.

その結果,オブジェクトob7の背景および文字が強調色に変換され,オブジェクトob4の背景および文字が準強調色に変換され,オブジェクトob5,ob6が基調色に変換される。   As a result, the background and characters of the object ob7 are converted to the emphasized color, the background and characters of the object ob4 are converted to the semi-emphasized color, and the objects ob5 and ob6 are converted to the base color.

図7は,処理済みスライド2’の例を示す図である。図8は,図7の処理済みスライド2’のオブジェクトob1〜ob7の背景色および文字色のRGB値を示す図である。   FIG. 7 is a diagram illustrating an example of the processed slide 2 ′. FIG. 8 is a diagram showing RGB values of the background color and the character color of the objects ob1 to ob7 of the processed slide 2 'of FIG.

図5に示すように,処理前のスライド2では,色系統が異なる5色(淡緑色,淡灰色,濃ピンク色,淡青色,濃黄色)が適用されていた。しかし,図7に示すように,処理済みスライド2’のオブジェクトob1〜ob7には緑色系の色が適用され,色適用に統一感を生じさせ,さらに,強調させたいオブジェクトob7,ob4も適切に強調して表現されていることがわかる。   As shown in FIG. 5, in the slide 2 before processing, five colors (light green, light gray, dark pink, light blue, and dark yellow) having different color systems were applied. However, as shown in FIG. 7, green colors are applied to the objects ob1 to ob7 of the processed slide 2 ′, creating a sense of unity in the color application, and the objects ob7 and ob4 to be emphasized are also appropriately selected. You can see that it is expressed with emphasis.

以上,本発明をその実施の形態により説明したが,本発明はその主旨の範囲において種々の変形が可能であることは当然である。   Although the present invention has been described above with reference to the embodiments, it is obvious that the present invention can be variously modified within the scope of the gist thereof.

本発明を実施するための最良の形態における構成例を示す図である。It is a figure which shows the structural example in the best form for implementing this invention. 強調部品および準強調部品の全体に対する適切な割合の例を示す図である。It is a figure which shows the example of the suitable ratio with respect to the whole emphasis component and semi-emphasis component. カラーパレットの例を示す図である。It is a figure which shows the example of a color palette. オブジェクトに対する変換処理の流れを示す図である。It is a figure which shows the flow of the conversion process with respect to an object. 処理対象のスライドの例を示す図である。It is a figure which shows the example of the slide of a process target. 図5のスライドのオブジェクトの背景色および文字色のRGB値を示す図である。It is a figure which shows the RGB value of the background color and character color of the object of the slide of FIG. 処理後のスライドの例を示す図である。It is a figure which shows the example of the slide after a process. 図7のスライドのオブジェクトの背景色および文字色のRGB値を示す図である。It is a figure which shows the RGB value of the background color and character color of the object of the slide of FIG.

符号の説明Explanation of symbols

1 色変換処理装置
11 事前定義設定部
12 事前定義記憶部
13 カラーパレット選択部
14 カラーパレット記憶部
15 オブジェクト情報取得部
16 強調対象決定部
17 強調部品値記憶部
18 色適用判断部
19 色適用部
2 スライド
2’ 処理済みスライド
DESCRIPTION OF SYMBOLS 1 Color conversion processing apparatus 11 Predefinition setting part 12 Predefinition memory | storage part 13 Color palette selection part 14 Color pallet memory | storage part 15 Object information acquisition part 16 Emphasis target determination part 17 Emphasis component value memory | storage part 18 Color application judgment part 19 Color application part 2 slides 2 'processed slides

Claims (7)

カラー表現される資料データを構成する要素の色を変換する色変換処理を,コンピュータに実行させるための色変換処理プログラムであって,
要素の背景色として用いられる同系の複数の色と,前記各色と対応付けられた文字色とで構成されるカラーパレットから,色変換処理で用いる強調色および基調色を選択するカラーパレット選択処理と,
前記資料データの各要素のRGB値を取得する要素情報取得処理と,
前記資料データの所定の範囲に含まれる要素について,各要素のRGB値の平均値を算出し,前記RGB平均値が最小の要素を取り出し,当該取り出した要素と前記所定の範囲の全要素との割合を算出し,前記取り出した要素の割合が所定値を超えない場合に,前記RGB値の最小値にもとづいて強調部品値を決定する強調部品特定処理と,
前記RGB平均値が前記強調部品値以下である前記要素を強調部品と判定し,前記強調部品の背景を前記強調色に,前記強調部品の文字を前記強調色に対応付けられた文字色に,前記強調部品以外の要素の背景を前記基調色の背景色に,前記強調部品以外の要素の文字を前記基調色に対応付けられた文字色に,それぞれ変換する色適用処理とを,
前記コンピュータに実行させるための
色変換処理プログラム。
A color conversion processing program for causing a computer to execute color conversion processing for converting colors of elements constituting material data to be expressed in color,
A color palette selection process for selecting an emphasis color and a base color to be used in the color conversion process from a color palette composed of a plurality of similar colors used as the background color of the element and a character color associated with each color; ,
Element information acquisition processing for acquiring RGB values of each element of the material data;
For the elements included in the predetermined range of the material data, the average value of the RGB values of each element is calculated, the element having the smallest RGB average value is extracted, and the extracted element and all the elements in the predetermined range are An emphasis component specifying process for calculating an emphasis component value based on a minimum value of the RGB values when the proportion is calculated and the proportion of the extracted element does not exceed a predetermined value;
The element whose RGB average value is less than or equal to the emphasized part value is determined as an emphasized part, the background of the emphasized part is the emphasized color, and the character of the emphasized part is the character color associated with the emphasized color. A color application process for converting a background of an element other than the emphasized part into a background color of the base color and a character of an element other than the emphasized part into a character color associated with the base color;
A color conversion processing program to be executed by the computer.
前記強調部品特定処理において,前記最小値から,前記強調部品値より値が大きい第2の強調部品値を決定する処理と,
前記色適用処理において,前記強調部品以外の要素であって,前記RGB平均値が前記第2の強調部品値以下である要素を準強調部品と判定し,前記カラーパレットに含まれる前記強調色より明るい色を用いて前記準強調部品を色変換する処理とを,
前記コンピュータに実行させるための
請求項1に記載の色変換処理プログラム。
In the emphasized part specifying process, a process of determining a second emphasized part value having a value larger than the emphasized part value from the minimum value;
In the color application process, an element other than the emphasized part, the element whose RGB average value is equal to or less than the second emphasized part value is determined as a semi-emphasized part, and from the emphasized color included in the color palette A process of color-converting the semi-emphasized part using a bright color,
The color conversion processing program according to claim 1, which is executed by the computer.
前記要素情報取得処理において,前記資料データの文字の文字色およびフォントを取得する処理と,
前記強調部品特定処理において,前記取得された文字色の文字の出現数を前記文字色ごとに算出し,前記文字出現数の全文字数に対する割合が所定値を超えない文字色であって出現文字数が最少のものを強調文字色として決定し,前記取得されたフォントの文字の出現数を前記フォントごとに算出し,前記文字出現数の全文字数に対する割合が所定値を超えないフォントであって出現文字数が最少のものを強調フォントとして決定する前記強調部文字特定処理と,
前記色適用処理において,前記資料データの文字のうち前記強調文字色または前記強調フォントに該当する文字を強調文字と判定し,当該強調文字の色を所定の文字色に変換し,または当該強調文字を含む要素を強調部品と特定して当該強調部品の背景および文字の色を前記強調色に変換する処理とを,
前記コンピュータに実行させるための
請求項1ないし請求項2のいずれか一項に記載の色変換処理プログラム。
In the element information acquisition process, a process of acquiring the character color and font of the material data;
In the emphasizing component specifying process, the number of appearances of the characters of the acquired character color is calculated for each character color, and the ratio of the number of appearances of characters to the total number of characters is a character color that does not exceed a predetermined value and the number of appearance characters is The smallest character is determined as the emphasized character color, the number of appearances of the character of the acquired font is calculated for each font, and the ratio of the number of appearances to the total number of characters is a font that does not exceed a predetermined value and the number of appearance characters The emphasis part character specifying process for determining the smallest font as the emphasis font;
In the color application processing, a character corresponding to the emphasized character color or the emphasized font among characters of the document data is determined as an emphasized character, and the color of the emphasized character is converted into a predetermined character color, or the emphasized character A process of identifying an element including a highlight component and converting the background and character color of the highlight component into the highlight color,
The color conversion processing program according to claim 1, which is executed by the computer.
前記資料データの要素のうち,ユーザによって指定された要素または文字を非変換対象とする非変換対象設定処理と,
前記色適用処理において,前記非変換対象の要素または文字を色変換処理の対象外とする処理とを,
前記コンピュータに実行させるための
請求項1ないし請求項3のいずれか一項に記載の色変換処理プログラム。
A non-conversion target setting process in which an element or character specified by the user among the elements of the material data is a non-conversion target;
In the color application process, a process of excluding the non-conversion target element or character from the color conversion process target,
The color conversion processing program according to any one of claims 1 to 3, which is executed by the computer.
前記非変換対象設定処理において,RGB値各々が同値である前記要素を非変換対象とする処理を,
前記コンピュータに実行させるための
請求項4に記載の色変換処理プログラム。
In the non-conversion object setting process, the process of making the elements whose RGB values are the same value non-conversion object,
The color conversion processing program according to claim 4, which is executed by the computer.
カラー表現される資料データを構成する要素の色を変換する色変換処理を,コンピュータに実行させるための色変換処理装置であって,
要素の背景色として用いられる同系の複数の色と,前記各色と対応付けられた文字色とで構成されるカラーパレットから,色変換処理で用いる強調色および基調色を選択するカラーパレット選択部と,
前記資料データの各要素のRGB値を取得する要素情報取得部と,
前記資料データの所定の範囲に含まれる要素について,各要素のRGB値の平均値を算出し,前記RGB平均値が最小の要素を取り出し,当該取り出した要素と前記所定の範囲の全要素との割合を算出し,前記取り出した要素の割合が所定値を超えない場合に,前記RGB値の最小値にもとづいて強調部品値を決定する強調部品特定部と,
前記RGB平均値が前記強調部品値以下である前記要素を強調部品と判定し,前記強調部品の背景を前記強調色に,前記強調部品の文字を前記強調色に対応付けられた文字色に,前記強調部品以外の要素の背景を前記基調色の背景色に,前記強調部品以外の要素の文字を前記基調色に対応付けられた文字色に,それぞれ変換する色適用部とを備える
色変換処理装置。
A color conversion processing device for causing a computer to execute color conversion processing for converting colors of elements constituting material data represented in color,
A color palette selection unit for selecting an emphasis color and a base color to be used in color conversion processing from a color palette composed of a plurality of similar colors used as background colors of elements and a character color associated with each color; ,
An element information acquisition unit for acquiring an RGB value of each element of the material data;
For the elements included in the predetermined range of the material data, the average value of the RGB values of each element is calculated, the element having the smallest RGB average value is extracted, and the extracted element and all the elements in the predetermined range are An emphasis component specifying unit that calculates an emphasis component value based on the minimum value of the RGB values when the proportion is calculated and the proportion of the extracted element does not exceed a predetermined value;
The element whose RGB average value is less than or equal to the emphasized part value is determined as an emphasized part, the background of the emphasized part is the emphasized color, and the character of the emphasized part is the character color associated with the emphasized color. A color conversion process comprising: a color application unit that converts a background of an element other than the emphasized part into a background color of the basic color and a character of an element other than the emphasized part into a character color associated with the basic color apparatus.
コンピュータが,カラー表現される資料データを構成する要素の色を変換する色変換処理方法であって,
要素の背景色として用いられる同系の複数の色と,前記各色と対応付けられた文字色とで構成されるカラーパレットから,色変換処理で用いる強調色および基調色を選択するカラーパレット選択処理ステップと,
前記資料データの各要素のRGB値を取得する要素情報取得処理ステップと,
前記資料データの所定の範囲に含まれる要素について,各要素のRGB値の平均値を算出し,前記RGB平均値が最小の要素を取り出し,当該取り出した要素と前記所定の範囲の全要素との割合を算出し,前記取り出した要素の割合が所定値を超えない場合に,前記RGB値の最小値にもとづいて強調部品値を決定する強調部品特定処理ステップと,
前記RGB平均値が前記強調部品値以下である前記要素を強調部品と判定し,前記強調部品の背景を前記強調色に,前記強調部品の文字を前記強調色に対応付けられた文字色に,前記強調部品以外の要素の背景を前記基調色の背景色に,前記強調部品以外の要素の文字を前記基調色に対応付けられた文字色に,それぞれ変換する色適用処理ステップとを備える
色変換処理方法。
A color conversion processing method in which a computer converts colors of elements constituting material data to be expressed in color,
Color palette selection processing step for selecting an emphasis color and a base color to be used in color conversion processing from a color palette composed of a plurality of similar colors used as the background color of the element and a character color associated with each color When,
An element information acquisition processing step of acquiring RGB values of each element of the material data;
For the elements included in the predetermined range of the material data, the average value of the RGB values of each element is calculated, the element having the smallest RGB average value is extracted, and the extracted element and all the elements in the predetermined range are An emphasis component specifying processing step for calculating a proportion and determining an emphasis component value based on the minimum value of the RGB values when the proportion of the extracted elements does not exceed a predetermined value;
The element whose RGB average value is less than or equal to the emphasized part value is determined as an emphasized part, the background of the emphasized part is the emphasized color, and the character of the emphasized part is the character color associated with the emphasized color. A color application processing step for converting a background of an element other than the emphasized part into a background color of the basic color and a character of an element other than the emphasized part into a character color associated with the basic color, respectively. Processing method.
JP2007090113A 2007-03-30 2007-03-30 Color conversion processing program, processing device, and processing method Expired - Fee Related JP4772726B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007090113A JP4772726B2 (en) 2007-03-30 2007-03-30 Color conversion processing program, processing device, and processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007090113A JP4772726B2 (en) 2007-03-30 2007-03-30 Color conversion processing program, processing device, and processing method

Publications (2)

Publication Number Publication Date
JP2008252425A true JP2008252425A (en) 2008-10-16
JP4772726B2 JP4772726B2 (en) 2011-09-14

Family

ID=39976874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007090113A Expired - Fee Related JP4772726B2 (en) 2007-03-30 2007-03-30 Color conversion processing program, processing device, and processing method

Country Status (1)

Country Link
JP (1) JP4772726B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015049669A (en) * 2013-08-30 2015-03-16 京セラドキュメントソリューションズ株式会社 Material evaluation program and material evaluation system
JP7855667B1 (en) 2024-11-25 2026-05-08 キヤノン株式会社 Application program, support method, and information processing device.

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH027091A (en) * 1988-06-27 1990-01-11 Sharp Corp Color display system
JPH07306935A (en) * 1994-04-25 1995-11-21 Canon Inf Syst Inc Device for computer-aided color selection and coloring and method of selecting and coloring the same
JPH0981761A (en) * 1995-09-08 1997-03-28 Fuji Xerox Co Ltd Chart processing device
JPH09134159A (en) * 1995-11-08 1997-05-20 Casio Comput Co Ltd Data output device
JP2006279929A (en) * 2005-03-04 2006-10-12 Fuji Photo Film Co Ltd Album creating apparatus, album creating method, and program
JP2007074063A (en) * 2005-09-05 2007-03-22 Fuji Xerox Co Ltd Color processing apparatus and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH027091A (en) * 1988-06-27 1990-01-11 Sharp Corp Color display system
JPH07306935A (en) * 1994-04-25 1995-11-21 Canon Inf Syst Inc Device for computer-aided color selection and coloring and method of selecting and coloring the same
JPH0981761A (en) * 1995-09-08 1997-03-28 Fuji Xerox Co Ltd Chart processing device
JPH09134159A (en) * 1995-11-08 1997-05-20 Casio Comput Co Ltd Data output device
JP2006279929A (en) * 2005-03-04 2006-10-12 Fuji Photo Film Co Ltd Album creating apparatus, album creating method, and program
JP2007074063A (en) * 2005-09-05 2007-03-22 Fuji Xerox Co Ltd Color processing apparatus and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015049669A (en) * 2013-08-30 2015-03-16 京セラドキュメントソリューションズ株式会社 Material evaluation program and material evaluation system
US9747326B2 (en) 2013-08-30 2017-08-29 Kyocera Document Solutions Inc. Non-transitory computer-readable recording medium that stores document evaluation program that evaluates consistency in document
JP7855667B1 (en) 2024-11-25 2026-05-08 キヤノン株式会社 Application program, support method, and information processing device.
JP2026091517A (en) * 2024-11-25 2026-06-04 キヤノン株式会社 Application program, support method, and information processing device.

Also Published As

Publication number Publication date
JP4772726B2 (en) 2011-09-14

Similar Documents

Publication Publication Date Title
US7061503B2 (en) In-gamut color picker
CN100349181C (en) Image processing device
JP4704224B2 (en) Album creating apparatus, album creating method, and program
CN1937702A (en) Image processing apparatus, image processing method, and computer program product
JP5526874B2 (en) Image processing apparatus and image processing program
US7558422B2 (en) Document processing apparatus
US20230419572A1 (en) Information processing apparatus and method for controlling the same
JP4772726B2 (en) Color conversion processing program, processing device, and processing method
US7650564B2 (en) Global tone adjustment system for document files containing text, raster, and vector images
US8199350B2 (en) Variable data printing method using variable text color depending on background
JP4127140B2 (en) Document processing apparatus, document processing program, and document processing apparatus control method
JP2011061860A (en) Image-data processor, medium with image-data set recorded, medium with image-data processing program recorded and method for processing image data
JP2009171158A (en) Mosaic image generation apparatus, method, and program
US7986329B2 (en) Document edit device, program, and storage medium
JP4712635B2 (en) Data correction method, apparatus and program
JP2006135664A (en) Picture processor and program
CN111783382B (en) A method and device for recommending document visual effects
JP4507673B2 (en) Image processing apparatus, image processing method, and program
CN114529624A (en) Image color matching method and system and image generation method and system
JP2010146232A (en) Print setting application program, print control program, print setting application device, and print setting application method
US12505597B2 (en) Information processing apparatus and method for controlling the same
JP5139779B2 (en) Image forming apparatus and image forming method
JP2011130087A (en) Image processing apparatus and image processing method
JP3914767B2 (en) Image reduction conversion method, image processing apparatus, accounting processing apparatus, and image reduction conversion program
CN111783383A (en) Method and device for configuring visual effects of documents

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090108

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100618

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100706

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100830

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20100830

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101207

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: 20110621

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110622

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

Free format text: PAYMENT UNTIL: 20140701

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees