JP5337498B2 - Color correction processing apparatus, color correction processing method, color correction processing program, and computer-readable medium storing the program - Google Patents
Color correction processing apparatus, color correction processing method, color correction processing program, and computer-readable medium storing the program Download PDFInfo
- Publication number
- JP5337498B2 JP5337498B2 JP2009004586A JP2009004586A JP5337498B2 JP 5337498 B2 JP5337498 B2 JP 5337498B2 JP 2009004586 A JP2009004586 A JP 2009004586A JP 2009004586 A JP2009004586 A JP 2009004586A JP 5337498 B2 JP5337498 B2 JP 5337498B2
- Authority
- JP
- Japan
- Prior art keywords
- color correction
- correction processing
- brightness
- color
- green
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
- Image Processing (AREA)
Description
本発明は、色彩画像データに所定の色補正を施す色補正処理装置、色補正処理方法、色補正処理プログラム、並びに該プログラムを格納したコンピュータ可読媒体に関する。より詳細には、本発明は、色覚障害者が正確に色認識できるよう色補正を行う色補正処理装置、色補正処理方法、色補正処理プログラム、並びに該プログラムを格納したコンピュータ可読媒体に関する。 The present invention relates to a color correction processing apparatus that performs predetermined color correction on color image data, a color correction processing method, a color correction processing program, and a computer-readable medium storing the program. More specifically, the present invention relates to a color correction processing apparatus, a color correction processing method, a color correction processing program, and a computer-readable medium storing the program for performing color correction so that a color blind person can accurately recognize colors.
「色覚障害」とは、目の網膜に存在する、色を感じる錐体細胞の欠損や不完全によって色の認識および識別が正しくできないことである。この色覚障害は、障害を有する錐体細胞の種類により1型ないし3型に分類される。以下、これらの障害内容について順に説明する。
“Color blindness” means that color recognition and identification cannot be performed correctly due to the lack or incompleteness of color-sensitive pyramidal cells present in the retina of the eye. This color vision disorder is classified into
1型は、主に赤色を認識するL錐体細胞の障害により赤色を認識することが困難な色覚障害を示す。2型は、主に緑色を認識するM錐体細胞の障害により緑色を認識することが困難な色覚障害を示す。1型および2型は、色覚障害の中で最も多くを占め、2009年1月の時点で日本人では男性の20人に1人、女性の500人に1人に相当すると言われている。
3型色覚障害は、主に青色を認識するS錐体細胞の障害により生ずるものであるが、先天的にこの障害が発生することは稀であり、また、日常生活においてさほど不便は感じない。 Type 3 color blindness is mainly caused by S pyramidal cells recognizing blue, but it is rare that this disorder occurs congenitally and does not feel much inconvenience in daily life.
これらの色覚障害を有する人達(以下、「色覚障害者」と称する)は特定の色が同じように見えてしまい、これらの色が隣接するとこれらの区分けが困難となる。例えば、1型および2型色覚障害者の場合、赤色と緑色が隣接するとそれらを混同してしまう。そのため、緑の葉と紅葉、カレンダーの平日と祝祭日、肉の焼けた部分と生の部分などの区別ができずに生活に支障をきたす場合がある。さらに、1型色覚障害者は暗い赤色と黒との判別も難しく、赤色に対する彩度の変化も正常に識別できない。
People with these color vision impairments (hereinafter referred to as “color vision impaired people”) appear to have the same specific color, and when these colors are adjacent, it becomes difficult to distinguish them. For example, in the case of
上述のような色覚障害者の不都合を解決するための手段として、特許文献1が開示する技術が挙げられる。当該技術では、見分けにくい色のグレースケール画像を作成し、その画像と元画像とを交互にフラッシュ表示させることでこれらの色を識別できるようにしている。
しかし、特許文献1の技術では、元画像とグレースケール画像や淡色のグラディエーション画像とが交互に表示されるため非常に不自然な画像となってしまう。さらに、1型および2型色覚障害者が認識し難い赤と緑の混同色は見分けやすいが、他の色同士、例えば赤と黒の境界などは見分けにくくなる。また、当該技術では色相のみを対象としており、その他の色の要素、例えば明度、彩度などは考慮していない。したがって、上述の不都合を完全に解決しているとは言い難い。
However, in the technique of
本発明は上記の事情に鑑みて創案されたものであり、本発明の課題は、1型および2型の色覚障害者が赤、緑、それらの混同色を識別し易くするために色彩画像に所定の色補正を施す色補正処理装置、色補正処理方法、色補正処理プログラム、並びに該プログラムを格納したコンピュータ可読媒体を提供することである。
The present invention was devised in view of the above circumstances, and an object of the present invention is to provide a color image to make it easier for color blind persons of
本発明の別の課題は、1型の色覚障害者による赤色の彩度の認識を容易にするための色補正処理装置、色補正処理方法、色補正処理プログラム、並びに該プログラムを格納したコンピュータ可読媒体を提供することである。
Another object of the present invention is to provide a color correction processing device, a color correction processing method, a color correction processing program, and a computer-readable computer storing the program for facilitating recognition of red saturation by a
前記課題を解決するために創案された請求項1の発明は、色彩画像データに所定の色補正を施す色補正処理装置であって、前記色彩画像データを構成する画素であって、そのRレベルがGレベルより大きい画素で構成された赤色部分の明度と、前記色彩画像データを構成する画素であって、そのGレベルがRレベルより大きい画素で構成された緑色部分の明度とを、それぞれ異なる周期で変化させることを特徴とする色補正処理装置である。
The invention of
前記課題を解決するために創案された請求項2の発明は、請求項1に記載の色補正処理装置において、前記赤色部分および前記緑色部分の明度は変化範囲内において変化し、それらの変化範囲は、それぞれ、前記赤色部分および前記緑色部分の色相に応じて変更されることを特徴とする。
The invention of claim 2 which is made to solve the above problems, the color correction processing apparatus according to
前記課題を解決するために創案された請求項3の発明は、請求項1または2に記載の色補正処理装置において、前記赤色部分および前記緑色部分の明度は変化範囲内において変化し、それらの変化範囲は、それぞれ、前記赤色部分および前記緑色部分の彩度に応じて変更されることを特徴とする。
Invention of Claim 3 created in order to solve the said subject WHEREIN: The color correction processing apparatus of
前記課題を解決するために創案された請求項4の発明は、請求項1ないし3の何れか一項に記載の色補正処理装置において、前記赤色部分および前記緑色部分の明度がそれぞれ異なる周期で段階的に変化することを特徴とする。
Invention of Claim 4 created in order to solve the said subject is a color correction processing apparatus as described in any one of
前記課題を解決するために創案された請求項5の発明は、請求項4に記載の色補正処理装置において、前記赤色部分および前記緑色部分の明度が、それぞれ異なる周期で二段階で変化することを特徴とする。 Invention of Claim 5 created in order to solve the said subject WHEREIN: The color correction processing apparatus of Claim 4 WHEREIN: The brightness of the said red part and the said green part changes in two steps with a respectively different period. It is characterized by.
前記課題を解決するために創案された請求項6の発明は、色彩画像データに色補正を施す色補正処理方法であって、前記色彩画像データを構成する画素のそれぞれについて、そのRレベルとGレベルとを比較し、Rレベルの方が大きい画素を赤色部分とし、Gレベルの方が大きい画素を緑色部分として識別する色識別段階と、前記識別した前記赤色部分の明度と前記緑色部分の明度とをそれぞれ異なる周期で変化させる明度変化段階と、を含むことを特徴とする色補正処理方法である。
The invention of
前記課題を解決するために創案された請求項7の発明は、請求項6に記載の色補正処理方法において、前記赤色部分および前記緑色部分の明度は変化範囲内において変化し、それらの変化範囲は、それぞれ、前記赤色部分および前記緑色部分の色相に応じて変更されることを特徴とする。
Invention of Claim 7 created in order to solve the said subject WHEREIN: The color correction processing method of
前記課題を解決するために創案された請求項8の発明は、請求項6または7に記載の色補正処理方法において、前記赤色部分および前記緑色部分の明度は変化範囲内において変化し、それらの変化範囲は、それぞれ、前記赤色部分および前記緑色部分の彩度に応じて変更されることを特徴とする。
Invention of Claim 8 created in order to solve the said subject is the color correction processing method of
前記課題を解決するために創案された請求項9の発明は、請求項6ないし8に記載の色補正処理方法において、前記明度変化段階で前記赤色部分と前記緑色部分の明度をそれぞれ異なる周期で段階的に変化させることを特徴とする。
Invention of Claim 9 created in order to solve the said subject WHEREIN: The color correction processing method of
前記課題を解決するために創案された請求項10の発明は、請求項9に記載の色補正処理方法において、前記赤色部分と前記緑色部分の明度をそれぞれ異なる周期で二段階で変化させることを特徴とする。
Invention of
前記課題を解決するために創案された請求項11の発明は、請求項6ないし10の何れか一項に記載の色補正処理方法をコンピュータに実行させることを特徴とするプログラムである。
The invention of claim 11 created to solve the above problem is a program that causes a computer to execute the color correction processing method according to any one of
前記課題を解決するために創案された請求項12の発明は、請求項11に記載のプログラムを格納したコンピュータ可読媒体である。 Invention of Claim 12 created in order to solve the said subject is a computer-readable medium which stored the program of Claim 11 .
前記課題を解決するために創案された請求項13の発明は、請求項6ないし10の何れか一項に記載の色補正処理方法を行う電子回路である。 A thirteenth aspect of the invention, which was created to solve the above problem, is an electronic circuit that performs the color correction processing method according to any one of the sixth to tenth aspects.
前記課題を解決するために創案された請求項14の発明は、請求項13に記載の電子回路を格納した表示装置である。 The invention of claim 14 , which was created to solve the above-mentioned problems, is a display device storing the electronic circuit according to claim 13 .
1型および2型色覚障害者によって認識し難い色は、赤色、緑色、およびこれらの混合色である。したがって、請求項1および請求項6の発明では、元色彩画像の中の赤色部分と緑色部分とを選択的に補正している。1型および2型色覚障害者は予め補正条件がわかっていれば、明度の変化の態様によって画像中の色彩状況を正確に把握することができる。また、色補正を元色彩画像の画素単位で行うことにより、詳細かつ高精度な色補正を提供する。
Colors that are difficult to recognize by
請求項2および請求項7の発明では、例えば、赤色部分においては、そのRレベルがGレベルより大きいほど、すなわち色相が赤に近づくほど、明度の変化量が大きくなる。一方、緑色部分においては、色相が緑に近づくほど、明度の変化量が大きくなる。したがって、1型および2型の色覚障害者は、明度の変化の度合いに基づいて画像中の赤色部分および緑色部分の色相の違いを認識することができる。すなわち、色に関する属性である「明度」を変化させることで、他の属性の「色相」の違いも併せて認識可能としている。
In the second and seventh aspects of the invention, for example, in the red portion, as the R level is higher than the G level, that is, as the hue approaches red, the amount of change in brightness increases. On the other hand, in the green portion, the amount of change in brightness increases as the hue approaches green. Therefore, the
請求項3および請求項8の発明では、赤色部分および緑色部分の明度がその彩度に応じて変化する。そのため、1型および2型の色覚障害者が明度の変化の度合いを基に色の彩度の違いを認識することができる。すなわち、色に関する属性である「明度」を変化させることで、他の属性の「彩度」の違いも併せて認識可能としている。
In the inventions of claims 3 and 8 , the lightness of the red portion and the green portion changes according to the saturation. Therefore, the
請求項4および請求項9の発明では、赤色部分および緑色部分の明度を段階的に変化させている。この段階数を増やすほど明度は徐々に変化するため、より自然に見える。一方、段階数を減らせば演算するデータ量が減り、装置への負荷が軽減される。したがって、明度の変化の態様と装置への負荷状況とを考慮して、明度の変化の段階数が設定されることが好ましい。 In the inventions according to claims 4 and 9 , the brightness of the red part and the green part is changed stepwise. As the number of steps increases, the brightness changes gradually, so it looks more natural. On the other hand, if the number of steps is reduced, the amount of data to be calculated is reduced and the load on the apparatus is reduced. Therefore, it is preferable to set the number of stages of lightness change in consideration of the aspect of lightness change and the load on the apparatus.
請求項5および請求項10の発明では、赤色部分および緑色部分の明度を2段階で変化させている。したがって、装置への負荷が少なく、演算能力の低い処理装置で本発明を実施することができる。
In the invention of claim 5 and
請求項11ないし請求項14の発明は、本発明の色補正をそれぞれプログラム、コンピュータ可読媒体、電子回路、表示装置の形態で提供する。 The invention of claim 11 through claim 14 provides a color correction of the present invention programs are a computer readable medium, an electronic circuit, in the form of a display device.
本発明によって、1型および2型の色覚障害者が赤、緑、それらの混同色を識別し易くするための色補正処理装置、色補正処理方法、色補正処理プログラム、並びに該プログラムを格納したコンピュータ可読媒体を提供することが可能となる。さらに、1型の色覚障害者による赤色の彩度の認識を容易にするための色補正処理装置、色補正処理方法、色補正処理プログラム、並びに該プログラムを格納したコンピュータ可読媒体を提供することも可能となる。
According to the present invention, a color correction processing device, a color correction processing method, a color correction processing program, and the program for facilitating identification of red, green, and their confusion colors by persons with
本発明の一実施形態に係る色補正処理装置は、1型および2型色覚障害者が適切に色の認識ができるように元色彩画像に色補正を行う装置である。具体的な補正方法は、1型および2型色覚障害者が認識し難い赤色および緑色の部分の明度をそれぞれ異なる周期で変化させる。周期は任意の値に設定可能であるが、双方の周期の差が大きいほどより好適に違いを認識可能となる。本実施形態では赤色部分の明度切換周期を0.5秒に、そして緑色部分の明度切換周期を0.1秒に設定する。
以下に添付の図面を参照して本発明の一実施形態に係る色補正処理装置の機能について説明する。
A color correction processing apparatus according to an embodiment of the present invention is an apparatus that performs color correction on an original color image so that persons with
Hereinafter, functions of a color correction processing apparatus according to an embodiment of the present invention will be described with reference to the accompanying drawings.
図1は、本発明の一実施形態に係る色補正処理装置1000の機能ブロック図である。この色補正処理装置1000に所定のデジタル形式の元色彩画像のデータを入力すると、色補正が施された色彩画像のデータが出力される。当該色補正処理装置1000は、機能要素として色彩処理部10と、フレーム画像生成/格納部20と、画像出力部30とを備える。以下、それぞれの機能要素について詳細に説明する。
FIG. 1 is a functional block diagram of a color
[色彩処理部]
色彩処理部10は、元色彩画像の色補正に関する演算を画素単位で行う機能を有し、R/Gレベル比較部110と、明度演算部120とを備える。
[Color processing section]
The
R/Gレベル比較部110は、元色彩画像(例えば、図2(a)に示す画像)のデータを受け取ると、その画像を構成する各画素における色(R、G、B)レベルを求め、そのうちRレベルとGレベルとを比較する。なお、ここで各色成分のレベルは所定ビットの数値で表され、例えば8ビットで表現している場合には0〜255の範囲の数値となる。したがって、R/Gレベル比較部110はR成分とG成分におけるこれら数値(レベル)を比較する。比較した結果、R成分のレベルの方が大きい場合はその画素を赤色部分の画素(以下、R系画素とする)に設定し、G成分のレベルの方が大きい画素は緑色部分の画素(以下、G系画素とする)に設定する。
When receiving the data of the original color image (for example, the image shown in FIG. 2A), the R / G
上述の処理と並列して、明度演算部120は元色彩画像のそれぞれの画素における明度の増減率dを求める。明度増減率dとは、色の明度をどれだけ変化させるか、すなわち色をどれだけ暗く、かつ明るくするかを示す定数であり、以下の式で求められる。
In parallel with the above-described processing, the
また、kは調整用変数である。人間の視感覚には個人差があり、また、元画像の色彩状況や、赤色および緑色部分の変化周期によっても見え方は変化する。したがって、kを用いてdを可変して最適化する。kの値は特に限定するものではなく任意に設定してよいが、本発明者等はkを0.1〜1.0の範囲の任意の値に設定すればdを最適化できることを実験より確認している。
K is an adjustment variable. There are individual differences in human visual sensation, and the appearance changes depending on the color condition of the original image and the change cycle of the red and green portions. Therefore, optimization is performed by varying d using k. The value of k is not particularly limited and may be arbitrarily set. However, the present inventors have shown from experiments that d can be optimized by setting k to an arbitrary value in the range of 0.1 to 1.0. I have confirmed.
次に、式(1)で得られた明度増減率dを用いて、以下の式(2)および(3)から各画素における明度の変化量(変化範囲)を求める Next, using the brightness increase / decrease rate d obtained by Expression (1), the amount of change in brightness (change range) in each pixel is obtained from Expressions (2) and (3) below.
上記式(2)および(3)により、各画素におけるR、G、B成分の明度はそれぞれ同一の割合で変化するよう設定される。また、明度増減率dが大きいほど、換言するとRレベルとGレベルの差が大きいほど、すなわち色相が赤または緑に近いほど、明度の変化の度合いは大きくなる。一方、明度増減率dが0の場合、すなわち、RレベルとGレベルが同一(色相が黄)のとき明度は変化しない。 From the above equations (2) and (3), the brightness of the R, G, and B components in each pixel is set to change at the same rate. Further, the greater the lightness increase / decrease rate d, in other words, the greater the difference between the R level and the G level, that is, the closer the hue is to red or green, the greater the degree of change in lightness. On the other hand, when the lightness increase / decrease rate d is 0, that is, when the R level and the G level are the same (hue is yellow), the lightness does not change.
明度演算部120は、すべての画素における最高明度値および最低明度値を求めると、その値にR/Gレベル比較部110が求めた各画素の属性、すなわちR系画素かまたはG系画素かの結果を付加して、フレーム画像生成/格納部20に送る。
When the
[フレーム画像生成/格納部]
フレーム画像生成/格納部20は、明度演算部120の演算結果に基づいて、複数(本実施形態では4部)のフレーム画像を生成する機能を有し、第1フレーム画像生成部210と、第2フレーム画像生成部220と、第3フレーム画像生成部230と、第4フレーム画像生成部240とを備える。
[Frame image generation / storage unit]
The frame image generation /
第1フレーム画像生成部210は、R/Gレベル比較部110によって設定されたR系およびG系画素における明度が式(2)で求めた最高明度値となるように変換した第1フレーム画像(例えば、図2(b)に示す画像)を生成する。さらに、第2フレーム画像生成部220は、R系画素の明度を最高明度値に、さらにG系画素の明度を最低明度値に変換した第2フレーム画像(例えば、図2(c)に示す画像)を生成し、第3フレーム画像生成部230は、R系画素の明度を最低明度値に、G系画素の明度を最高明度値に変換した第3フレーム画像(例えば、図2(d)に示す画像)を生成し、第4フレーム画像生成部240は、R系およびG系画素における明度を最低明度値となるように変換した第4フレーム画像(図2(e))を生成する。
The first frame image generation unit 210 converts the first frame image (converted so that the lightness in the R and G pixels set by the R / G
第1〜第4フレーム画像が生成されると、フレーム画像生成/格納部20はそれらのフレーム画像をメモリ、ハードディスク等で構成されるバッファ(図示せず)に格納する。
なお、この色補正の効果をより明瞭に示すために、図2のカラーの原画像図を本出願と同時に提出した物件提出書に参考色彩図面として添付したので参照されたい。
When the first to fourth frame images are generated, the frame image generation /
In order to more clearly show the effect of this color correction, please refer to the color original image diagram of FIG. 2 attached as a reference color drawing to the property submission file submitted at the same time as the present application.
[画像出力部]
画像出力部30は、バッファに格納された第1〜第4フレーム画像を選択的に読み出し、かつ出力する機能を有し、フレーム画像選択部310を備える。このフレーム画像選択部310は、予め設定された赤色部分および緑色部分の明度変化周期(本実施形態において赤は0.5秒、緑は0.1秒)を基に、各フレーム画像の出力タイミングを決定する。図3にそのタイムチャートの例を示す。図中のフレームタイプのI〜IVは、それぞれ第1〜第4フレーム画像に該当する。
[Image output section]
The
以上の色彩処理部10、フレーム画像生成/格納部20、画像出力部30の機能を使用して、色補正処理装置1000は入力された元色彩画像に上述の色補正を施し、1型および2型色覚障害者にとって容易に色識別が可能な色彩画像を出力する。
Using the functions of the
なお、出力される色彩画像の赤色部分および緑色部分の明度の変化量(変化範囲)は、その彩度の度合いに応じて決定されることに留意されたい。詳細に説明すると、元色彩画像中の色相が同一の画素間(RレベルとGレベルとが同一の画素間)では上記式(1)で求める増減率dが同一の値となる。したがって、それらの画素の明度の変化量は、式(2)および式(3)を参照するとRin、Gin、Binの値にのみ依存する。一方、彩度はR、G、Bレベルが大きいほど高くなるため、結果として、同一の色相を有する画素では、その彩度が高いほど明度の変化量が大きくなる。
例えば、d=0.2で、Rinがそれぞれ30と200になる2つの画素の明度の変化量を求めると、
Rin=30では、Rco_up=36、Rco_down=24となり、明度変化量=12となる。
Rin=200では、Rco_up=240、Rco_down=160となり、明度変化量=80となる。
したがって、同一の色相を有する画素であっても、明度の変化量の大きさによって彩度の相違の度合いを示すことができる。
It should be noted that the amount of change (change range) in lightness of the red and green portions of the output color image is determined according to the degree of saturation. More specifically, between the pixels having the same hue in the original color image (between pixels having the same R level and G level), the increase / decrease rate d obtained by the above equation (1) is the same value. Therefore, the amount of change in the brightness of these pixels depends only on the values of Rin, Gin, and Bin with reference to equations (2) and (3). On the other hand, since the saturation increases as the R, G, and B levels increase, as a result, the amount of change in lightness increases as the saturation increases in pixels having the same hue.
For example, when d = 0.2, and the amount of change in brightness of two pixels where Rin is 30 and 200, respectively,
When Rin = 30, Rco_up = 36, Rco_down = 24, and the brightness change amount = 12.
When Rin = 200, Rco_up = 240 and Rco_down = 160, and the brightness change amount = 80.
Therefore, even if the pixels have the same hue, the degree of saturation difference can be indicated by the magnitude of the change in brightness.
以上に説明した色補正処理装置1000は様々な用途に適用可能である。例えば、撮像装置を有する端末(カメラ付き携帯電話、カメラが接続されたコンピュータ等)に色補正処理装置1000を適用することができる。その場合、撮像装置によって撮像された風景が色補正処理装置1000によって色補正され、その補正された風景が端末のモニタ上に表示される。したがって、色覚障害者は、色の知りたい風景を撮像し、撮像した画像をモニタ上で観察することによってその風景の色を知ることができる。
The color
また、本実施形態では、色彩画像の画素の明度を2つの段階で変化させているが、本発明の明度の変化方法はこの手法に限定されるものではない。代替的に、中間値を1つまたは複数求めて、明度を3以上の段階で変化させてもよい。この段階を増やすほど作成するフレーム画像の数が増えて処理するデータ量が多くなるが、明度はより自然に変化するように見える。例えば、元画像が静止画像の場合には、明度の変化がより自然に見えるように明度変化段階を多く設定し、動画像の場合には、そのフレームレートに追従してリアルタイムに色補正処理ができるよう明度変化段階を少なく設定することができる。すなわち、明度を変化させる段階の数は、色補正を行う元色彩画像の種類、補正処理を行う装置の演算能力、色覚障害者であるユーザの視感覚等を基に適宜決定されることが好ましい。 In this embodiment, the brightness of the pixel of the color image is changed in two stages. However, the brightness change method of the present invention is not limited to this method. Alternatively, one or more intermediate values may be obtained, and the brightness may be changed in three or more stages. As the number of steps increases, the number of frame images to be created increases and the amount of data to be processed increases, but the brightness seems to change more naturally. For example, when the original image is a still image, many brightness change steps are set so that the change in brightness looks more natural, and in the case of a moving image, color correction processing is performed in real time following the frame rate. The brightness change step can be set as few as possible. That is, it is preferable that the number of steps of changing the brightness is appropriately determined based on the type of the original color image for performing color correction, the computing ability of the apparatus for performing the correction process, the visual sensation of the user who is color blind, .
さらに、電光掲示板や液晶掲示板等の各種の表示装置にも適用することができる。この場合には、通常の表示と色補正された表示とを所定の間隔で切り換えることが好ましい。これにより、色覚正常者および色覚障害者の双方が同時に表示された内容を観察することができる。 Furthermore, the present invention can be applied to various display devices such as an electric bulletin board and a liquid crystal bulletin board. In this case, it is preferable to switch between normal display and color-corrected display at a predetermined interval. As a result, it is possible to observe the contents displayed by both the color vision normal person and the color blind person at the same time.
以上に渡って本発明の一実施形態に係る色補正処理装置の機能について説明した。次は、この色補正処理装置が行う色補正処理の手順について、図4および図5のフロー図を用いて説明する。 The function of the color correction processing apparatus according to the embodiment of the present invention has been described above. Next, the procedure of color correction processing performed by this color correction processing apparatus will be described with reference to the flowcharts of FIGS.
最初に図4を参照すると、色補正処理装置1000の色彩処理部10に処理対象物である、図2(a)に示すような元色彩画像のデータが入力される(ステップS10)。次に、その画像を構成する画素の中から処理する画素を決定する(ステップS20)。処理対象の画素が決定すると、R/Gレベル比較部110がその画素におけるRレベルとGレベルとを比較する(ステップS30)。RレベルがGレベルよりも大きい場合には(ステップS30で「YES」)、該当の画素をR系画素に決定する(ステップS40)。一方、GレベルがRレベルよりも大きい場合には(ステップS30で「NO」)、該当の画素をG系画素に決定する(ステップS50)。
Referring to FIG. 4 for the first time, original color image data as shown in FIG. 2A, which is a processing target, is input to the
ステップS30〜S50の処理と平行して、以下の処理が行われる。明度演算部120が処理対象の画素に対して式(1)を用いて明度増減率dを求める(ステップS60)。続いて、その明度増減率dと式(2)および(3)とを用いて明度の変化量(最高明度値Rco_upおよび最低明度値Rco_down)を求める(ステップS70)。
The following processing is performed in parallel with the processing in steps S30 to S50. The
ステップS40、S50、S70の処理が終わると、これらの処理で求めた結果である、画素の属性(R系、G系)および明度変化量をこの画素の座標に関連付ける。そして、未処理の画素が残っている場合には(ステップS90で「NO」)、未処理の画素に対してステップS20〜S80の処理を繰り返す。すべての画素に対して処理を行ったならば(ステップS90で「YES」)、ステップS80の処理で関連付けをしたデータをすべてフレーム画像生成/格納部20に渡す。
When the processes of steps S40, S50, and S70 are completed, the pixel attributes (R system and G system) and the brightness change amount, which are the results obtained by these processes, are associated with the coordinates of this pixel. If unprocessed pixels remain (“NO” in step S90), the processes in steps S20 to S80 are repeated for the unprocessed pixels. If all pixels have been processed (“YES” in step S90), all the data associated in the process of step S80 is passed to the frame image generation /
次に図5を参照して説明する。フレーム画像生成/格納部20は、受け取ったデータを基に第1〜第4フレーム画像を生成する。詳細には、第1フレーム画像生成部210が、元色彩画像のR系画素とG系画素のR、G、Bの明度をステップS70で求めた最大明度値Rco_upに変換し(ステップS100)、この画像を第1フレーム画像としてバッファに書き込む(ステップS110)。
Next, a description will be given with reference to FIG. The frame image generation /
さらに、第2フレーム画像生成部220が元色彩画像のR系画素のR、G、Bの明度をステップS70で求めた最大明度値Rco_upに、さらにG系画素のR、G、Bの明度をステップS70で求めた最小明度値Rco_downに変換する(ステップS120)。この画像を第2フレーム画像としてバッファに書き込む(ステップS130)。 Further, the second frame image generation unit 220 sets the R, G, and B lightness of the R pixel of the original color image to the maximum lightness value Rco_up obtained in step S70, and further the R, G, and B lightness of the G pixel. The minimum brightness value Rco_down obtained in step S70 is converted (step S120). This image is written in the buffer as a second frame image (step S130).
さらに、第3フレーム画像生成部230が元色彩画像のR系画素のR、G、Bの明度を最小明度値Rco_downに、さらにG系画素のR、G、Bの明度を最大明度値Rco_upに変換する(ステップS140)。この画像を第3フレーム画像としてバッファに書き込む(ステップS150)。 Further, the third frame image generating unit 230 sets the R, G, and B brightness of the original color image to the minimum brightness value Rco_down, and further sets the R, G, and B brightness of the G pixel to the maximum brightness value Rco_up. Conversion is performed (step S140). This image is written in the buffer as a third frame image (step S150).
さらに、第4フレーム画像生成部240が元色彩画像のR系画素とG系画素のR、G、Bの明度を最小明度値Rco_downに変換し(ステップS160)、この画像を第4フレーム画像としてバッファに書き込む(ステップS170)。 Further, the fourth frame image generation unit 240 converts the R, G, and B brightness of the R color pixel and the G color pixel of the original color image into the minimum brightness value Rco_down (step S160), and this image is used as the fourth frame image. Write to the buffer (step S170).
すべてのフレーム画像をバッファに書き込むと、次に画像出力部30は予め決定されている赤色部分の変化周期(0.5秒)と緑色部分の変化周期(0.1秒)とを基に、図3に示すようなタイムチャートを生成し、出力すべきフレーム画像を決定する(ステップS180)。そして、決定したフレーム画像をバッファから読み出し(ステップS190)、そして出力する(ステップS200)。
以上が本実施形態に係る色補正方法の手順である。この方法により、1型および2型色覚障害者に対して色補正された色彩画像を提供することができる。
When all the frame images are written in the buffer, the
The above is the procedure of the color correction method according to the present embodiment. This method can provide color-corrected color images for
なお、本発明の一実施形態に係る色補正処理装置が有する機能は、特定のハードウェア資源またはソフトウェア処理に限定されないことに留意されたい。すなわち、この機能を実現できる限り、如何なるハードウェア(電子回路等)、ソフトウェア(プログラム)、あるいはそれらの組み合わせ等を用いてよい。 Note that the functions of the color correction processing apparatus according to an embodiment of the present invention are not limited to specific hardware resources or software processing. That is, as long as this function can be realized, any hardware (electronic circuit or the like), software (program), or a combination thereof may be used.
上述した本発明の一実施形態に係る画像処理方法を、プログラムとして実装する場合には、このプログラムを外部のサーバ等から該方法を実行する情報処理装置にダウンロードするか、あるいはコンピュータ可読媒体の形態で分配されることが好ましい。コンピュータ可読媒体の例としては、CD−ROM、DVD、磁気テープ、フレキシブルディスク、光磁気ディスク、ハードディスクなどが挙げられる。 When the above-described image processing method according to an embodiment of the present invention is implemented as a program, the program is downloaded from an external server or the like to an information processing apparatus that executes the method, or in the form of a computer-readable medium It is preferable that it is distributed by. Examples of the computer readable medium include a CD-ROM, DVD, magnetic tape, flexible disk, magneto-optical disk, and hard disk.
以上、本発明を図面に示した実施形態を用いて説明したが、これらは例示的なものに過ぎず、本技術分野の当業者ならば、本発明の範囲および趣旨から逸脱しない範囲で多様な変更および変形が可能なことは理解できるであろう。したがって、本発明の範囲は、説明された実施形態によって定められず、特許請求の範囲に記載された技術的趣旨により定められねばならない。 As mentioned above, although this invention was demonstrated using embodiment shown in drawing, these are only an illustration and those skilled in this technical field can variously be within the range which does not deviate from the range and the meaning of this invention. It will be understood that modifications and variations are possible. Accordingly, the scope of the invention should not be determined by the described embodiments, but by the technical spirit described in the claims.
10 色彩処理部
20 フレーム画像生成/格納部
30 画像出力部
110 R/Gレベル比較部
120 明度演算部
210 第1フレーム画像生成部
220 第2フレーム画像生成部
230 第3フレーム画像生成部
240 第4フレーム画像生成部
310 フレーム画像切換制御部
1000 色補正処理装置
DESCRIPTION OF
Claims (14)
前記色彩画像データを構成する画素であって、そのRレベルがGレベルより大きい画素で構成された赤色部分の明度と、前記色彩画像データを構成する画素であって、そのGレベルがRレベルより大きい画素で構成された緑色部分の明度とを、それぞれ異なる周期で変化させることを特徴とする色補正処理装置。 A color correction processing device that performs predetermined color correction on color image data,
Pixels constituting the color image data, the lightness of a red part composed of pixels whose R level is larger than the G level, and pixels constituting the color image data, the G level being lower than the R level A color correction processing apparatus characterized by changing the brightness of a green portion composed of large pixels at different periods.
前記色彩画像データを構成する画素のそれぞれについて、そのRレベルとGレベルとを比較し、Rレベルの方が大きい画素を赤色部分とし、Gレベルの方が大きい画素を緑色部分として識別する色識別段階と、
前記識別した前記赤色部分の明度と前記緑色部分の明度とをそれぞれ異なる周期で変化させる明度変化段階と、
を含むことを特徴とする色補正処理方法。 A color correction processing method for performing color correction on color image data,
For each pixel constituting the color image data , the R level and the G level are compared, and a pixel having a larger R level is identified as a red portion, and a pixel having a greater G level is identified as a green portion. Stages,
A brightness change step of changing at different periods and brightness of the brightness and the green portion of the red portion of the above identified,
A color correction processing method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009004586A JP5337498B2 (en) | 2009-01-13 | 2009-01-13 | Color correction processing apparatus, color correction processing method, color correction processing program, and computer-readable medium storing the program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009004586A JP5337498B2 (en) | 2009-01-13 | 2009-01-13 | Color correction processing apparatus, color correction processing method, color correction processing program, and computer-readable medium storing the program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010164618A JP2010164618A (en) | 2010-07-29 |
JP5337498B2 true JP5337498B2 (en) | 2013-11-06 |
Family
ID=42580857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009004586A Expired - Fee Related JP5337498B2 (en) | 2009-01-13 | 2009-01-13 | Color correction processing apparatus, color correction processing method, color correction processing program, and computer-readable medium storing the program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5337498B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102393373B1 (en) * | 2015-06-12 | 2022-05-03 | 삼성디스플레이 주식회사 | Display apparatus and method of driving the same |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004280526A (en) * | 2003-03-17 | 2004-10-07 | Minolta Co Ltd | State display device |
-
2009
- 2009-01-13 JP JP2009004586A patent/JP5337498B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010164618A (en) | 2010-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5753393B2 (en) | Image processing apparatus and method | |
CN107909553B (en) | Image processing method and device | |
EP1909484B1 (en) | Image processing device, image processing program, and image processing method | |
CN107945766A (en) | Display device | |
US8649625B2 (en) | Method, device and program for measuring image quality adjusting ability, and method, device and program for adjusting image quality | |
CN107295248A (en) | The image display and method for displaying image and storage medium of display image | |
JP4181625B1 (en) | Luminance information display apparatus and method | |
US9503609B2 (en) | Data-generating device, data-generating method, data-generating program and recording medium | |
CN109313796A (en) | A kind of image processing method and device | |
CN110310231B (en) | Device and method for converting first dynamic range video into second dynamic range video | |
JP5165076B2 (en) | Video display device | |
CN114092360A (en) | Image processing method, apparatus and readable storage medium | |
CN113450266A (en) | Image processing apparatus, image processing system, and image processing method | |
KR20190073516A (en) | Image processing apparatus, digital camera, image processing program, and recording medium | |
JP5337498B2 (en) | Color correction processing apparatus, color correction processing method, color correction processing program, and computer-readable medium storing the program | |
KR20190080732A (en) | Estimation of illumination chromaticity in automatic white balancing | |
US9323981B2 (en) | Face component extraction apparatus, face component extraction method and recording medium in which program for face component extraction method is stored | |
KR102423052B1 (en) | Display apparatus for dog and method of driving the same | |
CN111613168B (en) | Image display processing method and device and computer readable storage medium | |
JP5743456B2 (en) | Image processing apparatus, image processing method, and imaging apparatus | |
JP5038190B2 (en) | Image capturing apparatus and setting method thereof | |
JP2010041607A (en) | Image capturing apparatus, method of controlling the same and program | |
JP2013250314A (en) | Image processor, display device, information processor and image processing method | |
JP2010091617A (en) | Automatic setting device for character color of clock, method and program for the same | |
US9135687B2 (en) | Threshold setting apparatus, threshold setting method and recording medium in which program for threshold setting method is stored |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120111 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120112 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130122 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130205 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130322 |
|
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: 20130708 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130805 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5337498 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |