JP3927426B2 - Image processing method, image processing apparatus, and image forming apparatus including the same - Google Patents

Image processing method, image processing apparatus, and image forming apparatus including the same Download PDF

Info

Publication number
JP3927426B2
JP3927426B2 JP2002064469A JP2002064469A JP3927426B2 JP 3927426 B2 JP3927426 B2 JP 3927426B2 JP 2002064469 A JP2002064469 A JP 2002064469A JP 2002064469 A JP2002064469 A JP 2002064469A JP 3927426 B2 JP3927426 B2 JP 3927426B2
Authority
JP
Japan
Prior art keywords
color
image
processing
chromatic
unit
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
Application number
JP2002064469A
Other languages
Japanese (ja)
Other versions
JP2003264693A (en
Inventor
誠 大津
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2002064469A priority Critical patent/JP3927426B2/en
Publication of JP2003264693A publication Critical patent/JP2003264693A/en
Application granted granted Critical
Publication of JP3927426B2 publication Critical patent/JP3927426B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、スキャナやデジタルスチルカメラ等のカラー画像入力装置より読み取られた入力画像データより、有彩・無彩の判定並びに純色・混色の判定を行い、この結果に基づいて適切な中間調処理を行う画像処理方法および画像処理装置並びにそれを備えた画像形成装置に関するものである。
【0002】
【従来の技術】
たとえば、デジタルカラー複写機などの画像形成装置において、アナログ画像をデジタル化した後、プリンタまたはディスプレイなどの出力装置に出力する技術が実用化されている。この種の画像形成装置においては、プレスキャン時または本スキャン時に原稿がカラーを含むものであるか白黒であるかを判定して、白黒であると判定された場合には、黒色材だけで出力し、原稿がカラーを含むものであると判定された場合には、複数の色材を用いてカラー再生画像を生成する画像処理方式において、さらに領域分離処理と呼ばれる処理によってたとえば無彩文字領域と有彩文字領域とを識別し、それぞれの文字領域の再現性を高めるために、無彩文字領域に対しては色材の使用量を削減し、合わせて黒色材の量を多くする処理を行う。有彩文字領域に対しては、原稿に形成された色の成分を推定し、その色相に応じて不用な色を取除くことによって色の再現性を高める処理が施されている。
【0003】
また、文字領域全体に強調処理にあたるフィルタリング処理を行うことによって、文字領域をくっきりと際立たせて見やすさを向上させる処理を行うとともに、中間調処理部において、サイズの異なる二種類のディザテーブルを準備しておき、無彩文字領域または有彩文字領域に対してはサイズの小さいたとえば1×1のディザテーブルを使用する。文字領域以外の領域に対しては、サイズの大きなたとえば2×2以上のディザテーブルを使用することによって、文字領域における再現性と文字領域以外の領域における階調性とを高める処理を行っている。
【0004】
たとえば、特開平9−214785号公報においては、画像処理装置内に、代表色割当部と、変化点抽出部と、エッジ検出部とからなる像域分離部が設けられ、代表色割当部は、入力画素を構成する各画素に対して、対象画素の色に近似した代表色を割当て、変化点抽出部は、各画素に割当てられた代表色に基づいて入力画素中の代表色の変化点を抽出し、エッジ検出部は、この抽出結果に基づいて入力画像を各々代表色の異なった複数の像域に区切るエッジを検出するようになっている。
【0005】
特開2001−111850号公報においては、たとえばスキャナによる原稿のプレスキャン時に、画像データの有彩/無彩を検出して原稿がカラー画像か否かを判定し、カラー画像のときには、その画像データの文字領域、有彩色領域、色相情報を求め、その色相に応じて不要色を抑制する処理を画像データに施すようになっている。また、特開平8−307717号公報においては、文字領域とその他の領域とでディザテーブルを切換える技術が記載されている。
【0006】
【発明が解決しようとする課題】
このような従来技術において、文字領域に対して解像力を保つべく中間調処理部における処理つまり中間調処理を省略し、出力装置固有の最小単位による出力を行うと、出力装置の性能によっては、中間調処理を施した場合と比べて階調性または色再現性が劣る場合がある。中間調処理を施すことによって、出力装置が持合わせていない色相を再現することができるが、この中間調処理は複数画素による面積階調または面積色再現処理であるため、文字領域に対し解像力が低下して画質劣化を招く。前記各公報に記載の従来技術では、文字領域の解像度を高めるか、色文字の再現性を高めるかを選択する最適化処理が施されないので、文字領域の解像度を高めるとともに、色文字の再現性を高めることは不可能である。
【0007】
したがって本発明の目的は、文字領域の解像度を高めるか、あるいは、色再現性・階調性を高めるかを適切に選択することにより、文字領域に対して最適な処理を施すことのできる画像処理方法および画像処理装置並びにそれを備えた画像形成装置を提供することである。
【0008】
【課題を解決するための手段】
本発明は、入力画像に中間調処理を施す階調再現処理手段と、
入力画像のうちで文字領域に属する注目画素に対して、有彩色であるか無彩色であるかを判定するとともに、純色であるか混色であるかを判定する色判定手段と、
前記色判定手段の判定結果に基づいて、有彩色でかつ純色であると判定された注目画素に対しては解像度を重視した中間調処理を施し、有彩色でかつ混色であると判定された注目画素に対しては階調性を重視した中間調処理を施すように、階調再現処理手段を制御する制御手段とを備えることを特徴とする画像処理装置である。
【0009】
本発明に従えば、階調再現処理手段にて、入力画像に中間調処理を施す。階調再現処理手段による中間調処理にあたって、色判定手段にて、入力画像のうちで文字領域に属する注目画素に対して、有彩色であるか無彩色であるかが判定されるとともに、純色であるか混色であるかが判定される。制御手段は、色判定手段の判定結果に基づいて、有彩色でかつ純色であると判定された注目画素に対しては解像度を重視した中間調処理を施し、有彩色でかつ混色であると判定された注目画素に対しては階調性を重視した中間調処理を施すように、階調再現処理手段を制御する。
【0010】
また本発明は、色判定手段は、入力画像の色空間を均等色空間に変換する色座標変換部を備えることを特徴とする。
【0011】
本発明に従えば、色座標変換部にて入力画像の色空間を均等色空間に変換し、色判定手段における色の判定を均等色空間で扱う。
【0012】
また本発明は、階調再現処理手段は、画像出力装置固有の最小単位である1×1のサイズの第1のマスクを用いて、解像度を重視した中間調処理を行い、前記第1のマスクよりもサイズが大きい第2のマスクを用いて、階調性を重視した中間調処理を行うことを特徴とする。
【0013】
本発明に従えば、画像出力装置固有の最小単位である1×1のサイズの第1のマスクを用いて、解像度を重視した中間調処理が行われ、前記第1のマスクよりもサイズが大きい第2のマスクを用いて、階調性を重視した中間調処理が行われる。
【0016】
また本発明は、前記画像処理装置を備えることを特徴とする画像形成装置である。
【0017】
本発明に従えば、有彩色の文字領域について、純色の場合は解像度を重視した出力方式を適用し、混色の場合は階調性を重視した中間調の出力方式を適用する。
【0018】
また本発明は、入力画像のうちで文字領域に属する注目画素に対して、有彩色であるか無彩色であるかを判定するとともに、純色であるか混色であるかを判定し、
有彩色でかつ純色であると判定された注目画素に対しては解像度を重視した中間調処理を施し、有彩色でかつ混色であると判定された注目画素に対しては階調性を重視した中間調処理を施すことを特徴とする画像処理方法である。
【0019】
本発明に従えば、入力画像のうちで文字領域に属する注目画素に対して、有彩色であるか無彩色であるかが判定されるとともに、純色であるか混色であるかが判定される。有彩色でかつ純色であると判定された注目画素に対しては、解像度を重視した中間調処理が施される。有彩色でかつ混色であると判定された注目画素に対しては、階調性を重視した中間調処理が施される。
【0020】
【発明の実施の形態】
図1は、本発明の一実施形態に係る画像形成装置1に適用されるカラー画像処理装置2とカラー画像入力装置3およびカラー画像出力装置4の構成図である。この画像形成装置1は、たとえばデジタルカラー複写機に好適に適用され、たとえば固体撮像素子(CCD:Charge Coupled Device)を備えたスキャナ部から構成されるカラー画像入力装置3(以下、画像入力装置3と呼ぶ)と、カラー画像処理装置2(以下、画像処理装置2と呼ぶ)と、たとえばインクジェット方式のプリンタなどのカラー画像出力装置4(以下、画像出力装置4と呼ぶ)とを有する。画像入力装置3によって取込まれた入力画像データに対して、画像処理装置2でもって所望の画像処理を施し、その後、画像出力装置4にて出力画像が出力されるようになっている。以下の説明において、入力画像を複数の領域に分離する領域分離処理を施す画像処理方法の説明をも含む。
【0021】
画像処理装置2は、アナログ/デジタル変換部5(以下、A/D変換部5と呼ぶ)と、シェーディング補正部6と、入力階調補正部7と、領域分離手段としての領域分離処理部8と、色補正部9と、黒生成下色除去部10と、空間フィルタ処理部11と、出力階調補正部12と、階調再現処理手段としての階調再現処理部13(中間調生成部13)と、これらの処理を制御する制御手段としての中央処理装置(CPU:Central Processing Unit)とを有する。画像入力装置3においては、原稿からの反射光像を赤R,緑G,青Bのアナログ信号として固体撮像素子にて読取り、これらアナログ信号を画像処理装置2に入力する。
【0022】
画像入力装置3にて読取られたアナログ信号は、画像処理装置2内において順次、A/D変換部5、シェーディング補正部6、入力階調補正部7、領域分離処理部8、色補正部9、黒生成下色除去部10、空間フィルタ処理部11、出力階調補正部12、階調再現処理部13へ送られ、シアン、マゼンタ、イエロー、ブラックすなわちC,M,Y,Kのデジタルカラー信号として、画像出力装置4へ出力されるようになっている。A/D変換部5では、赤R,緑G,青Bのアナログ信号が赤R,緑G,青Bのデジタル信号(以下、RGB信号と呼ぶ)に変換され、シェーディング補正部6にて、画像入力装置3の照明系、結像系、撮像系で生じる各種の歪みが取除かれる。
【0023】
次に、入力階調補正部7において、前記歪みが取除かれたRGB信号(つまりRGBの反射率信号)に対して、カラーバランスを整えると同時に、画像処理に適した濃度信号に変換する処理が施される。また、RGBの濃度信号は補色反転されてCin,Min,Yin信号に変換される。領域分離処理部8では、Cin,Min,Yin信号から、入力画素中の各画素を文字領域、網点領域、写真領域のいずれかに分離する。この領域分離処理部8は、分離結果に基づいて画素がいずれの領域に属しているかを示す領域識別信号を、黒生成下色除去部10と、空間フィルタ処理部11と、階調再現処理部13とへ出力するとともに、入力階調補正部7から出力された入力信号をそのまま後段の色補正部9に出力する。
【0024】
色補正部9においては、色再現性を高めるために、不要吸収成分を含むシアン、マゼンタ、イエロー色材つまりCMY色材の分光特性に基づいた色濁りを取除く処理が施される。その後、黒生成下色除去部10において、色補正後のCMYの3色信号から黒(K)信号を生成する処理が行われ、シアン、マゼンタ、イエロー、ブラックすなわちCMYK4色信号に変換されるようになっている。黒生成処理の一例として、スケルトンブラックによる黒生成を行う一般的方法がある。この方法では、スケルトンカーブの入出力特性をy=f(x)、入力されるデータをC,M,Y,出力されるデータをC”,M”,Y”,K'、下色除去(UCR:Under Color Removal)率をα(0<α<1)とすると、黒生成下色除去処理は以下の数1で表わされる。
【0025】
【数1】

Figure 0003927426
【0026】
空間フィルタ処理部11は、黒生成下色除去部10から入力されるCMYK信号の画像データに対して、領域識別信号を基にデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正することによって出力画像のぼやけや粒状性劣化を防ぐように処理するものであって、階調再現処理部13も、空間フィルタ処理部11と同様に、CMYK信号の画像データに対して、領域識別信号を基に所定の処理を施すものである。たとえば、領域分離処理部8にて文字に分離された領域すなわち文字領域は、特に黒文字または色文字の再現性を高めるために、空間フィルタ処理部11による空間フィルタ処理における鮮鋭強調処理を行うことで高周波数の強調量が大きくされる。同時に、階調再現処理部13においては、高域周波数の再現に適した高解像度のスクリーンでの二値化または多値化処理が選択される。
【0027】
また、領域分離処理部8にて網点に分離された領域に関しては、空間フィルタ処理部11において、入力網点成分を除去するためのローパスフィルタ処理が施される。そして、出力階調補正部12では、濃度信号などの信号を画像出力装置4の特性値である網点面積率に変換する出力階調補正処理を行った後、階調再現処理部13において、最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理(中間調生成)が施される。領域分離処理部8にて写真に分離された領域に関しては、階調再現性を重視したスクリーンでの二値化または多値化処理が行われる。上述した各処理が施された画像データは、たとえばラム(RAM:Random Access Memory)などの記憶手段に一旦記憶され、所定のタイミングで読出されて画像出力装置4に入力される。
【0028】
図2は領域分離処理部8の構成図であり、図3は、注目画素の周辺に7×7画素の局所マスクを形成した場合の説明図であり、図4は水平方向のエッジと垂直方向のエッジを検出する方法を説明する図である。領域分離処理部8は、文字領域判定部14と網点領域判定部15とを有し、入力信号Cin,Min,Yin(RGB信号を補色反転したデータ)に対して注目画素を中心とした局所マスクを形成して領域分離処理を施し、少なくとも文字領域と、文字領域以外の領域すなわち網点領域とに分離する。文字領域でも網点領域でもない場合には、写真領域と判定する。文字領域判定部14は、文字領域検出部16と、エッジ検出部17と、パターンマッチング部18と、色判定部19と、判定信号生成部20とを有し、これらのうち文字領域検出部16、エッジ検出部17、パターンマッチング部18が文字領域抽出部に相当する。文字領域検出部16において文字の特徴を有する領域を抽出し、誤判別を極力抑制するために、垂直エッジ検出部21と水平エッジ検出部22とから成るエッジ検出部17にてエッジ検出を行い、パターンマッチング部18にてパターンマッチングを行って文字領域を分離する。さらに、文字領域については、有彩色であるか無彩色であるかを判定し、この判定結果に基づいて黒文字と色文字とを分離し、色文字についてはさらに純色であるか混色であるかを判定する。ここで示した純色とは、カラー画像出力装置4で色材を混色することなく再現できる色である。
【0029】
色判定部19は、有彩/無彩判定部23と、純色/混色判定部24と、判定部25とで構成されている。文字領域検出部16の判定結果に基づき、有彩/無彩判定部23において、文字領域に属すると判定された注目画素に対して、有彩色であるか無彩色であるかを判定する。純色/混色判定部24においては、画像出力装置4によって一次色または二次色として再現することができる色相を純色とし、画像出力装置4によって3つ以上の色材を混ぜることによって再現することができる色を混色として、入力信号に対して判別を行う。判定部25においては、これら有彩/無彩判定部23と純色/混色判定部24との判定結果に基づいて、文字領域を、黒文字と純色の色文字と混色の色文字とに分離する。一次色は、画像出力装置4に用いられている複数の色材のうち、主に一つの色材を用いて表現される色であり、二次色は、前記複数の色材のうち、二つの色材をメインに用いて表現される色である。
【0030】
最終的に画像出力装置4によって純色として再現することができる色文字領域と、それ以外の文字領域とを、文字領域判定部14の判定信号生成部20で生成され出力される文字領域識別信号によって識別し、階調再現処理手段としての階調再現処理部13にて行われる中間調処理を適宜切換えることが可能となる。
【0031】
図5は複数の文字検出用パターンの説明図であり、図6は、パターンマッチングを行う際に7×7画素の局所マスク内に3×3画素のサブマスクを形成した様子を示す説明図であり、図7は色判定処理の模式図であり、図8は純色エリアの模式図であり、図9は、文字領域判定部14の判定結果に基づく中間調切換え処理のフローチャートである。ここで、Si(i=1,2,3,…)はステップを示す。RGB信号を補色反転した信号である入力信号Cin,Min,Yinに対し、処理対象の注目画素を(i,j)とすると、この注目画素における入力信号値は(Cin(i,j),Min(i,j),Yin(i,j))で与えられるものとする。ステップ1では、文字領域検出部16において文字領域検出処理が行われ、次に、ステップ2およびステップ3に移行して、注目画素点の周辺に対しM×N画素の局所マスク(図3参照)を形成し、たとえば隣接する画素間の差分(図4参照)を求め、その差分をしきい値処理することによって、エッジを検出する。いま、注目画素(i,j)における局所マスクに属する画素Mask(i,j)を数2のように定義する。
【0032】
【数2】
Figure 0003927426
【0033】
数2から垂直方向のエッジ画素EdgeV(i,j)および水平方向のエッジ画素EdgeH(i,j)は、それぞれ数3および数4のように表される。
【0034】
【数3】
Figure 0003927426
【0035】
【数4】
Figure 0003927426
【0036】
これら数3を含む垂直エッジ検出部21と、数4を含む水平エッジ検出部22とによって、垂直方向および水平方向のエッジを検出する(図4参照)。ただし、この方法では端1画素分エッジを検出することができないため便宜上端にエッジ無しを代入し、局所マスクと同サイズの垂直方向および水平方向のエッジ検出を行う。その後ステップ4に移行して検出結果の論理和EdgeV(i,j) ∪EdgeH(i,j)を求め、エッジ検出結果Edge(i,j)とする。
【0037】
ステップ5にて検出されたエッジEdge(i,j)に対し、ステップ6においてパターンマッチング処理を行って文字領域をさらに分離する。つまり、前記エッジEdge(i,j)に対し、図6に示すように、たとえば7×7のマスク内に3×3のサブマスクを形成し、その3×3のサブマスクが7×7のマスク全てを覆うように1画素ずらしながら走査することによって、テンプレートを検出する。同じパターンが検出された場合に、処理を行っている注目画素点が文字領域であると判定するようになっている。
【0038】
ステップ7において前記同じパターンが検出された場合には、ステップ8,9に移行して、有彩/無彩判定部23にて色判定処理と、純色/混色判定部24にて純色/混色判定処理が並列に行われる。ステップ8における色判定処理において、単純に、無彩領域ではシアン、マゼンタ、イエロー間のバランスが揃っているのに対し、有彩領域ではシアン、マゼンタ、イエロー間のバランスが揃っていない特徴を利用し、シアン、マゼンタ、イエロー間の最大濃度差をしきい値処理することによって、注目画素点での有彩、無彩判定を行うことが可能となる。したがって、色判定処理は以下の数5によって行うことができる。
【0039】
【数5】
Figure 0003927426
【0040】
TH colorは色判定用しきい値で、予め設定する定数であるが、以下のように入力の濃度値の最小値に応じて、しきい値を変更する方法がよく行われている(図7参照)。ここで、THintennは予め定められるしきい値である。
【0041】
【数6】
Figure 0003927426
【0042】
上述したエッジ検出結果と色判定結果とに基づいて、以下の表1によって色文字と白黒文字とを判定する。
【0043】
【表1】
Figure 0003927426
【0044】
ステップ9における純色/混色判定処理において、色文字と判定された領域に対して、画像出力装置4が再現可能な一次色であるか否かを判定する。画像出力装置4として電子写真方式の複写機を考えた場合、通常出力用の色材としては、シアン、マゼンタ、イエローのトナーを用いて減法混色によって色を再現している。この三原色に対しては、他の色材を混色することなく出力再現することが可能である。したがって、入力原稿の中からこの色に属する領域を検出し、この色とその他の色とを分離処理することによって高画質化を図ることができる。分離処理方法については、次の[数7]を用いてしきい値処理することによって実現し、純色判定を行う。ここで、注目画素点での入力信号は(Cin(i,j),Min(i,j),Yin(i,j))で与えられるものとする。
【0045】
【数7】
Figure 0003927426
【0046】
図11は一次色文字の読取り例を示す説明図である。実際には、シアン文字であっても画像入力装置3の精度によっては、マゼンタ成分またはイエロー成分が含まれてしまう。同様にマゼンタ文字、イエロー文字であっても他の色成分が含まれてしまうため、上述した判定方法ではうまく判別することができない場合が存在する。この種の画像入力装置3においては、各色成分の分布が直線によって近似することが可能であるため、画像入力装置3の特性に応じた各色文字の色成分を直線近似し、次の数8におけるPの値を設定し判定するうえでの幅を広げて、すなわち誤差を考慮したうえで、数8を用いて精度よく判定することが可能となる。
【0047】
【数8】
Figure 0003927426
【0048】
ステップ10では、色判定処理の結果が有彩色であるのか無彩色であるのかの判定がなされ、有彩色の判定がなされた場合、ステップ11で純色か混色かの判定がなされる。そして、次の表2に示すように、上述した文字検出結果と色判定結果である文字領域識別信号に基づいて、制御手段としてのCPUが中間調処理の方式を切換えることによって、たとえば画像出力装置4が一次色として再現可能な色相に対してはステップ12に移行して解像度を重視して出力し、それ以外の色文字に対してはステップ13に移行して、複数画素を用いた中間調処理によって階調性もしくは色再現性を高めて出力することができる。表2において、*は一次色、混色のどちらでもよいことを表す。
【0049】
【表2】
Figure 0003927426
【0050】
文字検出結果が色文字でかつ純色判定結果が一次色と判定された場合には、中間調処理において、画像出力装置固有の最小単位である1×1のマスクサイズでもって出力し、色文字でかつ混色と判定された場合には、たとえば8×8のマスクサイズを用いて面積変調処理の一種であるディザ処理を行う。ディザ処理としては、たとえば一般的に用いられている組織的ディザマトリックス法を用いて処理するものとする。図12は二次色文字の読取り例を示す説明図である。ステップ11における純色の判定においては、電子写真方式の複写機を考慮した場合、画像出力装置4の二次色であっても精度よく出力することが可能であるため、二次色を含めたかたちで判定するものとする。二次色の判定も前記一次色を判定した方法と略同様に次の数9を用いて判定することが可能である。
【0051】
【数9】
Figure 0003927426
【0052】
しかし、スキャナの精度によっては色分解精度が不十分であり、たとえば画像入力装置3によっては図12のように色成分が分布する。このような色成分が分布する画像入力装置3を用いる場合には、次の数10を用いて判定することによって、精度よく判定することが可能である。以下、前記方法と同様に、判定部25、判定信号生成部20において次の表3のように判定し、制御手段としてのCPUが中間調処理を切換える。
【0053】
【数10】
Figure 0003927426
【0054】
【表3】
Figure 0003927426
【0055】
上記した文字領域検出部16での文字の特徴を有する領域を抽出する方法および網点領域判定部15での処理方法としては、例えば「画像電子学会研究会予稿90-06-04」に記載されている方法を用いることができる。すなわち、注目画素を中心としたM×N(M、Nは自然数)画素のブロック内で以下のような判定を行い、それを注目画素の領域識別信号とする。ブロック内の画素に対して信号レベルの平均値Daveを求め、その平均値を用いてブロック内の各画素を二値化する。また、最大画素信号レベルDmax、最小画素信号レベルDminも同時に求める。
【0056】
網点領域では、小領域における画像信号の変動が大きいことと、背景に比べて濃度が高いこととを利用し、網点領域を識別する。二値化されたデータに対して主走査方向および副走査方向でそれぞれ0から1への変化点数、1から0への変化点数を求めて、それぞれKH,KVとし、しきい値TH,TVと比較して両者が共にしきい値を上回ったら網点領域とする。また、背景との誤判定を防ぐために、先に求めたDmax,Dmin,Daveをしきい値B1,B2と比較する。つまり、最大画素信号レベルDmaxから信号レベルの平均値Daveを減じた値がしきい値B1より大きく(Dmax −Dave >B1)、かつ、信号レベルの平均値Daveから最小画素信号レベルDminを減じた値がしきい値B2より大きく(Dave −Dmin >B2)、かつ、KH >TH 、かつ、KV >TVならば網点領域であり、そうでなければ非網点領域である。
【0057】
文字領域では、最大信号レベルと最小信号レベルとの差が大きく、濃度も高いと考えられることから、文字領域の識別を以下のように行う。最大信号レベルと、最小信号レベルと、それらの差分 Dsubを、しきい値PA ,PB ,PC とそれぞれ比較し、Dmax >PA またはDmin <PBまたはDsub >PCの条件を充たすならば文字領域とする。網点領域でも文字領域でもない領域の画素はその他(写真)領域とする。
【0058】
以上説明した画像処理装置2によれば、文字領域に属する注目画素に対して、有彩色か無彩色かが判定され、有彩色と判定された注目画素に対して予め定められる色相の範囲内にあるか否かが判定された後、これら判定結果に基づいて階調再現処理部13の処理内容が設定されるので、再現可能な有彩色の文字領域に対しては、解像度を高めることが可能となり、再現不可能な有彩色の文字領域に対しては、色文字の再現性を高めることが可能となる。制御手段としてのCPUは、有彩色でかつ予め定められる色相の範囲内にあると判定された注目画素に対しては、解像度を重視した中間調処理を選択し、有彩色でかつ前記色相の範囲内にないと判定された注目画素に対しては、階調性を重視した中間調処理を選択するので、文字領域の解像度を高めるとともに、色文字の再現性を高めることができる。
【0059】
また、色判定部19にて、有彩色であると判定された注目画素に対して、階調再現処理手段によって制御可能な解像度を重視した中間調処理によって再現することが可能な色相の範囲内にあるか否かを判定する。たとえば、シアン、マゼンタ、イエロー色材つまりCMY色材によって画像を形成するような装置を想定すると、前記CMY色材の二色を混色することによって赤、青、緑の二次色は比較的容易に出力することが可能となる。したがって、このような二次色を入力信号から同時に判定し、純色の場合と同様な処理を行うことによって、純色文字と同等の解像度を高めた出力を行うことが可能となる。
【0060】
前記画像処理装置2を備える画像形成装置1によれば、色文字領域のうち色材を多く混色することなく再現できる色相と、複数の色材を混色することによってのみ再現できる色相とを予め設定しておき、前者において解像度を重視した出力方式を適用し、後者において色味または階調を重視した中間調の出力方式を適用することができる。このように出力方式を適宜切換えることによって、前記従来のものと比べて高品質の画像を出力することが可能となり、しかも前記画像をリアルタイムで高速に出力することが可能となる。
【0061】
本発明の実施の他の形態として、上述したエッジ検出法は、必ずしも差分によるしきい値処理によって検出するものではなく、さまざまなエッジ検出法を利用することが可能である。
【0062】
色を判定する色空間は、RGB(補色反転したCMY)空間に限定されるものではなく、CIE1976L*a*b*(CIE:Commission Internationale de
l'Eclairage:国際照明委員会。L*:明度、a*・b*:色度)の均等色空間で行うことが可能である。
【0063】
図10は色判定部19に色座標変換部26を備えた図2相当図である。ただし、前記実施形態と同一の部材には同一の符号を付し、その説明は適宜省略する。CIE1976L*a*b*の均等色空間で色判定する場合、有彩/無彩判定部23および純色/混色判定部24の前段に、補色反転したCMY空間をCIE1976L*a*b*空間に変換する色座標変換部26を設ければよい。色座標変換の方法としては、例えば、カラーチャート原稿の各色パッチを測色器で測色してL***値を求める(L***表色系のデータを求める)一方、測色に用いたカラーチャート原稿を画像入力装置3から読取ってRGBデータを得てCMYデータに補色反転し、このようにして得たL***値とCMY値とを基に、両者を対応付けるための係数をニューラルネットワークやマスキング演算係数決定法により求め、求めた係数を用いて色座標変換を行う。有彩/無彩判定部では、下記の数11に基づいて彩度C*を求め、予め定められている閾値と比較することにより有彩/無彩の判定を行う。
【0064】
【数11】
Figure 0003927426
【0065】
純色/混色判定部では、下記の数12により色相Hを求め、1次色の範囲内にあるか否かにより判定を行えば良い。
【0066】
【数12】
Figure 0003927426
【0067】
中間調処理は、組織的ディザマトリックス法に限定されるものではなく、誤差拡散などさまざまな中間調処理を適用することが可能である。画像出力装置4は、画像データをたとえば紙などの記録媒体上に出力するもので、たとえば、電子写真方式またはインクジェット方式を用いたものを挙げることができるが、これらに限定されるものではない。その他、前記実施形態に、特許請求の範囲を逸脱しない範囲において種々の部分的変更を行う場合もある。
【0068】
【発明の効果】
以上のように本発明によれば、階調再現処理手段による中間調処理にあたって、色判定手段にて、入力画像のうちで文字領域に属する注目画素に対して、有彩色であるか無彩色であるかが判定されるとともに、純色であるか混色であるかが判定される。制御手段は、色判定手段の判定結果に基づいて、階調再現処理手段を制御する。
有彩色の文字領域に対して解像度を重視した中間調処理を行うと、色再現性が低くなる場合と色再現性が低くならない場合とがある。混色の文字領域は、解像度を重視した中間調処理を行うと、色再現性が低くなる。純色の文字領域は、解像度を重視した中間調処理を行っても、色再現性が低くならない。
このような点を考慮して、制御手段にて階調再現処理手段を制御して、次のように中間調処理を行う。有彩色でかつ混色であると判定された注目画素に対しては、階調性を重視した中間調処理を施す。これによって色再現性の低下を防ぐことができる。有彩色でかつ純色であると判定された注目画素に対しては、解像度を重視した中間調処理を施す。これによって解像度を高くすることができる。このとき色再現性は低くならない。このような本発明では、有彩色の文字領域について、全体として、色再現性を低下させることなく、解像度を高くすることができる。
【0069】
また本発明によれば、色座標変換部にて入力画像の色空間を均等色空間に変換し、色判定手段における色の判定を均等色空間で扱うことによって、機器依存性を無くし、高精度の判定結果を得ることが可能となる。
【0070】
また本発明によれば、画像出力装置固有の最小単位である1×1のサイズの第1のマスクを用いて中間調処理を行うことによって、有彩色の文字領域について解像度を高くすることができる。また前記第1のマスクよりもサイズが大きい第2のマスクを用いて中間調処理を行うことによって、有彩色の文字領域について階調性を高くして色再現性を高くすることができる。
【0073】
また本発明によれば、有彩色の文字領域について、純色の場合は解像度を重視した出力方式を適用し、混色の場合は階調性を重視した中間調の出力方式を適用することができる。このように出力方式を適宜切換えることによって、前記従来のものと比べて高品質の画像を出力することが可能となり、しかも前記画像をリアルタイムで高速に出力することが可能となる。
【0074】
また本発明によれば、入力画像のうちで文字領域に属する注目画素に対して、有彩色であるか無彩色であるかが判定されるとともに、純色であるか混色であるかが判定される。有彩色でかつ混色であると判定された注目画素に対しては、階調性を重視した中間調処理が施される。これによって色再現性の低下を防ぐことができる。有彩色でかつ純色であると判定された注目画素に対しては、解像度を重視した中間調処理が施される。これによって解像度を高くすることができる。このとき色再現性は低くならない。このような本発明では、有彩色の文字領域について、全体として、色再現性を低下させることなく、解像度を高くすることができる。
【図面の簡単な説明】
【図1】本発明の実施形態に係る画像形成装置の概略構成図である。
【図2】領域分離処理部の構成図である。
【図3】注目画素の周辺に7×7画素の局所マスクを形成した場合の説明図である。
【図4】水平方向のエッジと垂直方向のエッジを検出する方法を説明する図である。
【図5】複数の文字検出用パターンの説明図である。
【図6】パターンマッチングを行う際に7×7画素の局所マスク内に3×3画素のサブマスクを形成した様子を示す説明図である。
【図7】色判定処理の模式図である。
【図8】純色エリアの模式図である。
【図9】文字領域判定部の判定結果に基づく中間調切換え処理のフローチャートである。
【図10】色判定部に色座標変換部を備えた図2相当図である。
【図11】一次色文字の読取り例を示す説明図である。
【図12】二次色文字の読取り例を示す説明図である。
【符号の説明】
1 画像形成装置
2 画像処理装置
8 領域分離処理部
13 階調再現処理部
14 文字領域判定部
16 文字領域検出部
17 エッジ検出部
18 パターンマッチング部
19 色判定部
23 有彩/無彩判定部
24 純色/混色判定部
25 判定部[0001]
BACKGROUND OF THE INVENTION
The present invention performs chromatic / achromatic determination and pure / mixed color determination from input image data read by a color image input device such as a scanner or a digital still camera, and appropriate halftone processing is performed based on the result. The present invention relates to an image processing method, an image processing apparatus, and an image forming apparatus including the same.
[0002]
[Prior art]
For example, in an image forming apparatus such as a digital color copying machine, a technique for digitizing an analog image and outputting it to an output device such as a printer or a display has been put into practical use. In this type of image forming apparatus, it is determined whether the document includes color or black and white during pre-scanning or main scanning, and if it is determined to be black-and-white, only black material is output. In the image processing method for generating a color reproduction image using a plurality of color materials when it is determined that the document includes color, for example, an achromatic character region and a chromatic character region by a process called region separation processing In order to improve the reproducibility of each character area, the amount of color material used is reduced for the achromatic character area and the amount of black material is increased. The chromatic character area is subjected to a process for improving the color reproducibility by estimating the color component formed on the original and removing the unnecessary color according to the hue.
[0003]
In addition, by performing a filtering process that is an emphasis process on the entire character area, the character area is clearly highlighted to improve visibility, and two types of dither tables with different sizes are prepared in the halftone processing unit. For example, a small 1 × 1 dither table is used for the achromatic character region or the chromatic character region. For areas other than the character area, a process for improving the reproducibility in the character area and the gradation in the area other than the character area is performed by using a dither table having a large size, for example, 2 × 2 or more. .
[0004]
For example, in Japanese Patent Laid-Open No. 9-214785, an image area separation unit including a representative color allocation unit, a change point extraction unit, and an edge detection unit is provided in the image processing apparatus. A representative color approximate to the color of the target pixel is assigned to each pixel constituting the input pixel, and the change point extraction unit determines a change point of the representative color in the input pixel based on the representative color assigned to each pixel. Based on the extraction result, the edge detection unit detects edges that divide the input image into a plurality of image areas each having a different representative color.
[0005]
In Japanese Patent Laid-Open No. 2001-111850, for example, when a document is pre-scanned by a scanner, chromatic / achromatic color of image data is detected to determine whether the document is a color image. The character area, chromatic color area, and hue information are obtained, and processing for suppressing unnecessary colors according to the hue is performed on the image data. Japanese Patent Application Laid-Open No. 8-307717 describes a technique for switching a dither table between a character area and other areas.
[0006]
[Problems to be solved by the invention]
In such a conventional technique, if the processing in the halftone processing unit, that is, the halftone processing, is omitted in order to maintain the resolving power with respect to the character area, and output is performed in the minimum unit specific to the output device, depending on the output device performance, There are cases where the gradation or color reproducibility is inferior to the case where tone processing is performed. By applying halftone processing, it is possible to reproduce hues that the output device does not have. However, since this halftone processing is area gradation or area color reproduction processing by a plurality of pixels, the resolving power for character regions is high. Decreasing the image quality. In the prior art described in each of the above publications, no optimization process is performed to select whether to increase the resolution of the character area or to increase the reproducibility of the color character. It is impossible to increase.
[0007]
Accordingly, an object of the present invention is to perform image processing that can perform optimum processing on a character area by appropriately selecting whether to increase the resolution of the character area or to improve color reproducibility and gradation. To provide a method, an image processing apparatus, and an image forming apparatus including the same.
[0008]
[Means for Solving the Problems]
  The present invention provides an input imageGradation reproduction processing means for performing halftone processing on
  Color determination means for determining whether the pixel of interest in the character area in the input image is a chromatic color or an achromatic color, and determining whether it is a pure color or a mixed color;
  Based on the determination result of the color determination means, the target pixel determined to be chromatic and pure is subjected to halftone processing with an emphasis on resolution, and the target determined to be chromatic and mixed color Controls gradation reproduction processing means so that halftone processing with an emphasis on gradation is applied to pixels.And an image processing apparatus.
[0009]
  According to the present invention,The gradation reproduction processing means performs halftone processing on the input image. In the halftone processing by the gradation reproduction processing means, the color determination means determines whether the pixel of interest belonging to the character area in the input image is a chromatic color or an achromatic color, and is a pure color. It is determined whether there is a color mixture. Based on the determination result of the color determination means, the control means performs a halftone process with an emphasis on resolution on the target pixel determined to be chromatic and pure color, and determines that the pixel is chromatic and mixed color The gradation reproduction processing means is controlled so that halftone processing with an emphasis on gradation is applied to the target pixel.
[0010]
  The present invention also provides color determination.meansIs provided with a color coordinate conversion unit that converts the color space of the input image into a uniform color space.
[0011]
  According to the present invention, the color coordinate conversion unit converts the color space of the input image into a uniform color space, and performs color determination.meansThe color judgment in is handled in a uniform color space.
[0012]
  The present invention also providesThe gradation reproduction processing means performs halftone processing with an emphasis on resolution using a first mask having a size of 1 × 1, which is a minimum unit unique to the image output apparatus, and is larger in size than the first mask. Use the second mask to perform halftone processing with an emphasis on gradation.It is characterized by that.
[0013]
  According to the present invention,A halftone process with an emphasis on resolution is performed using a first mask having a size of 1 × 1, which is a minimum unit unique to the image output apparatus, and a second mask having a size larger than that of the first mask is used. Thus, halftone processing with an emphasis on gradation is performed.
[0016]
In addition, the present invention is an image forming apparatus including the image processing apparatus.
[0017]
  According to the present invention,For chromatic character areas, apply an output method that emphasizes resolution for pure colors, and gradation for mixed colors.Apply a halftone output method that emphasizes.
[0018]
  The present invention also provides an input image.Determine whether the pixel of interest is a chromatic color or an achromatic color, and whether it is a pure color or a mixed color,
  The pixel of interest that is determined to be chromatic and pure is subjected to halftone processing with an emphasis on resolution, and gradation is emphasized to the pixel of interest that is determined to be chromatic and mixed. Apply halftone processingAn image processing method characterized by this.
[0019]
  According to the present invention, the input imageAmong them, it is determined whether the pixel of interest belonging to the character region is a chromatic color or an achromatic color, and whether it is a pure color or a mixed color. A target pixel determined to be a chromatic color and a pure color is subjected to halftone processing with an emphasis on resolution. The pixel of interest that is determined to be chromatic and mixed is subjected to halftone processing that emphasizes gradation.Is done.
[0020]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a configuration diagram of a color image processing apparatus 2, a color image input apparatus 3, and a color image output apparatus 4 that are applied to an image forming apparatus 1 according to an embodiment of the present invention. The image forming apparatus 1 is suitably applied to, for example, a digital color copying machine, and includes, for example, a color image input apparatus 3 (hereinafter referred to as an image input apparatus 3) including a scanner unit including a solid-state imaging device (CCD: Charge Coupled Device). A color image processing apparatus 2 (hereinafter referred to as an image processing apparatus 2), and a color image output apparatus 4 (hereinafter referred to as an image output apparatus 4) such as an ink jet printer. The input image data captured by the image input device 3 is subjected to desired image processing by the image processing device 2, and then an output image is output by the image output device 4. The following description includes a description of an image processing method for performing a region separation process for separating an input image into a plurality of regions.
[0021]
The image processing apparatus 2 includes an analog / digital conversion unit 5 (hereinafter referred to as an A / D conversion unit 5), a shading correction unit 6, an input tone correction unit 7, and a region separation processing unit 8 as a region separation unit. A color correction unit 9, a black generation and under color removal unit 10, a spatial filter processing unit 11, an output gradation correction unit 12, and a gradation reproduction processing unit 13 (halftone generation unit as gradation reproduction processing means). 13) and a central processing unit (CPU) as a control means for controlling these processes. In the image input device 3, the reflected light image from the document is read as red R, green G, and blue B analog signals by the solid-state imaging device, and these analog signals are input to the image processing device 2.
[0022]
Analog signals read by the image input device 3 are sequentially converted into an A / D conversion unit 5, a shading correction unit 6, an input tone correction unit 7, a region separation processing unit 8, and a color correction unit 9 in the image processing device 2. , Black generation and under color removal unit 10, spatial filter processing unit 11, output tone correction unit 12, tone reproduction processing unit 13, and cyan, magenta, yellow, black, that is, C, M, Y, K digital colors A signal is output to the image output device 4. In the A / D converter 5, red R, green G, and blue B analog signals are converted into red R, green G, and blue B digital signals (hereinafter referred to as RGB signals). Various distortions generated in the illumination system, the imaging system, and the imaging system of the image input apparatus 3 are removed.
[0023]
Next, the input tone correction unit 7 adjusts the color balance of the RGB signal from which the distortion has been removed (that is, the RGB reflectance signal) and simultaneously converts it into a density signal suitable for image processing. Is given. Further, the RGB density signals are inverted in complementary colors and converted into Cin, Min, and Yin signals. The region separation processing unit 8 separates each pixel in the input pixel into one of a character region, a halftone dot region, and a photograph region from the Cin, Min, and Yin signals. The region separation processing unit 8 outputs a region identification signal indicating which region a pixel belongs to based on the separation result, a black generation and under color removal unit 10, a spatial filter processing unit 11, and a tone reproduction processing unit. 13, and the input signal output from the input gradation correction unit 7 is output to the subsequent color correction unit 9 as it is.
[0024]
In the color correction unit 9, in order to improve color reproducibility, a process of removing color turbidity based on the spectral characteristics of cyan, magenta, and yellow color materials including unnecessary absorption components, that is, CMY color materials is performed. Thereafter, the black generation and under color removal unit 10 performs processing for generating a black (K) signal from the CMY three-color signals after color correction, and converts them into cyan, magenta, yellow, black, that is, CMYK four-color signals. It has become. As an example of the black generation process, there is a general method for generating black with skeleton black. In this method, the input / output characteristic of the skeleton curve is y = f (x), the input data is C, M, Y, the output data is C ″, M ″, Y ″, K ′, and the under color removal ( When the UCR (Under Color Removal) rate is α (0 <α <1), the black generation and under color removal processing is expressed by the following equation (1).
[0025]
[Expression 1]
Figure 0003927426
[0026]
The spatial filter processing unit 11 performs spatial filter processing using a digital filter on the image data of the CMYK signal input from the black generation and under color removal unit 10 based on the region identification signal, thereby correcting the spatial frequency characteristics. The gradation reproduction processing unit 13 performs processing so as to prevent blurring of the output image and deterioration of graininess. Similarly to the spatial filter processing unit 11, the gradation reproduction processing unit 13 also uses a region identification signal based on the image data of the CMYK signal. Is subjected to predetermined processing. For example, a region separated into characters by the region separation processing unit 8, that is, a character region is subjected to sharp enhancement processing in the spatial filter processing by the spatial filter processing unit 11 in order to improve the reproducibility of black characters or color characters. The amount of high frequency enhancement is increased. At the same time, the gradation reproduction processing unit 13 selects binarization or multi-value processing on a high-resolution screen suitable for high-frequency reproduction.
[0027]
Further, with respect to the region separated into halftone dots by the region separation processing unit 8, the spatial filter processing unit 11 performs low-pass filter processing for removing the input halftone component. The output tone correction unit 12 performs output tone correction processing for converting a signal such as a density signal into a halftone dot area ratio that is a characteristic value of the image output device 4. Gradation reproduction processing (halftone generation) is performed so that the image is finally separated into pixels and each gradation is reproduced. For the region separated into photographs by the region separation processing unit 8, binarization or multi-value processing is performed on the screen with an emphasis on gradation reproducibility. The image data subjected to the above-described processes is temporarily stored in a storage means such as a RAM (Random Access Memory), read out at a predetermined timing, and input to the image output device 4.
[0028]
2 is a configuration diagram of the region separation processing unit 8, FIG. 3 is an explanatory diagram in the case where a 7 × 7 pixel local mask is formed around the pixel of interest, and FIG. 4 is a horizontal edge and a vertical direction It is a figure explaining the method to detect this edge. The region separation processing unit 8 includes a character region determination unit 14 and a halftone dot region determination unit 15, and a local area centered on the target pixel with respect to the input signals Cin, Min, and Yin (data obtained by complementing RGB signals). A mask is formed and a region separation process is performed to separate at least a character region and a region other than the character region, that is, a halftone dot region. If it is neither a character area nor a halftone dot area, it is determined as a photo area. The character area determination unit 14 includes a character area detection unit 16, an edge detection unit 17, a pattern matching unit 18, a color determination unit 19, and a determination signal generation unit 20, and among these, the character region detection unit 16. The edge detection unit 17 and the pattern matching unit 18 correspond to a character region extraction unit. In order to extract a region having character characteristics in the character region detection unit 16 and suppress erroneous determination as much as possible, the edge detection unit 17 including the vertical edge detection unit 21 and the horizontal edge detection unit 22 performs edge detection, The pattern matching unit 18 performs pattern matching to separate character areas. Furthermore, for the character area, it is determined whether it is a chromatic color or an achromatic color, and the black character and the color character are separated based on the determination result, and the color character is further determined whether it is a pure color or a mixed color. judge. The pure color shown here is a color that can be reproduced by the color image output device 4 without mixing color materials.
[0029]
The color determination unit 19 includes a chromatic / achromatic determination unit 23, a pure color / mixed color determination unit 24, and a determination unit 25. Based on the determination result of the character region detection unit 16, the chromatic / achromatic determination unit 23 determines whether the pixel of interest determined to belong to the character region is a chromatic color or an achromatic color. In the pure color / mixed color determination unit 24, a hue that can be reproduced as a primary color or a secondary color by the image output device 4 is set as a pure color, and is reproduced by mixing three or more color materials by the image output device 4. The input signal is discriminated using the possible colors as a mixed color. Based on the determination results of the chromatic / achromatic determination unit 23 and the pure color / mixed color determination unit 24, the determination unit 25 separates the character area into black characters, pure color characters, and mixed color characters. The primary color is a color that is mainly expressed using one color material among the plurality of color materials used in the image output device 4, and the secondary color is a second color among the plurality of color materials. It is a color that is expressed using two color materials.
[0030]
The color character area that can be finally reproduced as a pure color by the image output device 4 and the other character areas are determined by the character area identification signal generated and output by the determination signal generation unit 20 of the character area determination unit 14. It is possible to discriminate and appropriately switch halftone processing performed in the gradation reproduction processing unit 13 as gradation reproduction processing means.
[0031]
FIG. 5 is an explanatory diagram of a plurality of character detection patterns, and FIG. 6 is an explanatory diagram showing a state in which a 3 × 3 pixel submask is formed in a 7 × 7 pixel local mask when pattern matching is performed. 7 is a schematic diagram of color determination processing, FIG. 8 is a schematic diagram of a pure color area, and FIG. 9 is a flowchart of halftone switching processing based on the determination result of the character region determination unit 14. Here, Si (i = 1, 2, 3,...) Indicates a step. Assuming that the target pixel to be processed is (i, j) with respect to the input signals Cin, Min, Yin that are signals obtained by complementing the RGB signals, the input signal value at the target pixel is (Cin (i, j), Min). (I, j), Yin (i, j)). In step 1, character area detection processing is performed in the character area detection unit 16, and then the process proceeds to step 2 and step 3 where an M × N pixel local mask around the target pixel point (see FIG. 3). , For example, a difference between adjacent pixels (see FIG. 4) is obtained, and an edge is detected by thresholding the difference. Now, the pixel Mask (i, j) belonging to the local mask in the target pixel (i, j) is defined as in Equation 2.
[0032]
[Expression 2]
Figure 0003927426
[0033]
From Equation 2, the edge pixel EdgeV (i, j) in the vertical direction and the edge pixel EdgeH (i, j) in the horizontal direction are expressed as Equation 3 and Equation 4, respectively.
[0034]
[Equation 3]
Figure 0003927426
[0035]
[Expression 4]
Figure 0003927426
[0036]
Vertical edges and horizontal edges are detected by the vertical edge detector 21 including Equation 3 and the horizontal edge detector 22 including Equation 4 (see FIG. 4). However, since this method cannot detect an edge for one end pixel, for convenience, no edge is substituted for the end, and edge detection in the vertical and horizontal directions of the same size as the local mask is performed. Thereafter, the process goes to step 4 to obtain the logical sum EdgeV (i, j) ∪EdgeH (i, j) of the detection result and set it as the edge detection result Edge (i, j).
[0037]
A pattern matching process is performed on the edge Edge (i, j) detected in step 5 in step 6 to further separate the character area. That is, for the edge Edge (i, j), as shown in FIG. 6, for example, a 3 × 3 submask is formed in a 7 × 7 mask, and the 3 × 3 submask is all 7 × 7 masks. The template is detected by scanning while shifting by one pixel so as to cover. When the same pattern is detected, it is determined that the target pixel point being processed is a character area.
[0038]
If the same pattern is detected in step 7, the process proceeds to steps 8 and 9, where the chromatic / achromatic determination unit 23 performs color determination processing and the pure color / mixed color determination unit 24 performs pure color / color mixing determination. Processing is performed in parallel. In the color determination process in step 8, the characteristic that cyan, magenta, and yellow are simply balanced in the achromatic area, but the characteristic that cyan, magenta, and yellow are not balanced in the chromatic area is used. In addition, by performing threshold processing on the maximum density difference among cyan, magenta, and yellow, it becomes possible to perform chromatic or achromatic determination at the target pixel point. Therefore, the color determination process can be performed by the following formula 5.
[0039]
[Equation 5]
Figure 0003927426
[0040]
TH color is a color determination threshold value, which is a constant set in advance, and a method of changing the threshold value in accordance with the minimum value of the input density value is often performed as follows (FIG. 7). reference). Here, THintenn is a predetermined threshold value.
[0041]
[Formula 6]
Figure 0003927426
[0042]
Based on the edge detection result and the color determination result described above, color characters and monochrome characters are determined according to Table 1 below.
[0043]
[Table 1]
Figure 0003927426
[0044]
In the pure color / mixed color determination process in step 9, it is determined whether or not the region determined to be a color character is a primary color that can be reproduced by the image output apparatus 4. When an electrophotographic copying machine is considered as the image output device 4, colors are reproduced by subtractive color mixture using cyan, magenta, and yellow toners as color materials for normal output. For these three primary colors, output reproduction is possible without mixing other color materials. Therefore, it is possible to improve the image quality by detecting a region belonging to this color from the input document and separating the color from other colors. The separation processing method is realized by threshold processing using the following [Equation 7] and performs pure color determination. Here, it is assumed that the input signal at the target pixel point is given by (Cin (i, j), Min (i, j), Yin (i, j)).
[0045]
[Expression 7]
Figure 0003927426
[0046]
FIG. 11 is an explanatory diagram showing an example of reading primary color characters. Actually, even a cyan character includes a magenta component or a yellow component depending on the accuracy of the image input apparatus 3. Similarly, even for magenta characters and yellow characters, other color components are included, and therefore there are cases where the above-described determination method cannot be well determined. In this type of image input device 3, since the distribution of each color component can be approximated by a straight line, the color component of each color character according to the characteristics of the image input device 3 is linearly approximated, and It is possible to make a precise determination using Equation 8 with a wider range in setting and determining the value of P, that is, in consideration of an error.
[0047]
[Equation 8]
Figure 0003927426
[0048]
In step 10, it is determined whether the result of the color determination process is a chromatic color or an achromatic color. If a chromatic color is determined, a determination is made in step 11 as to whether it is a pure color or a mixed color. Then, as shown in the following Table 2, the CPU as the control means switches the halftone processing method based on the character detection result and the character region identification signal which is the color determination result, for example, an image output device. For hues where 4 is reproducible as a primary color, the process shifts to step 12 and outputs with emphasis on resolution, and for other color characters, the process shifts to step 13 for halftone using a plurality of pixels. It is possible to output with enhanced gradation or color reproducibility by processing. In Table 2, * indicates that either a primary color or a mixed color may be used.
[0049]
[Table 2]
Figure 0003927426
[0050]
When the character detection result is determined to be a color character and the pure color determination result is determined to be a primary color, in the halftone process, the image is output with a 1 × 1 mask size, which is a minimum unit unique to the image output apparatus, and is displayed as a color character. If it is determined that the colors are mixed, dithering, which is a kind of area modulation processing, is performed using, for example, an 8 × 8 mask size. As the dither processing, for example, processing is performed using a generally used systematic dither matrix method. FIG. 12 is an explanatory diagram showing an example of reading secondary color characters. In the determination of the pure color in step 11, when an electrophotographic copying machine is considered, even the secondary color of the image output device 4 can be output with high accuracy. Shall be judged. The determination of the secondary color can also be performed using the following equation 9 in substantially the same manner as the method for determining the primary color.
[0051]
[Equation 9]
Figure 0003927426
[0052]
However, the color separation accuracy is insufficient depending on the accuracy of the scanner. For example, depending on the image input device 3, color components are distributed as shown in FIG. When the image input device 3 in which such color components are distributed is used, the determination can be made with high accuracy by using the following equation (10). Thereafter, similarly to the above-described method, the determination unit 25 and the determination signal generation unit 20 perform determination as shown in the following Table 3, and the CPU as the control unit switches halftone processing.
[0053]
[Expression 10]
Figure 0003927426
[0054]
[Table 3]
Figure 0003927426
[0055]
A method for extracting a region having character characteristics in the character region detecting unit 16 and a processing method in the halftone region determining unit 15 are described in, for example, “Image Electronics Society of Japan Proceedings 90-06-04”. Can be used. That is, the following determination is performed within a block of M × N (M and N are natural numbers) pixels centered on the pixel of interest, and this is used as a region identification signal of the pixel of interest. An average value Dave of the signal level is obtained for the pixels in the block, and each pixel in the block is binarized using the average value. Also, the maximum pixel signal level Dmax and the minimum pixel signal level Dmin are obtained at the same time.
[0056]
In the halftone dot region, the halftone dot region is identified using the fact that the fluctuation of the image signal in the small region is large and the density is higher than the background. With respect to the binarized data, the number of change points from 0 to 1 in the main scanning direction and the sub-scanning direction is obtained, and the number of change points from 1 to 0 is obtained.H, KVAnd threshold TH, TVIf both of them exceed the threshold, the halftone dot region is set. Further, in order to prevent erroneous determination with the background, the previously obtained Dmax, Dmin, and Dave are compared with threshold values B1 and B2. That is, the value obtained by subtracting the average value Dave of the signal level from the maximum pixel signal level Dmax is larger than the threshold value B1 (Dmax−Dave> B1), and the minimum pixel signal level Dmin is subtracted from the average value Dave of the signal level. The value is larger than the threshold value B2 (Dave−Dmin> B2), and KH > TH And KV > TVIf so, it is a halftone dot region, otherwise it is a non-halftone dot region.
[0057]
In the character area, since the difference between the maximum signal level and the minimum signal level is large and the density is considered high, the character area is identified as follows. Maximum signal level, minimum signal level, and their difference DsubA , PB , PC And Dmax> PA Or Dmin <PBOr Dsub> PCIf the above condition is satisfied, the character area is set. Pixels in a region that is neither a halftone dot region nor a character region are defined as other (photo) regions.
[0058]
According to the image processing apparatus 2 described above, it is determined whether the pixel of interest belonging to the character area is a chromatic color or an achromatic color, and is within a predetermined hue range for the pixel of interest determined to be a chromatic color. After determining whether or not there is, the processing contents of the gradation reproduction processing unit 13 are set based on these determination results, so that it is possible to increase the resolution for reproducible chromatic character regions. Thus, it becomes possible to improve the reproducibility of color characters for chromatic character regions that cannot be reproduced. The CPU as the control means selects a halftone process that places importance on resolution for a pixel of interest that is determined to be a chromatic color and within a predetermined hue range, and is a chromatic color and the hue range. For the target pixel determined not to be within, halftone processing with an emphasis on gradation is selected, so that the resolution of the character area can be increased and the reproducibility of the color characters can be improved.
[0059]
Further, the target pixel determined to be a chromatic color by the color determination unit 19 is within a hue range that can be reproduced by halftone processing with an emphasis on resolution controllable by the gradation reproduction processing means. It is determined whether or not. For example, assuming an apparatus that forms an image with cyan, magenta, and yellow color materials, that is, CMY color materials, the secondary colors of red, blue, and green are relatively easy by mixing the two colors of the CMY color materials. Can be output. Therefore, it is possible to perform output with an increased resolution equivalent to that of pure color characters by simultaneously determining such secondary colors from the input signal and performing the same processing as in the case of pure colors.
[0060]
According to the image forming apparatus 1 including the image processing apparatus 2, a hue that can be reproduced without mixing many color materials in a color character region and a hue that can be reproduced only by mixing a plurality of color materials are set in advance. In addition, it is possible to apply an output method that emphasizes resolution in the former and a halftone output method that emphasizes color or gradation in the latter. By appropriately switching the output method in this way, it is possible to output a higher quality image than the conventional one, and it is possible to output the image at high speed in real time.
[0061]
As another embodiment of the present invention, the edge detection method described above is not necessarily detected by threshold processing using a difference, and various edge detection methods can be used.
[0062]
The color space for judging the color is not limited to the RGB (CMY with complementary color inversion) space.*a*b*(CIE: Commission Internationale de
l'Eclairage: International Lighting Commission. L*: Brightness, a*・ B*: Chromaticity) in a uniform color space.
[0063]
FIG. 10 is a diagram corresponding to FIG. 2 in which the color determination unit 19 includes the color coordinate conversion unit 26. However, the same reference numerals are given to the same members as those in the above embodiment, and the description thereof is omitted as appropriate. CIE1976L*a*b*When the color is determined in the uniform color space, the CMY space in which the complementary colors are inverted is placed in front of the chromatic / achromatic determination unit 23 and the pure color / mixed color determination unit 24.*a*b*What is necessary is just to provide the color coordinate conversion part 26 converted into space. As a method of color coordinate conversion, for example, each color patch of a color chart document is measured by a colorimeter and L*a*b*Find the value (L*a*b*On the other hand, the color chart document used for colorimetry is read from the image input device 3 to obtain RGB data, and complementary color inversion is performed on the CMY data.*a*b*Based on the value and the CMY value, a coefficient for associating the two is obtained by a neural network or a masking calculation coefficient determination method, and color coordinate conversion is performed using the obtained coefficient. In the chromatic / achromatic determination unit, saturation C based on the following equation 11*Is determined and compared with a predetermined threshold value to determine chromatic / achromatic.
[0064]
## EQU11 ##
Figure 0003927426
[0065]
In the pure color / mixed color determination unit, the hue H is obtained by the following formula 12, and the determination may be made based on whether or not it is within the primary color range.
[0066]
[Expression 12]
Figure 0003927426
[0067]
The halftone processing is not limited to the systematic dither matrix method, and various halftone processing such as error diffusion can be applied. The image output device 4 outputs image data on a recording medium such as paper, and examples thereof include, but are not limited to, those using an electrophotographic system or an inkjet system. In addition, various partial changes may be made to the embodiment without departing from the scope of the claims.
[0068]
【The invention's effect】
  As described above, according to the present invention,In the halftone processing by the gradation reproduction processing means, the color determination means determines whether the pixel of interest belonging to the character area in the input image is a chromatic color or an achromatic color, and is a pure color. It is determined whether there is a color mixture. The control unit controls the gradation reproduction processing unit based on the determination result of the color determination unit.
  When halftone processing with an emphasis on resolution is performed on a chromatic character region, color reproducibility may be low or color reproducibility may not be low. In a mixed-color character area, color reproducibility is lowered when halftone processing is performed with emphasis on resolution. The color reproducibility of a pure color character area does not deteriorate even if halftone processing is performed with emphasis on resolution.
  In consideration of such points, the gradation reproduction processing means is controlled by the control means, and halftone processing is performed as follows. A target pixel determined to be a chromatic color and a mixed color is subjected to halftone processing with an emphasis on gradation. This can prevent the color reproducibility from being lowered. The target pixel determined to be a chromatic color and a pure color is subjected to halftone processing with an emphasis on resolution. As a result, the resolution can be increased. At this time, color reproducibility is not lowered. In the present invention, the resolution of the chromatic character region can be increased as a whole without reducing the color reproducibility.
[0069]
  According to the present invention, the color coordinate conversion unit converts the color space of the input image into a uniform color space, and performs color determination.meansBy handling the color determination in the uniform color space, it is possible to eliminate the device dependency and obtain a highly accurate determination result.
[0070]
  Also according to the invention,By performing halftone processing using a first mask having a size of 1 × 1, which is the smallest unit unique to the image output apparatus, the resolution of a chromatic character region can be increased. Further, by performing halftone processing using a second mask having a size larger than that of the first mask, the tone reproduction is enhanced and the color reproducibility is enhanced for the chromatic character region.be able to.
[0073]
  Also according to the invention,For chromatic character areas, apply an output method that emphasizes resolution for pure colors, and gradation for mixed colors.A halftone output method can be applied. By appropriately switching the output method in this way, it is possible to output a higher quality image than the conventional one, and it is possible to output the image at high speed in real time.
[0074]
  According to the present invention, the input imageAmong them, it is determined whether the pixel of interest belonging to the character region is a chromatic color or an achromatic color, and whether it is a pure color or a mixed color. A target pixel determined to be a chromatic color and a mixed color is subjected to halftone processing that emphasizes gradation. This can prevent the color reproducibility from being lowered. A target pixel determined to be a chromatic color and a pure color is subjected to halftone processing with an emphasis on resolution. As a result, the resolution can be increased. At this time, color reproducibility is not lowered. In the present invention, the resolution of the chromatic character region can be increased as a whole without reducing the color reproducibility.
[Brief description of the drawings]
FIG. 1 is a schematic configuration diagram of an image forming apparatus according to an embodiment of the present invention.
FIG. 2 is a configuration diagram of a region separation processing unit.
FIG. 3 is an explanatory diagram when a local mask of 7 × 7 pixels is formed around a pixel of interest.
FIG. 4 is a diagram illustrating a method of detecting horizontal edges and vertical edges.
FIG. 5 is an explanatory diagram of a plurality of character detection patterns.
FIG. 6 is an explanatory diagram showing a state in which a 3 × 3 pixel submask is formed in a 7 × 7 pixel local mask when pattern matching is performed.
FIG. 7 is a schematic diagram of color determination processing.
FIG. 8 is a schematic diagram of a pure color area.
FIG. 9 is a flowchart of halftone switching processing based on the determination result of the character area determination unit.
10 is a diagram corresponding to FIG. 2 in which the color determination unit includes a color coordinate conversion unit.
FIG. 11 is an explanatory diagram showing an example of reading primary color characters.
FIG. 12 is an explanatory diagram showing an example of reading secondary color characters.
[Explanation of symbols]
1 Image forming device
2 Image processing device
8 Region separation processing unit
13 Tone reproduction processing section
14 Character area judgment part
16 character area detector
17 Edge detector
18 Pattern matching section
19 color judgment part
23 Achromatic / Achromatic Judgment Unit
24 Pure color / mixed color judgment unit
25 judgment part

Claims (5)

入力画像に中間調処理を施す階調再現処理手段と、
入力画像のうちで文字領域に属する注目画素に対して、有彩色であるか無彩色であるかを判定するとともに、純色であるか混色であるかを判定する色判定手段と、
前記色判定手段の判定結果に基づいて、有彩色でかつ純色であると判定された注目画素に対しては解像度を重視した中間調処理を施し、有彩色でかつ混色であると判定された注目画素に対しては階調性を重視した中間調処理を施すように、階調再現処理手段を制御する制御手段とを備えることを特徴とする画像処理装置。
Gradation reproduction processing means for performing halftone processing on the input image ;
Color determination means for determining whether the pixel of interest in the character area in the input image is a chromatic color or an achromatic color, and determining whether it is a pure color or a mixed color;
Based on the determination result of the color determination means, the target pixel determined to be chromatic and pure is subjected to halftone processing with an emphasis on resolution, and the target determined to be chromatic and mixed color An image processing apparatus comprising: control means for controlling gradation reproduction processing means so as to perform halftone processing with an emphasis on gradation characteristics for pixels.
色判定手段は、入力画像の色空間を均等色空間に変換する色座標変換部を備えることを特徴とする請求項1に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the color determination unit includes a color coordinate conversion unit that converts a color space of the input image into a uniform color space. 階調再現処理手段は、画像出力装置固有の最小単位である1×1のサイズの第1のマスクを用いて、解像度を重視した中間調処理を行い、前記第1のマスクよりもサイズが大きい第2のマスクを用いて、階調性を重視した中間調処理を行うことを特徴とする請求項1または2に記載の画像処理装置。 The gradation reproduction processing means performs halftone processing with an emphasis on resolution using a first mask having a size of 1 × 1, which is a minimum unit unique to the image output apparatus, and is larger in size than the first mask. The image processing apparatus according to claim 1, wherein halftone processing with an emphasis on gradation is performed using the second mask . 請求項1〜3のいずれか1項に記載の画像処理装置を備えることを特徴とする画像形成装置。An image forming apparatus comprising the image processing apparatus according to any one of claims 1-3. 入力画像のうちで文字領域に属する注目画素に対して、有彩色であるか無彩色であるかを判定するとともに、純色であるか混色であるかを判定し、In the input image, for the target pixel belonging to the character area, determine whether it is a chromatic color or an achromatic color, determine whether it is a pure color or a mixed color,
有彩色でかつ純色であると判定された注目画素に対しては解像度を重視した中間調処理を施し、有彩色でかつ混色であると判定された注目画素に対しては階調性を重視した中間調処理を施すことを特徴とする画像処理方法。The pixel of interest that is determined to be chromatic and pure is subjected to halftone processing with an emphasis on resolution, and gradation is emphasized to the pixel of interest that is determined to be chromatic and mixed. An image processing method characterized by performing halftone processing.
JP2002064469A 2002-03-08 2002-03-08 Image processing method, image processing apparatus, and image forming apparatus including the same Expired - Fee Related JP3927426B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002064469A JP3927426B2 (en) 2002-03-08 2002-03-08 Image processing method, image processing apparatus, and image forming apparatus including the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002064469A JP3927426B2 (en) 2002-03-08 2002-03-08 Image processing method, image processing apparatus, and image forming apparatus including the same

Publications (2)

Publication Number Publication Date
JP2003264693A JP2003264693A (en) 2003-09-19
JP3927426B2 true JP3927426B2 (en) 2007-06-06

Family

ID=29197256

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002064469A Expired - Fee Related JP3927426B2 (en) 2002-03-08 2002-03-08 Image processing method, image processing apparatus, and image forming apparatus including the same

Country Status (1)

Country Link
JP (1) JP3927426B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007184829A (en) * 2006-01-10 2007-07-19 Fuji Xerox Co Ltd Image processor, image processing system, image processing method, and program
JP4956356B2 (en) * 2007-10-02 2012-06-20 キヤノン株式会社 Image processing apparatus and image processing method
JP5163226B2 (en) * 2008-03-28 2013-03-13 カシオ電子工業株式会社 Image forming apparatus system

Also Published As

Publication number Publication date
JP2003264693A (en) 2003-09-19

Similar Documents

Publication Publication Date Title
EP0486311B1 (en) Color image processing apparatus and method
US7742194B2 (en) Image processing device, image processing method, image forming apparatus, image processing program, and storage medium
US7502150B2 (en) Color converting device, image forming apparatus, color conversion method, computer program and recording medium
JP3784649B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP4331159B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP4531606B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP3734703B2 (en) Image processing method, image processing apparatus, and image forming apparatus
JP2005286571A (en) Image processing apparatus, image forming apparatus provided with image processing apparatus, image processing method, image processing program, and recording medium with image processing program recorded thereon
JP2002325182A (en) Image processing method, image processing unit and image forming device provided with the unit
JP3927426B2 (en) Image processing method, image processing apparatus, and image forming apparatus including the same
JP4522978B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium
JP2002218271A (en) Image processor, image formation device and image, processing method
JP3847565B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP2003264701A (en) Image processing method, image processor and image forming device provided with the same
JP2003230006A (en) Image processing method, image processing apparatus, and image forming device
JP4179998B2 (en) Image processing method, image processing apparatus, image forming apparatus, and computer program
JP2004088663A (en) Image processing apparatus, image forming apparatus, and image processing method
JP7076268B2 (en) Image processing equipment, image processing method and recording medium
JP2003219178A (en) Image processing method, device thereof and image forming device
JP4176656B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium recording the program
JP4101741B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them
JP2008271131A (en) Method and device for image processing, and image forming apparatus
JP2002374425A (en) Image processing method, image processing program, image processor, and image forming device equipped with image processor
JP2002064717A (en) Color image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040728

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061002

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061207

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070302

R150 Certificate of patent or registration of utility model

Ref document number: 3927426

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100309

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110309

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120309

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120309

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130309

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130309

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140309

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees