JP3556732B2 - Color image processing equipment - Google Patents
Color image processing equipment Download PDFInfo
- Publication number
- JP3556732B2 JP3556732B2 JP11201395A JP11201395A JP3556732B2 JP 3556732 B2 JP3556732 B2 JP 3556732B2 JP 11201395 A JP11201395 A JP 11201395A JP 11201395 A JP11201395 A JP 11201395A JP 3556732 B2 JP3556732 B2 JP 3556732B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- color
- correction
- edge enhancement
- output
- 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
Abstract
Description
【0001】
【産業上の利用分野】
本発明は、再現色のにじみや色再現のずれの発生を抑制し、画質を向上させたカラー画像処理装置に関する。
【0002】
【従来の技術】
近年、カラー複写機で原稿を複製したり、カラースキャナから原稿を読み込み、カラープリンタで出力する機会が増大している。ところで、カラー複写機も含めてカラースキャナから原稿を読み込むと、スキャナのMTF特性により原稿の持っていた鮮鋭度が低下する。そのため、鮮鋭度を補正する必要が生じる。この鮮鋭度の補正を行うには通常、エッジ強調処理が使用される。しかし、このエッジ強調処理には、以下に挙げるような種々の問題点がある。
【0003】
1.通常、エッジ強調は、図12(a)、(b)に示されるような、フィルタマトリックスの中心画素と周囲に重み付きの係数が配置され、各係数に対応する位置にあるカラー画像信号に対して、上記係数によって重み付けされる。この結果はすべて加算されエッジ強調された信号となる。このエッジ強調回路は、画像信号と重みの乗算や乗算結果の加算などの比較的規模の大きい装置が必要となる。例えば、RGBカラー画像信号に対して同時にエッジ強調を行う必要が生じた場合、3個のエッジ強調回路が必要となり、そのコストが大きく上昇する。
【0004】
2.また、スキャナで用いられるCCDラインセンサは図11(a)、(b)で示されるような構造をしている。(a)は、1ラインのセンサであり、(b)は、3ライのセンサである。このような構造であるため、CCDラインセンサの各出力に位置ずれが生じ、これを補正して各色信号の位置合わせをする必要がある。ところが、この位置合わせはディジタル的に行われていて、その精度には限界がある。さらに、各色のセンサのMTF特性のばらつきにより、各色信号で鮮鋭度が異なることがある。上記した理由により、各色同じ強さで鮮鋭度を補正しようとすると、各色で位置ずれによる色バランスの崩れや鮮鋭度の違いが強調され、再現色のにじみや、色再現のずれの発生が起きやすくなり、画質劣化を生じる。
【0005】
3.さらに、再現色のにじみや色再現のずれの他の原因として次のことが挙げられる。これを図10を用いて説明する。エッジ強調回路の出力信号が例えば8ビットである場合、通常、出力は0以上255以下に制限される(例えば、特開平4−14383号公報を参照)。鮮鋭度補正時に、この範囲を超えた場合、0未満の値は0に、255を超える値は255にクリップされる。(a)は、エッジ強調前のRGBの画像データであり、この画像データに対してエッジ強調を施すと(b)に示す画像データとなる。エッジ強調された画像データの内、255以上のデータと、0以下のデータをクリップすると、(c)に示す画像データとなる。そして、この状態がRGB信号の少なくとも一色以上に起こった場合、RGB信号のバランスが大きく崩れることになり、元の色とは大きく異なって再現されることになる。
【0006】
【発明が解決しようとする課題】
上記1の問題点を解決するものとして、例えば、特開昭61−273073号公報(第1の公報)、同62−149264号公報(第2の公報)、特開平4−14383号公報(第3の公報)が挙げられる。
【0007】
第1の公報に記載されたエッジ強調装置は、濃度で表現されたカラー画像信号から明度情報を抽出し、その明度情報からエッジ強調の程度を示す信号を生成し、その信号と画像信号の濃度レベルとに応じた結果を出力する。また、第2の公報に記載された画像輪郭強調装置は、カラー画像信号の少なくとも1色の画像データからラプラシアンを算出し、そのラプラシアンと画像信号とを加算して輪郭を強調する。第3の公報に記載の画像処理装置は、カラー画像信号の少なくとも1色の画像データからフィルタ信号を算出し、そのフィルタ信号に基づいて画像信号を補正するものである。
【0008】
上記した公報に記載されたものは、何れも3個のエッジ強調回路を用いずに、1色の信号のエッジ成分を検出する回路を用い、その出力をカラー信号に加算あるいは乗算することによってエッジを強調する方法を採っている。
【0009】
上記2の問題点を解決するものとして、例えば、特開平3−102578号公報(第4の公報)、同4−170267号公報(第5の公報)が挙げられる。この第4、第5に記載されたものは、RGB信号をL*a*b*信号に変換し、L*にのみ鮮鋭度補正(エッジ強調)を行い、その後、L*a*b*をRGB信号に逆変換し、あるいはCMY信号に変換するものである。
【0010】
しかしながら、上記した第1乃至第3の公報に記載された技術は、上記3の問題点を解決しておらず(リミッタ回路を使用していたり、あるいはこの問題点について言及していない)、また、上記した第4、第5の公報に記載された技術には次のような問題点がある。
【0011】
出力装置の再現範囲を便宜的にL*a*b*空間のL*a*空間で表すと、図9に示すものとなる。すなわち、L*a*b*空間ではa*b*の値に応じてとりうるL*の範囲が異なる。従って、鮮鋭度補正後のL*a*b*がこの色空間の外側に位置した場合、L*a*b*からRGBまたはCMYへの変換において変換テーブルの範囲外であるので、RGBやCMY空間でとりうる範囲外の値に変換される可能性がある。この結果、上記3の問題点がここで生じてくる。
【0012】
そこで、この問題を回避するためには、鮮鋭度補正時にL*a*b*の再現範囲の境界をテーブルとして持つ方法がある。しかしながら、この方法では、膨大なデータ量となる上に、出力装置がそれぞれ独自の色再現範囲を持っていて、それに応じたテーブルを用意する必要があるため、装置の規模が非常に大きくなりコストの増大につながる。
【0013】
本発明は、上記した3つの問題点を解決するもので、
本発明の目的は、再現色のにじみや色再現のずれの発生を抑えて画質を向上させるとともに、装置の規模を小さくしローコストなカラー画像処理装置を提供することにある。
【0014】
【課題を解決するための手段】
前記目的を達成するために、請求項1記載の発明では、ディジタルカラー画像信号の内、少なくとも1色の信号にエッジ強調を行うエッジ強調手段と、エッジ強調前の信号とエッジ強調後の信号とを基に、前記ディジタルカラー画像信号を補正する第1の補正手段と、該補正後の信号の内、少なくとも1色以上の信号が所定の値を超えているか否かを判定する判定手段と、該判定結果に応じて前記補正後の信号を補正する第2の補正手段とを備え、前記第1の補正手段は、第1の補正手段に入力される信号と出力される信号の各色比が等しくなるように補正を行うことを特徴としている。
請求項2記載の発明では、ディジタルカラー画像信号の内、少なくとも1色の信号にエッジ強調を行うエッジ強調手段と、エッジ強調前の信号とエッジ強調後の信号とを基に、前記ディジタルカラー画像信号を補正する第1の補正手段と、該補正後の信号の内、少なくとも1色以上の信号が所定の値を超えているか否かを判定する判定手段と、該判定結果に応じて前記補正後の信号を補正する第2の補正手段とを備え、前記第1の補正手段は、前記エッジ強調後の色信号と前記エッジ強調前の色信号との比の値を、他の各色信号に乗じた信号と、前記エッジ強調後の色信号とを補正後の信号として出力するよう補正することを特徴としている。
請求項3記載の発明では、ディジタルカラー画像信号の内、少なくとも1色の信号にエッジ強調を行うエッジ強調手段と、エッジ強調前の信号とエッジ強調後の信号とを基に、前記ディジタルカラー画像信号を補正する第1の補正手段と、該補正後の信号の内、少なくとも1色以上の信号が所定の値を超えているか否かを判定する判定手段と、該判定結果に応じて前記補正後の信号を補正する第2の補正手段とを備え、前記第2の補正手段は、前記第2の補正手段に入力される信号と出力される信号の各色比が等しくなるように補正を行うことを特徴としている。
請求項4記載の発明では、ディジタルカラー画像信号の内、少なくとも1色の信号にエッジ強調を行うエッジ強調手段と、エッジ強調前の信号とエッジ強調後の信号とを基に、前記ディジタルカラー画像信号を補正する第1の補正手段と、該補正後の信号の内、少なくとも1色以上の信号が所定の値を超えているか否かを判定する判定手段と、該判定結果に応じて前記補正後の信号を補正する第2の補正手段とを備え、前記第2の補正手段は、前記判定手段が所定の値を超えていると判定したとき、前記所定の値と、前記補正後の信号の最大値との比の値を、前記補正後の信号に乗じた信号を出力するよう補正することを特徴としている。
【0015】
【作用】
第1の補正手段は、エッジ強調後とエッジ強調前の信号を色の比が等しくなるように補正する。これにより、上記2の問題点である、再現色のにじみや色再現のずれの発生が起きにくくなり、画質が向上する。この第1の補正手段の補正方法は、エッジ強調後の信号が一色について定まれば他の色が定まるような補正方法であるので、1個のエッジ強調回路で構成することができる。つまり、これによって上記1の問題点が解決される。さらに、第2の補正手段では、入力信号と出力信号の各色の比を等しくしつつ、出力信号のとりうる値の範囲内に収める。これにより、上記3の問題点が解決される。
【0016】
【実施例】
以下、本発明の一実施例を図面を用いて具体的に説明する。
図1は、本発明の実施例の構成を示す。図において、1はエッジ強調回路、2は第1の補正回路、3は第2の補正回路、4、5、6は比較器、7はOR回路である。
【0017】
カラースキャナなどからディジタル的に入力された8ビットのRGBカラー画像信号が入力信号となる(なお、R、G、Bライン上の数字「8」乃至「9」は、8ビット乃至9ビットを表す)。エッジ強調回路1は、この入力信号の内、G信号についてエッジ強調を行う。
【0018】
図2は、エッジ強調回路の構成を示す。エッジ強調回路は、ラインメモリ8、9と重み付け加算器10と乗算器11とリミッタ12からなる。ラインメモリ8、9には、それぞれn+1ライン目のGデータ、nライン目のGデータが順次格納され、重み付け加算器10に直接入力されるn+2ライン目のGデータと、ラインメモリ8、9内のデータに対して、図12(a)のフィルタマスクで重み付け加算される。エッジ強調された注目画素(つまり、マスク係数「5」に位置する画素)の値に対して、乗算器11は、エッジ強調の強度を調整する強度係数を乗ずる。本実施例の場合は、強度係数は1であり、図12(b)の場合は、強度係数は1/2である。さらに、リミッタ12は、出力信号を8ビットにするために最低を0、最高を255の値にクリップする。
【0019】
エッジ強調後の信号をGeとする。第1の補正回路2には、RGB信号とGe信号が入力される。図3は、第1の補正回路の構成を示す。第1の補正回路は、Gデータと0とを比較する比較器17と、比較器17の比較結果に応じてGeまたはGを選択するセレクタ13と、比較器17の比較結果に応じて入出力比(1またはGe/G)を生成する入出力比生成回路14と、入出力比生成回路14の出力とR、Bデータとを乗算する乗算器15、16からなる。
【0020】
G信号が0でないときと、0であるときに、補正方法を切り替えるために、比較器17はG信号と0とを比較する。比較器17は、Gが0に等しいとき1を出力し、Gが0に等しくなければ0を出力する。比較器17の出力は、入出力比生成回路14に入力され、それを制御する。
【0021】
すなわち、比較器17の出力が1ならば(G=0)、入出力比生成回路14は1を出力し、比較器17の出力が0ならば(G≠0)、入出力比生成回路14はGe/Gを出力する。乗算器15、16は、それぞれ入出力比生成回路14の出力にR、B信号を乗じて、第1の補正回路2の出力信号であるR’(=R×(Ge/G))、B’(=B×(Ge/G))信号を出力する。
【0022】
また、比較器17の出力が1のとき、セレクタ13はGを選択して出力し、比較器17の出力が0のとき、セレクタ13はGeを選択して出力する。セレクタ13の出力は、第1の補正回路2の出力信号であるG’(GまたはGe)信号となる。従って、G≠0のとき、R成分はR×(Ge/G)にエッジ強調され、同様にB成分はB×(Ge/G)にエッジ強調される。そして、第1の補正回路において、入力と出力で各色の比は、R:G:B=R’:G’:B’であるので、等しくなる。
【0023】
図1に戻り、第1の補正回路2の出力であるR’G’B’信号は、それぞれ第2の補正回路3と比較器4、5、6に入力される。比較器4、5、6の一方の入力は255であり、R’G’B’信号が255を超えていれば、比較器4、5、6は1を出力し、R’G’B’信号が255を超えていなければ、比較器4、5、6は0を出力する。3個の比較器4、5、6の出力は、OR回路7を介して第2の補正回路3に入力される。
【0024】
図4は、第2の補正回路の構成を示す。OR回路7の出力が、R’G’B’信号の最大値を求める最大値回路22に入力されて、最大値回路22を制御する。すなわち、OR回路7の出力が1のとき(最大値が255を超えているとき)、最大値回路22の出力Mはmax(R’G’B’)となる。OR回路7の出力が0のとき(最大値が255を超えていないとき)、最大値回路22の出力Mは255となる。最大値回路22の出力は、入出力比生成回路18に入力され、255/Mが出力される。
【0025】
乗算器19、20、21は、それぞれR’、G’、B’信号と入出力比生成回路18の出力信号255/Mとを乗じて、第2の補正回路3の出力として、R0、G0、B0を出力する(ただし、R’、G’、B’に255/Mを乗じることで、エッジ強調が若干弱まる)。従って、R0、G0、B0は0〜255の範囲内におさめられ、また第2の補正回路において、入力と出力で各色の比は、R’:G’:B’=R0:G0:B0であるので、R:G:B=R0:G0:B0となり、入力と出力で各色の比が等しくなる。
【0026】
図5は、図1のブロック100の他の構成例を示す。最大値検出回路26は、R’G’B’からmax(R’G’B)を出力する。比較器27は、最大値検出回路26の出力と255とを比較し、最大値検出回路26の出力が255より大きい場合は1を出力し、最大値検出回路26の出力が255以下の場合は0を出力する。
【0027】
セレクタ28は、比較器27の出力が1のとき最大値検出回路26の出力を選択して、Mを出力し、比較器27の出力が0のとき255を選択して、Mとして255を出力する。入出力比生成回路29は、セレクタ28の出力Mを入力して、255/Mを出力する。乗算器23、24、25は、それぞれR’、G’、B’信号と入出力比生成回路29の出力信号255/Mとを乗じて、第2の補正回路3の出力として、R0、G0、B0を出力する。すなわち、R’:G’:B’=R0:G0:B0が成立する。第1の補正回路2の前後でR:G:B=R’:G’:B’であるので、R:G:B=R0:G0:B0が成立する。
【0028】
図6は、本発明の他の実施例の構成を示す。図1の実施例と同様に、カラースキャナなどからディジタル的に入力された8ビットのRGBカラー画像信号が入力信号となる。エッジ強調回路30は、この入力信号の内、G信号についてエッジ強調を行う。この回路は、図1で説明したものと同様である。
【0029】
演算手段31には、RGB信号とエッジ強調後の信号Geが入力される。図7は、演算手段31の構成を示す。比較器33は、エッジ強調を行わない色信号Rと0とを比較し、比較の結果、R=0ならば1を、R≠0ならば0を出力する。セレクタ36は、比較器33の出力が1のとき1を選択し、比較器33の出力が0のときRを選択して出力する。演算器39は、所定の値(この場合は8ビットであるので255)を、セレクタ36の出力R’で除算する。つまり、255/R’を演算する。B信号についてもR信号と同様に構成され、255/B’が演算される。
【0030】
一方、エッジ強調されたGeとGは次のようになる。比較器35は、Gと0とを比較し、G=0のとき1を、G≠0のとき0を出力する。セレクタ38は、比較器35の出力が1のときGeを選択し、比較器35の出力が0のときGを選択して出力G’する。演算器41は、Ge/G’を演算する。最小値検出器42は、演算器39、40、41で演算された値、つまり255/R’、255/B’、Ge/G’の最小値を検出し、その値Nを出力する。
【0031】
図6に戻って、補正手段32は、演算手段31の出力Nに応じて、RGB信号を補正してR0、G0、B0を出力する。図8は、補正手段32の構成を示す。乗算器43、44、45はRGB信号と演算手段31の出力Nとを乗算する。その出力はそれぞれR0、G0、B0となる。
【0032】
このように補正手段32は、乗算器で構成され、乗算する値の一方が、どの色信号に対しても同一であるので、R:G:B=R0:G0:B0が保証される。つまり、入力色比と出力色比が等しくなる。
【0033】
なお、上記した実施例では、G信号にエッジ強調回路を設けているが、G信号ではなく、R、B信号にエッジ強調回路を設けるようにしてもよい。また、本実施例は、RGB信号の他にCMY、あるいはCMYK信号にも容易に適用することができる。
【0034】
【発明の効果】
以上、説明したように、本発明によれば、エッジ強調回路が1個で構成されているので、規模の小さい回路構成で、かつローコストで、カラー画像の鮮鋭度を補正することができる。また、第1の補正手段が入力信号の各色比と出力信号の各色比が等しくなるように補正し、さらに第2の補正手段が入力信号の各色比と出力信号の各色比が等しくなるように補正しつつ、出力信号を所定の範囲内におさめているので、再現色のにじみや色再現のずれの発生が回避され、画質が向上する。
【図面の簡単な説明】
【図1】本発明の実施例の構成を示す。
【図2】エッジ強調回路の構成を示す。
【図3】第1の補正回路の構成を示す。
【図4】第2の補正回路の構成を示す。
【図5】図1のブロック100の他の構成例を示す。
【図6】本発明の他の実施例の構成を示す。
【図7】他の実施例における演算手段の構成を示す。
【図8】他の実施例における補正手段の構成を示す。
【図9】カラー出力装置の色再現範囲を示す図である。
【図10】(a)、(b)、(c)は、従来の方式による色バランスの崩れを説明する図である。
【図11】(a)、(b)は、スキャナのCCDラインセンサを示す。
【図12】(a)、(b)は、エッジ強調マスクの例を示す。
【符号の説明】
1 エッジ強調回路
2 第1の補正回路
3 第2の補正回路
4、5、6 比較器
7 OR回路[0001]
[Industrial applications]
The present invention relates to a color image processing apparatus that suppresses the occurrence of bleeding of reproduced colors and a shift in color reproduction and improves image quality.
[0002]
[Prior art]
2. Description of the Related Art In recent years, there has been an increasing number of opportunities to copy a document using a color copying machine, read a document from a color scanner, and output the document using a color printer. When an original is read from a color scanner including a color copying machine, the sharpness of the original is reduced due to the MTF characteristics of the scanner. Therefore, it is necessary to correct the sharpness. In order to correct the sharpness, an edge enhancement process is usually used. However, the edge enhancement processing has various problems as described below.
[0003]
1. Normally, the edge enhancement is performed with respect to a color image signal at a position corresponding to each coefficient, as shown in FIGS. And weighted by the above coefficient. The results are all added and become an edge-emphasized signal. This edge enhancement circuit requires a relatively large-scale device for multiplying an image signal by a weight or adding a multiplication result. For example, when it becomes necessary to perform edge enhancement on an RGB color image signal at the same time, three edge enhancement circuits are required, which significantly increases the cost.
[0004]
2. The CCD line sensor used in the scanner has a structure as shown in FIGS. 11 (a) and 11 (b). (A) is a one-line sensor, and (b) is a three-line sensor. Due to such a structure, each output of the CCD line sensor is misaligned, and it is necessary to correct this and align each color signal. However, this positioning is performed digitally, and its accuracy is limited. Further, the sharpness may be different for each color signal due to variations in the MTF characteristics of the sensors for each color. For the reasons described above, when trying to correct the sharpness with the same strength for each color, the color balance collapse and the difference in sharpness due to misregistration for each color are emphasized, and the occurrence of bleeding of reproduced colors and deviation of color reproduction may occur. And the image quality deteriorates.
[0005]
3. Further, the following can be cited as other causes of bleeding of reproduced colors and deviation of color reproduction. This will be described with reference to FIG. When the output signal of the edge emphasis circuit is, for example, 8 bits, the output is usually limited to 0 or more and 255 or less (see, for example, Japanese Patent Application Laid-Open No. 4-13833). If the value exceeds this range during sharpness correction, a value less than 0 is clipped to 0 and a value greater than 255 is clipped to 255. (A) is RGB image data before edge enhancement. When edge enhancement is applied to this image data, the image data becomes (b). When the data of 255 or more and the data of 0 or less in the edge-enhanced image data are clipped, the image data becomes the image data shown in FIG. When this state occurs in at least one color of the RGB signal, the balance of the RGB signal is greatly lost, and the RGB signal is reproduced in a manner significantly different from the original color.
[0006]
[Problems to be solved by the invention]
In order to solve the first problem, for example, JP-A-61-273073 (first publication), JP-A-62-149264 (second publication), and JP-A-4-149383 (first publication) 3 publication).
[0007]
The edge enhancement device described in the first publication extracts lightness information from a color image signal expressed in density, generates a signal indicating the degree of edge enhancement from the brightness information, and generates a signal indicating the degree of edge enhancement. Outputs the result according to the level. Further, the image contour enhancement device described in the second publication calculates Laplacian from image data of at least one color of a color image signal, and adds the Laplacian to the image signal to enhance the contour. The image processing device described in the third publication calculates a filter signal from image data of at least one color of a color image signal, and corrects the image signal based on the filter signal.
[0008]
Each of the publications described above uses a circuit for detecting an edge component of a signal of one color without using three edge enhancement circuits, and adds or multiplies the output to a color signal to obtain an edge. The method of emphasizing is adopted.
[0009]
To solve the above two problems, for example, JP-A-3-102578 (fourth publication) and JP-A-4-170267 (fifth publication) are mentioned. The fourth and fifth methods convert an RGB signal into an L * a * b * signal, perform sharpness correction (edge emphasis) only on L *, and then apply L * a * b * to the L * a * b * signal. Inverse conversion into RGB signals or conversion into CMY signals.
[0010]
However, the techniques described in the above-mentioned first to third publications do not solve the above three problems (use a limiter circuit or do not mention this problem), and However, the techniques described in the fourth and fifth publications have the following problems.
[0011]
FIG. 9 shows the reproduction range of the output device expressed in L * a * space of L * a * b * space for convenience. That is, in the L * a * b * space, the range of L * that can be taken differs depending on the value of a * b *. Therefore, if L * a * b * after the sharpness correction is located outside this color space, the conversion from L * a * b * to RGB or CMY is outside the range of the conversion table, so that RGB or CMY is used. It may be converted to a value outside the range that can be taken in space. As a result, the above three problems arise here.
[0012]
Therefore, in order to avoid this problem, there is a method in which the boundary of the L * a * b * reproduction range is used as a table at the time of sharpness correction. However, this method requires a huge amount of data, and each output device has its own color reproduction range, and it is necessary to prepare a table corresponding to the color reproduction range. Leads to an increase in
[0013]
The present invention solves the above three problems,
SUMMARY OF THE INVENTION It is an object of the present invention to provide a low-cost color image processing apparatus which suppresses the occurrence of bleeding of reproduced colors and a shift in color reproduction to improve image quality and reduce the scale of the apparatus.
[0014]
[Means for Solving the Problems]
In order to achieve the above object, according to the present invention, an edge enhancing means for performing edge enhancement on at least one color signal of a digital color image signal, a signal before edge enhancement and a signal after edge enhancement. A first correction unit that corrects the digital color image signal based on the first and second correction units; and a determination unit that determines whether a signal of at least one color among the corrected signals exceeds a predetermined value. A second correction unit that corrects the signal after the correction in accordance with the determination result, wherein the first correction unit determines that each of the color ratios of the signal input to the first correction unit and the output signal is It is characterized in that correction is performed so as to be equal .
According to the second aspect of the present invention, an edge enhancing means for performing edge enhancement on at least one color signal of the digital color image signals, and the digital color image signal based on a signal before edge enhancement and a signal after edge enhancement. First correcting means for correcting a signal, determining means for determining whether at least one of the signals of the corrected signal exceeds a predetermined value, and performing the correction in accordance with the determination result A second correction unit that corrects a subsequent signal, wherein the first correction unit converts a ratio value between the color signal after the edge enhancement and the color signal before the edge enhancement into each of the other color signals. The multiplication signal and the color signal after the edge enhancement are corrected so as to be output as corrected signals .
According to the third aspect of the present invention, the digital color image signal is obtained based on an edge enhancing means for performing edge enhancement on at least one color signal of the digital color image signal, and a signal before edge enhancement and a signal after edge enhancement. First correcting means for correcting a signal, determining means for determining whether at least one of the signals of the corrected signal exceeds a predetermined value, and performing the correction in accordance with the determination result A second correction unit that corrects a subsequent signal, wherein the second correction unit performs correction such that each color ratio of a signal input to the second correction unit and a signal output from the second correction unit become equal. It is characterized by:
According to the fourth aspect of the present invention, the digital color image signal is obtained based on a signal before edge enhancement and a signal after edge enhancement based on edge enhancement means for performing edge enhancement on at least one color signal of the digital color image signal. First correcting means for correcting a signal, determining means for determining whether at least one of the signals of the corrected signal exceeds a predetermined value, and performing the correction in accordance with the determination result A second correction unit that corrects a signal after the correction, wherein the second correction unit determines the predetermined value and the signal after the correction when the determination unit determines that the signal exceeds a predetermined value. Is corrected so as to output a signal obtained by multiplying the value of the ratio with the maximum value of the signal by the corrected signal .
[0015]
[Action]
The first correction unit corrects the signals after the edge enhancement and before the edge enhancement so that the color ratios become equal. As a result, blurring of reproduced colors and deviation of color reproduction, which are the two problems, are less likely to occur, and image quality is improved. The correction method of the first correction means is a correction method in which, if a signal after edge enhancement is determined for one color, another color is determined, it can be constituted by one edge enhancement circuit. That is, this solves the first problem. Further, in the second correction means, the ratio of each color of the input signal and the output signal is made equal, and the ratio is set within the range of possible values of the output signal. Thereby, the above three problems are solved.
[0016]
【Example】
Hereinafter, an embodiment of the present invention will be specifically described with reference to the drawings.
FIG. 1 shows the configuration of an embodiment of the present invention. In the figure, 1 is an edge enhancement circuit, 2 is a first correction circuit, 3 is a second correction circuit, 4, 5 and 6 are comparators, and 7 is an OR circuit.
[0017]
An 8-bit RGB color image signal digitally input from a color scanner or the like becomes an input signal (note that the numbers “8” to “9” on the R, G, and B lines represent 8 to 9 bits). ). The
[0018]
FIG. 2 shows the configuration of the edge enhancement circuit. The edge enhancement circuit includes
[0019]
Let the signal after edge enhancement be Ge. The RGB signal and the Ge signal are input to the
[0020]
When the G signal is not 0 and when it is 0, the
[0021]
That is, if the output of the
[0022]
When the output of the
[0023]
Returning to FIG. 1, the R'G'B 'signal output from the
[0024]
FIG. 4 shows the configuration of the second correction circuit. The output of the OR circuit 7 is input to the maximum value circuit 22 for obtaining the maximum value of the R'G'B 'signal, and controls the maximum value circuit 22. That is, when the output of the OR circuit 7 is 1 (when the maximum value exceeds 255), the output M of the maximum value circuit 22 becomes max (R′G′B ′). When the output of the OR circuit 7 is 0 (when the maximum value does not exceed 255), the output M of the maximum value circuit 22 becomes 255. The output of the maximum value circuit 22 is input to the input / output
[0025]
The
[0026]
FIG. 5 shows another configuration example of the
[0027]
The
[0028]
FIG. 6 shows the configuration of another embodiment of the present invention. As in the embodiment of FIG. 1, an 8-bit RGB color image signal digitally input from a color scanner or the like is an input signal. The
[0029]
The arithmetic means 31 receives the RGB signal and the signal Ge after edge enhancement. FIG. 7 shows the configuration of the calculating means 31. The
[0030]
On the other hand, the edge-enhanced Ge and G are as follows. The comparator 35 compares G and 0, and
[0031]
Returning to FIG. 6, the correcting unit 32 corrects the RGB signals according to the output N of the calculating unit 31, and outputs R0, G0, and B0. FIG. 8 shows a configuration of the correction unit 32. The
[0032]
As described above, the correction unit 32 is configured by the multiplier, and one of the values to be multiplied is the same for every color signal, so that R: G: B = R0: G0: B0 is guaranteed. That is, the input color ratio and the output color ratio become equal.
[0033]
In the above embodiment, the edge enhancement circuit is provided for the G signal, but the edge enhancement circuit may be provided for the R and B signals instead of the G signal. Further, this embodiment can be easily applied to CMY or CMYK signals in addition to RGB signals.
[0034]
【The invention's effect】
As described above, according to the present invention, since one edge enhancement circuit is configured, the sharpness of a color image can be corrected with a small-scale circuit configuration and at low cost. Also, the first correction means corrects each color ratio of the input signal and each color ratio of the output signal to be equal, and the second correction means makes the respective color ratios of the input signal and each color ratio of the output signal equal. Since the output signal is kept within the predetermined range while performing the correction, the occurrence of blur of the reproduced color and the shift of the color reproduction is avoided, and the image quality is improved.
[Brief description of the drawings]
FIG. 1 shows a configuration of an embodiment of the present invention.
FIG. 2 shows a configuration of an edge enhancement circuit.
FIG. 3 shows a configuration of a first correction circuit.
FIG. 4 shows a configuration of a second correction circuit.
FIG. 5 shows another configuration example of the
FIG. 6 shows a configuration of another embodiment of the present invention.
FIG. 7 shows a configuration of a calculation unit in another embodiment.
FIG. 8 shows a configuration of a correction unit in another embodiment.
FIG. 9 is a diagram illustrating a color reproduction range of a color output device.
FIGS. 10 (a), (b), and (c) are diagrams illustrating color balance collapse in a conventional method.
FIGS. 11A and 11B show a CCD line sensor of a scanner.
FIGS. 12A and 12B show examples of an edge enhancement mask.
[Explanation of symbols]
REFERENCE SIGNS
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11201395A JP3556732B2 (en) | 1995-05-10 | 1995-05-10 | Color image processing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11201395A JP3556732B2 (en) | 1995-05-10 | 1995-05-10 | Color image processing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08307708A JPH08307708A (en) | 1996-11-22 |
JP3556732B2 true JP3556732B2 (en) | 2004-08-25 |
Family
ID=14575793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11201395A Expired - Fee Related JP3556732B2 (en) | 1995-05-10 | 1995-05-10 | Color image processing equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3556732B2 (en) |
-
1995
- 1995-05-10 JP JP11201395A patent/JP3556732B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH08307708A (en) | 1996-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3399486B2 (en) | Color image processing apparatus and method | |
JP2756280B2 (en) | Color image processing equipment | |
JP2003153006A (en) | Image processing apparatus | |
JPH07245709A (en) | Method and device for processing picture signal | |
JP2008072253A (en) | Image processor and processing method | |
JPH03502271A (en) | A method to approximate a value that is a nonlinear function of the linear average value of pixel data | |
US6574004B1 (en) | System and method for converting color data to gray data | |
JP2906975B2 (en) | Color image processing method and apparatus | |
US6356361B1 (en) | Image processing apparatus and method for processing gradation image data using error diffusion | |
JP3556732B2 (en) | Color image processing equipment | |
JP4397623B2 (en) | Tone correction device | |
JPH1117984A (en) | Image processor | |
JP5103580B2 (en) | Image processing apparatus and digital camera | |
JP4910254B2 (en) | Image processing apparatus and method | |
JP2815474B2 (en) | Image processing device | |
JP2698493B2 (en) | Saturation adjustment device | |
JP2001016442A (en) | Picture processing method and picture processor | |
JPH07298100A (en) | Noise elimination circuit in negative film image pickup device | |
JPH0877350A (en) | Image processor | |
JPH10173958A (en) | Video signal processor | |
JP3095778B2 (en) | Black recalculation method for arbitrary HSL correction in CMY color space | |
JPH1188704A (en) | Image read method and image reader | |
JP2008052353A (en) | Image processing device | |
JP2783591B2 (en) | Digital color image processing method | |
JP2008301341A (en) | Image signal processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040127 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040329 |
|
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: 20040511 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040513 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080521 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090521 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |