JP2004241893A - Device and method for color conversion - Google Patents

Device and method for color conversion Download PDF

Info

Publication number
JP2004241893A
JP2004241893A JP2003026884A JP2003026884A JP2004241893A JP 2004241893 A JP2004241893 A JP 2004241893A JP 2003026884 A JP2003026884 A JP 2003026884A JP 2003026884 A JP2003026884 A JP 2003026884A JP 2004241893 A JP2004241893 A JP 2004241893A
Authority
JP
Japan
Prior art keywords
color
data
noise
correction amount
color correction
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
JP2003026884A
Other languages
Japanese (ja)
Other versions
JP3865696B2 (en
Inventor
Shuichi Kagawa
周一 香川
Hiroaki Sugiura
博明 杉浦
Masaki Yamakawa
正樹 山川
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2003026884A priority Critical patent/JP3865696B2/en
Publication of JP2004241893A publication Critical patent/JP2004241893A/en
Application granted granted Critical
Publication of JP3865696B2 publication Critical patent/JP3865696B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a color converter and a color converting method capable of suppressing an image from blurring owing to the suppression of the influence of a noise component included in color data without further emphasizing the influence of the noise component even when the color data are processed for higher color saturation and lightness. <P>SOLUTION: The color converter is provided with: a color correction quantity generating means (1, 1b, 1c, and 1d) of finding color correction quantities by carrying out color correction quantity calculations (4, 4c, and 4c) and noise removal (3, 11, and 12) both based upon 1st image data; and an adding means (2) of finding 2nd image data by adding the color correction quantities to the 1st image data. A noise removing means is composed of a low-pass filter which cuts off a high-frequency component in inputted data and transmits a low-frequency component. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、プリンタやビデオプリンタ、スキャナも印刷関連等のフルカラー印刷関連機器、あるいはモニター等の表示装置等に使用するデータ処理に係わり、中でも複数の色データで表現する画像データを使用機器等に合わせて色変換処理する色変換装置および方法に関する。
【0002】
【従来の技術】
従来の色変換装置および方法の一例が下記の特許文献1に記載されている。この従来の色変換装置および方法においては、第一の画像データを構成する第一の色データRi、Gi、Biの最小値αと最大値βを算出する手段と、第一の色データRi、Gi、Biと上記最小値αと最大値βを用いて色相データを算出する手段と、色相データを用いて色相データ間の第1の比較データを生成する手段と、第1の比較データを用いて色相データ間の第2の比較データを生成する手段と、色相データに基づいて演算を行う演算手段と、所定のマトリクス係数を発生する手段と、第1および第2の比較データと、演算手段からの出力と、色相データr、g、bと、上記マトリクス係数を用いて所定のマトリクス演算を行い、演算後の画像データを出力する手段と、出力された画像データに最小値αを加算して色変換された第二の画像データを合成して出力する手段を備える。
(特許文献1参照)
【0003】
【特許文献1】
特開2000−287074
【0004】
【発明が解決しようとする課題】
従来の色変換装置または色変換方法において、色データに雑音成分が含まれる場合において、色データの彩度や明度を高めるような処理を行うと、雑音成分の影響を更に強調することになり、画像が非常に見づらいものとなるという問題があった。また、色データ中に含まれる雑音成分の影響を軽減するために、雑音除去手段を介して色データを色変換手段へと入力すると、雑音成分は除去されるものの、本来のデータの変化部分の変化も緩やかになり、画像のボケが発生するという問題点があった。
【0005】
以下、上記の点についてより詳しく説明する。色変換は、画像表示装置において所望の色再現を得るために行われるが、上記の所望の色再現には「忠実な色再現」と「好ましい色再現」とがある。「忠実な色再現」とは、実物の色に忠実な色再現であり、その実現方法としては、NTSCやsRGBなどの規格や標準の色空間を用いた色再現を行うことが考えられる。一方、「好ましい色再現」とは、人間の視覚特性や記憶色を考慮した、人間がより好ましいと感じる色再現であり、必ずしも「忠実な色再現」とは一致しない。テレビ画像などの動画の表示の際の色再現においては、「好ましい色再現」行われる場合が多い。人間の記憶色では、空の色や芝の緑など、実際の色よりも鮮やかな、彩度や明度の高い色として記憶される傾向がある。したがって、「好ましい色再現」を実現するにあたっては、色の彩度や明度が高くなるような色変換処理が入力された色データに対して行われる場合が多い。また、忠実な色再現においても、色の彩度や明度が高くなるような色変換処理が入力された色データに対して行われる場合が少なくない。これは、使用される画像表示手段の有する色再現範囲が狭いことに起因する。
【0006】
一方、画像表示装置などに入力される第一の色データは、カメラなどの色データ生成側で生成された本来の色データとは必ずしも一致しない。これは、色データが伝送される過程において、種々の雑音の影響を受けるためである。伝送路を介してカメラにより生成した本来の色データを伝送し、画像表示装置に入力する場合を考える。カメラから出力される本来の色データをRs、Gs、Bsとし、それぞれ赤、緑、青を表す色データとする。また、画像表示装置に入力される第一の色データをRi、Gi、Biとする。伝送路において雑音の影響がなく、伝送に際する送信、受信の手続きが正確に行われれば、Rs=Ri、Gs=Gi、Bs=Biとなるはずである。しかし、実際には伝送路においては雑音の影響を受けることが考えられる。雑音が各色データにおよぼす影響である雑音成分をそれぞれRn、Gn、Bnとすると、画像表示装置に入力される第一の色データRi、Gi、Biは、Ri=Rs+Rn、Gi=Gs+Gn、Bi=Bs+Bnと表すことができる。
【0007】
上記の画像表示装置に入力される第一の色データRi、Gi、Biに対して、「好ましい色再現」を実現するために色の彩度や明度が高くなるような色変換処理を行う場合、結果として本来の色データ成分の彩度や明度を高めるとともに、雑音成分の彩度や明度をも高めることになる。
【0008】
画素データに含まれる雑音成分が白色雑音による場合、雑音成分は低周波から高周波までの広い周波数範囲の成分を持つ。また、画素データに含まれる雑音成分が、特定の周波数に強い成分を持つ場合も考えられる。例えば、伝送時に用いられる搬送波の影響による雑音成分である場合、雑音成分は搬送波の周波数付近に強い成分を持つこととなる。
【0009】
雑音成分が特定の周波数に強い成分を持つ場合、雑音除去手段はその周波数成分を除去する(減衰させる)ようなフィルタとして構成することとなる。一方、画像データに含まれる雑音成分が白色雑音による場合には、雑音成分のうち特に視覚的に目立つ周波数成分を除去する(減衰させる)ようなフィルタとして構成することが有効となる。視覚的に目立つ周波数成分は、厳密には表示装置の画素間隔や鑑賞距離なども考慮に入れて特定されることとなるが、現状の画像表示装置においては、雑音成分のうち画像データの画素周波数に近い高い周波数成分が目立つ場合が多く見られる。これは、現状の画像表示装置の画素間隔では、隣り合う画素のデータが雑音成分の影響により頻繁に互いに関連性なく変化すると、人間には大きな雑音として感じられるものと考えられる。ここで、画素周波数とは、連続する各画素の画像データが例えば、0、1、0、1、0、...と変化する際の周波数を指し、画像データのクロック周波数の1/2となる。
【0010】
以上のように、雑音除去手段は、雑音成分の特性によりその構成が決定されることとなる。以下、画像データの画素周波数に近い高い周波数成分の雑音成分を除去する場合を例にとって述べることとする。この場合、入力されたデータ中の高周波成分を遮断または大きく減衰させ、低周波成分を透過するローパスフィルタによって雑音除去手段を構成し、雑音除去手段を介して第一の色データを色変換手段へと入力することにより、雑音成分の強調を軽減することが可能となる。しかし、この場合には第一の色データ中に含まれる雑音成分とともに、本来の色成分の高周波成分もまた遮断され、画像のボケが発生するという問題が発生する。例えば、画像データの画素周波数の1/8以上の周波数を持つ雑音成分を除去するようなフィルタとして雑音除去手段を構成した場合、本来の色成分についても画像データの画素周波数の1/8以上の周波数が除去され、画像のボケが発生することとなる。
一般には、本来の色成分のうち、雑音除去手段3にて除去した周波数成分が除去されることとなる。
【0011】
本発明の目的は、色データの彩度や明度を高めるような処理を行った場合においても、色データに含まれる雑音成分の影響を更に強調することなく、また、雑音成分の影響の抑制による画像のボケの発生も抑えることが可能な色変換装置及び方法を提供することにある。
【0012】
【課題を解決するための手段】
この発明に係る色変換装置は、複数の第一の色データからなる画素毎の画像情報である第一の画像データを色変換して、複数の第二の色データからなる第二の画像データを求める色変換装置において、上記第一の画像データに基づく色補正量算出及び雑音除去を行って色補正量を求める色補正量生成手段と、上記第一の画像データに上記色補正量を加算して、上記第二の画像データを求める加算手段とを備えることを特徴とする。
【0013】
【発明の実施の形態】
以下、この発明をその実施の形態を示す図面に基づいて具体的に説明する。
実施の形態1.
図1は、この発明の一実施形態による色変換装置の構成の一例を示すブロック図である。
【0014】
第一の色データRi、Gi、Biは色補正量生成手段1および色補正量加算手段2へと入力される。色補正量生成手段1は、雑音除去手段3および色補正量演算手段4を備え、第一の色データRi、Gi、Biは雑音除去手段3へと入力される。雑音除去手段3では、第一の色データ中の雑音成分を除去し、雑音除去された色データR2、G2、B2を出力する。雑音除去された色データR2、G2、B2は、色補正量演算手段4へと入力され、色補正量演算手段4で色補正量R1、G1、B1が算出される。色補正量加算手段2には、第一の色データRi、Gi、Biおよび色補正量R1、G1、B1が入力され、これらを加算することにより第二の色データRo、Go、Boが算出される。
なお、色補正量は、正の値を持つとは限らず、負の値を持つ場合もある。
【0015】
第一の色データは、伝送される過程において種々の雑音の影響を受けるため、画像生成の際に生成された本来の色データ成分と、その後の雑音の影響により発生した雑音成分より構成される。本来の色データをRs、Gs、Bsとし、それぞれ赤、緑、青を表す色データとする。また、第一の色データをRi、Gi、Biとする。雑音の影響がなければ、Rs=Ri、Gs=Gi、Bs=Biとなる。しかし、実際には雑音の影響を受けることになる。雑音が各色データにおよぼす影響である雑音成分をそれぞれRn、Gn、Bnとすると、画像表示装置に入力される第一の色データRi、Gi、Biは、Ri=Rs+Rn、Gi=Gs+Gn、Bi=Bs+Bnと表すことができる。すなわち、画像表示装置に入力される第一の色データRi、Gi、Biは、本来の色データ成分であるRs、Gs、Bsと、雑音成分であるRn、Gn、Bnとの和で表されることになる。
【0016】
従来の技術について述べたように、雑音除去手段3は、雑音成分の特性に応じてその構成が決定される。以下、画像データの画素周波数に近い高い周波数成分の雑音成分を除去する場合を例にとって述べることとする。この場合、入力されたデータ中の高周波成分を遮断または大きく減衰させ、低周波成分を透過するローパスフィルタによって雑音除去手段3を構成することができる。
より具体的には、画素周波数の約1/4.5以上、即ち画素データのクロック周波数の1/9以上の周波数成分を遮断又は大きく減衰させるローパスフィルタを用いることとする。
なお、構成が簡単なローパスフィルタとしては、連続する複数の画素の画像データの単純平均値を算出する構成が考えられる。このとき、フィルタ特性は、単純平均値の算出に用いる画素の数により決定されることになる。
【0017】
図2は、雑音除去手段3の部分的な構成、即ち色データRiよりR2を算出する部分の構成の一例を表すブロック図である。GiよりG2を算出する部分、BiよりB2を算出する部分も同様の構成とすることができる。図示のように、この雑音除去手段3は、複数のデータ格納部5a〜5hを含むデータシフト手段5と、重み付け加算手段6とを有する。
雑音除去手段3に入力された第一の色データRiは、データ格納部5aへと入力される。データ格納部5a〜5hは、互いに縦続接続されており、第一の色データが入力されるたびに、データ格納部5aのデータをデータ格納部5bへ、データ格納部5bのデータをデータ格納部5cへと、一斉にデータをシフトする。
データ格納部5a〜5hに保持されるデータは、重み付け加算手段6へと入力される。
【0018】
重み付け加算手段6は、データ格納部5a〜5hからのデータに重み付け加算を施し、雑音除去された色データR2として出力する。重み付け加算手段6にて行われる重み付けを均等にすれば、即ち重み付係数を互いに同じ値にし、単純平均値を算出することになる。よって、雑音除去手段3により算出される雑音除去された色データR2は、下記式(1)にて表される。
【0019】
【数1】

Figure 2004241893
【0020】
式(1)において、Ri[n]はn番目に入力された第一の色データを表し、関数fは重み付け加算を表す。
なお、雑音除去手段に最初のデータが入力されたときには、データ格納部5a〜5hには全て最初のデータと同一のデータが一斉に入力されるものとする。また、雑音除去手段に最後のデータが入力された後には、データ格納部5aには雑音除去手段に入力された最後のデータと同一のデータが入力され続けるものとする。
【0021】
図3は、本来の色データRs、Gs、Bsの一例を表す図である。図において、横軸は各データの存在する画素位置を表し、縦軸は各データの大きさを表す。また、赤を表すデータRsに注目するため、Rsの変化は特に太線にて示している。画素位置0から16、および43から63においてはRs=80、Gs=48、Bs=48であり、画素位置17から42においてはRs=160、Gs=48、Bs=48である。これは、画素位置17から42にその両側と比較して彩度、明度の高い赤色が存在することを意味する。ここで、彩度は色信号の最大値と最小値の差を最大値にて除したもので表すことができ、明度は色信号の最大値で表すことができる。これによると、画素位置0から16、および43から63における彩度は0.4、明度は80と表され、画素位置17から42における彩度は0.7、明度は160と表される。
【0022】
図4は、本来の色データRs、Gs、Bsに雑音Rn、Gn、Bnが付加された場合の色データ、すなわち雑音成分が存在する場合の画像表示装置に入力される第一の色データRi、Gi、Biの一例を表す図である。図において、横軸は各データの存在する画素位置を表し、縦軸は各データの大きさを表す。また、赤を表すデータRiに注目するため、Riの変化は特に太線にて示している。図中で矢印にて示しているのは、画素位置26および27のRiであり、それぞれ値は146、174である。画素位置26および27のRiは、本来は同じ値になるべきであり、値に相違があるのは雑音成分の影響である。この時、画素位置26および27においてGiは40、46であり、Biは38、60である。
【0023】
ここで、重み付け加算手段6において、単純平均値が算出されるものとする。
図4に示した第一の色データRi、Gi、Biを入力として、図2を参照して説明した雑音除去手段3にて求められる雑音除去された色データR2、G2、B2を図5に示す。図において、横軸は各データの存在する画素位置を表し、縦軸は各データの大きさを表す。図5より、雑音除去された色データR2、G2、B2において、データの変化部分の変化も緩やかになっているものの、雑音成分も除去されている。
【0024】
色補正量演算手段4は、雑音除去された色データR2、G2、B2を用いて色補正量R1、G1、B1を算出し、算出した色補正量R1、G1、B1を色補正量加算手段2へと出力する。色補正量加算手段2には第一の色データRi、Gi、Biも入力され、色補正量加算手段2において、色補正量R1、G1、B1と加算されて第二の色データRo、Go、Boが算出される。
【0025】
色補正量演算手段4は、例えば少なくとも一つの色の明度及び彩度の少なくとも一つを高めるための補正量を求めるための演算を行うものであり、例えば下記の式(2)に示す線形演算により色補正量R1、G1、B1を求める。
【0026】
【数2】
Figure 2004241893
【0027】
下記式(3)に示す係数は、式(2)に対して用いられる係数の一例である。
【0028】
【数3】
Figure 2004241893
【0029】
上記式(3)に示す係数は、画像データの一つの特定の色である赤の明度、彩度を高めるような係数である。簡単化のため雑音除去された色データR2、G2、B2の値が、第一の色データRi、Gi、Biと同じ値を持つものとし、例えば、雑音除去された色データがR2=80、G2=48、B2=48である場合を考える。この時、R1=24、G1=0、B1=0となり、第二の色データはRo=R2+R1=104、Go=G2+G1=48、Bo=B2+B1=48となる。また、雑音除去された色データがR2=160、G2=48、B2=48の場合、R1=48、G1=0、B1=0となり、第二の色データはRo=R2+R1=208、Go=G2+G1=48、Bo=B2+B1=48となる。
雑音除去された色データに対して、前者では彩度は0.4、明度は80となり、後者では彩度は0.7、明度は160となる。一方、第二の色データに対して、前者では彩度は0.54、明度は104となり、後者では彩度は0.77、明度は208となる。よって、色変換を行うことにより画像データの明度、彩度ともに高くなっている。
【0030】
図6は、第二の色データRo、Go、Boの一例を表す図であり、図4に示した第一の色データRi、Gi、Biを入力とし、式(3)に示す係数を用いた場合に算出される第二の色データである。図において、横軸は各データの存在する画素位置を表し、縦軸は各データの大きさを表す。また、赤を表すデータRoに注目するため、Roの変化は特に太線にて示している。図中で矢印にて示しているのは、画素位置26および27のRoであり、それぞれ値は193、220である。
【0031】
ここで、画素位置26および27における第二の色データRoの値の差は、220−193=27である。一方、画素位置26および27における第一の色データRiの値の差は、174−146=28である。画素位置26および27における第一の色データRiの値の差は、雑音成分の影響により生じたものである。
【0032】
よって、本実施の形態における色変換装置または色変換方法によれば、色データに含まれる雑音成分の影響を更に強調することなく、色データの彩度や明度を高めるような処理が行われている。画像データ中の雑音成分の影響が強調されると、画像表示装置に表示される画像は非常に見づらいものとなるが、本実施の形態における色変換装置または色変換方法においては、第二の色データにおける雑音成分の大きさは第一の色成分におけるものと同等となり、雑音成分の影響の増大を回避している。
【0033】
なお、上記の例では、色補正量演算手段4が一つの色である赤の明度、彩度を高めるような演算を行っているが、二つ以上の色の明度、彩度を高めるような色補正量演算を行うこととしても良い。また明度や彩度を高めるのではなく、逆に低めるような色補正を行う場合にも本発明を適用することができる。明度や彩度を低める場合には色補正量が負の値となる。
【0034】
本実施の形態における色変換装置または色変換方法において、その特徴は、色補正量生成手段1に雑音除去手段3を備え、色補正量生成手段1において色補正量算出及び雑音除去を行って色補正量を求めて色補正量加算手段2に供給し、色補正量加算手段2では、上記のような雑音除去を経た色補正量と、上記のような雑音除去を経ない第一の画像データとを加算して第二の画像データを求めることである。以下、その効果について、色補正量生成手段1に雑音除去手段3を備えない場合との比較により、さらに詳しく述べる。
【0035】
上記図1に示す色変換装置において、雑音除去手段3をR2=Ri、G2=Gi、B2=Biとなるように構成すれば、雑音除去手段3を備えない場合と同等となる。
【0036】
先程と同様に、図3にて示される本来の色データRs、Gs、Bsに雑音成分が付加された図4にて示される第一の色データRi、Gi、Biが入力される場合を考える。すなわち、画素位置26および27において、本来の色データはともにRs=160、Gs=48、Bs=48である。また、画素位置26および27において、第一の色データはRi=146、Gi=40、Bi=38、およびRi=174、Gi=46、Bi=60である。
【0037】
雑音除去手段3が設けられていないので、R2=Ri、G2=Gi、B2=Biが色補正演算手段4に入力される。色補正量演算手段4では、上記式(3)に示す係数を用いた上記式(2)に示すマトリクス演算により色補正量R1、G1、B1を求める。色補正量加算手段2は、第一の色データRi、Gi、Biと色補正量R1、G1、B1を加算して第二の色データRo、Go、Boを算出する。
【0038】
図7は、雑音除去手段3が設けられておらず、R2=Ri、G2=Gi、B2=Biとなる場合における第二の色データRo、Go、Boを表す図である。図において、横軸は各データの存在する画素位置を表し、縦軸は各データの大きさを表す。雑音除去手段3を備えた場合に得られる第二の色データRo、Go、Boを表す図6と比較すると、色変換処理により雑音成分もまた強調されていることが見て取れる。図中で矢印にて示しているのは、画素位置26および27の第二の色データRoであり、それぞれ値は189、226である。一方、画素位置26および27の第一の色データRiの値はそれぞれ146、174である。画素位置26および27の第一の色データRiの値の差は174−146=28であり、この値は本画素位置における第一の色データ中に含まれる雑音成分の大きさを表す。一方、画素位置26および27の第二の色データRoの値の差は226−189=37となり、値が大きくなっている。これは、第一の色データに含まれる雑音成分が強調されていることを表す。画像データ中の雑音成分Rn、Gn、Bnの影響を強調されると、画像表示装置に表示される画像は非常に見づらいものとなる。
【0039】
ここで、前述の通り、雑音除去手段3を備えた本実施の形態における色変換装置にて得られる画素位置26および27における第二の色データRoの値の差は27であり、雑音成分は強調されていない。
【0040】
第一の色データ中に含まれる雑音成分の影響を軽減する方法としては、雑音除去手段を介して第一の色データを色変換手段へと入力することも考えられる。図8は、雑音除去手段を付加した従来の色変換装置の一例を表すブロック図であり、雑音除去手段3を介して色変換手段7に第一の色データを入力するように構成されている。第一の色データRi、Gi、Biは雑音除去手段3へと入力される。雑音除去手段3では、第一の色データ中の雑音成分を除去し、雑音除去された色データR2、G2、B2を出力する。雑音除去された色データR2、G2、B2は、色変換手段7へと入力される。色変換手段7は、色補正量演算手段4と色補正量加算手段2を備える。色補正量演算手段4は、上述の場合と同様に、上記式(3)に示す係数を用いた上記式(2)に示すマトリクス演算により、雑音除去された色データR2、G2、B2より、色補正量R1、G1、B1を算出する。色補正量加算手段2は、雑音除去された色データR2、G2、B2と色補正量R1、G1、B1をそれぞれ加算し、第二の色データRo、Go、Boを算出する。よって、図8に示す色変換装置において、第二の色データRo、Go、Boは下記式(4)にて表される。
【0041】
【数4】
Figure 2004241893
【0042】
雑音除去手段3は、上記図2を参照して説明した構成とすることができる。ここで、雑音除去手段3の重み付け加算手段6において、単純平均値が算出されるものとする。
【0043】
図8に示す色変換装置により求められる第二の色データRo、Go、Boを図9に示す。このとき、図4に示す本来の色データに雑音成分が付加された第一の色データが入力されるものとする。図において、横軸は各データの存在する画素位置を表し、縦軸は各データの大きさを表す。図9より、第二の色データRo、Go、Boにおける雑音成分は除去されているものの、図中に破線にて囲ったように、データの変化部分の変化も緩やかになっている。データの変化部分の変化も緩やかになると、画像のボケとして認識される。例えば、画像中の文字や境界部分にボケが発生することになる。
【0044】
特に、雑音の影響を受けていない色データ、すなわち雑音成分が含まれない色データが入力された場合に、この画像中のボケは特に問題となる。すなわち、雑音成分がない色データに対しては、画像のボケという欠点のみが発生することとなる。
【0045】
一方、本実施の形態の色変換装置(図1)により得られる第二の色データRo、Go、Bo(図6)においては、画像のボケも発生していない。すなわち、画素位置16から17へのデータの変化、および画素位置42から43へのデータの変化はなだらかになっていない。これは、第一の画像データRi、Gi、Biには雑音除去を施すことなく色補正量加算手段2に供給しているからである。
【0046】
以上より、本実施の形態における色変換装置または色変換方法によれば、色データの彩度や明度を高めるような処理を行った場合においても、色データに含まれる雑音成分の影響を更に強調することなく、また、雑音成分の影響の抑制による画像のボケの発生も抑えることが可能となる。
【0047】
近年、テレビの画像やDVDに記録したビデオの画像をパーソナルコンピュータにより見るような場合も増えつつある。一般に、ビデオ画像やテレビ画像には大きな雑音成分が含まれる場合が多い。一方、パーソナルコンピュータにて発生されるグラフィック画面は非常に雑音成分が少なく、また文字情報など精細度が要求される表示も多く、画像のボケは非常に問題となる。一方、画像表示装置においては、入力される画像データが、ビデオ画像やテレビ画像を表すものであるか、文字情報を表すものであるかを判別する手段がない場合が一般的である。したがって、パーソナルコンピュータにてビデオ画像やテレビ画像を観賞する際には、ビデオ画像やテレビ画像における雑音成分の強調を抑制でき、しかもパーソナルコンピュータで発生されるグラフィックの画面における画像のボケも抑制可能な本発明の色変換装置または色変換方法は非常に有用である。
【0048】
なお、上記においては、色補正量演算手段の構成としてはマトリクス演算方式であるものとしたが、テーブル変換方式であっても同様である。テーブル変換方式は、入力される色データの組のそれぞれに対して変換後のデータを指定できるため、様々な変換特性が実現可能である長所があるが、データの時間的、空間的な変化、すなわち雑音の影響に対しては、マトリクス演算方式と比較して特に改善されるものでない。したがって、色補正量生成手段に雑音除去手段を備えることにより、色データに含まれる雑音成分の影響を更に強調することなく色変換処理が行えるという効果は、マトリクス演算方式と同様である。
【0049】
また、本実施の形態では、ハードウェアで実現する場合について述べたが、同様の処理をソフトウェアによって実現することも可能である。
【0050】
実施の形態2.
上記実施の形態1においては、色補正量生成手段は、雑音除去手段により雑音を除去されたデータを用いて色補正量を求めるように構成した。このようにする代りに、色補正量生成手段は、画像データから色補正量算出を行った後、雑音除去手段で雑音除去を行って色補正量を求めるように構成することもできる。
【0051】
図10は、この発明の実施形態2による色変換装置の構成の一例を示すブロック図である。第一の色データRi、Gi、Biは色補正量生成手段1bおよび色補正量加算手段2へと入力される。色補正量生成手段1bは、色補正量演算手段4bおよび雑音除去手段3を備え、第一の色データRi、Gi、Biは色補正量演算手段4bへと入力される。色補正量演算手段4bでは、第一の色データRi、Gi、Biより色補正量R3、G3、B3を算出し、雑音除去手段3へと出力する。雑音除去手段3では、色補正量演算手段4bから出力される色補正量R3、G3、B3に含まれる雑音成分を除去し、雑音除去された色データを色補正量R1、G1、B1として出力する。色補正量加算手段2には、第一の色データRi、Gi、Biおよび色補正量R1、G1、B1が入力され、これらを加算することにより第二の色データRo、Go、Boが算出される。
【0052】
上記実施の形態1と同様に、第一の色データは、画像生成の際に生成された本来の色データ成分Rs、Gs、Bsと、雑音成分Rn、Gn、Bnより、Ri=Rs+Rn、Gi=Gs+Gn、Bi=Bs+Bnと表すことができる。色補正量演算手段4bは、第一の色データRi、Gi、Biが入力され、色補正量R3、G3、B3を出力する他は、上記実施の形態1における色補正量演算手段4と同様の構成とすることができる。すなわち、色補正量演算手段4bにおいては、上記式(2)と同様の下記式(5)に示す線形演算により色補正量R3、G3、B3を求める。即ち、式(5)の演算も、上記式(2)と同様、例えば少なくとも一つの色の明度及び彩度の少なくとも一つを高めるための補正量を求めるためのものである。
【0053】
【数5】
Figure 2004241893
【0054】
上記式(5)における演算係数もまた、上記実施の形態1で用いたのと同一の下記式(3)に示す係数を用いることができる。下記式(3)に示す係数は、画像データの一つの特定の色である赤の明度、彩度を高める係数である。
【0055】
【数6】
Figure 2004241893
【0056】
上記実施の形態1と同様に、図4にて示される第一の色データRi、Gi、Biが入力される場合を考える。すなわち、画素位置26および27において、第一の色データはRi=146、Gi=40、Bi=38、およびRi=174、Gi=46、Bi=60である。
【0057】
図11は、色補正量演算手段4bから出力される色補正量R3、G3、B3を示す図である。図において、横軸は各データの存在する画素位置を表し、縦軸は各データの大きさを表す。画素位置26および27において、色補正量はR3=43、G3=0、B3=0、およびR3=52、G3=0、B3=0である。
【0058】
雑音除去手段3は、上記実施の形態1に関し図2を参照して説明したのと同じ構成とすることができる。但し、色補正量演算手段4bから出力される色補正量R3、G3、B3を入力とし、雑音除去された色補正量R1、G1、B1を出力とする。
ここで、雑音除去手段3の重み付け加算手段6において、単純平均値が算出されるものとする。
【0059】
図12は、雑音除去手段3から出力される色補正量R1、G1、B1を示す図である。図において、横軸は各データの存在する画素位置を表し、縦軸は各データの大きさを表す。画素位置26および27において、色補正量はR1=47、G1=0、B1=0、およびR1=46、G1=0、B1=0である。
【0060】
雑音除去手段3から出力された色補正量R1、G1、B1は、色補正量加算手段2にて第一の色データRi、Gi、Biに加算され、第二の色データRo、Go、Boが算出される。
図13は、色補正量加算手段2より出力される第二の色データRo、Go、Boの一例を表す図である。図において、横軸は各データの存在する画素位置を表し、縦軸は各データの大きさを表す。また、赤を表すデータRoに注目するため、Roの変化は特に太線にて示している。図中で矢印にて示しているのは、画素位置26および27のRoであり、それぞれ値は193、220である。
【0061】
ここで、画素位置26および27における第二の色データRoの値の差は、220−193=27である。一方、画素位置26および27における第一の色データRiの値の差は、174−146=28である。画素位置26および27における第一の色データRiの値の差は、雑音成分の影響により生じたものである。
【0062】
このように、本実施の形態における色変換装置または色変換方法においても、色データに含まれる雑音成分の影響を更に強調することなく、色データの彩度や明度を高める処理が行われている。
【0063】
実施の形態3.
図14は、この発明の実施形態3による色変換装置の構成の一例を示すブロック図である。第一の色データRi、Gi、Biは色補正量生成手段1cおよび色補正量加算手段2へと入力される。色補正量生成手段1cは、無彩色成分算出手段9、有彩色成分算出手段10、雑音除去手段3、色補正量演算手段4cを備え、第一の色データRi、Gi、Biは、無彩色成分算出手段9及び有彩色成分算出手段10へと入力される。無彩色成分算出手段9では、第一の色データRi、Gi、Biの最小値を選択し、無彩色成分データαとして出力する。無彩色成分データαは、第一の色データのうちの無彩色の成分、すなわちグレイ成分を表すデータである。
【0064】
図15は、無彩色成分データαを表す図である。図において、縦軸はデータの大きさを表す。無彩色成分データαの大きさは、第一の色データRi、Gi、Biが等量で存在する大きさであり、第一の色データに含まれるグレイ成分の大きさを表す。
【0065】
無彩色成分データαは、有彩色成分算出手段10及び色補正量演算手段4cへと入力される。有彩色成分算出手段10では、第一の色データRi、Gi、Biから無彩色成分データαを減じることにより、即ち、
R4=Ri−α
G4=Gi−α
B4=Bi−α
により、有彩色成分データR4、G4、B4を算出する。有彩色成分データは、第一の色データから無彩色成分を除いたものであり、第一の色データに含まれる色相、彩度の情報に関わるデータである。また、有彩色成分データは、第一の色データに含まれるグレイ成分には関わらない。
【0066】
有彩色成分データR4、G4、B4は雑音除去手段3へと入力され、雑音除去手段3は、雑音除去された有彩色成分データR5、G5、B5を算出する。雑音除去手段3は、上記実施の形態1に関し図2を参照して説明した構成(図2に示す回路を3つ備えた構成)とすればよく、この場合、第一の画像データRi、Gi、Biの代りに、有彩色成分データR4、G4、B4を入力信号とし、雑音除去された有彩色色成分データR5、G5、B5を出力信号とする。雑音除去された有彩色成分データR5、G5、B5は色補正量演算手段4cへと入力され、色補正量演算手段4cは、色補正量R1、G1、B1を算出する。色補正量演算手段4cは、下記の式(6)に示す演算により色補正量R1、G1、B1を算出する。式(6)の演算も、上記式(2)と同様、例えば少なくとも一つの色の明度及び彩度の少なくとも一つを高めるための補正量を求めるためのものである。
【0067】
【数7】
Figure 2004241893
【0068】
色補正量加算手段2には、第一の色データRi、Gi、Biおよび色補正量R1、G1、B1が入力され、これらを加算することにより第二の色データRo、Go、Boが算出される。
【0069】
上記実施の形態1と同様に、図4にて示される第一の色データRi、Gi、Biが入力される場合を考える。すなわち、画素位置26および27において、第一の色データはRi=146、Gi=40、Bi=38、およびRi=174、Gi=46、Bi=60である。
【0070】
図16は、有彩色成分データR4、G4、B4の一例を表す図であり、図4にて示される第一の色データRi、Gi、Biに対して求められる有彩色成分データR4、G4、B4を表す。図において、横軸は各データの存在する画素位置を表し、縦軸は各データの大きさを表す。画素位置26および27において、有彩色成分データはR4=108、G4=2、B4=0、およびR4=128、G4=0、B4=14である。
【0071】
ここで、雑音除去手段3の重み付け加算手段6において、単純平均値が算出されるものとする。この時、雑音除去された有彩色成分データR5、G5、B5は、図17にて示される。
【0072】
色補正量演算手段4cにおいては、上記式(6)に示す演算により色補正量R1、G1、B1を算出するが、係数として上記実施の形態1で用いたのと同一の下記式(3)に示す係数を用いることができる。下記式(3)に示す係数は、画像データの一つの特定の色である赤の明度、彩度を高める係数である。
【0073】
【数8】
Figure 2004241893
【0074】
図18は、上記式(3)に示す係数を用いた場合における第二の色データRo、Go、Boを表す図である。図において、横軸は各データの存在する画素位置を表し、縦軸は各データの大きさを表す。また、赤を表すデータRoに注目するため、Roの変化は特に太線にて示している。図中で矢印にて示しているのは、画素位置26および27のRoであり、それぞれ値は180、207である。ここで、画素位置26および27における第二の色データRoの値の差は、207−180=27である。一方、画素位置26および27における第一の色データRiの値の差は、174−146=28である。画素位置26および27における第一の色データRiの値の差は、雑音成分の影響により生じたものである。
【0075】
また、画素位置26において、第二の色データはRo=180、Go=40、Bo=38となり、彩度は0.79、明度は180となる。一方、画素位置26において、第一の色データはRi=146、Gi=40、Bi=38であり、彩度は0.74、明度は146となる。したがって、第二の色データにおいては、第一の色データと比較して彩度、明度ともに高くなっている。
さらに第一の色データとしてグレイのデータ、例えばRi=100、Gi=100、Bi=100が入力された場合、第二の色データもRo=100、Go=100、Bo=100となり、色変換の影響を受けない。
【0076】
以上より、本実施の形態における色変換装置または色変換方法において、色データに含まれる雑音成分の影響を更に強調することなく、色データの彩度や明度を高める処理が行われる。また、第一の色データを無彩色成分と有彩色成分に分離した後に色補正量を求めているので、無彩色(グレイ)の色再現に影響を与えることなく、色データの色相、彩度や明度の調整が可能となる。
また、有彩色成分に対してのみ雑音除去を行うので、白黒の画像データに対しては雑音除去の影響は生じない。例えば、パーソナルコンピュータにてカラーのビデオ画像を表示するとともに、白黒で表現された文書を表示した場合、ビデオ画像には雑音除去の効果が表れるが、白黒の文書には雑音除去の影響によるボケは生じない。
【0077】
実施の形態4.
上記実施の形態3においては、第一の色データを無彩色成分と有彩色成分に分離し、有彩色成分に対してのみ雑音除去するように構成した。このようにする代りに、有彩色成分のみでなく、無彩色成分に対しても有彩色成分と個別に雑音除去するように構成することもできる。
【0078】
図19は、この発明の実施形態4による色変換装置の構成の一例を示すブロック図である。第一の色データRi、Gi、Biは色補正量生成手段1dおよび色補正量加算手段2へと入力される。色補正量生成手段1dは、無彩色成分算出手段9、有彩色成分算出手段10、有彩色雑音除去手段11、無彩色雑音除去手段12、色補正量演算手段4cを備え、第一の色データRi、Gi、Biは、無彩色成分算出手段9及び有彩色成分算出手段10へと入力される。無彩色成分算出手段9では、第一の色データRi、Gi、Biの最小値を選択し、無彩色成分データαとして出力する。
【0079】
無彩色成分データαは、有彩色成分算出手段10及び無彩色雑音除去手段12へと入力される。有彩色成分算出手段10では、第一の色データRi、Gi、Biから無彩色成分データαを減じることにより、有彩色成分データR4、G4、B4を算出する。有彩色成分データR4、G4、B4は有彩色雑音除去手段11へと入力され、有彩色雑音除去手段11は、雑音除去された有彩色成分データR5、G5、B5を算出する。また、無彩色雑音除去手段12は、雑音除去された無彩色成分データを算出する。
【0080】
有彩色雑音除去手段11は、上記実施の形態1の雑音除去手段3と同じ構成(図2の構成を3つ備えたもの)とすることができる。この場合、有彩色雑音除去手段11は、有彩色成分算出手段10から出力される有彩色成分データR4、G4、B4を入力とし、雑音除去された有彩色成分データR5、G5、B5を出力する。無彩色雑音除去手段12は、上記実施の形態1の説明に用いた図2に示す構成とすることができ、無彩色成分算出手段9から出力される無彩色成分としての最小値αを入力とし、雑音成分が除去された無彩色成分を出力する。
雑音除去された有彩色成分データR5、G5、B5及び雑音除去された無彩色成分データは、色補正量演算手段4cへと入力され、色補正量演算手段4cは、色補正量R1、G1、B1を算出する。色補正量加算手段2には、第一の色データRi、Gi、Biおよび色補正量R1、G1、B1が入力され、これらを加算することにより第二の色データRo、Go、Boが算出される。
【0081】
本実施の形態における色変換装置においては、有彩色成分データのみでなく、無彩色成分データに対しても有彩色成分データと個別に雑音除去するように構成した点が、上記実施の形態3における色変換装置と異なる。無彩色成分データは、有彩色成分データとの組み合わせで彩度の情報に関わるが、単体では明るさの情報のみを持つデータであり、人間の視覚特性に対しては、有彩色データとは異なる特性を持つことが考えられる。したがって、有彩色成分データと個別に無彩色成分データ雑音除去することにより、それぞれ視覚特性に合わせた雑音除去の影響、効果の大きさを選択することが可能となる。
【0082】
【発明の効果】
この発明の色変換装置および方法は以上説明したように、複数の第一の色データからなる画素毎の画像情報である第一の画像データを色変換して、複数の第二の色データからなる第二の画像データを求める色変換装置において、上記第一の画像データに基づく色補正量算出及び雑音除去を行って色補正量を求める色補正量生成手段と、上記第一の画像データに上記色補正量を加算して、上記第二の画像データを求める加算手段とを備えるものであるので、色データの彩度や明度を高めるような処理を行った場合においても、色データに含まれる雑音成分の影響を更に強調することなく、また、雑音成分の影響の抑制による画像のボケの発生も抑えることが可能となる。
【図面の簡単な説明】
【図1】この発明の実施の形態1による色変換装置の構成の一例を示すブロック図である。
【図2】この発明の実施の形態1による色変換装置における雑音除去手段3の部分的な構成の一例を表すブロック図である。
【図3】本来の色データRs、Gs、Bsの一例を表す図である。
【図4】雑音成分が存在する場合の画像表示装置に入力される第一の色データの一例を表す図である。
【図5】雑音除去された色データの一例を表す図である。
【図6】この発明の実施の形態1における第二の色データの一例を表す図である。
【図7】雑音除去手段をR2=Ri、G2=Gi、B2=Biとなるように構成した場合の第二の色データの一例を表す図である。
【図8】雑音除去手段を付加した従来の色変換装置の一例を表すブロック図である。
【図9】雑音除去手段を付加した従来の色変換装置により求められる第二の色データの一例を表す図である。
【図10】この発明の実施の形態2による色変換装置の構成の一例を示すブロック図である。
【図11】この発明の実施の形態2による色変換装置における色補正量演算手段から出力される色補正量の一例を示す図である。
【図12】この発明の実施の形態2による色変換装置における雑音除去手段から出力される色補正量の一例を示す図である。
【図13】この発明の実施の形態2による色変換装置における色補正量加算手段より出力される第二の色データの一例を表す図である。
【図14】この発明の実施の形態3による色変換装置の構成の一例を示すブロック図である。
【図15】無彩色成分データαを表す図である。
【図16】この発明の実施の形態3による色変換装置における有彩色成分データの一例を表す図である。
【図17】この発明の実施の形態3による色変換装置における雑音除去された有彩色成分データの一例を表す図である。
【図18】この発明の実施の形態3による色変換装置における第二の色データの一例を表す図である。
【図19】この発明の実施の形態4による色変換装置の構成の一例を示すブロック図である。
【符号の説明】
1、1b、1c、1d 色補正量生成手段、 2 色補正量加算手段、 3 雑音除去手段、 4、4b、4c 色補正量演算手段、 5 データシフト手段、 5a〜5h データ格納部、 6 重み付け加算手段、 7 色変換手段、10 有彩色成分算出手段、 11 有彩色雑音除去手段、 12 無彩色雑音除去手段。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to data processing for use in printers, video printers, scanners, and other full-color printing-related devices such as printing-related devices, or display devices such as monitors. The present invention relates to a color conversion device and method for performing color conversion processing in combination.
[0002]
[Prior art]
An example of a conventional color conversion device and method is described in Patent Document 1 below. In this conventional color conversion apparatus and method, means for calculating the minimum value α and the maximum value β of the first color data Ri, Gi, Bi constituting the first image data, and the first color data Ri, Means for calculating hue data using Gi, Bi, the minimum value α and the maximum value β, means for generating first comparison data between hue data using hue data, and use of the first comparison data Means for generating second comparison data between hue data, calculation means for performing calculations based on hue data, means for generating predetermined matrix coefficients, first and second comparison data, and calculation means Means for performing a predetermined matrix operation using the output from the hue data r, g, and b and the matrix coefficient, and outputting the calculated image data; and adding the minimum value α to the output image data. Color-converted second image Means for combining and outputting image data.
(See Patent Document 1)
[0003]
[Patent Document 1]
JP 2000-287074 A
[0004]
[Problems to be solved by the invention]
In a conventional color conversion device or color conversion method, in the case where noise components are included in the color data, if processing is performed to increase the saturation or brightness of the color data, the effect of the noise components will be further emphasized, There is a problem that the image becomes very difficult to see. When the color data is input to the color conversion means via the noise removal means in order to reduce the influence of the noise component included in the color data, the noise component is removed, but the change in the original data is reduced. There has been a problem that the change is gradual and the image is blurred.
[0005]
Hereinafter, the above points will be described in more detail. The color conversion is performed to obtain a desired color reproduction in the image display device, and the desired color reproduction includes “faithful color reproduction” and “preferred color reproduction”. The term "faithful color reproduction" refers to color reproduction faithful to a real color. As a method for realizing the color reproduction, color reproduction using a standard such as NTSC or sRGB or a standard color space can be considered. On the other hand, “preferred color reproduction” is color reproduction that humans feel more preferable in consideration of human visual characteristics and memory colors, and does not always match “faithful color reproduction”. In color reproduction at the time of displaying a moving image such as a television image, “preferred color reproduction” is often performed. Human memory colors tend to be stored as colors with higher saturation and lightness, such as sky colors and grass greens, that are more vivid than actual colors. Therefore, in realizing “preferred color reproduction”, color conversion processing for increasing color saturation and lightness is often performed on input color data. Further, even in faithful color reproduction, there are many cases where color conversion processing that increases the color saturation and lightness is performed on input color data. This is because the color reproduction range of the used image display means is narrow.
[0006]
On the other hand, the first color data input to the image display device or the like does not always match the original color data generated on the color data generation side such as a camera. This is because the process of transmitting color data is affected by various noises. Consider a case where original color data generated by a camera is transmitted via a transmission path and input to an image display device. The original color data output from the camera is Rs, Gs, Bs, and is the color data representing red, green, and blue, respectively. The first color data input to the image display device is defined as Ri, Gi, Bi. Rs = Ri, Gs = Gi, Bs = Bi should be obtained if the transmission and reception procedures at the time of transmission are correctly performed without the influence of noise in the transmission path. However, it is conceivable that the transmission path is actually affected by noise. Assuming that noise components that affect noise on each color data are Rn, Gn, and Bn, the first color data Ri, Gi, and Bi input to the image display device are Ri = Rs + Rn, Gi = Gs + Gn, and Bi = It can be expressed as Bs + Bn.
[0007]
When performing color conversion processing on the first color data Ri, Gi, Bi input to the image display device so as to increase color saturation or lightness in order to realize “preferred color reproduction” As a result, the saturation and brightness of the original color data component are increased, and the saturation and brightness of the noise component are also increased.
[0008]
When the noise component included in the pixel data is white noise, the noise component has a component in a wide frequency range from a low frequency to a high frequency. It is also conceivable that the noise component included in the pixel data has a strong component at a specific frequency. For example, in the case of a noise component due to the influence of a carrier used during transmission, the noise component has a strong component near the frequency of the carrier.
[0009]
When the noise component has a strong component at a specific frequency, the noise removing unit is configured as a filter that removes (attenuates) the frequency component. On the other hand, when the noise component included in the image data is white noise, it is effective to configure a filter that removes (attenuates) a frequency component that is particularly visually noticeable among the noise components. Strictly visible frequency components are strictly specified taking into account the pixel spacing and viewing distance of the display device, but in the current image display device, the pixel frequency of the image data among the noise components is In many cases, high frequency components close to are noticeable. This is considered that, in the current pixel interval of the image display device, if the data of the adjacent pixels frequently and unrelatedly change due to the influence of the noise component, the noise is perceived by humans as a large noise. Here, the pixel frequency means that the image data of each successive pixel is, for example, 0, 1, 0, 1, 0,. . . 1 / of the clock frequency of the image data.
[0010]
As described above, the configuration of the noise removing unit is determined by the characteristics of the noise component. Hereinafter, a case where a noise component of a high frequency component close to the pixel frequency of the image data is removed will be described as an example. In this case, the high-frequency component in the input data is cut off or largely attenuated, the low-pass filter transmitting the low-frequency component constitutes a noise removing unit, and the first color data is sent to the color conversion unit via the noise removing unit. By inputting, it becomes possible to reduce the emphasis of the noise component. However, in this case, in addition to the noise component included in the first color data, the high-frequency component of the original color component is also cut off, causing a problem that image blur occurs. For example, when the noise removing unit is configured as a filter that removes a noise component having a frequency equal to or more than 1/8 of the pixel frequency of the image data, the original color component is also equal to or greater than 1/8 of the pixel frequency of the image data. The frequency is removed, and the image is blurred.
Generally, of the original color components, the frequency components removed by the noise removing means 3 are removed.
[0011]
An object of the present invention is to suppress the influence of a noise component without further emphasizing the effect of a noise component included in the color data even when performing a process of increasing the saturation or brightness of the color data. It is an object of the present invention to provide a color conversion device and method capable of suppressing occurrence of image blur.
[0012]
[Means for Solving the Problems]
A color conversion device according to the present invention performs color conversion on first image data that is image information for each pixel including a plurality of first color data, and generates second image data including a plurality of second color data. A color conversion device for calculating a color correction amount based on the first image data and removing noise to obtain a color correction amount, and adding the color correction amount to the first image data. And adding means for obtaining the second image data.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the present invention will be specifically described with reference to the drawings showing the embodiments.
Embodiment 1 FIG.
FIG. 1 is a block diagram showing an example of a configuration of a color conversion device according to an embodiment of the present invention.
[0014]
The first color data Ri, Gi, Bi are input to the color correction amount generating means 1 and the color correction amount adding means 2. The color correction amount generator 1 includes a noise remover 3 and a color correction amount calculator 4, and the first color data Ri, Gi, Bi are input to the noise remover 3. The noise removing unit 3 removes a noise component in the first color data and outputs noise-free color data R2, G2, B2. The color data R2, G2, and B2 from which noise has been removed are input to the color correction amount calculation unit 4, and the color correction amount calculation unit 4 calculates the color correction amounts R1, G1, and B1. The first color data Ri, Gi, Bi and the color correction amounts R1, G1, B1 are input to the color correction amount adding means 2, and the second color data Ro, Go, Bo are calculated by adding these. Is done.
Note that the color correction amount does not always have a positive value and may have a negative value.
[0015]
Since the first color data is affected by various noises in a transmission process, the first color data is composed of an original color data component generated at the time of image generation and a noise component generated by the influence of the subsequent noise. . The original color data is Rs, Gs, and Bs, and the color data represents red, green, and blue, respectively. The first color data is defined as Ri, Gi, Bi. If there is no influence of noise, Rs = Ri, Gs = Gi, and Bs = Bi. However, it is actually affected by noise. Assuming that noise components that affect noise on each color data are Rn, Gn, and Bn, the first color data Ri, Gi, and Bi input to the image display device are Ri = Rs + Rn, Gi = Gs + Gn, and Bi = It can be expressed as Bs + Bn. That is, the first color data Ri, Gi, Bi input to the image display device is represented by the sum of the original color data components Rs, Gs, Bs and the noise components Rn, Gn, Bn. Will be.
[0016]
As described in the related art, the configuration of the noise removing unit 3 is determined according to the characteristics of the noise component. Hereinafter, a case where a noise component of a high frequency component close to the pixel frequency of the image data is removed will be described as an example. In this case, the noise removing unit 3 can be configured by a low-pass filter that blocks or largely attenuates high-frequency components in the input data and transmits low-frequency components.
More specifically, a low-pass filter that cuts off or largely attenuates a frequency component of about 1 / 4.5 or more of the pixel frequency, that is, 1/9 or more of the clock frequency of the pixel data is used.
As a low-pass filter having a simple configuration, a configuration in which a simple average value of image data of a plurality of continuous pixels is calculated can be considered. At this time, the filter characteristic is determined by the number of pixels used for calculating the simple average value.
[0017]
FIG. 2 is a block diagram illustrating an example of a partial configuration of the noise removing unit 3, that is, a configuration of a portion that calculates R2 from the color data Ri. A portion for calculating G2 from Gi and a portion for calculating B2 from Bi can have the same configuration. As shown, the noise removing unit 3 includes a data shift unit 5 including a plurality of data storage units 5a to 5h, and a weighting and adding unit 6.
The first color data Ri input to the noise removing unit 3 is input to the data storage unit 5a. The data storage units 5a to 5h are connected in cascade with each other. Each time the first color data is input, the data in the data storage unit 5a is sent to the data storage unit 5b, and the data in the data storage unit 5b is sent to the data storage unit. Data is simultaneously shifted to 5c.
The data held in the data storages 5a to 5h is input to the weighting and adding means 6.
[0018]
The weighting and adding means 6 performs weighting and addition on the data from the data storage units 5a to 5h and outputs the data as noise-free color data R2. If the weighting performed by the weighting and adding means 6 is made equal, that is, the weighting coefficients are set to the same value, and a simple average value is calculated. Therefore, the noise-removed color data R2 calculated by the noise removing unit 3 is represented by the following equation (1).
[0019]
(Equation 1)
Figure 2004241893
[0020]
In equation (1), Ri [n] represents the nth input first color data, and function f represents weighted addition.
When the first data is input to the noise elimination means, the same data as the first data is all simultaneously input to the data storages 5a to 5h. After the last data is input to the noise removing unit, the same data as the last data input to the noise removing unit is continuously input to the data storage unit 5a.
[0021]
FIG. 3 is a diagram illustrating an example of the original color data Rs, Gs, Bs. In the figure, the horizontal axis represents the pixel position where each data exists, and the vertical axis represents the size of each data. Further, in order to pay attention to the data Rs representing red, a change in Rs is particularly indicated by a thick line. Rs = 80, Gs = 48, Bs = 48 at pixel positions 0 to 16 and 43 to 63, and Rs = 160, Gs = 48, Bs = 48 at pixel positions 17 to 42. This means that there is a red color having higher saturation and lightness at pixel positions 17 to 42 as compared to both sides thereof. Here, the saturation can be represented by dividing the difference between the maximum value and the minimum value of the color signal by the maximum value, and the lightness can be represented by the maximum value of the color signal. According to this, the saturation at pixel positions 0 to 16 and 43 to 63 is represented by 0.4 and the lightness is 80, and the saturation at pixel positions 17 to 42 is represented by 0.7 and the lightness is 160.
[0022]
FIG. 4 shows color data obtained when noises Rn, Gn, and Bn are added to the original color data Rs, Gs, and Bs, that is, first color data Ri that is input to the image display device when a noise component exists. , Gi, and Bi. In the figure, the horizontal axis represents the pixel position where each data exists, and the vertical axis represents the size of each data. Further, in order to pay attention to the data Ri representing red, a change in Ri is particularly indicated by a thick line. In the figure, the arrows at the pixel positions 26 and 27 are indicated by arrows, and the values are 146 and 174, respectively. Ri at the pixel positions 26 and 27 should originally have the same value, and the difference between the values is due to the influence of the noise component. At this time, Gi is 40, 46 and Bi is 38, 60 at the pixel positions 26 and 27.
[0023]
Here, it is assumed that the weighting and adding means 6 calculates a simple average value.
With the first color data Ri, Gi, Bi shown in FIG. 4 as input, the noise-free color data R2, G2, B2 obtained by the noise removing means 3 described with reference to FIG. 2 are shown in FIG. Show. In the figure, the horizontal axis represents the pixel position where each data exists, and the vertical axis represents the size of each data. As shown in FIG. 5, in the color data R2, G2, and B2 from which noise has been removed, the change in the data change portion is also gentle, but the noise component has also been removed.
[0024]
The color correction amount calculating means 4 calculates color correction amounts R1, G1, B1 using the color data R2, G2, B2 from which noise has been removed, and adds the calculated color correction amounts R1, G1, B1 to the color correction amount adding means. Output to 2. The first color data Ri, Gi, Bi are also input to the color correction amount adding means 2, and the color correction amounts are added to the color correction amounts R1, G1, B1 in the color correction amount adding means 2, and the second color data Ro, Go. , Bo are calculated.
[0025]
The color correction amount calculating means 4 performs a calculation for obtaining a correction amount for increasing at least one of the brightness and the saturation of at least one color, for example, a linear calculation represented by the following equation (2). To obtain the color correction amounts R1, G1, and B1.
[0026]
(Equation 2)
Figure 2004241893
[0027]
The coefficient shown in the following equation (3) is an example of a coefficient used for the equation (2).
[0028]
[Equation 3]
Figure 2004241893
[0029]
The coefficient shown in the above equation (3) is a coefficient that increases the brightness and saturation of one specific color, red, of the image data. For simplicity, it is assumed that the values of the color data R2, G2, and B2 from which noise has been removed have the same values as the first color data Ri, Gi, and Bi. For example, if the color data from which noise has been removed is R2 = 80, Consider the case where G2 = 48 and B2 = 48. At this time, R1 = 24, G1 = 0, B1 = 0, and the second color data is Ro = R2 + R1 = 104, Go = G2 + G1 = 48, Bo = B2 + B1 = 48. When the noise-free color data is R2 = 160, G2 = 48, B2 = 48, R1 = 48, G1 = 0, B1 = 0, and the second color data is Ro = R2 + R1 = 208, Go = G2 + G1 = 48 and Bo = B2 + B1 = 48.
For the color data from which noise has been removed, the former has a saturation of 0.4 and the lightness of 80, and the latter has a saturation of 0.7 and a lightness of 160. On the other hand, for the second color data, the former has a saturation of 0.54 and a brightness of 104, and the latter has a saturation of 0.77 and a brightness of 208. Therefore, by performing the color conversion, the brightness and the saturation of the image data are both increased.
[0030]
FIG. 6 is a diagram showing an example of the second color data Ro, Go, Bo. The first color data Ri, Gi, Bi shown in FIG. 4 is input and the coefficient shown in the equation (3) is used. This is the second color data calculated when there is a color. In the figure, the horizontal axis represents the pixel position where each data exists, and the vertical axis represents the size of each data. Further, in order to pay attention to the data Ro representing red, a change in Ro is particularly indicated by a thick line. In the figure, the arrows at the pixel positions 26 and 27 are indicated by arrows, and their values are 193 and 220, respectively.
[0031]
Here, the difference between the values of the second color data Ro at the pixel positions 26 and 27 is 220-193 = 27. On the other hand, the difference between the values of the first color data Ri at the pixel positions 26 and 27 is 174-146 = 28. The difference between the values of the first color data Ri at the pixel positions 26 and 27 is caused by the influence of the noise component.
[0032]
Therefore, according to the color conversion device or the color conversion method in the present embodiment, a process for increasing the saturation and brightness of the color data is performed without further emphasizing the influence of the noise component included in the color data. I have. When the influence of the noise component in the image data is emphasized, the image displayed on the image display device becomes very difficult to see, but in the color conversion device or the color conversion method according to the present embodiment, the second color The magnitude of the noise component in the data is equal to that of the first color component, thereby avoiding an increase in the influence of the noise component.
[0033]
In the above example, the color correction amount calculating means 4 performs a calculation to increase the brightness and saturation of one color, red. However, the color correction amount calculating means 4 increases the brightness and saturation of two or more colors. The color correction amount calculation may be performed. Also, the present invention can be applied to a case where color correction is performed not to increase brightness or saturation but to decrease it. When the brightness or the saturation is reduced, the color correction amount becomes a negative value.
[0034]
The feature of the color conversion device or the color conversion method according to the present embodiment is that the color correction amount generating means 1 includes a noise removing means 3, and the color correction amount generating means 1 performs color correction amount calculation and noise removal to perform color correction. The correction amount is obtained and supplied to the color correction amount adding means 2. The color correction amount adding means 2 calculates the color correction amount after the noise removal as described above and the first image data without the noise removal as described above. To obtain the second image data. Hereinafter, the effect will be described in more detail by comparison with a case where the color correction amount generating unit 1 does not include the noise removing unit 3.
[0035]
In the color conversion apparatus shown in FIG. 1, if the noise removing means 3 is configured such that R2 = Ri, G2 = Gi, and B2 = Bi, it is equivalent to the case where the noise removing means 3 is not provided.
[0036]
Similar to the above, a case is considered where the first color data Ri, Gi, Bi shown in FIG. 4 in which a noise component is added to the original color data Rs, Gs, Bs shown in FIG. 3 is input. . That is, at the pixel positions 26 and 27, the original color data are both Rs = 160, Gs = 48, and Bs = 48. At the pixel positions 26 and 27, the first color data is Ri = 146, Gi = 40, Bi = 38, and Ri = 174, Gi = 46, Bi = 60.
[0037]
Since the noise removing unit 3 is not provided, R2 = Ri, G2 = Gi, and B2 = Bi are input to the color correction calculating unit 4. The color correction amount calculation means 4 calculates the color correction amounts R1, G1, and B1 by the matrix calculation shown in the above equation (2) using the coefficient shown in the above equation (3). The color correction amount adding means 2 calculates the second color data Ro, Go, Bo by adding the first color data Ri, Gi, Bi and the color correction amounts R1, G1, B1.
[0038]
FIG. 7 is a diagram illustrating the second color data Ro, Go, and Bo when the noise removing unit 3 is not provided and R2 = Ri, G2 = Gi, and B2 = Bi. In the figure, the horizontal axis represents the pixel position where each data exists, and the vertical axis represents the size of each data. Compared to FIG. 6 showing the second color data Ro, Go, Bo obtained when the noise removing means 3 is provided, it can be seen that the noise component is also enhanced by the color conversion processing. In the figure, the arrows indicate the second color data Ro of the pixel positions 26 and 27, the values of which are 189 and 226, respectively. On the other hand, the values of the first color data Ri at the pixel positions 26 and 27 are 146 and 174, respectively. The difference between the values of the first color data Ri at the pixel positions 26 and 27 is 174-146 = 28, and this value indicates the magnitude of the noise component included in the first color data at the present pixel position. On the other hand, the difference between the values of the second color data Ro at the pixel positions 26 and 27 is 226-189 = 37, which is a large value. This indicates that the noise component included in the first color data is emphasized. When the influence of the noise components Rn, Gn, Bn in the image data is emphasized, the image displayed on the image display device becomes very difficult to see.
[0039]
Here, as described above, the difference between the values of the second color data Ro at the pixel positions 26 and 27 obtained by the color conversion apparatus according to the present embodiment including the noise removing unit 3 is 27, and the noise component is Not emphasized.
[0040]
As a method of reducing the influence of the noise component included in the first color data, it is conceivable to input the first color data to the color conversion means via the noise removing means. FIG. 8 is a block diagram illustrating an example of a conventional color conversion apparatus to which a noise removing unit is added, and is configured to input first color data to the color converting unit 7 via the noise removing unit 3. . The first color data Ri, Gi, Bi are input to the noise removing means 3. The noise removing unit 3 removes a noise component in the first color data and outputs noise-free color data R2, G2, B2. The color data R2, G2, and B2 from which noise has been removed are input to the color conversion means 7. The color conversion unit 7 includes a color correction amount calculation unit 4 and a color correction amount addition unit 2. The color correction amount calculating means 4 calculates the noise from the color data R2, G2, and B2 from which noise has been removed by the matrix calculation shown in the above equation (2) using the coefficient shown in the above equation (3), as in the above case. The color correction amounts R1, G1, and B1 are calculated. The color correction amount adding means 2 calculates the second color data Ro, Go, Bo by adding the color data R2, G2, B2 from which noise has been removed and the color correction amounts R1, G1, B1, respectively. Therefore, in the color conversion device shown in FIG. 8, the second color data Ro, Go, Bo are represented by the following equation (4).
[0041]
(Equation 4)
Figure 2004241893
[0042]
The noise removing means 3 can have the configuration described with reference to FIG. Here, it is assumed that the weighted addition unit 6 of the noise removal unit 3 calculates a simple average value.
[0043]
FIG. 9 shows the second color data Ro, Go, Bo obtained by the color conversion device shown in FIG. At this time, it is assumed that first color data obtained by adding a noise component to the original color data shown in FIG. 4 is input. In the figure, the horizontal axis represents the pixel position where each data exists, and the vertical axis represents the size of each data. As shown in FIG. 9, although the noise components in the second color data Ro, Go, and Bo have been removed, the change of the changed portion of the data is gentle as indicated by the broken line in the figure. If the change of the change part of the data becomes gentle, it is recognized as blurred image. For example, blurring occurs in characters and boundaries in an image.
[0044]
In particular, when color data that is not affected by noise, that is, color data that does not include a noise component is input, blurring in the image is particularly problematic. In other words, for color data having no noise component, only the drawback of image blur occurs.
[0045]
On the other hand, in the second color data Ro, Go, Bo (FIG. 6) obtained by the color conversion apparatus (FIG. 1) of the present embodiment, no image blur occurs. That is, the change in data from pixel position 16 to 17 and the change in data from pixel position 42 to 43 are not gradual. This is because the first image data Ri, Gi, Bi are supplied to the color correction amount adding means 2 without performing noise removal.
[0046]
As described above, according to the color conversion device or the color conversion method of the present embodiment, even when a process of increasing the saturation or brightness of the color data is performed, the influence of the noise component included in the color data is further emphasized. It is also possible to suppress the occurrence of image blur due to the suppression of the influence of noise components.
[0047]
In recent years, the number of cases in which television images and video images recorded on DVDs are viewed by a personal computer has been increasing. In general, video images and television images often contain large noise components. On the other hand, a graphic screen generated by a personal computer has a very small noise component and many displays such as character information that require a high degree of definition, so that blurring of an image is a serious problem. On the other hand, an image display device generally has no means for determining whether input image data represents a video image or a television image or character information. Therefore, when watching a video image or a television image on a personal computer, it is possible to suppress the enhancement of noise components in the video image or the television image, and also to suppress blurring of an image on a graphic screen generated by the personal computer. The color conversion device or color conversion method of the present invention is very useful.
[0048]
In the above description, the configuration of the color correction amount calculation means is a matrix calculation method, but the same applies to a table conversion method. The table conversion method has an advantage that various conversion characteristics can be realized because the converted data can be specified for each of the input color data sets. That is, the effect of noise is not particularly improved as compared with the matrix operation method. Therefore, the effect that the color conversion processing can be performed without further emphasizing the influence of the noise component included in the color data by providing the color correction amount generating means with the noise removing means is the same as the matrix operation method.
[0049]
Further, in the present embodiment, the case where the processing is realized by hardware has been described, but the same processing can be realized by software.
[0050]
Embodiment 2 FIG.
In the first embodiment, the color correction amount generating means is configured to calculate the color correction amount using the data from which noise has been removed by the noise removing means. Instead of this, the color correction amount generating means may be configured to calculate the color correction amount from the image data and then remove the noise by the noise removing means to obtain the color correction amount.
[0051]
FIG. 10 is a block diagram illustrating an example of a configuration of a color conversion device according to Embodiment 2 of the present invention. The first color data Ri, Gi, Bi are input to the color correction amount generating means 1b and the color correction amount adding means 2. The color correction amount generator 1b includes a color correction amount calculator 4b and a noise remover 3, and the first color data Ri, Gi, Bi are input to the color correction amount calculator 4b. The color correction amount calculating means 4b calculates the color correction amounts R3, G3, B3 from the first color data Ri, Gi, Bi and outputs them to the noise removing means 3. The noise removing unit 3 removes noise components included in the color correction amounts R3, G3, and B3 output from the color correction amount calculating unit 4b, and outputs the noise-removed color data as the color correction amounts R1, G1, and B1. I do. The first color data Ri, Gi, Bi and the color correction amounts R1, G1, B1 are input to the color correction amount adding means 2, and the second color data Ro, Go, Bo are calculated by adding these. Is done.
[0052]
As in the first embodiment, the first color data is Ri = Rs + Rn, Gi from the original color data components Rs, Gs, Bs generated at the time of image generation and the noise components Rn, Gn, Bn. = Gs + Gn, Bi = Bs + Bn. The color correction amount calculating means 4b is the same as the color correction amount calculating means 4 in the first embodiment except that the first color data Ri, Gi, Bi are input and the color correction amounts R3, G3, B3 are output. Configuration. That is, the color correction amount calculation means 4b obtains the color correction amounts R3, G3, and B3 by linear calculation represented by the following equation (5) similar to the above equation (2). That is, similarly to the above equation (2), the calculation of the equation (5) is for obtaining a correction amount for increasing, for example, at least one of brightness and saturation of at least one color.
[0053]
(Equation 5)
Figure 2004241893
[0054]
As the operation coefficient in the above equation (5), the same coefficient shown in the following equation (3) used in the first embodiment can be used. The coefficient shown in the following equation (3) is a coefficient for increasing the brightness and saturation of one specific color, red, of the image data.
[0055]
(Equation 6)
Figure 2004241893
[0056]
As in the first embodiment, a case is considered where the first color data Ri, Gi, Bi shown in FIG. 4 is input. That is, at pixel positions 26 and 27, the first color data is Ri = 146, Gi = 40, Bi = 38, and Ri = 174, Gi = 46, Bi = 60.
[0057]
FIG. 11 is a diagram showing the color correction amounts R3, G3, and B3 output from the color correction amount calculation means 4b. In the figure, the horizontal axis represents the pixel position where each data exists, and the vertical axis represents the size of each data. At the pixel positions 26 and 27, the color correction amounts are R3 = 43, G3 = 0, B3 = 0, and R3 = 52, G3 = 0, B3 = 0.
[0058]
The noise removing unit 3 may have the same configuration as that described in the first embodiment with reference to FIG. However, the color correction amounts R3, G3, and B3 output from the color correction amount calculating means 4b are input, and the color correction amounts R1, G1, and B1 from which noise has been removed are output.
Here, it is assumed that the weighted addition unit 6 of the noise removal unit 3 calculates a simple average value.
[0059]
FIG. 12 is a diagram illustrating the color correction amounts R1, G1, and B1 output from the noise removing unit 3. In the figure, the horizontal axis represents the pixel position where each data exists, and the vertical axis represents the size of each data. At the pixel positions 26 and 27, the color correction amounts are R1 = 47, G1 = 0, B1 = 0, and R1 = 46, G1 = 0, B1 = 0.
[0060]
The color correction amounts R1, G1, B1 output from the noise removing unit 3 are added to the first color data Ri, Gi, Bi by the color correction amount adding unit 2, and the second color data Ro, Go, Bo are added. Is calculated.
FIG. 13 is a diagram showing an example of the second color data Ro, Go, Bo output from the color correction amount adding means 2. In the figure, the horizontal axis represents the pixel position where each data exists, and the vertical axis represents the size of each data. Further, in order to pay attention to the data Ro representing red, a change in Ro is particularly indicated by a thick line. In the figure, the arrows at the pixel positions 26 and 27 are indicated by arrows, and their values are 193 and 220, respectively.
[0061]
Here, the difference between the values of the second color data Ro at the pixel positions 26 and 27 is 220-193 = 27. On the other hand, the difference between the values of the first color data Ri at the pixel positions 26 and 27 is 174-146 = 28. The difference between the values of the first color data Ri at the pixel positions 26 and 27 is caused by the influence of the noise component.
[0062]
As described above, even in the color conversion device or the color conversion method according to the present embodiment, the process of increasing the saturation and brightness of the color data is performed without further emphasizing the influence of the noise component included in the color data. .
[0063]
Embodiment 3 FIG.
FIG. 14 is a block diagram illustrating an example of a configuration of a color conversion device according to Embodiment 3 of the present invention. The first color data Ri, Gi, Bi are input to the color correction amount generating means 1c and the color correction amount adding means 2. The color correction amount generator 1c includes an achromatic component calculator 9, a chromatic component calculator 10, a noise remover 3, and a color correction calculator 4c. The first color data Ri, Gi, and Bi are achromatic. It is input to the component calculation means 9 and the chromatic color component calculation means 10. The achromatic component calculation means 9 selects the minimum value of the first color data Ri, Gi, Bi and outputs it as achromatic component data α. The achromatic component data α is data representing an achromatic component of the first color data, that is, a gray component.
[0064]
FIG. 15 is a diagram illustrating achromatic component data α. In the figure, the vertical axis represents the size of the data. The size of the achromatic color component data α is a size in which the first color data Ri, Gi, Bi are present in equal amounts, and represents the size of the gray component included in the first color data.
[0065]
The achromatic color component data α is input to the chromatic color component calculation means 10 and the color correction amount calculation means 4c. The chromatic component calculating means 10 subtracts the achromatic component data α from the first color data Ri, Gi, Bi, ie,
R4 = Ri-α
G4 = Gi-α
B4 = Bi-α
To calculate the chromatic component data R4, G4, B4. The chromatic component data is obtained by removing the achromatic component from the first color data, and is data relating to hue and saturation information included in the first color data. The chromatic component data does not relate to the gray component included in the first color data.
[0066]
The chromatic component data R4, G4, and B4 are input to the noise removing unit 3, and the noise removing unit 3 calculates the chromatic component data R5, G5, and B5 from which noise has been removed. The noise removing unit 3 may have the configuration described with reference to FIG. 2 in the first embodiment (a configuration including three circuits shown in FIG. 2). In this case, the first image data Ri, Gi , And Bi, chromatic color component data R4, G4, and B4 are used as input signals, and chromatic color component data R5, G5, and B5 from which noise has been removed are used as output signals. The chromatic color component data R5, G5, and B5 from which noise has been removed are input to the color correction amount calculator 4c, and the color correction amount calculator 4c calculates the color correction amounts R1, G1, and B1. The color correction amount calculation means 4c calculates the color correction amounts R1, G1, and B1 by the calculation shown in the following equation (6). Similarly to the above equation (2), the calculation of the equation (6) is for obtaining a correction amount for increasing, for example, at least one of brightness and saturation of at least one color.
[0067]
(Equation 7)
Figure 2004241893
[0068]
The first color data Ri, Gi, Bi and the color correction amounts R1, G1, B1 are input to the color correction amount adding means 2, and the second color data Ro, Go, Bo are calculated by adding these. Is done.
[0069]
As in the first embodiment, a case is considered where the first color data Ri, Gi, Bi shown in FIG. 4 is input. That is, at pixel positions 26 and 27, the first color data is Ri = 146, Gi = 40, Bi = 38, and Ri = 174, Gi = 46, Bi = 60.
[0070]
FIG. 16 is a diagram illustrating an example of the chromatic component data R4, G4, B4, and the chromatic component data R4, G4, and sought for the first color data Ri, Gi, Bi shown in FIG. Represents B4. In the figure, the horizontal axis represents the pixel position where each data exists, and the vertical axis represents the size of each data. At pixel positions 26 and 27, the chromatic component data is R4 = 108, G4 = 2, B4 = 0, and R4 = 128, G4 = 0, B4 = 14.
[0071]
Here, it is assumed that the weighted addition unit 6 of the noise removal unit 3 calculates a simple average value. At this time, the chromatic component data R5, G5, and B5 from which noise has been removed are shown in FIG.
[0072]
The color correction amount calculation means 4c calculates the color correction amounts R1, G1, and B1 by the calculation shown in the above equation (6). The same equation (3) as that used in the first embodiment is used as a coefficient. Can be used. The coefficient shown in the following equation (3) is a coefficient for increasing the brightness and saturation of one specific color, red, of the image data.
[0073]
(Equation 8)
Figure 2004241893
[0074]
FIG. 18 is a diagram illustrating the second color data Ro, Go, and Bo when the coefficient represented by the above equation (3) is used. In the figure, the horizontal axis represents the pixel position where each data exists, and the vertical axis represents the size of each data. Further, in order to pay attention to the data Ro representing red, a change in Ro is particularly indicated by a thick line. In the figure, arrows indicated by arrows indicate Ro at pixel positions 26 and 27, and the values are 180 and 207, respectively. Here, the difference between the values of the second color data Ro at the pixel positions 26 and 27 is 207−180 = 27. On the other hand, the difference between the values of the first color data Ri at the pixel positions 26 and 27 is 174-146 = 28. The difference between the values of the first color data Ri at the pixel positions 26 and 27 is caused by the influence of the noise component.
[0075]
At the pixel position 26, the second color data is Ro = 180, Go = 40, Bo = 38, the saturation is 0.79, and the lightness is 180. On the other hand, at the pixel position 26, the first color data is Ri = 146, Gi = 40, Bi = 38, the saturation is 0.74, and the brightness is 146. Therefore, in the second color data, both the saturation and brightness are higher than in the first color data.
Further, when gray data, for example, Ri = 100, Gi = 100, Bi = 100 is input as the first color data, the second color data also becomes Ro = 100, Go = 100, Bo = 100, and the color conversion is performed. Not affected by
[0076]
As described above, in the color conversion device or the color conversion method according to the present embodiment, the process of increasing the saturation and brightness of the color data is performed without further emphasizing the influence of the noise component included in the color data. Also, since the color correction amount is obtained after separating the first color data into an achromatic component and a chromatic component, the hue and saturation of the color data can be obtained without affecting the color reproduction of achromatic (gray). And brightness can be adjusted.
Also, since noise removal is performed only on the chromatic color components, the noise removal does not affect black-and-white image data. For example, when displaying a color video image on a personal computer and displaying a document expressed in black and white, the noise reduction effect appears in the video image, but the blur due to the noise reduction effect is displayed in the black and white document. Does not occur.
[0077]
Embodiment 4 FIG.
In the third embodiment, the first color data is separated into an achromatic color component and a chromatic color component, and noise is removed only from the chromatic color component. Instead of such a configuration, it is also possible to configure so as to remove noise not only for the chromatic color component but also for the achromatic color component separately from the chromatic color component.
[0078]
FIG. 19 is a block diagram illustrating an example of a configuration of a color conversion device according to Embodiment 4 of the present invention. The first color data Ri, Gi, Bi are inputted to the color correction amount generating means 1d and the color correction amount adding means 2. The color correction amount generator 1d includes an achromatic component calculator 9, a chromatic component calculator 10, a chromatic noise remover 11, an achromatic noise remover 12, and a color correction amount calculator 4c. Ri, Gi, and Bi are input to the achromatic color component calculation means 9 and the chromatic color component calculation means 10. The achromatic component calculation means 9 selects the minimum value of the first color data Ri, Gi, Bi and outputs it as achromatic component data α.
[0079]
The achromatic component data α is input to the chromatic component calculating unit 10 and the achromatic noise removing unit 12. The chromatic component calculating means 10 calculates the chromatic component data R4, G4, B4 by subtracting the achromatic component data α from the first color data Ri, Gi, Bi. The chromatic component data R4, G4, and B4 are input to the chromatic noise removing unit 11, and the chromatic noise removing unit 11 calculates the chromatic component data R5, G5, and B5 from which noise has been removed. The achromatic noise removing unit 12 calculates achromatic component data from which noise has been removed.
[0080]
The chromatic noise removing unit 11 can have the same configuration as that of the noise removing unit 3 of the first embodiment (provided with three configurations shown in FIG. 2). In this case, the chromatic noise removing unit 11 receives the chromatic component data R4, G4, B4 output from the chromatic component calculating unit 10, and outputs the chromatic component data R5, G5, B5 from which noise has been removed. . The achromatic noise removing unit 12 can be configured as shown in FIG. 2 used in the description of the first embodiment, and receives the minimum value α as an achromatic component output from the achromatic component calculating unit 9 as an input. And outputs an achromatic component from which a noise component has been removed.
The chromatic color component data R5, G5, B5 from which noise has been removed and the achromatic color component data from which noise has been removed are input to the color correction amount calculation means 4c, and the color correction amount calculation means 4c outputs the color correction amounts R1, G1,. B1 is calculated. The first color data Ri, Gi, Bi and the color correction amounts R1, G1, B1 are input to the color correction amount adding means 2, and the second color data Ro, Go, Bo are calculated by adding these. Is done.
[0081]
The color conversion apparatus according to the present embodiment is configured to remove noise not only for chromatic color component data but also for chromatic color component data separately from chromatic color component data. Different from color conversion device. Achromatic component data is related to saturation information in combination with chromatic component data, but is data that has only brightness information by itself and differs from chromatic data for human visual characteristics. It is possible to have characteristics. Therefore, by removing noise from the chromatic color component data and the achromatic color component data separately, it is possible to select the influence and the magnitude of the effect of the noise removal according to the visual characteristics.
[0082]
【The invention's effect】
As described above, the color conversion device and method of the present invention perform color conversion on first image data, which is image information for each pixel including a plurality of first color data, and convert the first image data from a plurality of second color data. In the color conversion device for obtaining the second image data, a color correction amount generation means for calculating a color correction amount by performing color correction amount calculation and noise removal based on the first image data; An addition unit for adding the color correction amount and obtaining the second image data is included in the color data even when a process of increasing the saturation or brightness of the color data is performed. Without further emphasizing the effect of the noise component, it is possible to suppress the occurrence of image blur due to the suppression of the effect of the noise component.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an example of a configuration of a color conversion device according to a first embodiment of the present invention.
FIG. 2 is a block diagram illustrating an example of a partial configuration of a noise removing unit 3 in the color conversion device according to the first embodiment of the present invention.
FIG. 3 is a diagram illustrating an example of original color data Rs, Gs, and Bs.
FIG. 4 is a diagram illustrating an example of first color data input to an image display device when a noise component exists.
FIG. 5 is a diagram illustrating an example of color data from which noise has been removed.
FIG. 6 is a diagram illustrating an example of second color data according to the first embodiment of the present invention.
FIG. 7 is a diagram illustrating an example of second color data when the noise removing unit is configured such that R2 = Ri, G2 = Gi, and B2 = Bi.
FIG. 8 is a block diagram illustrating an example of a conventional color conversion apparatus to which a noise removing unit is added.
FIG. 9 is a diagram illustrating an example of second color data obtained by a conventional color conversion device to which a noise removing unit is added.
FIG. 10 is a block diagram illustrating an example of a configuration of a color conversion device according to a second embodiment of the present invention.
FIG. 11 is a diagram illustrating an example of a color correction amount output from a color correction amount calculation unit in the color conversion device according to the second embodiment of the present invention.
FIG. 12 is a diagram illustrating an example of a color correction amount output from a noise removing unit in the color conversion device according to the second embodiment of the present invention.
FIG. 13 is a diagram illustrating an example of second color data output from a color correction amount adding unit in the color conversion device according to the second embodiment of the present invention.
FIG. 14 is a block diagram illustrating an example of a configuration of a color conversion device according to a third embodiment of the present invention.
FIG. 15 is a diagram showing achromatic component data α.
FIG. 16 is a diagram illustrating an example of chromatic component data in the color conversion device according to the third embodiment of the present invention.
FIG. 17 is a diagram illustrating an example of chromatic component data from which noise has been removed in the color conversion apparatus according to the third embodiment of the present invention.
FIG. 18 is a diagram illustrating an example of second color data in the color conversion device according to the third embodiment of the present invention.
FIG. 19 is a block diagram illustrating an example of a configuration of a color conversion device according to a fourth embodiment of the present invention.
[Explanation of symbols]
1, 1b, 1c, 1d color correction amount generating means, two color correction amount adding means, 3 noise removing means, 4, 4b, 4c color correction amount calculating means, 5 data shift means, 5a to 5h data storage section, 6 weighting Addition means, 7 color conversion means, 10 chromatic color component calculation means, 11 chromatic noise removal means, 12 achromatic noise removal means.

Claims (20)

複数の第一の色データからなる画素毎の画像情報である第一の画像データを色変換して、複数の第二の色データからなる第二の画像データを求める色変換装置において、
上記第一の画像データに基づく色補正量算出及び雑音除去を行って色補正量を求める色補正量生成手段と、
上記第一の画像データに上記色補正量を加算して、上記第二の画像データを求める加算手段とを備えることを特徴とする色変換装置。
In a color conversion device that performs color conversion on first image data that is image information for each pixel including a plurality of first color data and obtains second image data including a plurality of second color data,
A color correction amount generation unit that calculates a color correction amount by performing color correction amount calculation and noise removal based on the first image data,
A color conversion device comprising: an addition unit that adds the color correction amount to the first image data to obtain the second image data.
上記色補正量生成手段は、上記第一の画像データから雑音を除去する雑音除去手段と、上記雑音除去手段の出力を用いて上記色補正量算出を行う色補正量算出手段とを備えることを特徴とする請求項1に記載の色変換装置。The color correction amount generation unit includes a noise removal unit that removes noise from the first image data, and a color correction amount calculation unit that performs the color correction amount calculation using an output of the noise removal unit. The color conversion device according to claim 1, wherein: 上記色補正量生成手段は、上記第一の画像データから色補正量を算出する色補正量演算手段と、上記色補正量演算手段の出力から上記雑音除去を行う雑音除去手段とを備えることを特徴とする請求項1に記載の色変換装置。The color correction amount generating means includes a color correction amount calculating means for calculating a color correction amount from the first image data, and a noise removing means for removing the noise from an output of the color correction amount calculating means. The color conversion device according to claim 1, wherein: 上記色補正量生成手段は、上記第一の画像データのうちの無彩色の成分を表す無彩色成分データを算出する手段と、上記第一の画像データと上記無彩色成分データから有彩色成分データを算出する手段と、上記有彩色成分データから雑音を除去する雑音除去手段と、上記無彩色成分データと雑音を除去された有彩色成分データとを用いて上記色補正量を求める色補正量演算手段とを備えることを特徴とする請求項1に記載の色変換装置。The color correction amount generating means includes means for calculating achromatic component data representing an achromatic component of the first image data, and chromatic component data from the first image data and the achromatic component data. , A noise removing unit for removing noise from the chromatic component data, and a color correction amount calculation for obtaining the color correction amount using the achromatic component data and the chromatic component data from which the noise has been removed. The color conversion device according to claim 1, further comprising: 上記色補正量生成手段は、上記第一の画像データのうちの無彩色の成分を表す無彩色成分データを算出する手段と、上記第一の画像データと上記無彩色成分データから有彩色成分データを算出する手段と、上記無彩色成分データから雑音を除去し、雑音除去された無彩色成分データを出力する無彩色雑音除去手段と、上記有彩色成分データから雑音を除去し、雑音除去された有彩色成分データを出力する有彩色雑音除去手段と、上記雑音除去された無彩色成分データと雑音除去された有彩色成分データとを用いて上記色補正量を求める色補正量演算手段とを備えることを特徴とする請求項1に記載の色変換装置。The color correction amount generating means includes means for calculating achromatic component data representing an achromatic component of the first image data, and chromatic component data from the first image data and the achromatic component data. And achromatic noise removing means for removing noise from the achromatic color component data and outputting a noise-free achromatic color component data; and removing noise from the chromatic color component data to remove noise. A chromatic noise removing unit that outputs chromatic component data; and a color correction amount calculating unit that obtains the color correction amount using the achromatic component data from which the noise has been removed and the chromatic component data from which the noise has been removed. The color conversion device according to claim 1, wherein: 上記無彩色成分データは、上記第一の画像データを構成する第一の色データのうちの最小値として算出され、上記有彩色成分データは、上記第一の色データより上記無彩色成分データを減じたものとして算出されることを特徴とする請求項4又は5に記載の色変換装置。The achromatic component data is calculated as the minimum value of the first color data constituting the first image data, and the chromatic component data is obtained by converting the achromatic component data from the first color data. The color conversion device according to claim 4, wherein the color conversion device calculates the difference. 上記雑音除去手段は、入力されたデータ中の高周波成分を遮断し、低周波成分を透過するローパスフィルタであることを特徴とする請求項2乃至4のいずれかに記載の色変換装置。5. The color conversion apparatus according to claim 2, wherein the noise removing unit is a low-pass filter that blocks high-frequency components in input data and transmits low-frequency components. 上記無彩色雑音除去手段及び上記有彩色雑音除去手段の各々は、入力されたデータ中の高周波成分を遮断し、低周波成分を透過するローパスフィルタであることを特徴とする請求項5に記載の色変換装置。6. The apparatus according to claim 5, wherein each of the achromatic noise removing unit and the chromatic noise removing unit is a low-pass filter that blocks high-frequency components in input data and transmits low-frequency components. Color conversion device. 上記ローパスフィルタが、画像データのクロック周波数の約1/9以上の周波数成分を遮断するものであることを特徴とする請求項7又は8に記載の色変換装置。9. The color conversion device according to claim 7, wherein the low-pass filter blocks a frequency component of about 1/9 or more of a clock frequency of the image data. 上記色補正量算出が、少なくとも一つの色の明度又は彩度を高めるための補正量を求めるものであることを特徴とする請求項1に記載の色変換装置。The color conversion apparatus according to claim 1, wherein the color correction amount calculation is to calculate a correction amount for increasing lightness or saturation of at least one color. 複数の第一の色データからなる画素毎の画像情報である第一の画像データを色変換して、複数の第二の色データからなる第二の画像データを求める色変換方法において、
上記第一の画像データに基づく色補正量算出及び雑音除去を行って色補正量を求める色補正量算出ステップと、
上記第一の画像データに上記色補正量を加算して、上記第二の画像データを求める加算ステップとを備えることを特徴とする色変換方法。
In a color conversion method for performing color conversion on first image data that is image information for each pixel composed of a plurality of first color data and obtaining second image data composed of a plurality of second color data,
A color correction amount calculation step of calculating a color correction amount by performing color correction amount calculation and noise removal based on the first image data,
Adding the color correction amount to the first image data to obtain the second image data.
上記色補正量算出ステップは、上記第一の画像データから雑音を除去する雑音除去ステップと、上記雑音除去ステップにより雑音を除去されたデータを用いて上記色補正量算出を行う色補正量算出ステップとを備えることを特徴とする請求項11に記載の色変換方法。The color correction amount calculation step includes: a noise removal step of removing noise from the first image data; and a color correction amount calculation step of performing the color correction amount calculation using the data from which the noise has been removed by the noise removal step. The color conversion method according to claim 11, comprising: 上記色補正量算出ステップは、上記第一の画像データから色補正量を算出する色補正量演算ステップと、上記色補正量演算ステップにおける演算結果から上記雑音除去を行う雑音除去ステップとを備えることを特徴とする請求項11に記載の色変換方法。The color correction amount calculation step includes a color correction amount calculation step of calculating a color correction amount from the first image data, and a noise removal step of removing the noise from the calculation result in the color correction amount calculation step. The color conversion method according to claim 11, wherein: 上記色補正量算出ステップは、上記第一の画像データのうちの無彩色の成分を表す無彩色成分データを算出するステップと、上記第一の画像データと上記無彩色成分データから有彩色成分データを算出するステップと、上記有彩色成分データから雑音を除去する雑音除去ステップと、上記無彩色成分データと雑音を除去された有彩色成分データとを用いて上記色補正量を求める色補正量演算ステップとを備えることを特徴とする請求項11に記載の色変換方法。The color correction amount calculating step includes calculating achromatic component data representing an achromatic component of the first image data, and chromatic component data from the first image data and the achromatic component data. , A noise removal step of removing noise from the chromatic color component data, and a color correction amount calculation for obtaining the color correction amount using the achromatic color component data and the chromatic color component data from which the noise has been removed. The color conversion method according to claim 11, further comprising: 上記色補正量算出ステップは、上記第一の画像データのうちの無彩色の成分を表す無彩色成分データを算出するステップと、上記第一の画像データと上記無彩色成分データから有彩色成分データを算出するステップと、上記無彩色成分データから雑音を除去し、雑音除去された無彩色成分データを出力する無彩色雑音除去ステップと、上記有彩色成分データから雑音を除去し、雑音除去された有彩色成分データを出力する有彩色雑音除去ステップと、上記雑音除去された無彩色成分データと雑音除去された有彩色成分データとを用いて上記色補正量を求める色補正量演算ステップとを備えることを特徴とする請求項11に記載の色変換方法。The color correction amount calculating step includes calculating achromatic component data representing an achromatic component of the first image data, and chromatic component data from the first image data and the achromatic component data. Calculating the achromatic color component data, removing the noise from the achromatic color component data, outputting the achromatic color component data from which the noise has been removed, and removing the noise from the chromatic color component data. A chromatic color noise removing step of outputting chromatic color component data; and a color correction amount calculating step of obtaining the color correction amount using the noise-removed achromatic component data and the noise-removed chromatic color component data. The color conversion method according to claim 11, wherein: 上記無彩色成分データは、上記第一の画像データを構成する第一の色データのうちの最小値として算出され、上記有彩色成分データは、上記第一の色データより上記無彩色成分データを減じたものとして算出されることを特徴とする請求項14又は15に記載の色変換方法。The achromatic component data is calculated as the minimum value of the first color data constituting the first image data, and the chromatic component data is obtained by converting the achromatic component data from the first color data. 16. The color conversion method according to claim 14, wherein the color conversion is calculated as a result of subtraction. 上記雑音除去ステップは、入力されたデータ中の高周波成分を遮断し、低周波成分を透過するローパスフィルタリングを行うことを特徴とする請求項12乃至14のいずれかに記載の色変換方法。15. The color conversion method according to claim 12, wherein the noise removal step performs low-pass filtering for blocking high-frequency components in the input data and transmitting low-frequency components. 上記無彩色雑音除去ステップ及び上記有彩色雑音除去ステップの各々は、入力されたデータ中の高周波成分を遮断し、低周波成分を透過するローパスフィルタリングを行うことを特徴とする請求項15に記載の色変換方法。16. The method according to claim 15, wherein each of the achromatic noise removing step and the chromatic noise removing step performs low-pass filtering that blocks high-frequency components in input data and transmits low-frequency components. Color conversion method. 上記ローパスフィルタリングが、画像データのクロック周波数の約1/9以上の周波数成分を遮断するものであることを特徴とする請求項17又は18に記載の色変換方法。19. The color conversion method according to claim 17, wherein the low-pass filtering cuts off a frequency component of about 1/9 or more of a clock frequency of the image data. 上記色補正量算出が、少なくとも一つの色の明度又は彩度を高めるための補正量を求めるものであることを特徴とする請求項11に記載の色変換方法。The color conversion method according to claim 11, wherein the color correction amount calculation is to obtain a correction amount for increasing lightness or saturation of at least one color.
JP2003026884A 2003-02-04 2003-02-04 Color conversion apparatus and color conversion method Expired - Fee Related JP3865696B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003026884A JP3865696B2 (en) 2003-02-04 2003-02-04 Color conversion apparatus and color conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003026884A JP3865696B2 (en) 2003-02-04 2003-02-04 Color conversion apparatus and color conversion method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006220880A Division JP2006340395A (en) 2006-08-14 2006-08-14 Color conversion device and color conversion method

Publications (2)

Publication Number Publication Date
JP2004241893A true JP2004241893A (en) 2004-08-26
JP3865696B2 JP3865696B2 (en) 2007-01-10

Family

ID=32954763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003026884A Expired - Fee Related JP3865696B2 (en) 2003-02-04 2003-02-04 Color conversion apparatus and color conversion method

Country Status (1)

Country Link
JP (1) JP3865696B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5267803B2 (en) * 2009-04-13 2013-08-21 株式会社リコー Image processing apparatus, image processing method, program, and recording medium

Also Published As

Publication number Publication date
JP3865696B2 (en) 2007-01-10

Similar Documents

Publication Publication Date Title
JP4809235B2 (en) Smart clipper for mobile display
JP4376912B2 (en) Color enhancement method and color gamut mapping method
JP4967454B2 (en) Image correction circuit, image correction method, and image display apparatus
JP4415236B2 (en) Image processing apparatus and image processing method
JP5370761B2 (en) Video signal processing device and display device
KR100664572B1 (en) Image signal correction method and image signal correction apparatus
JP2007293431A (en) Image processor
JP2009118338A (en) Image processor, image forming apparatus, image processing method, computer program, and recording medium
JP5129685B2 (en) Luminance signal generation apparatus, luminance signal generation method, and imaging apparatus
JP2006115444A (en) Method, device, program for image processing, and electronic camera
JPWO2010067488A1 (en) Color correction apparatus and color correction method
JP2004363853A (en) Method and device for reducing noise of image signal
US8223272B2 (en) Image processing circuit and image processing method thereof
JP4571607B2 (en) Noise reduction apparatus and method
US8249379B2 (en) Image processing apparatus and method and image display apparatus
US20120314969A1 (en) Image processing apparatus and display device including the same, and image processing method
US8305499B2 (en) Image processing circuit and method for image processing
JP2010124472A (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4234166B2 (en) Image processing apparatus and image processing method
KR20060021665A (en) Apparatus and method of controlling screen contrast for mobile station
JP2008219289A (en) Video correction device, video display device, imaging apparatus and video correction program
JP3865696B2 (en) Color conversion apparatus and color conversion method
JP2006340395A (en) Color conversion device and color conversion method
JP2005260908A (en) Image processing method, image processing device, semiconductor device, electronic apparatus, image processing program, and computer-readable recording medium
JP5103580B2 (en) Image processing apparatus and digital camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050411

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060314

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060428

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060620

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060814

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060828

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061003

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20091013

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101013

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111013

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121013

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131013

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees