JP4973607B2 - Image processing apparatus, method, and program - Google Patents
Image processing apparatus, method, and program Download PDFInfo
- Publication number
- JP4973607B2 JP4973607B2 JP2008158749A JP2008158749A JP4973607B2 JP 4973607 B2 JP4973607 B2 JP 4973607B2 JP 2008158749 A JP2008158749 A JP 2008158749A JP 2008158749 A JP2008158749 A JP 2008158749A JP 4973607 B2 JP4973607 B2 JP 4973607B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- value
- objects
- determination
- image processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title description 18
- 239000003086 colorant Substances 0.000 claims description 51
- 238000000605 extraction Methods 0.000 claims description 20
- 208000006992 Color Vision Defects Diseases 0.000 claims description 13
- 201000007254 color blindness Diseases 0.000 claims description 13
- 238000003672 processing method Methods 0.000 claims 1
- 238000006243 chemical reaction Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 3
- 230000001771 impaired effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
本発明は、画像処理装置に関し、特に、色覚障害の有無に関わらず見易い配色のカラードキュメントを作成する技術に関する。 The present invention relates to an image processing apparatus, and more particularly, to a technique for creating a color document with a color scheme that is easy to see regardless of the presence or absence of color blindness.
近年、カラープリンタが普及するの従って、色覚障害の有無に関わらず見やすい配色のカラードキュメントを作成する必要性が高まっている。
例えば、特許文献1には、カラードキュメント中の色の変わり目に輪郭線を追加したり、配色を変更したりすることによって、色覚障害者にとって見易くする技術が開示されている。
In recent years, as color printers have become widespread, there is an increasing need to create color documents with easy-to-view color schemes regardless of the presence or absence of color blindness.
For example, Patent Document 1 discloses a technique that makes it easy for a visually impaired person to add a contour line to a color change in a color document or to change a color scheme.
このようにすれば、色覚障害者の見易さを意識せずに作成されたカラードキュメントであっても、色覚障害者に見易くすることができるので、異なる色覚を有する者の間の意思の疎通や情報の伝達を円滑にすることができる。
しかしながら、色覚障害者にとって見易いカラードキュメントであっても必ずしも健常者にとって見易い訳ではない、という問題がある。
そのような場合、上記技術を適用したとことで、既に色覚障害者にとって見易いカラードキュメントになっているので、何ら変更が加えられず、健常者にとって見易くすることができない。このため、色覚障害者から健常者への情報伝達に円滑を欠く結果となる。
However, there is a problem that even color documents that are easy to see for people with color blindness are not always easy to see for healthy people.
In such a case, since the above-described technique is applied, the color document is already easy to see for people with color blindness, so no changes are made and it is not easy for a healthy person to see. This results in a lack of smooth transmission of information from a color blind person to a healthy person.
そこで、本発明は、上述したような問題に鑑みてなされたものであって、色覚障害者の見易さを保ちつつ、健常者に見易くなるようカラードキュメントに変更を加える画像処理装置、画像処理方法及び画像処理プログラムを提供することを目的とする。 Accordingly, the present invention has been made in view of the above-described problems, and an image processing apparatus and an image processing device that change a color document so that it can be easily viewed by a healthy person while maintaining the visibility of a color blind person It is an object to provide a method and an image processing program.
上記目的を達成するために、本発明は、画像処理装置であって、カラードキュメントから、境界が接する2つのオブジェクトを抽出する抽出手段と、抽出した2つのオブジェクトの色それぞれに対するLab表色系における各成分値であるLab値を取得する取得手段と、抽出された前記2つのオブジェクトに利用されている色が健常者にとって類似する色の組み合わせであり、且つ色覚障害者にとっては非類似に見える色の組み合わせであるか否かを、前記取得手段にて得られた2つのLab値に基づいて判断する判断手段と、前記判断手段の判断結果が肯定的である場合には、前記2つのオブジェクトの中からRGB表色系における青色成分の明度が低いオブジェクトを選択する選択手段と、健常者にとって前記2つのオブジェクトの色の組み合わせが非類似になるように前記選択手段にて選択された1のオブジェクトに対するLab値のうちa値を変更し、変更されたLab値を生成する値変更手段と、前記選択されたオブジェクトの色を、前記変更されたLab値にて示される色へと変更する色変更手段とを備えることを特徴とする。 In order to achieve the above object, the present invention is an image processing apparatus comprising: an extracting unit that extracts two objects that contact each other from a color document; and a Lab color system for each of the colors of the two extracted objects. Colors that are obtained by acquiring the Lab value that is each component value, and the colors used for the extracted two objects are similar to those for healthy persons, and appear dissimilar to those with color blindness If the determination result of the determination means is positive based on the two Lab values obtained by the acquisition means, and if the determination result of the determination means is affirmative, A selection means for selecting an object having a low lightness of a blue component in the RGB color system, and colors of the two objects for a healthy person Value changing means for generating a changed Lab value by changing a value among Lab values for one object selected by the selecting means so that the combination becomes dissimilar, and the color of the selected object And a color changing means for changing the color to the color indicated by the changed Lab value.
ここで、Lab値とは、Lab表色系における3成分値であるL値、a値、b値からなり、色を数値化するカラーモデルの1つである。このLab値は、色の絶対的な尺度として、色伝達基準として用いられている。L値は、明度を示し、値が大きいほど明度が高い。a値は赤〜緑における色相・彩度を示し、a値が大きいほど赤色の色相が高く、a値が小さいほど緑色の色相が高くなる。b値は黄〜青における色相・彩度を示し、b値が大きいほど黄色の色相が高く、b値が小さいほど青色の色相が高くなる。 Here, the Lab value is composed of an L value, a value, and b value, which are three component values in the Lab color system, and is one of color models for digitizing colors. This Lab value is used as a color transmission standard as an absolute measure of color. The L value indicates the lightness, and the lightness is higher as the value is larger. The a value indicates the hue / saturation in red to green. The larger the a value, the higher the red hue, and the smaller the a value, the higher the green hue. The b value indicates the hue / saturation in yellow to blue. The larger the b value, the higher the yellow hue, and the smaller the b value, the higher the blue hue.
上記にて示す構成によると、画像処理装置は、抽出した2つのオブジェクトに利用されている色が類似する色である場合に色変更を行う際には、健常者にとって前記2つのオブジェクトの色の組み合わせが非類似になるように前記2つのオブジェクトのうち青色成分の明度が低いオブジェクトのLab値のうちa値を変更するので、健常者にとっては見易い色の組み合わせになる。また、a値を変更しても色覚障害者にとっては見え方が変わらないので、色覚障害者にとっても見易い色の組み合わせのままである。例えば、赤色と緑色の識別が困難な色覚障害者が作成したカラードキュメントにおいて、当該色覚障害者には作成したカラードキュメントに含まれる境界が接する2つオブジェクトの区別ができるように見えているが、健常者には当該2つのオブジェクトの色の区別ができない場合がある。このとき、本発明に係る画像処理装置を用いることにより、青色成分の明度が低いオブジェクトのLab値のうちaの値を変更することにより、色覚障害者にとっては、a値が変更されても2つのオブジェクトの色の組み合わせの見え方は変わらない。なぜなら、a値の変更により赤色の色相の高くなっても(このとき、緑色の色相は低くなる)、色覚障害者による赤色及び緑色の識別には何ら影響を与えないからである。逆に、a値の変更により赤色の色相の低くなる場合においても(このとき、緑色の色相は高くなる)、同様である。また、健常者にとっては、a値を変更することで、色変更対象のオブジェクトに対する色の見え方が変わるので、2つのオブジェクトの色の区別ができるようになる。 According to the configuration described above, the image processing apparatus, when performing color change when the colors used for the extracted two objects are similar colors, for the healthy person, Among the two objects, the a value is changed among the Lab values of the objects with low lightness of the blue component so that the combination becomes dissimilar, so that the color combination is easy to see for a healthy person. Further, even if the a value is changed, the appearance is not changed for the color blind person, so that the color combination is easy to see for the color blind person. For example, in a color document created by a color blind person who is difficult to distinguish between red and green, the color blind person seems to be able to distinguish between two objects that touch the boundary included in the created color document. A healthy person may not be able to distinguish between the colors of the two objects. At this time, by using the image processing apparatus according to the present invention, by changing the value of a among the Lab values of the objects with low lightness of the blue component, even if the a value is changed, 2 is changed. The appearance of the color combinations of the two objects does not change. This is because even if the red hue is increased by changing the a value (the green hue is lowered at this time), it does not affect the discrimination between red and green by the color blind person. Conversely, the same applies to the case where the red hue is lowered by changing the a value (the green hue is raised at this time). In addition, for a healthy person, by changing the a value, the appearance of the color with respect to the object to be changed is changed, so that the colors of the two objects can be distinguished.
ここで、前記値変更手段は、前記a値の正負を反転させることで、前記a値を変更するとしてもよい。
この構成によると、画像処理装置は、a値の正負を反転して色変更を行うので、健常者にとって見易い色の組み合わせに確実に変更することができる。
ここで、前記値変更手段は、前記a値の変更に先立って、前記a値が所定の範囲内であるか否かを判断し、所定の範囲内でないと判断する場合に前記a値を変更するとしてもよい。
Here, the value changing means may change the a value by inverting the sign of the a value.
According to this configuration, since the image processing apparatus changes the color by inverting the sign of the a value, it can be surely changed to a color combination that is easy to see for a healthy person.
Here, the value changing means determines whether the a value is within a predetermined range prior to changing the a value, and changes the a value when determining that the a value is not within the predetermined range. You may do that.
さらに、前記所定の範囲とは、値0の近傍であり、且つ色覚障害者が識別可能な色に対するa値を示す値の集まりであるとしてもよい。
この構成によると、画像処理装置は、選択された1のオブジェクトのa値が所定の範囲外である場合に色変更を行うことができる。これは、抽出された2つのオブジェクトそれぞれのa値が互いに近くても、選択されたオブジェクトのa値が所定の範囲内である場合(値0に近い場合)には、健常者及び色覚障害者の両者ともにおいて、2つのオブジェクトの色の組み合わせは識別しやすいものになっているので、色変更を必要とするオブジェクトに対して確実に色変更を行うことができる。
Further, the predetermined range may be a collection of values that are in the vicinity of the value 0 and that indicate the a value for a color that can be identified by a color blind person.
According to this configuration, the image processing apparatus can change the color when the a value of the selected one object is outside the predetermined range. This is because when the a value of each of the two extracted objects is close to each other, but the a value of the selected object is within a predetermined range (when the value is close to 0), the healthy person and the color blind person In both cases, since the combination of the colors of the two objects is easy to identify, it is possible to reliably change the color for an object that requires the color change.
ここで、前記判断手段は、前記2つのLab値から、L値、a値及びb値それぞれの差分を算出する算出部と、算出したL値の差分が第1の判断値以下であるか否かを判断する第1の判断部と、前記第1の判断値以下であると判断する場合、a値の差分が第2の判断値以下であり、且つb値の差分が第3の判断値以上であるか否かを判断する第2の判断部とを備え、前記判断手段は、前記第2の判断部による判断結果が肯定的である場合に、抽出された前記2つのオブジェクトに利用されている色が健常者にとって類似する色の組み合わせであり、且つ色覚障害者にとっては非類似に見える色の組み合わせであると判断するとしてもよい。 Here, the determination means calculates a difference between the L value, the a value, and the b value from the two Lab values, and whether the calculated difference between the L values is equal to or less than a first determination value. A first determination unit that determines whether or not the difference between the a value is equal to or less than the second determination value and the difference between the b values is equal to the third determination value. A second determination unit that determines whether or not the determination is made, and the determination unit is used for the extracted two objects when the determination result by the second determination unit is affirmative. It may be determined that the current color is a combination of colors similar to a healthy person and a color combination that appears dissimilar to a color blind person.
この構成によると、画像処理装置は、2つのオブジェクトそれぞれのLab値におけるL値、a値、b値の差分を用いることで、抽出された前記2つのオブジェクトに利用されている色の組み合わせが健常者にとって類似する色の組み合わせであり、且つ色覚障害者にとっては非類似に見える色の組み合わせであるか否かを確実に判断することができる。
ここで、前記画像処理装置は、さらに、色変更が不要である色の組み合わせを記憶する記憶手段と、前記判断手段による判断に先立って、前記抽出した2つのオブジェクトの色の組み合わせが、前記記憶手段に記憶されているか否かを判断し、記憶されていないと判断する場合には前記判断手段による判断を行うよう制御し、記憶されていると判断する場合には前記判断手段による判断を行わないよう制御する判断制御手段を備えるとしてもよい。
According to this configuration, the image processing apparatus uses the difference between the L value, the a value, and the b value in the Lab values of the two objects, so that the combination of colors used for the extracted two objects is healthy. It is possible to determine with certainty whether the color combination is similar to the person who is similar to the color and the color combination that appears dissimilar to the person with color blindness.
Here, the image processing apparatus further includes a storage unit that stores a combination of colors that do not require color change, and a color combination of the two extracted objects prior to the determination by the determination unit. It is determined whether or not it is stored in the means, and when it is determined that it is not stored, control is performed so that the determination by the determination means is performed, and when it is determined that it is stored, determination by the determination means is performed. Judgment control means for performing control may be provided.
この構成によると、画像処理装置は、抽出した2つのオブジェクトの色の組み合わせが色変更不要な組み合わせである場合には、判断手段の動作を行わないので、色変更不要な組み合わせに対して、色変更を確実に抑止することができる。
ここで、前記画像処理装置は、さらに、前記値変更手段によるLab値の変更に先立って、抽出された前記2つのオブジェクトに利用されている色が健常者にとっては類似する色の組み合わせであり、且つ色覚障害者にとっては非類似に見える色の組み合わせである場合に、健常者にとって類似する色の組み合わせが利用されている旨のメッセージを出力するするメッセージ出力手段と、前記メッセージの出力後、色変更を行うか否かの指示を受け付け、受け付けた指示が色変更を行う旨である場合には前記値変更手段の動作を開始するよう制御し、受け付けた指示が色変更を行わない旨である場合には抽出手段にて抽出された前記2つのオブジェクトそれぞれに利用された色の組み合わせを前記記憶手段に格納する値変更制御手段とを備えるとしてもよい。
According to this configuration, the image processing apparatus does not perform the operation of the determination unit when the color combination of the two extracted objects is a combination that does not require color change. Changes can be reliably suppressed.
Here, the image processing apparatus further includes a combination of colors similar to those used by a healthy person in color used for the two objects extracted prior to the Lab value change by the value change unit, And a message output means for outputting a message indicating that a color combination similar to that for a healthy person is used when the color combination is dissimilar to a color blind person; An instruction whether or not to make a change is accepted, and if the accepted instruction is to change the color, control is performed to start the operation of the value changing means, and the accepted instruction is to make no color change. In some cases, a value change control means for storing in the storage means a combination of colors used for each of the two objects extracted by the extraction means. It may be.
この構成によると、画像処理装置は、健常者にとって類似する色が利用されている旨のメッセージを出力するので、当該画像処理装置の利用者は、健常者による色の見え方が類似する色の組み合わせがあるか否かを確実に知ることができる。また、色変更を行う否かについても利用者自身で選択できる。
ここで、前記画像処理装置は、カラードキュメントを印刷する画像形成装置に具備され、前記カラードキュメントの印刷時に動作するとしてもよい。
According to this configuration, the image processing apparatus outputs a message indicating that a color similar to that for the healthy person is used. Therefore, the user of the image processing apparatus can change the color appearance by the healthy person. You can know if there is a combination. The user can also select whether or not to change the color.
Here, the image processing apparatus may be included in an image forming apparatus that prints a color document and operates when the color document is printed.
この構成によると、画像形成装置に具備される画像処理装置は、当該画像形成装置によるカラードキュメントの印刷時に、2つのオブジェクトの色の組み合わせにおいて色覚障害者にとっては見え方が変わらず、健常者にとっても見易い色の組み合わせとすることができるので、カラードキュメントの作成者は、作成時において、2つのオブジェクトの色の組み合わせを意識する必要が無い。 According to this configuration, the image processing apparatus included in the image forming apparatus does not change the way that a color blind person sees the color combination of two objects when a color document is printed by the image forming apparatus. Since the combination of colors is very easy to see, the color document creator does not need to be aware of the combination of the colors of the two objects at the time of creation.
1.実施の形態1
以下、本発明の実施の形態1について、図面を参照しながら説明する。
1.1 概要
本発明における画像処理システム1は、図1に示すように、画像処理装置10、ディスプレイ11及び画像形成装置20から構成されている。
1. Embodiment 1
Embodiment 1 of the present invention will be described below with reference to the drawings.
1.1 Overview An image processing system 1 according to the present invention includes an
画像処理装置10は、ユーザ操作、特に色覚障害者の操作によりカラードキュメントを生成し、生成されたカラードキュメントが色覚障害者及び健常者の両者に対して見易くなるように、カラードキュメントに含まれるカラーオブジェクトの色変更を行う。なお、本実施の形態においては、色覚障害者とは、特に、赤色と緑色の識別が困難な色覚障害者であるとする。また、カラーオブジェクトとは、単一色からなる領域、言い換えると、同一の値からなる画素を連結した塊である。例えば、領域は、グラフや図形や文字から形成される。また、オブジェクトの色変更とは、オブジェクト対における色の組み合わせにおいて、色覚障害者の見え方を変更することなく、健常者にも見やすくなるよう、当該色の組み合わせを変更することである。ここで、オブジェクト対とは、境界が接する2つのオブジェクトの組をいう。例えば、隣接する2つのオブジェクトの組や、1のオブジェクトと当該オブジェクトに含まれる他のオブジェクトとからなる組が、これに相当する。
The
ディスプレイ11は、画像処理装置10により作成されたカラードキュメントや、色変更されたドキュメント、及びユーザに通知すべきメッセージ等を表示する。
画像形成装置20は、画像処理装置10により作成されたカラードキュメントや、色変更されたドキュメントなどのカラー印刷を行う。
1.2 画像処理装置10の構成
画像処理装置10は、図2にて示すように、記憶部100、ドキュメント生成部101、画像処理部102、第1出力部103、及び第2出力部104から構成されている。具体的には、マイクロプロセッサ、ROM、RAM、ハードディスクユニット、ディスプレイユニットなどから構成されるコンピュータシステムである。前記ROM又は前記ハードディスクユニットには、コンピュータプログラムが記憶されている。前記マイクロプロセッサは、前記コンピュータプログラムに従って動作することにより、画像処理装置10にその機能を達成させる。
The
The
1.2 Configuration of
(1)記憶部100
記憶部100は、ユーザ操作により指定された色変更の必要の無い色の組み合わせを1つ以上記憶するための領域を有している。
ここでは、色変更の必要の無い色の組み合わせとして、2つの色のRGB値を対にして記憶するものとする。
(1)
The
Here, it is assumed that the RGB values of the two colors are stored in pairs as color combinations that do not require color change.
また、本実施の形態では、RGBの階調度として0から255の値を用い、値が大きいほど、明度が低くなるものとする。
なお、記憶するデータはRGB値でなくてもよい。例えば、2色それぞれのLab値を対にして記憶してもよい。つまり、色変更の必要の無い色の組み合わせとして、2つの色を識別できる情報であればよい。
In the present embodiment, a value from 0 to 255 is used as the RGB gradation, and the larger the value, the lower the lightness.
Note that the data to be stored need not be RGB values. For example, the Lab values of the two colors may be stored in pairs. That is, any information that can identify two colors as a combination of colors that do not need to be changed may be used.
(2)ドキュメント生成部101
ドキュメント生成部101は、ユーザ操作によりカラードキュメントを生成する。
生成したカラードキュメントは第2出力部104を介してディスプレイ11へ出力される。このとき、ディスプレイ11にて、生成されたカラードキュメントが表示される。
ドキュメント生成部101が、ユーザ操作によりカラードキュメントの印刷の指示を受け付けると、画像処理の開始指示を画像処理部102へ出力する。
(2)
The
The generated color document is output to the
When the
また、画像処理部102から印刷の開始を指示する印刷開始指示を受け取ると、ドキュメント生成部101は、色変更が施されていない場合には生成したカラードキュメント、若しくは画像処理部102にて色変更が施された場合には色変更後のカラードキュメントを、第1出力部103を介して画像形成装置20へ出力する。なお、このとき、画像形成装置20にて、生成されたカラードキュメント(つまり、色変更がされていないカラードキュメント)若しくは色変更がなされたカラードキュメントがカラー印刷される。
When receiving a print start instruction for instructing start of printing from the
(具体例)
以下、ドキュメント生成部101にて生成されたカラードキュメントの一例について説明する。
通常、色覚障害者(ここでは、赤色と緑色の識別が困難な色覚障害者)は、背景色が青色で、その中の文字を黄色で作成したつもりが、実際には、背景色がマゼンタ色で、その中の文字を赤色で作成してしまう場合がある。この場合、作成した色覚障害者には、背景色が青色で、その中の文字が黄色に見えているが、健常者には、背景色がマゼンタ色で、その中の文字が赤色に見えてしまう。
(Concrete example)
Hereinafter, an example of a color document generated by the
Usually, people with color blindness (here, people with color blindness who are difficult to distinguish between red and green) intend to make the background color blue and the letters in it yellow, but actually the background color is magenta. In some cases, the characters inside are created in red. In this case, the created color-blind person has a blue background color and the characters in it appear yellow, but a healthy person has a magenta background color and the characters in it appear red. End up.
図3は、色覚障害者が、図形を示す領域の背景色が水色で、その中の文字を黄色で作成したつもりが、実際には、背景色がマゼンタ色で、その中の文字を赤色で作成してしまった場合の作成結果を示す一例である。ここでは、色覚障害者にて作成されたドキュメントには、図形を示す領域であるオブジェクト150、152と文字を示すオブジェクト「K」151、「M」153が含まれているものとする。オブジェクト150はマゼンタ色(色覚障害者には水色に見えている)であり、オブジェクト「K」151は赤色(色覚障害者には黄色に見えている)である。また、オブジェクト152は青色(色覚障害者にも青色に見えている)であり、オブジェクト「M」153は赤色(色覚障害者には黄色に見えている)である。
In FIG. 3, a person with color blindness intends to create a figure in which the background color is light blue and the characters in it are yellow, but actually the background color is magenta and the characters in it are red. It is an example which shows the creation result when it has created. Here, it is assumed that the document created by the color blind person includes
図4(a)及び(b)にて、色覚障害者及び健常者それぞれにおける見え方を示す。
図4(a)は、色覚障害者における見え方を示す。色覚障害者にとっては、オブジェクト150aは水色に見え、オブジェクト「K」151aは黄色に見えている。また、オブジェクト152aは青色に見え、オブジェクト「M」153aは黄色に見えている。
図4(b)は、健常者における見え方を示す。健常者にとっては、オブジェクト150bはマゼンタ色に見え、オブジェクト「K」151bは赤色に見えている。また、オブジェクト152bは青色に見え、オブジェクト「M」153bは赤色に見えている。
FIGS. 4A and 4B show how the color blind person and the healthy person see each other.
FIG. 4A shows how the color blind person sees. For a color blind person, the
FIG.4 (b) shows the view in a healthy person. For a healthy person, the
(3)画像処理部102
画像処理部102は、図2にて示すように、オブジェクト抽出部110、色情報分析部111及び色値変換部112を有しており、カラードキュメントに含まれるオブジェクト対における色の組み合わせが健常者にとって類似するものであり、且つ色覚障害者にとって非類似となるものである場合に、健常者にとって色の組み合わせが非類似になるように、オブジェクト対に含まれる1のオブジェクトの色変更を行う。
(3)
As shown in FIG. 2, the
以下、オブジェクト抽出部110、色情報分析部111及び色値変換部112の動作について、図3にて示すオブジェクト150、151、152、153と、図5、6にて示す流れ図とを用いて説明する。
オブジェクト抽出部110は、ドキュメント生成部101から画像処理の開始指示を受け取ると、ドキュメント生成部101にて生成されたカラードキュメントから、当該ドキュメントに含まれる全てのオブジェクト150、151、152、153を抽出する(ステップS5)。ここで、オブジェクトの抽出は、連結成分処理を用いて、隣接する画素値が同一であるか否かを調べることにより実現できる。なお、連結成分処理は、公知技術であるため、ここでの説明は省略する。
Hereinafter, the operations of the
When the
オブジェクト抽出部110は、未選択のオブジェクト対が存在するか否かを判断する(ステップS10)。
ここでは、未だオブジェクト対が選択されていないので、オブジェクト抽出部110は未選択のオブジェクト対が存在すると判断し(ステップS10における「YES」)、未選択のオブジェクト対のうち1のオブジェクト対(オブジェクト150とオブジェクト151)を選択する(ステップS15)。
The
Here, since the object pair has not yet been selected, the
オブジェクト抽出部110は、選択したオブジェクト対に含まれる2つのオブジェクト150、151で異なる色が利用されているか否かを判断する(ステップS20)。
オブジェクト150はマゼンタ色、オブジェクト151は赤色であるので、オブジェクト抽出部110はオブジェクト150とオブジェクト151とは異なる色が利用されていると判断し(ステップS20における「YES」)、オブジェクト対に含まれる2つのオブジェクト150、151それぞれのRGB値を色情報分析部111へ出力する。色情報分析部111は、オブジェクト抽出部110からオブジェクト対に含まれる2つのオブジェクト150、151それぞれのRGB値を受け取る。ここでは、マゼンタ色のオブジェクト150のRGB値は(255、0、255)であり、赤色のオブジェクト151のRGB値は(255、0、0)である。
The
Since the
なお、2つのオブジェクトに対して異なる色が利用されていないと判断する場合には(ステップS20における「NO」)、処理はステップS10へ戻る。
色値変換部112は、色情報分析部111が受け取った2つのRGB値のそれぞれをLab値へと変換する(ステップS25)。この場合、赤色のRGB(255、0、0)はLab(54、81、70)に変換され、マゼンタ色のRGB(255、0、255)はLab(60、93、−60)に変換される。
If it is determined that different colors are not used for the two objects (“NO” in step S20), the process returns to step S10.
The color
色情報分析部111は、オブジェクト150、151の色の組み合わせが色変更の不要な組み合わせとして、記憶部100にて記憶されているか否かを判断する(ステップS30)。
記憶されていない、つまり、色変更が不要な組み合わせでないと判断する場合(ステップS30における「NO」)、色情報分析部111は、色値変換部112が算出した2つのLab値((54、81、70)、(60、93、−60))を用いて、L値、a値及びb値それぞれの差分ΔL(=6)、Δa(=12)、Δb(=130)を算出する(ステップS35)。ここで、2つのLab値(例えば、(L1、a1、b1)、(L2、a2、b2))に対して、差分ΔL、Δa、Δbのそれぞれは、ΔL=|L1−L2|、Δa=|a1−a2|、Δb=|b1−b2|であり、|x−y|はx−yの減算結果の絶対値を示す。
The color
When it is determined that the combination is not stored, that is, the color change is not an unnecessary combination (“NO” in step S30), the color
なお、記憶されている、つまり色変更が不要な組み合わせであると判断する場合には(ステップS30における「YES」)、処理はステップS10へ戻る。
色情報分析部111は、ΔLが20以下であるか否かを判断する(ステップS40)。
この場合、ΔLはの値は6であるので、色情報分析部111は、20以下であると判断し(ステップS40における「YES」)、さらに、Δaが20以下であり、且つΔbが100以上であるか否かを判断する(ステップS45)。
If it is determined that the combination is stored, that is, the color change is unnecessary (“YES” in step S30), the process returns to step S10.
The color
In this case, since the value of ΔL is 6, the color
Δa及びΔbそれぞれの値は12、130であるので、判断結果は肯定的となり(ステップS45における「YES」)、色情報分析部111は、オブジェクト150、151のうちRGB値のB成分が多いオブジェクト、つまりB成分の明度が低いオブジェクト、つまりオブジェクト150を色変更オブジェクトの候補として選択する(ステップS50)。
Since the values of Δa and Δb are 12 and 130, respectively, the determination result is affirmative (“YES” in step S45), and the color
なお、ΔLの値が20以下でないと判断する場合(ステップS40における「NO」)、及びΔaとΔbとを用いた判断結果が否定的である場合には(ステップS45における「NO」)、処理はステップS10へ戻る。
また、色情報分析部111は、色の区別がしづらい色の組み合わせが選択されていることを示す警告メッセージM100を第2出力部104を介してディスプレイ11へ出力する(ステップS55)。このとき、ディスプレイ11では、例えば、図7にて示す警告メッセージM100が表示される。
If it is determined that the value of ΔL is not less than 20 (“NO” in step S40), and if the determination result using Δa and Δb is negative (“NO” in step S45), the processing Returns to step S10.
Further, the color
色情報分析部111は、警告メッセージM100が表示されているときにユーザ操作にて色変更を行わない指示又は色変更を行う指示の何れかを受け付け(ステップS60)、受け付けた指示が色変更を行う指示か否かを判断する(ステップS65)。
受け取った指示が色変更を行う指示でないと判断する場合、つまり図7にて示す警告メッセージM100において「いいえ」が選択された場合には(ステップS65における「NO」)、色情報分析部111は、色変更不要な組み合わせとして、オブジェクト対に含まれる2つのオブジェクトそれぞれのRGB値を対にして、記憶部100へ格納する(ステップS70)。
The color
When it is determined that the received instruction is not an instruction to change the color, that is, when “No” is selected in the warning message M100 shown in FIG. 7 (“NO” in Step S65), the color
受け取った指示が色変更を行う指示であると判断する場合、つまり図7にて示す警告メッセージM100において「はい」が選択された場合には(ステップS65における「YES」)、色情報分析部111は、選択したオブジェクトに対するLab値のうちa値を取得し(ステップS75)、取得したa値の絶対値が20以下、つまりa値が−20以上20以下であるか否かを判断する(ステップS80)。
When it is determined that the received instruction is an instruction to change the color, that is, when “Yes” is selected in the warning message M100 shown in FIG. 7 (“YES” in Step S65), the color
この場合、a値は93であるので、色情報分析部111は、a値が−20以上20以下でないと判断、つまりa値が−20より小さい又は20より大きいと判断し(ステップS80における「NO」)、a値の正負を反転させ、変更後のa値(−93)、つまり変更後のLab値(60、−93、−60)を取得する(ステップS85)。具体的には、色情報分析部111は、a値×(−1)の計算を行う。
In this case, since the a value is 93, the color
なお、a値が−20以上20以下であると判断する場合には(ステップS80における「YES」)、処理はステップS10に戻る。
色値変換部112は、色変更対象のオブジェクト150に対する変更後のLab値(60、−93、−60)をRGB値(0、138、253)へと変換する(ステップS90)。ここで、RGB値(0、138、253)が示す色は、水色である。
When it is determined that the a value is −20 or more and 20 or less (“YES” in step S80), the process returns to step S10.
The color
オブジェクト抽出部110は、オブジェクト150に対して、色値変更前のRGB値(255、0、255)を色値変更後のRGB値(0、138、253)へと変更して、オブジェクト150の色の更新を行う(ステップS95)。これにより、カラードキュメントは、変更対象のオブジェクト150の色がマゼンタ色から水色に変更された状態で表示され、処理はステップS10へ戻る。
The
以降の動作について簡単に説明する。
次に、オブジェクト抽出部110は、未選択のオブジェクト対が存在するので、ステップS15にて未選択のオブジェクト対として、水色に変換されたオブジェクトと、図3にて示すオブジェクト152との組を選択する。
選択された2つのオブジェクトそれぞれに対して異なる色が利用されているので、色値変換部112は、ステップS25にて2つのオブジェクトそれぞれの色(水色、青色)のRGB値をLab値に変換する。この場合、水色のオブジェクトのRGB(0、138、253)はLab(60、−93、−60)に変換され、青色のオブジェクト152のRGB(0、41、128)はLab(20、19、−53)に変換される。
The subsequent operation will be briefly described.
Next, since there is an unselected object pair, the
Since different colors are used for the two selected objects, the color
色情報分析部111は、水色のLab(60、−93、−60)と青色のLab(20、19、−53)とからΔL(=40)、Δa(=112)、Δb(=7)を算出し、ΔLと図5にて示すステップS40とにより、色覚障害者及び健常者とも水色に変換されたオブジェクトとオブジェクト152との色の組み合わせは見易いと判断して(ステップS40における「NO」)、色変更は行わず、ステップS10へ戻る。
The color
次に、オブジェクト抽出部110は、未選択のオブジェクト対が存在するので、ステップS15にて未選択のオブジェクト対として、オブジェクト152、153の組を選択する。
選択された2つのオブジェクトそれぞれに対して異なる色が利用されているので、色値変換部112は、ステップS25にてオブジェクト152、153それぞれの色(青色、赤色)のRGB値をLab値に変換する。この場合、青色のオブジェクト152のRGB(0、41、128)はLab(20、19、−53)に変換され、赤色のオブジェクト153のRGB(255、0、0)はLab(54、81、70)に変換される。
Next, since there are unselected object pairs, the
Since different colors are used for each of the two selected objects, the color
色情報分析部111は、青色のLab(20、19、−53)と赤色のLab(54、81、70)とからΔL(=34)、Δa(=62)、Δb(=123)を算出し、ΔLと図5にて示すステップS40とにより、色覚障害者及び健常者ともオブジェクト152とオブジェクト153との色の組み合わせは見易いと判断して(ステップS40における「NO」)、色変更は行わず、ステップS10に戻る。
The color
以上の動作により全てのオブジェクト対が選択されたので、オブジェクト抽出部110は、オブジェクト抽出部110は未選択のオブジェクト対は存在しないと判断し(ステップS10における「NO」)、処理を終了する。このとき、オブジェクト抽出部110は、印刷開始指示をドキュメント生成部101へ出力し、ドキュメント生成部101にて印刷が開始される。
Since all the object pairs have been selected by the above operation, the
ここで、処理終了後におけるオブジェクトの見え方を図8(a)及び(b)にて示す。
図8(a)は、色覚障害者における見え方を示す。色覚障害者にとっては、オブジェクト150cは水色に見え、オブジェクト「K」151cは黄色に見えている。また、オブジェクト152cは青色に見え、オブジェクト「M」153cは黄色に見えている。
図8(b)は、健常者における見え方を示す。健常者にとっては、オブジェクト150dは水色に見え、オブジェクト「K」151dは赤色に見えている。また、オブジェクト152dは青色に見え、オブジェクト「M」153dは赤色に見えている。
Here, FIGS. 8A and 8B show how the object looks after the processing is completed.
FIG. 8A shows how the color blind person sees. For a color blind person, the
FIG.8 (b) shows how it looks in a healthy person. For a healthy person, the
以上の処理を施すことにより、画像処理装置10は、オブジェクト150のマゼンタ色を水色に変換することにより、色覚障害者が作成したオブジェクト150、151、152、153を含むカラードキュメントは、色覚障害者の見え方を換えることなく、色覚障害者及び健常者の両者とも色の区別が可能となる。
(4)第1出力部103
第1出力部103は、ドキュメント生成部101から受け取ったデータ(ここでは、印刷対象のカラードキュメント)を画像形成装置20へ出力する。
By performing the above processing, the
(4)
The
(5)第2出力部104
第2出力部104は、ドキュメント生成部101及び色情報分析部111から受け取ったデータ(ここでは、表示対象のカラードキュメントや警告メッセージ)をディスプレイ11に出力する。
1.3 まとめ
本実施の形態において、色変更を行う際に、抽出した2つのオブジェクトのうちRGB表色系におけるB成分の多いオブジェクト、つまりB成分の明度が低いオブジェクトを選択している。これは、色覚障害者はBの色は判別できるので、B成分が大きいほど、つまりB成分の明度が低いほど、色覚障害者にとっては見易い色となっているからである。また、Lab値のうちa値を変更しても、B値の変化は大きくない。そこで、B成分の大きいオブジェクト(B成分の明度が低いオブジェクト)を色変更対象とすることにより、色覚障害者の見え方に対する影響度は小さくなる。なぜなら、B成分が小さいオブジェクト、つまりB成分の明度が高いオブジェクトを色変更対象とすると、a値の変更によりB成分がさらに小さく、つまりB成分の明度がさらに低くなり、色覚障害者にとっては、識別しづらい色になる可能性があるからである。
(5)
The
1.3 Summary In this embodiment, when performing color change, an object having a large B component in the RGB color system, that is, an object having a low B component brightness is selected from the two extracted objects. This is because a color blind person can discriminate the color of B, so that the larger the B component, that is, the lower the brightness of the B component, the easier it is for the color blind person to see. Moreover, even if the a value of the Lab value is changed, the change of the B value is not large. Therefore, by setting an object having a large B component (an object having a low brightness of the B component) as a color change target, the degree of influence on the appearance of the color blind person is reduced. Because, when an object having a small B component, that is, an object having a high brightness of the B component is set as a color change target, the B component is further reduced by changing the a value, that is, the brightness of the B component is further reduced. This is because the color may be difficult to identify.
また、a値は赤〜緑色における色相・彩度を示しているので、色覚障害者にとってはもともと識別しづらい色相である。そこで、本実施の形態のように、色変更を行う際に、a値の正負を反転させても、色覚障害者の見え方に影響を与えない。さらには、a値の正負を反転させることで、緑色の色相が高い色へと変更されるので、互いに類似しない色の組み合わせとすることができる。 Moreover, since the a value indicates the hue / saturation in red to green, it is a hue that is difficult to identify for the visually impaired. Therefore, as in the present embodiment, when the color change is performed, even if the sign of the a value is reversed, it does not affect the appearance of the color blind person. Furthermore, by reversing the sign of the a value, the color is changed to a color having a high green hue, so that it is possible to obtain a combination of colors that are not similar to each other.
また、色変更を行う条件として、ΔL及びΔaともに20以下であり、且つΔbが100以上であるとしている。通常、ΔL及びΔaともに20以下である場合には、健常者にとって、2つのオブジェクトが区別しづらい色の組み合わせになっている。なぜなら、L値及びa値それぞれは、色の明度及び赤〜緑色における色相・彩度を示しているので、ΔL及びΔaともに20以下である場合には、2つの色の明度及び赤〜緑色における色相・彩度が近いものとなるから、健常者には2つのオブジェクトが区別しづらい色の組み合わせになっている。このとき、色覚障害者にとっては、赤〜緑色における色相・彩度はもともと区別しづらい色であるので、2つのオブジェクトの区別に影響はない。また、Δbが100以上である場合には、色覚障害者にとって2つのオブジェクトが区別しやすい色の組み合わせになっている。なぜなら、色覚障害者は青色の識別はでき、黄〜青色における色相・彩度を示すb値の差分Δbが100以上である場合には2つの色の黄〜青色における色相・彩度は近いものではないので、色覚障害者には2つのオブジェクトに対しては青色の色相に基づいて区別できるものとなっている。 Further, as conditions for color change, both ΔL and Δa are 20 or less and Δb is 100 or more. Usually, when both ΔL and Δa are 20 or less, the color combination is difficult for the healthy person to distinguish the two objects. This is because the L value and the a value respectively indicate the lightness of the color and the hue / saturation in red to green. When both ΔL and Δa are 20 or less, the lightness of the two colors and in red to green Since the hue and saturation are close to each other, it is difficult for a healthy person to distinguish between two objects. At this time, the hue / saturation in red to green is a color that is originally difficult to distinguish for persons with color blindness, so there is no effect on the distinction between the two objects. Further, when Δb is 100 or more, the color combination is easy for the color blind person to distinguish the two objects. This is because a color blind person can distinguish blue, and when the difference Δb between b values indicating hue / saturation in yellow to blue is 100 or more, the hue / saturation in yellow to blue of the two colors is similar. Therefore, the color blind person can distinguish the two objects based on the blue hue.
そこで、ΔL及びΔaともに20以下であり、且つΔbが100以上であるという条件を満たす場合には、色覚障害者には区別しやすく、且つ健常者には区別しづらい色の組み合わせになっている。そのため、両者とも区別できる色の組み合わせとする必要があるからである。
1.4 変形例
なお、本発明を上記の実施の形態に基づいて説明してきたが、本発明は、上記の実施の形態に限定されないのはもちろんである。以下の場合も本発明に含まれる。
Therefore, when the condition that ΔL and Δa are both 20 or less and Δb is 100 or more, the color combination is easy to distinguish for the visually impaired and difficult to distinguish for the healthy person. . Therefore, it is necessary to make a combination of colors that can be distinguished from each other.
1.4 Modifications Although the present invention has been described based on the above-described embodiment, it is needless to say that the present invention is not limited to the above-described embodiment. The following cases are also included in the present invention.
(1)ドキュメント生成部101は、印刷の指示を受け取った際に、開始指示を画像処理部102へ出力したがこれに限定されない。
ドキュメント生成部101が開始指示を画像処理部102へ出力するタイミングは、作成中のカラードキュメントに含まれるオブジェクトの色を選択したときや、オブジェクトの配置を変更したとき、及びカラードキュメントの保存を選択したときであってもよい。
(1) When the
The timing at which the
(2)色情報分析部111は、警告メッセージを、ディスプレイ11を用いて表示する際に、色の組み合わせが健常者にとって見づらいものとなっているオブジェクト対に含まれる2つのオブジェクトを点滅表示させてもよい。これにより、どの色の組み合わせが対象であるかが分かりやすくなる。
また、色情報分析部111は、変更対象して選択したオブジェクトを点滅表示させてもよい。これによると、色の変更対象となるオブジェクトが分かりやすくなる。
(2) When displaying the warning message on the
Further, the color
(3)上記実施の形態にて示す画像処理は、画像形成装置20で行ってもよい。このとき、画像形成装置20は上記実施の形態にて示す記憶部100及び画像処理部102を備え、開始指示を受け取る代わりに、印刷対象のカラードキュメントを受け取ると画像処理を開始するようにすることで、画像形成装置20による画像処理が実現できる。
(4)上記実施の形態において、L値、a値、b値それぞれの差分を用いた判断(ステップS40及びS45)における基準値を20、20、100としたが、これらの値は一例であり、これに限定されない。例えば、L値、a値、b値それぞれの差分を用いた判断における基準値それぞれは、他の値(例えば、30、25、90)であってもよい。
(3) The image processing shown in the above embodiment may be performed by the
(4) In the above embodiment, the reference values in the determination using the differences between the L value, the a value, and the b value (steps S40 and S45) are 20, 20, and 100. However, these values are examples. However, the present invention is not limited to this. For example, each of the reference values in the determination using the difference between the L value, the a value, and the b value may be another value (for example, 30, 25, 90).
また、ステップS80における判断の基準値を20としたが、これらの値は一例であり、これに限定されない。ステップS80における判断の基準値は、値「0」の近傍であり、色覚障害者が識別可能な色を示すa値の範囲を示すものであればよい。このとき、当該基準値にて示される範囲内の値の正負を反転させてもRGB値が大きく変化しない。例えば、基準値を15として、a値が−15以上15以下であるか否かを判断してもよい。 Moreover, although the reference value for determination in step S80 is 20, these values are examples and are not limited thereto. The determination reference value in step S80 may be any value as long as it is in the vicinity of the value “0” and indicates the range of the a value indicating the color that can be identified by the color blind person. At this time, even if the value in the range indicated by the reference value is reversed, the RGB value does not change greatly. For example, assuming that the reference value is 15, it may be determined whether the a value is −15 or more and 15 or less.
また、ステップS45におけるΔaに対する基準値と、ステップS80における判断の基準値とは、同一であってもよいし、同一でなくてもよい。
(5)本発明において、カラードキュメントの概念には、文書作成ソフトウェアや表計算ソフトウェアにて生成された文書、図形、表、その他単一色からなる領域やこれらの組み合わせだけでなく、デジタルカメラやデジタルビデオカメラで撮影された画像若しくは当該画像に対して編集がなされた編集後の画像や、イメージスキャナーで読み込まれた画像若しくは当該画像に対して編集がなされた編集後の画像も含むものとする。
Further, the reference value for Δa in step S45 and the determination reference value in step S80 may or may not be the same.
(5) In the present invention, the concept of a color document includes not only documents, figures, tables, other single color areas generated by document creation software and spreadsheet software, and combinations of these, but also digital cameras and digital An image taken by a video camera or an edited image obtained by editing the image, an image read by an image scanner, or an edited image obtained by editing the image are also included.
(6)上記実施の形態において、RGBの階調度として0から255の値を用いるものとしたが、これに限定されない。階調度として他の値の範囲を用いてもよい。
また、値が大きいほど明度が低いとしたが、これに限定されない。値が大きいほど明度が高いとしてもよい。この場合、色情報分析部111は、Bの値が小さいオブジェクトを色変更対象のオブジェクトとして選択すればよい。
(6) In the above embodiment, a value from 0 to 255 is used as the RGB gradation, but the present invention is not limited to this. Another range of values may be used as the gradation.
In addition, although the brightness is lower as the value is larger, the present invention is not limited to this. The higher the value, the higher the brightness. In this case, the color
(7)上記実施の形態において、色変更を行う際に、a値の正負の反転によりa値を変更するとしたが、これに限定されない。
a値の変更方法は、健常者が2つのオブジェクトの色の区別できるような変更方法であればよい。例えば、a値の正負を反転し、さらに、反転後のa値に所定値を加算若しくは減算してもよい。または、a値に所定値を加算若しくは減算し、その後、正負の反転を行ってもよい。ここで、所定値とは、演算を施すことにより元のa値に近い値にならない、及び選択されていないオブジェクトのa値に近い値にならないような値である。
(7) In the above embodiment, when the color is changed, the a value is changed by reversing the positive or negative value of the a value. However, the present invention is not limited to this.
The change method of a value should just be a change method which a healthy person can distinguish the color of two objects. For example, the sign of the a value may be inverted, and a predetermined value may be added to or subtracted from the inverted a value. Alternatively, a predetermined value may be added to or subtracted from the a value, and then positive / negative inversion may be performed. Here, the predetermined value is a value that does not become a value close to the original a value by performing an operation, and does not become a value close to the a value of an unselected object.
(8)上記実施の形態において、画像処理装置は、a値の正負反転による色変更を行う直前に、選択したオブジェクトのa値が所定の範囲(ここでは、−20以上20以下の範囲)内に存在するか否かを判断したが、これに限定されない。
画像処理装置は、2つのオブジェクトそれぞれのLab値を取得してΔL、Δa、Δbを算出するまでの間に、2つのオブジェクトそれぞれのa値に対して、当該a値が所定の範囲(ここでは、−20以上20以下の範囲)内に存在するか否かを判断し、2つのa値とも所定の範囲内に存在しない場合に、ΔL、Δa、Δbを算出し、その後の動作を継続してもよい。
(8) In the above embodiment, the image processing apparatus allows the a value of the selected object to be within a predetermined range (here, a range of −20 or more and 20 or less) immediately before performing color change by positive / negative inversion of the a value. However, the present invention is not limited to this.
The image processing apparatus acquires a Lab value of each of the two objects and calculates ΔL, Δa, and Δb, and the a value is within a predetermined range (here, the a value of each of the two objects). , -20 or more and 20 or less), and if the two a values are not within the predetermined range, ΔL, Δa, Δb are calculated, and the subsequent operation is continued. May be.
この場合の動作の一例について、図5、6に記載の流れ図を用いて説明する。
画像処理装置10は、ステップS5からS30を実行する。
画像処理装置10の色情報分析部111は、色変更が不要な組み合わせであると判断する場合には(ステップS30における「YES」)、ステップS10へ戻る。
色変更が不要な組み合わせでないと判断する場合には(ステップS30における「NO」)、色情報分析部111は、2つのオブジェクトそれぞれのa値に対して、当該a値が所定の範囲(ここでは、−20以上20以下の範囲)内に存在するか否かを判断する。
An example of the operation in this case will be described with reference to the flowcharts shown in FIGS.
The
When the color
When it is determined that the color change is not an unnecessary combination (“NO” in step S30), the color
2つのa値とも所定の範囲内に存在しないと判断する場合には、色情報分析部111は、ステップS35以降を実行する。
少なくとも1つのa値が所定の範囲内に存在すると判断する場合には、ステップS10へ戻る。
(9)上記実施の形態における画像処理部は、ソフトウェアで実現してもよいし、ハードウェアで実現してもよい。
If it is determined that neither of the two a values is within the predetermined range, the color
If it is determined that at least one a value is within the predetermined range, the process returns to step S10.
(9) The image processing unit in the above embodiment may be realized by software or hardware.
(10)上記実施の形態において、カラーオブジェクトとは、単一色からなる領域としたが、これに限定されない。
カラーオブジェクトとは、同じ色に見える領域、言い換えると、基準となる色の値の画素を開始点として当該値との誤差が所定の範囲内(例えば、RGB値のそれぞれの値が−1以上1以下である範囲や−2以上2以下である範囲)である値の画素を連結した塊であるとしてもよい。
(10) In the above embodiment, the color object is an area composed of a single color, but is not limited to this.
A color object is an area that looks the same color, in other words, a pixel having a reference color value as a starting point, and an error from the value is within a predetermined range (for example, each RGB value is −1 or more and 1) It is good also as the lump which connected the pixel of the value which is the range which is below, or the range which is -2 or more and 2 or less.
(11)本発明は、上記に示す方法であるとしてもよい。また、これらの方法をコンピュータにより実現するコンピュータプログラムであるとしてもよいし、前記コンピュータプログラムからなるデジタル信号であるとしてもよい。
また、本発明は、前記コンピュータプログラム又は前記デジタル信号をコンピュータ読み取り可能な記録媒体、例えば、フレキシブルディスク、ハードディスク、CD―ROM、MO、DVD、DVD−ROM、DVD−RAM、BD(Blu−ray Disc)、半導体メモリなど、に記録したものとしてもよい。また、これらの記録媒体に記録されている前記コンピュータプログラム又は前記デジタル信号であるとしてもよい。
(11) The present invention may be the method described above. Further, the present invention may be a computer program that realizes these methods by a computer, or may be a digital signal composed of the computer program.
The present invention also provides a computer-readable recording medium such as a flexible disk, hard disk, CD-ROM, MO, DVD, DVD-ROM, DVD-RAM, BD (Blu-ray Disc). ), Recorded in a semiconductor memory or the like. Further, the present invention may be the computer program or the digital signal recorded on these recording media.
また、本発明は、前記コンピュータプログラム又は前記デジタル信号を、電気通信回線、無線又は有線通信回線、インターネットを代表とするネットワーク等を経由して伝送するものとしてもよい。
また、本発明は、マイクロプロセッサとメモリとを備えたコンピュータシステムであって、前記メモリは、上記コンピュータプログラムを記憶しており、前記マイクロプロセッサは、前記コンピュータプログラムに従って動作するとしてもよい。
In the present invention, the computer program or the digital signal may be transmitted via an electric communication line, a wireless or wired communication line, a network represented by the Internet, or the like.
The present invention may be a computer system including a microprocessor and a memory, wherein the memory stores the computer program, and the microprocessor operates according to the computer program.
また、前記プログラム又は前記デジタル信号を前記記録媒体に記録して移送することにより、又は前記プログラム又は前記デジタル信号を前記ネットワーク等を経由して移送することにより、独立した他のコンピュータシステムにより実施するとしてもよい。
(12)上記実施の形態及び上記変形例をそれぞれ組み合わせるとしてもよい。
1.5 その他
本発明には含まれないが、オブジェクト対の色変更について、上記実施の形態にて示すLab値の代わりに、XYZ表色系における3成分値からなるXYZ値を用いて、色の組み合わせが健常者にとって見易いものであるか否かを判断してもよい。
In addition, the program or the digital signal is recorded on the recording medium and transferred, or the program or the digital signal is transferred via the network or the like, and is executed by another independent computer system. It is good.
(12) The above embodiment and the above modifications may be combined.
1.5 Others Although not included in the present invention, for color change of an object pair, instead of the Lab value shown in the above embodiment, an XYZ value composed of three component values in the XYZ color system is used to change the color. It may be determined whether or not the combination is easy to see for a healthy person.
本発明は、画像処理装置を製造及び販売する産業において、経営的、つまり反復的かつ継続的に利用されうる。 The present invention can be used in business, that is, repetitively and continuously in an industry for manufacturing and selling image processing apparatuses.
1 画像処理システム
10 画像処理装置
11 ディスプレイ
20 画像形成装置
100 記憶部
101 ドキュメント生成部
102 画像処理部
103 第1出力部
104 第2出力部
110 オブジェクト抽出部
111 色情報分析部
112 色値変換部
DESCRIPTION OF SYMBOLS 1
Claims (10)
抽出した2つのオブジェクトの色それぞれに対するLab表色系における各成分値であるLab値を取得する取得手段と、
抽出された前記2つのオブジェクトに利用されている色が健常者にとって類似する色の組み合わせであり、且つ色覚障害者にとっては非類似に見える色の組み合わせであるか否かを、前記取得手段にて得られた2つのLab値に基づいて判断する判断手段と、
前記判断手段の判断結果が肯定的である場合には、前記2つのオブジェクトの中からRGB表色系における青色成分の明度が低いオブジェクトを選択する選択手段と、
健常者にとって前記2つのオブジェクトの色の組み合わせが非類似になるように前記選択手段にて選択された1のオブジェクトに対するLab値のうちa値を変更し、変更されたLab値を生成する値変更手段と、
前記選択されたオブジェクトの色を、前記変更されたLab値にて示される色へと変更する色変更手段と
を備えることを特徴とする画像処理装置。 An extraction means for extracting two objects that contact each other from a color document;
Acquisition means for acquiring Lab values, which are component values in the Lab color system for the colors of the two extracted objects;
Whether the color used for the extracted two objects is a combination of colors similar to a healthy person and a combination of colors that looks dissimilar to a color blind person in the acquisition means A judging means for judging based on the obtained two Lab values;
If the determination result of the determination means is affirmative, a selection means for selecting an object having a low lightness of a blue component in the RGB color system from the two objects;
A value change for generating a changed Lab value by changing the a value among the Lab values for one object selected by the selection means so that the combination of the colors of the two objects becomes dissimilar for a healthy person Means,
An image processing apparatus comprising: a color changing unit that changes a color of the selected object to a color indicated by the changed Lab value.
前記a値の正負を反転させることで、前記a値を変更する
ことを特徴とする請求項1に記載の画像処理装置。 The value changing means is
The image processing apparatus according to claim 1, wherein the a value is changed by inverting the sign of the a value.
前記a値の変更に先立って、前記a値が所定の範囲内であるか否かを判断し、所定の範囲内でないと判断する場合に前記a値を変更する
ことを特徴とする請求項1に記載の画像処理装置。 The value changing means is
Prior to the change of the a value, it is determined whether or not the a value is within a predetermined range, and when it is determined that the a value is not within the predetermined range, the a value is changed. An image processing apparatus according to 1.
ことを示す請求項3に記載の画像処理装置。 The image processing apparatus according to claim 3, wherein the predetermined range is a collection of values that are in the vicinity of a value of 0 and that indicate an a value for a color that can be identified by a color blind person.
前記2つのLab値から、L値、a値及びb値それぞれの差分を算出する算出部と、
算出したL値の差分が第1の判断値以下であるか否かを判断する第1の判断部と、
前記第1の判断値以下であると判断する場合、a値の差分が第2の判断値以下であり、且つb値の差分が第3の判断値以上であるか否かを判断する第2の判断部とを備え、
前記判断手段は、前記第2の判断部による判断結果が肯定的である場合に、抽出された前記2つのオブジェクトに利用されている色が健常者にとって類似する色の組み合わせであり、且つ色覚障害者にとっては非類似に見える色の組み合わせであると判断する
ことを特徴とする請求項1に記載の画像処理装置。 The determination means includes
A calculating unit for calculating a difference between the L value, the a value, and the b value from the two Lab values;
A first determination unit that determines whether or not the calculated difference between the L values is equal to or less than a first determination value;
When determining that the difference is less than or equal to the first determination value, a second determination is made as to whether or not the difference between the a values is less than or equal to the second determination value and the difference between the b values is greater than or equal to the third determination value And a determination unit
When the determination result by the second determination unit is affirmative, the determination means is a combination of colors used by the extracted two objects that are similar to those of a healthy person, and color blindness The image processing apparatus according to claim 1, wherein the image processing apparatus determines that the color combination looks dissimilar to a person.
色変更が不要である色の組み合わせを記憶する記憶手段と、
前記判断手段による判断に先立って、前記抽出した2つのオブジェクトの色の組み合わせが、前記記憶手段に記憶されているか否かを判断し、記憶されていないと判断する場合には前記判断手段による判断を行うよう制御し、記憶されていると判断する場合には前記判断手段による判断を行わないよう制御する判断制御手段を備える
ことを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus further includes:
Storage means for storing color combinations that do not require color change;
Prior to the determination by the determination means, it is determined whether or not the color combination of the two extracted objects is stored in the storage means. If it is determined that the combination is not stored, the determination by the determination means is performed. 2. The image processing apparatus according to claim 1, further comprising a determination control unit that performs control so that the determination is not performed by the determination unit when it is determined to be stored.
前記値変更手段によるLab値の変更に先立って、抽出された前記2つのオブジェクトに利用されている色が健常者にとっては類似する色の組み合わせであり、且つ色覚障害者にとっては非類似に見える色の組み合わせである場合に、健常者にとって類似する色の組み合わせが利用されている旨のメッセージを出力するするメッセージ出力手段と、
前記メッセージの出力後、色変更を行うか否かの指示を受け付け、受け付けた指示が色変更を行う旨である場合には前記値変更手段の動作を開始するよう制御し、受け付けた指示が色変更を行わない旨である場合には抽出手段にて抽出された前記2つのオブジェクトそれぞれに利用された色の組み合わせを前記記憶手段に格納する値変更制御手段と
を備えることを特徴とする請求項6に記載の画像処理装置。 The image processing apparatus further includes:
Prior to the change of the Lab value by the value changing means, the colors used for the extracted two objects are a combination of colors that are similar for the healthy person and appear dissimilar to the color blind person A message output means for outputting a message indicating that a color combination similar to that for a healthy person is used,
After outputting the message, an instruction is received to determine whether or not to change the color. If the received instruction is to change the color, control is performed to start the operation of the value changing unit. A value change control means for storing, in the storage means, a combination of colors used for each of the two objects extracted by the extraction means when it is determined that no change is to be made. 6. The image processing apparatus according to 6.
カラードキュメントを印刷する画像形成装置に具備され、
前記カラードキュメントの印刷時に動作する
ことを特徴とする請求項1に記載の画像形成装置。 The image processing apparatus includes:
Provided in an image forming apparatus for printing a color document,
The image forming apparatus according to claim 1, wherein the image forming apparatus operates when the color document is printed.
カラードキュメントから、境界が接する2つのオブジェクトを抽出する抽出ステップと、
抽出した2つのオブジェクトの色それぞれに対するLab表色系における各成分値であるLab値を取得する取得ステップと、
抽出された前記2つのオブジェクトに利用されている色が健常者にとって類似する色の組み合わせであり、且つ色覚障害者にとっては非類似に見える色の組み合わせであるか否かを、前記取得手段にて得られた2つのLab値に基づいて判断する判断ステップと、
前記判断ステップの判断結果が肯定的である場合には、前記2つのオブジェクトの中からRGB表色系における青色成分の明度が低いオブジェクトを選択する選択ステップと、
健常者にとって前記2つのオブジェクトの色の組み合わせが非類似になるように前記選択手段にて選択された1のオブジェクトに対するLab値のうちa値を変更し、変更されたLab値を生成する値変更ステップと、
前記選択されたオブジェクトの色を、前記変更されたLab値にて示される色へと変更する色変更ステップと
を含むことを特徴とする画像処理方法。 An image processing method used in an image processing apparatus,
An extraction step for extracting two objects that contact each other from a color document;
An acquisition step of acquiring Lab values that are component values in the Lab color system for the colors of the two extracted objects;
Whether the color used for the extracted two objects is a combination of colors similar to a healthy person and a combination of colors that looks dissimilar to a color blind person in the acquisition means A determination step of determining based on the two obtained Lab values;
If the determination result of the determination step is affirmative, a selection step of selecting an object having a low lightness of a blue component in the RGB color system from the two objects;
A value change for generating a changed Lab value by changing the a value among the Lab values for one object selected by the selection means so that the combination of the colors of the two objects becomes dissimilar for a healthy person Steps,
And a color changing step of changing the color of the selected object to a color indicated by the changed Lab value.
コンピュータに、
カラードキュメントから、境界が接する2つのオブジェクトを抽出する抽出ステップと、
抽出した2つのオブジェクトの色それぞれに対するLab表色系における各成分値であるLab値を取得する取得ステップと、
抽出された前記2つのオブジェクトに利用されている色が健常者にとって類似する色の組み合わせであり、且つ色覚障害者にとっては非類似に見える色の組み合わせであるか否かを、前記取得手段にて得られた2つのLab値に基づいて判断する判断ステップと、
前記判断ステップの判断結果が肯定的である場合には、前記2つのオブジェクトの中からRGB表色系における青色成分の明度が低いオブジェクトを選択する選択ステップと、
健常者にとって前記2つのオブジェクトの色の組み合わせが非類似になるように前記選択手段にて選択された1のオブジェクトに対するLab値のうちa値を変更し、変更されたLab値を生成する値変更ステップと、
前記選択されたオブジェクトの色を、前記変更されたLab値にて示される色へと変更する色変更ステップと
を実行させるための画像処理プログラム。 An image processing program used in an image processing apparatus,
On the computer,
An extraction step for extracting two objects that contact each other from a color document;
An acquisition step of acquiring Lab values that are component values in the Lab color system for the colors of the two extracted objects;
Whether the color used for the extracted two objects is a combination of colors similar to a healthy person and a combination of colors that looks dissimilar to a color blind person in the acquisition means A determination step of determining based on the two obtained Lab values;
If the determination result of the determination step is affirmative, a selection step of selecting an object having a low lightness of a blue component in the RGB color system from the two objects;
A value change for generating a changed Lab value by changing the a value among the Lab values for one object selected by the selection means so that the combination of the colors of the two objects becomes dissimilar for a healthy person Steps,
An image processing program for executing a color changing step of changing the color of the selected object to a color indicated by the changed Lab value.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008158749A JP4973607B2 (en) | 2008-06-18 | 2008-06-18 | Image processing apparatus, method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008158749A JP4973607B2 (en) | 2008-06-18 | 2008-06-18 | Image processing apparatus, method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010004101A JP2010004101A (en) | 2010-01-07 |
| JP4973607B2 true JP4973607B2 (en) | 2012-07-11 |
Family
ID=41585485
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008158749A Active JP4973607B2 (en) | 2008-06-18 | 2008-06-18 | Image processing apparatus, method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4973607B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5526170B2 (en) * | 2012-02-29 | 2014-06-18 | 京セラドキュメントソリューションズ株式会社 | Color arrangement change image forming apparatus and color arrangement restoration image forming apparatus |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0682385B2 (en) * | 1987-05-15 | 1994-10-19 | 日本放送協会 | Color vision converter |
| JP4724887B2 (en) * | 2006-03-31 | 2011-07-13 | 独立行政法人産業技術総合研究所 | Color correction program for universal design of visual information |
-
2008
- 2008-06-18 JP JP2008158749A patent/JP4973607B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010004101A (en) | 2010-01-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5230705B2 (en) | Image processing device | |
| JP2007082145A (en) | Image processing apparatus, image processing method, and program | |
| US8830546B2 (en) | Apparatus and method determining whether object specified to enable an underlying object to be seen there through is included in data to be printed, and medium having instructions for performing the method | |
| JP4853560B2 (en) | Image processing method, image processing apparatus, and computer program | |
| JP4591211B2 (en) | Image processing apparatus, image processing method, medium, code reading apparatus, and program | |
| JP4973607B2 (en) | Image processing apparatus, method, and program | |
| JP2009296545A (en) | Image processing apparatus and method | |
| JP4905015B2 (en) | Image processing device | |
| CN110536043B (en) | Information processing apparatus, information processing method, and storage medium | |
| US9489603B2 (en) | Image processing apparatus, image processing method, and storage medium that determine whether a white character exists inside a graphics object and convert density information accordingly | |
| JP2011166558A (en) | Image processing apparatus, image printing system, image processing method and program | |
| JP2006203281A (en) | Patch color comparison device, patch color comparison program, and patch color comparison system | |
| US10250777B2 (en) | Image processing apparatus and non-transitory computer readable medium for image difference confirmation | |
| US10088997B2 (en) | Apparatus for generating data, method for generating data, and non-transitory computer-readable medium | |
| CN105657214B (en) | Image processing device and image processing method | |
| US20160048099A1 (en) | Image processing apparatus, image processing method, and storage medium | |
| JP4983955B2 (en) | Image processing apparatus and image processing program | |
| JP4453979B2 (en) | Image reproducing apparatus, image reproducing method, program, and recording medium | |
| JP2010062921A (en) | Image processing apparatus and method, program, and recording medium | |
| JP2007301857A (en) | Printing apparatus, printing apparatus control program, printing apparatus control method, printing data generation apparatus, printing data generation program, and printing data generation method | |
| JP2008084159A (en) | Document editing apparatus, program, and storage medium | |
| JP4476172B2 (en) | Image processing apparatus, image processing method, image processing program, and recording medium | |
| JP2008141724A (en) | Image processing apparatus, image reproducing system, and image processing program | |
| JP2012245707A (en) | Apparatus, method, and program for image processing | |
| JP2009218928A (en) | Image processing apparatus, image processing method, image processing program and image processing storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110121 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120308 |
|
| 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: 20120313 |
|
| 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: 20120326 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4973607 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150420 Year of fee payment: 3 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |